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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3689385935f53e88001e5703fabc163acf179b9987ef368dd4a8e24bd14b12dd
4
- data.tar.gz: d40e27bb75a3e67327026f6c57d3a5fb746f75dc7c59771063c8d1ffd05c7fa5
3
+ metadata.gz: 55251cb61c1c32ec5901e4ea808bb3804558448bdede3d92bffc36ec2c33c10a
4
+ data.tar.gz: c6a40b10f08c6536568bec779597f127487f83790f78a29f6e84ea2138cc415d
5
5
  SHA512:
6
- metadata.gz: 0db81d307b556a942c5a7b0c4b80b38e8b4b5508a43f8604108f4560763b796b1c9aeeb034488cb446b361da65cc25c9a9e949bb336b84ab43223d6555885a2b
7
- data.tar.gz: 0ec9266c61d630612539eb7fa0bba24b7c6247c27d195598550d8643e8a33ca6dcd7749500ebc607af04a1ee00e5a6d69b919299402d7bf02ce0dc3d9d39e16c
6
+ metadata.gz: eb94fd041a4c647dc8d941838efad8f5a96edb91f5549f020dda10b604349a6cb63677699331c01167e075dee824beb81f17ad2372c75684fab2eae55b03a002
7
+ data.tar.gz: 5f2dd118b355caccc119feb04dff476a7d00705d42580992b18b857e81997f6c60c68f3bb1fd75824e46503915a224c2cd9b0983f2557007c534395f960caaab
data/CHANGES.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## Version 2.20190327.1 (2019-03-29)
4
+
5
+ ## Bug Fix: Catalog API
6
+ * Add `image_id` to `CatalogObject`
7
+
8
+ ## Version 2.20190327.0 (2019-03-27)
9
+
10
+ ## New features: Catalog API
11
+ * Deprecated `image_url` field in `CatalogItem` in favor of a richer
12
+ `CatalogImage` data type.
13
+ * Image information is now set, and returned, at the `CatalogObject` level.
14
+
3
15
  ## Version 2.20190313.1 (2019-03-21)
4
16
 
5
17
  ### Bug Fix: Connect v1
data/README.md CHANGED
@@ -10,14 +10,14 @@ for the specification and template files we used to generate this.
10
10
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
11
11
 
12
12
  - API version: 2.0
13
- - Package version: 2.20190313.1
13
+ - Package version: 2.20190327.1
14
14
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
15
15
 
