Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
Merge pull request #67 from square/release/2.20190925.0
Browse files Browse the repository at this point in the history
Release 2.20190925.0
  • Loading branch information
cszhu authored Sep 25, 2019
2 parents acdae18 + bf9db91 commit 08cd704
Show file tree
Hide file tree
Showing 304 changed files with 2,231 additions and 814 deletions.
15 changes: 15 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Change Log

## Version 2.20190925.0 (2019-09-25)

* **GA release**: All SDKs have been updated to support the new Merchants API.

* **Beta release**: All SDKs have been updated to support the new endpoints (RetrieveLocation, UpdateLocation) added to the Locations API.

* **Beta release**: All SDKs have been updated to support the new field (`mcc`) added to the `Location` type.

* **GA release**: All SDKs have been updated to support the new field (`bin`) added to the `Card` type.

* **GA release**: All SDKs have been updated to support the new `CardPaymentDetails` fields (`verification_results`, `statement_description`, and `verification_method`).

* **GA release**: All SDKs have been updated to support the new `Payment` field, (`employee_id`).


## Version 2.20190814.2 (2019-08-23)

* **Bug fix**: Fixed path parameters for `UpdateOrder`
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ Class | Method | HTTP request | Description
*SquareConnect.LaborApi* | [**updateShift**](docs/LaborApi.md#updateShift) | **PUT** /v2/labor/shifts/{id} | UpdateShift
*SquareConnect.LaborApi* | [**updateWorkweekConfig**](docs/LaborApi.md#updateWorkweekConfig) | **PUT** /v2/labor/workweek-configs/{id} | UpdateWorkweekConfig
*SquareConnect.LocationsApi* | [**listLocations**](docs/LocationsApi.md#listLocations) | **GET** /v2/locations | ListLocations
*SquareConnect.LocationsApi* | [**retrieveLocation**](docs/LocationsApi.md#retrieveLocation) | **GET** /v2/locations/{location_id} | RetrieveLocation
*SquareConnect.LocationsApi* | [**updateLocation**](docs/LocationsApi.md#updateLocation) | **PUT** /v2/locations/{location_id} | UpdateLocation
*SquareConnect.MerchantsApi* | [**retrieveMerchant**](docs/MerchantsApi.md#retrieveMerchant) | **GET** /v2/merchants/{merchant_id} | RetrieveMerchant
*SquareConnect.MobileAuthorizationApi* | [**createMobileAuthorizationCode**](docs/MobileAuthorizationApi.md#createMobileAuthorizationCode) | **POST** /mobile/authorization-code | CreateMobileAuthorizationCode
*SquareConnect.OAuthApi* | [**obtainToken**](docs/OAuthApi.md#obtainToken) | **POST** /oauth2/token | ObtainToken
*SquareConnect.OAuthApi* | [**renewToken**](docs/OAuthApi.md#renewToken) | **POST** /oauth2/clients/{client_id}/access-token/renew | RenewToken
Expand Down Expand Up @@ -397,9 +400,12 @@ Class | Method | HTTP request | Description
- [SquareConnect.MeasurementUnitCustom](docs/MeasurementUnitCustom.md)
- [SquareConnect.MeasurementUnitGeneric](docs/MeasurementUnitGeneric.md)
- [SquareConnect.MeasurementUnitLength](docs/MeasurementUnitLength.md)
- [SquareConnect.MeasurementUnitTime](docs/MeasurementUnitTime.md)
- [SquareConnect.MeasurementUnitUnitType](docs/MeasurementUnitUnitType.md)
- [SquareConnect.MeasurementUnitVolume](docs/MeasurementUnitVolume.md)
- [SquareConnect.MeasurementUnitWeight](docs/MeasurementUnitWeight.md)
- [SquareConnect.Merchant](docs/Merchant.md)
- [SquareConnect.MerchantStatus](docs/MerchantStatus.md)
- [SquareConnect.ModelBreak](docs/ModelBreak.md)
- [SquareConnect.Money](docs/Money.md)
- [SquareConnect.ObtainTokenRequest](docs/ObtainTokenRequest.md)
Expand Down Expand Up @@ -467,6 +473,8 @@ Class | Method | HTTP request | Description
- [SquareConnect.RetrieveInventoryPhysicalCountResponse](docs/RetrieveInventoryPhysicalCountResponse.md)
- [SquareConnect.RetrieveLocationRequest](docs/RetrieveLocationRequest.md)
- [SquareConnect.RetrieveLocationResponse](docs/RetrieveLocationResponse.md)
- [SquareConnect.RetrieveMerchantRequest](docs/RetrieveMerchantRequest.md)
- [SquareConnect.RetrieveMerchantResponse](docs/RetrieveMerchantResponse.md)
- [SquareConnect.RetrieveTransactionRequest](docs/RetrieveTransactionRequest.md)
- [SquareConnect.RetrieveTransactionResponse](docs/RetrieveTransactionResponse.md)
- [SquareConnect.RevokeTokenRequest](docs/RevokeTokenRequest.md)
Expand Down Expand Up @@ -521,6 +529,8 @@ Class | Method | HTTP request | Description
- [SquareConnect.UpdateItemModifierListsResponse](docs/UpdateItemModifierListsResponse.md)
- [SquareConnect.UpdateItemTaxesRequest](docs/UpdateItemTaxesRequest.md)
- [SquareConnect.UpdateItemTaxesResponse](docs/UpdateItemTaxesResponse.md)
- [SquareConnect.UpdateLocationRequest](docs/UpdateLocationRequest.md)
- [SquareConnect.UpdateLocationResponse](docs/UpdateLocationResponse.md)
- [SquareConnect.UpdateOrderRequest](docs/UpdateOrderRequest.md)
- [SquareConnect.UpdateOrderResponse](docs/UpdateOrderResponse.md)
- [SquareConnect.UpdateShiftRequest](docs/UpdateShiftRequest.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/AdditionalRecipient.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ Name | Type | Description | Notes
**location_id** | **String** | The location ID for a recipient (other than the merchant) receiving a portion of this tender. |
**description** | **String** | The description of the additional recipient. |
**amount_money** | [**Money**](Money.md) | The amount of money distributed to the recipient. |
**receivable_id** | **String** | The unique ID for this [AdditionalRecipientReceivable](#type-additionalrecipientreceivable), assigned by the server. | [optional]
**receivable_id** | **String** | The unique ID for this `AdditionalRecipientReceivable`, assigned by the server. | [optional]


2 changes: 1 addition & 1 deletion docs/BatchChangeInventoryRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**idempotency_key** | **String** | A client-supplied, universally unique identifier (UUID) for the request. See [Idempotency](/basics/api101/idempotency) in the [API Development 101](/basics/api101/overview) section for more information. | [optional]
**idempotency_key** | **String** | A client-supplied, universally unique identifier (UUID) for the request. See [Idempotency](https://developer.squareup.com/docs/basics/api101/idempotency) in the [API Development 101](https://developer.squareup.com/docs/basics/api101/overview) section for more information. | [optional]
**changes** | [**[InventoryChange]**](InventoryChange.md) | The set of physical counts and inventory adjustments to be made. Changes are applied based on the client-supplied timestamp and may be sent out of order. Max size is 100 changes. | [optional]
**ignore_unchanged_counts** | **Boolean** | Indicates whether the current physical count should be ignored if the quantity is unchanged since the last physical count. Default: `true`. | [optional]

Expand Down
2 changes: 1 addition & 1 deletion docs/BatchDeleteCatalogObjectsRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**object_ids** | **[String]** | The IDs of the [CatalogObject](#type-catalogobject)s to be deleted. When an object is deleted, other objects in the graph that depend on that object will be deleted as well (for example, deleting a [CatalogItem](#type-catalogitem) will delete its [CatalogItemVariation](#type-catalogitemvariation)s). | [optional]
**object_ids** | **[String]** | The IDs of the `CatalogObject`s to be deleted. When an object is deleted, other objects in the graph that depend on that object will be deleted as well (for example, deleting a `CatalogItem](#type-catalogitem) will delete its [CatalogItemVariation`. | [optional]


4 changes: 2 additions & 2 deletions docs/BatchDeleteCatalogObjectsResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**errors** | [**[Error]**](Error.md) | The set of [Error](#type-error)s encountered. | [optional]
**deleted_object_ids** | **[String]** | The IDs of all [CatalogObject](#type-catalogobject)s deleted by this request. | [optional]
**errors** | [**[Error]**](Error.md) | The set of `Error`s encountered. | [optional]
**deleted_object_ids** | **[String]** | The IDs of all `CatalogObject`s deleted by this request. | [optional]
**deleted_at** | **String** | The database [timestamp](#workingwithdates) of this deletion in RFC 3339 format, e.g., \"2016-09-04T23:59:33.123Z\". | [optional]


4 changes: 2 additions & 2 deletions docs/BatchRetrieveCatalogObjectsRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**object_ids** | **[String]** | The IDs of the [CatalogObject](#type-catalogobject)s to be retrieved. |
**include_related_objects** | **Boolean** | If `true`, the response will include additional objects that are related to the requested objects, as follows: If the `objects` field of the response contains a [CatalogItem](#type-catalogitem), its associated [CatalogCategory](#type-catalogcategory), [CatalogTax](#type-catalogtax)es, [CatalogImage](#type-catalogimage)s and [CatalogModifierList](#type-catalogmodifierlist)s will be returned in the `related_objects` field of the response. If the `objects` field of the response contains a [CatalogItemVariation](#type-catalogitemvariation), its parent [CatalogItem](#type-catalogitem) will be returned in the `related_objects` field of the response. | [optional]
**object_ids** | **[String]** | The IDs of the `CatalogObject`s to be retrieved. |
**include_related_objects** | **Boolean** | If `true`, the response will include additional objects that are related to the requested objects, as follows: If the `objects` field of the response contains a `CatalogItem`, its associated `CatalogCategory](#type-catalogcategory), [CatalogTax`es, `CatalogImage](#type-catalogimage)s and [CatalogModifierList`s will be returned in the `related_objects` field of the response. If the `objects` field of the response contains a `CatalogItemVariation`, its parent `CatalogItem` will be returned in the `related_objects` field of the response. | [optional]


6 changes: 3 additions & 3 deletions docs/BatchRetrieveCatalogObjectsResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**errors** | [**[Error]**](Error.md) | The set of [Error](#type-error)s encountered. | [optional]
**objects** | [**[CatalogObject]**](CatalogObject.md) | A list of [CatalogObject](#type-catalogobject)s returned. | [optional]
**related_objects** | [**[CatalogObject]**](CatalogObject.md) | A list of [CatalogObject](#type-catalogobject)s referenced by the object in the `objects` field. | [optional]
**errors** | [**[Error]**](Error.md) | The set of `Error`s encountered. | [optional]
**objects** | [**[CatalogObject]**](CatalogObject.md) | A list of `CatalogObject`s returned. | [optional]
**related_objects** | [**[CatalogObject]**](CatalogObject.md) | A list of `CatalogObject`s referenced by the object in the `objects` field. | [optional]


10 changes: 5 additions & 5 deletions docs/BatchRetrieveInventoryChangesRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**catalog_object_ids** | **[String]** | Filters results by [CatalogObject](#type-catalogobject) ID. Only applied when set. Default: unset. | [optional]
**location_ids** | **[String]** | Filters results by [Location](#type-location) ID. Only applied when set. Default: unset. | [optional]
**types** | **[String]** | Filters results by [InventoryChangeType](#type-inventorychangetype). Default: [`PHYSICAL_COUNT`, `ADJUSTMENT`]. `TRANSFER` is not supported as a filter. See [InventoryChangeType](#type-inventorychangetype) for possible values | [optional]
**states** | **[String]** | Filters `ADJUSTMENT` query results by [InventoryState](#type-inventorystate). Only applied when set. Default: unset. See [InventoryState](#type-inventorystate) for possible values | [optional]
**catalog_object_ids** | **[String]** | Filters results by `CatalogObject` ID. Only applied when set. Default: unset. | [optional]
**location_ids** | **[String]** | Filters results by `Location` ID. Only applied when set. Default: unset. | [optional]
**types** | **[String]** | Filters results by `InventoryChangeType`. Default: [`PHYSICAL_COUNT`, `ADJUSTMENT`]. `TRANSFER` is not supported as a filter. See [InventoryChangeType](#type-inventorychangetype) for possible values | [optional]
**states** | **[String]** | Filters `ADJUSTMENT` query results by `InventoryState`. Only applied when set. Default: unset. See [InventoryState](#type-inventorystate) for possible values | [optional]
**updated_after** | **String** | Provided as an RFC 3339 timestamp. Returns results whose `created_at` or `calculated_at` value is after the given time. Default: UNIX epoch (`1970-01-01T00:00:00Z`). | [optional]
**updated_before** | **String** | Provided as an RFC 3339 timestamp. Returns results whose `created_at` or `calculated_at` value is strictly before the given time. Default: UNIX epoch (`1970-01-01T00:00:00Z`). | [optional]
**cursor** | **String** | A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query. See [Pagination](/basics/api101/pagination) for more information. | [optional]
**cursor** | **String** | A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query. See [Pagination](https://developer.squareup.com/docs/basics/api101/pagination) for more information. | [optional]


2 changes: 1 addition & 1 deletion docs/BatchRetrieveInventoryChangesResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**errors** | [**[Error]**](Error.md) | Any errors that occurred during the request. | [optional]
**changes** | [**[InventoryChange]**](InventoryChange.md) | The current calculated inventory changes for the requested objects and locations. | [optional]
**cursor** | **String** | The pagination cursor to be used in a subsequent request. If unset, this is the final response. See [Pagination](/basics/api101/pagination) for more information. | [optional]
**cursor** | **String** | The pagination cursor to be used in a subsequent request. If unset, this is the final response. See [Pagination](https://developer.squareup.com/docs/basics/api101/pagination) for more information. | [optional]


6 changes: 3 additions & 3 deletions docs/BatchRetrieveInventoryCountsRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**catalog_object_ids** | **[String]** | Filters results by [CatalogObject](#type-catalogobject) ID. Only applied when set. Default: unset. | [optional]
**location_ids** | **[String]** | Filters results by [Location](#type-location) ID. Only applied when set. Default: unset. | [optional]
**catalog_object_ids** | **[String]** | Filters results by `CatalogObject` ID. Only applied when set. Default: unset. | [optional]
**location_ids** | **[String]** | Filters results by `Location` ID. Only applied when set. Default: unset. | [optional]
**updated_after** | **String** | Provided as an RFC 3339 timestamp. Returns results whose `calculated_at` value is after the given time. Default: UNIX epoch (`1970-01-01T00:00:00Z`). | [optional]
**cursor** | **String** | A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query. See [Pagination](/basics/api101/pagination) for more information. | [optional]
**cursor** | **String** | A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query. See [Pagination](https://developer.squareup.com/docs/basics/api101/pagination) for more information. | [optional]


2 changes: 1 addition & 1 deletion docs/BatchRetrieveInventoryCountsResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**errors** | [**[Error]**](Error.md) | Any errors that occurred during the request. | [optional]
**counts** | [**[InventoryCount]**](InventoryCount.md) | The current calculated inventory counts for the requested objects and locations. | [optional]
**cursor** | **String** | The pagination cursor to be used in a subsequent request. If unset, this is the final response. See [Pagination](/basics/api101/pagination) for more information. | [optional]
**cursor** | **String** | The pagination cursor to be used in a subsequent request. If unset, this is the final response. See [Pagination](https://developer.squareup.com/docs/basics/api101/pagination) for more information. | [optional]


Loading

0 comments on commit 08cd704

Please sign in to comment.