square_connect 2.20190313.1.282 → 2.20190327.1.292

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +12 -0
  3. data/README.md +5 -4
  4. data/docs/Address.md +1 -1
  5. data/docs/BatchRetrieveInventoryChangesRequest.md +2 -2
  6. data/docs/Card.md +1 -1
  7. data/docs/CatalogDiscount.md +1 -1
  8. data/docs/CatalogImage.md +14 -0
  9. data/docs/CatalogItem.md +2 -2
  10. data/docs/CatalogItemVariation.md +2 -2
  11. data/docs/CatalogModifierList.md +1 -1
  12. data/docs/CatalogObject.md +3 -1
  13. data/docs/CatalogObjectType.md +1 -0
  14. data/docs/CatalogQuerySortedAttribute.md +1 -1
  15. data/docs/CatalogTax.md +2 -2
  16. data/docs/CreateOrderRequestTax.md +1 -1
  17. data/docs/Customer.md +1 -1
  18. data/docs/CustomerCreationSourceFilter.md +2 -2
  19. data/docs/CustomerSort.md +2 -2
  20. data/docs/CustomersApi.md +5 -5
  21. data/docs/Employee.md +1 -1
  22. data/docs/Error.md +1 -1
  23. data/docs/InventoryAdjustment.md +2 -2
  24. data/docs/InventoryChange.md +1 -1
  25. data/docs/InventoryCount.md +1 -1
  26. data/docs/InventoryPhysicalCount.md +1 -1
  27. data/docs/InventoryTransfer.md +1 -1
  28. data/docs/ItemVariationLocationOverrides.md +2 -2
  29. data/docs/ListAdditionalRecipientReceivableRefundsRequest.md +1 -1
  30. data/docs/ListAdditionalRecipientReceivablesRequest.md +1 -1
  31. data/docs/ListCustomersRequest.md +2 -2
  32. data/docs/ListEmployeesRequest.md +1 -1
  33. data/docs/ListRefundsRequest.md +1 -1
  34. data/docs/ListTransactionsRequest.md +1 -1
  35. data/docs/Location.md +5 -5
  36. data/docs/Money.md +1 -1
  37. data/docs/ObtainTokenRequest.md +6 -6
  38. data/docs/ObtainTokenResponse.md +2 -2
  39. data/docs/OrderFulfillment.md +2 -2
  40. data/docs/OrderFulfillmentPickupDetails.md +1 -1
  41. data/docs/OrderLineItemDiscount.md +2 -2
  42. data/docs/OrderLineItemTax.md +2 -2
  43. data/docs/Refund.md +1 -1
  44. data/docs/RegisterDomainResponse.md +1 -1
  45. data/docs/SearchCatalogObjectsRequest.md +1 -1
  46. data/docs/Shift.md +1 -1
  47. data/docs/ShiftFilter.md +1 -1
  48. data/docs/ShiftSort.md +2 -2
  49. data/docs/ShiftWorkday.md +1 -1
  50. data/docs/SourceApplication.md +1 -1
  51. data/docs/Tender.md +1 -1
  52. data/docs/TenderCardDetails.md +2 -2
  53. data/docs/Transaction.md +1 -1
  54. data/docs/V1Payment.md +1 -1
  55. data/docs/WorkweekConfig.md +1 -1
  56. data/lib/square_connect.rb +1 -0
  57. data/lib/square_connect/api/apple_pay_api.rb +1 -1
  58. data/lib/square_connect/api/catalog_api.rb +11 -11
  59. data/lib/square_connect/api/checkout_api.rb +1 -1
  60. data/lib/square_connect/api/customers_api.rb +14 -14
  61. data/lib/square_connect/api/employees_api.rb +2 -2
  62. data/lib/square_connect/api/inventory_api.rb +7 -7
  63. data/lib/square_connect/api/labor_api.rb +14 -14
  64. data/lib/square_connect/api/locations_api.rb +1 -1
  65. data/lib/square_connect/api/mobile_authorization_api.rb +1 -1
  66. data/lib/square_connect/api/o_auth_api.rb +3 -3
  67. data/lib/square_connect/api/orders_api.rb +2 -2
  68. data/lib/square_connect/api/reporting_api.rb +2 -2
  69. data/lib/square_connect/api/transactions_api.rb +7 -7
  70. data/lib/square_connect/api/v1_employees_api.rb +16 -16
  71. data/lib/square_connect/api/v1_items_api.rb +40 -40
  72. data/lib/square_connect/api/v1_locations_api.rb +2 -2
  73. data/lib/square_connect/api/v1_transactions_api.rb +11 -11
  74. data/lib/square_connect/api_client.rb +1 -1
  75. data/lib/square_connect/models/address.rb +1 -1
  76. data/lib/square_connect/models/batch_retrieve_inventory_changes_request.rb +2 -2
  77. data/lib/square_connect/models/card.rb +1 -1
  78. data/lib/square_connect/models/catalog_discount.rb +1 -1
  79. data/lib/square_connect/models/catalog_image.rb +206 -0
  80. data/lib/square_connect/models/catalog_item.rb +2 -2
  81. data/lib/square_connect/models/catalog_item_variation.rb +2 -2
  82. data/lib/square_connect/models/catalog_modifier_list.rb +1 -1
  83. data/lib/square_connect/models/catalog_object.rb +27 -7
  84. data/lib/square_connect/models/catalog_object_type.rb +1 -0
  85. data/lib/square_connect/models/catalog_query_sorted_attribute.rb +1 -1
  86. data/lib/square_connect/models/catalog_tax.rb +2 -2
  87. data/lib/square_connect/models/create_order_request_tax.rb +1 -1
  88. data/lib/square_connect/models/customer.rb +1 -1
  89. data/lib/square_connect/models/customer_creation_source_filter.rb +2 -2
  90. data/lib/square_connect/models/customer_sort.rb +2 -2
  91. data/lib/square_connect/models/employee.rb +1 -1
  92. data/lib/square_connect/models/error.rb +1 -1
  93. data/lib/square_connect/models/inventory_adjustment.rb +2 -2
  94. data/lib/square_connect/models/inventory_change.rb +1 -1
  95. data/lib/square_connect/models/inventory_count.rb +1 -1
  96. data/lib/square_connect/models/inventory_physical_count.rb +1 -1
  97. data/lib/square_connect/models/inventory_transfer.rb +1 -1
  98. data/lib/square_connect/models/item_variation_location_overrides.rb +2 -2
  99. data/lib/square_connect/models/list_additional_recipient_receivable_refunds_request.rb +1 -1
  100. data/lib/square_connect/models/list_additional_recipient_receivables_request.rb +1 -1
  101. data/lib/square_connect/models/list_customers_request.rb +2 -2
  102. data/lib/square_connect/models/list_employees_request.rb +1 -1
  103. data/lib/square_connect/models/list_refunds_request.rb +1 -1
  104. data/lib/square_connect/models/list_transactions_request.rb +1 -1
  105. data/lib/square_connect/models/location.rb +5 -5
  106. data/lib/square_connect/models/money.rb +1 -1
  107. data/lib/square_connect/models/obtain_token_request.rb +20 -5
  108. data/lib/square_connect/models/obtain_token_response.rb +2 -2
  109. data/lib/square_connect/models/order_fulfillment.rb +2 -2
  110. data/lib/square_connect/models/order_fulfillment_pickup_details.rb +1 -1
  111. data/lib/square_connect/models/order_line_item_discount.rb +2 -2
  112. data/lib/square_connect/models/order_line_item_tax.rb +2 -2
  113. data/lib/square_connect/models/refund.rb +1 -1
  114. data/lib/square_connect/models/register_domain_response.rb +1 -1
  115. data/lib/square_connect/models/search_catalog_objects_request.rb +1 -1
  116. data/lib/square_connect/models/shift.rb +1 -1
  117. data/lib/square_connect/models/shift_filter.rb +1 -1
  118. data/lib/square_connect/models/shift_sort.rb +2 -2
  119. data/lib/square_connect/models/shift_workday.rb +1 -1
  120. data/lib/square_connect/models/source_application.rb +1 -1
  121. data/lib/square_connect/models/tender.rb +1 -1
  122. data/lib/square_connect/models/tender_card_details.rb +2 -2
  123. data/lib/square_connect/models/transaction.rb +1 -1
  124. data/lib/square_connect/models/v1_payment.rb +1 -1
  125. data/lib/square_connect/models/workweek_config.rb +1 -1
  126. data/lib/square_connect/version.rb +1 -1
  127. data/spec/models/catalog_image_spec.rb +51 -0
  128. metadata +6 -2