16
16
  For more information, please visit [https://squareup.com/developers](https://squareup.com/developers)
17
17
 
18
18
  ## Installation
19
19
 
20
- ### RubyGems
20
+ ### Option1: RubyGems
21
21
  The Ruby SDK is published as a gem. Simply run:
22
22
 
23
23
  ```
@@ -30,13 +30,13 @@ Or add this line to your Gemfile:
30
30
  gem 'square_connect'
31
31
  ```
32
32
 
33
- ### Install from Git
33
+ ### Option 2: Install from Git
34
34
 
35
35
  If the Ruby gem is hosted at a git repository: https://github.com/square/connect-ruby-sdk, then add the following in the Gemfile:
36
36
 
37
37
  gem 'square_connect', :git => 'https://github.com/square/connect-ruby-sdk.git'
38
38
 
39
- ### Include the Ruby code directly
39
+ ### Option 3: Include the Ruby code directly
40
40
 
41
41
  Include the Ruby code directly using `-I` as follows:
42
42
 
@@ -233,6 +233,7 @@ Class | Method | HTTP request | Description
233
233
  - [SquareConnect::CatalogDiscount](docs/CatalogDiscount.md)
234
234
  - [SquareConnect::CatalogDiscountType](docs/CatalogDiscountType.md)
235
235
  - [SquareConnect::CatalogIdMapping](docs/CatalogIdMapping.md)
236
+ - [SquareConnect::CatalogImage](docs/CatalogImage.md)
236
237
  - [SquareConnect::CatalogInfoRequest](docs/CatalogInfoRequest.md)
237
238
  - [SquareConnect::CatalogInfoResponse](docs/CatalogInfoResponse.md)
238
239
  - [SquareConnect::CatalogInfoResponseLimits](docs/CatalogInfoResponseLimits.md)
data/docs/Address.md CHANGED
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
18
18
  **administrative_district_level_2** | **String** | A civil entity within the address's `administrative_district_level_1`. In the US, this is the county. | [optional]
19
19
  **administrative_district_level_3** | **String** | A civil entity within the address's `administrative_district_level_2`, if any. | [optional]
20
20
  **postal_code** | **String** | The address's postal code. | [optional]
21
- **country** | **String** | The address's country, in ISO 3166-1-alpha-2 format. | [optional]
21
+ **country** | **String** | The address's country, in ISO 3166-1-alpha-2 format. See [Country](#type-country) for possible values | [optional]
22
22
  **first_name** | **String** | Optional first name when it's representing recipient. | [optional]
23
23
  **last_name** | **String** | Optional last name when it's representing recipient. | [optional]
24
24
  **organization** | **String** | Optional organization name when it's representing recipient. | [optional]
@@ -9,8 +9,8 @@ Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **catalog_object_ids** | **Array<String>** | Filters results by [CatalogObject](#type-catalogobject) ID. Only applied when set. Default: unset. | [optional]
11
11
  **location_ids** | **Array<String>** | Filters results by [Location](#type-location) ID. Only applied when set. Default: unset. | [optional]
12
- **types** | **Array<String>** | Filters results by [InventoryChangeType](#type-inventorychangetype). Default: [`PHYSICAL_COUNT`, `ADJUSTMENT`]. `TRANSFER` is not supported as a filter. | [optional]
13
- **states** | **Array<String>** | Filters `ADJUSTMENT` query results by [InventoryState](#type-inventorystate). Only applied when set. Default: unset. | [optional]
12
+ **types** | **Array<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]
13
+ **states** | **Array<String>** | Filters `ADJUSTMENT` query results by [InventoryState](#type-inventorystate). Only applied when set. Default: unset. See [InventoryState](#type-inventorystate) for possible values | [optional]
14
14
  **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]
15
15
  **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]
16
16
  **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]
data/docs/Card.md CHANGED
@@ -8,7 +8,7 @@ Represents the payment details of a card to be used for payments. These details
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **id** | **String** | Unique ID for this card. Generated by Square. | [optional]
11
- **card_brand** | **String** | The card's brand (such as `VISA`). See [CardBrand](#type-cardbrand) for all possible values. | [optional]
11
+ **card_brand** | **String** | The card's brand (such as `VISA`). See [CardBrand](#type-cardbrand) for possible values | [optional]
12
12
  **last_4** | **String** | The last 4 digits of the card number. | [optional]
13
13
  **exp_month** | **Integer** | The expiration month of the associated card as an integer between 1 and 12. | [optional]
14
14
  **exp_year** | **Integer** | The four-digit year of the card's expiration date. | [optional]
@@ -8,7 +8,7 @@ A discount in the Catalog object model.
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **name** | **String** | The discount's name. Searchable. This field has max length of 255 Unicode code points. | [optional]
11
- **discount_type** | **String** | Indicates whether the discount is a fixed amount or percentage, or entered at the time of sale. See [CatalogDiscountType](#type-catalogdiscounttype) for all possible values. | [optional]
11
+ **discount_type** | **String** | Indicates whether the discount is a fixed amount or percentage, or entered at the time of sale. See [CatalogDiscountType](#type-catalogdiscounttype) for possible values | [optional]
12
12
  **percentage** | **String** | The percentage of the discount as a string representation of a decimal number, using a `.` as the decimal separator and without a `%` sign. A value of `7.5` corresponds to `7.5%`. Specify a percentage of `0` if `discount_type` is `VARIABLE_PERCENTAGE`. Do not include this field for amount-based or variable discounts. | [optional]
13
13
  **amount_money** | [**Money**](Money.md) | The amount of the discount. Specify an amount of `0` if `discount_type` is `VARIABLE_AMOUNT`. Do not include this field for percentage-based or variable discounts. | [optional]
14
14
  **pin_required** | **BOOLEAN** | Indicates whether a mobile staff member needs to enter their PIN to apply the discount to a payment in the Square Point of Sale app. | [optional]
@@ -0,0 +1,14 @@
1
+ # SquareConnect::CatalogImage
2
+
3
+ ### Description
4
+
5
+ An image file to use in Square catalogs. Can be associated with catalog items, item variations, and categories.
6
+
7
+ ## Properties
8
+ Name | Type | Description | Notes
9
+ ------------ | ------------- | ------------- | -------------
10
+ **name** | **String** | The internal name of this image. Identifies this image in calls to the Connect APIs. | [optional]
11
+ **url** | **String** | The URL of this image. Generated by Square after an image is uploaded to the CreateCatalogImage endpoint. | [optional]
12
+ **caption** | **String** | A caption that describes what is shown in the image. Displayed in the Square Online Store. | [optional]
13
+
14
+
data/docs/CatalogItem.md CHANGED
@@ -17,9 +17,9 @@ Name | Type | Description | Notes
17
17
  **category_id** | **String** | The ID of the item's category, if any. | [optional]
18
18
  **tax_ids** | **Array<String>** | A set of IDs indicating the [CatalogTax](#type-catalogtax)es that are enabled for this item. When updating an item, any taxes listed here will be added to the item. [CatalogTax](#type-catalogtax)es may also be added to or deleted from an item using `UpdateItemTaxes`. | [optional]
19
19
  **modifier_list_info** | [**Array<CatalogItemModifierListInfo>**](CatalogItemModifierListInfo.md) | A set of [CatalogItemModifierListInfo](#type-catalogitemmodifierlistinfo) objects representing the modifier lists that apply to this item, along with the overrides and min and max limits that are specific to this item. [CatalogModifierList](#type-catalogmodifierlist)s may also be added to or deleted from an item using `UpdateItemModifierLists`. | [optional]
20
- **image_url** | **String** | The URL of an image representing this item. | [optional]
20
+ **image_url** | **String** | __Deprecated__. The URL of an image representing this item. Deprecated in favor of `image_id` in [`CatalogObject`](#type-catalogobject). | [optional]
21
21
  **variations** | [**Array<CatalogObject>**](CatalogObject.md) | A list of [CatalogObject](#type-catalogobject)s containing the [CatalogItemVariation](#type-catalogitemvariation)s for this item. | [optional]
22
- **product_type** | **String** | The product type of the item. May not be changed once an item has been created. Only items of product type `REGULAR` may be created by this API; items with other product types are read-only. See [CatalogItemProductType](#type-catalogitemproducttype) for all possible values. | [optional]
22
+ **product_type** | **String** | The product type of the item. May not be changed once an item has been created. Only items of product type `REGULAR` may be created by this API; items with other product types are read-only. See [CatalogItemProductType](#type-catalogitemproducttype) for possible values | [optional]
23
23
  **skip_modifier_screen** | **BOOLEAN** | If `false`, the Square Point of Sale app will present the [CatalogItem](#type-catalogitem)'s details screen immediately, allowing the merchant to choose [CatalogModifier](#type-catalogmodifier)s before adding the item to the cart. This is the default behavior. If `true`, the Square Point of Sale app will immediately add the item to the cart with the pre-selected modifiers, and merchants can edit modifiers by drilling down onto the item's details. Third-party clients are encouraged to implement similar behaviors. | [optional]
24
24
 
25
25
 
@@ -12,11 +12,11 @@ Name | Type | Description | Notes
12
12
  **sku** | **String** | The item variation's SKU, if any. Searchable. | [optional]
13
13
  **upc** | **String** | The item variation's UPC, if any. Searchable in the Connect API. This field is only exposed in the Connect API. It is not exposed in Square's Dashboard, Square Point of Sale app or Retail Point of Sale app. | [optional]
14
14
  **ordinal** | **Integer** | The order in which this item variation should be displayed. This value is read-only. On writes, the ordinal for each item variation within a parent [CatalogItem](#type-catalogitem) is set according to the item variations's position. On reads, the value is not guaranteed to be sequential or unique. | [optional]
15
- **pricing_type** | **String** | Indicates whether the item variation's price is fixed or determined at the time of sale. See [CatalogPricingType](#type-catalogpricingtype) for all possible values. | [optional]
15
+ **pricing_type** | **String** | Indicates whether the item variation's price is fixed or determined at the time of sale. See [CatalogPricingType](#type-catalogpricingtype) for possible values | [optional]
16
16
  **price_money** | [**Money**](Money.md) | The item variation's price, if fixed pricing is used. | [optional]
17
17
  **location_overrides** | [**Array<ItemVariationLocationOverrides>**](ItemVariationLocationOverrides.md) | Per-[location](#type-location) price and inventory overrides. | [optional]
18
18
  **track_inventory** | **BOOLEAN** | If `true`, inventory tracking is active for the variation. | [optional]
19
- **inventory_alert_type** | **String** | Indicates whether the item variation displays an alert when its inventory quantity is less than or equal to its `inventory_alert_threshold`. See [InventoryAlertType](#type-inventoryalerttype) for all possible values. | [optional]
19
+ **inventory_alert_type** | **String** | Indicates whether the item variation displays an alert when its inventory quantity is less than or equal to its `inventory_alert_threshold`. See [InventoryAlertType](#type-inventoryalerttype) for possible values | [optional]
20
20
  **inventory_alert_threshold** | **Integer** | If the inventory quantity for the variation is less than or equal to this value and `inventory_alert_type` is `LOW_QUANTITY`, the variation displays an alert in the merchant dashboard. This value is always an integer. | [optional]
21
21
  **user_data** | **String** | Arbitrary user metadata to associate with the item variation. Cannot exceed 255 characters. Searchable. | [optional]
22
22
  **service_duration** | **Integer** | If the [CatalogItem](#type-catalogitem) that owns this item variation is of type `APPOINTMENTS_SERVICE`, then this is the duration of the service in milliseconds. For example, a 30 minute appointment would have the value `1800000`, which is equal to 30 (minutes) * 60 (seconds per minute) * 1000 (milliseconds per second). | [optional]
@@ -8,7 +8,7 @@ A modifier list in the Catalog object model. A [CatalogModifierList](#type-catal
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **name** | **String** | The [CatalogModifierList](#type-catalogmodifierlist)'s name. Searchable. This field has max length of 255 Unicode code points. | [optional]
11
- **selection_type** | **String** | Indicates whether multiple options from the [CatalogModifierList](#type-catalogmodifierlist) can be applied to a single [CatalogItem](#type-catalogitem). See [CatalogModifierListSelectionType](#type-catalogmodifierlistselectiontype) for all possible values. | [optional]
11
+ **selection_type** | **String** | Indicates whether multiple options from the [CatalogModifierList](#type-catalogmodifierlist) can be applied to a single [CatalogItem](#type-catalogitem). See [CatalogModifierListSelectionType](#type-catalogmodifierlistselectiontype) for possible values | [optional]
12
12
  **modifiers** | [**Array<CatalogObject>**](CatalogObject.md) | The options included in the [CatalogModifierList](#type-catalogmodifierlist). You must include at least one [CatalogModifier](#type-catalogmodifier). Each [CatalogObject](#type-catalogobject) must have type `MODIFIER` and contain [CatalogModifier](#type-catalogmodifier) data. | [optional]
13
13
 
14
14
 
@@ -7,7 +7,7 @@ The wrapper object for object types in the Catalog data model. The type of a par
7
7
  ## Properties
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
- **type** | **String** | The type of this object. Each object type has expected properties expressed in a structured format within its corresponding `*_data` field below. See [CatalogObjectType](#type-catalogobjecttype) for all possible values. |
10
+ **type** | **String** | The type of this object. Each object type has expected properties expressed in a structured format within its corresponding `*_data` field below. See [CatalogObjectType](#type-catalogobjecttype) for possible values |
11
11
  **id** | **String** | An identifier to reference this object in the catalog. When a new CatalogObject is inserted, the client should set the id to a temporary identifier starting with a `'#'` character. Other objects being inserted or updated within the same request may use this identifier to refer to the new object. When the server receives the new object, it will supply a unique identifier that replaces the temporary identifier for all future references. |
12
12
  **updated_at** | **String** | Last modification [timestamp](#workingwithdates) in RFC 3339 format, e.g., `\"2016-08-15T23:59:33.123Z\"` would indicate the UTC time (denoted by `Z`) of August 15, 2016 at 23:59:33 and 123 milliseconds. | [optional]
13
13
  **version** | **Integer** | The version of the object. When updating an object, the version supplied by the must match the version in the database, otherwise the write will be rejected as conflicting. | [optional]
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
16
16
  **present_at_all_locations** | **BOOLEAN** | If `true`, this object is present at all locations (including future locations), except where specified in the `absent_at_location_ids` field. If `false`, this object is not present at any locations (including future locations), except where specified in the `present_at_location_ids` field. If not specified, defaults to `true`. | [optional]
17
17
  **present_at_location_ids** | **Array<String>** | A list of locations where the object is present, even if `present_at_all_locations` is `false`. | [optional]
18
18
  **absent_at_location_ids** | **Array<String>** | A list of locations where the object is not present, even if `present_at_all_locations` is `true`. | [optional]
19
+ **image_id** | **String** | Identifies the `CatalogImage` attached to this `CatalogObject`. | [optional]
19
20
  **item_data** | [**CatalogItem**](CatalogItem.md) | Structured data for a [CatalogItem](#type-catalogitem), set for CatalogObjects of type `ITEM`. | [optional]
20
21
  **category_data** | [**CatalogCategory**](CatalogCategory.md) | Structured data for a [CatalogCategory](#type-catalogcategory), set for CatalogObjects of type `CATEGORY`. | [optional]
21
22
  **item_variation_data** | [**CatalogItemVariation**](CatalogItemVariation.md) | Structured data for a [CatalogItemVariation](#type-catalogitemvariation), set for CatalogObjects of type `ITEM_VARIATION`. | [optional]
@@ -23,5 +24,6 @@ Name | Type | Description | Notes
23
24
  **discount_data** | [**CatalogDiscount**](CatalogDiscount.md) | Structured data for a [CatalogDiscount](#type-catalogdiscount), set for CatalogObjects of type `DISCOUNT`. | [optional]
24
25
  **modifier_list_data** | [**CatalogModifierList**](CatalogModifierList.md) | Structured data for a [CatalogModifierList](#type-catalogmodifierlist), set for CatalogObjects of type `MODIFIER_LIST`. | [optional]
25
26
  **modifier_data** | [**CatalogModifier**](CatalogModifier.md) | Structured data for a [CatalogModifier](#type-catalogmodifier), set for CatalogObjects of type `MODIFIER`. | [optional]
27
+ **image_data** | [**CatalogImage**](CatalogImage.md) | Structured data for a [CatalogImage](#type-catalogimage), set for CatalogObjects of type `IMAGE`. | [optional]
26
28
 
27
29
 
@@ -8,6 +8,7 @@ Possible kinds of [CatalogObject](#type-catalogobject)s returned from the Catalo
8
8
  Name | Type
9
9
  ------------ | -------------
10
10
  **ITEM** | string
11
+ **IMAGE** | string
11
12
  **CATEGORY** | string
12
13
  **ITEM_VARIATION** | string
13
14
  **TAX** | string
@@ -9,6 +9,6 @@ Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **attribute_name** | **String** | The attribute whose value should be used as the sort key. |
11
11
  **initial_attribute_value** | **String** | The first attribute value to be returned by the query. Ascending sorts will return only objects with this value or greater, while descending sorts will return only objects with this value or less. If unset, start at the beginning (for ascending sorts) or end (for descending sorts). | [optional]
12
- **sort_order** | **String** | The desired [SortOrder](#type-sortorder), `\"ASC\"` (ascending) or `\"DESC\"` (descending). | [optional]
12
+ **sort_order** | **String** | The desired [SortOrder](#type-sortorder), `\"ASC\"` (ascending) or `\"DESC\"` (descending). See [SortOrder](#type-sortorder) for possible values | [optional]
13
13
 
14
14
 
data/docs/CatalogTax.md CHANGED
@@ -8,8 +8,8 @@ A tax in the Catalog object model.
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **name** | **String** | The tax's name. Searchable. This field has max length of 255 Unicode code points. | [optional]
11
- **calculation_phase** | **String** | Whether the tax is calculated based on a payment's subtotal or total. See [TaxCalculationPhase](#type-taxcalculationphase) for all possible values. | [optional]
12
- **inclusion_type** | **String** | Whether the tax is `ADDITIVE` or `INCLUSIVE`. See [TaxInclusionType](#type-taxinclusiontype) for all possible values. | [optional]
11
+ **calculation_phase** | **String** | Whether the tax is calculated based on a payment's subtotal or total. See [TaxCalculationPhase](#type-taxcalculationphase) for possible values | [optional]
12
+ **inclusion_type** | **String** | Whether the tax is `ADDITIVE` or `INCLUSIVE`. See [TaxInclusionType](#type-taxinclusiontype) for possible values | [optional]
13
13
  **percentage** | **String** | The percentage of the tax in decimal form, using a `'.'` as the decimal separator and without a `'%'` sign. A value of `7.5` corresponds to 7.5%. | [optional]
14
14
  **applies_to_custom_amounts** | **BOOLEAN** | If `true`, the fee applies to custom amounts entered into the Square Point of Sale app that are not associated with a particular [CatalogItem](#type-catalogitem). | [optional]
15
15
  **enabled** | **BOOLEAN** | If `true`, the tax will be shown as enabled in the Square Point of Sale app. | [optional]
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **catalog_object_id** | **String** | Only used for catalog taxes. The catalog object ID of an existing [CatalogTax](#type-catalogtax). Do not provide a value for this field if you provide values in other fields for an ad hoc tax. | [optional]
11
11
  **name** | **String** | Only used for ad hoc taxes. The tax's name. Do not provide a value for this field if you set `catalog_object_id`. | [optional]
12
- **type** | **String** | Only used for ad hoc taxes. Indicates the calculation method used to apply the line item tax. Default: `ADDITIVE`; See [OrderLineItemTaxType](#type-orderlineitemtaxtype) for possible values. | [optional]
12
+ **type** | **String** | Only used for ad hoc taxes. Indicates the calculation method used to apply the line item tax. Default: `ADDITIVE`; See [OrderLineItemTaxType](#type-orderlineitemtaxtype) for possible values | [optional]
13
13
  **percentage** | **String** | Only used for ad hoc taxes. 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%. This value range between 0.0 up to 100.0 | [optional]
14
14
 
15
15
 
data/docs/Customer.md CHANGED
@@ -23,6 +23,6 @@ Name | Type | Description | Notes
23
23
  **note** | **String** | A note to associate with the customer. | [optional]
24
24
  **preferences** | [**CustomerPreferences**](CustomerPreferences.md) | The customer's preferences. | [optional]
25
25
  **groups** | [**Array<CustomerGroupInfo>**](CustomerGroupInfo.md) | The groups the customer belongs to. | [optional]
26
- **creation_source** | **String** | A creation source represents the method used to create the customer profile. | [optional]
26
+ **creation_source** | **String** | A creation source represents the method used to create the customer profile. See [CustomerCreationSource](#type-customercreationsource) for possible values | [optional]
27
27
 
28
28
 
@@ -7,7 +7,7 @@ Creation source filter. If one or more creation sources are set, customer profi
7
7
  ## Properties
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
- **values** | **Array<String>** | The list of creation sources used as filtering criteria. See [CustomerCreationSource](#type-customercreationsource) for possible values. | [optional]
11
- **rule** | **String** | Indicates whether a customer profile matching the filter criteria should be included in the result or excluded from the result. Default: `INCLUDE`. See [CustomerInclusionExclusion](#type-customerinclusionexclusion) for possible values. | [optional]
10
+ **values** | **Array<String>** | The list of creation sources used as filtering criteria. See [CustomerCreationSource](#type-customercreationsource) for possible values | [optional]
11
+ **rule** | **String** | Indicates whether a customer profile matching the filter criteria should be included in the result or excluded from the result. Default: `INCLUDE`. See [CustomerInclusionExclusion](#type-customerinclusionexclusion) for possible values | [optional]
12
12
 
13
13
 
data/docs/CustomerSort.md CHANGED
@@ -7,7 +7,7 @@ Indicates the field to use for sorting customer profiles. For example, by total
7
7
  ## Properties
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
- **field** | **String** | The field to sort the results on. It could be the total money spent at the merchant, the date of the first visit (etc). See [CustomerSortField](#type-customersortfield) for possible values. Default value: `DEFAULT`. | [optional]
11
- **order** | **String** | Indicates the order in which results should be displayed based on the value of the sort field. String comparisons use standard alphabetic comparison to determine order. Strings representing numbers are sorted as strings. See [SortOrder](#type-sortorder) for possible values. Default value: `ASC`. | [optional]
10
+ **field** | **String** | The field to sort the results on. It could be the total money spent at the merchant, the date of the first visit (etc). See [CustomerSortField](#type-customersortfield) for possible values | [optional]
11
+ **order** | **String** | Indicates the order in which results should be displayed based on the value of the sort field. String comparisons use standard alphabetic comparison to determine order. Strings representing numbers are sorted as strings. See [SortOrder](#type-sortorder) for possible values | [optional]
12
12
 
13
13
 
data/docs/CustomersApi.md CHANGED
@@ -71,7 +71,7 @@ Name | Type | Description | Notes
71
71
 
72
72
  CreateCustomerCard
73
73
 
74
- 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.
74
+ 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.
75
75
 
76
76
  ### Example
77
77
  ```ruby
@@ -249,8 +249,8 @@ api_instance = SquareConnect::CustomersApi.new
249
249
 
250
250
  opts = {
251
251
  cursor: "cursor_example", # String | 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
- sort_field: "sort_field_example", # String | Indicates how Customers should be sorted. Default: `DEFAULT`. See [CustomerSortField](#type-customersortfield) for possible values.
253
- sort_order: "sort_order_example" # String | Indicates whether Customers should be sorted in ascending (`ASC`) or descending (`DESC`) order. Default: `ASC`. See [SortOrder](#type-sortorder) for possible values.
252
+ sort_field: "sort_field_example", # String | Indicates how Customers should be sorted. Default: `DEFAULT`.
253
+ sort_order: "sort_order_example" # String | Indicates whether Customers should be sorted in ascending (`ASC`) or descending (`DESC`) order. Default: `ASC`.
254
254
  }
255
255
 
256
256
  begin
@@ -267,8 +267,8 @@ end
267
267
  Name | Type | Description | Notes
268
268
  ------------- | ------------- | ------------- | -------------
269
269
  **cursor** | **String**| 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. | [optional]
270
- **sort_field** | **String**| Indicates how Customers should be sorted. Default: `DEFAULT`. See [CustomerSortField](#type-customersortfield) for possible values. | [optional]
271
- **sort_order** | **String**| Indicates whether Customers should be sorted in ascending (`ASC`) or descending (`DESC`) order. Default: `ASC`. See [SortOrder](#type-sortorder) for possible values. | [optional]
270
+ **sort_field** | **String**| Indicates how Customers should be sorted. Default: `DEFAULT`. | [optional]
271
+ **sort_order** | **String**| Indicates whether Customers should be sorted in ascending (`ASC`) or descending (`DESC`) order. Default: `ASC`. | [optional]
272
272
 
273
273
  ### Return type
274
274
 
data/docs/Employee.md CHANGED
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
11
11
  **first_name** | **String** | Given (first) name of the employee. | [optional]
12
12
  **last_name** | **String** | Family (last) name of the employee | [optional]
13
13
  **location_ids** | **Array<String>** | A list of location IDs where this employee has access. | [optional]
14
- **status** | **String** | Specifies the status of the employee being fetched. | [optional]
14
+ **status** | **String** | Specifies the status of the employee being fetched. See [EmployeeStatus](#type-employeestatus) for possible values | [optional]
15
15
  **created_at** | **String** | A read-only timestamp in RFC 3339 format. | [optional]
16
16
  **updated_at** | **String** | A read-only timestamp in RFC 3339 format. | [optional]
17
17
 
data/docs/Error.md CHANGED
@@ -7,7 +7,7 @@ Represents an error encountered during a request to the Connect API.
7
7
  ## Properties
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
- **category** | **String** | The error's high-level category. See [ErrorCategory](#type-errorcategory) for possible values. |
10
+ **category** | **String** | The error's high-level category. See [ErrorCategory](#type-errorcategory) for possible values |
11
11
  **code** | **String** | The error's specific code. See [ErrorCode](#type-errorcode) for possible values |
12
12
  **detail** | **String** | A human-readable description of the error for debugging purposes. | [optional]
13
13
  **field** | **String** | The name of the field provided in the original request that the error pertains to, if any. | [optional]
@@ -9,8 +9,8 @@ Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **id** | **String** | A unique ID generated by Square for the [InventoryAdjustment](#type-inventoryadjustment). | [optional]
11
11
  **reference_id** | **String** | An optional ID provided by the application to tie the [InventoryAdjustment](#type-inventoryadjustment) to an external system. | [optional]
12
- **from_state** | **String** | The [InventoryState](#type-inventorystate) of the related quantity of items before the adjustment. | [optional]
13
- **to_state** | **String** | The [InventoryState](#type-inventorystate) of the related quantity of items after the adjustment. | [optional]
12
+ **from_state** | **String** | The [InventoryState](#type-inventorystate) of the related quantity of items before the adjustment. See [InventoryState](#type-inventorystate) for possible values | [optional]
13
+ **to_state** | **String** | The [InventoryState](#type-inventorystate) of the related quantity of items after the adjustment. See [InventoryState](#type-inventorystate) for possible values | [optional]
14
14
  **location_id** | **String** | The Square ID of the [Location](#type-location) where the related quantity of items are being tracked. | [optional]
15
15
  **catalog_object_id** | **String** | The Square generated ID of the [CatalogObject](#type-catalogobject) being tracked. | [optional]
16
16
  **catalog_object_type** | **String** | The [CatalogObjectType](#type-catalogobjecttype) of the [CatalogObject](#type-catalogobject) being tracked. Tracking is only supported for the `ITEM_VARIATION` type. | [optional]
@@ -7,7 +7,7 @@ Represents a single physical count, inventory, adjustment, or transfer that is p
7
7
  ## Properties
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
- **type** | **String** | Indicates how the inventory change was applied. See [InventoryChangeType](#type-inventorychangetype) for all possible values. | [optional]
10
+ **type** | **String** | Indicates how the inventory change was applied. See [InventoryChangeType](#type-inventorychangetype) for possible values | [optional]
11
11
  **physical_count** | [**InventoryPhysicalCount**](InventoryPhysicalCount.md) | Contains details about the physical count when `type` is `PHYSICAL_COUNT` and unset for all other types. | [optional]
12
12
  **adjustment** | [**InventoryAdjustment**](InventoryAdjustment.md) | Contains details about the inventory adjustment when `type` is `ADJUSTMENT` and unset for all other types. | [optional]
13
13
  **transfer** | [**InventoryTransfer**](InventoryTransfer.md) | Contains details about the inventory transfer when `type` is `TRANSFER` and unset for all other types. | [optional]
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **catalog_object_id** | **String** | The Square generated ID of the [CatalogObject](#type-catalogobject) being tracked. | [optional]
11
11
  **catalog_object_type** | **String** | The [CatalogObjectType](#type-catalogobjecttype) of the [CatalogObject](#type-catalogobject) being tracked. Tracking is only supported for the `ITEM_VARIATION` type. | [optional]
12
- **state** | **String** | The current [InventoryState](#type-inventorystate) for the related quantity of items. | [optional]
12
+ **state** | **String** | The current [InventoryState](#type-inventorystate) for the related quantity of items. See [InventoryState](#type-inventorystate) for possible values | [optional]
13
13
  **location_id** | **String** | The Square ID of the [Location](#type-location) where the related quantity of items are being tracked. | [optional]
14
14
  **quantity** | **String** | The number of items in the count as a decimal string. Fractional quantities are not supported. | [optional]
15
15
  **calculated_at** | **String** | A read-only timestamp in RFC 3339 format that indicates when Square received the most recent physical count or adjustment that had an affect on the estimated count. | [optional]
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
11
11
  **reference_id** | **String** | An optional ID provided by the application to tie the [InventoryPhysicalCount](#type-inventoryphysicalcount) to an external system. | [optional]
12
12
  **catalog_object_id** | **String** | The Square generated ID of the [CatalogObject](#type-catalogobject) being tracked. | [optional]
13
13
  **catalog_object_type** | **String** | The [CatalogObjectType](#type-catalogobjecttype) of the [CatalogObject](#type-catalogobject) being tracked. Tracking is only supported for the `ITEM_VARIATION` type. | [optional]
14
- **state** | **String** | The current [InventoryState](#type-inventorystate) for the related quantity of items. | [optional]
14
+ **state** | **String** | The current [InventoryState](#type-inventorystate) for the related quantity of items. See [InventoryState](#type-inventorystate) for possible values | [optional]
15
15
  **location_id** | **String** | The Square ID of the [Location](#type-location) where the related quantity of items are being tracked. | [optional]
16
16
  **quantity** | **String** | The number of items affected by the physical count as a decimal string. Fractional quantities are not supported. | [optional]
17
17
  **source** | [**SourceApplication**](SourceApplication.md) | Read-only information about the application that submitted the physical count. | [optional]
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **id** | **String** | A unique ID generated by Square for the [InventoryTransfer](#type-inventorytransfer). | [optional]
11
11
  **reference_id** | **String** | An optional ID provided by the application to tie the [InventoryTransfer](#type-inventorytransfer) to an external system. | [optional]
12
- **state** | **String** | The [InventoryState](#type-inventorystate) for the quantity of items being transfered. | [optional]
12
+ **state** | **String** | The [InventoryState](#type-inventorystate) for the quantity of items being transfered. See [InventoryState](#type-inventorystate) for possible values | [optional]
13
13
  **from_location_id** | **String** | The Square ID of the [Location](#type-location) where the related quantity of items were tracked before the transfer. | [optional]
14
14
  **to_location_id** | **String** | The Square ID of the [Location](#type-location) where the related quantity of items were tracked after the transfer. | [optional]
15
15
  **catalog_object_id** | **String** | The Square generated ID of the [CatalogObject](#type-catalogobject) being tracked. | [optional]
@@ -9,9 +9,9 @@ Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **location_id** | **String** | The ID of the [location](#type-location). | [optional]
11
11
  **price_money** | [**Money**](Money.md) | The price of the [CatalogItemVariation](#type-catalogitemvariation) at the given [location](#type-location), or blank for variable pricing. | [optional]
12
- **pricing_type** | **String** | The pricing type (fixed or variable) for the [CatalogItemVariation](#type-catalogitemvariation) at the given [location](#type-location). See [CatalogPricingType](#type-catalogpricingtype) for all possible values. | [optional]
12
+ **pricing_type** | **String** | The pricing type (fixed or variable) for the [CatalogItemVariation](#type-catalogitemvariation) at the given [location](#type-location). See [CatalogPricingType](#type-catalogpricingtype) for possible values | [optional]
13
13
  **track_inventory** | **BOOLEAN** | If `true`, inventory tracking is active for the [CatalogItemVariation](#type-catalogitemvariation) at this [location](#type-location). | [optional]
14
- **inventory_alert_type** | **String** | Indicates whether the [CatalogItemVariation](#type-catalogitemvariation) displays an alert when its inventory quantity is less than or equal to its `inventory_alert_threshold`. See [InventoryAlertType](#type-inventoryalerttype) for all possible values. | [optional]
14
+ **inventory_alert_type** | **String** | Indicates whether the [CatalogItemVariation](#type-catalogitemvariation) displays an alert when its inventory quantity is less than or equal to its `inventory_alert_threshold`. See [InventoryAlertType](#type-inventoryalerttype) for possible values | [optional]
15
15
  **inventory_alert_threshold** | **Integer** | If the inventory quantity for the variation is less than or equal to this value and `inventory_alert_type` is `LOW_QUANTITY`, the variation displays an alert in the merchant dashboard. This value is always an integer. | [optional]
16
16
 
17
17
 
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **begin_time** | **String** | The beginning of the requested reporting period, in RFC 3339 format. See [Date ranges](#dateranges) for details on date inclusivity/exclusivity. Default value: The current time minus one year. | [optional]
11
11
  **end_time** | **String** | The end of the requested reporting period, in RFC 3339 format. See [Date ranges](#dateranges) for details on date inclusivity/exclusivity. Default value: The current time. | [optional]
12
- **sort_order** | **String** | The order in which results are listed in the response (`ASC` for oldest first, `DESC` for newest first). Default value: `DESC` | [optional]
12
+ **sort_order** | **String** | The order in which results are listed in the response (`ASC` for oldest first, `DESC` for newest first). Default value: `DESC` See [SortOrder](#type-sortorder) for possible values | [optional]
13
13
  **cursor** | **String** | 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. | [optional]
14
14
 
15
15
 
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **begin_time** | **String** | The beginning of the requested reporting period, in RFC 3339 format. See [Date ranges](#dateranges) for details on date inclusivity/exclusivity. Default value: The current time minus one year. | [optional]
11
11
  **end_time** | **String** | The end of the requested reporting period, in RFC 3339 format. See [Date ranges](#dateranges) for details on date inclusivity/exclusivity. Default value: The current time. | [optional]
12
- **sort_order** | **String** | The order in which results are listed in the response (`ASC` for oldest first, `DESC` for newest first). Default value: `DESC` | [optional]
12
+ **sort_order** | **String** | The order in which results are listed in the response (`ASC` for oldest first, `DESC` for newest first). Default value: `DESC` See [SortOrder](#type-sortorder) for possible values | [optional]
13
13
  **cursor** | **String** | 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. | [optional]
14
14
 
15
15
 
@@ -8,7 +8,7 @@ Defines the query parameters that can be provided in a request to the [ListCusto
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **cursor** | **String** | 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. | [optional]
11
- **sort_field** | **String** | Indicates how Customers should be sorted. Default: `DEFAULT`. See [CustomerSortField](#type-customersortfield) for possible values. | [optional]
12
- **sort_order** | **String** | Indicates whether Customers should be sorted in ascending (`ASC`) or descending (`DESC`) order. Default: `ASC`. See [SortOrder](#type-sortorder) for possible values. | [optional]
11
+ **sort_field** | **String** | Indicates how Customers should be sorted. Default: `DEFAULT`. See [CustomerSortField](#type-customersortfield) for possible values | [optional]
12
+ **sort_order** | **String** | Indicates whether Customers should be sorted in ascending (`ASC`) or descending (`DESC`) order. Default: `ASC`. See [SortOrder](#type-sortorder) for possible values | [optional]
13
13
 
14
14
 
@@ -8,7 +8,7 @@ Retrieve a paged-list of employees for a Square account
8
8
  Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **location_id** | **String** | Filter employees returned to only those that are associated with the specified location. | [optional]
11
- **status** | **String** | Specifies the EmployeeStatus to filter the employee by. | [optional]
11
+ **status** | **String** | Specifies the EmployeeStatus to filter the employee by. See [EmployeeStatus](#type-employeestatus) for possible values | [optional]
12
12
  **limit** | **Integer** | The number of employees to be returned on each page. | [optional]
13
13
  **cursor** | **String** | The token required to retrieve the specified page of results. | [optional]
14
14
 
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **begin_time** | **String** | The beginning of the requested reporting period, in RFC 3339 format. See [Date ranges](#dateranges) for details on date inclusivity/exclusivity. Default value: The current time minus one year. | [optional]
11
11
  **end_time** | **String** | The end of the requested reporting period, in RFC 3339 format. See [Date ranges](#dateranges) for details on date inclusivity/exclusivity. Default value: The current time. | [optional]
12
- **sort_order** | **String** | The order in which results are listed in the response (`ASC` for oldest first, `DESC` for newest first). Default value: `DESC` | [optional]
12
+ **sort_order** | **String** | The order in which results are listed in the response (`ASC` for oldest first, `DESC` for newest first). Default value: `DESC` See [SortOrder](#type-sortorder) for possible values | [optional]
13
13
  **cursor** | **String** | 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. | [optional]
14
14
 
15
15
 
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  ------------ | ------------- | ------------- | -------------
10
10
  **begin_time** | **String** | The beginning of the requested reporting period, in RFC 3339 format. See [Date ranges](#dateranges) for details on date inclusivity/exclusivity. Default value: The current time minus one year. | [optional]
11
11
  **end_time** | **String** | The end of the requested reporting period, in RFC 3339 format. See [Date ranges](#dateranges) for details on date inclusivity/exclusivity. Default value: The current time. | [optional]
12
- **sort_order** | **String** | The order in which results are listed in the response (`ASC` for oldest first, `DESC` for newest first). Default value: `DESC` | [optional]
12
+ **sort_order** | **String** | The order in which results are listed in the response (`ASC` for oldest first, `DESC` for newest first). Default value: `DESC` See [SortOrder](#type-sortorder) for possible values | [optional]
13
13
  **cursor** | **String** | 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. | [optional]
14
14
 
15
15