data/docs/Location.md CHANGED
@@ -11,16 +11,16 @@ Name | Type | Description | Notes
11
11
  **name** | **String** | The location's name. Location names are set by the account owner and displayed in the dashboard as the location's nickname | [optional]
12
12
  **address** | [**Address**](Address.md) | The location's physical address. | [optional]
13
13
  **timezone** | **String** | The [IANA Timezone Database](https://www.iana.org/time-zones) identifier for the location's timezone. | [optional]
14
- **capabilities** | **Array<String>** | Indicates which Square features are enabled for the location. See [LocationCapability](#type-locationcapability) for possible values. | [optional]
15
- **status** | **String** | The location's status See [LocationStatus](#type-locationstatus) for possible values. | [optional]
14
+ **capabilities** | **Array<String>** | Indicates which Square features are enabled for the location. See [LocationCapability](#type-locationcapability) for possible values | [optional]
15
+ **status** | **String** | The location's status See [LocationStatus](#type-locationstatus) for possible values | [optional]
16
16
  **created_at** | **String** | The time when the location was created, in RFC 3339 format. | [optional]
17
17
  **merchant_id** | **String** | The identifier of the merchant that owns the location. | [optional]
18
- **country** | **String** | The location's country, in ISO 3166-1-alpha-2 format. See [Country](#type-country) for possible values. | [optional]
18
+ **country** | **String** | The location's country, in ISO 3166-1-alpha-2 format. See [Country](#type-country) for possible values | [optional]
19
19
  **language_code** | **String** | The language associated with the location in [BCP 47 format](https://tools.ietf.org/html/bcp47#appendix-A). | [optional]
20
- **currency** | **String** | The currency used for all transactions at this location, specified in __ISO 4217 format__. For example, the currency for a location processing transactions in the United States is 'USD'. See [Currency](#type-currency) for possible values. | [optional]
20
+ **currency** | **String** | The currency used for all transactions at this location, specified in __ISO 4217 format__. For example, the currency for a location processing transactions in the United States is 'USD'. See [Currency](#type-currency) for possible values | [optional]
21
21
  **phone_number** | **String** | The location's phone_number. | [optional]
22
22
  **business_name** | **String** | The location's business_name which is shown to its customers. For example, this is the name printed on its customer's receipts. | [optional]
23
- **type** | **String** | The location's type, as set by the account owner in the Square dashboard. Typically used to indicate whether or not the location object represents a physical space like a building or mall space. See [LocationType](#type-locationtype) for possible values. | [optional]
23
+ **type** | **String** | The location's type, as set by the account owner in the Square dashboard. Typically used to indicate whether or not the location object represents a physical space like a building or mall space. See [LocationType](#type-locationtype) for possible values | [optional]
24
24
  **website_url** | **String** | The location's website, as set by the account owner in the Square dashboard. Default: none; only exists if explicitly set. | [optional]
25
25
 
26
26
 
data/docs/Money.md CHANGED
@@ -8,6 +8,6 @@ Represents an amount of money. __Important:__ Unlike version 1 of the Connect A
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **amount** | **Integer** | The amount of money, in the smallest denomination of the currency indicated by `currency`. For example, when `currency` is `USD`, `amount` is in cents. | [optional]
11
- **currency** | **String** | The type of currency, in __ISO 4217 format__. For example, the currency code for US dollars is `USD`. See [Currency](#type-currency) for possible values. | [optional]
11
+ **currency** | **String** | The type of currency, in __ISO 4217 format__. For example, the currency code for US dollars is `USD`. See [Currency](#type-currency) for possible values | [optional]
12
12
 
13
13
 
@@ -7,12 +7,12 @@
7
7
  ## Properties
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
- **client_id** | **String** | The Square-issued ID of your application, available from the [application dashboard](https://connect.squareup.com/apps). | [optional]
11
- **client_secret** | **String** | The Square-issued application secret for your application, available from the [application dashboard](https://connect.squareup.com/apps). | [optional]
12
- **code** | **String** | The authorization code to exchange. This is required if `grant_type` is set to `authorization_code`, to indicate that the application wants to exchange an authorization code for an OAuth access token. | [optional]
10
+ **client_id** | **String** | The Square-issued ID of your application, available from the [application dashboard](https://connect.squareup.com/apps). |
11
+ **client_secret** | **String** | The Square-issued application secret for your application, available from the [application dashboard](https://connect.squareup.com/apps). |
12
+ **code** | **String** | The authorization code to exchange. This is required if `grant_type` is set to `authorization_code`, to indicate that the application wants to exchange an authorization code for an OAuth access token. | [optional]
13
13
  **redirect_uri** | **String** | The redirect URL assigned in the [application dashboard](https://connect.squareup.com/apps). | [optional]
14
- **grant_type** | **String** | Specifies the method to request an OAuth access token. Valid values are: `authorization_code`, `refresh_token`, and `migration_token` | [optional]
15
- **refresh_token** | **String** | A valid refresh token for generating a new OAuth access token. A valid refresh token is required if `grant_type` is set to `refresh_token` , to indicate the application wants a replacement for an expired OAuth access token. | [optional]
16
- **migration_token** | **String** | Legacy OAuth access token obtained using a Connect API version prior to 2019-03-13. This parameter is required if `grant_type` is set to `migration_token` to indicate that the application wants to get a replacement OAuth access token. The response also returns a refresh token. For more information, see [Migrate to Using Refresh Tokens](/authz/oauth/migration). | [optional]
14
+ **grant_type** | **String** | Specifies the method to request an OAuth access token. Valid values are: `authorization_code`, `refresh_token`, and `migration_token` |
15
+ **refresh_token** | **String** | A valid refresh token for generating a new OAuth access token. A valid refresh token is required if `grant_type` is set to `refresh_token` , to indicate the application wants a replacement for an expired OAuth access token. | [optional]
16
+ **migration_token** | **String** | Legacy OAuth access token obtained using a Connect API version prior to 2019-03-13. This parameter is required if `grant_type` is set to `migration_token` to indicate that the application wants to get a replacement OAuth access token. The response also returns a refresh token. For more information, see [Migrate to Using Refresh Tokens](/authz/oauth/migration). | [optional]
17
17
 
18
18
 
@@ -11,9 +11,9 @@ Name | Type | Description | Notes
11
11
  **token_type** | **String** | This value is always _bearer_. | [optional]
12
12
  **expires_at** | **String** | The date when access_token expires, in [ISO 8601](http://www.iso.org/iso/home/standards/iso8601.htm) format. | [optional]
13
13
  **merchant_id** | **String** | The ID of the authorizing merchant's business. | [optional]
14
- **subscription_id** | **String** | __Legacy field__. The ID of a subscription plan the merchant signed up for. Only present if the merchant signed up for a subscription during authorization. | [optional]
14
+ **subscription_id** | **String** | __Legacy field__. The ID of a subscription plan the merchant signed up for. Only present if the merchant signed up for a subscription during authorization. | [optional]
15
15
  **plan_id** | **String** | The ID of the [subscription](https://docs.connect.squareup.com/api/connect/v1/#navsection-subscriptionmanagement) plan the merchant signed up for. Only present if the merchant signed up for a subscription during authorization. | [optional]
16
16
  **id_token** | **String** | Then OpenID token belonging to this this person. Only present if the OPENID scope is included in the authorize request. | [optional]
17
- **refresh_token** | **String** | A refresh token. For more information, see [OAuth access token management](/authz/oauth/how-it-works#oauth-access-token-management). | [optional]
17
+ **refresh_token** | **String** | A refresh token. For more information, see [OAuth access token management](/authz/oauth/how-it-works#oauth-access-token-management). | [optional]
18
18
 
19
19
 
@@ -7,8 +7,8 @@ Contains details on how to fulfill this order.
7
7
  ## Properties
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
- **type** | **String** | The type of the fulfillment. | [optional]
11
- **state** | **String** | The state of the fulfillment. | [optional]
10
+ **type** | **String** | The type of the fulfillment. See [OrderFulfillmentType](#type-orderfulfillmenttype) for possible values | [optional]
11
+ **state** | **String** | The state of the fulfillment. See [OrderFulfillmentState](#type-orderfulfillmentstate) for possible values | [optional]
12
12
  **pickup_details** | [**OrderFulfillmentPickupDetails**](OrderFulfillmentPickupDetails.md) | Contains pickup-specific details. Required when fulfillment type is `PICKUP`. | [optional]
13
13
 
14
14
 
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  **recipient** | [**OrderFulfillmentRecipient**](OrderFulfillmentRecipient.md) | The recipient of this pickup fulfillment. | [optional]
11
11
  **expires_at** | **String** | The expiry [timestamp](#workingwithdates) in RFC 3339 format, e.g., \"2016-09-04T23:59:33.123Z\". This timestamp indicates when the pickup fulfillment will expire if it is not accepted by the merchant. Expiration time can only be set up to 7 days in the future. If not set, this pickup fulfillment will be automatically accepted when placed. | [optional]
12
12
  **auto_complete_duration** | **String** | The auto completion duration in RFC3339 duration format, e.g., \"P1W3D\". If set, an open and accepted pickup fulfillment will automatically move to the `COMPLETED` state after this period of time. If not set, this pickup fulfillment will remain accepted until it is canceled or completed. | [optional]
13
- **schedule_type** | **String** | The schedule type of the pickup fulfillment. Defaults to `SCHEDULED`. | [optional]
13
+ **schedule_type** | **String** | The schedule type of the pickup fulfillment. Defaults to `SCHEDULED`. See [OrderFulfillmentPickupDetailsScheduleType](#type-orderfulfillmentpickupdetailsscheduletype) for possible values | [optional]
14
14
  **pickup_at** | **String** | The pickup [timestamp](#workingwithdates) in RFC3339 timestamp format, e.g., \"2016-09-04T23:59:33.123Z\". For fulfillments with the schedule type `ASAP`, this is automatically set to the current time plus the expected duration to prepare the fulfillment. This represents the start of the pickup window. | [optional]
15
15
  **pickup_window_duration** | **String** | The pickup window duration in RFC3339 duration format, e.g., \"P1W3D\". This duration represents the window of time for which the order should be picked up after the `pickup_at` time. Can be used as an informational guideline for merchants. | [optional]
16
16
  **prep_time_duration** | **String** | The preparation time duration in RFC3339 duration format, e.g., \"P1W3D\". This duration indicates how long it takes the merchant to prepare this fulfillment. | [optional]
@@ -9,10 +9,10 @@ Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **catalog_object_id** | **String** | The catalog object id referencing [CatalogDiscount](#type-catalogdiscount). | [optional]
11
11
  **name** | **String** | The discount's name. | [optional]
12
- **type** | **String** | The type of the discount. If it is created by API, it would be either `FIXED_PERCENTAGE` or `FIXED_AMOUNT`. VARIABLE_* is not supported in API because the order is created at the time of sale and either percentage or amount has to be specified. See [OrderLineItemDiscountType](#type-orderlineitemdiscounttype) for possible values. | [optional]
12
+ **type** | **String** | The type of the discount. If it is created by API, it would be either `FIXED_PERCENTAGE` or `FIXED_AMOUNT`. VARIABLE_* is not supported in API because the order is created at the time of sale and either percentage or amount has to be specified. See [OrderLineItemDiscountType](#type-orderlineitemdiscounttype) for possible values | [optional]
13
13
  **percentage** | **String** | The percentage of the tax, as a string representation of a decimal number. A value of `7.25` corresponds to a percentage of 7.25%. The percentage won't be set for an amount-based discount. | [optional]
14
14
  **amount_money** | [**Money**](Money.md) | The total monetary amount of the applicable discount. If it is at order level, it is the value of the order level discount. If it is at line item level, it is the value of the line item level discount. The amount_money won't be set for a percentage-based discount. | [optional]
15
15
  **applied_money** | [**Money**](Money.md) | The amount of discount actually applied to this line item. Represents the amount of money applied to a line item as a discount When an amount-based discount is at order-level, this value is different from `amount_money` because the discount is distributed across the line items. | [optional]
16
- **scope** | **String** | Indicates the level at which the discount applies. This field is set by the server. If set in a CreateOrder request, it will be ignored on write. See [OrderLineItemDiscountScope](#type-orderlineitemdiscountscope) for possible values. | [optional]
16
+ **scope** | **String** | Indicates the level at which the discount applies. This field is set by the server. If set in a CreateOrder request, it will be ignored on write. See [OrderLineItemDiscountScope](#type-orderlineitemdiscountscope) for possible values | [optional]
17
17
 
18
18
 
@@ -9,9 +9,9 @@ Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **catalog_object_id** | **String** | The catalog object id referencing [CatalogTax](#type-catalogtax). | [optional]
11
11
  **name** | **String** | The tax's name. | [optional]
12
- **type** | **String** | Indicates the calculation method used to apply the tax. See [OrderLineItemTaxType](#type-orderlineitemtaxtype) for possible values. | [optional]
12
+ **type** | **String** | Indicates the calculation method used to apply the tax. See [OrderLineItemTaxType](#type-orderlineitemtaxtype) for possible values | [optional]
13
13
  **percentage** | **String** | The percentage of the tax, as a string representation of a decimal number. A value of `7.25` corresponds to a percentage of 7.25%. | [optional]
14
14
  **applied_money** | [**Money**](Money.md) | The amount of the money applied by the tax in an order. | [optional]
15
- **scope** | **String** | Indicates the level at which the tax applies. This field is set by the server. If set in a CreateOrder request, it will be ignored on write. See [OrderLineItemTaxScope](#type-orderlineitemtaxscope) for possible values. | [optional]
15
+ **scope** | **String** | Indicates the level at which the tax applies. This field is set by the server. If set in a CreateOrder request, it will be ignored on write. See [OrderLineItemTaxScope](#type-orderlineitemtaxscope) for possible values | [optional]
16
16
 
17
17
 
data/docs/Refund.md CHANGED
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
14
14
  **created_at** | **String** | The time when the refund was created, in RFC 3339 format. | [optional]
15
15
  **reason** | **String** | The reason for the refund being issued. |
16
16
  **amount_money** | [**Money**](Money.md) | The amount of money refunded to the buyer. |
17
- **status** | **String** | The current status of the refund (`PENDING`, `APPROVED`, `REJECTED`, or `FAILED`). |
17
+ **status** | **String** | The current status of the refund (`PENDING`, `APPROVED`, `REJECTED`, or `FAILED`). See [RefundStatus](#type-refundstatus) for possible values |
18
18
  **processing_fee_money** | [**Money**](Money.md) | The amount of Square processing fee money refunded to the *merchant*. | [optional]
19
19
  **additional_recipients** | [**Array<AdditionalRecipient>**](AdditionalRecipient.md) | Additional recipients (other than the merchant) receiving a portion of this refund. For example, fees assessed on a refund of a purchase by a third party integration. | [optional]
20
20
 
@@ -8,6 +8,6 @@ Defines the fields that are included in the response body of a request to the [R
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **errors** | [**Array<Error>**](Error.md) | Any errors that occurred during the request. | [optional]
11
- **status** | **String** | Status of the domain registration. See [RegisterDomainResponseStatus](#type-registerdomainresponsestatus) for possible values. | [optional]
11
+ **status** | **String** | Status of the domain registration. See [RegisterDomainResponseStatus](#type-registerdomainresponsestatus) for possible values | [optional]
12
12
 
13
13
 
@@ -8,7 +8,7 @@
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **cursor** | **String** | The pagination cursor returned in the previous response. Leave unset for an initial request. See [Pagination](/basics/api101/pagination) for more information. | [optional]
11
- **object_types** | **Array<String>** | The desired set of object types to appear in the search results. The legal values are taken from the [CatalogObjectType](#type-catalogobjecttype) enumeration, namely `\"ITEM\"`, `\"ITEM_VARIATION\"`, `\"CATEGORY\"`, `\"DISCOUNT\"`, `\"TAX\"`, `\"MODIFIER\"`, or `\"MODIFIER_LIST\"`. | [optional]
11
+ **object_types** | **Array<String>** | The desired set of object types to appear in the search results. The legal values are taken from the [CatalogObjectType](#type-catalogobjecttype) enumeration, namely `\"ITEM\"`, `\"ITEM_VARIATION\"`, `\"CATEGORY\"`, `\"DISCOUNT\"`, `\"TAX\"`, `\"MODIFIER\"`, or `\"MODIFIER_LIST\"`. See [CatalogObjectType](#type-catalogobjecttype) for possible values | [optional]
12
12
  **include_deleted_objects** | **BOOLEAN** | If `true`, deleted objects will be included in the results. Deleted objects will have their `is_deleted` field set to `true`. | [optional]
13
13
  **include_related_objects** | **BOOLEAN** | If `true`, the response will include additional objects that are related to the requested object, as follows: If a [CatalogItem](#type-catalogitem) is returned in the object field of the response, its associated [CatalogCategory](#type-catalogcategory), [CatalogTax](#type-catalogtax)es, and [CatalogModifierList](#type-catalogmodifierlist)s will be included in the `related_objects` field of the response. If a [CatalogItemVariation](#type-catalogitemvariation) is returned in the object field of the response, its parent [CatalogItem](#type-catalogitem) will be included in the `related_objects` field of the response. | [optional]
14
14
  **begin_time** | **String** | Return objects modified after this [timestamp](#workingwithdates), in RFC 3339 format, e.g., \"2016-09-04T23:59:33.123Z\". The timestamp is exclusive - objects with a timestamp equal to `begin_time` will not be included in the response. | [optional]
data/docs/Shift.md CHANGED
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
  **end_at** | **String** | RFC 3339; shifted to timezone + offset. Precision up to the minute is respected; seconds are truncated. The `end_at` minute is not counted when the shift length is calculated. For example, a shift from `00:00` to `08:01` is considered an 8 hour shift (midnight to 8am). | [optional]
16
16
  **wage** | [**ShiftWage**](ShiftWage.md) | Job and pay related information. | [optional]
17
17
  **breaks** | [**Array<ModelBreak>**](ModelBreak.md) | A list of any paid or unpaid breaks that were taken during this shift. | [optional]
18
- **status** | **String** | Describes working state of the current `Shift`. | [optional]
18
+ **status** | **String** | Describes working state of the current `Shift`. See [ShiftStatus](#type-shiftstatus) for possible values | [optional]
19
19
  **version** | **Integer** | Used for resolving concurrency issues; request will fail if version provided does not match server version at time of request. If not provided, Square executes a blind write; potentially overwriting data from another write. | [optional]
20
20
  **created_at** | **String** | A read-only timestamp in RFC 3339 format; presented in UTC. | [optional]
21
21
  **updated_at** | **String** | A read-only timestamp in RFC 3339 format; presented in UTC. | [optional]
data/docs/ShiftFilter.md CHANGED
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **location_id** | **Array<String>** | Fetch shifts for the specified location. | [optional]
11
11
  **employee_id** | **Array<String>** | Fetch shifts for the specified employee. | [optional]
12
- **status** | **String** | Fetch a `Shift` instance by `Shift.status`. | [optional]
12
+ **status** | **String** | Fetch a `Shift` instance by `Shift.status`. See [ShiftFilterStatus](#type-shiftfilterstatus) for possible values | [optional]
13
13
  **start** | [**TimeRange**](TimeRange.md) | Fetch `Shift`s that start in the time range - Inclusive. | [optional]
14
14
  **_end** | [**TimeRange**](TimeRange.md) | Fetch the `Shift`s that end in the time range - Inclusive. | [optional]
15
15
  **workday** | [**ShiftWorkday**](ShiftWorkday.md) | Fetch the `Shift`s based on workday date range. | [optional]
data/docs/ShiftSort.md CHANGED
@@ -7,7 +7,7 @@ Sets the sort order of search results.
7
7
  ## Properties
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
- **field** | **String** | The field to sort on. | [optional]
11
- **order** | **String** | The order in which results are returned. Defaults to DESC. | [optional]
10
+ **field** | **String** | The field to sort on. See [ShiftSortField](#type-shiftsortfield) for possible values | [optional]
11
+ **order** | **String** | The order in which results are returned. Defaults to DESC. See [SortOrder](#type-sortorder) for possible values | [optional]
12
12
 
13
13
 
data/docs/ShiftWorkday.md CHANGED
@@ -8,7 +8,7 @@ A `Shift` search query filter parameter that sets a range of days that a `Shift
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **date_range** | [**DateRange**](DateRange.md) | Dates for fetching the shifts | [optional]
11
- **match_shifts_by** | **String** | The strategy on which the dates are applied. | [optional]
11
+ **match_shifts_by** | **String** | The strategy on which the dates are applied. See [ShiftWorkdayMatcher](#type-shiftworkdaymatcher) for possible values | [optional]
12
12
  **default_timezone** | **String** | Location-specific timezones convert workdays to datetime filters. Every location included in the query must have a timezone, or this field must be provided as a fallback. Format: the IANA timezone database identifier for the relevant timezone. | [optional]
13
13
 
14
14
 
@@ -7,7 +7,7 @@ Provides information about the application used to generate an inventory change.
7
7
  ## Properties
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
- **product** | **String** | Read-only [Product](#type-product) type for the application. | [optional]
10
+ **product** | **String** | Read-only [Product](#type-product) type for the application. See [Product](#type-product) for possible values | [optional]
11
11
  **application_id** | **String** | Read-only Square ID assigned to the application. Only used for [Product](#type-product) type `EXTERNAL_API`. | [optional]
12
12
  **name** | **String** | Read-only display name assigned to the application (e.g. `\"Custom Application\"`, `\"Square POS 4.74 for Android\"`). | [optional]
13
13
 
data/docs/Tender.md CHANGED
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
16
16
  **tip_money** | [**Money**](Money.md) | The tip's amount of the tender. | [optional]
17
17
  **processing_fee_money** | [**Money**](Money.md) | The amount of any Square processing fees applied to the tender. This field is not immediately populated when a new transaction is created. It is usually available after about ten seconds. | [optional]
18
18
  **customer_id** | **String** | If the tender is associated with a customer or represents a customer's card on file, this is the ID of the associated customer. | [optional]
19
- **type** | **String** | The type of tender, such as `CARD` or `CASH`. |
19
+ **type** | **String** | The type of tender, such as `CARD` or `CASH`. See [TenderType](#type-tendertype) for possible values |
20
20
  **card_details** | [**TenderCardDetails**](TenderCardDetails.md) | The details of the card tender. This value is present only if the value of `type` is `CARD`. | [optional]
21
21
  **cash_details** | [**TenderCashDetails**](TenderCashDetails.md) | The details of the cash tender. This value is present only if the value of `type` is `CASH`. | [optional]
22
22
  **additional_recipients** | [**Array<AdditionalRecipient>**](AdditionalRecipient.md) | Additional recipients (other than the merchant) receiving a portion of this tender. For example, fees assessed on the purchase by a third party integration. | [optional]
@@ -7,8 +7,8 @@ Represents additional details of a tender with `type` `CARD` or `SQUARE_GIFT_CAR
7
7
  ## Properties
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
- **status** | **String** | The credit card payment's current state (such as `AUTHORIZED` or `CAPTURED`). See [TenderCardDetailsStatus](#type-tendercarddetailsstatus) for possible values. | [optional]
10
+ **status** | **String** | The credit card payment's current state (such as `AUTHORIZED` or `CAPTURED`). See [TenderCardDetailsStatus](#type-tendercarddetailsstatus) for possible values | [optional]
11
11
  **card** | [**Card**](Card.md) | The credit card's non-confidential details. | [optional]
12
- **entry_method** | **String** | The method used to enter the card's details for the transaction. | [optional]
12
+ **entry_method** | **String** | The method used to enter the card's details for the transaction. See [TenderCardDetailsEntryMethod](#type-tendercarddetailsentrymethod) for possible values | [optional]
13
13
 
14
14
 
data/docs/Transaction.md CHANGED
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
13
13
  **tenders** | [**Array<Tender>**](Tender.md) | The tenders used to pay in the transaction. | [optional]
14
14
  **refunds** | [**Array<Refund>**](Refund.md) | Refunds that have been applied to any tender in the transaction. | [optional]
15
15
  **reference_id** | **String** | If the transaction was created with the [Charge](#endpoint-charge) endpoint, this value is the same as the value provided for the `reference_id` parameter in the request to that endpoint. Otherwise, it is not set. | [optional]
16
- **product** | **String** | The Square product that processed the transaction. | [optional]
16
+ **product** | **String** | The Square product that processed the transaction. See [TransactionProduct](#type-transactionproduct) for possible values | [optional]
17
17
  **client_id** | **String** | If the transaction was created in the Square Point of Sale app, this value is the ID generated for the transaction by Square Point of Sale. This ID has no relationship to the transaction's canonical `id`, which is generated by Square's backend servers. This value is generated for bookkeeping purposes, in case the transaction cannot immediately be completed (for example, if the transaction is processed in offline mode). It is not currently possible with the Connect API to perform a transaction lookup by this value. | [optional]
18
18
  **shipping_address** | [**Address**](Address.md) | The shipping address provided in the request, if any. | [optional]
19
19
  **order_id** | **String** | The order_id is an identifier for the order associated with this transaction, if any. | [optional]
data/docs/V1Payment.md CHANGED
@@ -28,7 +28,7 @@ Name | Type | Description | Notes
28
28
  **net_sales_money** | [**V1Money**](V1Money.md) | The total of all sales, minus any applicable taxes. | [optional]
29
29
  **inclusive_tax** | [**Array<V1PaymentTax>**](V1PaymentTax.md) | All of the inclusive taxes associated with the payment. | [optional]
30
30
  **additive_tax** | [**Array<V1PaymentTax>**](V1PaymentTax.md) | All of the additive taxes associated with the payment. | [optional]
31
- **tender** | [**Array<V1Tender>**](V1Tender.md) | All of the additive taxes associated with the payment. | [optional]
31
+ **tender** | [**Array<V1Tender>**](V1Tender.md) | All of the tenders associated with the payment. | [optional]
32
32
  **refunds** | [**Array<V1Refund>**](V1Refund.md) | All of the refunds applied to the payment. Note that the value of all refunds on a payment can exceed the value of all tenders if a merchant chooses to refund money to a tender after previously accepting returned goods as part of an exchange. | [optional]
33
33
  **itemizations** | [**Array<V1PaymentItemization>**](V1PaymentItemization.md) | The items purchased in the payment. | [optional]
34
34
  **surcharge_money** | [**V1Money**](V1Money.md) | The total of all surcharges applied to the payment. | [optional]
@@ -8,7 +8,7 @@ Sets the Day of the week and hour of the day that a business starts a work week
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **id** | **String** | UUID for this object | [optional]
11
- **start_of_week** | **String** | The day of the week on which a business week cuts over for compensation purposes. |
11
+ **start_of_week** | **String** | The day of the week on which a business week cuts over for compensation purposes. See [Weekday](#type-weekday) for possible values |
12
12
  **start_of_day_local_time** | **String** | The local time at which a business week cuts over. Represented as a string in `HH:MM` format (`HH:MM:SS` is also accepted, but seconds are truncated). |
13
13
  **version** | **Integer** | Used for resolving concurrency issues; request will fail if version provided does not match server version at time of request. If not provided, Square executes a blind write; potentially overwriting data from another write. | [optional]
14
14
  **created_at** | **String** | A read-only timestamp in RFC 3339 format; presented in UTC | [optional]
@@ -41,6 +41,7 @@ require 'square_connect/models/catalog_category'
41
41
  require 'square_connect/models/catalog_discount'
42
42
  require 'square_connect/models/catalog_discount_type'
43
43
  require 'square_connect/models/catalog_id_mapping'
44
+ require 'square_connect/models/catalog_image'
44
45
  require 'square_connect/models/catalog_info_request'
45
46
  require 'square_connect/models/catalog_info_response'
46
47
  require 'square_connect/models/catalog_info_response_limits'
@@ -51,7 +51,7 @@ module SquareConnect
51
51
  # HTTP header 'Content-Type'
52
52
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
53
53
 
54
- header_params['Square-Version'] = "2019-03-13"
54
+ header_params['Square-Version'] = "2019-03-27"
55
55
 
56
56
  # form parameters
57
57
  form_params = {}
@@ -51,7 +51,7 @@ module SquareConnect
51
51
  # HTTP header 'Content-Type'
52
52
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
53
53
 
54
- header_params['Square-Version'] = "2019-03-13"
54
+ header_params['Square-Version'] = "2019-03-27"
55
55
 
56
56
  # form parameters
57
57
  form_params = {}
@@ -106,7 +106,7 @@ module SquareConnect
106
106
  # HTTP header 'Content-Type'
107
107
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
108
108
 
109
- header_params['Square-Version'] = "2019-03-13"
109
+ header_params['Square-Version'] = "2019-03-27"
110
110
 
111
111
  # form parameters
112
112
  form_params = {}
@@ -161,7 +161,7 @@ module SquareConnect
161
161
  # HTTP header 'Content-Type'
162
162
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
163
163
 
164
- header_params['Square-Version'] = "2019-03-13"
164
+ header_params['Square-Version'] = "2019-03-27"
165
165
 
166
166
  # form parameters
167
167
  form_params = {}
@@ -212,7 +212,7 @@ module SquareConnect
212
212
  # HTTP header 'Content-Type'
213
213
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
214
214
 
215
- header_params['Square-Version'] = "2019-03-13"
215
+ header_params['Square-Version'] = "2019-03-27"
216
216
 
217
217
  # form parameters
218
218
  form_params = {}
@@ -267,7 +267,7 @@ module SquareConnect
267
267
  # HTTP header 'Content-Type'
268
268
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
269
269
 
270
- header_params['Square-Version'] = "2019-03-13"
270
+ header_params['Square-Version'] = "2019-03-27"
271
271
 
272
272
  # form parameters
273
273
  form_params = {}
@@ -324,7 +324,7 @@ module SquareConnect
324
324
  # HTTP header 'Content-Type'
325
325
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
326
326
 
327
- header_params['Square-Version'] = "2019-03-13"
327
+ header_params['Square-Version'] = "2019-03-27"
328
328
 
329
329
  # form parameters
330
330
  form_params = {}
@@ -382,7 +382,7 @@ module SquareConnect
382
382
  # HTTP header 'Content-Type'
383
383
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
384
384
 
385
- header_params['Square-Version'] = "2019-03-13"
385
+ header_params['Square-Version'] = "2019-03-27"
386
386
 
387
387
  # form parameters
388
388
  form_params = {}
@@ -437,7 +437,7 @@ module SquareConnect
437
437
  # HTTP header 'Content-Type'
438
438
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
439
439
 
440
- header_params['Square-Version'] = "2019-03-13"
440
+ header_params['Square-Version'] = "2019-03-27"
441
441
 
442
442
  # form parameters
443
443
  form_params = {}
@@ -492,7 +492,7 @@ module SquareConnect
492
492
  # HTTP header 'Content-Type'
493
493
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
494
494
 
495
- header_params['Square-Version'] = "2019-03-13"
495
+ header_params['Square-Version'] = "2019-03-27"
496
496
 
497
497
  # form parameters
498
498
  form_params = {}
@@ -547,7 +547,7 @@ module SquareConnect
547
547
  # HTTP header 'Content-Type'
548
548
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
549
549
 
550
- header_params['Square-Version'] = "2019-03-13"
550
+ header_params['Square-Version'] = "2019-03-27"
551
551
 
552
552
  # form parameters
553
553
  form_params = {}
@@ -602,7 +602,7 @@ module SquareConnect
602
602
  # HTTP header 'Content-Type'
603
603
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
604
604
 
605
- header_params['Square-Version'] = "2019-03-13"
605
+ header_params['Square-Version'] = "2019-03-27"
606
606
 
607
607
  # form parameters
608
608
  form_params = {}
@@ -55,7 +55,7 @@ module SquareConnect
55
55
  # HTTP header 'Content-Type'
56
56
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
57
57
 
58
- header_params['Square-Version'] = "2019-03-13"
58
+ header_params['Square-Version'] = "2019-03-27"
59
59
 
60
60
  # form parameters
61
61
  form_params = {}
@@ -51,7 +51,7 @@ module SquareConnect
51
51
  # HTTP header 'Content-Type'
52
52
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
53
53
 
54
- header_params['Square-Version'] = "2019-03-13"
54
+ header_params['Square-Version'] = "2019-03-27"
55
55
 
56
56
  # form parameters
57
57
  form_params = {}
@@ -73,7 +73,7 @@ module SquareConnect
73
73
  end
74
74
 
75
75
  # CreateCustomerCard
76
- # Adds a card on file to an existing customer. As with charges, calls to `CreateCustomerCard` are idempotent. Multiple calls with the same card nonce return the same card record that was created with the provided nonce during the _first_ call.
76
+ # Adds a card on file to an existing customer. As with charges, calls to `CreateCustomerCard` are idempotent. Multiple calls with the same card nonce return the same card record that was created with the provided nonce during the _first_ call. Cards on file are automatically updated on a monthly basis to confirm they are still valid and can be charged.
77
77
  # @param customer_id The ID of the customer to link the card on file to.
78
78
  # @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.
79
79
  # @param [Hash] opts the optional parameters
@@ -84,7 +84,7 @@ module SquareConnect
84
84
  end
85
85
 
86
86
  # CreateCustomerCard
87
- # Adds a card on file to an existing customer. As with charges, calls to `CreateCustomerCard` are idempotent. Multiple calls with the same card nonce return the same card record that was created with the provided nonce during the _first_ call.
87
+ # Adds a card on file to an existing customer. As with charges, calls to `CreateCustomerCard` are idempotent. Multiple calls with the same card nonce return the same card record that was created with the provided nonce during the _first_ call. Cards on file are automatically updated on a monthly basis to confirm they are still valid and can be charged.
88
88
  # @param customer_id The ID of the customer to link the card on file to.
89
89
  # @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.
90
90
  # @param [Hash] opts the optional parameters
@@ -110,7 +110,7 @@ module SquareConnect
110
110
  # HTTP header 'Content-Type'
111
111
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
112
112
 
113
- header_params['Square-Version'] = "2019-03-13"
113
+ header_params['Square-Version'] = "2019-03-27"
114
114
 
115
115
  # form parameters
116
116
  form_params = {}
@@ -165,7 +165,7 @@ module SquareConnect
165
165
  # HTTP header 'Content-Type'
166
166
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
167
167
 
168
- header_params['Square-Version'] = "2019-03-13"
168
+ header_params['Square-Version'] = "2019-03-27"
169
169
 
170
170
  # form parameters
171
171
  form_params = {}
@@ -224,7 +224,7 @@ module SquareConnect
224
224
  # HTTP header 'Content-Type'
225
225
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
226
226
 
227
- header_params['Square-Version'] = "2019-03-13"
227
+ header_params['Square-Version'] = "2019-03-27"
228
228
 
229
229
  # form parameters
230
230
  form_params = {}
@@ -249,8 +249,8 @@ module SquareConnect
249
249
  # Lists a business's customers.
250
250
  # @param [Hash] opts the optional parameters
251
251
  # @option opts [String] :cursor A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for your original query. See [Pagination](/basics/api101/pagination) for more information.
252
- # @option opts [String] :sort_field Indicates how Customers should be sorted. Default: `DEFAULT`. See [CustomerSortField](#type-customersortfield) for possible values.
253
- # @option opts [String] :sort_order Indicates whether Customers should be sorted in ascending (`ASC`) or descending (`DESC`) order. Default: `ASC`. See [SortOrder](#type-sortorder) for possible values.
252
+ # @option opts [String] :sort_field Indicates how Customers should be sorted. Default: `DEFAULT`.
253
+ # @option opts [String] :sort_order Indicates whether Customers should be sorted in ascending (`ASC`) or descending (`DESC`) order. Default: `ASC`.
254
254
  # @return [ListCustomersResponse]
255
255
  def list_customers(opts = {})
256
256
  data, _status_code, _headers = list_customers_with_http_info(opts)
@@ -261,8 +261,8 @@ module SquareConnect
261
261
  # Lists a business's customers.
262
262
  # @param [Hash] opts the optional parameters
263
263
  # @option opts [String] :cursor A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for your original query. See [Pagination](/basics/api101/pagination) for more information.
264
- # @option opts [String] :sort_field Indicates how Customers should be sorted. Default: `DEFAULT`. See [CustomerSortField](#type-customersortfield) for possible values.
265
- # @option opts [String] :sort_order Indicates whether Customers should be sorted in ascending (`ASC`) or descending (`DESC`) order. Default: `ASC`. See [SortOrder](#type-sortorder) for possible values.
264
+ # @option opts [String] :sort_field Indicates how Customers should be sorted. Default: `DEFAULT`.
265
+ # @option opts [String] :sort_order Indicates whether Customers should be sorted in ascending (`ASC`) or descending (`DESC`) order. Default: `ASC`.
266
266
  # @return [Array<(ListCustomersResponse, Fixnum, Hash)>] ListCustomersResponse data, response status code and response headers
267
267
  def list_customers_with_http_info(opts = {})
268
268
  if @api_client.config.debugging
@@ -290,7 +290,7 @@ module SquareConnect
290
290
  # HTTP header 'Content-Type'
291
291
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
292
292
 
293
- header_params['Square-Version'] = "2019-03-13"
293
+ header_params['Square-Version'] = "2019-03-27"
294
294
 
295
295
  # form parameters
296
296
  form_params = {}
@@ -345,7 +345,7 @@ module SquareConnect
345
345
  # HTTP header 'Content-Type'
346
346
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
347
347
 
348
- header_params['Square-Version'] = "2019-03-13"
348
+ header_params['Square-Version'] = "2019-03-27"
349
349
 
350
350
  # form parameters
351
351
  form_params = {}
@@ -400,7 +400,7 @@ module SquareConnect
400
400
  # HTTP header 'Content-Type'
401
401
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
402
402
 
403
- header_params['Square-Version'] = "2019-03-13"
403
+ header_params['Square-Version'] = "2019-03-27"
404
404
 
405
405
  # form parameters
406
406
  form_params = {}
@@ -459,7 +459,7 @@ module SquareConnect
459
459
  # HTTP header 'Content-Type'
460
460
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
461
461
 
462
- header_params['Square-Version'] = "2019-03-13"
462
+ header_params['Square-Version'] = "2019-03-27"
463
463
 
464
464
  # form parameters
465
465
  form_params = {}