From 8e36f1561847ba8b20e607bfa13810fb1217cfbb Mon Sep 17 00:00:00 2001 From: Connect API Specification Generator Date: Wed, 16 Dec 2020 19:51:20 +0000 Subject: [PATCH] Release 6.20201216.0 --- CHANGES.md | 51 + README.md | 32 +- docs/AcceptDisputeRequest.md | 2 +- docs/AcceptDisputeResponse.md | 4 +- docs/AddGroupToCustomerRequest.md | 1 - docs/AddGroupToCustomerResponse.md | 1 - docs/BatchRetrieveCatalogObjectsRequest.md | 1 + docs/BookingsApi.md | 53 + docs/BusinessAppointmentSettings.md | 2 +- docs/CancelBookingRequest.md | 14 + docs/CancelBookingResponse.md | 14 + docs/CatalogApi.md | 8 +- docs/CatalogObjectReference.md | 14 + docs/Checkout.md | 2 +- docs/CreateCheckoutRequest.md | 2 +- docs/CreateCustomerGroupRequest.md | 1 - docs/CreateCustomerGroupResponse.md | 1 - docs/CreateDisputeEvidenceTextRequest.md | 4 +- docs/CreateDisputeEvidenceTextResponse.md | 2 +- docs/Customer.md | 4 +- docs/CustomerGroupsApi.md | 5 - docs/CustomerSegmentsApi.md | 2 - docs/CustomerTextFilter.md | 1 - docs/CustomersApi.md | 2 - docs/DeleteCustomerGroupRequest.md | 1 - docs/DeleteCustomerGroupResponse.md | 1 - docs/Dispute.md | 14 +- docs/DisputeEvidenceFile.md | 2 +- docs/DisputesApi.md | 26 +- docs/Error.md | 4 +- docs/ErrorCode.md | 2 + docs/Invoice.md | 7 +- docs/InvoiceCustomField.md | 15 + docs/InvoiceCustomFieldPlacement.md | 10 + docs/InvoicePaymentRequest.md | 6 +- docs/InvoiceRequestMethod.md | 2 + docs/InvoicesApi.md | 8 +- docs/ListCatalogRequest.md | 1 + docs/ListCustomerGroupsRequest.md | 1 - docs/ListCustomerGroupsResponse.md | 1 - docs/ListCustomerSegmentsRequest.md | 1 - docs/ListCustomerSegmentsResponse.md | 1 - docs/ListDisputeEvidenceRequest.md | 2 +- docs/ListDisputeEvidenceResponse.md | 4 +- docs/ListDisputesRequest.md | 8 +- docs/ListDisputesResponse.md | 8 +- docs/LoyaltyProgramRewardDefinition.md | 14 +- docs/LoyaltyProgramRewardTier.md | 3 +- docs/OrderLineItem.md | 1 + docs/OrderLineItemPricingBlocklists.md | 14 + ...ineItemPricingBlocklistsBlockedDiscount.md | 15 + ...rderLineItemPricingBlocklistsBlockedTax.md | 15 + docs/OrderLineItemTax.md | 1 + docs/OrderPricingOptions.md | 3 +- docs/README.md | 2058 ++++++++--------- docs/RemoveDisputeEvidenceRequest.md | 2 +- docs/RemoveDisputeEvidenceResponse.md | 4 +- docs/RemoveGroupFromCustomerRequest.md | 1 - docs/RemoveGroupFromCustomerResponse.md | 1 - docs/RetrieveCatalogObjectRequest.md | 1 + docs/RetrieveCustomerGroupRequest.md | 1 - docs/RetrieveCustomerGroupResponse.md | 1 - docs/RetrieveCustomerSegmentRequest.md | 1 - docs/RetrieveCustomerSegmentResponse.md | 1 - docs/RetrieveDisputeEvidenceRequest.md | 2 +- docs/RetrieveDisputeEvidenceResponse.md | 2 +- docs/RetrieveDisputeRequest.md | 2 +- docs/RetrieveDisputeResponse.md | 4 +- docs/SearchAvailabilityFilter.md | 2 +- docs/SubmitEvidenceRequest.md | 2 +- docs/SubmitEvidenceResponse.md | 4 +- docs/UpdateCustomerGroupRequest.md | 1 - docs/UpdateCustomerGroupResponse.md | 1 - docs/UpdateInvoiceRequest.md | 4 +- docs/V1EmployeesApi.md | 4 +- docs/V1ListLocationsRequest.md | 12 - docs/V1ListLocationsResponse.md | 13 - docs/V1LocationsApi.md | 96 - docs/V1Merchant.md | 27 - docs/V1MerchantAccountType.md | 10 - docs/V1MerchantBusinessType.md | 106 - docs/V1MerchantLocationDetails.md | 13 - docs/V1RetrieveBusinessRequest.md | 12 - package.json | 2 +- src/ApiClient.js | 4 +- src/api/ApplePayApi.js | 2 +- src/api/BankAccountsApi.js | 6 +- src/api/BookingsApi.js | 77 +- src/api/CashDrawersApi.js | 6 +- src/api/CatalogApi.js | 34 +- src/api/CheckoutApi.js | 2 +- src/api/CustomerGroupsApi.js | 15 +- src/api/CustomerSegmentsApi.js | 6 +- src/api/CustomersApi.js | 22 +- src/api/DevicesApi.js | 6 +- src/api/DisputesApi.js | 48 +- src/api/EmployeesApi.js | 4 +- src/api/InventoryApi.js | 14 +- src/api/InvoicesApi.js | 28 +- src/api/LaborApi.js | 32 +- src/api/LocationsApi.js | 8 +- src/api/LoyaltyApi.js | 26 +- src/api/MerchantsApi.js | 4 +- src/api/MobileAuthorizationApi.js | 2 +- src/api/OAuthApi.js | 6 +- src/api/OrdersApi.js | 14 +- src/api/PaymentsApi.js | 12 +- src/api/RefundsApi.js | 6 +- src/api/SubscriptionsApi.js | 12 +- src/api/TeamApi.js | 16 +- src/api/TerminalApi.js | 16 +- src/api/TransactionsApi.js | 14 +- src/api/V1EmployeesApi.js | 40 +- src/api/V1ItemsApi.js | 80 +- src/api/V1LocationsApi.js | 126 - src/api/V1TransactionsApi.js | 22 +- src/index.js | 98 +- src/model/AcceptDisputeRequest.js | 2 +- src/model/AcceptDisputeResponse.js | 4 +- src/model/AddGroupToCustomerRequest.js | 1 - src/model/AddGroupToCustomerResponse.js | 1 - .../BatchRetrieveCatalogObjectsRequest.js | 9 + src/model/BusinessAppointmentSettings.js | 18 +- src/model/BusinessBookingProfile.js | 10 +- src/model/CancelBookingRequest.js | 75 + src/model/CancelBookingResponse.js | 77 + src/model/CatalogObjectReference.js | 75 + src/model/Checkout.js | 2 +- src/model/CreateCheckoutRequest.js | 2 +- src/model/CreateCustomerGroupRequest.js | 1 - src/model/CreateCustomerGroupResponse.js | 1 - src/model/CreateDisputeEvidenceTextRequest.js | 6 +- .../CreateDisputeEvidenceTextResponse.js | 2 +- src/model/CustomerTextFilter.js | 1 - src/model/DeleteCustomerGroupRequest.js | 1 - src/model/DeleteCustomerGroupResponse.js | 1 - src/model/Dispute.js | 14 +- src/model/DisputeEvidenceFile.js | 2 +- src/model/Error.js | 8 +- src/model/ErrorCode.js | 5 + src/model/Invoice.js | 16 +- src/model/InvoiceCustomField.js | 84 + ...Type.js => InvoiceCustomFieldPlacement.js} | 14 +- src/model/InvoicePaymentRequest.js | 6 +- src/model/InvoiceRequestMethod.js | 7 +- src/model/ListCatalogRequest.js | 9 + src/model/ListCustomerGroupsRequest.js | 1 - src/model/ListCustomerGroupsResponse.js | 1 - src/model/ListCustomerSegmentsRequest.js | 1 - src/model/ListCustomerSegmentsResponse.js | 1 - src/model/ListDisputeEvidenceRequest.js | 2 +- src/model/ListDisputeEvidenceResponse.js | 4 +- src/model/ListDisputesRequest.js | 8 +- src/model/ListDisputesResponse.js | 8 +- src/model/LoyaltyProgramRewardDefinition.js | 18 +- src/model/LoyaltyProgramRewardTier.js | 14 +- src/model/OrderLineItem.js | 10 + src/model/OrderLineItemPricingBlocklists.js | 77 + ...ineItemPricingBlocklistsBlockedDiscount.js | 84 + ...rderLineItemPricingBlocklistsBlockedTax.js | 84 + src/model/OrderLineItemTax.js | 9 + src/model/OrderPricingOptions.js | 11 +- src/model/RemoveDisputeEvidenceRequest.js | 2 +- src/model/RemoveDisputeEvidenceResponse.js | 4 +- src/model/RemoveGroupFromCustomerRequest.js | 1 - src/model/RemoveGroupFromCustomerResponse.js | 1 - src/model/RetrieveCatalogObjectRequest.js | 9 + src/model/RetrieveCustomerGroupRequest.js | 1 - src/model/RetrieveCustomerGroupResponse.js | 1 - src/model/RetrieveCustomerSegmentRequest.js | 1 - src/model/RetrieveCustomerSegmentResponse.js | 1 - src/model/RetrieveDisputeEvidenceRequest.js | 2 +- src/model/RetrieveDisputeEvidenceResponse.js | 2 +- src/model/RetrieveDisputeRequest.js | 2 +- src/model/RetrieveDisputeResponse.js | 4 +- src/model/RiskEvaluation.js | 4 +- src/model/SearchAvailabilityFilter.js | 4 +- src/model/SubmitEvidenceRequest.js | 2 +- src/model/SubmitEvidenceResponse.js | 4 +- src/model/UpdateCustomerGroupRequest.js | 1 - src/model/UpdateCustomerGroupResponse.js | 1 - src/model/UpdateInvoiceRequest.js | 6 +- src/model/V1ListLocationsRequest.js | 57 - src/model/V1ListLocationsResponse.js | 67 - src/model/V1Merchant.js | 195 -- src/model/V1MerchantBusinessType.js | 285 --- src/model/V1MerchantLocationDetails.js | 66 - src/model/V1RetrieveBusinessRequest.js | 57 - test/api/LocationsApi.spec.js | 16 +- test/api/ReportingApi.spec.js | 70 +- test/api/V1LocationsApi.spec.js | 52 - test/model/CancelBookingRequest.spec.js | 37 + test/model/CancelBookingResponse.spec.js | 37 + test/model/CatalogObjectReference.spec.js | 37 + test/model/InvoiceCustomField.spec.js | 42 + .../model/InvoiceCustomFieldPlacement.spec.js | 26 + .../OrderLineItemPricingBlocklists.spec.js | 37 + ...emPricingBlocklistsBlockedDiscount.spec.js | 42 + ...ineItemPricingBlocklistsBlockedTax.spec.js | 42 + test/model/V1ListLocationsRequest.spec.js | 2 +- test/model/V1ListLocationsResponse.spec.js | 2 +- test/model/V1Merchant.spec.js | 2 +- test/model/V1MerchantLocationDetails.spec.js | 2 +- test/model/V1RetrieveBusinessRequest.spec.js | 2 +- 204 files changed, 2801 insertions(+), 2826 deletions(-) create mode 100644 docs/CancelBookingRequest.md create mode 100644 docs/CancelBookingResponse.md create mode 100644 docs/CatalogObjectReference.md create mode 100644 docs/InvoiceCustomField.md create mode 100644 docs/InvoiceCustomFieldPlacement.md create mode 100644 docs/OrderLineItemPricingBlocklists.md create mode 100644 docs/OrderLineItemPricingBlocklistsBlockedDiscount.md create mode 100644 docs/OrderLineItemPricingBlocklistsBlockedTax.md delete mode 100644 docs/V1ListLocationsRequest.md delete mode 100644 docs/V1ListLocationsResponse.md delete mode 100644 docs/V1LocationsApi.md delete mode 100644 docs/V1Merchant.md delete mode 100644 docs/V1MerchantAccountType.md delete mode 100644 docs/V1MerchantBusinessType.md delete mode 100644 docs/V1MerchantLocationDetails.md delete mode 100644 docs/V1RetrieveBusinessRequest.md delete mode 100644 src/api/V1LocationsApi.js create mode 100644 src/model/CancelBookingRequest.js create mode 100644 src/model/CancelBookingResponse.js create mode 100644 src/model/CatalogObjectReference.js create mode 100644 src/model/InvoiceCustomField.js rename src/model/{V1MerchantAccountType.js => InvoiceCustomFieldPlacement.js} (62%) create mode 100644 src/model/OrderLineItemPricingBlocklists.js create mode 100644 src/model/OrderLineItemPricingBlocklistsBlockedDiscount.js create mode 100644 src/model/OrderLineItemPricingBlocklistsBlockedTax.js delete mode 100644 src/model/V1ListLocationsRequest.js delete mode 100644 src/model/V1ListLocationsResponse.js delete mode 100644 src/model/V1Merchant.js delete mode 100644 src/model/V1MerchantBusinessType.js delete mode 100644 src/model/V1MerchantLocationDetails.js delete mode 100644 src/model/V1RetrieveBusinessRequest.js delete mode 100644 test/api/V1LocationsApi.spec.js create mode 100644 test/model/CancelBookingRequest.spec.js create mode 100644 test/model/CancelBookingResponse.spec.js create mode 100644 test/model/CatalogObjectReference.spec.js create mode 100644 test/model/InvoiceCustomField.spec.js create mode 100644 test/model/InvoiceCustomFieldPlacement.spec.js create mode 100644 test/model/OrderLineItemPricingBlocklists.spec.js create mode 100644 test/model/OrderLineItemPricingBlocklistsBlockedDiscount.spec.js create mode 100644 test/model/OrderLineItemPricingBlocklistsBlockedTax.spec.js diff --git a/CHANGES.md b/CHANGES.md index 4fb969b..ad253fe 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,56 @@ # Change Log +## Version 6.20201216.0 (2020-12-16T00:00) +## Existing API updates + + **Orders API:** + * [OrderLineItemPricingBlocklists.](https://developer.squareup.com/reference/square_2020_12_16/objects/OrderLineItemPricingBlocklists) You can explicitly specify taxes and discounts in an order or automatically apply preconfigured taxes and discounts to an order. In addition, you can now block applying these taxes and discounts to a specific [OrderLineItem](https://developer.squareup.com/reference/square_2020_12_16/objects/OrderLineItem) in an [order](https://developer.squareup.com/reference/square_2020_12_16/objects/Order). You add the `pricing_blocklists` attribute to individual line items and specify the `blocked_discounts` and `blocked_taxes` that you do not want to apply. For more information, see [Apply Taxes and Discounts.](orders-api/apply-taxes-and-discounts) For example walkthroughs, see [Automatically Apply Discounts](orders-api/apply-taxes-and-discounts/auto-apply-discounts) and [Automatically Apply Taxes.](orders-api/apply-taxes-and-discounts/auto-apply-taxes) + * [OrderPricingOptions](https://developer.squareup.com/reference/square_2020_12_16/objects/OrderPricingOptions). Previously, the `pricing_options` field in an [order](https://developer.squareup.com/reference/square_2020_12_16/objects/OrderPricingOptions) supported only `auto_apply_discounts` to enable the automatic application of preconfigured discounts. Now it also supports `auto_apply_taxes` to enable the automatic application of preconfigured taxes. For more information, see [Automatically apply preconfigured catalog taxes or discounts.](orders-api/apply-taxes-and-discounts#automatically-apply-preconfigured-catalog-taxes-or-discounts) + + * [OrderLineItemTax](https://developer.squareup.com/reference/square_2020_12_16/objects/OrderLineItemTax). It now includes the new `auto_applied` field. It indicates whether the tax was automatically applied using a preconfigured [CatalogTax](https://developer.squareup.com/reference/square_2020_12_16/objects/CatalogTax). + + +* **Bookings API:** + * The [CancelBooking](https://developer.squareup.com/reference/square_2020_12_16/bookings-api/cancel-booking) endpoint supports canceling an accepted or pending booking. + * The [booking.created](https://developer.squareup.com/reference/square_2020_12_16/webhooks/booking.created) webhook event notifies when a new booking is created by calling the [CreateBooking](https://developer.squareup.com/reference/square_2020_12_16/bookings-api/cancel-booking) endpoint. + * The [booking.updated](https://developer.squareup.com/reference/square_2020_12_16/webhooks/booking.updated) webhook event notifies when an existing booking is updated. + +* **Catalog API:** + * [ListCatalog](https://developer.squareup.com/reference/square_2020_12_16/catalog-api/list-catalog), [RetrieveCatalogObject](https://developer.squareup.com/reference/square_2020_12_16/catalog-api/retrieve-catalog-object), and [BatchRetrieveCatalogObjects](https://developer.squareup.com/reference/square_2020_12_16/catalog-api/batch-retrieve-catalog-objects) now support the `catalog_version` filter to return catalog objects of the specified version. + +* **Customers API:** + * [SearchCustomers](https://developer.squareup.com/reference/square_2020_12_16/customers-api/search-customers) endpoint. The `email_address`, `group_ids`, `phone_number`, and `reference_id` query filters are now generally available (GA). + * The [Customer Groups](https://developer.squareup.com/reference/square_2020_12_16/customer-groups-api) API is now GA. + * The [Customer Segments](https://developer.squareup.com/reference/square_2020_12_16/customer-segments-api) API is now GA. + + +* **Invoices API:** (beta) + * [Invoice](https://developer.squareup.com/reference/square_2020_12_16/objects/Invoice) object. Added the `custom_fields` field, which contains up to two customer-facing, seller-defined fields to display on the invoice. For more information, see [Custom fields.](https://developer.squareup.com/docs/invoices-api/overview#custom-fields) + As part of this change, the following objects are added: + * [InvoiceCustomField](https://developer.squareup.com/reference/square_2020_12_16/objects/InvoiceCustomField) object + * [InvoiceCustomFieldPlacement](https://developer.squareup.com/reference/square_2020_12_16/enums/InvoiceCustomFieldPlacement) enum + * [InvoiceRequestMethod](https://developer.squareup.com/reference/square_2020_12_16/enums/InvoiceRequestMethod) enum. Added the read-only CHARGE_BANK_ON_FILE value, which represents a bank transfer automatic payment method for a recurring invoice. + + +* **Loyalty API:** (beta) + * [LoyaltyProgramRewardTier](https://developer.squareup.com/reference/square_2020_12_16/objects/LoyaltyProgramRewardTier) object. The `definition` field in this type is deprecated and replaced by the new `pricing_rule_reference` field. You can use `pricing_rule_reference` fields to retrieve catalog objects that define the discount details for the reward tier. For more information, see [Get discount details for a reward tier.](https://developer.squareup.com/docs/loyalty-api/overview#get-discount-details-for-a-reward-tier) + As part of this change, the following APIs are deprecated: + * [LoyaltyProgramRewardDefinition](https://developer.squareup.com/reference/square_2020_12_16/objects/LoyaltyProgramRewardDefinition) object + * [LoyaltyProgramRewardDefinitionScope](https://developer.squareup.com/reference/square_2020_12_16/enums/LoyaltyProgramRewardDefinitionScope) enum + * [LoyaltyProgramRewardDefinitionType](https://developer.squareup.com/reference/square_2020_12_16/enums/LoyaltyProgramRewardDefinitionType) enum + +## New SDK release +* **Square Node.js SDK:** + + The new [Square Node.js SDK](https://github.com/square/square-nodejs-sdk) is now GA and replaces the deprecated Connect Node.js SDK. For migration information, see the [Connect SDK README.](https://github.com/square/connect-nodejs-sdk/blob/master/README.md) + + +## Documentation updates + +* [Get Right-Sized Permissions with Down-Scoped OAuth Tokens.](https://developer.squareup.com/docs/oauth-api/cookbook/downscoped-access) This new OAuth API topic shows how to get an additional reduced-scope OAuth token with a 24-hour expiration by using the refresh token from the Square account authorization OAuth flow. + + + ## Version 5.20201118.0 (2020-11-18T00:00) ## New API releases diff --git a/README.md b/README.md index 40e67c7..56ca969 100644 --- a/README.md +++ b/README.md @@ -7,16 +7,16 @@ [![Apache-2 license](https://img.shields.io/badge/license-Apache2-brightgreen.svg)](https://www.apache.org/licenses/LICENSE-2.0) ================== -## NOTICE: The Square Connect Node.js SDK is deprecated and will be replaced by [square/square-nodejs-sdk] (currently in beta) -This Square Connect Node.js SDK is deprecated. The SDK will enter a security maintenance phase in Q4 2020 and will be RETIRED (EOL) in Q2 2021. In the security maintenance phase, the SDK will continue to receive support and security patches but will no longer receive bug fixes or product updates. Once it is retired, support and security patches will no longer be available. +## NOTICE: The Square Connect Node.js SDK is deprecated and replaced by [square/square-nodejs-sdk] +This Square Connect Node.js SDK is deprecated. This SDK entered security maintenance phase on 2020-12-16 and will be RETIRED (EOL) in Q2, 2021. In the security maintenance phase, this SDK will continue to receive support and security patches but will no longer receive bug fixes or API updates. Once it is retired, support and security patches will no longer be available. -The SDK itself will continue to work indefinitely until such time that the underlying APIs are retired, at which point portions of the SDK may stop functioning. For a full list of API retirement dates, please see our [Square API Lifecycle documentation]. +This SDK itself will continue to work indefinitely until such time that the underlying APIs are retired, at which point portions of this SDK may stop functioning. For a full list of API retirement dates, please see our [Square API Lifecycle documentation]. | Security Maintenance | Retired (EOL) | | -------- | -------- | -| Q4, 2020 | Q2, 2021 | +| December 16, 2020 | Q2, 2021 | -To ensure that you continue to receive API updates and SDK improvements, you should plan to migrate to the new [Square Node.js SDK] after it reaches GA. Please follow the instructions below to migrate to the new SDK. +To ensure that you continue to receive API updates and SDK improvements, you should migrate to the new [Square Node.js SDK]. Please follow the instructions below to migrate to the new SDK. The old Connect SDK documentation is available under the [/docs] folder. @@ -36,30 +36,14 @@ The old Connect SDK documentation is available under the [/docs] folder. ## Migrate to the Square Node.js SDK -Follow the instructions below to migrate your apps from this deprecated Connect Node.js SDK to the new [Square Node.js SDK] after it reaches GA. You need to install the new SDK and update your application code. +Follow the instructions below to migrate your apps from this deprecated Connect Node.js SDK to the new [Square Node.js SDK]. You need to install the new SDK and update your application code. -### Install the SDK +### Install the Square Node.js SDK -#### Option 1: Install the latest SDK version using npm ```sh $ npm install square ``` -#### Option 2: Install the latest SDK version using GitHub -First clone the repo: -```sh -git clone https://github.com/square/square-nodejs-sdk.git -``` -Then, build the SDK: -```sh -$ cd square-nodejs-sdk -$ npm link -``` -Lastly, run the following in the directory that contains your code: -```sh -$ npm link square -``` - ### Update your application code Make the following changes to migrate your application code to the new Square SDK: @@ -211,4 +195,4 @@ Please join us in our [Square developer community] if you have any questions or [Square API Lifecycle documentation]: https://developer.squareup.com/docs/build-basics/api-lifecycle#deprecated-apis [/docs]: https://github.com/square/connect-nodejs-sdk/tree/master/docs/README.md [Square Connect API Examples]: https://github.com/square/connect-api-examples/tree/master/connect-examples/v2 -[Square developer community]: https://squ.re/slack +[Square developer community]: https://squ.re/slack \ No newline at end of file diff --git a/docs/AcceptDisputeRequest.md b/docs/AcceptDisputeRequest.md index ff7dce5..afd2baf 100644 --- a/docs/AcceptDisputeRequest.md +++ b/docs/AcceptDisputeRequest.md @@ -3,7 +3,7 @@ ### Description **Note: This model is in beta.** -Defines request parameters for the AcceptDispute endpoint. +Defines the request parameters for the `AcceptDispute` endpoint. ## Properties Name | Type | Description | Notes diff --git a/docs/AcceptDisputeResponse.md b/docs/AcceptDisputeResponse.md index 9358922..de1c1f1 100644 --- a/docs/AcceptDisputeResponse.md +++ b/docs/AcceptDisputeResponse.md @@ -3,12 +3,12 @@ ### Description **Note: This model is in beta.** -Defines fields in a AcceptDispute response. +Defines the fields in an `AcceptDispute` response. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**errors** | [**[Error]**](Error.md) | Information on errors encountered during the request. | [optional] +**errors** | [**[Error]**](Error.md) | Information about errors encountered during the request. | [optional] **dispute** | [**Dispute**](Dispute.md) | Details about the accepted dispute. | [optional] diff --git a/docs/AddGroupToCustomerRequest.md b/docs/AddGroupToCustomerRequest.md index faa400d..cf5cc84 100644 --- a/docs/AddGroupToCustomerRequest.md +++ b/docs/AddGroupToCustomerRequest.md @@ -1,7 +1,6 @@ # SquareConnect.AddGroupToCustomerRequest ### Description -**Note: This model is in beta.** Defines the fields that are included in the request body of a request to the [AddGroupToCustomer](#endpoint-addgrouptocustomer) endpoint. diff --git a/docs/AddGroupToCustomerResponse.md b/docs/AddGroupToCustomerResponse.md index b049ddb..40dfa06 100644 --- a/docs/AddGroupToCustomerResponse.md +++ b/docs/AddGroupToCustomerResponse.md @@ -1,7 +1,6 @@ # SquareConnect.AddGroupToCustomerResponse ### Description -**Note: This model is in beta.** Defines the fields that are included in the response body of a request to the [AddGroupToCustomer](#endpoint-addgrouptocustomer) endpoint. diff --git a/docs/BatchRetrieveCatalogObjectsRequest.md b/docs/BatchRetrieveCatalogObjectsRequest.md index c556aa6..6f70540 100644 --- a/docs/BatchRetrieveCatalogObjectsRequest.md +++ b/docs/BatchRetrieveCatalogObjectsRequest.md @@ -9,5 +9,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **object_ids** | **[String]** | The IDs of the CatalogObjects to be retrieved. | **include_related_objects** | **Boolean** | If `true`, the response will include additional objects that are related to the requested objects, as follows: If the `objects` field of the response contains a CatalogItem, its associated CatalogCategory objects, CatalogTax objects, CatalogImage objects and CatalogModifierLists will be returned in the `related_objects` field of the response. If the `objects` field of the response contains a CatalogItemVariation, its parent CatalogItem will be returned in the `related_objects` field of the response. | [optional] +**catalog_version** | **Number** | The specific version of the catalog objects to be included in the response. This allows you to retrieve historical versions of objects. The specified version value is matched against the `CatalogObject`s' `version` attribute. | [optional] [beta] diff --git a/docs/BookingsApi.md b/docs/BookingsApi.md index ea048ce..ce063f0 100644 --- a/docs/BookingsApi.md +++ b/docs/BookingsApi.md @@ -4,6 +4,7 @@ All URIs are relative to *https://connect.squareup.com* Method | HTTP request | Description ------------- | ------------- | ------------- +[**cancelBooking**](BookingsApi.md#cancelBooking) | **POST** /v2/bookings/{booking_id}/cancel | CancelBooking [**createBooking**](BookingsApi.md#createBooking) | **POST** /v2/bookings | CreateBooking [**listTeamMemberBookingProfiles**](BookingsApi.md#listTeamMemberBookingProfiles) | **GET** /v2/bookings/team-member-booking-profiles | ListTeamMemberBookingProfiles [**retrieveBooking**](BookingsApi.md#retrieveBooking) | **GET** /v2/bookings/{booking_id} | RetrieveBooking @@ -13,6 +14,58 @@ Method | HTTP request | Description [**updateBooking**](BookingsApi.md#updateBooking) | **PUT** /v2/bookings/{booking_id} | UpdateBooking + +# **cancelBooking** +**Note: This endpoint is in beta.** +> CancelBookingResponse cancelBooking(bookingId, body) + +CancelBooking + +Cancels an existing booking. + +### Example +```javascript +var SquareConnect = require('square-connect'); +var defaultClient = SquareConnect.ApiClient.instance; + +// Configure OAuth2 access token for authorization: oauth2 +var oauth2 = defaultClient.authentications['oauth2']; +oauth2.accessToken = 'YOUR ACCESS TOKEN'; + +var apiInstance = new SquareConnect.BookingsApi(); + +var bookingId = SquareConnect.BookingsApi.constructFromObject({}); // String | The ID of the `Booking` object representing the to-be-cancelled booking. + +var body = SquareConnect.BookingsApi.constructFromObject({}); // CancelBookingRequest | An object containing the fields to POST for the request. See the corresponding object definition for field details. + +apiInstance.cancelBooking(bookingId, body).then(function(data) { + console.log('API called successfully. Returned data: ' + data); +}, function(error) { + console.error(error); +}); + +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **bookingId** | **String**| The ID of the `Booking` object representing the to-be-cancelled booking. | + **body** | [**CancelBookingRequest**](CancelBookingRequest.md)| An object containing the fields to POST for the request. See the corresponding object definition for field details. | + +### Return type + +[**CancelBookingResponse**](CancelBookingResponse.md) + +### Authorization + +[oauth2](../README.md#oauth2) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + # **createBooking** **Note: This endpoint is in beta.** diff --git a/docs/BusinessAppointmentSettings.md b/docs/BusinessAppointmentSettings.md index 98a626c..4728b3a 100644 --- a/docs/BusinessAppointmentSettings.md +++ b/docs/BusinessAppointmentSettings.md @@ -8,7 +8,7 @@ The service appointment settings, including where and how the service is provide ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**location_types** | [**[BusinessAppointmentSettingsBookingLocationType]**](BusinessAppointmentSettingssBookingLocationType.md) | Types of the location allowed for bookings. | [optional] +**location_types** | [**[BusinessAppointmentSettingsBookingLocationType]**](BusinessAppointmentSettingsBookingLocationType.md) | Types of the location allowed for bookings. | [optional] **alignment_time** | [**BusinessAppointmentSettingsAlignmentTime**](BusinessAppointmentSettingsAlignmentTime.md) | The time unit of the service duration for bookings. | [optional] **min_booking_lead_time_seconds** | **Number** | The minimum lead time in seconds before a service can be booked. Bookings must be created at least this far ahead of the booking's starting time. | [optional] **max_booking_lead_time_seconds** | **Number** | The maximum lead time in seconds before a service can be booked. Bookings must be created at most this far ahead of the booking's starting time. | [optional] diff --git a/docs/CancelBookingRequest.md b/docs/CancelBookingRequest.md new file mode 100644 index 0000000..52de078 --- /dev/null +++ b/docs/CancelBookingRequest.md @@ -0,0 +1,14 @@ +# SquareConnect.CancelBookingRequest + +### Description +**Note: This model is in beta.** + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**idempotency_key** | **String** | A unique key to make this request an idempotent operation. | [optional] +**booking_version** | **Number** | The revision number for the booking used for optimistic concurrency. | [optional] + + diff --git a/docs/CancelBookingResponse.md b/docs/CancelBookingResponse.md new file mode 100644 index 0000000..347dc2e --- /dev/null +++ b/docs/CancelBookingResponse.md @@ -0,0 +1,14 @@ +# SquareConnect.CancelBookingResponse + +### Description +**Note: This model is in beta.** + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**booking** | [**Booking**](Booking.md) | The booking that was cancelled. | [optional] +**errors** | [**[Error]**](Error.md) | Any errors that occurred during the request. | [optional] + + diff --git a/docs/CatalogApi.md b/docs/CatalogApi.md index 8f48f5b..c6d5f31 100644 --- a/docs/CatalogApi.md +++ b/docs/CatalogApi.md @@ -273,7 +273,8 @@ var apiInstance = new SquareConnect.CatalogApi(); var opts = { 'cursor': SquareConnect.CatalogApi.constructFromObject({});, // String | The pagination cursor returned in the previous response. Leave unset for an initial request. See [Pagination](https://developer.squareup.com/docs/basics/api101/pagination) for more information. - 'types': SquareConnect.CatalogApi.constructFromObject({}); // String | An optional case-insensitive, comma-separated list of object types to retrieve, for example `ITEM,ITEM_VARIATION,CATEGORY,IMAGE`. The legal values are taken from the CatalogObjectType enum: `ITEM`, `ITEM_VARIATION`, `CATEGORY`, `DISCOUNT`, `TAX`, `MODIFIER`, `MODIFIER_LIST`, or `IMAGE`. + 'types': SquareConnect.CatalogApi.constructFromObject({});, // String | An optional case-insensitive, comma-separated list of object types to retrieve, for example `ITEM,ITEM_VARIATION,CATEGORY,IMAGE`. The legal values are taken from the CatalogObjectType enum: `ITEM`, `ITEM_VARIATION`, `CATEGORY`, `DISCOUNT`, `TAX`, `MODIFIER`, `MODIFIER_LIST`, or `IMAGE`. + 'catalogVersion': SquareConnect.CatalogApi.constructFromObject({}); // Number | The specific version of the catalog objects to be included in the response. This allows you to retrieve historical versions of objects. The specified version value is matched against the `CatalogObject`s' `version` attribute. }; apiInstance.listCatalog(opts).then(function(data) { console.log('API called successfully. Returned data: ' + data); @@ -289,6 +290,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **cursor** | **String**| The pagination cursor returned in the previous response. Leave unset for an initial request. See [Pagination](https://developer.squareup.com/docs/basics/api101/pagination) for more information. | [optional] **types** | **String**| An optional case-insensitive, comma-separated list of object types to retrieve, for example `ITEM,ITEM_VARIATION,CATEGORY,IMAGE`. The legal values are taken from the CatalogObjectType enum: `ITEM`, `ITEM_VARIATION`, `CATEGORY`, `DISCOUNT`, `TAX`, `MODIFIER`, `MODIFIER_LIST`, or `IMAGE`. | [optional] + **catalogVersion** | **Number**| The specific version of the catalog objects to be included in the response. This allows you to retrieve historical versions of objects. The specified version value is matched against the `CatalogObject`s' `version` attribute. | [optional] ### Return type @@ -325,7 +327,8 @@ var apiInstance = new SquareConnect.CatalogApi(); var objectId = SquareConnect.CatalogApi.constructFromObject({}); // String | The object ID of any type of catalog objects to be retrieved. var opts = { - 'includeRelatedObjects': SquareConnect.CatalogApi.constructFromObject({}); // Boolean | If `true`, the response will include additional objects that are related to the requested object, as follows: If the `object` field of the response contains a `CatalogItem`, its associated `CatalogCategory`, `CatalogTax`, `CatalogImage` and `CatalogModifierList` objects will be returned in the `related_objects` field of the response. If the `object` field of the response contains a `CatalogItemVariation`, its parent `CatalogItem` will be returned in the `related_objects` field of the response. Default value: `false` + 'includeRelatedObjects': SquareConnect.CatalogApi.constructFromObject({});, // Boolean | If `true`, the response will include additional objects that are related to the requested object, as follows: If the `object` field of the response contains a `CatalogItem`, its associated `CatalogCategory`, `CatalogTax`, `CatalogImage` and `CatalogModifierList` objects will be returned in the `related_objects` field of the response. If the `object` field of the response contains a `CatalogItemVariation`, its parent `CatalogItem` will be returned in the `related_objects` field of the response. Default value: `false` + 'catalogVersion': SquareConnect.CatalogApi.constructFromObject({}); // Number | Requests objects as of a specific version of the catalog. This allows you to retrieve historical versions of objects. The value to retrieve a specific version of an object can be found in the version field of `CatalogObject`s. }; apiInstance.retrieveCatalogObject(objectId, opts).then(function(data) { console.log('API called successfully. Returned data: ' + data); @@ -341,6 +344,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **objectId** | **String**| The object ID of any type of catalog objects to be retrieved. | **includeRelatedObjects** | **Boolean**| If `true`, the response will include additional objects that are related to the requested object, as follows: If the `object` field of the response contains a `CatalogItem`, its associated `CatalogCategory`, `CatalogTax`, `CatalogImage` and `CatalogModifierList` objects will be returned in the `related_objects` field of the response. If the `object` field of the response contains a `CatalogItemVariation`, its parent `CatalogItem` will be returned in the `related_objects` field of the response. Default value: `false` | [optional] + **catalogVersion** | **Number**| Requests objects as of a specific version of the catalog. This allows you to retrieve historical versions of objects. The value to retrieve a specific version of an object can be found in the version field of `CatalogObject`s. | [optional] ### Return type diff --git a/docs/CatalogObjectReference.md b/docs/CatalogObjectReference.md new file mode 100644 index 0000000..2ae30fb --- /dev/null +++ b/docs/CatalogObjectReference.md @@ -0,0 +1,14 @@ +# SquareConnect.CatalogObjectReference + +### Description +**Note: This model is in beta.** + +A reference to a Catalog object at a specific version. In general this is used as an entry point into a graph of catalog objects, where the objects exist at a specific version. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**object_id** | **String** | The ID of the referenced object. | [optional] +**catalog_version** | **Number** | The version of the object. | [optional] + + diff --git a/docs/Checkout.md b/docs/Checkout.md index 395024a..e61f005 100644 --- a/docs/Checkout.md +++ b/docs/Checkout.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **merchant_support_email** | **String** | The email address to display on the Square Checkout confirmation page and confirmation email that the buyer can use to contact the merchant. If this value is not set, the confirmation page and email will display the primary email address associated with the merchant's Square account. Default: none; only exists if explicitly set. | [optional] **pre_populate_buyer_email** | **String** | If provided, the buyer's email is pre-populated on the checkout page as an editable text field. Default: none; only exists if explicitly set. | [optional] **pre_populate_shipping_address** | [**Address**](Address.md) | If provided, the buyer's shipping info is pre-populated on the checkout page as editable text fields. Default: none; only exists if explicitly set. | [optional] -**redirect_url** | **String** | The URL to redirect to after checkout is completed with `checkoutId`, Square's `orderId`, `transactionId`, and `referenceId` appended as URL parameters. For example, if the provided redirect_url is `http://www.example.com/order-complete`, a successful transaction redirects the customer to: `http://www.example.com/order-complete?checkoutId=xxxxxx&orderId=xxxxxx&referenceId=xxxxxx&transactionId=xxxxxx` If you do not provide a redirect URL, Square Checkout will display an order confirmation page on your behalf; however Square strongly recommends that you provide a redirect URL so you can verify the transaction results and finalize the order through your existing/normal confirmation workflow. | [optional] +**redirect_url** | **String** | The URL to redirect to after checkout is completed with `checkoutId`, Square's `orderId`, `transactionId`, and `referenceId` appended as URL parameters. For example, if the provided redirect_url is `http://www.example.com/order-complete`, a successful transaction redirects the customer to: <pre><code>http://www.example.com/order-complete?checkoutId=xxxxxx&amp;orderId=xxxxxx&amp;referenceId=xxxxxx&amp;transactionId=xxxxxx</code></pre> If you do not provide a redirect URL, Square Checkout will display an order confirmation page on your behalf; however Square strongly recommends that you provide a redirect URL so you can verify the transaction results and finalize the order through your existing/normal confirmation workflow. | [optional] **order** | [**Order**](Order.md) | Order to be checked out. | [optional] **created_at** | **String** | The time when the checkout was created, in RFC 3339 format. | [optional] **additional_recipients** | [**[AdditionalRecipient]**](AdditionalRecipient.md) | Additional recipients (other than the merchant) receiving a portion of this checkout. For example, fees assessed on the purchase by a third party integration. | [optional] diff --git a/docs/CreateCheckoutRequest.md b/docs/CreateCheckoutRequest.md index 0ff84c3..dd54fc1 100644 --- a/docs/CreateCheckoutRequest.md +++ b/docs/CreateCheckoutRequest.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **merchant_support_email** | **String** | The email address to display on the Square Checkout confirmation page and confirmation email that the buyer can use to contact the merchant. If this value is not set, the confirmation page and email will display the primary email address associated with the merchant's Square account. Default: none; only exists if explicitly set. | [optional] **pre_populate_buyer_email** | **String** | If provided, the buyer's email is pre-populated on the checkout page as an editable text field. Default: none; only exists if explicitly set. | [optional] **pre_populate_shipping_address** | [**Address**](Address.md) | If provided, the buyer's shipping info is pre-populated on the checkout page as editable text fields. Default: none; only exists if explicitly set. | [optional] -**redirect_url** | **String** | The URL to redirect to after checkout is completed with `checkoutId`, Square's `orderId`, `transactionId`, and `referenceId` appended as URL parameters. For example, if the provided redirect_url is `http://www.example.com/order-complete`, a successful transaction redirects the customer to: `http://www.example.com/order-complete?checkoutId=xxxxxx&orderId=xxxxxx&referenceId=xxxxxx&transactionId=xxxxxx` If you do not provide a redirect URL, Square Checkout will display an order confirmation page on your behalf; however Square strongly recommends that you provide a redirect URL so you can verify the transaction results and finalize the order through your existing/normal confirmation workflow. Default: none; only exists if explicitly set. | [optional] +**redirect_url** | **String** | The URL to redirect to after checkout is completed with `checkoutId`, Square's `orderId`, `transactionId`, and `referenceId` appended as URL parameters. For example, if the provided redirect_url is `http://www.example.com/order-complete`, a successful transaction redirects the customer to: <pre><code>http://www.example.com/order-complete?checkoutId=xxxxxx&amp;orderId=xxxxxx&amp;referenceId=xxxxxx&amp;transactionId=xxxxxx</code></pre> If you do not provide a redirect URL, Square Checkout will display an order confirmation page on your behalf; however Square strongly recommends that you provide a redirect URL so you can verify the transaction results and finalize the order through your existing/normal confirmation workflow. Default: none; only exists if explicitly set. | [optional] **additional_recipients** | [**[ChargeRequestAdditionalRecipient]**](ChargeRequestAdditionalRecipient.md) | The basic primitive of multi-party transaction. The value is optional. The transaction facilitated by you can be split from here. If you provide this value, the `amount_money` value in your additional_recipients must not be more than 90% of the `total_money` calculated by Square for your order. The `location_id` must be the valid location of the app owner merchant. This field requires `PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS` OAuth permission. This field is currently not supported in sandbox. | [optional] **note** | **String** | An optional note to associate with the checkout object. This value cannot exceed 60 characters. | [optional] diff --git a/docs/CreateCustomerGroupRequest.md b/docs/CreateCustomerGroupRequest.md index 8232f5d..1a89587 100644 --- a/docs/CreateCustomerGroupRequest.md +++ b/docs/CreateCustomerGroupRequest.md @@ -1,7 +1,6 @@ # SquareConnect.CreateCustomerGroupRequest ### Description -**Note: This model is in beta.** Defines the body parameters that can be provided in a request to the [CreateCustomerGroup](#endpoint-createcustomegroup) endpoint. diff --git a/docs/CreateCustomerGroupResponse.md b/docs/CreateCustomerGroupResponse.md index 2d94ab7..08d4e55 100644 --- a/docs/CreateCustomerGroupResponse.md +++ b/docs/CreateCustomerGroupResponse.md @@ -1,7 +1,6 @@ # SquareConnect.CreateCustomerGroupResponse ### Description -**Note: This model is in beta.** Defines the fields that are included in the response body of a request to the [CreateCustomerGroup](#endpoint-createcustomergroup) endpoint. One of `errors` or `group` is present in a given response (never both). diff --git a/docs/CreateDisputeEvidenceTextRequest.md b/docs/CreateDisputeEvidenceTextRequest.md index 0b8a42b..dc6efa9 100644 --- a/docs/CreateDisputeEvidenceTextRequest.md +++ b/docs/CreateDisputeEvidenceTextRequest.md @@ -3,12 +3,12 @@ ### Description **Note: This model is in beta.** -Defines parameters for a CreateDisputeEvidenceText request. +Defines the parameters for a `CreateDisputeEvidenceText` request. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**idempotency_key** | **String** | Unique ID. For more information, see [Idempotency](https://developer.squareup.com/docs/docs/working-with-apis/idempotency). | +**idempotency_key** | **String** | The Unique ID. For more information, see [Idempotency](https://developer.squareup.com/docs/docs/working-with-apis/idempotency). | **evidence_type** | **String** | The type of evidence you are uploading. See [DisputeEvidenceType](#type-disputeevidencetype) for possible values | [optional] **evidence_text** | **String** | The evidence string. | diff --git a/docs/CreateDisputeEvidenceTextResponse.md b/docs/CreateDisputeEvidenceTextResponse.md index 83ead2d..bcefd9d 100644 --- a/docs/CreateDisputeEvidenceTextResponse.md +++ b/docs/CreateDisputeEvidenceTextResponse.md @@ -3,7 +3,7 @@ ### Description **Note: This model is in beta.** -Defines fields in a CreateDisputeEvidenceText response. +Defines the fields in a `CreateDisputeEvidenceText` response. ## Properties Name | Type | Description | Notes diff --git a/docs/Customer.md b/docs/Customer.md index 17a7761..adf20e2 100644 --- a/docs/Customer.md +++ b/docs/Customer.md @@ -24,7 +24,7 @@ Name | Type | Description | Notes **preferences** | [**CustomerPreferences**](CustomerPreferences.md) | Represents general customer preferences. | [optional] **groups** | [**[CustomerGroupInfo]**](CustomerGroupInfo.md) | The customer groups and segments the customer belongs to. This deprecated field has been replaced with the dedicated `group_ids` for customer groups and the dedicated `segment_ids` field for customer segments. You can retrieve information about a given customer group and segment respectively using the Customer Groups API and Customer Segments API. | [optional] [deprecated] **creation_source** | **String** | A creation source represents the method used to create the customer profile. See [CustomerCreationSource](#type-customercreationsource) for possible values | [optional] -**group_ids** | **[String]** | The IDs of customer groups the customer belongs to. | [optional] [beta] -**segment_ids** | **[String]** | The IDs of segments the customer belongs to. | [optional] [beta] +**group_ids** | **[String]** | The IDs of customer groups the customer belongs to. | [optional] +**segment_ids** | **[String]** | The IDs of segments the customer belongs to. | [optional] diff --git a/docs/CustomerGroupsApi.md b/docs/CustomerGroupsApi.md index bc7ad56..7af1b8f 100644 --- a/docs/CustomerGroupsApi.md +++ b/docs/CustomerGroupsApi.md @@ -13,7 +13,6 @@ Method | HTTP request | Description # **createCustomerGroup** -**Note: This endpoint is in beta.** > CreateCustomerGroupResponse createCustomerGroup(body) CreateCustomerGroup @@ -62,7 +61,6 @@ Name | Type | Description | Notes # **deleteCustomerGroup** -**Note: This endpoint is in beta.** > DeleteCustomerGroupResponse deleteCustomerGroup(groupId) DeleteCustomerGroup @@ -111,7 +109,6 @@ Name | Type | Description | Notes # **listCustomerGroups** -**Note: This endpoint is in beta.** > ListCustomerGroupsResponse listCustomerGroups(opts) ListCustomerGroups @@ -161,7 +158,6 @@ Name | Type | Description | Notes # **retrieveCustomerGroup** -**Note: This endpoint is in beta.** > RetrieveCustomerGroupResponse retrieveCustomerGroup(groupId) RetrieveCustomerGroup @@ -210,7 +206,6 @@ Name | Type | Description | Notes # **updateCustomerGroup** -**Note: This endpoint is in beta.** > UpdateCustomerGroupResponse updateCustomerGroup(groupId, body) UpdateCustomerGroup diff --git a/docs/CustomerSegmentsApi.md b/docs/CustomerSegmentsApi.md index f54a769..25fb01b 100644 --- a/docs/CustomerSegmentsApi.md +++ b/docs/CustomerSegmentsApi.md @@ -10,7 +10,6 @@ Method | HTTP request | Description # **listCustomerSegments** -**Note: This endpoint is in beta.** > ListCustomerSegmentsResponse listCustomerSegments(opts) ListCustomerSegments @@ -60,7 +59,6 @@ Name | Type | Description | Notes # **retrieveCustomerSegment** -**Note: This endpoint is in beta.** > RetrieveCustomerSegmentResponse retrieveCustomerSegment(segmentId) RetrieveCustomerSegment diff --git a/docs/CustomerTextFilter.md b/docs/CustomerTextFilter.md index df4e9f3..68321cc 100644 --- a/docs/CustomerTextFilter.md +++ b/docs/CustomerTextFilter.md @@ -1,7 +1,6 @@ # SquareConnect.CustomerTextFilter ### Description -**Note: This model is in beta.** A filter to select customers based on exact or fuzzy matching of customer attributes against a specified query. Depending on customer attributes, the filter can be case sensitive. This filter can be either exact or fuzzy. It cannot be both. diff --git a/docs/CustomersApi.md b/docs/CustomersApi.md index f7e214b..36323a6 100644 --- a/docs/CustomersApi.md +++ b/docs/CustomersApi.md @@ -18,7 +18,6 @@ Method | HTTP request | Description # **addGroupToCustomer** -**Note: This endpoint is in beta.** > AddGroupToCustomerResponse addGroupToCustomer(customerId, groupId) AddGroupToCustomer @@ -321,7 +320,6 @@ Name | Type | Description | Notes # **removeGroupFromCustomer** -**Note: This endpoint is in beta.** > RemoveGroupFromCustomerResponse removeGroupFromCustomer(customerId, groupId) RemoveGroupFromCustomer diff --git a/docs/DeleteCustomerGroupRequest.md b/docs/DeleteCustomerGroupRequest.md index d22db53..51b2342 100644 --- a/docs/DeleteCustomerGroupRequest.md +++ b/docs/DeleteCustomerGroupRequest.md @@ -1,7 +1,6 @@ # SquareConnect.DeleteCustomerGroupRequest ### Description -**Note: This model is in beta.** Defines the fields that can be provided in a request to the [DeleteCustomerGroup](#endpoint-deletecustomergroup) endpoint. diff --git a/docs/DeleteCustomerGroupResponse.md b/docs/DeleteCustomerGroupResponse.md index b0b4219..fa4fc61 100644 --- a/docs/DeleteCustomerGroupResponse.md +++ b/docs/DeleteCustomerGroupResponse.md @@ -1,7 +1,6 @@ # SquareConnect.DeleteCustomerGroupResponse ### Description -**Note: This model is in beta.** Defines the fields that are included in the response body of a request to the [DeleteCustomerGroup](#endpoint-deletecustomergroup) endpoint. diff --git a/docs/Dispute.md b/docs/Dispute.md index a3e7877..4096cd2 100644 --- a/docs/Dispute.md +++ b/docs/Dispute.md @@ -8,19 +8,19 @@ Represents a dispute a cardholder initiated with their bank. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**dispute_id** | **String** | Unique ID for this `Dispute`, generated by Square. | [optional] +**dispute_id** | **String** | The unique ID for this `Dispute`, generated by Square. | [optional] **amount_money** | [**Money**](Money.md) | The disputed amount. The amount can be less than the entire transaction amount. For example, a cardholder purchased multiple items, however initiated dispute only for some of the items. | [optional] -**reason** | **String** | The dispute reason why cardholder initiated dispute with their bank. See [DisputeReason](#type-disputereason) for possible values | [optional] +**reason** | **String** | The dispute reason why the cardholder initiated the dispute with their bank. See [DisputeReason](#type-disputereason) for possible values | [optional] **state** | **String** | The current state of this dispute. See [DisputeState](#type-disputestate) for possible values | [optional] **due_at** | **String** | The time when the next action is due, in RFC 3339 format. | [optional] **disputed_payment** | [**DisputedPayment**](DisputedPayment.md) | The payment challenged in this dispute. | [optional] **evidence_ids** | **[String]** | The IDs of the evidence associated with the dispute. | [optional] **card_brand** | **String** | The card brand used in the disputed payment. See [CardBrand](#type-cardbrand) for possible values | [optional] -**created_at** | **String** | Timestamp when the dispute was created, in RFC 3339 format. | [optional] -**updated_at** | **String** | Timestamp when dispute was last updated, in RFC 3339 format. | [optional] -**brand_dispute_id** | **String** | ID of the dispute in the card brand system, generated by the card brand. | [optional] -**reported_date** | **String** | Timestamp when the dispute was reported, in RFC 3339 format. | [optional] +**created_at** | **String** | The timestamp when the dispute was created, in RFC 3339 format. | [optional] +**updated_at** | **String** | The timestamp when the dispute was last updated, in RFC 3339 format. | [optional] +**brand_dispute_id** | **String** | The ID of the dispute in the card brand system, generated by the card brand. | [optional] +**reported_date** | **String** | The timestamp when the dispute was reported, in RFC 3339 format. | [optional] **version** | **Number** | The current version of the `Dispute`. | [optional] -**location_id** | **String** | The ID of location where dispute originated. | [optional] +**location_id** | **String** | The ID of the location where the dispute originated. | [optional] diff --git a/docs/DisputeEvidenceFile.md b/docs/DisputeEvidenceFile.md index 19d8fef..46607c1 100644 --- a/docs/DisputeEvidenceFile.md +++ b/docs/DisputeEvidenceFile.md @@ -9,6 +9,6 @@ A file to be uploaded as dispute evidence. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **filename** | **String** | The file name including the file extension. For example: \"receipt.tiff\". | [optional] -**filetype** | **String** | Dispute evidence files must one of application/pdf, image/heic, image/heif, image/jpeg, image/png, image/tiff formats. | [optional] +**filetype** | **String** | Dispute evidence files must be application/pdf, image/heic, image/heif, image/jpeg, image/png, or image/tiff formats. | [optional] diff --git a/docs/DisputesApi.md b/docs/DisputesApi.md index 5374bfa..ed7cdd8 100644 --- a/docs/DisputesApi.md +++ b/docs/DisputesApi.md @@ -21,7 +21,7 @@ Method | HTTP request | Description AcceptDispute -Accepts loss on a dispute. Square returns the disputed amount to the cardholder and updates the dispute state to ACCEPTED. Square debits the disputed amount from the seller’s Square account. If the Square account balance does not have sufficient funds, Square debits the associated bank account. +Accepts the loss on a dispute. Square returns the disputed amount to the cardholder and updates the dispute state to ACCEPTED. Square debits the disputed amount from the seller’s Square account. If the Square account does not have sufficient funds, Square debits the associated bank account. ### Example ```javascript @@ -34,7 +34,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN'; var apiInstance = new SquareConnect.DisputesApi(); -var disputeId = SquareConnect.DisputesApi.constructFromObject({}); // String | ID of the dispute you want to accept. +var disputeId = SquareConnect.DisputesApi.constructFromObject({}); // String | The ID of the dispute you want to accept. apiInstance.acceptDispute(disputeId).then(function(data) { console.log('API called successfully. Returned data: ' + data); @@ -48,7 +48,7 @@ apiInstance.acceptDispute(disputeId).then(function(data) { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **disputeId** | **String**| ID of the dispute you want to accept. | + **disputeId** | **String**| The ID of the dispute you want to accept. | ### Return type @@ -185,9 +185,9 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN'; var apiInstance = new SquareConnect.DisputesApi(); var opts = { - 'cursor': SquareConnect.DisputesApi.constructFromObject({});, // 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. For more information, see [Paginating](https://developer.squareup.com/docs/basics/api101/pagination). - 'states': SquareConnect.DisputesApi.constructFromObject({});, // String | The dispute states to filter the result. If not specified, the endpoint returns all open disputes (dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`). - 'locationId': SquareConnect.DisputesApi.constructFromObject({}); // String | The ID of the location for which to return a list of disputes. If not specified, the endpoint returns all open disputes (dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`) associated with all locations. + 'cursor': SquareConnect.DisputesApi.constructFromObject({});, // String | A pagination cursor returned by a previous call to this endpoint. Provide this cursor to retrieve the next set of results for the original query. For more information, see [Pagination](https://developer.squareup.com/docs/basics/api101/pagination). + 'states': SquareConnect.DisputesApi.constructFromObject({});, // String | The dispute states to filter the result. If not specified, the endpoint returns all open disputes (the dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`). + 'locationId': SquareConnect.DisputesApi.constructFromObject({}); // String | The ID of the location for which to return a list of disputes. If not specified, the endpoint returns all open disputes (the dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`) associated with all locations. }; apiInstance.listDisputes(opts).then(function(data) { console.log('API called successfully. Returned data: ' + data); @@ -201,9 +201,9 @@ apiInstance.listDisputes(opts).then(function(data) { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **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. For more information, see [Paginating](https://developer.squareup.com/docs/basics/api101/pagination). | [optional] - **states** | **String**| The dispute states to filter the result. If not specified, the endpoint returns all open disputes (dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`). | [optional] - **locationId** | **String**| The ID of the location for which to return a list of disputes. If not specified, the endpoint returns all open disputes (dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`) associated with all locations. | [optional] + **cursor** | **String**| A pagination cursor returned by a previous call to this endpoint. Provide this cursor to retrieve the next set of results for the original query. For more information, see [Pagination](https://developer.squareup.com/docs/basics/api101/pagination). | [optional] + **states** | **String**| The dispute states to filter the result. If not specified, the endpoint returns all open disputes (the dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`). | [optional] + **locationId** | **String**| The ID of the location for which to return a list of disputes. If not specified, the endpoint returns all open disputes (the dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`) associated with all locations. | [optional] ### Return type @@ -277,7 +277,7 @@ Name | Type | Description | Notes RetrieveDispute -Returns details of a specific dispute. +Returns details about a specific dispute. ### Example ```javascript @@ -378,7 +378,7 @@ Name | Type | Description | Notes SubmitEvidence -Submits evidence to the cardholder's bank. Before submitting evidence, Square compiles all available evidence. This includes evidence uploaded using the [CreateDisputeEvidenceFile](/reference/square/disputes-api/create-dispute-evidence-file) and [CreateDisputeEvidenceText](/reference/square/disputes-api/create-dispute-evidence-text) endpoints, and evidence automatically provided by Square, when available. +Submits evidence to the cardholder's bank. Before submitting evidence, Square compiles all available evidence. This includes evidence uploaded using the [CreateDisputeEvidenceFile](/reference/square/disputes-api/create-dispute-evidence-file) and [CreateDisputeEvidenceText](/reference/square/disputes-api/create-dispute-evidence-text) endpoints and evidence automatically provided by Square, when available. ### Example ```javascript @@ -391,7 +391,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN'; var apiInstance = new SquareConnect.DisputesApi(); -var disputeId = SquareConnect.DisputesApi.constructFromObject({}); // String | The ID of the dispute you want to submit evidence for. +var disputeId = SquareConnect.DisputesApi.constructFromObject({}); // String | The ID of the dispute that you want to submit evidence for. apiInstance.submitEvidence(disputeId).then(function(data) { console.log('API called successfully. Returned data: ' + data); @@ -405,7 +405,7 @@ apiInstance.submitEvidence(disputeId).then(function(data) { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **disputeId** | **String**| The ID of the dispute you want to submit evidence for. | + **disputeId** | **String**| The ID of the dispute that you want to submit evidence for. | ### Return type diff --git a/docs/Error.md b/docs/Error.md index 31411e2..f54ed4b 100644 --- a/docs/Error.md +++ b/docs/Error.md @@ -7,8 +7,8 @@ Represents an error encountered during a request to the Connect API. See [Handl ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**category** | **String** | The high-level category for the error. See `ErrorCategory` for possible values. See [ErrorCategory](#type-errorcategory) for possible values | -**code** | **String** | The specific code of the error. See `ErrorCode` for possible values See [ErrorCode](#type-errorcode) for possible values | +**category** | **String** | The high-level category for the error. See [ErrorCategory](#type-errorcategory) for possible values | +**code** | **String** | The specific code of the error. See [ErrorCode](#type-errorcode) for possible values | **detail** | **String** | A human-readable description of the error for debugging purposes. | [optional] **field** | **String** | The name of the field provided in the original request (if any) that the error pertains to. | [optional] diff --git a/docs/ErrorCode.md b/docs/ErrorCode.md index ccbcb1c..b14a94d 100644 --- a/docs/ErrorCode.md +++ b/docs/ErrorCode.md @@ -187,6 +187,8 @@ * `SOURCE_EXPIRED` (value: `"SOURCE_EXPIRED"`) +* `UNSUPPORTED_LOYALTY_REWARD_TIER` (value: `"UNSUPPORTED_LOYALTY_REWARD_TIER"`) + * `LOCATION_MISMATCH` (value: `"LOCATION_MISMATCH"`) * `IDEMPOTENCY_KEY_REUSED` (value: `"IDEMPOTENCY_KEY_REUSED"`) diff --git a/docs/Invoice.md b/docs/Invoice.md index 3cf5e61..84f7e71 100644 --- a/docs/Invoice.md +++ b/docs/Invoice.md @@ -13,16 +13,17 @@ Name | Type | Description | Notes **location_id** | **String** | The ID of the location that this invoice is associated with. This field is required when creating an invoice. | [optional] **order_id** | **String** | The ID of the `order` for which the invoice is created. This order must be in the `OPEN` state and must belong to the `location_id` specified for this invoice. This field is required when creating an invoice. | [optional] **primary_recipient** | [**InvoiceRecipient**](InvoiceRecipient.md) | The customer who gets the invoice. Square uses the contact information to deliver the invoice. This field is required to publish an invoice. | [optional] -**payment_requests** | [**[InvoicePaymentRequest]**](InvoicePaymentRequest.md) | An array of `InvoicePaymentRequest` objects. Each object defines a payment request in an invoice payment schedule. It provides information such as when and how Square processes payments. You must specify at least one payment request. For invoices with multiple payment requests, you can specify a maximum of 12 `INSTALLMENT` request types. All of the payment requests must specify the same `request_method`. This field is required when creating an invoice. | [optional] +**payment_requests** | [**[InvoicePaymentRequest]**](InvoicePaymentRequest.md) | The payment schedule for the invoice, represented by one or more payment requests that define payment settings, such as amount due and due date. You can specify a maximum of 13 payment requests, with up to 12 `INSTALLMENT` request types. For more information, see [Payment requests](https://developer.squareup.com/docs/docs/invoices-api/overview#payment-requests). This field is required when creating an invoice. It must contain at least one payment request. | [optional] **invoice_number** | **String** | A user-friendly invoice number. The value is unique within a location. If not provided when creating an invoice, Square assigns a value. It increments from 1 and padded with zeros making it 7 characters long for example, 0000001, 0000002. | [optional] **title** | **String** | The title of the invoice. | [optional] -**description** | **String** | The description of the invoice. This is visible the customer receiving the invoice. | [optional] -**scheduled_at** | **String** | The timestamp when the invoice is scheduled for processing, in RFC 3339 format. At the specified time, depending on the `request_method`, Square sends the invoice to the customer's email address or charge the customer's card on file. If the field is not set, Square processes the invoice immediately after publication. | [optional] +**description** | **String** | The description of the invoice. This is visible to the customer receiving the invoice. | [optional] +**scheduled_at** | **String** | The timestamp when the invoice is scheduled for processing, in RFC 3339 format. After the invoice is published, Square processes the invoice on the specified date, based on the settings for the invoice payment requests. If the field is not set, Square processes the invoice immediately after it is published. | [optional] **public_url** | **String** | The URL of the Square-hosted invoice page. After you publish the invoice using the `PublishInvoice` endpoint, Square hosts the invoice page and returns the page URL in the response. | [optional] **next_payment_amount_money** | [**Money**](Money.md) | The current amount due for the invoice. In addition to the amount due on the next payment request, this also includes any overdue payment amounts. | [optional] **status** | **String** | The status of the invoice. See [InvoiceStatus](#type-invoicestatus) for possible values | [optional] **timezone** | **String** | The time zone of the date values (for example, `due_date`) specified in the invoice. | [optional] **created_at** | **String** | The timestamp when the invoice was created, in RFC 3339 format. | [optional] **updated_at** | **String** | The timestamp when the invoice was last updated, in RFC 3339 format. | [optional] +**custom_fields** | [**[InvoiceCustomField]**](InvoiceCustomField.md) | Additional seller-defined fields to render on the invoice. These fields are visible to sellers and buyers on the Square-hosted invoice page and in emailed or PDF copies of invoices. For more information, see [Custom fields](https://developer.squareup.com/docs/docs/invoices-api/overview#custom-fields). Max: 2 custom fields | [optional] diff --git a/docs/InvoiceCustomField.md b/docs/InvoiceCustomField.md new file mode 100644 index 0000000..ca28801 --- /dev/null +++ b/docs/InvoiceCustomField.md @@ -0,0 +1,15 @@ +# SquareConnect.InvoiceCustomField + +### Description +**Note: This model is in beta.** + +An additional seller-defined and customer-facing field to include on the invoice. For more information, see [Custom fields](/docs/invoices-api/overview#custom-fields). + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**label** | **String** | The label or title of the custom field. This field is required for a custom field. | [optional] +**value** | **String** | The text of the custom field. If omitted, only the label is rendered. | [optional] +**placement** | **String** | The location of the custom field on the invoice. This field is required for a custom field. See [InvoiceCustomFieldPlacement](#type-invoicecustomfieldplacement) for possible values | [optional] + + diff --git a/docs/InvoiceCustomFieldPlacement.md b/docs/InvoiceCustomFieldPlacement.md new file mode 100644 index 0000000..d9df315 --- /dev/null +++ b/docs/InvoiceCustomFieldPlacement.md @@ -0,0 +1,10 @@ +# SquareConnect.InvoiceCustomFieldPlacement + +## Enum + + +* `ABOVE_LINE_ITEMS` (value: `"ABOVE_LINE_ITEMS"`) + +* `BELOW_LINE_ITEMS` (value: `"BELOW_LINE_ITEMS"`) + + diff --git a/docs/InvoicePaymentRequest.md b/docs/InvoicePaymentRequest.md index 8262b18..995afe9 100644 --- a/docs/InvoicePaymentRequest.md +++ b/docs/InvoicePaymentRequest.md @@ -3,7 +3,7 @@ ### Description **Note: This model is in beta.** -Describes a specific payment request in an invoice. Invoices that contain multiple payment requests can specify a maximum of 12 `INSTALLMENT` request types. All of the payment requests must specify the same `request_method`. For more information, see [Payment requests](/docs/invoices-api/overview#payment-requests). +Represents a payment request for an [invoice](#type-Invoice). Invoices can specify a maximum of 13 payment requests, with up to 12 `INSTALLMENT` request types. For more information, see [Payment requests](/docs/invoices-api/overview#payment-requests). ## Properties Name | Type | Description | Notes @@ -15,9 +15,9 @@ Name | Type | Description | Notes **fixed_amount_requested_money** | [**Money**](Money.md) | If the payment request specifies `DEPOSIT` or `INSTALLMENT` as the `request_type`, this indicates the request amount. You cannot specify this when `request_type` is `BALANCE` or when the payment request includes the `percentage_requested` field. | [optional] **percentage_requested** | **String** | Specifies the amount for the payment request in percentage: - When the payment `request_type` is `DEPOSIT`, it is the percentage of the order total amount. - When the payment `request_type` is `INSTALLMENT`, it is the percentage of the order total less the deposit, if requested. The sum of the `percentage_requested` in all installment payment requests must be equal to 100. You cannot specify this when the payment `request_type` is `BALANCE` or when the payment request specifies the `fixed_amount_requested_money` field. | [optional] **tipping_enabled** | **Boolean** | If set to true, the Square-hosted invoice page (the `public_url` field of the invoice) provides a place for the customer to pay a tip. This field is allowed only on the final payment request and the payment `request_type` must be `BALANCE` or `INSTALLMENT`. | [optional] -**card_id** | **String** | If the request method is `CHARGE_CARD_ON_FILE`, this field provides the card to charge. | [optional] +**card_id** | **String** | The ID of the card on file to charge for the payment request. To get the customer’s card on file, use the `customer_id` of the invoice recipient to call `RetrieveCustomer` in the Customers API. Then, get the ID of the target card from the `cards` field in the response. | [optional] **reminders** | [**[InvoicePaymentReminder]**](InvoicePaymentReminder.md) | A list of one or more reminders to send for the payment request. | [optional] -**computed_amount_money** | [**Money**](Money.md) | The payment request amount, computed using the order amount and information from the various payment request fields (`invoice_request_type`, `fixed_amount_requested_money`, and `percentage_requested`). | [optional] +**computed_amount_money** | [**Money**](Money.md) | The amount of the payment request, computed using the order amount and information from the various payment request fields (`request_type`, `fixed_amount_requested_money`, and `percentage_requested`). | [optional] **total_completed_amount_money** | [**Money**](Money.md) | The amount of money already paid for the specific payment request. This amount might include a rounding adjustment if the most recent invoice payment was in cash in a currency that rounds cash payments (such as, `CAD` or `AUD`). | [optional] **rounding_adjustment_included_money** | [**Money**](Money.md) | If the most recent payment was a cash payment in a currency that rounds cash payments (such as, `CAD` or `AUD`) and the payment is rounded from `computed_amount_money` in the payment request, then this field specifies the rounding adjustment applied. This amount might be negative. | [optional] diff --git a/docs/InvoiceRequestMethod.md b/docs/InvoiceRequestMethod.md index 510478f..97e2f78 100644 --- a/docs/InvoiceRequestMethod.md +++ b/docs/InvoiceRequestMethod.md @@ -9,4 +9,6 @@ * `SHARE_MANUALLY` (value: `"SHARE_MANUALLY"`) +* `CHARGE_BANK_ON_FILE` (value: `"CHARGE_BANK_ON_FILE"`) + diff --git a/docs/InvoicesApi.md b/docs/InvoicesApi.md index 0643479..67b2ec0 100644 --- a/docs/InvoicesApi.md +++ b/docs/InvoicesApi.md @@ -122,7 +122,7 @@ Name | Type | Description | Notes DeleteInvoice -Deletes the specified invoice. When an invoice is deleted, the associated Order status changes to CANCELED. You can only delete a draft invoice (you cannot delete an invoice scheduled for publication, or a published invoice). +Deletes the specified invoice. When an invoice is deleted, the associated Order status changes to CANCELED. You can only delete a draft invoice (you cannot delete a published invoice, including one that is scheduled for processing). ### Example ```javascript @@ -380,7 +380,7 @@ Name | Type | Description | Notes UpdateInvoice -Updates an invoice by modifying field values, clearing field values, or both as specified in the request. There are no restrictions to updating an invoice in a draft state. However, there are guidelines for updating a published invoice. +Updates an invoice by modifying fields, clearing fields, or both. For most updates, you can use a sparse `Invoice` object to add fields or change values, and use the `fields_to_clear` field to specify fields to clear. However, some restrictions apply. For example, you cannot change the `order_id` or `location_id` field, and you must provide the complete `custom_fields` list to update a custom field. Published invoices have additional restrictions. ### Example ```javascript @@ -393,7 +393,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN'; var apiInstance = new SquareConnect.InvoicesApi(); -var invoiceId = SquareConnect.InvoicesApi.constructFromObject({}); // String | The id of the invoice to update. +var invoiceId = SquareConnect.InvoicesApi.constructFromObject({}); // String | The ID of the invoice to update. var body = SquareConnect.InvoicesApi.constructFromObject({}); // UpdateInvoiceRequest | An object containing the fields to POST for the request. See the corresponding object definition for field details. @@ -409,7 +409,7 @@ apiInstance.updateInvoice(invoiceId, body).then(function(data) { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **invoiceId** | **String**| The id of the invoice to update. | + **invoiceId** | **String**| The ID of the invoice to update. | **body** | [**UpdateInvoiceRequest**](UpdateInvoiceRequest.md)| An object containing the fields to POST for the request. See the corresponding object definition for field details. | ### Return type diff --git a/docs/ListCatalogRequest.md b/docs/ListCatalogRequest.md index d38cdca..ea3c381 100644 --- a/docs/ListCatalogRequest.md +++ b/docs/ListCatalogRequest.md @@ -9,5 +9,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **cursor** | **String** | The pagination cursor returned in the previous response. Leave unset for an initial request. See [Pagination](https://developer.squareup.com/docs/basics/api101/pagination) for more information. | [optional] **types** | **String** | An optional case-insensitive, comma-separated list of object types to retrieve, for example `ITEM,ITEM_VARIATION,CATEGORY,IMAGE`. The legal values are taken from the CatalogObjectType enum: `ITEM`, `ITEM_VARIATION`, `CATEGORY`, `DISCOUNT`, `TAX`, `MODIFIER`, `MODIFIER_LIST`, or `IMAGE`. | [optional] +**catalog_version** | **Number** | The specific version of the catalog objects to be included in the response. This allows you to retrieve historical versions of objects. The specified version value is matched against the `CatalogObject`s' `version` attribute. | [optional] [beta] diff --git a/docs/ListCustomerGroupsRequest.md b/docs/ListCustomerGroupsRequest.md index 978b376..340fc0a 100644 --- a/docs/ListCustomerGroupsRequest.md +++ b/docs/ListCustomerGroupsRequest.md @@ -1,7 +1,6 @@ # SquareConnect.ListCustomerGroupsRequest ### Description -**Note: This model is in beta.** Defines the query parameters that can be provided in a request to the [ListCustomerGroups](#endpoint-listcustomergroups) endpoint. diff --git a/docs/ListCustomerGroupsResponse.md b/docs/ListCustomerGroupsResponse.md index 21579e4..745e8e5 100644 --- a/docs/ListCustomerGroupsResponse.md +++ b/docs/ListCustomerGroupsResponse.md @@ -1,7 +1,6 @@ # SquareConnect.ListCustomerGroupsResponse ### Description -**Note: This model is in beta.** Defines the fields that are included in the response body of a request to the [ListCustomerGroups](#endpoint-listcustomergroups) endpoint. One of `errors` or `groups` is present in a given response (never both). diff --git a/docs/ListCustomerSegmentsRequest.md b/docs/ListCustomerSegmentsRequest.md index 60d3190..917f8a5 100644 --- a/docs/ListCustomerSegmentsRequest.md +++ b/docs/ListCustomerSegmentsRequest.md @@ -1,7 +1,6 @@ # SquareConnect.ListCustomerSegmentsRequest ### Description -**Note: This model is in beta.** Defines the valid parameters for requests to __ListCustomerSegments__. diff --git a/docs/ListCustomerSegmentsResponse.md b/docs/ListCustomerSegmentsResponse.md index 5103bdb..83e1b34 100644 --- a/docs/ListCustomerSegmentsResponse.md +++ b/docs/ListCustomerSegmentsResponse.md @@ -1,7 +1,6 @@ # SquareConnect.ListCustomerSegmentsResponse ### Description -**Note: This model is in beta.** Defines the fields included in the response body for requests to __ListCustomerSegments__. One of `errors` or `segments` is present in a given response (never both). diff --git a/docs/ListDisputeEvidenceRequest.md b/docs/ListDisputeEvidenceRequest.md index 9dbf08a..f7ea9c1 100644 --- a/docs/ListDisputeEvidenceRequest.md +++ b/docs/ListDisputeEvidenceRequest.md @@ -3,7 +3,7 @@ ### Description **Note: This model is in beta.** -Defines parameters for a ListDisputeEvidence request. +Defines the parameters for a `ListDisputeEvidence` request. ## Properties Name | Type | Description | Notes diff --git a/docs/ListDisputeEvidenceResponse.md b/docs/ListDisputeEvidenceResponse.md index f64e28f..e4eacca 100644 --- a/docs/ListDisputeEvidenceResponse.md +++ b/docs/ListDisputeEvidenceResponse.md @@ -3,12 +3,12 @@ ### Description **Note: This model is in beta.** -Defines fields in a ListDisputeEvidence response. +Defines the fields in a `ListDisputeEvidence` response. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **evidence** | [**[DisputeEvidence]**](DisputeEvidence.md) | The list of evidence previously uploaded to the specified dispute. | [optional] -**errors** | [**[Error]**](Error.md) | Information on errors encountered during the request. | [optional] +**errors** | [**[Error]**](Error.md) | Information about errors encountered during the request. | [optional] diff --git a/docs/ListDisputesRequest.md b/docs/ListDisputesRequest.md index 05883ec..cd4443c 100644 --- a/docs/ListDisputesRequest.md +++ b/docs/ListDisputesRequest.md @@ -3,13 +3,13 @@ ### Description **Note: This model is in beta.** -Defines request parameters for the ListDisputes endpoint. +Defines the request parameters for the `ListDisputes` endpoint. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**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. For more information, see [Paginating](https://developer.squareup.com/docs/basics/api101/pagination). | [optional] -**states** | **[String]** | The dispute states to filter the result. If not specified, the endpoint returns all open disputes (dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`). See [DisputeState](#type-disputestate) for possible values | [optional] -**location_id** | **String** | The ID of the location for which to return a list of disputes. If not specified, the endpoint returns all open disputes (dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`) associated with all locations. | [optional] +**cursor** | **String** | A pagination cursor returned by a previous call to this endpoint. Provide this cursor to retrieve the next set of results for the original query. For more information, see [Pagination](https://developer.squareup.com/docs/basics/api101/pagination). | [optional] +**states** | **[String]** | The dispute states to filter the result. If not specified, the endpoint returns all open disputes (the dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`). See [DisputeState](#type-disputestate) for possible values | [optional] +**location_id** | **String** | The ID of the location for which to return a list of disputes. If not specified, the endpoint returns all open disputes (the dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`) associated with all locations. | [optional] diff --git a/docs/ListDisputesResponse.md b/docs/ListDisputesResponse.md index 98aaaba..bf346fe 100644 --- a/docs/ListDisputesResponse.md +++ b/docs/ListDisputesResponse.md @@ -3,13 +3,13 @@ ### Description **Note: This model is in beta.** -Defines fields in a ListDisputes response. +Defines fields in a `ListDisputes` response. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**errors** | [**[Error]**](Error.md) | Information on errors encountered during the request. | [optional] -**disputes** | [**[Dispute]**](Dispute.md) | The list of Disputes. | [optional] -**cursor** | **String** | The pagination cursor to be used in a subsequent request. If unset, this is the final response. For more information, see [Paginating](https://developer.squareup.com/docs/basics/api101/pagination). | [optional] +**errors** | [**[Error]**](Error.md) | Information about errors encountered during the request. | [optional] +**disputes** | [**[Dispute]**](Dispute.md) | The list of disputes. | [optional] +**cursor** | **String** | The pagination cursor to be used in a subsequent request. If unset, this is the final response. For more information, see [Pagination](https://developer.squareup.com/docs/basics/api101/pagination). | [optional] diff --git a/docs/LoyaltyProgramRewardDefinition.md b/docs/LoyaltyProgramRewardDefinition.md index 951e4bb..0603d63 100644 --- a/docs/LoyaltyProgramRewardDefinition.md +++ b/docs/LoyaltyProgramRewardDefinition.md @@ -3,16 +3,16 @@ ### Description **Note: This model is in beta.** -Provides details about the loyalty program reward tier definition. +Provides details about the reward tier discount. DEPRECATED at version 2020-12-16. Discount details are now defined using a catalog pricing rule and other catalog objects. For more information, see [Get discount details for the reward](/docs/loyalty-api/overview#get-discount-details). ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**scope** | **String** | Indicates the scope of the reward tier. See [LoyaltyProgramRewardDefinitionScope](#type-loyaltyprogramrewarddefinitionscope) for possible values | -**discount_type** | **String** | The type of discount the reward tier offers. See [LoyaltyProgramRewardDefinitionType](#type-loyaltyprogramrewarddefinitiontype) for possible values | -**percentage_discount** | **String** | Present if `discount_type` is `FIXED_PERCENTAGE`. For example, a 7.25% off discount will be represented as \"7.25\". | [optional] -**catalog_object_ids** | **[String]** | A list of `catalog object` ids to which this reward can be applied. They are either all item-variation ids or category ids, depending on the `type` field. | [optional] -**fixed_discount_money** | [**Money**](Money.md) | Present if `discount_type` is `FIXED_AMOUNT`. For example, $5 off. | [optional] -**max_discount_money** | [**Money**](Money.md) | When `discount_type` is `FIXED_PERCENTAGE`, the maximum discount amount that can be applied. | [optional] +**scope** | **String** | Indicates the scope of the reward tier. DEPRECATED at version 2020-12-16. You can find this information in the `discount_target_scope` field of the `PRICING_RULE` catalog object and the `product_set_data` field of the `PRODUCT_SET` catalog object referenced by the pricing rule. For `ORDER` scopes, the target scope is `WHOLE_PURCHASE` and `all_products` is true. For `ITEM_VARIATION` and `CATEGORY` scopes, the target scope is `LINE_ITEM` and `product_ids_any` is a list of catalog object IDs of the given type. See [LoyaltyProgramRewardDefinitionScope](#type-loyaltyprogramrewarddefinitionscope) for possible values | +**discount_type** | **String** | The type of discount the reward tier offers. DEPRECATED at version 2020-12-16. You can find this information in the `discount_data.discount_type` field of the `DISCOUNT` catalog object referenced by the pricing rule. See [LoyaltyProgramRewardDefinitionType](#type-loyaltyprogramrewarddefinitiontype) for possible values | +**percentage_discount** | **String** | The fixed percentage of the discount. Present if `discount_type` is `FIXED_PERCENTAGE`. For example, a 7.25% off discount will be represented as \"7.25\". DEPRECATED at version 2020-12-16. You can find this information in the `discount_data.percentage` field of the `DISCOUNT` catalog object referenced by the pricing rule. | [optional] +**catalog_object_ids** | **[String]** | The list of catalog objects to which this reward can be applied. They are either all item-variation ids or category ids, depending on the `type` field. DEPRECATED at version 2020-12-16. You can find this information in the `product_set_data.product_ids_any` field of the `PRODUCT_SET` catalog object referenced by the pricing rule. | [optional] +**fixed_discount_money** | [**Money**](Money.md) | The amount of the discount. Present if `discount_type` is `FIXED_AMOUNT`. For example, $5 off. DEPRECATED at version 2020-12-16. You can find this information in the `discount_data.amount_money` field of the `DISCOUNT` catalog object referenced by the pricing rule. | [optional] +**max_discount_money** | [**Money**](Money.md) | When `discount_type` is `FIXED_PERCENTAGE`, the maximum discount amount that can be applied. DEPRECATED at version 2020-12-16. You can find this information in the `discount_data.maximum_amount_money` field of the `DISCOUNT` catalog object referenced by the the pricing rule. | [optional] diff --git a/docs/LoyaltyProgramRewardTier.md b/docs/LoyaltyProgramRewardTier.md index 2e39c79..69fc947 100644 --- a/docs/LoyaltyProgramRewardTier.md +++ b/docs/LoyaltyProgramRewardTier.md @@ -11,7 +11,8 @@ Name | Type | Description | Notes **id** | **String** | The Square-assigned ID of the reward tier. | **points** | **Number** | The points exchanged for the reward tier. | **name** | **String** | The name of the reward tier. | -**definition** | [**LoyaltyProgramRewardDefinition**](LoyaltyProgramRewardDefinition.md) | Provides details about the reward tier definition. | +**definition** | [**LoyaltyProgramRewardDefinition**](LoyaltyProgramRewardDefinition.md) | Provides details about the reward tier definition. DEPRECATED at version 2020-12-16. Replaced by the `pricing_rule_reference` field. | **created_at** | **String** | The timestamp when the reward tier was created, in RFC 3339 format. | +**pricing_rule_reference** | [**CatalogObjectReference**](CatalogObjectReference.md) | A reference to the specific version of a `PRICING_RULE` catalog object that contains information about the reward tier discount. Use `object_id` and `catalog_version` with the `RetrieveCatalogObject` endpoint to get discount details. Make sure to set `include_related_objects` to true in the request to retrieve all catalog objects that define the discount. For more information, see [Get discount details for the reward](https://developer.squareup.com/docs/docs/loyalty-api/overview#get-discount-details). | [optional] diff --git a/docs/OrderLineItem.md b/docs/OrderLineItem.md index 11a659c..3e417ba 100644 --- a/docs/OrderLineItem.md +++ b/docs/OrderLineItem.md @@ -24,5 +24,6 @@ Name | Type | Description | Notes **total_tax_money** | [**Money**](Money.md) | The total tax amount of money to collect for the line item. | [optional] **total_discount_money** | [**Money**](Money.md) | The total discount amount of money to collect for the line item. | [optional] **total_money** | [**Money**](Money.md) | The total amount of money to collect for this line item. | [optional] +**pricing_blocklists** | [**OrderLineItemPricingBlocklists**](OrderLineItemPricingBlocklists.md) | Describes pricing adjustments that are blocked from manual and automatic application to a line item. For more information, see [Apply Taxes and Discounts](https://developer.squareup.com/docs/docs/orders-api/apply-taxes-and-discounts). | [optional] diff --git a/docs/OrderLineItemPricingBlocklists.md b/docs/OrderLineItemPricingBlocklists.md new file mode 100644 index 0000000..3bfca81 --- /dev/null +++ b/docs/OrderLineItemPricingBlocklists.md @@ -0,0 +1,14 @@ +# SquareConnect.OrderLineItemPricingBlocklists + +### Description +**Note: This model is in beta.** + +Describes pricing adjustments that are blocked from manual and automatic application to a line item. For more information, see [Apply Taxes and Discounts](/docs/orders-api/apply-taxes-and-discounts). + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**blocked_discounts** | [**[OrderLineItemPricingBlocklistsBlockedDiscount]**](OrderLineItemPricingBlocklistsBlockedDiscount.md) | A list of discounts blocked from applying to the line item. Discounts can be blocked by the `discount_uid` (for ad-hoc discounts) or the `discount_catalog_object_id` (for catalog discounts). | [optional] +**blocked_taxes** | [**[OrderLineItemPricingBlocklistsBlockedTax]**](OrderLineItemPricingBlocklistsBlockedTax.md) | A list of taxes blocked from applying to the line item. Taxes can be blocked by the `tax_uid` (for ad-hoc taxes) or the `tax_catalog_object_id` (for catalog taxes). | [optional] + + diff --git a/docs/OrderLineItemPricingBlocklistsBlockedDiscount.md b/docs/OrderLineItemPricingBlocklistsBlockedDiscount.md new file mode 100644 index 0000000..2749fb9 --- /dev/null +++ b/docs/OrderLineItemPricingBlocklistsBlockedDiscount.md @@ -0,0 +1,15 @@ +# SquareConnect.OrderLineItemPricingBlocklistsBlockedDiscount + +### Description +**Note: This model is in beta.** + +A discount to block from applying to a line item. The discount must be identified by either `discount_uid` or `discount_catalog_object_id`, but not both. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**uid** | **String** | Unique ID of the `BlockedDiscount` within the order. | [optional] +**discount_uid** | **String** | The `uid` of the discount that should be blocked. Use this field to block ad-hoc discounts. For catalog discounts use the `discount_catalog_object_id` field. | [optional] +**discount_catalog_object_id** | **String** | The `catalog_object_id` of the discount that should be blocked. Use this field to block catalog discounts. For ad-hoc discounts use the `discount_uid` field. | [optional] + + diff --git a/docs/OrderLineItemPricingBlocklistsBlockedTax.md b/docs/OrderLineItemPricingBlocklistsBlockedTax.md new file mode 100644 index 0000000..bb304cd --- /dev/null +++ b/docs/OrderLineItemPricingBlocklistsBlockedTax.md @@ -0,0 +1,15 @@ +# SquareConnect.OrderLineItemPricingBlocklistsBlockedTax + +### Description +**Note: This model is in beta.** + +A tax to block from applying to a line item. The tax must be identified by either `tax_uid` or `tax_catalog_object_id`, but not both. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**uid** | **String** | Unique ID of the `BlockedTax` within the order. | [optional] +**tax_uid** | **String** | The `uid` of the tax that should be blocked. Use this field to block ad-hoc taxes. For catalog taxes use the `tax_catalog_object_id` field. | [optional] +**tax_catalog_object_id** | **String** | The `catalog_object_id` of the tax that should be blocked. Use this field to block catalog taxes. For ad-hoc taxes use the `tax_uid` field. | [optional] + + diff --git a/docs/OrderLineItemTax.md b/docs/OrderLineItemTax.md index 4685bd3..7edd467 100644 --- a/docs/OrderLineItemTax.md +++ b/docs/OrderLineItemTax.md @@ -15,5 +15,6 @@ Name | Type | Description | Notes **metadata** | **{String: String}** | Application-defined data attached to this tax. Metadata fields are intended to store descriptive references or associations with an entity in another system or store brief information about the object. Square does not process this field; it only stores and returns it in relevant API calls. Do not use metadata to store any sensitive information (personally identifiable information, card details, etc.). Keys written by applications must be 60 characters or less and must be in the character set `[a-zA-Z0-9_-]`. Entries may also include metadata generated by Square. These keys are prefixed with a namespace, separated from the key with a ':' character. Values have a max length of 255 characters. An application may have up to 10 entries per metadata field. Entries written by applications are private and can only be read or modified by the same application. See [Metadata](https://developer.squareup.com/docs/build-basics/metadata) for more information. | [optional] [beta] **applied_money** | [**Money**](Money.md) | The amount of the money applied by the tax in the order. | [optional] **scope** | **String** | Indicates the level at which the tax applies. For `ORDER` scoped taxes, Square generates references in `applied_taxes` on all order line items that do not have them. For `LINE_ITEM` scoped taxes, the tax will only apply to line items with references in their `applied_taxes` field. This field is immutable. To change the scope, you must delete the tax and re-add it as a new tax. See [OrderLineItemTaxScope](#type-orderlineitemtaxscope) for possible values | [optional] +**auto_applied** | **Boolean** | Determines whether the tax was automatically applied to the order based on the catalog configuration. For an example, see [Automatically Apply Taxes to an Order](https://developer.squareup.com/docs/docs/orders-api/apply-taxes-and-discounts/auto-apply-taxes). | [optional] [beta] diff --git a/docs/OrderPricingOptions.md b/docs/OrderPricingOptions.md index 352a994..013f1ce 100644 --- a/docs/OrderPricingOptions.md +++ b/docs/OrderPricingOptions.md @@ -7,6 +7,7 @@ Pricing options for an order. The options affect how the order's price is calcul ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**auto_apply_discounts** | **Boolean** | The option to determine whether or not pricing rule-based discounts are automatically applied to an order. | [optional] +**auto_apply_discounts** | **Boolean** | The option to determine whether pricing rule-based discounts are automatically applied to an order. | [optional] +**auto_apply_taxes** | **Boolean** | The option to determine whether rule-based taxes are automatically applied to an order when the criteria of the corresponding rules are met. | [optional] [beta] diff --git a/docs/README.md b/docs/README.md index f2e616c..2d97544 100644 --- a/docs/README.md +++ b/docs/README.md @@ -76,1039 +76,1039 @@ All URIs are relative to *https://connect.squareup.com* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*SquareConnect.ApplePayApi* | [**registerDomain**](ApplePayApi.md#registerDomain) | **POST** /v2/apple-pay/domains | RegisterDomain -*SquareConnect.BankAccountsApi* | [**getBankAccount**](BankAccountsApi.md#getBankAccount) | **GET** /v2/bank-accounts/{bank_account_id} | GetBankAccount -*SquareConnect.BankAccountsApi* | [**getBankAccountByV1Id**](BankAccountsApi.md#getBankAccountByV1Id) | **GET** /v2/bank-accounts/by-v1-id/{v1_bank_account_id} | GetBankAccountByV1Id -*SquareConnect.BankAccountsApi* | [**listBankAccounts**](BankAccountsApi.md#listBankAccounts) | **GET** /v2/bank-accounts | ListBankAccounts -*SquareConnect.BookingsApi* | [**createBooking**](BookingsApi.md#createBooking) | **POST** /v2/bookings | CreateBooking -*SquareConnect.BookingsApi* | [**listTeamMemberBookingProfiles**](BookingsApi.md#listTeamMemberBookingProfiles) | **GET** /v2/bookings/team-member-booking-profiles | ListTeamMemberBookingProfiles -*SquareConnect.BookingsApi* | [**retrieveBooking**](BookingsApi.md#retrieveBooking) | **GET** /v2/bookings/{booking_id} | RetrieveBooking -*SquareConnect.BookingsApi* | [**retrieveBusinessBookingProfile**](BookingsApi.md#retrieveBusinessBookingProfile) | **GET** /v2/bookings/business-booking-profile | RetrieveBusinessBookingProfile -*SquareConnect.BookingsApi* | [**retrieveTeamMemberBookingProfile**](BookingsApi.md#retrieveTeamMemberBookingProfile) | **GET** /v2/bookings/team-member-booking-profiles/{team_member_id} | RetrieveTeamMemberBookingProfile -*SquareConnect.BookingsApi* | [**searchAvailability**](BookingsApi.md#searchAvailability) | **POST** /v2/bookings/availability/search | SearchAvailability -*SquareConnect.BookingsApi* | [**updateBooking**](BookingsApi.md#updateBooking) | **PUT** /v2/bookings/{booking_id} | UpdateBooking -*SquareConnect.CashDrawersApi* | [**listCashDrawerShiftEvents**](CashDrawersApi.md#listCashDrawerShiftEvents) | **GET** /v2/cash-drawers/shifts/{shift_id}/events | ListCashDrawerShiftEvents -*SquareConnect.CashDrawersApi* | [**listCashDrawerShifts**](CashDrawersApi.md#listCashDrawerShifts) | **GET** /v2/cash-drawers/shifts | ListCashDrawerShifts -*SquareConnect.CashDrawersApi* | [**retrieveCashDrawerShift**](CashDrawersApi.md#retrieveCashDrawerShift) | **GET** /v2/cash-drawers/shifts/{shift_id} | RetrieveCashDrawerShift -*SquareConnect.CatalogApi* | [**batchDeleteCatalogObjects**](CatalogApi.md#batchDeleteCatalogObjects) | **POST** /v2/catalog/batch-delete | BatchDeleteCatalogObjects -*SquareConnect.CatalogApi* | [**batchRetrieveCatalogObjects**](CatalogApi.md#batchRetrieveCatalogObjects) | **POST** /v2/catalog/batch-retrieve | BatchRetrieveCatalogObjects -*SquareConnect.CatalogApi* | [**batchUpsertCatalogObjects**](CatalogApi.md#batchUpsertCatalogObjects) | **POST** /v2/catalog/batch-upsert | BatchUpsertCatalogObjects -*SquareConnect.CatalogApi* | [**catalogInfo**](CatalogApi.md#catalogInfo) | **GET** /v2/catalog/info | CatalogInfo -*SquareConnect.CatalogApi* | [**deleteCatalogObject**](CatalogApi.md#deleteCatalogObject) | **DELETE** /v2/catalog/object/{object_id} | DeleteCatalogObject -*SquareConnect.CatalogApi* | [**listCatalog**](CatalogApi.md#listCatalog) | **GET** /v2/catalog/list | ListCatalog -*SquareConnect.CatalogApi* | [**retrieveCatalogObject**](CatalogApi.md#retrieveCatalogObject) | **GET** /v2/catalog/object/{object_id} | RetrieveCatalogObject -*SquareConnect.CatalogApi* | [**searchCatalogItems**](CatalogApi.md#searchCatalogItems) | **POST** /v2/catalog/search-catalog-items | SearchCatalogItems -*SquareConnect.CatalogApi* | [**searchCatalogObjects**](CatalogApi.md#searchCatalogObjects) | **POST** /v2/catalog/search | SearchCatalogObjects -*SquareConnect.CatalogApi* | [**updateItemModifierLists**](CatalogApi.md#updateItemModifierLists) | **POST** /v2/catalog/update-item-modifier-lists | UpdateItemModifierLists -*SquareConnect.CatalogApi* | [**updateItemTaxes**](CatalogApi.md#updateItemTaxes) | **POST** /v2/catalog/update-item-taxes | UpdateItemTaxes -*SquareConnect.CatalogApi* | [**upsertCatalogObject**](CatalogApi.md#upsertCatalogObject) | **POST** /v2/catalog/object | UpsertCatalogObject -*SquareConnect.CheckoutApi* | [**createCheckout**](CheckoutApi.md#createCheckout) | **POST** /v2/locations/{location_id}/checkouts | CreateCheckout -*SquareConnect.CustomerGroupsApi* | [**createCustomerGroup**](CustomerGroupsApi.md#createCustomerGroup) | **POST** /v2/customers/groups | CreateCustomerGroup -*SquareConnect.CustomerGroupsApi* | [**deleteCustomerGroup**](CustomerGroupsApi.md#deleteCustomerGroup) | **DELETE** /v2/customers/groups/{group_id} | DeleteCustomerGroup -*SquareConnect.CustomerGroupsApi* | [**listCustomerGroups**](CustomerGroupsApi.md#listCustomerGroups) | **GET** /v2/customers/groups | ListCustomerGroups -*SquareConnect.CustomerGroupsApi* | [**retrieveCustomerGroup**](CustomerGroupsApi.md#retrieveCustomerGroup) | **GET** /v2/customers/groups/{group_id} | RetrieveCustomerGroup -*SquareConnect.CustomerGroupsApi* | [**updateCustomerGroup**](CustomerGroupsApi.md#updateCustomerGroup) | **PUT** /v2/customers/groups/{group_id} | UpdateCustomerGroup -*SquareConnect.CustomerSegmentsApi* | [**listCustomerSegments**](CustomerSegmentsApi.md#listCustomerSegments) | **GET** /v2/customers/segments | ListCustomerSegments -*SquareConnect.CustomerSegmentsApi* | [**retrieveCustomerSegment**](CustomerSegmentsApi.md#retrieveCustomerSegment) | **GET** /v2/customers/segments/{segment_id} | RetrieveCustomerSegment -*SquareConnect.CustomersApi* | [**addGroupToCustomer**](CustomersApi.md#addGroupToCustomer) | **PUT** /v2/customers/{customer_id}/groups/{group_id} | AddGroupToCustomer -*SquareConnect.CustomersApi* | [**createCustomer**](CustomersApi.md#createCustomer) | **POST** /v2/customers | CreateCustomer -*SquareConnect.CustomersApi* | [**createCustomerCard**](CustomersApi.md#createCustomerCard) | **POST** /v2/customers/{customer_id}/cards | CreateCustomerCard -*SquareConnect.CustomersApi* | [**deleteCustomer**](CustomersApi.md#deleteCustomer) | **DELETE** /v2/customers/{customer_id} | DeleteCustomer -*SquareConnect.CustomersApi* | [**deleteCustomerCard**](CustomersApi.md#deleteCustomerCard) | **DELETE** /v2/customers/{customer_id}/cards/{card_id} | DeleteCustomerCard -*SquareConnect.CustomersApi* | [**listCustomers**](CustomersApi.md#listCustomers) | **GET** /v2/customers | ListCustomers -*SquareConnect.CustomersApi* | [**removeGroupFromCustomer**](CustomersApi.md#removeGroupFromCustomer) | **DELETE** /v2/customers/{customer_id}/groups/{group_id} | RemoveGroupFromCustomer -*SquareConnect.CustomersApi* | [**retrieveCustomer**](CustomersApi.md#retrieveCustomer) | **GET** /v2/customers/{customer_id} | RetrieveCustomer -*SquareConnect.CustomersApi* | [**searchCustomers**](CustomersApi.md#searchCustomers) | **POST** /v2/customers/search | SearchCustomers -*SquareConnect.CustomersApi* | [**updateCustomer**](CustomersApi.md#updateCustomer) | **PUT** /v2/customers/{customer_id} | UpdateCustomer -*SquareConnect.DevicesApi* | [**createDeviceCode**](DevicesApi.md#createDeviceCode) | **POST** /v2/devices/codes | CreateDeviceCode -*SquareConnect.DevicesApi* | [**getDeviceCode**](DevicesApi.md#getDeviceCode) | **GET** /v2/devices/codes/{id} | GetDeviceCode -*SquareConnect.DevicesApi* | [**listDeviceCodes**](DevicesApi.md#listDeviceCodes) | **GET** /v2/devices/codes | ListDeviceCodes -*SquareConnect.DisputesApi* | [**acceptDispute**](DisputesApi.md#acceptDispute) | **POST** /v2/disputes/{dispute_id}/accept | AcceptDispute -*SquareConnect.DisputesApi* | [**createDisputeEvidenceText**](DisputesApi.md#createDisputeEvidenceText) | **POST** /v2/disputes/{dispute_id}/evidence_text | CreateDisputeEvidenceText -*SquareConnect.DisputesApi* | [**listDisputeEvidence**](DisputesApi.md#listDisputeEvidence) | **GET** /v2/disputes/{dispute_id}/evidence | ListDisputeEvidence -*SquareConnect.DisputesApi* | [**listDisputes**](DisputesApi.md#listDisputes) | **GET** /v2/disputes | ListDisputes -*SquareConnect.DisputesApi* | [**removeDisputeEvidence**](DisputesApi.md#removeDisputeEvidence) | **DELETE** /v2/disputes/{dispute_id}/evidence/{evidence_id} | RemoveDisputeEvidence -*SquareConnect.DisputesApi* | [**retrieveDispute**](DisputesApi.md#retrieveDispute) | **GET** /v2/disputes/{dispute_id} | RetrieveDispute -*SquareConnect.DisputesApi* | [**retrieveDisputeEvidence**](DisputesApi.md#retrieveDisputeEvidence) | **GET** /v2/disputes/{dispute_id}/evidence/{evidence_id} | RetrieveDisputeEvidence -*SquareConnect.DisputesApi* | [**submitEvidence**](DisputesApi.md#submitEvidence) | **POST** /v2/disputes/{dispute_id}/submit-evidence | SubmitEvidence -*SquareConnect.EmployeesApi* | [**listEmployees**](EmployeesApi.md#listEmployees) | **GET** /v2/employees | ListEmployees -*SquareConnect.EmployeesApi* | [**retrieveEmployee**](EmployeesApi.md#retrieveEmployee) | **GET** /v2/employees/{id} | RetrieveEmployee -*SquareConnect.InventoryApi* | [**batchChangeInventory**](InventoryApi.md#batchChangeInventory) | **POST** /v2/inventory/batch-change | BatchChangeInventory -*SquareConnect.InventoryApi* | [**batchRetrieveInventoryChanges**](InventoryApi.md#batchRetrieveInventoryChanges) | **POST** /v2/inventory/batch-retrieve-changes | BatchRetrieveInventoryChanges -*SquareConnect.InventoryApi* | [**batchRetrieveInventoryCounts**](InventoryApi.md#batchRetrieveInventoryCounts) | **POST** /v2/inventory/batch-retrieve-counts | BatchRetrieveInventoryCounts -*SquareConnect.InventoryApi* | [**retrieveInventoryAdjustment**](InventoryApi.md#retrieveInventoryAdjustment) | **GET** /v2/inventory/adjustment/{adjustment_id} | RetrieveInventoryAdjustment -*SquareConnect.InventoryApi* | [**retrieveInventoryChanges**](InventoryApi.md#retrieveInventoryChanges) | **GET** /v2/inventory/{catalog_object_id}/changes | RetrieveInventoryChanges -*SquareConnect.InventoryApi* | [**retrieveInventoryCount**](InventoryApi.md#retrieveInventoryCount) | **GET** /v2/inventory/{catalog_object_id} | RetrieveInventoryCount -*SquareConnect.InventoryApi* | [**retrieveInventoryPhysicalCount**](InventoryApi.md#retrieveInventoryPhysicalCount) | **GET** /v2/inventory/physical-count/{physical_count_id} | RetrieveInventoryPhysicalCount -*SquareConnect.InvoicesApi* | [**cancelInvoice**](InvoicesApi.md#cancelInvoice) | **POST** /v2/invoices/{invoice_id}/cancel | CancelInvoice -*SquareConnect.InvoicesApi* | [**createInvoice**](InvoicesApi.md#createInvoice) | **POST** /v2/invoices | CreateInvoice -*SquareConnect.InvoicesApi* | [**deleteInvoice**](InvoicesApi.md#deleteInvoice) | **DELETE** /v2/invoices/{invoice_id} | DeleteInvoice -*SquareConnect.InvoicesApi* | [**getInvoice**](InvoicesApi.md#getInvoice) | **GET** /v2/invoices/{invoice_id} | GetInvoice -*SquareConnect.InvoicesApi* | [**listInvoices**](InvoicesApi.md#listInvoices) | **GET** /v2/invoices | ListInvoices -*SquareConnect.InvoicesApi* | [**publishInvoice**](InvoicesApi.md#publishInvoice) | **POST** /v2/invoices/{invoice_id}/publish | PublishInvoice -*SquareConnect.InvoicesApi* | [**searchInvoices**](InvoicesApi.md#searchInvoices) | **POST** /v2/invoices/search | SearchInvoices -*SquareConnect.InvoicesApi* | [**updateInvoice**](InvoicesApi.md#updateInvoice) | **PUT** /v2/invoices/{invoice_id} | UpdateInvoice -*SquareConnect.LaborApi* | [**createBreakType**](LaborApi.md#createBreakType) | **POST** /v2/labor/break-types | CreateBreakType -*SquareConnect.LaborApi* | [**createShift**](LaborApi.md#createShift) | **POST** /v2/labor/shifts | CreateShift -*SquareConnect.LaborApi* | [**deleteBreakType**](LaborApi.md#deleteBreakType) | **DELETE** /v2/labor/break-types/{id} | DeleteBreakType -*SquareConnect.LaborApi* | [**deleteShift**](LaborApi.md#deleteShift) | **DELETE** /v2/labor/shifts/{id} | DeleteShift -*SquareConnect.LaborApi* | [**getBreakType**](LaborApi.md#getBreakType) | **GET** /v2/labor/break-types/{id} | GetBreakType -*SquareConnect.LaborApi* | [**getEmployeeWage**](LaborApi.md#getEmployeeWage) | **GET** /v2/labor/employee-wages/{id} | GetEmployeeWage -*SquareConnect.LaborApi* | [**getShift**](LaborApi.md#getShift) | **GET** /v2/labor/shifts/{id} | GetShift -*SquareConnect.LaborApi* | [**getTeamMemberWage**](LaborApi.md#getTeamMemberWage) | **GET** /v2/labor/team-member-wages/{id} | GetTeamMemberWage -*SquareConnect.LaborApi* | [**listBreakTypes**](LaborApi.md#listBreakTypes) | **GET** /v2/labor/break-types | ListBreakTypes -*SquareConnect.LaborApi* | [**listEmployeeWages**](LaborApi.md#listEmployeeWages) | **GET** /v2/labor/employee-wages | ListEmployeeWages -*SquareConnect.LaborApi* | [**listTeamMemberWages**](LaborApi.md#listTeamMemberWages) | **GET** /v2/labor/team-member-wages | ListTeamMemberWages -*SquareConnect.LaborApi* | [**listWorkweekConfigs**](LaborApi.md#listWorkweekConfigs) | **GET** /v2/labor/workweek-configs | ListWorkweekConfigs -*SquareConnect.LaborApi* | [**searchShifts**](LaborApi.md#searchShifts) | **POST** /v2/labor/shifts/search | SearchShifts -*SquareConnect.LaborApi* | [**updateBreakType**](LaborApi.md#updateBreakType) | **PUT** /v2/labor/break-types/{id} | UpdateBreakType -*SquareConnect.LaborApi* | [**updateShift**](LaborApi.md#updateShift) | **PUT** /v2/labor/shifts/{id} | UpdateShift -*SquareConnect.LaborApi* | [**updateWorkweekConfig**](LaborApi.md#updateWorkweekConfig) | **PUT** /v2/labor/workweek-configs/{id} | UpdateWorkweekConfig -*SquareConnect.LocationsApi* | [**createLocation**](LocationsApi.md#createLocation) | **POST** /v2/locations | CreateLocation -*SquareConnect.LocationsApi* | [**listLocations**](LocationsApi.md#listLocations) | **GET** /v2/locations | ListLocations -*SquareConnect.LocationsApi* | [**retrieveLocation**](LocationsApi.md#retrieveLocation) | **GET** /v2/locations/{location_id} | RetrieveLocation -*SquareConnect.LocationsApi* | [**updateLocation**](LocationsApi.md#updateLocation) | **PUT** /v2/locations/{location_id} | UpdateLocation -*SquareConnect.LoyaltyApi* | [**accumulateLoyaltyPoints**](LoyaltyApi.md#accumulateLoyaltyPoints) | **POST** /v2/loyalty/accounts/{account_id}/accumulate | AccumulateLoyaltyPoints -*SquareConnect.LoyaltyApi* | [**adjustLoyaltyPoints**](LoyaltyApi.md#adjustLoyaltyPoints) | **POST** /v2/loyalty/accounts/{account_id}/adjust | AdjustLoyaltyPoints -*SquareConnect.LoyaltyApi* | [**calculateLoyaltyPoints**](LoyaltyApi.md#calculateLoyaltyPoints) | **POST** /v2/loyalty/programs/{program_id}/calculate | CalculateLoyaltyPoints -*SquareConnect.LoyaltyApi* | [**createLoyaltyAccount**](LoyaltyApi.md#createLoyaltyAccount) | **POST** /v2/loyalty/accounts | CreateLoyaltyAccount -*SquareConnect.LoyaltyApi* | [**createLoyaltyReward**](LoyaltyApi.md#createLoyaltyReward) | **POST** /v2/loyalty/rewards | CreateLoyaltyReward -*SquareConnect.LoyaltyApi* | [**deleteLoyaltyReward**](LoyaltyApi.md#deleteLoyaltyReward) | **DELETE** /v2/loyalty/rewards/{reward_id} | DeleteLoyaltyReward -*SquareConnect.LoyaltyApi* | [**listLoyaltyPrograms**](LoyaltyApi.md#listLoyaltyPrograms) | **GET** /v2/loyalty/programs | ListLoyaltyPrograms -*SquareConnect.LoyaltyApi* | [**redeemLoyaltyReward**](LoyaltyApi.md#redeemLoyaltyReward) | **POST** /v2/loyalty/rewards/{reward_id}/redeem | RedeemLoyaltyReward -*SquareConnect.LoyaltyApi* | [**retrieveLoyaltyAccount**](LoyaltyApi.md#retrieveLoyaltyAccount) | **GET** /v2/loyalty/accounts/{account_id} | RetrieveLoyaltyAccount -*SquareConnect.LoyaltyApi* | [**retrieveLoyaltyReward**](LoyaltyApi.md#retrieveLoyaltyReward) | **GET** /v2/loyalty/rewards/{reward_id} | RetrieveLoyaltyReward -*SquareConnect.LoyaltyApi* | [**searchLoyaltyAccounts**](LoyaltyApi.md#searchLoyaltyAccounts) | **POST** /v2/loyalty/accounts/search | SearchLoyaltyAccounts -*SquareConnect.LoyaltyApi* | [**searchLoyaltyEvents**](LoyaltyApi.md#searchLoyaltyEvents) | **POST** /v2/loyalty/events/search | SearchLoyaltyEvents -*SquareConnect.LoyaltyApi* | [**searchLoyaltyRewards**](LoyaltyApi.md#searchLoyaltyRewards) | **POST** /v2/loyalty/rewards/search | SearchLoyaltyRewards -*SquareConnect.MerchantsApi* | [**listMerchants**](MerchantsApi.md#listMerchants) | **GET** /v2/merchants | ListMerchants -*SquareConnect.MerchantsApi* | [**retrieveMerchant**](MerchantsApi.md#retrieveMerchant) | **GET** /v2/merchants/{merchant_id} | RetrieveMerchant -*SquareConnect.MobileAuthorizationApi* | [**createMobileAuthorizationCode**](MobileAuthorizationApi.md#createMobileAuthorizationCode) | **POST** /mobile/authorization-code | CreateMobileAuthorizationCode -*SquareConnect.OAuthApi* | [**obtainToken**](OAuthApi.md#obtainToken) | **POST** /oauth2/token | ObtainToken -*SquareConnect.OAuthApi* | [**renewToken**](OAuthApi.md#renewToken) | **POST** /oauth2/clients/{client_id}/access-token/renew | RenewToken -*SquareConnect.OAuthApi* | [**revokeToken**](OAuthApi.md#revokeToken) | **POST** /oauth2/revoke | RevokeToken -*SquareConnect.OrdersApi* | [**batchRetrieveOrders**](OrdersApi.md#batchRetrieveOrders) | **POST** /v2/orders/batch-retrieve | BatchRetrieveOrders -*SquareConnect.OrdersApi* | [**calculateOrder**](OrdersApi.md#calculateOrder) | **POST** /v2/orders/calculate | CalculateOrder -*SquareConnect.OrdersApi* | [**createOrder**](OrdersApi.md#createOrder) | **POST** /v2/orders | CreateOrder -*SquareConnect.OrdersApi* | [**payOrder**](OrdersApi.md#payOrder) | **POST** /v2/orders/{order_id}/pay | PayOrder -*SquareConnect.OrdersApi* | [**retrieveOrder**](OrdersApi.md#retrieveOrder) | **GET** /v2/orders/{order_id} | RetrieveOrder -*SquareConnect.OrdersApi* | [**searchOrders**](OrdersApi.md#searchOrders) | **POST** /v2/orders/search | SearchOrders -*SquareConnect.OrdersApi* | [**updateOrder**](OrdersApi.md#updateOrder) | **PUT** /v2/orders/{order_id} | UpdateOrder -*SquareConnect.PaymentsApi* | [**cancelPayment**](PaymentsApi.md#cancelPayment) | **POST** /v2/payments/{payment_id}/cancel | CancelPayment -*SquareConnect.PaymentsApi* | [**cancelPaymentByIdempotencyKey**](PaymentsApi.md#cancelPaymentByIdempotencyKey) | **POST** /v2/payments/cancel | CancelPaymentByIdempotencyKey -*SquareConnect.PaymentsApi* | [**completePayment**](PaymentsApi.md#completePayment) | **POST** /v2/payments/{payment_id}/complete | CompletePayment -*SquareConnect.PaymentsApi* | [**createPayment**](PaymentsApi.md#createPayment) | **POST** /v2/payments | CreatePayment -*SquareConnect.PaymentsApi* | [**getPayment**](PaymentsApi.md#getPayment) | **GET** /v2/payments/{payment_id} | GetPayment -*SquareConnect.PaymentsApi* | [**listPayments**](PaymentsApi.md#listPayments) | **GET** /v2/payments | ListPayments -*SquareConnect.RefundsApi* | [**getPaymentRefund**](RefundsApi.md#getPaymentRefund) | **GET** /v2/refunds/{refund_id} | GetPaymentRefund -*SquareConnect.RefundsApi* | [**listPaymentRefunds**](RefundsApi.md#listPaymentRefunds) | **GET** /v2/refunds | ListPaymentRefunds -*SquareConnect.RefundsApi* | [**refundPayment**](RefundsApi.md#refundPayment) | **POST** /v2/refunds | RefundPayment -*SquareConnect.SubscriptionsApi* | [**cancelSubscription**](SubscriptionsApi.md#cancelSubscription) | **POST** /v2/subscriptions/{subscription_id}/cancel | CancelSubscription -*SquareConnect.SubscriptionsApi* | [**createSubscription**](SubscriptionsApi.md#createSubscription) | **POST** /v2/subscriptions | CreateSubscription -*SquareConnect.SubscriptionsApi* | [**listSubscriptionEvents**](SubscriptionsApi.md#listSubscriptionEvents) | **GET** /v2/subscriptions/{subscription_id}/events | ListSubscriptionEvents -*SquareConnect.SubscriptionsApi* | [**retrieveSubscription**](SubscriptionsApi.md#retrieveSubscription) | **GET** /v2/subscriptions/{subscription_id} | RetrieveSubscription -*SquareConnect.SubscriptionsApi* | [**searchSubscriptions**](SubscriptionsApi.md#searchSubscriptions) | **POST** /v2/subscriptions/search | SearchSubscriptions -*SquareConnect.SubscriptionsApi* | [**updateSubscription**](SubscriptionsApi.md#updateSubscription) | **PUT** /v2/subscriptions/{subscription_id} | UpdateSubscription -*SquareConnect.TeamApi* | [**bulkCreateTeamMembers**](TeamApi.md#bulkCreateTeamMembers) | **POST** /v2/team-members/bulk-create | BulkCreateTeamMembers -*SquareConnect.TeamApi* | [**bulkUpdateTeamMembers**](TeamApi.md#bulkUpdateTeamMembers) | **POST** /v2/team-members/bulk-update | BulkUpdateTeamMembers -*SquareConnect.TeamApi* | [**createTeamMember**](TeamApi.md#createTeamMember) | **POST** /v2/team-members | CreateTeamMember -*SquareConnect.TeamApi* | [**retrieveTeamMember**](TeamApi.md#retrieveTeamMember) | **GET** /v2/team-members/{team_member_id} | RetrieveTeamMember -*SquareConnect.TeamApi* | [**retrieveWageSetting**](TeamApi.md#retrieveWageSetting) | **GET** /v2/team-members/{team_member_id}/wage-setting | RetrieveWageSetting -*SquareConnect.TeamApi* | [**searchTeamMembers**](TeamApi.md#searchTeamMembers) | **POST** /v2/team-members/search | SearchTeamMembers -*SquareConnect.TeamApi* | [**updateTeamMember**](TeamApi.md#updateTeamMember) | **PUT** /v2/team-members/{team_member_id} | UpdateTeamMember -*SquareConnect.TeamApi* | [**updateWageSetting**](TeamApi.md#updateWageSetting) | **PUT** /v2/team-members/{team_member_id}/wage-setting | UpdateWageSetting -*SquareConnect.TerminalApi* | [**cancelTerminalCheckout**](TerminalApi.md#cancelTerminalCheckout) | **POST** /v2/terminals/checkouts/{checkout_id}/cancel | CancelTerminalCheckout -*SquareConnect.TerminalApi* | [**cancelTerminalRefund**](TerminalApi.md#cancelTerminalRefund) | **POST** /v2/terminals/refunds/{terminal_refund_id}/cancel | CancelTerminalRefund -*SquareConnect.TerminalApi* | [**createTerminalCheckout**](TerminalApi.md#createTerminalCheckout) | **POST** /v2/terminals/checkouts | CreateTerminalCheckout -*SquareConnect.TerminalApi* | [**createTerminalRefund**](TerminalApi.md#createTerminalRefund) | **POST** /v2/terminals/refunds | CreateTerminalRefund -*SquareConnect.TerminalApi* | [**getTerminalCheckout**](TerminalApi.md#getTerminalCheckout) | **GET** /v2/terminals/checkouts/{checkout_id} | GetTerminalCheckout -*SquareConnect.TerminalApi* | [**getTerminalRefund**](TerminalApi.md#getTerminalRefund) | **GET** /v2/terminals/refunds/{terminal_refund_id} | GetTerminalRefund -*SquareConnect.TerminalApi* | [**searchTerminalCheckouts**](TerminalApi.md#searchTerminalCheckouts) | **POST** /v2/terminals/checkouts/search | SearchTerminalCheckouts -*SquareConnect.TerminalApi* | [**searchTerminalRefunds**](TerminalApi.md#searchTerminalRefunds) | **POST** /v2/terminals/refunds/search | SearchTerminalRefunds -*SquareConnect.TransactionsApi* | [**captureTransaction**](TransactionsApi.md#captureTransaction) | **POST** /v2/locations/{location_id}/transactions/{transaction_id}/capture | CaptureTransaction -*SquareConnect.TransactionsApi* | [**charge**](TransactionsApi.md#charge) | **POST** /v2/locations/{location_id}/transactions | Charge -*SquareConnect.TransactionsApi* | [**createRefund**](TransactionsApi.md#createRefund) | **POST** /v2/locations/{location_id}/transactions/{transaction_id}/refund | CreateRefund -*SquareConnect.TransactionsApi* | [**listRefunds**](TransactionsApi.md#listRefunds) | **GET** /v2/locations/{location_id}/refunds | ListRefunds -*SquareConnect.TransactionsApi* | [**listTransactions**](TransactionsApi.md#listTransactions) | **GET** /v2/locations/{location_id}/transactions | ListTransactions -*SquareConnect.TransactionsApi* | [**retrieveTransaction**](TransactionsApi.md#retrieveTransaction) | **GET** /v2/locations/{location_id}/transactions/{transaction_id} | RetrieveTransaction -*SquareConnect.TransactionsApi* | [**voidTransaction**](TransactionsApi.md#voidTransaction) | **POST** /v2/locations/{location_id}/transactions/{transaction_id}/void | VoidTransaction -*SquareConnect.V1EmployeesApi* | [**createEmployee**](V1EmployeesApi.md#createEmployee) | **POST** /v1/me/employees | CreateEmployee -*SquareConnect.V1EmployeesApi* | [**createEmployeeRole**](V1EmployeesApi.md#createEmployeeRole) | **POST** /v1/me/roles | CreateEmployeeRole -*SquareConnect.V1EmployeesApi* | [**createTimecard**](V1EmployeesApi.md#createTimecard) | **POST** /v1/me/timecards | CreateTimecard -*SquareConnect.V1EmployeesApi* | [**deleteTimecard**](V1EmployeesApi.md#deleteTimecard) | **DELETE** /v1/me/timecards/{timecard_id} | DeleteTimecard -*SquareConnect.V1EmployeesApi* | [**listCashDrawerShifts**](V1EmployeesApi.md#listCashDrawerShifts) | **GET** /v1/{location_id}/cash-drawer-shifts | ListCashDrawerShifts -*SquareConnect.V1EmployeesApi* | [**listEmployeeRoles**](V1EmployeesApi.md#listEmployeeRoles) | **GET** /v1/me/roles | ListEmployeeRoles -*SquareConnect.V1EmployeesApi* | [**listEmployees**](V1EmployeesApi.md#listEmployees) | **GET** /v1/me/employees | ListEmployees -*SquareConnect.V1EmployeesApi* | [**listTimecardEvents**](V1EmployeesApi.md#listTimecardEvents) | **GET** /v1/me/timecards/{timecard_id}/events | ListTimecardEvents -*SquareConnect.V1EmployeesApi* | [**listTimecards**](V1EmployeesApi.md#listTimecards) | **GET** /v1/me/timecards | ListTimecards -*SquareConnect.V1EmployeesApi* | [**retrieveCashDrawerShift**](V1EmployeesApi.md#retrieveCashDrawerShift) | **GET** /v1/{location_id}/cash-drawer-shifts/{shift_id} | RetrieveCashDrawerShift -*SquareConnect.V1EmployeesApi* | [**retrieveEmployee**](V1EmployeesApi.md#retrieveEmployee) | **GET** /v1/me/employees/{employee_id} | RetrieveEmployee -*SquareConnect.V1EmployeesApi* | [**retrieveEmployeeRole**](V1EmployeesApi.md#retrieveEmployeeRole) | **GET** /v1/me/roles/{role_id} | RetrieveEmployeeRole -*SquareConnect.V1EmployeesApi* | [**retrieveTimecard**](V1EmployeesApi.md#retrieveTimecard) | **GET** /v1/me/timecards/{timecard_id} | RetrieveTimecard -*SquareConnect.V1EmployeesApi* | [**updateEmployee**](V1EmployeesApi.md#updateEmployee) | **PUT** /v1/me/employees/{employee_id} | UpdateEmployee -*SquareConnect.V1EmployeesApi* | [**updateEmployeeRole**](V1EmployeesApi.md#updateEmployeeRole) | **PUT** /v1/me/roles/{role_id} | UpdateEmployeeRole -*SquareConnect.V1EmployeesApi* | [**updateTimecard**](V1EmployeesApi.md#updateTimecard) | **PUT** /v1/me/timecards/{timecard_id} | UpdateTimecard -*SquareConnect.V1ItemsApi* | [**adjustInventory**](V1ItemsApi.md#adjustInventory) | **POST** /v1/{location_id}/inventory/{variation_id} | AdjustInventory -*SquareConnect.V1ItemsApi* | [**applyFee**](V1ItemsApi.md#applyFee) | **PUT** /v1/{location_id}/items/{item_id}/fees/{fee_id} | ApplyFee -*SquareConnect.V1ItemsApi* | [**applyModifierList**](V1ItemsApi.md#applyModifierList) | **PUT** /v1/{location_id}/items/{item_id}/modifier-lists/{modifier_list_id} | ApplyModifierList -*SquareConnect.V1ItemsApi* | [**createCategory**](V1ItemsApi.md#createCategory) | **POST** /v1/{location_id}/categories | CreateCategory -*SquareConnect.V1ItemsApi* | [**createDiscount**](V1ItemsApi.md#createDiscount) | **POST** /v1/{location_id}/discounts | CreateDiscount -*SquareConnect.V1ItemsApi* | [**createFee**](V1ItemsApi.md#createFee) | **POST** /v1/{location_id}/fees | CreateFee -*SquareConnect.V1ItemsApi* | [**createItem**](V1ItemsApi.md#createItem) | **POST** /v1/{location_id}/items | CreateItem -*SquareConnect.V1ItemsApi* | [**createModifierList**](V1ItemsApi.md#createModifierList) | **POST** /v1/{location_id}/modifier-lists | CreateModifierList -*SquareConnect.V1ItemsApi* | [**createModifierOption**](V1ItemsApi.md#createModifierOption) | **POST** /v1/{location_id}/modifier-lists/{modifier_list_id}/modifier-options | CreateModifierOption -*SquareConnect.V1ItemsApi* | [**createPage**](V1ItemsApi.md#createPage) | **POST** /v1/{location_id}/pages | CreatePage -*SquareConnect.V1ItemsApi* | [**createVariation**](V1ItemsApi.md#createVariation) | **POST** /v1/{location_id}/items/{item_id}/variations | CreateVariation -*SquareConnect.V1ItemsApi* | [**deleteCategory**](V1ItemsApi.md#deleteCategory) | **DELETE** /v1/{location_id}/categories/{category_id} | DeleteCategory -*SquareConnect.V1ItemsApi* | [**deleteDiscount**](V1ItemsApi.md#deleteDiscount) | **DELETE** /v1/{location_id}/discounts/{discount_id} | DeleteDiscount -*SquareConnect.V1ItemsApi* | [**deleteFee**](V1ItemsApi.md#deleteFee) | **DELETE** /v1/{location_id}/fees/{fee_id} | DeleteFee -*SquareConnect.V1ItemsApi* | [**deleteItem**](V1ItemsApi.md#deleteItem) | **DELETE** /v1/{location_id}/items/{item_id} | DeleteItem -*SquareConnect.V1ItemsApi* | [**deleteModifierList**](V1ItemsApi.md#deleteModifierList) | **DELETE** /v1/{location_id}/modifier-lists/{modifier_list_id} | DeleteModifierList -*SquareConnect.V1ItemsApi* | [**deleteModifierOption**](V1ItemsApi.md#deleteModifierOption) | **DELETE** /v1/{location_id}/modifier-lists/{modifier_list_id}/modifier-options/{modifier_option_id} | DeleteModifierOption -*SquareConnect.V1ItemsApi* | [**deletePage**](V1ItemsApi.md#deletePage) | **DELETE** /v1/{location_id}/pages/{page_id} | DeletePage -*SquareConnect.V1ItemsApi* | [**deletePageCell**](V1ItemsApi.md#deletePageCell) | **DELETE** /v1/{location_id}/pages/{page_id}/cells | DeletePageCell -*SquareConnect.V1ItemsApi* | [**deleteVariation**](V1ItemsApi.md#deleteVariation) | **DELETE** /v1/{location_id}/items/{item_id}/variations/{variation_id} | DeleteVariation -*SquareConnect.V1ItemsApi* | [**listCategories**](V1ItemsApi.md#listCategories) | **GET** /v1/{location_id}/categories | ListCategories -*SquareConnect.V1ItemsApi* | [**listDiscounts**](V1ItemsApi.md#listDiscounts) | **GET** /v1/{location_id}/discounts | ListDiscounts -*SquareConnect.V1ItemsApi* | [**listFees**](V1ItemsApi.md#listFees) | **GET** /v1/{location_id}/fees | ListFees -*SquareConnect.V1ItemsApi* | [**listInventory**](V1ItemsApi.md#listInventory) | **GET** /v1/{location_id}/inventory | ListInventory -*SquareConnect.V1ItemsApi* | [**listItems**](V1ItemsApi.md#listItems) | **GET** /v1/{location_id}/items | ListItems -*SquareConnect.V1ItemsApi* | [**listModifierLists**](V1ItemsApi.md#listModifierLists) | **GET** /v1/{location_id}/modifier-lists | ListModifierLists -*SquareConnect.V1ItemsApi* | [**listPages**](V1ItemsApi.md#listPages) | **GET** /v1/{location_id}/pages | ListPages -*SquareConnect.V1ItemsApi* | [**removeFee**](V1ItemsApi.md#removeFee) | **DELETE** /v1/{location_id}/items/{item_id}/fees/{fee_id} | RemoveFee -*SquareConnect.V1ItemsApi* | [**removeModifierList**](V1ItemsApi.md#removeModifierList) | **DELETE** /v1/{location_id}/items/{item_id}/modifier-lists/{modifier_list_id} | RemoveModifierList -*SquareConnect.V1ItemsApi* | [**retrieveItem**](V1ItemsApi.md#retrieveItem) | **GET** /v1/{location_id}/items/{item_id} | RetrieveItem -*SquareConnect.V1ItemsApi* | [**retrieveModifierList**](V1ItemsApi.md#retrieveModifierList) | **GET** /v1/{location_id}/modifier-lists/{modifier_list_id} | RetrieveModifierList -*SquareConnect.V1ItemsApi* | [**updateCategory**](V1ItemsApi.md#updateCategory) | **PUT** /v1/{location_id}/categories/{category_id} | UpdateCategory -*SquareConnect.V1ItemsApi* | [**updateDiscount**](V1ItemsApi.md#updateDiscount) | **PUT** /v1/{location_id}/discounts/{discount_id} | UpdateDiscount -*SquareConnect.V1ItemsApi* | [**updateFee**](V1ItemsApi.md#updateFee) | **PUT** /v1/{location_id}/fees/{fee_id} | UpdateFee -*SquareConnect.V1ItemsApi* | [**updateItem**](V1ItemsApi.md#updateItem) | **PUT** /v1/{location_id}/items/{item_id} | UpdateItem -*SquareConnect.V1ItemsApi* | [**updateModifierList**](V1ItemsApi.md#updateModifierList) | **PUT** /v1/{location_id}/modifier-lists/{modifier_list_id} | UpdateModifierList -*SquareConnect.V1ItemsApi* | [**updateModifierOption**](V1ItemsApi.md#updateModifierOption) | **PUT** /v1/{location_id}/modifier-lists/{modifier_list_id}/modifier-options/{modifier_option_id} | UpdateModifierOption -*SquareConnect.V1ItemsApi* | [**updatePage**](V1ItemsApi.md#updatePage) | **PUT** /v1/{location_id}/pages/{page_id} | UpdatePage -*SquareConnect.V1ItemsApi* | [**updatePageCell**](V1ItemsApi.md#updatePageCell) | **PUT** /v1/{location_id}/pages/{page_id}/cells | UpdatePageCell -*SquareConnect.V1ItemsApi* | [**updateVariation**](V1ItemsApi.md#updateVariation) | **PUT** /v1/{location_id}/items/{item_id}/variations/{variation_id} | UpdateVariation -*SquareConnect.V1LocationsApi* | [**listLocations**](V1LocationsApi.md#listLocations) | **GET** /v1/me/locations | ListLocations -*SquareConnect.V1LocationsApi* | [**retrieveBusiness**](V1LocationsApi.md#retrieveBusiness) | **GET** /v1/me | RetrieveBusiness -*SquareConnect.V1TransactionsApi* | [**createRefund**](V1TransactionsApi.md#createRefund) | **POST** /v1/{location_id}/refunds | CreateRefund -*SquareConnect.V1TransactionsApi* | [**listBankAccounts**](V1TransactionsApi.md#listBankAccounts) | **GET** /v1/{location_id}/bank-accounts | ListBankAccounts -*SquareConnect.V1TransactionsApi* | [**listOrders**](V1TransactionsApi.md#listOrders) | **GET** /v1/{location_id}/orders | ListOrders -*SquareConnect.V1TransactionsApi* | [**listPayments**](V1TransactionsApi.md#listPayments) | **GET** /v1/{location_id}/payments | ListPayments -*SquareConnect.V1TransactionsApi* | [**listRefunds**](V1TransactionsApi.md#listRefunds) | **GET** /v1/{location_id}/refunds | ListRefunds -*SquareConnect.V1TransactionsApi* | [**listSettlements**](V1TransactionsApi.md#listSettlements) | **GET** /v1/{location_id}/settlements | ListSettlements -*SquareConnect.V1TransactionsApi* | [**retrieveBankAccount**](V1TransactionsApi.md#retrieveBankAccount) | **GET** /v1/{location_id}/bank-accounts/{bank_account_id} | RetrieveBankAccount -*SquareConnect.V1TransactionsApi* | [**retrieveOrder**](V1TransactionsApi.md#retrieveOrder) | **GET** /v1/{location_id}/orders/{order_id} | RetrieveOrder -*SquareConnect.V1TransactionsApi* | [**retrievePayment**](V1TransactionsApi.md#retrievePayment) | **GET** /v1/{location_id}/payments/{payment_id} | RetrievePayment -*SquareConnect.V1TransactionsApi* | [**retrieveSettlement**](V1TransactionsApi.md#retrieveSettlement) | **GET** /v1/{location_id}/settlements/{settlement_id} | RetrieveSettlement -*SquareConnect.V1TransactionsApi* | [**updateOrder**](V1TransactionsApi.md#updateOrder) | **PUT** /v1/{location_id}/orders/{order_id} | UpdateOrder +*SquareConnect.ApplePayApi* | [**registerDomain**](docs/ApplePayApi.md#registerDomain) | **POST** /v2/apple-pay/domains | RegisterDomain +*SquareConnect.BankAccountsApi* | [**getBankAccount**](docs/BankAccountsApi.md#getBankAccount) | **GET** /v2/bank-accounts/{bank_account_id} | GetBankAccount +*SquareConnect.BankAccountsApi* | [**getBankAccountByV1Id**](docs/BankAccountsApi.md#getBankAccountByV1Id) | **GET** /v2/bank-accounts/by-v1-id/{v1_bank_account_id} | GetBankAccountByV1Id +*SquareConnect.BankAccountsApi* | [**listBankAccounts**](docs/BankAccountsApi.md#listBankAccounts) | **GET** /v2/bank-accounts | ListBankAccounts +*SquareConnect.BookingsApi* | [**cancelBooking**](docs/BookingsApi.md#cancelBooking) | **POST** /v2/bookings/{booking_id}/cancel | CancelBooking +*SquareConnect.BookingsApi* | [**createBooking**](docs/BookingsApi.md#createBooking) | **POST** /v2/bookings | CreateBooking +*SquareConnect.BookingsApi* | [**listTeamMemberBookingProfiles**](docs/BookingsApi.md#listTeamMemberBookingProfiles) | **GET** /v2/bookings/team-member-booking-profiles | ListTeamMemberBookingProfiles +*SquareConnect.BookingsApi* | [**retrieveBooking**](docs/BookingsApi.md#retrieveBooking) | **GET** /v2/bookings/{booking_id} | RetrieveBooking +*SquareConnect.BookingsApi* | [**retrieveBusinessBookingProfile**](docs/BookingsApi.md#retrieveBusinessBookingProfile) | **GET** /v2/bookings/business-booking-profile | RetrieveBusinessBookingProfile +*SquareConnect.BookingsApi* | [**retrieveTeamMemberBookingProfile**](docs/BookingsApi.md#retrieveTeamMemberBookingProfile) | **GET** /v2/bookings/team-member-booking-profiles/{team_member_id} | RetrieveTeamMemberBookingProfile +*SquareConnect.BookingsApi* | [**searchAvailability**](docs/BookingsApi.md#searchAvailability) | **POST** /v2/bookings/availability/search | SearchAvailability +*SquareConnect.BookingsApi* | [**updateBooking**](docs/BookingsApi.md#updateBooking) | **PUT** /v2/bookings/{booking_id} | UpdateBooking +*SquareConnect.CashDrawersApi* | [**listCashDrawerShiftEvents**](docs/CashDrawersApi.md#listCashDrawerShiftEvents) | **GET** /v2/cash-drawers/shifts/{shift_id}/events | ListCashDrawerShiftEvents +*SquareConnect.CashDrawersApi* | [**listCashDrawerShifts**](docs/CashDrawersApi.md#listCashDrawerShifts) | **GET** /v2/cash-drawers/shifts | ListCashDrawerShifts +*SquareConnect.CashDrawersApi* | [**retrieveCashDrawerShift**](docs/CashDrawersApi.md#retrieveCashDrawerShift) | **GET** /v2/cash-drawers/shifts/{shift_id} | RetrieveCashDrawerShift +*SquareConnect.CatalogApi* | [**batchDeleteCatalogObjects**](docs/CatalogApi.md#batchDeleteCatalogObjects) | **POST** /v2/catalog/batch-delete | BatchDeleteCatalogObjects +*SquareConnect.CatalogApi* | [**batchRetrieveCatalogObjects**](docs/CatalogApi.md#batchRetrieveCatalogObjects) | **POST** /v2/catalog/batch-retrieve | BatchRetrieveCatalogObjects +*SquareConnect.CatalogApi* | [**batchUpsertCatalogObjects**](docs/CatalogApi.md#batchUpsertCatalogObjects) | **POST** /v2/catalog/batch-upsert | BatchUpsertCatalogObjects +*SquareConnect.CatalogApi* | [**catalogInfo**](docs/CatalogApi.md#catalogInfo) | **GET** /v2/catalog/info | CatalogInfo +*SquareConnect.CatalogApi* | [**deleteCatalogObject**](docs/CatalogApi.md#deleteCatalogObject) | **DELETE** /v2/catalog/object/{object_id} | DeleteCatalogObject +*SquareConnect.CatalogApi* | [**listCatalog**](docs/CatalogApi.md#listCatalog) | **GET** /v2/catalog/list | ListCatalog +*SquareConnect.CatalogApi* | [**retrieveCatalogObject**](docs/CatalogApi.md#retrieveCatalogObject) | **GET** /v2/catalog/object/{object_id} | RetrieveCatalogObject +*SquareConnect.CatalogApi* | [**searchCatalogItems**](docs/CatalogApi.md#searchCatalogItems) | **POST** /v2/catalog/search-catalog-items | SearchCatalogItems +*SquareConnect.CatalogApi* | [**searchCatalogObjects**](docs/CatalogApi.md#searchCatalogObjects) | **POST** /v2/catalog/search | SearchCatalogObjects +*SquareConnect.CatalogApi* | [**updateItemModifierLists**](docs/CatalogApi.md#updateItemModifierLists) | **POST** /v2/catalog/update-item-modifier-lists | UpdateItemModifierLists +*SquareConnect.CatalogApi* | [**updateItemTaxes**](docs/CatalogApi.md#updateItemTaxes) | **POST** /v2/catalog/update-item-taxes | UpdateItemTaxes +*SquareConnect.CatalogApi* | [**upsertCatalogObject**](docs/CatalogApi.md#upsertCatalogObject) | **POST** /v2/catalog/object | UpsertCatalogObject +*SquareConnect.CheckoutApi* | [**createCheckout**](docs/CheckoutApi.md#createCheckout) | **POST** /v2/locations/{location_id}/checkouts | CreateCheckout +*SquareConnect.CustomerGroupsApi* | [**createCustomerGroup**](docs/CustomerGroupsApi.md#createCustomerGroup) | **POST** /v2/customers/groups | CreateCustomerGroup +*SquareConnect.CustomerGroupsApi* | [**deleteCustomerGroup**](docs/CustomerGroupsApi.md#deleteCustomerGroup) | **DELETE** /v2/customers/groups/{group_id} | DeleteCustomerGroup +*SquareConnect.CustomerGroupsApi* | [**listCustomerGroups**](docs/CustomerGroupsApi.md#listCustomerGroups) | **GET** /v2/customers/groups | ListCustomerGroups +*SquareConnect.CustomerGroupsApi* | [**retrieveCustomerGroup**](docs/CustomerGroupsApi.md#retrieveCustomerGroup) | **GET** /v2/customers/groups/{group_id} | RetrieveCustomerGroup +*SquareConnect.CustomerGroupsApi* | [**updateCustomerGroup**](docs/CustomerGroupsApi.md#updateCustomerGroup) | **PUT** /v2/customers/groups/{group_id} | UpdateCustomerGroup +*SquareConnect.CustomerSegmentsApi* | [**listCustomerSegments**](docs/CustomerSegmentsApi.md#listCustomerSegments) | **GET** /v2/customers/segments | ListCustomerSegments +*SquareConnect.CustomerSegmentsApi* | [**retrieveCustomerSegment**](docs/CustomerSegmentsApi.md#retrieveCustomerSegment) | **GET** /v2/customers/segments/{segment_id} | RetrieveCustomerSegment +*SquareConnect.CustomersApi* | [**addGroupToCustomer**](docs/CustomersApi.md#addGroupToCustomer) | **PUT** /v2/customers/{customer_id}/groups/{group_id} | AddGroupToCustomer +*SquareConnect.CustomersApi* | [**createCustomer**](docs/CustomersApi.md#createCustomer) | **POST** /v2/customers | CreateCustomer +*SquareConnect.CustomersApi* | [**createCustomerCard**](docs/CustomersApi.md#createCustomerCard) | **POST** /v2/customers/{customer_id}/cards | CreateCustomerCard +*SquareConnect.CustomersApi* | [**deleteCustomer**](docs/CustomersApi.md#deleteCustomer) | **DELETE** /v2/customers/{customer_id} | DeleteCustomer +*SquareConnect.CustomersApi* | [**deleteCustomerCard**](docs/CustomersApi.md#deleteCustomerCard) | **DELETE** /v2/customers/{customer_id}/cards/{card_id} | DeleteCustomerCard +*SquareConnect.CustomersApi* | [**listCustomers**](docs/CustomersApi.md#listCustomers) | **GET** /v2/customers | ListCustomers +*SquareConnect.CustomersApi* | [**removeGroupFromCustomer**](docs/CustomersApi.md#removeGroupFromCustomer) | **DELETE** /v2/customers/{customer_id}/groups/{group_id} | RemoveGroupFromCustomer +*SquareConnect.CustomersApi* | [**retrieveCustomer**](docs/CustomersApi.md#retrieveCustomer) | **GET** /v2/customers/{customer_id} | RetrieveCustomer +*SquareConnect.CustomersApi* | [**searchCustomers**](docs/CustomersApi.md#searchCustomers) | **POST** /v2/customers/search | SearchCustomers +*SquareConnect.CustomersApi* | [**updateCustomer**](docs/CustomersApi.md#updateCustomer) | **PUT** /v2/customers/{customer_id} | UpdateCustomer +*SquareConnect.DevicesApi* | [**createDeviceCode**](docs/DevicesApi.md#createDeviceCode) | **POST** /v2/devices/codes | CreateDeviceCode +*SquareConnect.DevicesApi* | [**getDeviceCode**](docs/DevicesApi.md#getDeviceCode) | **GET** /v2/devices/codes/{id} | GetDeviceCode +*SquareConnect.DevicesApi* | [**listDeviceCodes**](docs/DevicesApi.md#listDeviceCodes) | **GET** /v2/devices/codes | ListDeviceCodes +*SquareConnect.DisputesApi* | [**acceptDispute**](docs/DisputesApi.md#acceptDispute) | **POST** /v2/disputes/{dispute_id}/accept | AcceptDispute +*SquareConnect.DisputesApi* | [**createDisputeEvidenceText**](docs/DisputesApi.md#createDisputeEvidenceText) | **POST** /v2/disputes/{dispute_id}/evidence_text | CreateDisputeEvidenceText +*SquareConnect.DisputesApi* | [**listDisputeEvidence**](docs/DisputesApi.md#listDisputeEvidence) | **GET** /v2/disputes/{dispute_id}/evidence | ListDisputeEvidence +*SquareConnect.DisputesApi* | [**listDisputes**](docs/DisputesApi.md#listDisputes) | **GET** /v2/disputes | ListDisputes +*SquareConnect.DisputesApi* | [**removeDisputeEvidence**](docs/DisputesApi.md#removeDisputeEvidence) | **DELETE** /v2/disputes/{dispute_id}/evidence/{evidence_id} | RemoveDisputeEvidence +*SquareConnect.DisputesApi* | [**retrieveDispute**](docs/DisputesApi.md#retrieveDispute) | **GET** /v2/disputes/{dispute_id} | RetrieveDispute +*SquareConnect.DisputesApi* | [**retrieveDisputeEvidence**](docs/DisputesApi.md#retrieveDisputeEvidence) | **GET** /v2/disputes/{dispute_id}/evidence/{evidence_id} | RetrieveDisputeEvidence +*SquareConnect.DisputesApi* | [**submitEvidence**](docs/DisputesApi.md#submitEvidence) | **POST** /v2/disputes/{dispute_id}/submit-evidence | SubmitEvidence +*SquareConnect.EmployeesApi* | [**listEmployees**](docs/EmployeesApi.md#listEmployees) | **GET** /v2/employees | ListEmployees +*SquareConnect.EmployeesApi* | [**retrieveEmployee**](docs/EmployeesApi.md#retrieveEmployee) | **GET** /v2/employees/{id} | RetrieveEmployee +*SquareConnect.InventoryApi* | [**batchChangeInventory**](docs/InventoryApi.md#batchChangeInventory) | **POST** /v2/inventory/batch-change | BatchChangeInventory +*SquareConnect.InventoryApi* | [**batchRetrieveInventoryChanges**](docs/InventoryApi.md#batchRetrieveInventoryChanges) | **POST** /v2/inventory/batch-retrieve-changes | BatchRetrieveInventoryChanges +*SquareConnect.InventoryApi* | [**batchRetrieveInventoryCounts**](docs/InventoryApi.md#batchRetrieveInventoryCounts) | **POST** /v2/inventory/batch-retrieve-counts | BatchRetrieveInventoryCounts +*SquareConnect.InventoryApi* | [**retrieveInventoryAdjustment**](docs/InventoryApi.md#retrieveInventoryAdjustment) | **GET** /v2/inventory/adjustment/{adjustment_id} | RetrieveInventoryAdjustment +*SquareConnect.InventoryApi* | [**retrieveInventoryChanges**](docs/InventoryApi.md#retrieveInventoryChanges) | **GET** /v2/inventory/{catalog_object_id}/changes | RetrieveInventoryChanges +*SquareConnect.InventoryApi* | [**retrieveInventoryCount**](docs/InventoryApi.md#retrieveInventoryCount) | **GET** /v2/inventory/{catalog_object_id} | RetrieveInventoryCount +*SquareConnect.InventoryApi* | [**retrieveInventoryPhysicalCount**](docs/InventoryApi.md#retrieveInventoryPhysicalCount) | **GET** /v2/inventory/physical-count/{physical_count_id} | RetrieveInventoryPhysicalCount +*SquareConnect.InvoicesApi* | [**cancelInvoice**](docs/InvoicesApi.md#cancelInvoice) | **POST** /v2/invoices/{invoice_id}/cancel | CancelInvoice +*SquareConnect.InvoicesApi* | [**createInvoice**](docs/InvoicesApi.md#createInvoice) | **POST** /v2/invoices | CreateInvoice +*SquareConnect.InvoicesApi* | [**deleteInvoice**](docs/InvoicesApi.md#deleteInvoice) | **DELETE** /v2/invoices/{invoice_id} | DeleteInvoice +*SquareConnect.InvoicesApi* | [**getInvoice**](docs/InvoicesApi.md#getInvoice) | **GET** /v2/invoices/{invoice_id} | GetInvoice +*SquareConnect.InvoicesApi* | [**listInvoices**](docs/InvoicesApi.md#listInvoices) | **GET** /v2/invoices | ListInvoices +*SquareConnect.InvoicesApi* | [**publishInvoice**](docs/InvoicesApi.md#publishInvoice) | **POST** /v2/invoices/{invoice_id}/publish | PublishInvoice +*SquareConnect.InvoicesApi* | [**searchInvoices**](docs/InvoicesApi.md#searchInvoices) | **POST** /v2/invoices/search | SearchInvoices +*SquareConnect.InvoicesApi* | [**updateInvoice**](docs/InvoicesApi.md#updateInvoice) | **PUT** /v2/invoices/{invoice_id} | UpdateInvoice +*SquareConnect.LaborApi* | [**createBreakType**](docs/LaborApi.md#createBreakType) | **POST** /v2/labor/break-types | CreateBreakType +*SquareConnect.LaborApi* | [**createShift**](docs/LaborApi.md#createShift) | **POST** /v2/labor/shifts | CreateShift +*SquareConnect.LaborApi* | [**deleteBreakType**](docs/LaborApi.md#deleteBreakType) | **DELETE** /v2/labor/break-types/{id} | DeleteBreakType +*SquareConnect.LaborApi* | [**deleteShift**](docs/LaborApi.md#deleteShift) | **DELETE** /v2/labor/shifts/{id} | DeleteShift +*SquareConnect.LaborApi* | [**getBreakType**](docs/LaborApi.md#getBreakType) | **GET** /v2/labor/break-types/{id} | GetBreakType +*SquareConnect.LaborApi* | [**getEmployeeWage**](docs/LaborApi.md#getEmployeeWage) | **GET** /v2/labor/employee-wages/{id} | GetEmployeeWage +*SquareConnect.LaborApi* | [**getShift**](docs/LaborApi.md#getShift) | **GET** /v2/labor/shifts/{id} | GetShift +*SquareConnect.LaborApi* | [**getTeamMemberWage**](docs/LaborApi.md#getTeamMemberWage) | **GET** /v2/labor/team-member-wages/{id} | GetTeamMemberWage +*SquareConnect.LaborApi* | [**listBreakTypes**](docs/LaborApi.md#listBreakTypes) | **GET** /v2/labor/break-types | ListBreakTypes +*SquareConnect.LaborApi* | [**listEmployeeWages**](docs/LaborApi.md#listEmployeeWages) | **GET** /v2/labor/employee-wages | ListEmployeeWages +*SquareConnect.LaborApi* | [**listTeamMemberWages**](docs/LaborApi.md#listTeamMemberWages) | **GET** /v2/labor/team-member-wages | ListTeamMemberWages +*SquareConnect.LaborApi* | [**listWorkweekConfigs**](docs/LaborApi.md#listWorkweekConfigs) | **GET** /v2/labor/workweek-configs | ListWorkweekConfigs +*SquareConnect.LaborApi* | [**searchShifts**](docs/LaborApi.md#searchShifts) | **POST** /v2/labor/shifts/search | SearchShifts +*SquareConnect.LaborApi* | [**updateBreakType**](docs/LaborApi.md#updateBreakType) | **PUT** /v2/labor/break-types/{id} | UpdateBreakType +*SquareConnect.LaborApi* | [**updateShift**](docs/LaborApi.md#updateShift) | **PUT** /v2/labor/shifts/{id} | UpdateShift +*SquareConnect.LaborApi* | [**updateWorkweekConfig**](docs/LaborApi.md#updateWorkweekConfig) | **PUT** /v2/labor/workweek-configs/{id} | UpdateWorkweekConfig +*SquareConnect.LocationsApi* | [**createLocation**](docs/LocationsApi.md#createLocation) | **POST** /v2/locations | CreateLocation +*SquareConnect.LocationsApi* | [**listLocations**](docs/LocationsApi.md#listLocations) | **GET** /v2/locations | ListLocations +*SquareConnect.LocationsApi* | [**retrieveLocation**](docs/LocationsApi.md#retrieveLocation) | **GET** /v2/locations/{location_id} | RetrieveLocation +*SquareConnect.LocationsApi* | [**updateLocation**](docs/LocationsApi.md#updateLocation) | **PUT** /v2/locations/{location_id} | UpdateLocation +*SquareConnect.LoyaltyApi* | [**accumulateLoyaltyPoints**](docs/LoyaltyApi.md#accumulateLoyaltyPoints) | **POST** /v2/loyalty/accounts/{account_id}/accumulate | AccumulateLoyaltyPoints +*SquareConnect.LoyaltyApi* | [**adjustLoyaltyPoints**](docs/LoyaltyApi.md#adjustLoyaltyPoints) | **POST** /v2/loyalty/accounts/{account_id}/adjust | AdjustLoyaltyPoints +*SquareConnect.LoyaltyApi* | [**calculateLoyaltyPoints**](docs/LoyaltyApi.md#calculateLoyaltyPoints) | **POST** /v2/loyalty/programs/{program_id}/calculate | CalculateLoyaltyPoints +*SquareConnect.LoyaltyApi* | [**createLoyaltyAccount**](docs/LoyaltyApi.md#createLoyaltyAccount) | **POST** /v2/loyalty/accounts | CreateLoyaltyAccount +*SquareConnect.LoyaltyApi* | [**createLoyaltyReward**](docs/LoyaltyApi.md#createLoyaltyReward) | **POST** /v2/loyalty/rewards | CreateLoyaltyReward +*SquareConnect.LoyaltyApi* | [**deleteLoyaltyReward**](docs/LoyaltyApi.md#deleteLoyaltyReward) | **DELETE** /v2/loyalty/rewards/{reward_id} | DeleteLoyaltyReward +*SquareConnect.LoyaltyApi* | [**listLoyaltyPrograms**](docs/LoyaltyApi.md#listLoyaltyPrograms) | **GET** /v2/loyalty/programs | ListLoyaltyPrograms +*SquareConnect.LoyaltyApi* | [**redeemLoyaltyReward**](docs/LoyaltyApi.md#redeemLoyaltyReward) | **POST** /v2/loyalty/rewards/{reward_id}/redeem | RedeemLoyaltyReward +*SquareConnect.LoyaltyApi* | [**retrieveLoyaltyAccount**](docs/LoyaltyApi.md#retrieveLoyaltyAccount) | **GET** /v2/loyalty/accounts/{account_id} | RetrieveLoyaltyAccount +*SquareConnect.LoyaltyApi* | [**retrieveLoyaltyReward**](docs/LoyaltyApi.md#retrieveLoyaltyReward) | **GET** /v2/loyalty/rewards/{reward_id} | RetrieveLoyaltyReward +*SquareConnect.LoyaltyApi* | [**searchLoyaltyAccounts**](docs/LoyaltyApi.md#searchLoyaltyAccounts) | **POST** /v2/loyalty/accounts/search | SearchLoyaltyAccounts +*SquareConnect.LoyaltyApi* | [**searchLoyaltyEvents**](docs/LoyaltyApi.md#searchLoyaltyEvents) | **POST** /v2/loyalty/events/search | SearchLoyaltyEvents +*SquareConnect.LoyaltyApi* | [**searchLoyaltyRewards**](docs/LoyaltyApi.md#searchLoyaltyRewards) | **POST** /v2/loyalty/rewards/search | SearchLoyaltyRewards +*SquareConnect.MerchantsApi* | [**listMerchants**](docs/MerchantsApi.md#listMerchants) | **GET** /v2/merchants | ListMerchants +*SquareConnect.MerchantsApi* | [**retrieveMerchant**](docs/MerchantsApi.md#retrieveMerchant) | **GET** /v2/merchants/{merchant_id} | RetrieveMerchant +*SquareConnect.MobileAuthorizationApi* | [**createMobileAuthorizationCode**](docs/MobileAuthorizationApi.md#createMobileAuthorizationCode) | **POST** /mobile/authorization-code | CreateMobileAuthorizationCode +*SquareConnect.OAuthApi* | [**obtainToken**](docs/OAuthApi.md#obtainToken) | **POST** /oauth2/token | ObtainToken +*SquareConnect.OAuthApi* | [**renewToken**](docs/OAuthApi.md#renewToken) | **POST** /oauth2/clients/{client_id}/access-token/renew | RenewToken +*SquareConnect.OAuthApi* | [**revokeToken**](docs/OAuthApi.md#revokeToken) | **POST** /oauth2/revoke | RevokeToken +*SquareConnect.OrdersApi* | [**batchRetrieveOrders**](docs/OrdersApi.md#batchRetrieveOrders) | **POST** /v2/orders/batch-retrieve | BatchRetrieveOrders +*SquareConnect.OrdersApi* | [**calculateOrder**](docs/OrdersApi.md#calculateOrder) | **POST** /v2/orders/calculate | CalculateOrder +*SquareConnect.OrdersApi* | [**createOrder**](docs/OrdersApi.md#createOrder) | **POST** /v2/orders | CreateOrder +*SquareConnect.OrdersApi* | [**payOrder**](docs/OrdersApi.md#payOrder) | **POST** /v2/orders/{order_id}/pay | PayOrder +*SquareConnect.OrdersApi* | [**retrieveOrder**](docs/OrdersApi.md#retrieveOrder) | **GET** /v2/orders/{order_id} | RetrieveOrder +*SquareConnect.OrdersApi* | [**searchOrders**](docs/OrdersApi.md#searchOrders) | **POST** /v2/orders/search | SearchOrders +*SquareConnect.OrdersApi* | [**updateOrder**](docs/OrdersApi.md#updateOrder) | **PUT** /v2/orders/{order_id} | UpdateOrder +*SquareConnect.PaymentsApi* | [**cancelPayment**](docs/PaymentsApi.md#cancelPayment) | **POST** /v2/payments/{payment_id}/cancel | CancelPayment +*SquareConnect.PaymentsApi* | [**cancelPaymentByIdempotencyKey**](docs/PaymentsApi.md#cancelPaymentByIdempotencyKey) | **POST** /v2/payments/cancel | CancelPaymentByIdempotencyKey +*SquareConnect.PaymentsApi* | [**completePayment**](docs/PaymentsApi.md#completePayment) | **POST** /v2/payments/{payment_id}/complete | CompletePayment +*SquareConnect.PaymentsApi* | [**createPayment**](docs/PaymentsApi.md#createPayment) | **POST** /v2/payments | CreatePayment +*SquareConnect.PaymentsApi* | [**getPayment**](docs/PaymentsApi.md#getPayment) | **GET** /v2/payments/{payment_id} | GetPayment +*SquareConnect.PaymentsApi* | [**listPayments**](docs/PaymentsApi.md#listPayments) | **GET** /v2/payments | ListPayments +*SquareConnect.RefundsApi* | [**getPaymentRefund**](docs/RefundsApi.md#getPaymentRefund) | **GET** /v2/refunds/{refund_id} | GetPaymentRefund +*SquareConnect.RefundsApi* | [**listPaymentRefunds**](docs/RefundsApi.md#listPaymentRefunds) | **GET** /v2/refunds | ListPaymentRefunds +*SquareConnect.RefundsApi* | [**refundPayment**](docs/RefundsApi.md#refundPayment) | **POST** /v2/refunds | RefundPayment +*SquareConnect.SubscriptionsApi* | [**cancelSubscription**](docs/SubscriptionsApi.md#cancelSubscription) | **POST** /v2/subscriptions/{subscription_id}/cancel | CancelSubscription +*SquareConnect.SubscriptionsApi* | [**createSubscription**](docs/SubscriptionsApi.md#createSubscription) | **POST** /v2/subscriptions | CreateSubscription +*SquareConnect.SubscriptionsApi* | [**listSubscriptionEvents**](docs/SubscriptionsApi.md#listSubscriptionEvents) | **GET** /v2/subscriptions/{subscription_id}/events | ListSubscriptionEvents +*SquareConnect.SubscriptionsApi* | [**retrieveSubscription**](docs/SubscriptionsApi.md#retrieveSubscription) | **GET** /v2/subscriptions/{subscription_id} | RetrieveSubscription +*SquareConnect.SubscriptionsApi* | [**searchSubscriptions**](docs/SubscriptionsApi.md#searchSubscriptions) | **POST** /v2/subscriptions/search | SearchSubscriptions +*SquareConnect.SubscriptionsApi* | [**updateSubscription**](docs/SubscriptionsApi.md#updateSubscription) | **PUT** /v2/subscriptions/{subscription_id} | UpdateSubscription +*SquareConnect.TeamApi* | [**bulkCreateTeamMembers**](docs/TeamApi.md#bulkCreateTeamMembers) | **POST** /v2/team-members/bulk-create | BulkCreateTeamMembers +*SquareConnect.TeamApi* | [**bulkUpdateTeamMembers**](docs/TeamApi.md#bulkUpdateTeamMembers) | **POST** /v2/team-members/bulk-update | BulkUpdateTeamMembers +*SquareConnect.TeamApi* | [**createTeamMember**](docs/TeamApi.md#createTeamMember) | **POST** /v2/team-members | CreateTeamMember +*SquareConnect.TeamApi* | [**retrieveTeamMember**](docs/TeamApi.md#retrieveTeamMember) | **GET** /v2/team-members/{team_member_id} | RetrieveTeamMember +*SquareConnect.TeamApi* | [**retrieveWageSetting**](docs/TeamApi.md#retrieveWageSetting) | **GET** /v2/team-members/{team_member_id}/wage-setting | RetrieveWageSetting +*SquareConnect.TeamApi* | [**searchTeamMembers**](docs/TeamApi.md#searchTeamMembers) | **POST** /v2/team-members/search | SearchTeamMembers +*SquareConnect.TeamApi* | [**updateTeamMember**](docs/TeamApi.md#updateTeamMember) | **PUT** /v2/team-members/{team_member_id} | UpdateTeamMember +*SquareConnect.TeamApi* | [**updateWageSetting**](docs/TeamApi.md#updateWageSetting) | **PUT** /v2/team-members/{team_member_id}/wage-setting | UpdateWageSetting +*SquareConnect.TerminalApi* | [**cancelTerminalCheckout**](docs/TerminalApi.md#cancelTerminalCheckout) | **POST** /v2/terminals/checkouts/{checkout_id}/cancel | CancelTerminalCheckout +*SquareConnect.TerminalApi* | [**cancelTerminalRefund**](docs/TerminalApi.md#cancelTerminalRefund) | **POST** /v2/terminals/refunds/{terminal_refund_id}/cancel | CancelTerminalRefund +*SquareConnect.TerminalApi* | [**createTerminalCheckout**](docs/TerminalApi.md#createTerminalCheckout) | **POST** /v2/terminals/checkouts | CreateTerminalCheckout +*SquareConnect.TerminalApi* | [**createTerminalRefund**](docs/TerminalApi.md#createTerminalRefund) | **POST** /v2/terminals/refunds | CreateTerminalRefund +*SquareConnect.TerminalApi* | [**getTerminalCheckout**](docs/TerminalApi.md#getTerminalCheckout) | **GET** /v2/terminals/checkouts/{checkout_id} | GetTerminalCheckout +*SquareConnect.TerminalApi* | [**getTerminalRefund**](docs/TerminalApi.md#getTerminalRefund) | **GET** /v2/terminals/refunds/{terminal_refund_id} | GetTerminalRefund +*SquareConnect.TerminalApi* | [**searchTerminalCheckouts**](docs/TerminalApi.md#searchTerminalCheckouts) | **POST** /v2/terminals/checkouts/search | SearchTerminalCheckouts +*SquareConnect.TerminalApi* | [**searchTerminalRefunds**](docs/TerminalApi.md#searchTerminalRefunds) | **POST** /v2/terminals/refunds/search | SearchTerminalRefunds +*SquareConnect.TransactionsApi* | [**captureTransaction**](docs/TransactionsApi.md#captureTransaction) | **POST** /v2/locations/{location_id}/transactions/{transaction_id}/capture | CaptureTransaction +*SquareConnect.TransactionsApi* | [**charge**](docs/TransactionsApi.md#charge) | **POST** /v2/locations/{location_id}/transactions | Charge +*SquareConnect.TransactionsApi* | [**createRefund**](docs/TransactionsApi.md#createRefund) | **POST** /v2/locations/{location_id}/transactions/{transaction_id}/refund | CreateRefund +*SquareConnect.TransactionsApi* | [**listRefunds**](docs/TransactionsApi.md#listRefunds) | **GET** /v2/locations/{location_id}/refunds | ListRefunds +*SquareConnect.TransactionsApi* | [**listTransactions**](docs/TransactionsApi.md#listTransactions) | **GET** /v2/locations/{location_id}/transactions | ListTransactions +*SquareConnect.TransactionsApi* | [**retrieveTransaction**](docs/TransactionsApi.md#retrieveTransaction) | **GET** /v2/locations/{location_id}/transactions/{transaction_id} | RetrieveTransaction +*SquareConnect.TransactionsApi* | [**voidTransaction**](docs/TransactionsApi.md#voidTransaction) | **POST** /v2/locations/{location_id}/transactions/{transaction_id}/void | VoidTransaction +*SquareConnect.V1EmployeesApi* | [**createEmployee**](docs/V1EmployeesApi.md#createEmployee) | **POST** /v1/me/employees | CreateEmployee +*SquareConnect.V1EmployeesApi* | [**createEmployeeRole**](docs/V1EmployeesApi.md#createEmployeeRole) | **POST** /v1/me/roles | CreateEmployeeRole +*SquareConnect.V1EmployeesApi* | [**createTimecard**](docs/V1EmployeesApi.md#createTimecard) | **POST** /v1/me/timecards | CreateTimecard +*SquareConnect.V1EmployeesApi* | [**deleteTimecard**](docs/V1EmployeesApi.md#deleteTimecard) | **DELETE** /v1/me/timecards/{timecard_id} | DeleteTimecard +*SquareConnect.V1EmployeesApi* | [**listCashDrawerShifts**](docs/V1EmployeesApi.md#listCashDrawerShifts) | **GET** /v1/{location_id}/cash-drawer-shifts | ListCashDrawerShifts +*SquareConnect.V1EmployeesApi* | [**listEmployeeRoles**](docs/V1EmployeesApi.md#listEmployeeRoles) | **GET** /v1/me/roles | ListEmployeeRoles +*SquareConnect.V1EmployeesApi* | [**listEmployees**](docs/V1EmployeesApi.md#listEmployees) | **GET** /v1/me/employees | ListEmployees +*SquareConnect.V1EmployeesApi* | [**listTimecardEvents**](docs/V1EmployeesApi.md#listTimecardEvents) | **GET** /v1/me/timecards/{timecard_id}/events | ListTimecardEvents +*SquareConnect.V1EmployeesApi* | [**listTimecards**](docs/V1EmployeesApi.md#listTimecards) | **GET** /v1/me/timecards | ListTimecards +*SquareConnect.V1EmployeesApi* | [**retrieveCashDrawerShift**](docs/V1EmployeesApi.md#retrieveCashDrawerShift) | **GET** /v1/{location_id}/cash-drawer-shifts/{shift_id} | RetrieveCashDrawerShift +*SquareConnect.V1EmployeesApi* | [**retrieveEmployee**](docs/V1EmployeesApi.md#retrieveEmployee) | **GET** /v1/me/employees/{employee_id} | RetrieveEmployee +*SquareConnect.V1EmployeesApi* | [**retrieveEmployeeRole**](docs/V1EmployeesApi.md#retrieveEmployeeRole) | **GET** /v1/me/roles/{role_id} | RetrieveEmployeeRole +*SquareConnect.V1EmployeesApi* | [**retrieveTimecard**](docs/V1EmployeesApi.md#retrieveTimecard) | **GET** /v1/me/timecards/{timecard_id} | RetrieveTimecard +*SquareConnect.V1EmployeesApi* | [**updateEmployee**](docs/V1EmployeesApi.md#updateEmployee) | **PUT** /v1/me/employees/{employee_id} | UpdateEmployee +*SquareConnect.V1EmployeesApi* | [**updateEmployeeRole**](docs/V1EmployeesApi.md#updateEmployeeRole) | **PUT** /v1/me/roles/{role_id} | UpdateEmployeeRole +*SquareConnect.V1EmployeesApi* | [**updateTimecard**](docs/V1EmployeesApi.md#updateTimecard) | **PUT** /v1/me/timecards/{timecard_id} | UpdateTimecard +*SquareConnect.V1ItemsApi* | [**adjustInventory**](docs/V1ItemsApi.md#adjustInventory) | **POST** /v1/{location_id}/inventory/{variation_id} | AdjustInventory +*SquareConnect.V1ItemsApi* | [**applyFee**](docs/V1ItemsApi.md#applyFee) | **PUT** /v1/{location_id}/items/{item_id}/fees/{fee_id} | ApplyFee +*SquareConnect.V1ItemsApi* | [**applyModifierList**](docs/V1ItemsApi.md#applyModifierList) | **PUT** /v1/{location_id}/items/{item_id}/modifier-lists/{modifier_list_id} | ApplyModifierList +*SquareConnect.V1ItemsApi* | [**createCategory**](docs/V1ItemsApi.md#createCategory) | **POST** /v1/{location_id}/categories | CreateCategory +*SquareConnect.V1ItemsApi* | [**createDiscount**](docs/V1ItemsApi.md#createDiscount) | **POST** /v1/{location_id}/discounts | CreateDiscount +*SquareConnect.V1ItemsApi* | [**createFee**](docs/V1ItemsApi.md#createFee) | **POST** /v1/{location_id}/fees | CreateFee +*SquareConnect.V1ItemsApi* | [**createItem**](docs/V1ItemsApi.md#createItem) | **POST** /v1/{location_id}/items | CreateItem +*SquareConnect.V1ItemsApi* | [**createModifierList**](docs/V1ItemsApi.md#createModifierList) | **POST** /v1/{location_id}/modifier-lists | CreateModifierList +*SquareConnect.V1ItemsApi* | [**createModifierOption**](docs/V1ItemsApi.md#createModifierOption) | **POST** /v1/{location_id}/modifier-lists/{modifier_list_id}/modifier-options | CreateModifierOption +*SquareConnect.V1ItemsApi* | [**createPage**](docs/V1ItemsApi.md#createPage) | **POST** /v1/{location_id}/pages | CreatePage +*SquareConnect.V1ItemsApi* | [**createVariation**](docs/V1ItemsApi.md#createVariation) | **POST** /v1/{location_id}/items/{item_id}/variations | CreateVariation +*SquareConnect.V1ItemsApi* | [**deleteCategory**](docs/V1ItemsApi.md#deleteCategory) | **DELETE** /v1/{location_id}/categories/{category_id} | DeleteCategory +*SquareConnect.V1ItemsApi* | [**deleteDiscount**](docs/V1ItemsApi.md#deleteDiscount) | **DELETE** /v1/{location_id}/discounts/{discount_id} | DeleteDiscount +*SquareConnect.V1ItemsApi* | [**deleteFee**](docs/V1ItemsApi.md#deleteFee) | **DELETE** /v1/{location_id}/fees/{fee_id} | DeleteFee +*SquareConnect.V1ItemsApi* | [**deleteItem**](docs/V1ItemsApi.md#deleteItem) | **DELETE** /v1/{location_id}/items/{item_id} | DeleteItem +*SquareConnect.V1ItemsApi* | [**deleteModifierList**](docs/V1ItemsApi.md#deleteModifierList) | **DELETE** /v1/{location_id}/modifier-lists/{modifier_list_id} | DeleteModifierList +*SquareConnect.V1ItemsApi* | [**deleteModifierOption**](docs/V1ItemsApi.md#deleteModifierOption) | **DELETE** /v1/{location_id}/modifier-lists/{modifier_list_id}/modifier-options/{modifier_option_id} | DeleteModifierOption +*SquareConnect.V1ItemsApi* | [**deletePage**](docs/V1ItemsApi.md#deletePage) | **DELETE** /v1/{location_id}/pages/{page_id} | DeletePage +*SquareConnect.V1ItemsApi* | [**deletePageCell**](docs/V1ItemsApi.md#deletePageCell) | **DELETE** /v1/{location_id}/pages/{page_id}/cells | DeletePageCell +*SquareConnect.V1ItemsApi* | [**deleteVariation**](docs/V1ItemsApi.md#deleteVariation) | **DELETE** /v1/{location_id}/items/{item_id}/variations/{variation_id} | DeleteVariation +*SquareConnect.V1ItemsApi* | [**listCategories**](docs/V1ItemsApi.md#listCategories) | **GET** /v1/{location_id}/categories | ListCategories +*SquareConnect.V1ItemsApi* | [**listDiscounts**](docs/V1ItemsApi.md#listDiscounts) | **GET** /v1/{location_id}/discounts | ListDiscounts +*SquareConnect.V1ItemsApi* | [**listFees**](docs/V1ItemsApi.md#listFees) | **GET** /v1/{location_id}/fees | ListFees +*SquareConnect.V1ItemsApi* | [**listInventory**](docs/V1ItemsApi.md#listInventory) | **GET** /v1/{location_id}/inventory | ListInventory +*SquareConnect.V1ItemsApi* | [**listItems**](docs/V1ItemsApi.md#listItems) | **GET** /v1/{location_id}/items | ListItems +*SquareConnect.V1ItemsApi* | [**listModifierLists**](docs/V1ItemsApi.md#listModifierLists) | **GET** /v1/{location_id}/modifier-lists | ListModifierLists +*SquareConnect.V1ItemsApi* | [**listPages**](docs/V1ItemsApi.md#listPages) | **GET** /v1/{location_id}/pages | ListPages +*SquareConnect.V1ItemsApi* | [**removeFee**](docs/V1ItemsApi.md#removeFee) | **DELETE** /v1/{location_id}/items/{item_id}/fees/{fee_id} | RemoveFee +*SquareConnect.V1ItemsApi* | [**removeModifierList**](docs/V1ItemsApi.md#removeModifierList) | **DELETE** /v1/{location_id}/items/{item_id}/modifier-lists/{modifier_list_id} | RemoveModifierList +*SquareConnect.V1ItemsApi* | [**retrieveItem**](docs/V1ItemsApi.md#retrieveItem) | **GET** /v1/{location_id}/items/{item_id} | RetrieveItem +*SquareConnect.V1ItemsApi* | [**retrieveModifierList**](docs/V1ItemsApi.md#retrieveModifierList) | **GET** /v1/{location_id}/modifier-lists/{modifier_list_id} | RetrieveModifierList +*SquareConnect.V1ItemsApi* | [**updateCategory**](docs/V1ItemsApi.md#updateCategory) | **PUT** /v1/{location_id}/categories/{category_id} | UpdateCategory +*SquareConnect.V1ItemsApi* | [**updateDiscount**](docs/V1ItemsApi.md#updateDiscount) | **PUT** /v1/{location_id}/discounts/{discount_id} | UpdateDiscount +*SquareConnect.V1ItemsApi* | [**updateFee**](docs/V1ItemsApi.md#updateFee) | **PUT** /v1/{location_id}/fees/{fee_id} | UpdateFee +*SquareConnect.V1ItemsApi* | [**updateItem**](docs/V1ItemsApi.md#updateItem) | **PUT** /v1/{location_id}/items/{item_id} | UpdateItem +*SquareConnect.V1ItemsApi* | [**updateModifierList**](docs/V1ItemsApi.md#updateModifierList) | **PUT** /v1/{location_id}/modifier-lists/{modifier_list_id} | UpdateModifierList +*SquareConnect.V1ItemsApi* | [**updateModifierOption**](docs/V1ItemsApi.md#updateModifierOption) | **PUT** /v1/{location_id}/modifier-lists/{modifier_list_id}/modifier-options/{modifier_option_id} | UpdateModifierOption +*SquareConnect.V1ItemsApi* | [**updatePage**](docs/V1ItemsApi.md#updatePage) | **PUT** /v1/{location_id}/pages/{page_id} | UpdatePage +*SquareConnect.V1ItemsApi* | [**updatePageCell**](docs/V1ItemsApi.md#updatePageCell) | **PUT** /v1/{location_id}/pages/{page_id}/cells | UpdatePageCell +*SquareConnect.V1ItemsApi* | [**updateVariation**](docs/V1ItemsApi.md#updateVariation) | **PUT** /v1/{location_id}/items/{item_id}/variations/{variation_id} | UpdateVariation +*SquareConnect.V1TransactionsApi* | [**createRefund**](docs/V1TransactionsApi.md#createRefund) | **POST** /v1/{location_id}/refunds | CreateRefund +*SquareConnect.V1TransactionsApi* | [**listBankAccounts**](docs/V1TransactionsApi.md#listBankAccounts) | **GET** /v1/{location_id}/bank-accounts | ListBankAccounts +*SquareConnect.V1TransactionsApi* | [**listOrders**](docs/V1TransactionsApi.md#listOrders) | **GET** /v1/{location_id}/orders | ListOrders +*SquareConnect.V1TransactionsApi* | [**listPayments**](docs/V1TransactionsApi.md#listPayments) | **GET** /v1/{location_id}/payments | ListPayments +*SquareConnect.V1TransactionsApi* | [**listRefunds**](docs/V1TransactionsApi.md#listRefunds) | **GET** /v1/{location_id}/refunds | ListRefunds +*SquareConnect.V1TransactionsApi* | [**listSettlements**](docs/V1TransactionsApi.md#listSettlements) | **GET** /v1/{location_id}/settlements | ListSettlements +*SquareConnect.V1TransactionsApi* | [**retrieveBankAccount**](docs/V1TransactionsApi.md#retrieveBankAccount) | **GET** /v1/{location_id}/bank-accounts/{bank_account_id} | RetrieveBankAccount +*SquareConnect.V1TransactionsApi* | [**retrieveOrder**](docs/V1TransactionsApi.md#retrieveOrder) | **GET** /v1/{location_id}/orders/{order_id} | RetrieveOrder +*SquareConnect.V1TransactionsApi* | [**retrievePayment**](docs/V1TransactionsApi.md#retrievePayment) | **GET** /v1/{location_id}/payments/{payment_id} | RetrievePayment +*SquareConnect.V1TransactionsApi* | [**retrieveSettlement**](docs/V1TransactionsApi.md#retrieveSettlement) | **GET** /v1/{location_id}/settlements/{settlement_id} | RetrieveSettlement +*SquareConnect.V1TransactionsApi* | [**updateOrder**](docs/V1TransactionsApi.md#updateOrder) | **PUT** /v1/{location_id}/orders/{order_id} | UpdateOrder ## Documentation for Models - - [SquareConnect.AcceptDisputeRequest](AcceptDisputeRequest.md) - - [SquareConnect.AcceptDisputeResponse](AcceptDisputeResponse.md) - - [SquareConnect.AccumulateLoyaltyPointsRequest](AccumulateLoyaltyPointsRequest.md) - - [SquareConnect.AccumulateLoyaltyPointsResponse](AccumulateLoyaltyPointsResponse.md) - - [SquareConnect.ActionCancelReason](ActionCancelReason.md) - - [SquareConnect.AddGroupToCustomerRequest](AddGroupToCustomerRequest.md) - - [SquareConnect.AddGroupToCustomerResponse](AddGroupToCustomerResponse.md) - - [SquareConnect.AdditionalRecipient](AdditionalRecipient.md) - - [SquareConnect.Address](Address.md) - - [SquareConnect.AdjustLoyaltyPointsRequest](AdjustLoyaltyPointsRequest.md) - - [SquareConnect.AdjustLoyaltyPointsResponse](AdjustLoyaltyPointsResponse.md) - - [SquareConnect.AppointmentSegment](AppointmentSegment.md) - - [SquareConnect.Availability](Availability.md) - - [SquareConnect.BalancePaymentDetails](BalancePaymentDetails.md) - - [SquareConnect.BankAccount](BankAccount.md) - - [SquareConnect.BankAccountStatus](BankAccountStatus.md) - - [SquareConnect.BankAccountType](BankAccountType.md) - - [SquareConnect.BatchChangeInventoryRequest](BatchChangeInventoryRequest.md) - - [SquareConnect.BatchChangeInventoryResponse](BatchChangeInventoryResponse.md) - - [SquareConnect.BatchDeleteCatalogObjectsRequest](BatchDeleteCatalogObjectsRequest.md) - - [SquareConnect.BatchDeleteCatalogObjectsResponse](BatchDeleteCatalogObjectsResponse.md) - - [SquareConnect.BatchRetrieveCatalogObjectsRequest](BatchRetrieveCatalogObjectsRequest.md) - - [SquareConnect.BatchRetrieveCatalogObjectsResponse](BatchRetrieveCatalogObjectsResponse.md) - - [SquareConnect.BatchRetrieveInventoryChangesRequest](BatchRetrieveInventoryChangesRequest.md) - - [SquareConnect.BatchRetrieveInventoryChangesResponse](BatchRetrieveInventoryChangesResponse.md) - - [SquareConnect.BatchRetrieveInventoryCountsRequest](BatchRetrieveInventoryCountsRequest.md) - - [SquareConnect.BatchRetrieveInventoryCountsResponse](BatchRetrieveInventoryCountsResponse.md) - - [SquareConnect.BatchRetrieveOrdersRequest](BatchRetrieveOrdersRequest.md) - - [SquareConnect.BatchRetrieveOrdersResponse](BatchRetrieveOrdersResponse.md) - - [SquareConnect.BatchUpsertCatalogObjectsRequest](BatchUpsertCatalogObjectsRequest.md) - - [SquareConnect.BatchUpsertCatalogObjectsResponse](BatchUpsertCatalogObjectsResponse.md) - - [SquareConnect.Booking](Booking.md) - - [SquareConnect.BookingStatus](BookingStatus.md) - - [SquareConnect.BreakType](BreakType.md) - - [SquareConnect.BulkCreateTeamMembersRequest](BulkCreateTeamMembersRequest.md) - - [SquareConnect.BulkCreateTeamMembersResponse](BulkCreateTeamMembersResponse.md) - - [SquareConnect.BulkUpdateTeamMembersRequest](BulkUpdateTeamMembersRequest.md) - - [SquareConnect.BulkUpdateTeamMembersResponse](BulkUpdateTeamMembersResponse.md) - - [SquareConnect.BusinessAppointmentSettings](BusinessAppointmentSettings.md) - - [SquareConnect.BusinessAppointmentSettingsAlignmentTime](BusinessAppointmentSettingsAlignmentTime.md) - - [SquareConnect.BusinessAppointmentSettingsBookingLocationType](BusinessAppointmentSettingsBookingLocationType.md) - - [SquareConnect.BusinessAppointmentSettingsCancellationPolicy](BusinessAppointmentSettingsCancellationPolicy.md) - - [SquareConnect.BusinessAppointmentSettingsMaxAppointmentsPerDayLimitType](BusinessAppointmentSettingsMaxAppointmentsPerDayLimitType.md) - - [SquareConnect.BusinessBookingProfile](BusinessBookingProfile.md) - - [SquareConnect.BusinessBookingProfileBookingPolicy](BusinessBookingProfileBookingPolicy.md) - - [SquareConnect.BusinessBookingProfileCustomerTimezoneChoice](BusinessBookingProfileCustomerTimezoneChoice.md) - - [SquareConnect.BusinessHours](BusinessHours.md) - - [SquareConnect.BusinessHoursPeriod](BusinessHoursPeriod.md) - - [SquareConnect.CalculateLoyaltyPointsRequest](CalculateLoyaltyPointsRequest.md) - - [SquareConnect.CalculateLoyaltyPointsResponse](CalculateLoyaltyPointsResponse.md) - - [SquareConnect.CalculateOrderRequest](CalculateOrderRequest.md) - - [SquareConnect.CalculateOrderResponse](CalculateOrderResponse.md) - - [SquareConnect.CancelInvoiceRequest](CancelInvoiceRequest.md) - - [SquareConnect.CancelInvoiceResponse](CancelInvoiceResponse.md) - - [SquareConnect.CancelPaymentByIdempotencyKeyRequest](CancelPaymentByIdempotencyKeyRequest.md) - - [SquareConnect.CancelPaymentByIdempotencyKeyResponse](CancelPaymentByIdempotencyKeyResponse.md) - - [SquareConnect.CancelPaymentRequest](CancelPaymentRequest.md) - - [SquareConnect.CancelPaymentResponse](CancelPaymentResponse.md) - - [SquareConnect.CancelSubscriptionRequest](CancelSubscriptionRequest.md) - - [SquareConnect.CancelSubscriptionResponse](CancelSubscriptionResponse.md) - - [SquareConnect.CancelTerminalCheckoutRequest](CancelTerminalCheckoutRequest.md) - - [SquareConnect.CancelTerminalCheckoutResponse](CancelTerminalCheckoutResponse.md) - - [SquareConnect.CancelTerminalRefundRequest](CancelTerminalRefundRequest.md) - - [SquareConnect.CancelTerminalRefundResponse](CancelTerminalRefundResponse.md) - - [SquareConnect.CaptureTransactionRequest](CaptureTransactionRequest.md) - - [SquareConnect.CaptureTransactionResponse](CaptureTransactionResponse.md) - - [SquareConnect.Card](Card.md) - - [SquareConnect.CardBrand](CardBrand.md) - - [SquareConnect.CardPaymentDetails](CardPaymentDetails.md) - - [SquareConnect.CardPrepaidType](CardPrepaidType.md) - - [SquareConnect.CardSquareProduct](CardSquareProduct.md) - - [SquareConnect.CardType](CardType.md) - - [SquareConnect.CashDrawerDevice](CashDrawerDevice.md) - - [SquareConnect.CashDrawerEventType](CashDrawerEventType.md) - - [SquareConnect.CashDrawerShift](CashDrawerShift.md) - - [SquareConnect.CashDrawerShiftEvent](CashDrawerShiftEvent.md) - - [SquareConnect.CashDrawerShiftState](CashDrawerShiftState.md) - - [SquareConnect.CashDrawerShiftSummary](CashDrawerShiftSummary.md) - - [SquareConnect.CatalogCategory](CatalogCategory.md) - - [SquareConnect.CatalogCustomAttributeDefinition](CatalogCustomAttributeDefinition.md) - - [SquareConnect.CatalogCustomAttributeDefinitionAppVisibility](CatalogCustomAttributeDefinitionAppVisibility.md) - - [SquareConnect.CatalogCustomAttributeDefinitionNumberConfig](CatalogCustomAttributeDefinitionNumberConfig.md) - - [SquareConnect.CatalogCustomAttributeDefinitionSelectionConfig](CatalogCustomAttributeDefinitionSelectionConfig.md) - - [SquareConnect.CatalogCustomAttributeDefinitionSelectionConfigCustomAttributeSelection](CatalogCustomAttributeDefinitionSelectionConfigCustomAttributeSelection.md) - - [SquareConnect.CatalogCustomAttributeDefinitionSellerVisibility](CatalogCustomAttributeDefinitionSellerVisibility.md) - - [SquareConnect.CatalogCustomAttributeDefinitionStringConfig](CatalogCustomAttributeDefinitionStringConfig.md) - - [SquareConnect.CatalogCustomAttributeDefinitionType](CatalogCustomAttributeDefinitionType.md) - - [SquareConnect.CatalogCustomAttributeValue](CatalogCustomAttributeValue.md) - - [SquareConnect.CatalogDiscount](CatalogDiscount.md) - - [SquareConnect.CatalogDiscountModifyTaxBasis](CatalogDiscountModifyTaxBasis.md) - - [SquareConnect.CatalogDiscountType](CatalogDiscountType.md) - - [SquareConnect.CatalogIdMapping](CatalogIdMapping.md) - - [SquareConnect.CatalogImage](CatalogImage.md) - - [SquareConnect.CatalogInfoRequest](CatalogInfoRequest.md) - - [SquareConnect.CatalogInfoResponse](CatalogInfoResponse.md) - - [SquareConnect.CatalogInfoResponseLimits](CatalogInfoResponseLimits.md) - - [SquareConnect.CatalogItem](CatalogItem.md) - - [SquareConnect.CatalogItemModifierListInfo](CatalogItemModifierListInfo.md) - - [SquareConnect.CatalogItemOption](CatalogItemOption.md) - - [SquareConnect.CatalogItemOptionForItem](CatalogItemOptionForItem.md) - - [SquareConnect.CatalogItemOptionValue](CatalogItemOptionValue.md) - - [SquareConnect.CatalogItemOptionValueForItemVariation](CatalogItemOptionValueForItemVariation.md) - - [SquareConnect.CatalogItemProductType](CatalogItemProductType.md) - - [SquareConnect.CatalogItemVariation](CatalogItemVariation.md) - - [SquareConnect.CatalogMeasurementUnit](CatalogMeasurementUnit.md) - - [SquareConnect.CatalogModifier](CatalogModifier.md) - - [SquareConnect.CatalogModifierList](CatalogModifierList.md) - - [SquareConnect.CatalogModifierListSelectionType](CatalogModifierListSelectionType.md) - - [SquareConnect.CatalogModifierOverride](CatalogModifierOverride.md) - - [SquareConnect.CatalogObject](CatalogObject.md) - - [SquareConnect.CatalogObjectBatch](CatalogObjectBatch.md) - - [SquareConnect.CatalogObjectType](CatalogObjectType.md) - - [SquareConnect.CatalogPricingRule](CatalogPricingRule.md) - - [SquareConnect.CatalogPricingType](CatalogPricingType.md) - - [SquareConnect.CatalogProductSet](CatalogProductSet.md) - - [SquareConnect.CatalogQuery](CatalogQuery.md) - - [SquareConnect.CatalogQueryExact](CatalogQueryExact.md) - - [SquareConnect.CatalogQueryItemVariationsForItemOptionValues](CatalogQueryItemVariationsForItemOptionValues.md) - - [SquareConnect.CatalogQueryItemsForItemOptions](CatalogQueryItemsForItemOptions.md) - - [SquareConnect.CatalogQueryItemsForModifierList](CatalogQueryItemsForModifierList.md) - - [SquareConnect.CatalogQueryItemsForTax](CatalogQueryItemsForTax.md) - - [SquareConnect.CatalogQueryPrefix](CatalogQueryPrefix.md) - - [SquareConnect.CatalogQueryRange](CatalogQueryRange.md) - - [SquareConnect.CatalogQuerySet](CatalogQuerySet.md) - - [SquareConnect.CatalogQuerySortedAttribute](CatalogQuerySortedAttribute.md) - - [SquareConnect.CatalogQueryText](CatalogQueryText.md) - - [SquareConnect.CatalogQuickAmount](CatalogQuickAmount.md) - - [SquareConnect.CatalogQuickAmountType](CatalogQuickAmountType.md) - - [SquareConnect.CatalogQuickAmountsSettings](CatalogQuickAmountsSettings.md) - - [SquareConnect.CatalogQuickAmountsSettingsOption](CatalogQuickAmountsSettingsOption.md) - - [SquareConnect.CatalogSubscriptionPlan](CatalogSubscriptionPlan.md) - - [SquareConnect.CatalogTax](CatalogTax.md) - - [SquareConnect.CatalogTimePeriod](CatalogTimePeriod.md) - - [SquareConnect.CatalogV1Id](CatalogV1Id.md) - - [SquareConnect.ChargeRequest](ChargeRequest.md) - - [SquareConnect.ChargeRequestAdditionalRecipient](ChargeRequestAdditionalRecipient.md) - - [SquareConnect.ChargeResponse](ChargeResponse.md) - - [SquareConnect.CheckAppointmentsOnboardedRequest](CheckAppointmentsOnboardedRequest.md) - - [SquareConnect.CheckAppointmentsOnboardedResponse](CheckAppointmentsOnboardedResponse.md) - - [SquareConnect.Checkout](Checkout.md) - - [SquareConnect.CompletePaymentRequest](CompletePaymentRequest.md) - - [SquareConnect.CompletePaymentResponse](CompletePaymentResponse.md) - - [SquareConnect.Coordinates](Coordinates.md) - - [SquareConnect.Country](Country.md) - - [SquareConnect.CreateBookingRequest](CreateBookingRequest.md) - - [SquareConnect.CreateBookingResponse](CreateBookingResponse.md) - - [SquareConnect.CreateBreakTypeRequest](CreateBreakTypeRequest.md) - - [SquareConnect.CreateBreakTypeResponse](CreateBreakTypeResponse.md) - - [SquareConnect.CreateCheckoutRequest](CreateCheckoutRequest.md) - - [SquareConnect.CreateCheckoutResponse](CreateCheckoutResponse.md) - - [SquareConnect.CreateCustomerCardRequest](CreateCustomerCardRequest.md) - - [SquareConnect.CreateCustomerCardResponse](CreateCustomerCardResponse.md) - - [SquareConnect.CreateCustomerGroupRequest](CreateCustomerGroupRequest.md) - - [SquareConnect.CreateCustomerGroupResponse](CreateCustomerGroupResponse.md) - - [SquareConnect.CreateCustomerRequest](CreateCustomerRequest.md) - - [SquareConnect.CreateCustomerResponse](CreateCustomerResponse.md) - - [SquareConnect.CreateDeviceCodeRequest](CreateDeviceCodeRequest.md) - - [SquareConnect.CreateDeviceCodeResponse](CreateDeviceCodeResponse.md) - - [SquareConnect.CreateDisputeEvidenceTextRequest](CreateDisputeEvidenceTextRequest.md) - - [SquareConnect.CreateDisputeEvidenceTextResponse](CreateDisputeEvidenceTextResponse.md) - - [SquareConnect.CreateInvoiceRequest](CreateInvoiceRequest.md) - - [SquareConnect.CreateInvoiceResponse](CreateInvoiceResponse.md) - - [SquareConnect.CreateLocationRequest](CreateLocationRequest.md) - - [SquareConnect.CreateLocationResponse](CreateLocationResponse.md) - - [SquareConnect.CreateLoyaltyAccountRequest](CreateLoyaltyAccountRequest.md) - - [SquareConnect.CreateLoyaltyAccountResponse](CreateLoyaltyAccountResponse.md) - - [SquareConnect.CreateLoyaltyRewardRequest](CreateLoyaltyRewardRequest.md) - - [SquareConnect.CreateLoyaltyRewardResponse](CreateLoyaltyRewardResponse.md) - - [SquareConnect.CreateMobileAuthorizationCodeRequest](CreateMobileAuthorizationCodeRequest.md) - - [SquareConnect.CreateMobileAuthorizationCodeResponse](CreateMobileAuthorizationCodeResponse.md) - - [SquareConnect.CreateOrderRequest](CreateOrderRequest.md) - - [SquareConnect.CreateOrderResponse](CreateOrderResponse.md) - - [SquareConnect.CreatePaymentRequest](CreatePaymentRequest.md) - - [SquareConnect.CreatePaymentResponse](CreatePaymentResponse.md) - - [SquareConnect.CreateRefundRequest](CreateRefundRequest.md) - - [SquareConnect.CreateRefundResponse](CreateRefundResponse.md) - - [SquareConnect.CreateShiftRequest](CreateShiftRequest.md) - - [SquareConnect.CreateShiftResponse](CreateShiftResponse.md) - - [SquareConnect.CreateSubscriptionRequest](CreateSubscriptionRequest.md) - - [SquareConnect.CreateSubscriptionResponse](CreateSubscriptionResponse.md) - - [SquareConnect.CreateTeamMemberRequest](CreateTeamMemberRequest.md) - - [SquareConnect.CreateTeamMemberResponse](CreateTeamMemberResponse.md) - - [SquareConnect.CreateTerminalCheckoutRequest](CreateTerminalCheckoutRequest.md) - - [SquareConnect.CreateTerminalCheckoutResponse](CreateTerminalCheckoutResponse.md) - - [SquareConnect.CreateTerminalRefundRequest](CreateTerminalRefundRequest.md) - - [SquareConnect.CreateTerminalRefundResponse](CreateTerminalRefundResponse.md) - - [SquareConnect.Currency](Currency.md) - - [SquareConnect.CustomAttributeFilter](CustomAttributeFilter.md) - - [SquareConnect.Customer](Customer.md) - - [SquareConnect.CustomerCreationSource](CustomerCreationSource.md) - - [SquareConnect.CustomerCreationSourceFilter](CustomerCreationSourceFilter.md) - - [SquareConnect.CustomerFilter](CustomerFilter.md) - - [SquareConnect.CustomerGroup](CustomerGroup.md) - - [SquareConnect.CustomerGroupInfo](CustomerGroupInfo.md) - - [SquareConnect.CustomerInclusionExclusion](CustomerInclusionExclusion.md) - - [SquareConnect.CustomerPreferences](CustomerPreferences.md) - - [SquareConnect.CustomerQuery](CustomerQuery.md) - - [SquareConnect.CustomerSegment](CustomerSegment.md) - - [SquareConnect.CustomerSort](CustomerSort.md) - - [SquareConnect.CustomerSortField](CustomerSortField.md) - - [SquareConnect.CustomerTextFilter](CustomerTextFilter.md) - - [SquareConnect.DateRange](DateRange.md) - - [SquareConnect.DayOfWeek](DayOfWeek.md) - - [SquareConnect.DeleteBreakTypeRequest](DeleteBreakTypeRequest.md) - - [SquareConnect.DeleteBreakTypeResponse](DeleteBreakTypeResponse.md) - - [SquareConnect.DeleteCatalogObjectRequest](DeleteCatalogObjectRequest.md) - - [SquareConnect.DeleteCatalogObjectResponse](DeleteCatalogObjectResponse.md) - - [SquareConnect.DeleteCustomerCardRequest](DeleteCustomerCardRequest.md) - - [SquareConnect.DeleteCustomerCardResponse](DeleteCustomerCardResponse.md) - - [SquareConnect.DeleteCustomerGroupRequest](DeleteCustomerGroupRequest.md) - - [SquareConnect.DeleteCustomerGroupResponse](DeleteCustomerGroupResponse.md) - - [SquareConnect.DeleteCustomerRequest](DeleteCustomerRequest.md) - - [SquareConnect.DeleteCustomerResponse](DeleteCustomerResponse.md) - - [SquareConnect.DeleteInvoiceRequest](DeleteInvoiceRequest.md) - - [SquareConnect.DeleteInvoiceResponse](DeleteInvoiceResponse.md) - - [SquareConnect.DeleteLoyaltyRewardRequest](DeleteLoyaltyRewardRequest.md) - - [SquareConnect.DeleteLoyaltyRewardResponse](DeleteLoyaltyRewardResponse.md) - - [SquareConnect.DeleteShiftRequest](DeleteShiftRequest.md) - - [SquareConnect.DeleteShiftResponse](DeleteShiftResponse.md) - - [SquareConnect.Device](Device.md) - - [SquareConnect.DeviceCheckoutOptions](DeviceCheckoutOptions.md) - - [SquareConnect.DeviceCode](DeviceCode.md) - - [SquareConnect.DeviceCodeStatus](DeviceCodeStatus.md) - - [SquareConnect.DeviceDetails](DeviceDetails.md) - - [SquareConnect.Dispute](Dispute.md) - - [SquareConnect.DisputeEvidence](DisputeEvidence.md) - - [SquareConnect.DisputeEvidenceFile](DisputeEvidenceFile.md) - - [SquareConnect.DisputeEvidenceType](DisputeEvidenceType.md) - - [SquareConnect.DisputeReason](DisputeReason.md) - - [SquareConnect.DisputeState](DisputeState.md) - - [SquareConnect.DisputedPayment](DisputedPayment.md) - - [SquareConnect.EcomVisibility](EcomVisibility.md) - - [SquareConnect.Employee](Employee.md) - - [SquareConnect.EmployeeStatus](EmployeeStatus.md) - - [SquareConnect.EmployeeWage](EmployeeWage.md) - - [SquareConnect.Error](Error.md) - - [SquareConnect.ErrorCategory](ErrorCategory.md) - - [SquareConnect.ErrorCode](ErrorCode.md) - - [SquareConnect.ExcludeStrategy](ExcludeStrategy.md) - - [SquareConnect.FilterValue](FilterValue.md) - - [SquareConnect.GetBankAccountByV1IdRequest](GetBankAccountByV1IdRequest.md) - - [SquareConnect.GetBankAccountByV1IdResponse](GetBankAccountByV1IdResponse.md) - - [SquareConnect.GetBankAccountRequest](GetBankAccountRequest.md) - - [SquareConnect.GetBankAccountResponse](GetBankAccountResponse.md) - - [SquareConnect.GetBreakTypeRequest](GetBreakTypeRequest.md) - - [SquareConnect.GetBreakTypeResponse](GetBreakTypeResponse.md) - - [SquareConnect.GetDeviceCodeRequest](GetDeviceCodeRequest.md) - - [SquareConnect.GetDeviceCodeResponse](GetDeviceCodeResponse.md) - - [SquareConnect.GetEmployeeWageRequest](GetEmployeeWageRequest.md) - - [SquareConnect.GetEmployeeWageResponse](GetEmployeeWageResponse.md) - - [SquareConnect.GetInvoiceRequest](GetInvoiceRequest.md) - - [SquareConnect.GetInvoiceResponse](GetInvoiceResponse.md) - - [SquareConnect.GetPaymentRefundRequest](GetPaymentRefundRequest.md) - - [SquareConnect.GetPaymentRefundResponse](GetPaymentRefundResponse.md) - - [SquareConnect.GetPaymentRequest](GetPaymentRequest.md) - - [SquareConnect.GetPaymentResponse](GetPaymentResponse.md) - - [SquareConnect.GetShiftRequest](GetShiftRequest.md) - - [SquareConnect.GetShiftResponse](GetShiftResponse.md) - - [SquareConnect.GetTeamMemberWageRequest](GetTeamMemberWageRequest.md) - - [SquareConnect.GetTeamMemberWageResponse](GetTeamMemberWageResponse.md) - - [SquareConnect.GetTerminalCheckoutRequest](GetTerminalCheckoutRequest.md) - - [SquareConnect.GetTerminalCheckoutResponse](GetTerminalCheckoutResponse.md) - - [SquareConnect.GetTerminalRefundRequest](GetTerminalRefundRequest.md) - - [SquareConnect.GetTerminalRefundResponse](GetTerminalRefundResponse.md) - - [SquareConnect.InlineTypes](InlineTypes.md) - - [SquareConnect.InventoryAdjustment](InventoryAdjustment.md) - - [SquareConnect.InventoryAlertType](InventoryAlertType.md) - - [SquareConnect.InventoryChange](InventoryChange.md) - - [SquareConnect.InventoryChangeType](InventoryChangeType.md) - - [SquareConnect.InventoryCount](InventoryCount.md) - - [SquareConnect.InventoryPhysicalCount](InventoryPhysicalCount.md) - - [SquareConnect.InventoryState](InventoryState.md) - - [SquareConnect.InventoryTransfer](InventoryTransfer.md) - - [SquareConnect.Invoice](Invoice.md) - - [SquareConnect.InvoiceFilter](InvoiceFilter.md) - - [SquareConnect.InvoicePaymentReminder](InvoicePaymentReminder.md) - - [SquareConnect.InvoicePaymentReminderStatus](InvoicePaymentReminderStatus.md) - - [SquareConnect.InvoicePaymentRequest](InvoicePaymentRequest.md) - - [SquareConnect.InvoiceQuery](InvoiceQuery.md) - - [SquareConnect.InvoiceRecipient](InvoiceRecipient.md) - - [SquareConnect.InvoiceRequestMethod](InvoiceRequestMethod.md) - - [SquareConnect.InvoiceRequestType](InvoiceRequestType.md) - - [SquareConnect.InvoiceSort](InvoiceSort.md) - - [SquareConnect.InvoiceSortField](InvoiceSortField.md) - - [SquareConnect.InvoiceStatus](InvoiceStatus.md) - - [SquareConnect.ItemVariationLocationOverrides](ItemVariationLocationOverrides.md) - - [SquareConnect.JobAssignment](JobAssignment.md) - - [SquareConnect.JobAssignmentPayType](JobAssignmentPayType.md) - - [SquareConnect.ListBankAccountsRequest](ListBankAccountsRequest.md) - - [SquareConnect.ListBankAccountsResponse](ListBankAccountsResponse.md) - - [SquareConnect.ListBreakTypesRequest](ListBreakTypesRequest.md) - - [SquareConnect.ListBreakTypesResponse](ListBreakTypesResponse.md) - - [SquareConnect.ListCashDrawerShiftEventsRequest](ListCashDrawerShiftEventsRequest.md) - - [SquareConnect.ListCashDrawerShiftEventsResponse](ListCashDrawerShiftEventsResponse.md) - - [SquareConnect.ListCashDrawerShiftsRequest](ListCashDrawerShiftsRequest.md) - - [SquareConnect.ListCashDrawerShiftsResponse](ListCashDrawerShiftsResponse.md) - - [SquareConnect.ListCatalogRequest](ListCatalogRequest.md) - - [SquareConnect.ListCatalogResponse](ListCatalogResponse.md) - - [SquareConnect.ListCustomerGroupsRequest](ListCustomerGroupsRequest.md) - - [SquareConnect.ListCustomerGroupsResponse](ListCustomerGroupsResponse.md) - - [SquareConnect.ListCustomerSegmentsRequest](ListCustomerSegmentsRequest.md) - - [SquareConnect.ListCustomerSegmentsResponse](ListCustomerSegmentsResponse.md) - - [SquareConnect.ListCustomersRequest](ListCustomersRequest.md) - - [SquareConnect.ListCustomersResponse](ListCustomersResponse.md) - - [SquareConnect.ListDeviceCodesRequest](ListDeviceCodesRequest.md) - - [SquareConnect.ListDeviceCodesResponse](ListDeviceCodesResponse.md) - - [SquareConnect.ListDisputeEvidenceRequest](ListDisputeEvidenceRequest.md) - - [SquareConnect.ListDisputeEvidenceResponse](ListDisputeEvidenceResponse.md) - - [SquareConnect.ListDisputesRequest](ListDisputesRequest.md) - - [SquareConnect.ListDisputesResponse](ListDisputesResponse.md) - - [SquareConnect.ListEmployeeWagesRequest](ListEmployeeWagesRequest.md) - - [SquareConnect.ListEmployeeWagesResponse](ListEmployeeWagesResponse.md) - - [SquareConnect.ListEmployeesRequest](ListEmployeesRequest.md) - - [SquareConnect.ListEmployeesResponse](ListEmployeesResponse.md) - - [SquareConnect.ListInvoicesRequest](ListInvoicesRequest.md) - - [SquareConnect.ListInvoicesResponse](ListInvoicesResponse.md) - - [SquareConnect.ListLocationsRequest](ListLocationsRequest.md) - - [SquareConnect.ListLocationsResponse](ListLocationsResponse.md) - - [SquareConnect.ListLoyaltyProgramsRequest](ListLoyaltyProgramsRequest.md) - - [SquareConnect.ListLoyaltyProgramsResponse](ListLoyaltyProgramsResponse.md) - - [SquareConnect.ListMerchantsRequest](ListMerchantsRequest.md) - - [SquareConnect.ListMerchantsResponse](ListMerchantsResponse.md) - - [SquareConnect.ListPaymentRefundsRequest](ListPaymentRefundsRequest.md) - - [SquareConnect.ListPaymentRefundsResponse](ListPaymentRefundsResponse.md) - - [SquareConnect.ListPaymentsRequest](ListPaymentsRequest.md) - - [SquareConnect.ListPaymentsResponse](ListPaymentsResponse.md) - - [SquareConnect.ListRefundsRequest](ListRefundsRequest.md) - - [SquareConnect.ListRefundsResponse](ListRefundsResponse.md) - - [SquareConnect.ListSubscriptionEventsRequest](ListSubscriptionEventsRequest.md) - - [SquareConnect.ListSubscriptionEventsResponse](ListSubscriptionEventsResponse.md) - - [SquareConnect.ListTeamMemberBookingProfilesRequest](ListTeamMemberBookingProfilesRequest.md) - - [SquareConnect.ListTeamMemberBookingProfilesResponse](ListTeamMemberBookingProfilesResponse.md) - - [SquareConnect.ListTeamMemberWagesRequest](ListTeamMemberWagesRequest.md) - - [SquareConnect.ListTeamMemberWagesResponse](ListTeamMemberWagesResponse.md) - - [SquareConnect.ListTransactionsRequest](ListTransactionsRequest.md) - - [SquareConnect.ListTransactionsResponse](ListTransactionsResponse.md) - - [SquareConnect.ListWorkweekConfigsRequest](ListWorkweekConfigsRequest.md) - - [SquareConnect.ListWorkweekConfigsResponse](ListWorkweekConfigsResponse.md) - - [SquareConnect.Location](Location.md) - - [SquareConnect.LocationCapability](LocationCapability.md) - - [SquareConnect.LocationStatus](LocationStatus.md) - - [SquareConnect.LocationType](LocationType.md) - - [SquareConnect.LoyaltyAccount](LoyaltyAccount.md) - - [SquareConnect.LoyaltyAccountMapping](LoyaltyAccountMapping.md) - - [SquareConnect.LoyaltyAccountMappingType](LoyaltyAccountMappingType.md) - - [SquareConnect.LoyaltyEvent](LoyaltyEvent.md) - - [SquareConnect.LoyaltyEventAccumulatePoints](LoyaltyEventAccumulatePoints.md) - - [SquareConnect.LoyaltyEventAdjustPoints](LoyaltyEventAdjustPoints.md) - - [SquareConnect.LoyaltyEventCreateReward](LoyaltyEventCreateReward.md) - - [SquareConnect.LoyaltyEventDateTimeFilter](LoyaltyEventDateTimeFilter.md) - - [SquareConnect.LoyaltyEventDeleteReward](LoyaltyEventDeleteReward.md) - - [SquareConnect.LoyaltyEventExpirePoints](LoyaltyEventExpirePoints.md) - - [SquareConnect.LoyaltyEventFilter](LoyaltyEventFilter.md) - - [SquareConnect.LoyaltyEventLocationFilter](LoyaltyEventLocationFilter.md) - - [SquareConnect.LoyaltyEventLoyaltyAccountFilter](LoyaltyEventLoyaltyAccountFilter.md) - - [SquareConnect.LoyaltyEventOrderFilter](LoyaltyEventOrderFilter.md) - - [SquareConnect.LoyaltyEventOther](LoyaltyEventOther.md) - - [SquareConnect.LoyaltyEventQuery](LoyaltyEventQuery.md) - - [SquareConnect.LoyaltyEventRedeemReward](LoyaltyEventRedeemReward.md) - - [SquareConnect.LoyaltyEventSource](LoyaltyEventSource.md) - - [SquareConnect.LoyaltyEventType](LoyaltyEventType.md) - - [SquareConnect.LoyaltyEventTypeFilter](LoyaltyEventTypeFilter.md) - - [SquareConnect.LoyaltyProgram](LoyaltyProgram.md) - - [SquareConnect.LoyaltyProgramAccrualRule](LoyaltyProgramAccrualRule.md) - - [SquareConnect.LoyaltyProgramAccrualRuleType](LoyaltyProgramAccrualRuleType.md) - - [SquareConnect.LoyaltyProgramExpirationPolicy](LoyaltyProgramExpirationPolicy.md) - - [SquareConnect.LoyaltyProgramRewardDefinition](LoyaltyProgramRewardDefinition.md) - - [SquareConnect.LoyaltyProgramRewardDefinitionScope](LoyaltyProgramRewardDefinitionScope.md) - - [SquareConnect.LoyaltyProgramRewardDefinitionType](LoyaltyProgramRewardDefinitionType.md) - - [SquareConnect.LoyaltyProgramRewardTier](LoyaltyProgramRewardTier.md) - - [SquareConnect.LoyaltyProgramStatus](LoyaltyProgramStatus.md) - - [SquareConnect.LoyaltyProgramTerminology](LoyaltyProgramTerminology.md) - - [SquareConnect.LoyaltyReward](LoyaltyReward.md) - - [SquareConnect.LoyaltyRewardStatus](LoyaltyRewardStatus.md) - - [SquareConnect.MeasurementUnit](MeasurementUnit.md) - - [SquareConnect.MeasurementUnitArea](MeasurementUnitArea.md) - - [SquareConnect.MeasurementUnitCustom](MeasurementUnitCustom.md) - - [SquareConnect.MeasurementUnitGeneric](MeasurementUnitGeneric.md) - - [SquareConnect.MeasurementUnitLength](MeasurementUnitLength.md) - - [SquareConnect.MeasurementUnitTime](MeasurementUnitTime.md) - - [SquareConnect.MeasurementUnitUnitType](MeasurementUnitUnitType.md) - - [SquareConnect.MeasurementUnitVolume](MeasurementUnitVolume.md) - - [SquareConnect.MeasurementUnitWeight](MeasurementUnitWeight.md) - - [SquareConnect.Merchant](Merchant.md) - - [SquareConnect.MerchantStatus](MerchantStatus.md) - - [SquareConnect.ModelBreak](ModelBreak.md) - - [SquareConnect.Money](Money.md) - - [SquareConnect.ObtainTokenRequest](ObtainTokenRequest.md) - - [SquareConnect.ObtainTokenResponse](ObtainTokenResponse.md) - - [SquareConnect.OnboardAppointmentsRequest](OnboardAppointmentsRequest.md) - - [SquareConnect.OnboardAppointmentsResponse](OnboardAppointmentsResponse.md) - - [SquareConnect.Order](Order.md) - - [SquareConnect.OrderCreated](OrderCreated.md) - - [SquareConnect.OrderCreatedObject](OrderCreatedObject.md) - - [SquareConnect.OrderEntry](OrderEntry.md) - - [SquareConnect.OrderFulfillment](OrderFulfillment.md) - - [SquareConnect.OrderFulfillmentPickupDetails](OrderFulfillmentPickupDetails.md) - - [SquareConnect.OrderFulfillmentPickupDetailsCurbsidePickupDetails](OrderFulfillmentPickupDetailsCurbsidePickupDetails.md) - - [SquareConnect.OrderFulfillmentPickupDetailsScheduleType](OrderFulfillmentPickupDetailsScheduleType.md) - - [SquareConnect.OrderFulfillmentRecipient](OrderFulfillmentRecipient.md) - - [SquareConnect.OrderFulfillmentShipmentDetails](OrderFulfillmentShipmentDetails.md) - - [SquareConnect.OrderFulfillmentState](OrderFulfillmentState.md) - - [SquareConnect.OrderFulfillmentType](OrderFulfillmentType.md) - - [SquareConnect.OrderFulfillmentUpdated](OrderFulfillmentUpdated.md) - - [SquareConnect.OrderFulfillmentUpdatedObject](OrderFulfillmentUpdatedObject.md) - - [SquareConnect.OrderFulfillmentUpdatedUpdate](OrderFulfillmentUpdatedUpdate.md) - - [SquareConnect.OrderLineItem](OrderLineItem.md) - - [SquareConnect.OrderLineItemAppliedDiscount](OrderLineItemAppliedDiscount.md) - - [SquareConnect.OrderLineItemAppliedTax](OrderLineItemAppliedTax.md) - - [SquareConnect.OrderLineItemDiscount](OrderLineItemDiscount.md) - - [SquareConnect.OrderLineItemDiscountScope](OrderLineItemDiscountScope.md) - - [SquareConnect.OrderLineItemDiscountType](OrderLineItemDiscountType.md) - - [SquareConnect.OrderLineItemModifier](OrderLineItemModifier.md) - - [SquareConnect.OrderLineItemTax](OrderLineItemTax.md) - - [SquareConnect.OrderLineItemTaxScope](OrderLineItemTaxScope.md) - - [SquareConnect.OrderLineItemTaxType](OrderLineItemTaxType.md) - - [SquareConnect.OrderMoneyAmounts](OrderMoneyAmounts.md) - - [SquareConnect.OrderPricingOptions](OrderPricingOptions.md) - - [SquareConnect.OrderQuantityUnit](OrderQuantityUnit.md) - - [SquareConnect.OrderReturn](OrderReturn.md) - - [SquareConnect.OrderReturnDiscount](OrderReturnDiscount.md) - - [SquareConnect.OrderReturnLineItem](OrderReturnLineItem.md) - - [SquareConnect.OrderReturnLineItemModifier](OrderReturnLineItemModifier.md) - - [SquareConnect.OrderReturnServiceCharge](OrderReturnServiceCharge.md) - - [SquareConnect.OrderReturnTax](OrderReturnTax.md) - - [SquareConnect.OrderReward](OrderReward.md) - - [SquareConnect.OrderRoundingAdjustment](OrderRoundingAdjustment.md) - - [SquareConnect.OrderServiceCharge](OrderServiceCharge.md) - - [SquareConnect.OrderServiceChargeCalculationPhase](OrderServiceChargeCalculationPhase.md) - - [SquareConnect.OrderSource](OrderSource.md) - - [SquareConnect.OrderState](OrderState.md) - - [SquareConnect.OrderUpdated](OrderUpdated.md) - - [SquareConnect.OrderUpdatedObject](OrderUpdatedObject.md) - - [SquareConnect.PayOrderRequest](PayOrderRequest.md) - - [SquareConnect.PayOrderResponse](PayOrderResponse.md) - - [SquareConnect.Payment](Payment.md) - - [SquareConnect.PaymentOptions](PaymentOptions.md) - - [SquareConnect.PaymentRefund](PaymentRefund.md) - - [SquareConnect.ProcessingFee](ProcessingFee.md) - - [SquareConnect.Product](Product.md) - - [SquareConnect.ProductType](ProductType.md) - - [SquareConnect.PublishInvoiceRequest](PublishInvoiceRequest.md) - - [SquareConnect.PublishInvoiceResponse](PublishInvoiceResponse.md) - - [SquareConnect.Range](Range.md) - - [SquareConnect.RedeemLoyaltyRewardRequest](RedeemLoyaltyRewardRequest.md) - - [SquareConnect.RedeemLoyaltyRewardResponse](RedeemLoyaltyRewardResponse.md) - - [SquareConnect.Refund](Refund.md) - - [SquareConnect.RefundPaymentRequest](RefundPaymentRequest.md) - - [SquareConnect.RefundPaymentResponse](RefundPaymentResponse.md) - - [SquareConnect.RefundStatus](RefundStatus.md) - - [SquareConnect.RegisterDomainRequest](RegisterDomainRequest.md) - - [SquareConnect.RegisterDomainResponse](RegisterDomainResponse.md) - - [SquareConnect.RegisterDomainResponseStatus](RegisterDomainResponseStatus.md) - - [SquareConnect.RemoveDisputeEvidenceRequest](RemoveDisputeEvidenceRequest.md) - - [SquareConnect.RemoveDisputeEvidenceResponse](RemoveDisputeEvidenceResponse.md) - - [SquareConnect.RemoveGroupFromCustomerRequest](RemoveGroupFromCustomerRequest.md) - - [SquareConnect.RemoveGroupFromCustomerResponse](RemoveGroupFromCustomerResponse.md) - - [SquareConnect.RenewTokenRequest](RenewTokenRequest.md) - - [SquareConnect.RenewTokenResponse](RenewTokenResponse.md) - - [SquareConnect.RetrieveBookingRequest](RetrieveBookingRequest.md) - - [SquareConnect.RetrieveBookingResponse](RetrieveBookingResponse.md) - - [SquareConnect.RetrieveBusinessBookingProfileRequest](RetrieveBusinessBookingProfileRequest.md) - - [SquareConnect.RetrieveBusinessBookingProfileResponse](RetrieveBusinessBookingProfileResponse.md) - - [SquareConnect.RetrieveCashDrawerShiftRequest](RetrieveCashDrawerShiftRequest.md) - - [SquareConnect.RetrieveCashDrawerShiftResponse](RetrieveCashDrawerShiftResponse.md) - - [SquareConnect.RetrieveCatalogObjectRequest](RetrieveCatalogObjectRequest.md) - - [SquareConnect.RetrieveCatalogObjectResponse](RetrieveCatalogObjectResponse.md) - - [SquareConnect.RetrieveCustomerGroupRequest](RetrieveCustomerGroupRequest.md) - - [SquareConnect.RetrieveCustomerGroupResponse](RetrieveCustomerGroupResponse.md) - - [SquareConnect.RetrieveCustomerRequest](RetrieveCustomerRequest.md) - - [SquareConnect.RetrieveCustomerResponse](RetrieveCustomerResponse.md) - - [SquareConnect.RetrieveCustomerSegmentRequest](RetrieveCustomerSegmentRequest.md) - - [SquareConnect.RetrieveCustomerSegmentResponse](RetrieveCustomerSegmentResponse.md) - - [SquareConnect.RetrieveDisputeEvidenceRequest](RetrieveDisputeEvidenceRequest.md) - - [SquareConnect.RetrieveDisputeEvidenceResponse](RetrieveDisputeEvidenceResponse.md) - - [SquareConnect.RetrieveDisputeRequest](RetrieveDisputeRequest.md) - - [SquareConnect.RetrieveDisputeResponse](RetrieveDisputeResponse.md) - - [SquareConnect.RetrieveEmployeeRequest](RetrieveEmployeeRequest.md) - - [SquareConnect.RetrieveEmployeeResponse](RetrieveEmployeeResponse.md) - - [SquareConnect.RetrieveInventoryAdjustmentRequest](RetrieveInventoryAdjustmentRequest.md) - - [SquareConnect.RetrieveInventoryAdjustmentResponse](RetrieveInventoryAdjustmentResponse.md) - - [SquareConnect.RetrieveInventoryChangesRequest](RetrieveInventoryChangesRequest.md) - - [SquareConnect.RetrieveInventoryChangesResponse](RetrieveInventoryChangesResponse.md) - - [SquareConnect.RetrieveInventoryCountRequest](RetrieveInventoryCountRequest.md) - - [SquareConnect.RetrieveInventoryCountResponse](RetrieveInventoryCountResponse.md) - - [SquareConnect.RetrieveInventoryPhysicalCountRequest](RetrieveInventoryPhysicalCountRequest.md) - - [SquareConnect.RetrieveInventoryPhysicalCountResponse](RetrieveInventoryPhysicalCountResponse.md) - - [SquareConnect.RetrieveLocationRequest](RetrieveLocationRequest.md) - - [SquareConnect.RetrieveLocationResponse](RetrieveLocationResponse.md) - - [SquareConnect.RetrieveLoyaltyAccountRequest](RetrieveLoyaltyAccountRequest.md) - - [SquareConnect.RetrieveLoyaltyAccountResponse](RetrieveLoyaltyAccountResponse.md) - - [SquareConnect.RetrieveLoyaltyRewardRequest](RetrieveLoyaltyRewardRequest.md) - - [SquareConnect.RetrieveLoyaltyRewardResponse](RetrieveLoyaltyRewardResponse.md) - - [SquareConnect.RetrieveMerchantRequest](RetrieveMerchantRequest.md) - - [SquareConnect.RetrieveMerchantResponse](RetrieveMerchantResponse.md) - - [SquareConnect.RetrieveObsMigrationProfileRequest](RetrieveObsMigrationProfileRequest.md) - - [SquareConnect.RetrieveObsMigrationProfileResponse](RetrieveObsMigrationProfileResponse.md) - - [SquareConnect.RetrieveOrderRequest](RetrieveOrderRequest.md) - - [SquareConnect.RetrieveOrderResponse](RetrieveOrderResponse.md) - - [SquareConnect.RetrieveSubscriptionRequest](RetrieveSubscriptionRequest.md) - - [SquareConnect.RetrieveSubscriptionResponse](RetrieveSubscriptionResponse.md) - - [SquareConnect.RetrieveTeamMemberBookingProfileRequest](RetrieveTeamMemberBookingProfileRequest.md) - - [SquareConnect.RetrieveTeamMemberBookingProfileResponse](RetrieveTeamMemberBookingProfileResponse.md) - - [SquareConnect.RetrieveTeamMemberRequest](RetrieveTeamMemberRequest.md) - - [SquareConnect.RetrieveTeamMemberResponse](RetrieveTeamMemberResponse.md) - - [SquareConnect.RetrieveTransactionRequest](RetrieveTransactionRequest.md) - - [SquareConnect.RetrieveTransactionResponse](RetrieveTransactionResponse.md) - - [SquareConnect.RetrieveWageSettingRequest](RetrieveWageSettingRequest.md) - - [SquareConnect.RetrieveWageSettingResponse](RetrieveWageSettingResponse.md) - - [SquareConnect.RevokeTokenRequest](RevokeTokenRequest.md) - - [SquareConnect.RevokeTokenResponse](RevokeTokenResponse.md) - - [SquareConnect.RiskEvaluation](RiskEvaluation.md) - - [SquareConnect.RiskEvaluationRiskLevel](RiskEvaluationRiskLevel.md) - - [SquareConnect.SearchAvailabilityFilter](SearchAvailabilityFilter.md) - - [SquareConnect.SearchAvailabilityQuery](SearchAvailabilityQuery.md) - - [SquareConnect.SearchAvailabilityRequest](SearchAvailabilityRequest.md) - - [SquareConnect.SearchAvailabilityResponse](SearchAvailabilityResponse.md) - - [SquareConnect.SearchCatalogItemsRequest](SearchCatalogItemsRequest.md) - - [SquareConnect.SearchCatalogItemsRequestStockLevel](SearchCatalogItemsRequestStockLevel.md) - - [SquareConnect.SearchCatalogItemsResponse](SearchCatalogItemsResponse.md) - - [SquareConnect.SearchCatalogObjectsRequest](SearchCatalogObjectsRequest.md) - - [SquareConnect.SearchCatalogObjectsResponse](SearchCatalogObjectsResponse.md) - - [SquareConnect.SearchCustomersRequest](SearchCustomersRequest.md) - - [SquareConnect.SearchCustomersResponse](SearchCustomersResponse.md) - - [SquareConnect.SearchInvoicesRequest](SearchInvoicesRequest.md) - - [SquareConnect.SearchInvoicesResponse](SearchInvoicesResponse.md) - - [SquareConnect.SearchLoyaltyAccountsRequest](SearchLoyaltyAccountsRequest.md) - - [SquareConnect.SearchLoyaltyAccountsRequestLoyaltyAccountQuery](SearchLoyaltyAccountsRequestLoyaltyAccountQuery.md) - - [SquareConnect.SearchLoyaltyAccountsResponse](SearchLoyaltyAccountsResponse.md) - - [SquareConnect.SearchLoyaltyEventsRequest](SearchLoyaltyEventsRequest.md) - - [SquareConnect.SearchLoyaltyEventsResponse](SearchLoyaltyEventsResponse.md) - - [SquareConnect.SearchLoyaltyRewardsRequest](SearchLoyaltyRewardsRequest.md) - - [SquareConnect.SearchLoyaltyRewardsRequestLoyaltyRewardQuery](SearchLoyaltyRewardsRequestLoyaltyRewardQuery.md) - - [SquareConnect.SearchLoyaltyRewardsResponse](SearchLoyaltyRewardsResponse.md) - - [SquareConnect.SearchOrdersCustomerFilter](SearchOrdersCustomerFilter.md) - - [SquareConnect.SearchOrdersDateTimeFilter](SearchOrdersDateTimeFilter.md) - - [SquareConnect.SearchOrdersFilter](SearchOrdersFilter.md) - - [SquareConnect.SearchOrdersFulfillmentFilter](SearchOrdersFulfillmentFilter.md) - - [SquareConnect.SearchOrdersQuery](SearchOrdersQuery.md) - - [SquareConnect.SearchOrdersRequest](SearchOrdersRequest.md) - - [SquareConnect.SearchOrdersResponse](SearchOrdersResponse.md) - - [SquareConnect.SearchOrdersSort](SearchOrdersSort.md) - - [SquareConnect.SearchOrdersSortField](SearchOrdersSortField.md) - - [SquareConnect.SearchOrdersSourceFilter](SearchOrdersSourceFilter.md) - - [SquareConnect.SearchOrdersStateFilter](SearchOrdersStateFilter.md) - - [SquareConnect.SearchShiftsRequest](SearchShiftsRequest.md) - - [SquareConnect.SearchShiftsResponse](SearchShiftsResponse.md) - - [SquareConnect.SearchSubscriptionsFilter](SearchSubscriptionsFilter.md) - - [SquareConnect.SearchSubscriptionsQuery](SearchSubscriptionsQuery.md) - - [SquareConnect.SearchSubscriptionsRequest](SearchSubscriptionsRequest.md) - - [SquareConnect.SearchSubscriptionsResponse](SearchSubscriptionsResponse.md) - - [SquareConnect.SearchTeamMembersFilter](SearchTeamMembersFilter.md) - - [SquareConnect.SearchTeamMembersQuery](SearchTeamMembersQuery.md) - - [SquareConnect.SearchTeamMembersRequest](SearchTeamMembersRequest.md) - - [SquareConnect.SearchTeamMembersResponse](SearchTeamMembersResponse.md) - - [SquareConnect.SearchTerminalCheckoutsRequest](SearchTerminalCheckoutsRequest.md) - - [SquareConnect.SearchTerminalCheckoutsResponse](SearchTerminalCheckoutsResponse.md) - - [SquareConnect.SearchTerminalRefundsRequest](SearchTerminalRefundsRequest.md) - - [SquareConnect.SearchTerminalRefundsResponse](SearchTerminalRefundsResponse.md) - - [SquareConnect.SegmentFilter](SegmentFilter.md) - - [SquareConnect.Shift](Shift.md) - - [SquareConnect.ShiftFilter](ShiftFilter.md) - - [SquareConnect.ShiftFilterStatus](ShiftFilterStatus.md) - - [SquareConnect.ShiftQuery](ShiftQuery.md) - - [SquareConnect.ShiftSort](ShiftSort.md) - - [SquareConnect.ShiftSortField](ShiftSortField.md) - - [SquareConnect.ShiftStatus](ShiftStatus.md) - - [SquareConnect.ShiftWage](ShiftWage.md) - - [SquareConnect.ShiftWorkday](ShiftWorkday.md) - - [SquareConnect.ShiftWorkdayMatcher](ShiftWorkdayMatcher.md) - - [SquareConnect.SortOrder](SortOrder.md) - - [SquareConnect.SourceApplication](SourceApplication.md) - - [SquareConnect.StandardUnitDescription](StandardUnitDescription.md) - - [SquareConnect.StandardUnitDescriptionGroup](StandardUnitDescriptionGroup.md) - - [SquareConnect.SubmitEvidenceRequest](SubmitEvidenceRequest.md) - - [SquareConnect.SubmitEvidenceResponse](SubmitEvidenceResponse.md) - - [SquareConnect.Subscription](Subscription.md) - - [SquareConnect.SubscriptionCadence](SubscriptionCadence.md) - - [SquareConnect.SubscriptionEvent](SubscriptionEvent.md) - - [SquareConnect.SubscriptionEventSubscriptionEventType](SubscriptionEventSubscriptionEventType.md) - - [SquareConnect.SubscriptionPhase](SubscriptionPhase.md) - - [SquareConnect.SubscriptionStatus](SubscriptionStatus.md) - - [SquareConnect.TaxCalculationPhase](TaxCalculationPhase.md) - - [SquareConnect.TaxInclusionType](TaxInclusionType.md) - - [SquareConnect.TeamMember](TeamMember.md) - - [SquareConnect.TeamMemberAssignedLocations](TeamMemberAssignedLocations.md) - - [SquareConnect.TeamMemberAssignedLocationsAssignmentType](TeamMemberAssignedLocationsAssignmentType.md) - - [SquareConnect.TeamMemberBookingProfile](TeamMemberBookingProfile.md) - - [SquareConnect.TeamMemberStatus](TeamMemberStatus.md) - - [SquareConnect.TeamMemberWage](TeamMemberWage.md) - - [SquareConnect.Tender](Tender.md) - - [SquareConnect.TenderCardDetails](TenderCardDetails.md) - - [SquareConnect.TenderCardDetailsEntryMethod](TenderCardDetailsEntryMethod.md) - - [SquareConnect.TenderCardDetailsStatus](TenderCardDetailsStatus.md) - - [SquareConnect.TenderCashDetails](TenderCashDetails.md) - - [SquareConnect.TenderType](TenderType.md) - - [SquareConnect.TerminalCheckout](TerminalCheckout.md) - - [SquareConnect.TerminalCheckoutQuery](TerminalCheckoutQuery.md) - - [SquareConnect.TerminalCheckoutQueryFilter](TerminalCheckoutQueryFilter.md) - - [SquareConnect.TerminalCheckoutQuerySort](TerminalCheckoutQuerySort.md) - - [SquareConnect.TerminalRefund](TerminalRefund.md) - - [SquareConnect.TerminalRefundQuery](TerminalRefundQuery.md) - - [SquareConnect.TerminalRefundQueryFilter](TerminalRefundQueryFilter.md) - - [SquareConnect.TerminalRefundQuerySort](TerminalRefundQuerySort.md) - - [SquareConnect.TimeRange](TimeRange.md) - - [SquareConnect.TipSettings](TipSettings.md) - - [SquareConnect.Transaction](Transaction.md) - - [SquareConnect.TransactionProduct](TransactionProduct.md) - - [SquareConnect.TransactionType](TransactionType.md) - - [SquareConnect.UpdateBookingRequest](UpdateBookingRequest.md) - - [SquareConnect.UpdateBookingResponse](UpdateBookingResponse.md) - - [SquareConnect.UpdateBreakTypeRequest](UpdateBreakTypeRequest.md) - - [SquareConnect.UpdateBreakTypeResponse](UpdateBreakTypeResponse.md) - - [SquareConnect.UpdateCustomerGroupRequest](UpdateCustomerGroupRequest.md) - - [SquareConnect.UpdateCustomerGroupResponse](UpdateCustomerGroupResponse.md) - - [SquareConnect.UpdateCustomerRequest](UpdateCustomerRequest.md) - - [SquareConnect.UpdateCustomerResponse](UpdateCustomerResponse.md) - - [SquareConnect.UpdateInvoiceRequest](UpdateInvoiceRequest.md) - - [SquareConnect.UpdateInvoiceResponse](UpdateInvoiceResponse.md) - - [SquareConnect.UpdateItemModifierListsRequest](UpdateItemModifierListsRequest.md) - - [SquareConnect.UpdateItemModifierListsResponse](UpdateItemModifierListsResponse.md) - - [SquareConnect.UpdateItemTaxesRequest](UpdateItemTaxesRequest.md) - - [SquareConnect.UpdateItemTaxesResponse](UpdateItemTaxesResponse.md) - - [SquareConnect.UpdateLocationRequest](UpdateLocationRequest.md) - - [SquareConnect.UpdateLocationResponse](UpdateLocationResponse.md) - - [SquareConnect.UpdateOrderRequest](UpdateOrderRequest.md) - - [SquareConnect.UpdateOrderResponse](UpdateOrderResponse.md) - - [SquareConnect.UpdateShiftRequest](UpdateShiftRequest.md) - - [SquareConnect.UpdateShiftResponse](UpdateShiftResponse.md) - - [SquareConnect.UpdateSubscriptionRequest](UpdateSubscriptionRequest.md) - - [SquareConnect.UpdateSubscriptionResponse](UpdateSubscriptionResponse.md) - - [SquareConnect.UpdateTeamMemberRequest](UpdateTeamMemberRequest.md) - - [SquareConnect.UpdateTeamMemberResponse](UpdateTeamMemberResponse.md) - - [SquareConnect.UpdateWageSettingRequest](UpdateWageSettingRequest.md) - - [SquareConnect.UpdateWageSettingResponse](UpdateWageSettingResponse.md) - - [SquareConnect.UpdateWorkweekConfigRequest](UpdateWorkweekConfigRequest.md) - - [SquareConnect.UpdateWorkweekConfigResponse](UpdateWorkweekConfigResponse.md) - - [SquareConnect.UpsertCatalogObjectRequest](UpsertCatalogObjectRequest.md) - - [SquareConnect.UpsertCatalogObjectResponse](UpsertCatalogObjectResponse.md) - - [SquareConnect.V1AdjustInventoryRequest](V1AdjustInventoryRequest.md) - - [SquareConnect.V1AdjustInventoryRequestAdjustmentType](V1AdjustInventoryRequestAdjustmentType.md) - - [SquareConnect.V1ApplyFeeRequest](V1ApplyFeeRequest.md) - - [SquareConnect.V1ApplyModifierListRequest](V1ApplyModifierListRequest.md) - - [SquareConnect.V1BankAccount](V1BankAccount.md) - - [SquareConnect.V1BankAccountType](V1BankAccountType.md) - - [SquareConnect.V1CashDrawerEvent](V1CashDrawerEvent.md) - - [SquareConnect.V1CashDrawerEventEventType](V1CashDrawerEventEventType.md) - - [SquareConnect.V1CashDrawerShift](V1CashDrawerShift.md) - - [SquareConnect.V1CashDrawerShiftEventType](V1CashDrawerShiftEventType.md) - - [SquareConnect.V1Category](V1Category.md) - - [SquareConnect.V1CreateCategoryRequest](V1CreateCategoryRequest.md) - - [SquareConnect.V1CreateDiscountRequest](V1CreateDiscountRequest.md) - - [SquareConnect.V1CreateEmployeeRoleRequest](V1CreateEmployeeRoleRequest.md) - - [SquareConnect.V1CreateFeeRequest](V1CreateFeeRequest.md) - - [SquareConnect.V1CreateItemRequest](V1CreateItemRequest.md) - - [SquareConnect.V1CreateModifierListRequest](V1CreateModifierListRequest.md) - - [SquareConnect.V1CreateModifierOptionRequest](V1CreateModifierOptionRequest.md) - - [SquareConnect.V1CreatePageRequest](V1CreatePageRequest.md) - - [SquareConnect.V1CreateRefundRequest](V1CreateRefundRequest.md) - - [SquareConnect.V1CreateRefundRequestType](V1CreateRefundRequestType.md) - - [SquareConnect.V1CreateVariationRequest](V1CreateVariationRequest.md) - - [SquareConnect.V1DeleteCategoryRequest](V1DeleteCategoryRequest.md) - - [SquareConnect.V1DeleteDiscountRequest](V1DeleteDiscountRequest.md) - - [SquareConnect.V1DeleteFeeRequest](V1DeleteFeeRequest.md) - - [SquareConnect.V1DeleteItemRequest](V1DeleteItemRequest.md) - - [SquareConnect.V1DeleteModifierListRequest](V1DeleteModifierListRequest.md) - - [SquareConnect.V1DeleteModifierOptionRequest](V1DeleteModifierOptionRequest.md) - - [SquareConnect.V1DeletePageCellRequest](V1DeletePageCellRequest.md) - - [SquareConnect.V1DeletePageRequest](V1DeletePageRequest.md) - - [SquareConnect.V1DeleteTimecardRequest](V1DeleteTimecardRequest.md) - - [SquareConnect.V1DeleteTimecardResponse](V1DeleteTimecardResponse.md) - - [SquareConnect.V1DeleteVariationRequest](V1DeleteVariationRequest.md) - - [SquareConnect.V1Discount](V1Discount.md) - - [SquareConnect.V1DiscountColor](V1DiscountColor.md) - - [SquareConnect.V1DiscountDiscountType](V1DiscountDiscountType.md) - - [SquareConnect.V1Employee](V1Employee.md) - - [SquareConnect.V1EmployeeRole](V1EmployeeRole.md) - - [SquareConnect.V1EmployeeRolePermissions](V1EmployeeRolePermissions.md) - - [SquareConnect.V1EmployeeStatus](V1EmployeeStatus.md) - - [SquareConnect.V1Fee](V1Fee.md) - - [SquareConnect.V1FeeAdjustmentType](V1FeeAdjustmentType.md) - - [SquareConnect.V1FeeCalculationPhase](V1FeeCalculationPhase.md) - - [SquareConnect.V1FeeInclusionType](V1FeeInclusionType.md) - - [SquareConnect.V1FeeType](V1FeeType.md) - - [SquareConnect.V1InventoryEntry](V1InventoryEntry.md) - - [SquareConnect.V1Item](V1Item.md) - - [SquareConnect.V1ItemColor](V1ItemColor.md) - - [SquareConnect.V1ItemImage](V1ItemImage.md) - - [SquareConnect.V1ItemType](V1ItemType.md) - - [SquareConnect.V1ItemVisibility](V1ItemVisibility.md) - - [SquareConnect.V1ListBankAccountsRequest](V1ListBankAccountsRequest.md) - - [SquareConnect.V1ListBankAccountsResponse](V1ListBankAccountsResponse.md) - - [SquareConnect.V1ListCashDrawerShiftsRequest](V1ListCashDrawerShiftsRequest.md) - - [SquareConnect.V1ListCashDrawerShiftsResponse](V1ListCashDrawerShiftsResponse.md) - - [SquareConnect.V1ListCategoriesRequest](V1ListCategoriesRequest.md) - - [SquareConnect.V1ListCategoriesResponse](V1ListCategoriesResponse.md) - - [SquareConnect.V1ListDiscountsRequest](V1ListDiscountsRequest.md) - - [SquareConnect.V1ListDiscountsResponse](V1ListDiscountsResponse.md) - - [SquareConnect.V1ListEmployeeRolesRequest](V1ListEmployeeRolesRequest.md) - - [SquareConnect.V1ListEmployeeRolesResponse](V1ListEmployeeRolesResponse.md) - - [SquareConnect.V1ListEmployeesRequest](V1ListEmployeesRequest.md) - - [SquareConnect.V1ListEmployeesRequestStatus](V1ListEmployeesRequestStatus.md) - - [SquareConnect.V1ListEmployeesResponse](V1ListEmployeesResponse.md) - - [SquareConnect.V1ListFeesRequest](V1ListFeesRequest.md) - - [SquareConnect.V1ListFeesResponse](V1ListFeesResponse.md) - - [SquareConnect.V1ListInventoryRequest](V1ListInventoryRequest.md) - - [SquareConnect.V1ListInventoryResponse](V1ListInventoryResponse.md) - - [SquareConnect.V1ListItemsRequest](V1ListItemsRequest.md) - - [SquareConnect.V1ListItemsResponse](V1ListItemsResponse.md) - - [SquareConnect.V1ListLocationsRequest](V1ListLocationsRequest.md) - - [SquareConnect.V1ListLocationsResponse](V1ListLocationsResponse.md) - - [SquareConnect.V1ListModifierListsRequest](V1ListModifierListsRequest.md) - - [SquareConnect.V1ListModifierListsResponse](V1ListModifierListsResponse.md) - - [SquareConnect.V1ListOrdersRequest](V1ListOrdersRequest.md) - - [SquareConnect.V1ListOrdersResponse](V1ListOrdersResponse.md) - - [SquareConnect.V1ListPagesRequest](V1ListPagesRequest.md) - - [SquareConnect.V1ListPagesResponse](V1ListPagesResponse.md) - - [SquareConnect.V1ListPaymentsRequest](V1ListPaymentsRequest.md) - - [SquareConnect.V1ListPaymentsResponse](V1ListPaymentsResponse.md) - - [SquareConnect.V1ListRefundsRequest](V1ListRefundsRequest.md) - - [SquareConnect.V1ListRefundsResponse](V1ListRefundsResponse.md) - - [SquareConnect.V1ListSettlementsRequest](V1ListSettlementsRequest.md) - - [SquareConnect.V1ListSettlementsRequestStatus](V1ListSettlementsRequestStatus.md) - - [SquareConnect.V1ListSettlementsResponse](V1ListSettlementsResponse.md) - - [SquareConnect.V1ListTimecardEventsRequest](V1ListTimecardEventsRequest.md) - - [SquareConnect.V1ListTimecardEventsResponse](V1ListTimecardEventsResponse.md) - - [SquareConnect.V1ListTimecardsRequest](V1ListTimecardsRequest.md) - - [SquareConnect.V1ListTimecardsResponse](V1ListTimecardsResponse.md) - - [SquareConnect.V1Merchant](V1Merchant.md) - - [SquareConnect.V1MerchantAccountType](V1MerchantAccountType.md) - - [SquareConnect.V1MerchantBusinessType](V1MerchantBusinessType.md) - - [SquareConnect.V1MerchantLocationDetails](V1MerchantLocationDetails.md) - - [SquareConnect.V1ModifierList](V1ModifierList.md) - - [SquareConnect.V1ModifierListSelectionType](V1ModifierListSelectionType.md) - - [SquareConnect.V1ModifierOption](V1ModifierOption.md) - - [SquareConnect.V1Money](V1Money.md) - - [SquareConnect.V1Order](V1Order.md) - - [SquareConnect.V1OrderHistoryEntry](V1OrderHistoryEntry.md) - - [SquareConnect.V1OrderHistoryEntryAction](V1OrderHistoryEntryAction.md) - - [SquareConnect.V1OrderState](V1OrderState.md) - - [SquareConnect.V1Page](V1Page.md) - - [SquareConnect.V1PageCell](V1PageCell.md) - - [SquareConnect.V1PageCellObjectType](V1PageCellObjectType.md) - - [SquareConnect.V1PageCellPlaceholderType](V1PageCellPlaceholderType.md) - - [SquareConnect.V1Payment](V1Payment.md) - - [SquareConnect.V1PaymentDiscount](V1PaymentDiscount.md) - - [SquareConnect.V1PaymentItemDetail](V1PaymentItemDetail.md) - - [SquareConnect.V1PaymentItemization](V1PaymentItemization.md) - - [SquareConnect.V1PaymentItemizationItemizationType](V1PaymentItemizationItemizationType.md) - - [SquareConnect.V1PaymentModifier](V1PaymentModifier.md) - - [SquareConnect.V1PaymentSurcharge](V1PaymentSurcharge.md) - - [SquareConnect.V1PaymentSurchargeType](V1PaymentSurchargeType.md) - - [SquareConnect.V1PaymentTax](V1PaymentTax.md) - - [SquareConnect.V1PaymentTaxInclusionType](V1PaymentTaxInclusionType.md) - - [SquareConnect.V1PhoneNumber](V1PhoneNumber.md) - - [SquareConnect.V1Refund](V1Refund.md) - - [SquareConnect.V1RefundType](V1RefundType.md) - - [SquareConnect.V1RemoveFeeRequest](V1RemoveFeeRequest.md) - - [SquareConnect.V1RemoveModifierListRequest](V1RemoveModifierListRequest.md) - - [SquareConnect.V1RetrieveBankAccountRequest](V1RetrieveBankAccountRequest.md) - - [SquareConnect.V1RetrieveBusinessRequest](V1RetrieveBusinessRequest.md) - - [SquareConnect.V1RetrieveCashDrawerShiftRequest](V1RetrieveCashDrawerShiftRequest.md) - - [SquareConnect.V1RetrieveEmployeeRequest](V1RetrieveEmployeeRequest.md) - - [SquareConnect.V1RetrieveEmployeeRoleRequest](V1RetrieveEmployeeRoleRequest.md) - - [SquareConnect.V1RetrieveItemRequest](V1RetrieveItemRequest.md) - - [SquareConnect.V1RetrieveModifierListRequest](V1RetrieveModifierListRequest.md) - - [SquareConnect.V1RetrieveOrderRequest](V1RetrieveOrderRequest.md) - - [SquareConnect.V1RetrievePaymentRequest](V1RetrievePaymentRequest.md) - - [SquareConnect.V1RetrieveSettlementRequest](V1RetrieveSettlementRequest.md) - - [SquareConnect.V1RetrieveTimecardRequest](V1RetrieveTimecardRequest.md) - - [SquareConnect.V1Settlement](V1Settlement.md) - - [SquareConnect.V1SettlementEntry](V1SettlementEntry.md) - - [SquareConnect.V1SettlementEntryType](V1SettlementEntryType.md) - - [SquareConnect.V1SettlementStatus](V1SettlementStatus.md) - - [SquareConnect.V1Tender](V1Tender.md) - - [SquareConnect.V1TenderCardBrand](V1TenderCardBrand.md) - - [SquareConnect.V1TenderEntryMethod](V1TenderEntryMethod.md) - - [SquareConnect.V1TenderType](V1TenderType.md) - - [SquareConnect.V1Timecard](V1Timecard.md) - - [SquareConnect.V1TimecardEvent](V1TimecardEvent.md) - - [SquareConnect.V1TimecardEventEventType](V1TimecardEventEventType.md) - - [SquareConnect.V1UpdateCategoryRequest](V1UpdateCategoryRequest.md) - - [SquareConnect.V1UpdateDiscountRequest](V1UpdateDiscountRequest.md) - - [SquareConnect.V1UpdateEmployeeRequest](V1UpdateEmployeeRequest.md) - - [SquareConnect.V1UpdateEmployeeRoleRequest](V1UpdateEmployeeRoleRequest.md) - - [SquareConnect.V1UpdateFeeRequest](V1UpdateFeeRequest.md) - - [SquareConnect.V1UpdateItemRequest](V1UpdateItemRequest.md) - - [SquareConnect.V1UpdateModifierListRequest](V1UpdateModifierListRequest.md) - - [SquareConnect.V1UpdateModifierListRequestSelectionType](V1UpdateModifierListRequestSelectionType.md) - - [SquareConnect.V1UpdateModifierOptionRequest](V1UpdateModifierOptionRequest.md) - - [SquareConnect.V1UpdateOrderRequest](V1UpdateOrderRequest.md) - - [SquareConnect.V1UpdateOrderRequestAction](V1UpdateOrderRequestAction.md) - - [SquareConnect.V1UpdatePageCellRequest](V1UpdatePageCellRequest.md) - - [SquareConnect.V1UpdatePageRequest](V1UpdatePageRequest.md) - - [SquareConnect.V1UpdateTimecardRequest](V1UpdateTimecardRequest.md) - - [SquareConnect.V1UpdateVariationRequest](V1UpdateVariationRequest.md) - - [SquareConnect.V1Variation](V1Variation.md) - - [SquareConnect.V1VariationInventoryAlertType](V1VariationInventoryAlertType.md) - - [SquareConnect.V1VariationPricingType](V1VariationPricingType.md) - - [SquareConnect.VoidTransactionRequest](VoidTransactionRequest.md) - - [SquareConnect.VoidTransactionResponse](VoidTransactionResponse.md) - - [SquareConnect.WageSetting](WageSetting.md) - - [SquareConnect.Weekday](Weekday.md) - - [SquareConnect.WorkweekConfig](WorkweekConfig.md) + - [SquareConnect.AcceptDisputeRequest](docs/AcceptDisputeRequest.md) + - [SquareConnect.AcceptDisputeResponse](docs/AcceptDisputeResponse.md) + - [SquareConnect.AccumulateLoyaltyPointsRequest](docs/AccumulateLoyaltyPointsRequest.md) + - [SquareConnect.AccumulateLoyaltyPointsResponse](docs/AccumulateLoyaltyPointsResponse.md) + - [SquareConnect.ActionCancelReason](docs/ActionCancelReason.md) + - [SquareConnect.AddGroupToCustomerRequest](docs/AddGroupToCustomerRequest.md) + - [SquareConnect.AddGroupToCustomerResponse](docs/AddGroupToCustomerResponse.md) + - [SquareConnect.AdditionalRecipient](docs/AdditionalRecipient.md) + - [SquareConnect.Address](docs/Address.md) + - [SquareConnect.AdjustLoyaltyPointsRequest](docs/AdjustLoyaltyPointsRequest.md) + - [SquareConnect.AdjustLoyaltyPointsResponse](docs/AdjustLoyaltyPointsResponse.md) + - [SquareConnect.AppointmentSegment](docs/AppointmentSegment.md) + - [SquareConnect.Availability](docs/Availability.md) + - [SquareConnect.BalancePaymentDetails](docs/BalancePaymentDetails.md) + - [SquareConnect.BankAccount](docs/BankAccount.md) + - [SquareConnect.BankAccountStatus](docs/BankAccountStatus.md) + - [SquareConnect.BankAccountType](docs/BankAccountType.md) + - [SquareConnect.BatchChangeInventoryRequest](docs/BatchChangeInventoryRequest.md) + - [SquareConnect.BatchChangeInventoryResponse](docs/BatchChangeInventoryResponse.md) + - [SquareConnect.BatchDeleteCatalogObjectsRequest](docs/BatchDeleteCatalogObjectsRequest.md) + - [SquareConnect.BatchDeleteCatalogObjectsResponse](docs/BatchDeleteCatalogObjectsResponse.md) + - [SquareConnect.BatchRetrieveCatalogObjectsRequest](docs/BatchRetrieveCatalogObjectsRequest.md) + - [SquareConnect.BatchRetrieveCatalogObjectsResponse](docs/BatchRetrieveCatalogObjectsResponse.md) + - [SquareConnect.BatchRetrieveInventoryChangesRequest](docs/BatchRetrieveInventoryChangesRequest.md) + - [SquareConnect.BatchRetrieveInventoryChangesResponse](docs/BatchRetrieveInventoryChangesResponse.md) + - [SquareConnect.BatchRetrieveInventoryCountsRequest](docs/BatchRetrieveInventoryCountsRequest.md) + - [SquareConnect.BatchRetrieveInventoryCountsResponse](docs/BatchRetrieveInventoryCountsResponse.md) + - [SquareConnect.BatchRetrieveOrdersRequest](docs/BatchRetrieveOrdersRequest.md) + - [SquareConnect.BatchRetrieveOrdersResponse](docs/BatchRetrieveOrdersResponse.md) + - [SquareConnect.BatchUpsertCatalogObjectsRequest](docs/BatchUpsertCatalogObjectsRequest.md) + - [SquareConnect.BatchUpsertCatalogObjectsResponse](docs/BatchUpsertCatalogObjectsResponse.md) + - [SquareConnect.Booking](docs/Booking.md) + - [SquareConnect.BookingStatus](docs/BookingStatus.md) + - [SquareConnect.BreakType](docs/BreakType.md) + - [SquareConnect.BulkCreateTeamMembersRequest](docs/BulkCreateTeamMembersRequest.md) + - [SquareConnect.BulkCreateTeamMembersResponse](docs/BulkCreateTeamMembersResponse.md) + - [SquareConnect.BulkUpdateTeamMembersRequest](docs/BulkUpdateTeamMembersRequest.md) + - [SquareConnect.BulkUpdateTeamMembersResponse](docs/BulkUpdateTeamMembersResponse.md) + - [SquareConnect.BusinessAppointmentSettings](docs/BusinessAppointmentSettings.md) + - [SquareConnect.BusinessAppointmentSettingsAlignmentTime](docs/BusinessAppointmentSettingsAlignmentTime.md) + - [SquareConnect.BusinessAppointmentSettingsBookingLocationType](docs/BusinessAppointmentSettingsBookingLocationType.md) + - [SquareConnect.BusinessAppointmentSettingsCancellationPolicy](docs/BusinessAppointmentSettingsCancellationPolicy.md) + - [SquareConnect.BusinessAppointmentSettingsMaxAppointmentsPerDayLimitType](docs/BusinessAppointmentSettingsMaxAppointmentsPerDayLimitType.md) + - [SquareConnect.BusinessBookingProfile](docs/BusinessBookingProfile.md) + - [SquareConnect.BusinessBookingProfileBookingPolicy](docs/BusinessBookingProfileBookingPolicy.md) + - [SquareConnect.BusinessBookingProfileCustomerTimezoneChoice](docs/BusinessBookingProfileCustomerTimezoneChoice.md) + - [SquareConnect.BusinessHours](docs/BusinessHours.md) + - [SquareConnect.BusinessHoursPeriod](docs/BusinessHoursPeriod.md) + - [SquareConnect.CalculateLoyaltyPointsRequest](docs/CalculateLoyaltyPointsRequest.md) + - [SquareConnect.CalculateLoyaltyPointsResponse](docs/CalculateLoyaltyPointsResponse.md) + - [SquareConnect.CalculateOrderRequest](docs/CalculateOrderRequest.md) + - [SquareConnect.CalculateOrderResponse](docs/CalculateOrderResponse.md) + - [SquareConnect.CancelBookingRequest](docs/CancelBookingRequest.md) + - [SquareConnect.CancelBookingResponse](docs/CancelBookingResponse.md) + - [SquareConnect.CancelInvoiceRequest](docs/CancelInvoiceRequest.md) + - [SquareConnect.CancelInvoiceResponse](docs/CancelInvoiceResponse.md) + - [SquareConnect.CancelPaymentByIdempotencyKeyRequest](docs/CancelPaymentByIdempotencyKeyRequest.md) + - [SquareConnect.CancelPaymentByIdempotencyKeyResponse](docs/CancelPaymentByIdempotencyKeyResponse.md) + - [SquareConnect.CancelPaymentRequest](docs/CancelPaymentRequest.md) + - [SquareConnect.CancelPaymentResponse](docs/CancelPaymentResponse.md) + - [SquareConnect.CancelSubscriptionRequest](docs/CancelSubscriptionRequest.md) + - [SquareConnect.CancelSubscriptionResponse](docs/CancelSubscriptionResponse.md) + - [SquareConnect.CancelTerminalCheckoutRequest](docs/CancelTerminalCheckoutRequest.md) + - [SquareConnect.CancelTerminalCheckoutResponse](docs/CancelTerminalCheckoutResponse.md) + - [SquareConnect.CancelTerminalRefundRequest](docs/CancelTerminalRefundRequest.md) + - [SquareConnect.CancelTerminalRefundResponse](docs/CancelTerminalRefundResponse.md) + - [SquareConnect.CaptureTransactionRequest](docs/CaptureTransactionRequest.md) + - [SquareConnect.CaptureTransactionResponse](docs/CaptureTransactionResponse.md) + - [SquareConnect.Card](docs/Card.md) + - [SquareConnect.CardBrand](docs/CardBrand.md) + - [SquareConnect.CardPaymentDetails](docs/CardPaymentDetails.md) + - [SquareConnect.CardPrepaidType](docs/CardPrepaidType.md) + - [SquareConnect.CardSquareProduct](docs/CardSquareProduct.md) + - [SquareConnect.CardType](docs/CardType.md) + - [SquareConnect.CashDrawerDevice](docs/CashDrawerDevice.md) + - [SquareConnect.CashDrawerEventType](docs/CashDrawerEventType.md) + - [SquareConnect.CashDrawerShift](docs/CashDrawerShift.md) + - [SquareConnect.CashDrawerShiftEvent](docs/CashDrawerShiftEvent.md) + - [SquareConnect.CashDrawerShiftState](docs/CashDrawerShiftState.md) + - [SquareConnect.CashDrawerShiftSummary](docs/CashDrawerShiftSummary.md) + - [SquareConnect.CatalogCategory](docs/CatalogCategory.md) + - [SquareConnect.CatalogCustomAttributeDefinition](docs/CatalogCustomAttributeDefinition.md) + - [SquareConnect.CatalogCustomAttributeDefinitionAppVisibility](docs/CatalogCustomAttributeDefinitionAppVisibility.md) + - [SquareConnect.CatalogCustomAttributeDefinitionNumberConfig](docs/CatalogCustomAttributeDefinitionNumberConfig.md) + - [SquareConnect.CatalogCustomAttributeDefinitionSelectionConfig](docs/CatalogCustomAttributeDefinitionSelectionConfig.md) + - [SquareConnect.CatalogCustomAttributeDefinitionSelectionConfigCustomAttributeSelection](docs/CatalogCustomAttributeDefinitionSelectionConfigCustomAttributeSelection.md) + - [SquareConnect.CatalogCustomAttributeDefinitionSellerVisibility](docs/CatalogCustomAttributeDefinitionSellerVisibility.md) + - [SquareConnect.CatalogCustomAttributeDefinitionStringConfig](docs/CatalogCustomAttributeDefinitionStringConfig.md) + - [SquareConnect.CatalogCustomAttributeDefinitionType](docs/CatalogCustomAttributeDefinitionType.md) + - [SquareConnect.CatalogCustomAttributeValue](docs/CatalogCustomAttributeValue.md) + - [SquareConnect.CatalogDiscount](docs/CatalogDiscount.md) + - [SquareConnect.CatalogDiscountModifyTaxBasis](docs/CatalogDiscountModifyTaxBasis.md) + - [SquareConnect.CatalogDiscountType](docs/CatalogDiscountType.md) + - [SquareConnect.CatalogIdMapping](docs/CatalogIdMapping.md) + - [SquareConnect.CatalogImage](docs/CatalogImage.md) + - [SquareConnect.CatalogInfoRequest](docs/CatalogInfoRequest.md) + - [SquareConnect.CatalogInfoResponse](docs/CatalogInfoResponse.md) + - [SquareConnect.CatalogInfoResponseLimits](docs/CatalogInfoResponseLimits.md) + - [SquareConnect.CatalogItem](docs/CatalogItem.md) + - [SquareConnect.CatalogItemModifierListInfo](docs/CatalogItemModifierListInfo.md) + - [SquareConnect.CatalogItemOption](docs/CatalogItemOption.md) + - [SquareConnect.CatalogItemOptionForItem](docs/CatalogItemOptionForItem.md) + - [SquareConnect.CatalogItemOptionValue](docs/CatalogItemOptionValue.md) + - [SquareConnect.CatalogItemOptionValueForItemVariation](docs/CatalogItemOptionValueForItemVariation.md) + - [SquareConnect.CatalogItemProductType](docs/CatalogItemProductType.md) + - [SquareConnect.CatalogItemVariation](docs/CatalogItemVariation.md) + - [SquareConnect.CatalogMeasurementUnit](docs/CatalogMeasurementUnit.md) + - [SquareConnect.CatalogModifier](docs/CatalogModifier.md) + - [SquareConnect.CatalogModifierList](docs/CatalogModifierList.md) + - [SquareConnect.CatalogModifierListSelectionType](docs/CatalogModifierListSelectionType.md) + - [SquareConnect.CatalogModifierOverride](docs/CatalogModifierOverride.md) + - [SquareConnect.CatalogObject](docs/CatalogObject.md) + - [SquareConnect.CatalogObjectBatch](docs/CatalogObjectBatch.md) + - [SquareConnect.CatalogObjectReference](docs/CatalogObjectReference.md) + - [SquareConnect.CatalogObjectType](docs/CatalogObjectType.md) + - [SquareConnect.CatalogPricingRule](docs/CatalogPricingRule.md) + - [SquareConnect.CatalogPricingType](docs/CatalogPricingType.md) + - [SquareConnect.CatalogProductSet](docs/CatalogProductSet.md) + - [SquareConnect.CatalogQuery](docs/CatalogQuery.md) + - [SquareConnect.CatalogQueryExact](docs/CatalogQueryExact.md) + - [SquareConnect.CatalogQueryItemVariationsForItemOptionValues](docs/CatalogQueryItemVariationsForItemOptionValues.md) + - [SquareConnect.CatalogQueryItemsForItemOptions](docs/CatalogQueryItemsForItemOptions.md) + - [SquareConnect.CatalogQueryItemsForModifierList](docs/CatalogQueryItemsForModifierList.md) + - [SquareConnect.CatalogQueryItemsForTax](docs/CatalogQueryItemsForTax.md) + - [SquareConnect.CatalogQueryPrefix](docs/CatalogQueryPrefix.md) + - [SquareConnect.CatalogQueryRange](docs/CatalogQueryRange.md) + - [SquareConnect.CatalogQuerySet](docs/CatalogQuerySet.md) + - [SquareConnect.CatalogQuerySortedAttribute](docs/CatalogQuerySortedAttribute.md) + - [SquareConnect.CatalogQueryText](docs/CatalogQueryText.md) + - [SquareConnect.CatalogQuickAmount](docs/CatalogQuickAmount.md) + - [SquareConnect.CatalogQuickAmountType](docs/CatalogQuickAmountType.md) + - [SquareConnect.CatalogQuickAmountsSettings](docs/CatalogQuickAmountsSettings.md) + - [SquareConnect.CatalogQuickAmountsSettingsOption](docs/CatalogQuickAmountsSettingsOption.md) + - [SquareConnect.CatalogSubscriptionPlan](docs/CatalogSubscriptionPlan.md) + - [SquareConnect.CatalogTax](docs/CatalogTax.md) + - [SquareConnect.CatalogTimePeriod](docs/CatalogTimePeriod.md) + - [SquareConnect.CatalogV1Id](docs/CatalogV1Id.md) + - [SquareConnect.ChargeRequest](docs/ChargeRequest.md) + - [SquareConnect.ChargeRequestAdditionalRecipient](docs/ChargeRequestAdditionalRecipient.md) + - [SquareConnect.ChargeResponse](docs/ChargeResponse.md) + - [SquareConnect.CheckAppointmentsOnboardedRequest](docs/CheckAppointmentsOnboardedRequest.md) + - [SquareConnect.CheckAppointmentsOnboardedResponse](docs/CheckAppointmentsOnboardedResponse.md) + - [SquareConnect.Checkout](docs/Checkout.md) + - [SquareConnect.CompletePaymentRequest](docs/CompletePaymentRequest.md) + - [SquareConnect.CompletePaymentResponse](docs/CompletePaymentResponse.md) + - [SquareConnect.Coordinates](docs/Coordinates.md) + - [SquareConnect.Country](docs/Country.md) + - [SquareConnect.CreateBookingRequest](docs/CreateBookingRequest.md) + - [SquareConnect.CreateBookingResponse](docs/CreateBookingResponse.md) + - [SquareConnect.CreateBreakTypeRequest](docs/CreateBreakTypeRequest.md) + - [SquareConnect.CreateBreakTypeResponse](docs/CreateBreakTypeResponse.md) + - [SquareConnect.CreateCheckoutRequest](docs/CreateCheckoutRequest.md) + - [SquareConnect.CreateCheckoutResponse](docs/CreateCheckoutResponse.md) + - [SquareConnect.CreateCustomerCardRequest](docs/CreateCustomerCardRequest.md) + - [SquareConnect.CreateCustomerCardResponse](docs/CreateCustomerCardResponse.md) + - [SquareConnect.CreateCustomerGroupRequest](docs/CreateCustomerGroupRequest.md) + - [SquareConnect.CreateCustomerGroupResponse](docs/CreateCustomerGroupResponse.md) + - [SquareConnect.CreateCustomerRequest](docs/CreateCustomerRequest.md) + - [SquareConnect.CreateCustomerResponse](docs/CreateCustomerResponse.md) + - [SquareConnect.CreateDeviceCodeRequest](docs/CreateDeviceCodeRequest.md) + - [SquareConnect.CreateDeviceCodeResponse](docs/CreateDeviceCodeResponse.md) + - [SquareConnect.CreateDisputeEvidenceTextRequest](docs/CreateDisputeEvidenceTextRequest.md) + - [SquareConnect.CreateDisputeEvidenceTextResponse](docs/CreateDisputeEvidenceTextResponse.md) + - [SquareConnect.CreateInvoiceRequest](docs/CreateInvoiceRequest.md) + - [SquareConnect.CreateInvoiceResponse](docs/CreateInvoiceResponse.md) + - [SquareConnect.CreateLocationRequest](docs/CreateLocationRequest.md) + - [SquareConnect.CreateLocationResponse](docs/CreateLocationResponse.md) + - [SquareConnect.CreateLoyaltyAccountRequest](docs/CreateLoyaltyAccountRequest.md) + - [SquareConnect.CreateLoyaltyAccountResponse](docs/CreateLoyaltyAccountResponse.md) + - [SquareConnect.CreateLoyaltyRewardRequest](docs/CreateLoyaltyRewardRequest.md) + - [SquareConnect.CreateLoyaltyRewardResponse](docs/CreateLoyaltyRewardResponse.md) + - [SquareConnect.CreateMobileAuthorizationCodeRequest](docs/CreateMobileAuthorizationCodeRequest.md) + - [SquareConnect.CreateMobileAuthorizationCodeResponse](docs/CreateMobileAuthorizationCodeResponse.md) + - [SquareConnect.CreateOrderRequest](docs/CreateOrderRequest.md) + - [SquareConnect.CreateOrderResponse](docs/CreateOrderResponse.md) + - [SquareConnect.CreatePaymentRequest](docs/CreatePaymentRequest.md) + - [SquareConnect.CreatePaymentResponse](docs/CreatePaymentResponse.md) + - [SquareConnect.CreateRefundRequest](docs/CreateRefundRequest.md) + - [SquareConnect.CreateRefundResponse](docs/CreateRefundResponse.md) + - [SquareConnect.CreateShiftRequest](docs/CreateShiftRequest.md) + - [SquareConnect.CreateShiftResponse](docs/CreateShiftResponse.md) + - [SquareConnect.CreateSubscriptionRequest](docs/CreateSubscriptionRequest.md) + - [SquareConnect.CreateSubscriptionResponse](docs/CreateSubscriptionResponse.md) + - [SquareConnect.CreateTeamMemberRequest](docs/CreateTeamMemberRequest.md) + - [SquareConnect.CreateTeamMemberResponse](docs/CreateTeamMemberResponse.md) + - [SquareConnect.CreateTerminalCheckoutRequest](docs/CreateTerminalCheckoutRequest.md) + - [SquareConnect.CreateTerminalCheckoutResponse](docs/CreateTerminalCheckoutResponse.md) + - [SquareConnect.CreateTerminalRefundRequest](docs/CreateTerminalRefundRequest.md) + - [SquareConnect.CreateTerminalRefundResponse](docs/CreateTerminalRefundResponse.md) + - [SquareConnect.Currency](docs/Currency.md) + - [SquareConnect.CustomAttributeFilter](docs/CustomAttributeFilter.md) + - [SquareConnect.Customer](docs/Customer.md) + - [SquareConnect.CustomerCreationSource](docs/CustomerCreationSource.md) + - [SquareConnect.CustomerCreationSourceFilter](docs/CustomerCreationSourceFilter.md) + - [SquareConnect.CustomerFilter](docs/CustomerFilter.md) + - [SquareConnect.CustomerGroup](docs/CustomerGroup.md) + - [SquareConnect.CustomerGroupInfo](docs/CustomerGroupInfo.md) + - [SquareConnect.CustomerInclusionExclusion](docs/CustomerInclusionExclusion.md) + - [SquareConnect.CustomerPreferences](docs/CustomerPreferences.md) + - [SquareConnect.CustomerQuery](docs/CustomerQuery.md) + - [SquareConnect.CustomerSegment](docs/CustomerSegment.md) + - [SquareConnect.CustomerSort](docs/CustomerSort.md) + - [SquareConnect.CustomerSortField](docs/CustomerSortField.md) + - [SquareConnect.CustomerTextFilter](docs/CustomerTextFilter.md) + - [SquareConnect.DateRange](docs/DateRange.md) + - [SquareConnect.DayOfWeek](docs/DayOfWeek.md) + - [SquareConnect.DeleteBreakTypeRequest](docs/DeleteBreakTypeRequest.md) + - [SquareConnect.DeleteBreakTypeResponse](docs/DeleteBreakTypeResponse.md) + - [SquareConnect.DeleteCatalogObjectRequest](docs/DeleteCatalogObjectRequest.md) + - [SquareConnect.DeleteCatalogObjectResponse](docs/DeleteCatalogObjectResponse.md) + - [SquareConnect.DeleteCustomerCardRequest](docs/DeleteCustomerCardRequest.md) + - [SquareConnect.DeleteCustomerCardResponse](docs/DeleteCustomerCardResponse.md) + - [SquareConnect.DeleteCustomerGroupRequest](docs/DeleteCustomerGroupRequest.md) + - [SquareConnect.DeleteCustomerGroupResponse](docs/DeleteCustomerGroupResponse.md) + - [SquareConnect.DeleteCustomerRequest](docs/DeleteCustomerRequest.md) + - [SquareConnect.DeleteCustomerResponse](docs/DeleteCustomerResponse.md) + - [SquareConnect.DeleteInvoiceRequest](docs/DeleteInvoiceRequest.md) + - [SquareConnect.DeleteInvoiceResponse](docs/DeleteInvoiceResponse.md) + - [SquareConnect.DeleteLoyaltyRewardRequest](docs/DeleteLoyaltyRewardRequest.md) + - [SquareConnect.DeleteLoyaltyRewardResponse](docs/DeleteLoyaltyRewardResponse.md) + - [SquareConnect.DeleteShiftRequest](docs/DeleteShiftRequest.md) + - [SquareConnect.DeleteShiftResponse](docs/DeleteShiftResponse.md) + - [SquareConnect.Device](docs/Device.md) + - [SquareConnect.DeviceCheckoutOptions](docs/DeviceCheckoutOptions.md) + - [SquareConnect.DeviceCode](docs/DeviceCode.md) + - [SquareConnect.DeviceCodeStatus](docs/DeviceCodeStatus.md) + - [SquareConnect.DeviceDetails](docs/DeviceDetails.md) + - [SquareConnect.Dispute](docs/Dispute.md) + - [SquareConnect.DisputeEvidence](docs/DisputeEvidence.md) + - [SquareConnect.DisputeEvidenceFile](docs/DisputeEvidenceFile.md) + - [SquareConnect.DisputeEvidenceType](docs/DisputeEvidenceType.md) + - [SquareConnect.DisputeReason](docs/DisputeReason.md) + - [SquareConnect.DisputeState](docs/DisputeState.md) + - [SquareConnect.DisputedPayment](docs/DisputedPayment.md) + - [SquareConnect.EcomVisibility](docs/EcomVisibility.md) + - [SquareConnect.Employee](docs/Employee.md) + - [SquareConnect.EmployeeStatus](docs/EmployeeStatus.md) + - [SquareConnect.EmployeeWage](docs/EmployeeWage.md) + - [SquareConnect.Error](docs/Error.md) + - [SquareConnect.ErrorCategory](docs/ErrorCategory.md) + - [SquareConnect.ErrorCode](docs/ErrorCode.md) + - [SquareConnect.ExcludeStrategy](docs/ExcludeStrategy.md) + - [SquareConnect.FilterValue](docs/FilterValue.md) + - [SquareConnect.GetBankAccountByV1IdRequest](docs/GetBankAccountByV1IdRequest.md) + - [SquareConnect.GetBankAccountByV1IdResponse](docs/GetBankAccountByV1IdResponse.md) + - [SquareConnect.GetBankAccountRequest](docs/GetBankAccountRequest.md) + - [SquareConnect.GetBankAccountResponse](docs/GetBankAccountResponse.md) + - [SquareConnect.GetBreakTypeRequest](docs/GetBreakTypeRequest.md) + - [SquareConnect.GetBreakTypeResponse](docs/GetBreakTypeResponse.md) + - [SquareConnect.GetDeviceCodeRequest](docs/GetDeviceCodeRequest.md) + - [SquareConnect.GetDeviceCodeResponse](docs/GetDeviceCodeResponse.md) + - [SquareConnect.GetEmployeeWageRequest](docs/GetEmployeeWageRequest.md) + - [SquareConnect.GetEmployeeWageResponse](docs/GetEmployeeWageResponse.md) + - [SquareConnect.GetInvoiceRequest](docs/GetInvoiceRequest.md) + - [SquareConnect.GetInvoiceResponse](docs/GetInvoiceResponse.md) + - [SquareConnect.GetPaymentRefundRequest](docs/GetPaymentRefundRequest.md) + - [SquareConnect.GetPaymentRefundResponse](docs/GetPaymentRefundResponse.md) + - [SquareConnect.GetPaymentRequest](docs/GetPaymentRequest.md) + - [SquareConnect.GetPaymentResponse](docs/GetPaymentResponse.md) + - [SquareConnect.GetShiftRequest](docs/GetShiftRequest.md) + - [SquareConnect.GetShiftResponse](docs/GetShiftResponse.md) + - [SquareConnect.GetTeamMemberWageRequest](docs/GetTeamMemberWageRequest.md) + - [SquareConnect.GetTeamMemberWageResponse](docs/GetTeamMemberWageResponse.md) + - [SquareConnect.GetTerminalCheckoutRequest](docs/GetTerminalCheckoutRequest.md) + - [SquareConnect.GetTerminalCheckoutResponse](docs/GetTerminalCheckoutResponse.md) + - [SquareConnect.GetTerminalRefundRequest](docs/GetTerminalRefundRequest.md) + - [SquareConnect.GetTerminalRefundResponse](docs/GetTerminalRefundResponse.md) + - [SquareConnect.InlineTypes](docs/InlineTypes.md) + - [SquareConnect.InventoryAdjustment](docs/InventoryAdjustment.md) + - [SquareConnect.InventoryAlertType](docs/InventoryAlertType.md) + - [SquareConnect.InventoryChange](docs/InventoryChange.md) + - [SquareConnect.InventoryChangeType](docs/InventoryChangeType.md) + - [SquareConnect.InventoryCount](docs/InventoryCount.md) + - [SquareConnect.InventoryPhysicalCount](docs/InventoryPhysicalCount.md) + - [SquareConnect.InventoryState](docs/InventoryState.md) + - [SquareConnect.InventoryTransfer](docs/InventoryTransfer.md) + - [SquareConnect.Invoice](docs/Invoice.md) + - [SquareConnect.InvoiceCustomField](docs/InvoiceCustomField.md) + - [SquareConnect.InvoiceCustomFieldPlacement](docs/InvoiceCustomFieldPlacement.md) + - [SquareConnect.InvoiceFilter](docs/InvoiceFilter.md) + - [SquareConnect.InvoicePaymentReminder](docs/InvoicePaymentReminder.md) + - [SquareConnect.InvoicePaymentReminderStatus](docs/InvoicePaymentReminderStatus.md) + - [SquareConnect.InvoicePaymentRequest](docs/InvoicePaymentRequest.md) + - [SquareConnect.InvoiceQuery](docs/InvoiceQuery.md) + - [SquareConnect.InvoiceRecipient](docs/InvoiceRecipient.md) + - [SquareConnect.InvoiceRequestMethod](docs/InvoiceRequestMethod.md) + - [SquareConnect.InvoiceRequestType](docs/InvoiceRequestType.md) + - [SquareConnect.InvoiceSort](docs/InvoiceSort.md) + - [SquareConnect.InvoiceSortField](docs/InvoiceSortField.md) + - [SquareConnect.InvoiceStatus](docs/InvoiceStatus.md) + - [SquareConnect.ItemVariationLocationOverrides](docs/ItemVariationLocationOverrides.md) + - [SquareConnect.JobAssignment](docs/JobAssignment.md) + - [SquareConnect.JobAssignmentPayType](docs/JobAssignmentPayType.md) + - [SquareConnect.ListBankAccountsRequest](docs/ListBankAccountsRequest.md) + - [SquareConnect.ListBankAccountsResponse](docs/ListBankAccountsResponse.md) + - [SquareConnect.ListBreakTypesRequest](docs/ListBreakTypesRequest.md) + - [SquareConnect.ListBreakTypesResponse](docs/ListBreakTypesResponse.md) + - [SquareConnect.ListCashDrawerShiftEventsRequest](docs/ListCashDrawerShiftEventsRequest.md) + - [SquareConnect.ListCashDrawerShiftEventsResponse](docs/ListCashDrawerShiftEventsResponse.md) + - [SquareConnect.ListCashDrawerShiftsRequest](docs/ListCashDrawerShiftsRequest.md) + - [SquareConnect.ListCashDrawerShiftsResponse](docs/ListCashDrawerShiftsResponse.md) + - [SquareConnect.ListCatalogRequest](docs/ListCatalogRequest.md) + - [SquareConnect.ListCatalogResponse](docs/ListCatalogResponse.md) + - [SquareConnect.ListCustomerGroupsRequest](docs/ListCustomerGroupsRequest.md) + - [SquareConnect.ListCustomerGroupsResponse](docs/ListCustomerGroupsResponse.md) + - [SquareConnect.ListCustomerSegmentsRequest](docs/ListCustomerSegmentsRequest.md) + - [SquareConnect.ListCustomerSegmentsResponse](docs/ListCustomerSegmentsResponse.md) + - [SquareConnect.ListCustomersRequest](docs/ListCustomersRequest.md) + - [SquareConnect.ListCustomersResponse](docs/ListCustomersResponse.md) + - [SquareConnect.ListDeviceCodesRequest](docs/ListDeviceCodesRequest.md) + - [SquareConnect.ListDeviceCodesResponse](docs/ListDeviceCodesResponse.md) + - [SquareConnect.ListDisputeEvidenceRequest](docs/ListDisputeEvidenceRequest.md) + - [SquareConnect.ListDisputeEvidenceResponse](docs/ListDisputeEvidenceResponse.md) + - [SquareConnect.ListDisputesRequest](docs/ListDisputesRequest.md) + - [SquareConnect.ListDisputesResponse](docs/ListDisputesResponse.md) + - [SquareConnect.ListEmployeeWagesRequest](docs/ListEmployeeWagesRequest.md) + - [SquareConnect.ListEmployeeWagesResponse](docs/ListEmployeeWagesResponse.md) + - [SquareConnect.ListEmployeesRequest](docs/ListEmployeesRequest.md) + - [SquareConnect.ListEmployeesResponse](docs/ListEmployeesResponse.md) + - [SquareConnect.ListInvoicesRequest](docs/ListInvoicesRequest.md) + - [SquareConnect.ListInvoicesResponse](docs/ListInvoicesResponse.md) + - [SquareConnect.ListLocationsRequest](docs/ListLocationsRequest.md) + - [SquareConnect.ListLocationsResponse](docs/ListLocationsResponse.md) + - [SquareConnect.ListLoyaltyProgramsRequest](docs/ListLoyaltyProgramsRequest.md) + - [SquareConnect.ListLoyaltyProgramsResponse](docs/ListLoyaltyProgramsResponse.md) + - [SquareConnect.ListMerchantsRequest](docs/ListMerchantsRequest.md) + - [SquareConnect.ListMerchantsResponse](docs/ListMerchantsResponse.md) + - [SquareConnect.ListPaymentRefundsRequest](docs/ListPaymentRefundsRequest.md) + - [SquareConnect.ListPaymentRefundsResponse](docs/ListPaymentRefundsResponse.md) + - [SquareConnect.ListPaymentsRequest](docs/ListPaymentsRequest.md) + - [SquareConnect.ListPaymentsResponse](docs/ListPaymentsResponse.md) + - [SquareConnect.ListRefundsRequest](docs/ListRefundsRequest.md) + - [SquareConnect.ListRefundsResponse](docs/ListRefundsResponse.md) + - [SquareConnect.ListSubscriptionEventsRequest](docs/ListSubscriptionEventsRequest.md) + - [SquareConnect.ListSubscriptionEventsResponse](docs/ListSubscriptionEventsResponse.md) + - [SquareConnect.ListTeamMemberBookingProfilesRequest](docs/ListTeamMemberBookingProfilesRequest.md) + - [SquareConnect.ListTeamMemberBookingProfilesResponse](docs/ListTeamMemberBookingProfilesResponse.md) + - [SquareConnect.ListTeamMemberWagesRequest](docs/ListTeamMemberWagesRequest.md) + - [SquareConnect.ListTeamMemberWagesResponse](docs/ListTeamMemberWagesResponse.md) + - [SquareConnect.ListTransactionsRequest](docs/ListTransactionsRequest.md) + - [SquareConnect.ListTransactionsResponse](docs/ListTransactionsResponse.md) + - [SquareConnect.ListWorkweekConfigsRequest](docs/ListWorkweekConfigsRequest.md) + - [SquareConnect.ListWorkweekConfigsResponse](docs/ListWorkweekConfigsResponse.md) + - [SquareConnect.Location](docs/Location.md) + - [SquareConnect.LocationCapability](docs/LocationCapability.md) + - [SquareConnect.LocationStatus](docs/LocationStatus.md) + - [SquareConnect.LocationType](docs/LocationType.md) + - [SquareConnect.LoyaltyAccount](docs/LoyaltyAccount.md) + - [SquareConnect.LoyaltyAccountMapping](docs/LoyaltyAccountMapping.md) + - [SquareConnect.LoyaltyAccountMappingType](docs/LoyaltyAccountMappingType.md) + - [SquareConnect.LoyaltyEvent](docs/LoyaltyEvent.md) + - [SquareConnect.LoyaltyEventAccumulatePoints](docs/LoyaltyEventAccumulatePoints.md) + - [SquareConnect.LoyaltyEventAdjustPoints](docs/LoyaltyEventAdjustPoints.md) + - [SquareConnect.LoyaltyEventCreateReward](docs/LoyaltyEventCreateReward.md) + - [SquareConnect.LoyaltyEventDateTimeFilter](docs/LoyaltyEventDateTimeFilter.md) + - [SquareConnect.LoyaltyEventDeleteReward](docs/LoyaltyEventDeleteReward.md) + - [SquareConnect.LoyaltyEventExpirePoints](docs/LoyaltyEventExpirePoints.md) + - [SquareConnect.LoyaltyEventFilter](docs/LoyaltyEventFilter.md) + - [SquareConnect.LoyaltyEventLocationFilter](docs/LoyaltyEventLocationFilter.md) + - [SquareConnect.LoyaltyEventLoyaltyAccountFilter](docs/LoyaltyEventLoyaltyAccountFilter.md) + - [SquareConnect.LoyaltyEventOrderFilter](docs/LoyaltyEventOrderFilter.md) + - [SquareConnect.LoyaltyEventOther](docs/LoyaltyEventOther.md) + - [SquareConnect.LoyaltyEventQuery](docs/LoyaltyEventQuery.md) + - [SquareConnect.LoyaltyEventRedeemReward](docs/LoyaltyEventRedeemReward.md) + - [SquareConnect.LoyaltyEventSource](docs/LoyaltyEventSource.md) + - [SquareConnect.LoyaltyEventType](docs/LoyaltyEventType.md) + - [SquareConnect.LoyaltyEventTypeFilter](docs/LoyaltyEventTypeFilter.md) + - [SquareConnect.LoyaltyProgram](docs/LoyaltyProgram.md) + - [SquareConnect.LoyaltyProgramAccrualRule](docs/LoyaltyProgramAccrualRule.md) + - [SquareConnect.LoyaltyProgramAccrualRuleType](docs/LoyaltyProgramAccrualRuleType.md) + - [SquareConnect.LoyaltyProgramExpirationPolicy](docs/LoyaltyProgramExpirationPolicy.md) + - [SquareConnect.LoyaltyProgramRewardDefinition](docs/LoyaltyProgramRewardDefinition.md) + - [SquareConnect.LoyaltyProgramRewardDefinitionScope](docs/LoyaltyProgramRewardDefinitionScope.md) + - [SquareConnect.LoyaltyProgramRewardDefinitionType](docs/LoyaltyProgramRewardDefinitionType.md) + - [SquareConnect.LoyaltyProgramRewardTier](docs/LoyaltyProgramRewardTier.md) + - [SquareConnect.LoyaltyProgramStatus](docs/LoyaltyProgramStatus.md) + - [SquareConnect.LoyaltyProgramTerminology](docs/LoyaltyProgramTerminology.md) + - [SquareConnect.LoyaltyReward](docs/LoyaltyReward.md) + - [SquareConnect.LoyaltyRewardStatus](docs/LoyaltyRewardStatus.md) + - [SquareConnect.MeasurementUnit](docs/MeasurementUnit.md) + - [SquareConnect.MeasurementUnitArea](docs/MeasurementUnitArea.md) + - [SquareConnect.MeasurementUnitCustom](docs/MeasurementUnitCustom.md) + - [SquareConnect.MeasurementUnitGeneric](docs/MeasurementUnitGeneric.md) + - [SquareConnect.MeasurementUnitLength](docs/MeasurementUnitLength.md) + - [SquareConnect.MeasurementUnitTime](docs/MeasurementUnitTime.md) + - [SquareConnect.MeasurementUnitUnitType](docs/MeasurementUnitUnitType.md) + - [SquareConnect.MeasurementUnitVolume](docs/MeasurementUnitVolume.md) + - [SquareConnect.MeasurementUnitWeight](docs/MeasurementUnitWeight.md) + - [SquareConnect.Merchant](docs/Merchant.md) + - [SquareConnect.MerchantStatus](docs/MerchantStatus.md) + - [SquareConnect.ModelBreak](docs/ModelBreak.md) + - [SquareConnect.Money](docs/Money.md) + - [SquareConnect.ObtainTokenRequest](docs/ObtainTokenRequest.md) + - [SquareConnect.ObtainTokenResponse](docs/ObtainTokenResponse.md) + - [SquareConnect.OnboardAppointmentsRequest](docs/OnboardAppointmentsRequest.md) + - [SquareConnect.OnboardAppointmentsResponse](docs/OnboardAppointmentsResponse.md) + - [SquareConnect.Order](docs/Order.md) + - [SquareConnect.OrderCreated](docs/OrderCreated.md) + - [SquareConnect.OrderCreatedObject](docs/OrderCreatedObject.md) + - [SquareConnect.OrderEntry](docs/OrderEntry.md) + - [SquareConnect.OrderFulfillment](docs/OrderFulfillment.md) + - [SquareConnect.OrderFulfillmentPickupDetails](docs/OrderFulfillmentPickupDetails.md) + - [SquareConnect.OrderFulfillmentPickupDetailsCurbsidePickupDetails](docs/OrderFulfillmentPickupDetailsCurbsidePickupDetails.md) + - [SquareConnect.OrderFulfillmentPickupDetailsScheduleType](docs/OrderFulfillmentPickupDetailsScheduleType.md) + - [SquareConnect.OrderFulfillmentRecipient](docs/OrderFulfillmentRecipient.md) + - [SquareConnect.OrderFulfillmentShipmentDetails](docs/OrderFulfillmentShipmentDetails.md) + - [SquareConnect.OrderFulfillmentState](docs/OrderFulfillmentState.md) + - [SquareConnect.OrderFulfillmentType](docs/OrderFulfillmentType.md) + - [SquareConnect.OrderFulfillmentUpdated](docs/OrderFulfillmentUpdated.md) + - [SquareConnect.OrderFulfillmentUpdatedObject](docs/OrderFulfillmentUpdatedObject.md) + - [SquareConnect.OrderFulfillmentUpdatedUpdate](docs/OrderFulfillmentUpdatedUpdate.md) + - [SquareConnect.OrderLineItem](docs/OrderLineItem.md) + - [SquareConnect.OrderLineItemAppliedDiscount](docs/OrderLineItemAppliedDiscount.md) + - [SquareConnect.OrderLineItemAppliedTax](docs/OrderLineItemAppliedTax.md) + - [SquareConnect.OrderLineItemDiscount](docs/OrderLineItemDiscount.md) + - [SquareConnect.OrderLineItemDiscountScope](docs/OrderLineItemDiscountScope.md) + - [SquareConnect.OrderLineItemDiscountType](docs/OrderLineItemDiscountType.md) + - [SquareConnect.OrderLineItemModifier](docs/OrderLineItemModifier.md) + - [SquareConnect.OrderLineItemPricingBlocklists](docs/OrderLineItemPricingBlocklists.md) + - [SquareConnect.OrderLineItemPricingBlocklistsBlockedDiscount](docs/OrderLineItemPricingBlocklistsBlockedDiscount.md) + - [SquareConnect.OrderLineItemPricingBlocklistsBlockedTax](docs/OrderLineItemPricingBlocklistsBlockedTax.md) + - [SquareConnect.OrderLineItemTax](docs/OrderLineItemTax.md) + - [SquareConnect.OrderLineItemTaxScope](docs/OrderLineItemTaxScope.md) + - [SquareConnect.OrderLineItemTaxType](docs/OrderLineItemTaxType.md) + - [SquareConnect.OrderMoneyAmounts](docs/OrderMoneyAmounts.md) + - [SquareConnect.OrderPricingOptions](docs/OrderPricingOptions.md) + - [SquareConnect.OrderQuantityUnit](docs/OrderQuantityUnit.md) + - [SquareConnect.OrderReturn](docs/OrderReturn.md) + - [SquareConnect.OrderReturnDiscount](docs/OrderReturnDiscount.md) + - [SquareConnect.OrderReturnLineItem](docs/OrderReturnLineItem.md) + - [SquareConnect.OrderReturnLineItemModifier](docs/OrderReturnLineItemModifier.md) + - [SquareConnect.OrderReturnServiceCharge](docs/OrderReturnServiceCharge.md) + - [SquareConnect.OrderReturnTax](docs/OrderReturnTax.md) + - [SquareConnect.OrderReward](docs/OrderReward.md) + - [SquareConnect.OrderRoundingAdjustment](docs/OrderRoundingAdjustment.md) + - [SquareConnect.OrderServiceCharge](docs/OrderServiceCharge.md) + - [SquareConnect.OrderServiceChargeCalculationPhase](docs/OrderServiceChargeCalculationPhase.md) + - [SquareConnect.OrderSource](docs/OrderSource.md) + - [SquareConnect.OrderState](docs/OrderState.md) + - [SquareConnect.OrderUpdated](docs/OrderUpdated.md) + - [SquareConnect.OrderUpdatedObject](docs/OrderUpdatedObject.md) + - [SquareConnect.PayOrderRequest](docs/PayOrderRequest.md) + - [SquareConnect.PayOrderResponse](docs/PayOrderResponse.md) + - [SquareConnect.Payment](docs/Payment.md) + - [SquareConnect.PaymentOptions](docs/PaymentOptions.md) + - [SquareConnect.PaymentRefund](docs/PaymentRefund.md) + - [SquareConnect.ProcessingFee](docs/ProcessingFee.md) + - [SquareConnect.Product](docs/Product.md) + - [SquareConnect.ProductType](docs/ProductType.md) + - [SquareConnect.PublishInvoiceRequest](docs/PublishInvoiceRequest.md) + - [SquareConnect.PublishInvoiceResponse](docs/PublishInvoiceResponse.md) + - [SquareConnect.Range](docs/Range.md) + - [SquareConnect.RedeemLoyaltyRewardRequest](docs/RedeemLoyaltyRewardRequest.md) + - [SquareConnect.RedeemLoyaltyRewardResponse](docs/RedeemLoyaltyRewardResponse.md) + - [SquareConnect.Refund](docs/Refund.md) + - [SquareConnect.RefundPaymentRequest](docs/RefundPaymentRequest.md) + - [SquareConnect.RefundPaymentResponse](docs/RefundPaymentResponse.md) + - [SquareConnect.RefundStatus](docs/RefundStatus.md) + - [SquareConnect.RegisterDomainRequest](docs/RegisterDomainRequest.md) + - [SquareConnect.RegisterDomainResponse](docs/RegisterDomainResponse.md) + - [SquareConnect.RegisterDomainResponseStatus](docs/RegisterDomainResponseStatus.md) + - [SquareConnect.RemoveDisputeEvidenceRequest](docs/RemoveDisputeEvidenceRequest.md) + - [SquareConnect.RemoveDisputeEvidenceResponse](docs/RemoveDisputeEvidenceResponse.md) + - [SquareConnect.RemoveGroupFromCustomerRequest](docs/RemoveGroupFromCustomerRequest.md) + - [SquareConnect.RemoveGroupFromCustomerResponse](docs/RemoveGroupFromCustomerResponse.md) + - [SquareConnect.RenewTokenRequest](docs/RenewTokenRequest.md) + - [SquareConnect.RenewTokenResponse](docs/RenewTokenResponse.md) + - [SquareConnect.RetrieveBookingRequest](docs/RetrieveBookingRequest.md) + - [SquareConnect.RetrieveBookingResponse](docs/RetrieveBookingResponse.md) + - [SquareConnect.RetrieveBusinessBookingProfileRequest](docs/RetrieveBusinessBookingProfileRequest.md) + - [SquareConnect.RetrieveBusinessBookingProfileResponse](docs/RetrieveBusinessBookingProfileResponse.md) + - [SquareConnect.RetrieveCashDrawerShiftRequest](docs/RetrieveCashDrawerShiftRequest.md) + - [SquareConnect.RetrieveCashDrawerShiftResponse](docs/RetrieveCashDrawerShiftResponse.md) + - [SquareConnect.RetrieveCatalogObjectRequest](docs/RetrieveCatalogObjectRequest.md) + - [SquareConnect.RetrieveCatalogObjectResponse](docs/RetrieveCatalogObjectResponse.md) + - [SquareConnect.RetrieveCustomerGroupRequest](docs/RetrieveCustomerGroupRequest.md) + - [SquareConnect.RetrieveCustomerGroupResponse](docs/RetrieveCustomerGroupResponse.md) + - [SquareConnect.RetrieveCustomerRequest](docs/RetrieveCustomerRequest.md) + - [SquareConnect.RetrieveCustomerResponse](docs/RetrieveCustomerResponse.md) + - [SquareConnect.RetrieveCustomerSegmentRequest](docs/RetrieveCustomerSegmentRequest.md) + - [SquareConnect.RetrieveCustomerSegmentResponse](docs/RetrieveCustomerSegmentResponse.md) + - [SquareConnect.RetrieveDisputeEvidenceRequest](docs/RetrieveDisputeEvidenceRequest.md) + - [SquareConnect.RetrieveDisputeEvidenceResponse](docs/RetrieveDisputeEvidenceResponse.md) + - [SquareConnect.RetrieveDisputeRequest](docs/RetrieveDisputeRequest.md) + - [SquareConnect.RetrieveDisputeResponse](docs/RetrieveDisputeResponse.md) + - [SquareConnect.RetrieveEmployeeRequest](docs/RetrieveEmployeeRequest.md) + - [SquareConnect.RetrieveEmployeeResponse](docs/RetrieveEmployeeResponse.md) + - [SquareConnect.RetrieveInventoryAdjustmentRequest](docs/RetrieveInventoryAdjustmentRequest.md) + - [SquareConnect.RetrieveInventoryAdjustmentResponse](docs/RetrieveInventoryAdjustmentResponse.md) + - [SquareConnect.RetrieveInventoryChangesRequest](docs/RetrieveInventoryChangesRequest.md) + - [SquareConnect.RetrieveInventoryChangesResponse](docs/RetrieveInventoryChangesResponse.md) + - [SquareConnect.RetrieveInventoryCountRequest](docs/RetrieveInventoryCountRequest.md) + - [SquareConnect.RetrieveInventoryCountResponse](docs/RetrieveInventoryCountResponse.md) + - [SquareConnect.RetrieveInventoryPhysicalCountRequest](docs/RetrieveInventoryPhysicalCountRequest.md) + - [SquareConnect.RetrieveInventoryPhysicalCountResponse](docs/RetrieveInventoryPhysicalCountResponse.md) + - [SquareConnect.RetrieveLocationRequest](docs/RetrieveLocationRequest.md) + - [SquareConnect.RetrieveLocationResponse](docs/RetrieveLocationResponse.md) + - [SquareConnect.RetrieveLoyaltyAccountRequest](docs/RetrieveLoyaltyAccountRequest.md) + - [SquareConnect.RetrieveLoyaltyAccountResponse](docs/RetrieveLoyaltyAccountResponse.md) + - [SquareConnect.RetrieveLoyaltyRewardRequest](docs/RetrieveLoyaltyRewardRequest.md) + - [SquareConnect.RetrieveLoyaltyRewardResponse](docs/RetrieveLoyaltyRewardResponse.md) + - [SquareConnect.RetrieveMerchantRequest](docs/RetrieveMerchantRequest.md) + - [SquareConnect.RetrieveMerchantResponse](docs/RetrieveMerchantResponse.md) + - [SquareConnect.RetrieveObsMigrationProfileRequest](docs/RetrieveObsMigrationProfileRequest.md) + - [SquareConnect.RetrieveObsMigrationProfileResponse](docs/RetrieveObsMigrationProfileResponse.md) + - [SquareConnect.RetrieveOrderRequest](docs/RetrieveOrderRequest.md) + - [SquareConnect.RetrieveOrderResponse](docs/RetrieveOrderResponse.md) + - [SquareConnect.RetrieveSubscriptionRequest](docs/RetrieveSubscriptionRequest.md) + - [SquareConnect.RetrieveSubscriptionResponse](docs/RetrieveSubscriptionResponse.md) + - [SquareConnect.RetrieveTeamMemberBookingProfileRequest](docs/RetrieveTeamMemberBookingProfileRequest.md) + - [SquareConnect.RetrieveTeamMemberBookingProfileResponse](docs/RetrieveTeamMemberBookingProfileResponse.md) + - [SquareConnect.RetrieveTeamMemberRequest](docs/RetrieveTeamMemberRequest.md) + - [SquareConnect.RetrieveTeamMemberResponse](docs/RetrieveTeamMemberResponse.md) + - [SquareConnect.RetrieveTransactionRequest](docs/RetrieveTransactionRequest.md) + - [SquareConnect.RetrieveTransactionResponse](docs/RetrieveTransactionResponse.md) + - [SquareConnect.RetrieveWageSettingRequest](docs/RetrieveWageSettingRequest.md) + - [SquareConnect.RetrieveWageSettingResponse](docs/RetrieveWageSettingResponse.md) + - [SquareConnect.RevokeTokenRequest](docs/RevokeTokenRequest.md) + - [SquareConnect.RevokeTokenResponse](docs/RevokeTokenResponse.md) + - [SquareConnect.RiskEvaluation](docs/RiskEvaluation.md) + - [SquareConnect.RiskEvaluationRiskLevel](docs/RiskEvaluationRiskLevel.md) + - [SquareConnect.SearchAvailabilityFilter](docs/SearchAvailabilityFilter.md) + - [SquareConnect.SearchAvailabilityQuery](docs/SearchAvailabilityQuery.md) + - [SquareConnect.SearchAvailabilityRequest](docs/SearchAvailabilityRequest.md) + - [SquareConnect.SearchAvailabilityResponse](docs/SearchAvailabilityResponse.md) + - [SquareConnect.SearchCatalogItemsRequest](docs/SearchCatalogItemsRequest.md) + - [SquareConnect.SearchCatalogItemsRequestStockLevel](docs/SearchCatalogItemsRequestStockLevel.md) + - [SquareConnect.SearchCatalogItemsResponse](docs/SearchCatalogItemsResponse.md) + - [SquareConnect.SearchCatalogObjectsRequest](docs/SearchCatalogObjectsRequest.md) + - [SquareConnect.SearchCatalogObjectsResponse](docs/SearchCatalogObjectsResponse.md) + - [SquareConnect.SearchCustomersRequest](docs/SearchCustomersRequest.md) + - [SquareConnect.SearchCustomersResponse](docs/SearchCustomersResponse.md) + - [SquareConnect.SearchInvoicesRequest](docs/SearchInvoicesRequest.md) + - [SquareConnect.SearchInvoicesResponse](docs/SearchInvoicesResponse.md) + - [SquareConnect.SearchLoyaltyAccountsRequest](docs/SearchLoyaltyAccountsRequest.md) + - [SquareConnect.SearchLoyaltyAccountsRequestLoyaltyAccountQuery](docs/SearchLoyaltyAccountsRequestLoyaltyAccountQuery.md) + - [SquareConnect.SearchLoyaltyAccountsResponse](docs/SearchLoyaltyAccountsResponse.md) + - [SquareConnect.SearchLoyaltyEventsRequest](docs/SearchLoyaltyEventsRequest.md) + - [SquareConnect.SearchLoyaltyEventsResponse](docs/SearchLoyaltyEventsResponse.md) + - [SquareConnect.SearchLoyaltyRewardsRequest](docs/SearchLoyaltyRewardsRequest.md) + - [SquareConnect.SearchLoyaltyRewardsRequestLoyaltyRewardQuery](docs/SearchLoyaltyRewardsRequestLoyaltyRewardQuery.md) + - [SquareConnect.SearchLoyaltyRewardsResponse](docs/SearchLoyaltyRewardsResponse.md) + - [SquareConnect.SearchOrdersCustomerFilter](docs/SearchOrdersCustomerFilter.md) + - [SquareConnect.SearchOrdersDateTimeFilter](docs/SearchOrdersDateTimeFilter.md) + - [SquareConnect.SearchOrdersFilter](docs/SearchOrdersFilter.md) + - [SquareConnect.SearchOrdersFulfillmentFilter](docs/SearchOrdersFulfillmentFilter.md) + - [SquareConnect.SearchOrdersQuery](docs/SearchOrdersQuery.md) + - [SquareConnect.SearchOrdersRequest](docs/SearchOrdersRequest.md) + - [SquareConnect.SearchOrdersResponse](docs/SearchOrdersResponse.md) + - [SquareConnect.SearchOrdersSort](docs/SearchOrdersSort.md) + - [SquareConnect.SearchOrdersSortField](docs/SearchOrdersSortField.md) + - [SquareConnect.SearchOrdersSourceFilter](docs/SearchOrdersSourceFilter.md) + - [SquareConnect.SearchOrdersStateFilter](docs/SearchOrdersStateFilter.md) + - [SquareConnect.SearchShiftsRequest](docs/SearchShiftsRequest.md) + - [SquareConnect.SearchShiftsResponse](docs/SearchShiftsResponse.md) + - [SquareConnect.SearchSubscriptionsFilter](docs/SearchSubscriptionsFilter.md) + - [SquareConnect.SearchSubscriptionsQuery](docs/SearchSubscriptionsQuery.md) + - [SquareConnect.SearchSubscriptionsRequest](docs/SearchSubscriptionsRequest.md) + - [SquareConnect.SearchSubscriptionsResponse](docs/SearchSubscriptionsResponse.md) + - [SquareConnect.SearchTeamMembersFilter](docs/SearchTeamMembersFilter.md) + - [SquareConnect.SearchTeamMembersQuery](docs/SearchTeamMembersQuery.md) + - [SquareConnect.SearchTeamMembersRequest](docs/SearchTeamMembersRequest.md) + - [SquareConnect.SearchTeamMembersResponse](docs/SearchTeamMembersResponse.md) + - [SquareConnect.SearchTerminalCheckoutsRequest](docs/SearchTerminalCheckoutsRequest.md) + - [SquareConnect.SearchTerminalCheckoutsResponse](docs/SearchTerminalCheckoutsResponse.md) + - [SquareConnect.SearchTerminalRefundsRequest](docs/SearchTerminalRefundsRequest.md) + - [SquareConnect.SearchTerminalRefundsResponse](docs/SearchTerminalRefundsResponse.md) + - [SquareConnect.SegmentFilter](docs/SegmentFilter.md) + - [SquareConnect.Shift](docs/Shift.md) + - [SquareConnect.ShiftFilter](docs/ShiftFilter.md) + - [SquareConnect.ShiftFilterStatus](docs/ShiftFilterStatus.md) + - [SquareConnect.ShiftQuery](docs/ShiftQuery.md) + - [SquareConnect.ShiftSort](docs/ShiftSort.md) + - [SquareConnect.ShiftSortField](docs/ShiftSortField.md) + - [SquareConnect.ShiftStatus](docs/ShiftStatus.md) + - [SquareConnect.ShiftWage](docs/ShiftWage.md) + - [SquareConnect.ShiftWorkday](docs/ShiftWorkday.md) + - [SquareConnect.ShiftWorkdayMatcher](docs/ShiftWorkdayMatcher.md) + - [SquareConnect.SortOrder](docs/SortOrder.md) + - [SquareConnect.SourceApplication](docs/SourceApplication.md) + - [SquareConnect.StandardUnitDescription](docs/StandardUnitDescription.md) + - [SquareConnect.StandardUnitDescriptionGroup](docs/StandardUnitDescriptionGroup.md) + - [SquareConnect.SubmitEvidenceRequest](docs/SubmitEvidenceRequest.md) + - [SquareConnect.SubmitEvidenceResponse](docs/SubmitEvidenceResponse.md) + - [SquareConnect.Subscription](docs/Subscription.md) + - [SquareConnect.SubscriptionCadence](docs/SubscriptionCadence.md) + - [SquareConnect.SubscriptionEvent](docs/SubscriptionEvent.md) + - [SquareConnect.SubscriptionEventSubscriptionEventType](docs/SubscriptionEventSubscriptionEventType.md) + - [SquareConnect.SubscriptionPhase](docs/SubscriptionPhase.md) + - [SquareConnect.SubscriptionStatus](docs/SubscriptionStatus.md) + - [SquareConnect.TaxCalculationPhase](docs/TaxCalculationPhase.md) + - [SquareConnect.TaxInclusionType](docs/TaxInclusionType.md) + - [SquareConnect.TeamMember](docs/TeamMember.md) + - [SquareConnect.TeamMemberAssignedLocations](docs/TeamMemberAssignedLocations.md) + - [SquareConnect.TeamMemberAssignedLocationsAssignmentType](docs/TeamMemberAssignedLocationsAssignmentType.md) + - [SquareConnect.TeamMemberBookingProfile](docs/TeamMemberBookingProfile.md) + - [SquareConnect.TeamMemberStatus](docs/TeamMemberStatus.md) + - [SquareConnect.TeamMemberWage](docs/TeamMemberWage.md) + - [SquareConnect.Tender](docs/Tender.md) + - [SquareConnect.TenderCardDetails](docs/TenderCardDetails.md) + - [SquareConnect.TenderCardDetailsEntryMethod](docs/TenderCardDetailsEntryMethod.md) + - [SquareConnect.TenderCardDetailsStatus](docs/TenderCardDetailsStatus.md) + - [SquareConnect.TenderCashDetails](docs/TenderCashDetails.md) + - [SquareConnect.TenderType](docs/TenderType.md) + - [SquareConnect.TerminalCheckout](docs/TerminalCheckout.md) + - [SquareConnect.TerminalCheckoutQuery](docs/TerminalCheckoutQuery.md) + - [SquareConnect.TerminalCheckoutQueryFilter](docs/TerminalCheckoutQueryFilter.md) + - [SquareConnect.TerminalCheckoutQuerySort](docs/TerminalCheckoutQuerySort.md) + - [SquareConnect.TerminalRefund](docs/TerminalRefund.md) + - [SquareConnect.TerminalRefundQuery](docs/TerminalRefundQuery.md) + - [SquareConnect.TerminalRefundQueryFilter](docs/TerminalRefundQueryFilter.md) + - [SquareConnect.TerminalRefundQuerySort](docs/TerminalRefundQuerySort.md) + - [SquareConnect.TimeRange](docs/TimeRange.md) + - [SquareConnect.TipSettings](docs/TipSettings.md) + - [SquareConnect.Transaction](docs/Transaction.md) + - [SquareConnect.TransactionProduct](docs/TransactionProduct.md) + - [SquareConnect.TransactionType](docs/TransactionType.md) + - [SquareConnect.UpdateBookingRequest](docs/UpdateBookingRequest.md) + - [SquareConnect.UpdateBookingResponse](docs/UpdateBookingResponse.md) + - [SquareConnect.UpdateBreakTypeRequest](docs/UpdateBreakTypeRequest.md) + - [SquareConnect.UpdateBreakTypeResponse](docs/UpdateBreakTypeResponse.md) + - [SquareConnect.UpdateCustomerGroupRequest](docs/UpdateCustomerGroupRequest.md) + - [SquareConnect.UpdateCustomerGroupResponse](docs/UpdateCustomerGroupResponse.md) + - [SquareConnect.UpdateCustomerRequest](docs/UpdateCustomerRequest.md) + - [SquareConnect.UpdateCustomerResponse](docs/UpdateCustomerResponse.md) + - [SquareConnect.UpdateInvoiceRequest](docs/UpdateInvoiceRequest.md) + - [SquareConnect.UpdateInvoiceResponse](docs/UpdateInvoiceResponse.md) + - [SquareConnect.UpdateItemModifierListsRequest](docs/UpdateItemModifierListsRequest.md) + - [SquareConnect.UpdateItemModifierListsResponse](docs/UpdateItemModifierListsResponse.md) + - [SquareConnect.UpdateItemTaxesRequest](docs/UpdateItemTaxesRequest.md) + - [SquareConnect.UpdateItemTaxesResponse](docs/UpdateItemTaxesResponse.md) + - [SquareConnect.UpdateLocationRequest](docs/UpdateLocationRequest.md) + - [SquareConnect.UpdateLocationResponse](docs/UpdateLocationResponse.md) + - [SquareConnect.UpdateOrderRequest](docs/UpdateOrderRequest.md) + - [SquareConnect.UpdateOrderResponse](docs/UpdateOrderResponse.md) + - [SquareConnect.UpdateShiftRequest](docs/UpdateShiftRequest.md) + - [SquareConnect.UpdateShiftResponse](docs/UpdateShiftResponse.md) + - [SquareConnect.UpdateSubscriptionRequest](docs/UpdateSubscriptionRequest.md) + - [SquareConnect.UpdateSubscriptionResponse](docs/UpdateSubscriptionResponse.md) + - [SquareConnect.UpdateTeamMemberRequest](docs/UpdateTeamMemberRequest.md) + - [SquareConnect.UpdateTeamMemberResponse](docs/UpdateTeamMemberResponse.md) + - [SquareConnect.UpdateWageSettingRequest](docs/UpdateWageSettingRequest.md) + - [SquareConnect.UpdateWageSettingResponse](docs/UpdateWageSettingResponse.md) + - [SquareConnect.UpdateWorkweekConfigRequest](docs/UpdateWorkweekConfigRequest.md) + - [SquareConnect.UpdateWorkweekConfigResponse](docs/UpdateWorkweekConfigResponse.md) + - [SquareConnect.UpsertCatalogObjectRequest](docs/UpsertCatalogObjectRequest.md) + - [SquareConnect.UpsertCatalogObjectResponse](docs/UpsertCatalogObjectResponse.md) + - [SquareConnect.V1AdjustInventoryRequest](docs/V1AdjustInventoryRequest.md) + - [SquareConnect.V1AdjustInventoryRequestAdjustmentType](docs/V1AdjustInventoryRequestAdjustmentType.md) + - [SquareConnect.V1ApplyFeeRequest](docs/V1ApplyFeeRequest.md) + - [SquareConnect.V1ApplyModifierListRequest](docs/V1ApplyModifierListRequest.md) + - [SquareConnect.V1BankAccount](docs/V1BankAccount.md) + - [SquareConnect.V1BankAccountType](docs/V1BankAccountType.md) + - [SquareConnect.V1CashDrawerEvent](docs/V1CashDrawerEvent.md) + - [SquareConnect.V1CashDrawerEventEventType](docs/V1CashDrawerEventEventType.md) + - [SquareConnect.V1CashDrawerShift](docs/V1CashDrawerShift.md) + - [SquareConnect.V1CashDrawerShiftEventType](docs/V1CashDrawerShiftEventType.md) + - [SquareConnect.V1Category](docs/V1Category.md) + - [SquareConnect.V1CreateCategoryRequest](docs/V1CreateCategoryRequest.md) + - [SquareConnect.V1CreateDiscountRequest](docs/V1CreateDiscountRequest.md) + - [SquareConnect.V1CreateEmployeeRoleRequest](docs/V1CreateEmployeeRoleRequest.md) + - [SquareConnect.V1CreateFeeRequest](docs/V1CreateFeeRequest.md) + - [SquareConnect.V1CreateItemRequest](docs/V1CreateItemRequest.md) + - [SquareConnect.V1CreateModifierListRequest](docs/V1CreateModifierListRequest.md) + - [SquareConnect.V1CreateModifierOptionRequest](docs/V1CreateModifierOptionRequest.md) + - [SquareConnect.V1CreatePageRequest](docs/V1CreatePageRequest.md) + - [SquareConnect.V1CreateRefundRequest](docs/V1CreateRefundRequest.md) + - [SquareConnect.V1CreateRefundRequestType](docs/V1CreateRefundRequestType.md) + - [SquareConnect.V1CreateVariationRequest](docs/V1CreateVariationRequest.md) + - [SquareConnect.V1DeleteCategoryRequest](docs/V1DeleteCategoryRequest.md) + - [SquareConnect.V1DeleteDiscountRequest](docs/V1DeleteDiscountRequest.md) + - [SquareConnect.V1DeleteFeeRequest](docs/V1DeleteFeeRequest.md) + - [SquareConnect.V1DeleteItemRequest](docs/V1DeleteItemRequest.md) + - [SquareConnect.V1DeleteModifierListRequest](docs/V1DeleteModifierListRequest.md) + - [SquareConnect.V1DeleteModifierOptionRequest](docs/V1DeleteModifierOptionRequest.md) + - [SquareConnect.V1DeletePageCellRequest](docs/V1DeletePageCellRequest.md) + - [SquareConnect.V1DeletePageRequest](docs/V1DeletePageRequest.md) + - [SquareConnect.V1DeleteTimecardRequest](docs/V1DeleteTimecardRequest.md) + - [SquareConnect.V1DeleteTimecardResponse](docs/V1DeleteTimecardResponse.md) + - [SquareConnect.V1DeleteVariationRequest](docs/V1DeleteVariationRequest.md) + - [SquareConnect.V1Discount](docs/V1Discount.md) + - [SquareConnect.V1DiscountColor](docs/V1DiscountColor.md) + - [SquareConnect.V1DiscountDiscountType](docs/V1DiscountDiscountType.md) + - [SquareConnect.V1Employee](docs/V1Employee.md) + - [SquareConnect.V1EmployeeRole](docs/V1EmployeeRole.md) + - [SquareConnect.V1EmployeeRolePermissions](docs/V1EmployeeRolePermissions.md) + - [SquareConnect.V1EmployeeStatus](docs/V1EmployeeStatus.md) + - [SquareConnect.V1Fee](docs/V1Fee.md) + - [SquareConnect.V1FeeAdjustmentType](docs/V1FeeAdjustmentType.md) + - [SquareConnect.V1FeeCalculationPhase](docs/V1FeeCalculationPhase.md) + - [SquareConnect.V1FeeInclusionType](docs/V1FeeInclusionType.md) + - [SquareConnect.V1FeeType](docs/V1FeeType.md) + - [SquareConnect.V1InventoryEntry](docs/V1InventoryEntry.md) + - [SquareConnect.V1Item](docs/V1Item.md) + - [SquareConnect.V1ItemColor](docs/V1ItemColor.md) + - [SquareConnect.V1ItemImage](docs/V1ItemImage.md) + - [SquareConnect.V1ItemType](docs/V1ItemType.md) + - [SquareConnect.V1ItemVisibility](docs/V1ItemVisibility.md) + - [SquareConnect.V1ListBankAccountsRequest](docs/V1ListBankAccountsRequest.md) + - [SquareConnect.V1ListBankAccountsResponse](docs/V1ListBankAccountsResponse.md) + - [SquareConnect.V1ListCashDrawerShiftsRequest](docs/V1ListCashDrawerShiftsRequest.md) + - [SquareConnect.V1ListCashDrawerShiftsResponse](docs/V1ListCashDrawerShiftsResponse.md) + - [SquareConnect.V1ListCategoriesRequest](docs/V1ListCategoriesRequest.md) + - [SquareConnect.V1ListCategoriesResponse](docs/V1ListCategoriesResponse.md) + - [SquareConnect.V1ListDiscountsRequest](docs/V1ListDiscountsRequest.md) + - [SquareConnect.V1ListDiscountsResponse](docs/V1ListDiscountsResponse.md) + - [SquareConnect.V1ListEmployeeRolesRequest](docs/V1ListEmployeeRolesRequest.md) + - [SquareConnect.V1ListEmployeeRolesResponse](docs/V1ListEmployeeRolesResponse.md) + - [SquareConnect.V1ListEmployeesRequest](docs/V1ListEmployeesRequest.md) + - [SquareConnect.V1ListEmployeesRequestStatus](docs/V1ListEmployeesRequestStatus.md) + - [SquareConnect.V1ListEmployeesResponse](docs/V1ListEmployeesResponse.md) + - [SquareConnect.V1ListFeesRequest](docs/V1ListFeesRequest.md) + - [SquareConnect.V1ListFeesResponse](docs/V1ListFeesResponse.md) + - [SquareConnect.V1ListInventoryRequest](docs/V1ListInventoryRequest.md) + - [SquareConnect.V1ListInventoryResponse](docs/V1ListInventoryResponse.md) + - [SquareConnect.V1ListItemsRequest](docs/V1ListItemsRequest.md) + - [SquareConnect.V1ListItemsResponse](docs/V1ListItemsResponse.md) + - [SquareConnect.V1ListModifierListsRequest](docs/V1ListModifierListsRequest.md) + - [SquareConnect.V1ListModifierListsResponse](docs/V1ListModifierListsResponse.md) + - [SquareConnect.V1ListOrdersRequest](docs/V1ListOrdersRequest.md) + - [SquareConnect.V1ListOrdersResponse](docs/V1ListOrdersResponse.md) + - [SquareConnect.V1ListPagesRequest](docs/V1ListPagesRequest.md) + - [SquareConnect.V1ListPagesResponse](docs/V1ListPagesResponse.md) + - [SquareConnect.V1ListPaymentsRequest](docs/V1ListPaymentsRequest.md) + - [SquareConnect.V1ListPaymentsResponse](docs/V1ListPaymentsResponse.md) + - [SquareConnect.V1ListRefundsRequest](docs/V1ListRefundsRequest.md) + - [SquareConnect.V1ListRefundsResponse](docs/V1ListRefundsResponse.md) + - [SquareConnect.V1ListSettlementsRequest](docs/V1ListSettlementsRequest.md) + - [SquareConnect.V1ListSettlementsRequestStatus](docs/V1ListSettlementsRequestStatus.md) + - [SquareConnect.V1ListSettlementsResponse](docs/V1ListSettlementsResponse.md) + - [SquareConnect.V1ListTimecardEventsRequest](docs/V1ListTimecardEventsRequest.md) + - [SquareConnect.V1ListTimecardEventsResponse](docs/V1ListTimecardEventsResponse.md) + - [SquareConnect.V1ListTimecardsRequest](docs/V1ListTimecardsRequest.md) + - [SquareConnect.V1ListTimecardsResponse](docs/V1ListTimecardsResponse.md) + - [SquareConnect.V1ModifierList](docs/V1ModifierList.md) + - [SquareConnect.V1ModifierListSelectionType](docs/V1ModifierListSelectionType.md) + - [SquareConnect.V1ModifierOption](docs/V1ModifierOption.md) + - [SquareConnect.V1Money](docs/V1Money.md) + - [SquareConnect.V1Order](docs/V1Order.md) + - [SquareConnect.V1OrderHistoryEntry](docs/V1OrderHistoryEntry.md) + - [SquareConnect.V1OrderHistoryEntryAction](docs/V1OrderHistoryEntryAction.md) + - [SquareConnect.V1OrderState](docs/V1OrderState.md) + - [SquareConnect.V1Page](docs/V1Page.md) + - [SquareConnect.V1PageCell](docs/V1PageCell.md) + - [SquareConnect.V1PageCellObjectType](docs/V1PageCellObjectType.md) + - [SquareConnect.V1PageCellPlaceholderType](docs/V1PageCellPlaceholderType.md) + - [SquareConnect.V1Payment](docs/V1Payment.md) + - [SquareConnect.V1PaymentDiscount](docs/V1PaymentDiscount.md) + - [SquareConnect.V1PaymentItemDetail](docs/V1PaymentItemDetail.md) + - [SquareConnect.V1PaymentItemization](docs/V1PaymentItemization.md) + - [SquareConnect.V1PaymentItemizationItemizationType](docs/V1PaymentItemizationItemizationType.md) + - [SquareConnect.V1PaymentModifier](docs/V1PaymentModifier.md) + - [SquareConnect.V1PaymentSurcharge](docs/V1PaymentSurcharge.md) + - [SquareConnect.V1PaymentSurchargeType](docs/V1PaymentSurchargeType.md) + - [SquareConnect.V1PaymentTax](docs/V1PaymentTax.md) + - [SquareConnect.V1PaymentTaxInclusionType](docs/V1PaymentTaxInclusionType.md) + - [SquareConnect.V1PhoneNumber](docs/V1PhoneNumber.md) + - [SquareConnect.V1Refund](docs/V1Refund.md) + - [SquareConnect.V1RefundType](docs/V1RefundType.md) + - [SquareConnect.V1RemoveFeeRequest](docs/V1RemoveFeeRequest.md) + - [SquareConnect.V1RemoveModifierListRequest](docs/V1RemoveModifierListRequest.md) + - [SquareConnect.V1RetrieveBankAccountRequest](docs/V1RetrieveBankAccountRequest.md) + - [SquareConnect.V1RetrieveCashDrawerShiftRequest](docs/V1RetrieveCashDrawerShiftRequest.md) + - [SquareConnect.V1RetrieveEmployeeRequest](docs/V1RetrieveEmployeeRequest.md) + - [SquareConnect.V1RetrieveEmployeeRoleRequest](docs/V1RetrieveEmployeeRoleRequest.md) + - [SquareConnect.V1RetrieveItemRequest](docs/V1RetrieveItemRequest.md) + - [SquareConnect.V1RetrieveModifierListRequest](docs/V1RetrieveModifierListRequest.md) + - [SquareConnect.V1RetrieveOrderRequest](docs/V1RetrieveOrderRequest.md) + - [SquareConnect.V1RetrievePaymentRequest](docs/V1RetrievePaymentRequest.md) + - [SquareConnect.V1RetrieveSettlementRequest](docs/V1RetrieveSettlementRequest.md) + - [SquareConnect.V1RetrieveTimecardRequest](docs/V1RetrieveTimecardRequest.md) + - [SquareConnect.V1Settlement](docs/V1Settlement.md) + - [SquareConnect.V1SettlementEntry](docs/V1SettlementEntry.md) + - [SquareConnect.V1SettlementEntryType](docs/V1SettlementEntryType.md) + - [SquareConnect.V1SettlementStatus](docs/V1SettlementStatus.md) + - [SquareConnect.V1Tender](docs/V1Tender.md) + - [SquareConnect.V1TenderCardBrand](docs/V1TenderCardBrand.md) + - [SquareConnect.V1TenderEntryMethod](docs/V1TenderEntryMethod.md) + - [SquareConnect.V1TenderType](docs/V1TenderType.md) + - [SquareConnect.V1Timecard](docs/V1Timecard.md) + - [SquareConnect.V1TimecardEvent](docs/V1TimecardEvent.md) + - [SquareConnect.V1TimecardEventEventType](docs/V1TimecardEventEventType.md) + - [SquareConnect.V1UpdateCategoryRequest](docs/V1UpdateCategoryRequest.md) + - [SquareConnect.V1UpdateDiscountRequest](docs/V1UpdateDiscountRequest.md) + - [SquareConnect.V1UpdateEmployeeRequest](docs/V1UpdateEmployeeRequest.md) + - [SquareConnect.V1UpdateEmployeeRoleRequest](docs/V1UpdateEmployeeRoleRequest.md) + - [SquareConnect.V1UpdateFeeRequest](docs/V1UpdateFeeRequest.md) + - [SquareConnect.V1UpdateItemRequest](docs/V1UpdateItemRequest.md) + - [SquareConnect.V1UpdateModifierListRequest](docs/V1UpdateModifierListRequest.md) + - [SquareConnect.V1UpdateModifierListRequestSelectionType](docs/V1UpdateModifierListRequestSelectionType.md) + - [SquareConnect.V1UpdateModifierOptionRequest](docs/V1UpdateModifierOptionRequest.md) + - [SquareConnect.V1UpdateOrderRequest](docs/V1UpdateOrderRequest.md) + - [SquareConnect.V1UpdateOrderRequestAction](docs/V1UpdateOrderRequestAction.md) + - [SquareConnect.V1UpdatePageCellRequest](docs/V1UpdatePageCellRequest.md) + - [SquareConnect.V1UpdatePageRequest](docs/V1UpdatePageRequest.md) + - [SquareConnect.V1UpdateTimecardRequest](docs/V1UpdateTimecardRequest.md) + - [SquareConnect.V1UpdateVariationRequest](docs/V1UpdateVariationRequest.md) + - [SquareConnect.V1Variation](docs/V1Variation.md) + - [SquareConnect.V1VariationInventoryAlertType](docs/V1VariationInventoryAlertType.md) + - [SquareConnect.V1VariationPricingType](docs/V1VariationPricingType.md) + - [SquareConnect.VoidTransactionRequest](docs/VoidTransactionRequest.md) + - [SquareConnect.VoidTransactionResponse](docs/VoidTransactionResponse.md) + - [SquareConnect.WageSetting](docs/WageSetting.md) + - [SquareConnect.Weekday](docs/Weekday.md) + - [SquareConnect.WorkweekConfig](docs/WorkweekConfig.md) ## Documentation for Authorization diff --git a/docs/RemoveDisputeEvidenceRequest.md b/docs/RemoveDisputeEvidenceRequest.md index f305a19..6b06214 100644 --- a/docs/RemoveDisputeEvidenceRequest.md +++ b/docs/RemoveDisputeEvidenceRequest.md @@ -3,7 +3,7 @@ ### Description **Note: This model is in beta.** -Defines parameters for a RemoveDisputeEvidence request. +Defines the parameters for a `RemoveDisputeEvidence` request. ## Properties Name | Type | Description | Notes diff --git a/docs/RemoveDisputeEvidenceResponse.md b/docs/RemoveDisputeEvidenceResponse.md index 79b1af5..39e8318 100644 --- a/docs/RemoveDisputeEvidenceResponse.md +++ b/docs/RemoveDisputeEvidenceResponse.md @@ -3,11 +3,11 @@ ### Description **Note: This model is in beta.** -Defines fields in a RemoveDisputeEvidence response. +Defines the fields in a `RemoveDisputeEvidence` response. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**errors** | [**[Error]**](Error.md) | Information on errors encountered during the request. | [optional] +**errors** | [**[Error]**](Error.md) | Information about errors encountered during the request. | [optional] diff --git a/docs/RemoveGroupFromCustomerRequest.md b/docs/RemoveGroupFromCustomerRequest.md index 7a479e0..e8cbbcf 100644 --- a/docs/RemoveGroupFromCustomerRequest.md +++ b/docs/RemoveGroupFromCustomerRequest.md @@ -1,7 +1,6 @@ # SquareConnect.RemoveGroupFromCustomerRequest ### Description -**Note: This model is in beta.** Defines the fields that are included in the request body of a request to the [RemoveGroupFromCustomer](#endpoint-removegroupfromcustomer) endpoint. diff --git a/docs/RemoveGroupFromCustomerResponse.md b/docs/RemoveGroupFromCustomerResponse.md index 8dfee4f..fbe40cc 100644 --- a/docs/RemoveGroupFromCustomerResponse.md +++ b/docs/RemoveGroupFromCustomerResponse.md @@ -1,7 +1,6 @@ # SquareConnect.RemoveGroupFromCustomerResponse ### Description -**Note: This model is in beta.** Defines the fields that are included in the response body of a request to the [RemoveGroupFromCustomer](#endpoint-removegroupfromcustomer) endpoint. diff --git a/docs/RetrieveCatalogObjectRequest.md b/docs/RetrieveCatalogObjectRequest.md index 797194b..3569913 100644 --- a/docs/RetrieveCatalogObjectRequest.md +++ b/docs/RetrieveCatalogObjectRequest.md @@ -8,5 +8,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **include_related_objects** | **Boolean** | If `true`, the response will include additional objects that are related to the requested object, as follows: If the `object` field of the response contains a `CatalogItem`, its associated `CatalogCategory`, `CatalogTax`, `CatalogImage` and `CatalogModifierList` objects will be returned in the `related_objects` field of the response. If the `object` field of the response contains a `CatalogItemVariation`, its parent `CatalogItem` will be returned in the `related_objects` field of the response. Default value: `false` | [optional] +**catalog_version** | **Number** | Requests objects as of a specific version of the catalog. This allows you to retrieve historical versions of objects. The value to retrieve a specific version of an object can be found in the version field of `CatalogObject`s. | [optional] [beta] diff --git a/docs/RetrieveCustomerGroupRequest.md b/docs/RetrieveCustomerGroupRequest.md index 4981f60..68ba24e 100644 --- a/docs/RetrieveCustomerGroupRequest.md +++ b/docs/RetrieveCustomerGroupRequest.md @@ -1,7 +1,6 @@ # SquareConnect.RetrieveCustomerGroupRequest ### Description -**Note: This model is in beta.** Defines the fields that can be provided in a request to the [RetrieveCustomerGroup](#endpoint-retrievecustomergroup) endpoint. diff --git a/docs/RetrieveCustomerGroupResponse.md b/docs/RetrieveCustomerGroupResponse.md index ec603cc..49d7b87 100644 --- a/docs/RetrieveCustomerGroupResponse.md +++ b/docs/RetrieveCustomerGroupResponse.md @@ -1,7 +1,6 @@ # SquareConnect.RetrieveCustomerGroupResponse ### Description -**Note: This model is in beta.** Defines the fields that are included in the response body of a request to the [RetrieveCustomerGroup](#endpoint-retrievecustomergroup) endpoint. One of `errors` or `group` is present in a given response (never both). diff --git a/docs/RetrieveCustomerSegmentRequest.md b/docs/RetrieveCustomerSegmentRequest.md index 64c734a..589a9c3 100644 --- a/docs/RetrieveCustomerSegmentRequest.md +++ b/docs/RetrieveCustomerSegmentRequest.md @@ -1,7 +1,6 @@ # SquareConnect.RetrieveCustomerSegmentRequest ### Description -**Note: This model is in beta.** Defines the valid parameters for requests to __RetrieveCustomerSegmentRequest__. diff --git a/docs/RetrieveCustomerSegmentResponse.md b/docs/RetrieveCustomerSegmentResponse.md index 1107153..62aa43d 100644 --- a/docs/RetrieveCustomerSegmentResponse.md +++ b/docs/RetrieveCustomerSegmentResponse.md @@ -1,7 +1,6 @@ # SquareConnect.RetrieveCustomerSegmentResponse ### Description -**Note: This model is in beta.** Defines the fields included in the response body for requests to __RetrieveCustomerSegment__. One of `errors` or `segment` is present in a given response (never both). diff --git a/docs/RetrieveDisputeEvidenceRequest.md b/docs/RetrieveDisputeEvidenceRequest.md index 5a0c17e..732da55 100644 --- a/docs/RetrieveDisputeEvidenceRequest.md +++ b/docs/RetrieveDisputeEvidenceRequest.md @@ -3,7 +3,7 @@ ### Description **Note: This model is in beta.** -Defines parameters for a RetrieveDisputeEvidence request. +Defines the parameters for a `RetrieveDisputeEvidence` request. ## Properties Name | Type | Description | Notes diff --git a/docs/RetrieveDisputeEvidenceResponse.md b/docs/RetrieveDisputeEvidenceResponse.md index ace6b5f..2a4cab5 100644 --- a/docs/RetrieveDisputeEvidenceResponse.md +++ b/docs/RetrieveDisputeEvidenceResponse.md @@ -3,7 +3,7 @@ ### Description **Note: This model is in beta.** -Defines fields in a RetrieveDisputeEvidence response. +Defines the fields in a `RetrieveDisputeEvidence` response. ## Properties Name | Type | Description | Notes diff --git a/docs/RetrieveDisputeRequest.md b/docs/RetrieveDisputeRequest.md index 40ad559..26d961f 100644 --- a/docs/RetrieveDisputeRequest.md +++ b/docs/RetrieveDisputeRequest.md @@ -3,7 +3,7 @@ ### Description **Note: This model is in beta.** -Defines request parameters for the RetrieveDispute endpoint. +Defines the request parameters for the `RetrieveDispute` endpoint. ## Properties Name | Type | Description | Notes diff --git a/docs/RetrieveDisputeResponse.md b/docs/RetrieveDisputeResponse.md index 07b263a..2c6b0c7 100644 --- a/docs/RetrieveDisputeResponse.md +++ b/docs/RetrieveDisputeResponse.md @@ -3,12 +3,12 @@ ### Description **Note: This model is in beta.** -Defines fields in a RetrieveDispute response. +Defines fields in a `RetrieveDispute` response. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**errors** | [**[Error]**](Error.md) | Information on errors encountered during the request. | [optional] +**errors** | [**[Error]**](Error.md) | Information about errors encountered during the request. | [optional] **dispute** | [**Dispute**](Dispute.md) | Details about the requested `Dispute`. | [optional] diff --git a/docs/SearchAvailabilityFilter.md b/docs/SearchAvailabilityFilter.md index f83fdc8..b54dc92 100644 --- a/docs/SearchAvailabilityFilter.md +++ b/docs/SearchAvailabilityFilter.md @@ -8,7 +8,7 @@ A query filter to search for availabilities by. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**start_at_range** | [**TimeRange**](TimeRange.md) | The query expression to search for availabilities matching the specified range of starting times. | +**start_at_range** | [**TimeRange**](TimeRange.md) | The query expression to search for availabilities matching the specified range of starting times. The range must be at least 24 hours and at most 31 days in length. | **location_id** | **String** | The query expression to search for availabilities matching the specified seller location IDs. This query expression is not applicable when `booking_id` is present. | [optional] **segment_filters** | [**[SegmentFilter]**](SegmentFilter.md) | The list of segment filters to apply. A query with `n` segment filters returns availabilities with `n` segments per availability. It is not applicable when `booking_id` is present. | [optional] **booking_id** | **String** | The query expression to search for availabilities for an existing booking by matching the specified `booking_id` value. This is commonly used to reschedule an appointment. If this expression is specified, the `location_id` and `segment_filters` expressions are not allowed. | [optional] diff --git a/docs/SubmitEvidenceRequest.md b/docs/SubmitEvidenceRequest.md index 49e0cf1..a61466f 100644 --- a/docs/SubmitEvidenceRequest.md +++ b/docs/SubmitEvidenceRequest.md @@ -3,7 +3,7 @@ ### Description **Note: This model is in beta.** -Defines parameters for a SubmitEvidence request. +Defines the parameters for a `SubmitEvidence` request. ## Properties Name | Type | Description | Notes diff --git a/docs/SubmitEvidenceResponse.md b/docs/SubmitEvidenceResponse.md index f5753e1..2cb634f 100644 --- a/docs/SubmitEvidenceResponse.md +++ b/docs/SubmitEvidenceResponse.md @@ -3,12 +3,12 @@ ### Description **Note: This model is in beta.** -Defines fields in a SubmitEvidence response. +Defines the fields in a `SubmitEvidence` response. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**errors** | [**[Error]**](Error.md) | Information on errors encountered during the request. | [optional] +**errors** | [**[Error]**](Error.md) | Information about errors encountered during the request. | [optional] **dispute** | [**Dispute**](Dispute.md) | The `Dispute` for which evidence was submitted. | [optional] diff --git a/docs/UpdateCustomerGroupRequest.md b/docs/UpdateCustomerGroupRequest.md index 2d2fcb8..21abcff 100644 --- a/docs/UpdateCustomerGroupRequest.md +++ b/docs/UpdateCustomerGroupRequest.md @@ -1,7 +1,6 @@ # SquareConnect.UpdateCustomerGroupRequest ### Description -**Note: This model is in beta.** Defines the body parameters that can be provided in a request to the [UpdateCustomerGroup](#endpoint-updatecustomergroup) endpoint. diff --git a/docs/UpdateCustomerGroupResponse.md b/docs/UpdateCustomerGroupResponse.md index 3f5be9f..817ad7e 100644 --- a/docs/UpdateCustomerGroupResponse.md +++ b/docs/UpdateCustomerGroupResponse.md @@ -1,7 +1,6 @@ # SquareConnect.UpdateCustomerGroupResponse ### Description -**Note: This model is in beta.** Defines the fields that are included in the response body of a request to the [UpdateCustomerGroup](#endpoint-updatecustomergroup) endpoint. One of `errors` or `group` is present in a given response (never both). diff --git a/docs/UpdateInvoiceRequest.md b/docs/UpdateInvoiceRequest.md index 05822af..15a41af 100644 --- a/docs/UpdateInvoiceRequest.md +++ b/docs/UpdateInvoiceRequest.md @@ -8,8 +8,8 @@ Describes a `UpdateInvoice` request. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**invoice** | [**Invoice**](Invoice.md) | The invoice fields to update. You need to only specify the fields you want to change. The current invoice version must be specified in the `version` field. For more information, see [Update an invoice](https://developer.squareup.com/docs/docs/invoices-api/overview#update-an-invoice). | +**invoice** | [**Invoice**](Invoice.md) | The invoice fields to update. The current invoice version must be specified in the `version` field. For more information, see [Update an invoice](https://developer.squareup.com/docs/docs/invoices-api/overview#update-an-invoice). | **idempotency_key** | **String** | A unique string that identifies the `UpdateInvoice` request. If you do not provide `idempotency_key` (or provide an empty string as the value), the endpoint treats each request as independent. For more information, see [Idempotency](https://developer.squareup.com/docs/docs/working-with-apis/idempotency). | [optional] -**fields_to_clear** | **[String]** | List of fields to clear. For examples, see [Update an invoice](https://developer.squareup.com/docs/docs/invoices-api/overview#update-an-invoice). | [optional] +**fields_to_clear** | **[String]** | The list of fields to clear. For examples, see [Update an invoice](https://developer.squareup.com/docs/docs/invoices-api/overview#update-an-invoice). | [optional] diff --git a/docs/V1EmployeesApi.md b/docs/V1EmployeesApi.md index 1f362c1..571905c 100644 --- a/docs/V1EmployeesApi.md +++ b/docs/V1EmployeesApi.md @@ -28,7 +28,7 @@ Method | HTTP request | Description CreateEmployee - Use the CreateEmployee endpoint to add an employee to a Square account. Employees created with the Connect API have an initial status of `INACTIVE`. Inactive employees cannot sign in to Square Point of Sale until they are activated from the Square Dashboard. Employee status cannot be changed with the Connect API. <aside class=\"important\"> Employee entities cannot be deleted. To disable employee profiles, set the employee's status to <code>INACTIVE</code> </aside> + Use the CreateEmployee endpoint to add an employee to a Square account. Employees created with the Connect API have an initial status of `INACTIVE`. Inactive employees cannot sign in to Square Point of Sale until they are activated from the Square Dashboard. Employee status cannot be changed with the Connect API. Employee entities cannot be deleted. To disable employee profiles, set the employee's status to <code>INACTIVE</code> ### Example ```javascript @@ -398,7 +398,7 @@ Name | Type | Description | Notes ListTimecardEvents -Provides summary information for all events associated with a particular timecard. <aside> Only approved accounts can manage their employees with Square. Unapproved accounts cannot use employee management features with the API. </aside> +Provides summary information for all events associated with a particular timecard. Only approved accounts can manage their employees with Square. Unapproved accounts cannot use employee management features with the API. ### Example ```javascript diff --git a/docs/V1ListLocationsRequest.md b/docs/V1ListLocationsRequest.md deleted file mode 100644 index 542411e..0000000 --- a/docs/V1ListLocationsRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# SquareConnect.V1ListLocationsRequest - -### Description -**Note: This model is deprecated.** - - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/docs/V1ListLocationsResponse.md b/docs/V1ListLocationsResponse.md deleted file mode 100644 index bf0d87e..0000000 --- a/docs/V1ListLocationsResponse.md +++ /dev/null @@ -1,13 +0,0 @@ -# SquareConnect.V1ListLocationsResponse - -### Description -**Note: This model is deprecated.** - - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**[V1Merchant]**](V1Merchant.md) | | [optional] - - diff --git a/docs/V1LocationsApi.md b/docs/V1LocationsApi.md deleted file mode 100644 index 6a14eb3..0000000 --- a/docs/V1LocationsApi.md +++ /dev/null @@ -1,96 +0,0 @@ -# SquareConnect.V1LocationsApi - -All URIs are relative to *https://connect.squareup.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**listLocations**](V1LocationsApi.md#listLocations) | **GET** /v1/me/locations | ListLocations -[**retrieveBusiness**](V1LocationsApi.md#retrieveBusiness) | **GET** /v1/me | RetrieveBusiness - - - -# **listLocations** -**Note: This endpoint is deprecated.** -> [V1Merchant] listLocations() - -ListLocations - -Provides details for all business locations associated with a Square account, including the Square-assigned object ID for the location. - -### Example -```javascript -var SquareConnect = require('square-connect'); -var defaultClient = SquareConnect.ApiClient.instance; - -// Configure OAuth2 access token for authorization: oauth2 -var oauth2 = defaultClient.authentications['oauth2']; -oauth2.accessToken = 'YOUR ACCESS TOKEN'; - -var apiInstance = new SquareConnect.V1LocationsApi(); -apiInstance.listLocations().then(function(data) { - console.log('API called successfully. Returned data: ' + data); -}, function(error) { - console.error(error); -}); - -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**[V1Merchant]**](V1Merchant.md) - -### Authorization - -[oauth2](../README.md#oauth2) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **retrieveBusiness** -**Note: This endpoint is deprecated.** -> V1Merchant retrieveBusiness() - -RetrieveBusiness - -Get the general information for a business. - -### Example -```javascript -var SquareConnect = require('square-connect'); -var defaultClient = SquareConnect.ApiClient.instance; - -// Configure OAuth2 access token for authorization: oauth2 -var oauth2 = defaultClient.authentications['oauth2']; -oauth2.accessToken = 'YOUR ACCESS TOKEN'; - -var apiInstance = new SquareConnect.V1LocationsApi(); -apiInstance.retrieveBusiness().then(function(data) { - console.log('API called successfully. Returned data: ' + data); -}, function(error) { - console.error(error); -}); - -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**V1Merchant**](V1Merchant.md) - -### Authorization - -[oauth2](../README.md#oauth2) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - diff --git a/docs/V1Merchant.md b/docs/V1Merchant.md deleted file mode 100644 index 2bf66a1..0000000 --- a/docs/V1Merchant.md +++ /dev/null @@ -1,27 +0,0 @@ -# SquareConnect.V1Merchant - -### Description -**Note: This model is deprecated.** - -Defines the fields that are included in the response body of a request to the **RetrieveBusiness** endpoint. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | The merchant account's unique identifier. | [optional] -**name** | **String** | The name associated with the merchant account. | [optional] -**email** | **String** | The email address associated with the merchant account. | [optional] -**account_type** | **String** | Indicates whether the merchant account corresponds to a single-location account (LOCATION) or a business account (BUSINESS). This value is almost always LOCATION. See [V1MerchantAccountType](#type-v1merchantaccounttype) for possible values | [optional] -**account_capabilities** | **[String]** | Capabilities that are enabled for the merchant's Square account. Capabilities that are not listed in this array are not enabled for the account. | [optional] -**country_code** | **String** | The country associated with the merchant account, in ISO 3166-1-alpha-2 format. | [optional] -**language_code** | **String** | The language associated with the merchant account, in BCP 47 format. | [optional] -**currency_code** | **String** | The currency associated with the merchant account, in ISO 4217 format. For example, the currency code for US dollars is USD. | [optional] -**business_name** | **String** | The name of the merchant's business. | [optional] -**business_address** | [**Address**](Address.md) | The address of the merchant's business. | [optional] -**business_phone** | [**V1PhoneNumber**](V1PhoneNumber.md) | The phone number of the merchant's business. | [optional] -**business_type** | **String** | The type of business operated by the merchant. See [V1MerchantBusinessType](#type-v1merchantbusinesstype) for possible values | [optional] -**shipping_address** | [**Address**](Address.md) | The merchant's shipping address. | [optional] -**location_details** | [**V1MerchantLocationDetails**](V1MerchantLocationDetails.md) | Additional information for a single-location account specified by its associated business account, if it has one. | [optional] -**market_url** | **String** | The URL of the merchant's online store. | [optional] - - diff --git a/docs/V1MerchantAccountType.md b/docs/V1MerchantAccountType.md deleted file mode 100644 index 94f3253..0000000 --- a/docs/V1MerchantAccountType.md +++ /dev/null @@ -1,10 +0,0 @@ -# SquareConnect.V1MerchantAccountType - -## Enum - - -* `LOCATION` (value: `"LOCATION"`) - -* `BUSINESS` (value: `"BUSINESS"`) - - diff --git a/docs/V1MerchantBusinessType.md b/docs/V1MerchantBusinessType.md deleted file mode 100644 index c5fe91a..0000000 --- a/docs/V1MerchantBusinessType.md +++ /dev/null @@ -1,106 +0,0 @@ -# SquareConnect.V1MerchantBusinessType - -## Enum - - -* `ACCOUNTING` (value: `"ACCOUNTING"`) - -* `APPAREL_AND_ACCESSORY_SHOPS` (value: `"APPAREL_AND_ACCESSORY_SHOPS"`) - -* `ART_DEALERS_GALLERIES` (value: `"ART_DEALERS_GALLERIES"`) - -* `ART_DESIGN_AND_PHOTOGRAPHY` (value: `"ART_DESIGN_AND_PHOTOGRAPHY"`) - -* `BAR_CLUB_LOUNGE` (value: `"BAR_CLUB_LOUNGE"`) - -* `BEAUTY_AND_BARBER_SHOPS` (value: `"BEAUTY_AND_BARBER_SHOPS"`) - -* `BOOK_STORES` (value: `"BOOK_STORES"`) - -* `BUSINESS_SERVICES` (value: `"BUSINESS_SERVICES"`) - -* `CATERING` (value: `"CATERING"`) - -* `CHARITABLE_SOCIAL_SERVICE_ORGANIZATIONS` (value: `"CHARITABLE_SOCIAL_SERVICE_ORGANIZATIONS"`) - -* `CHARITIBLE_ORGS` (value: `"CHARITIBLE_ORGS"`) - -* `CLEANING_SERVICES` (value: `"CLEANING_SERVICES"`) - -* `COMPUTER_EQUIPMENT_SOFTWARE_MAINTENANCE_REPAIR_SERVICES` (value: `"COMPUTER_EQUIPMENT_SOFTWARE_MAINTENANCE_REPAIR_SERVICES"`) - -* `CONSULTANT` (value: `"CONSULTANT"`) - -* `CONTRACTORS` (value: `"CONTRACTORS"`) - -* `DELIVERY_SERVICES` (value: `"DELIVERY_SERVICES"`) - -* `DENTISTRY` (value: `"DENTISTRY"`) - -* `EDUCATION` (value: `"EDUCATION"`) - -* `FOOD_STORES_CONVENIENCE_STORES_AND_SPECIALTY_MARKETS` (value: `"FOOD_STORES_CONVENIENCE_STORES_AND_SPECIALTY_MARKETS"`) - -* `FOOD_TRUCK_CART` (value: `"FOOD_TRUCK_CART"`) - -* `FURNITURE_HOME_AND_OFFICE_EQUIPMENT` (value: `"FURNITURE_HOME_AND_OFFICE_EQUIPMENT"`) - -* `FURNITURE_HOME_GOODS` (value: `"FURNITURE_HOME_GOODS"`) - -* `HOTELS_AND_LODGING` (value: `"HOTELS_AND_LODGING"`) - -* `INDIVIDUAL_USE` (value: `"INDIVIDUAL_USE"`) - -* `JEWELRY_AND_WATCHES` (value: `"JEWELRY_AND_WATCHES"`) - -* `LANDSCAPING_AND_HORTICULTURAL_SERVICES` (value: `"LANDSCAPING_AND_HORTICULTURAL_SERVICES"`) - -* `LANGUAGE_SCHOOLS` (value: `"LANGUAGE_SCHOOLS"`) - -* `LEGAL_SERVICES` (value: `"LEGAL_SERVICES"`) - -* `MEDICAL_PRACTITIONERS` (value: `"MEDICAL_PRACTITIONERS"`) - -* `MEDICAL_SERVICES_AND_HEALTH_PRACTITIONERS` (value: `"MEDICAL_SERVICES_AND_HEALTH_PRACTITIONERS"`) - -* `MEMBERSHIP_ORGANIZATIONS` (value: `"MEMBERSHIP_ORGANIZATIONS"`) - -* `MUSIC_AND_ENTERTAINMENT` (value: `"MUSIC_AND_ENTERTAINMENT"`) - -* `OTHER` (value: `"OTHER"`) - -* `OUTDOOR_MARKETS` (value: `"OUTDOOR_MARKETS"`) - -* `PERSONAL_SERVICES` (value: `"PERSONAL_SERVICES"`) - -* `POLITICAL_ORGANIZATIONS` (value: `"POLITICAL_ORGANIZATIONS"`) - -* `PROFESSIONAL_SERVICES` (value: `"PROFESSIONAL_SERVICES"`) - -* `REAL_ESTATE` (value: `"REAL_ESTATE"`) - -* `RECREATION_SERVICES` (value: `"RECREATION_SERVICES"`) - -* `REPAIR_SHOPS_AND_RELATED_SERVICES` (value: `"REPAIR_SHOPS_AND_RELATED_SERVICES"`) - -* `RESTAURANTS` (value: `"RESTAURANTS"`) - -* `RETAIL_SHOPS` (value: `"RETAIL_SHOPS"`) - -* `SCHOOLS_AND_EDUCATIONAL_SERVICES` (value: `"SCHOOLS_AND_EDUCATIONAL_SERVICES"`) - -* `SPORTING_GOODS` (value: `"SPORTING_GOODS"`) - -* `TAXICABS_AND_LIMOUSINES` (value: `"TAXICABS_AND_LIMOUSINES"`) - -* `TICKET_SALES` (value: `"TICKET_SALES"`) - -* `TOURISM` (value: `"TOURISM"`) - -* `TRAVEL_TOURISM` (value: `"TRAVEL_TOURISM"`) - -* `VETERINARY_SERVICES` (value: `"VETERINARY_SERVICES"`) - -* `WEB_DEV_DESIGN` (value: `"WEB_DEV_DESIGN"`) - - diff --git a/docs/V1MerchantLocationDetails.md b/docs/V1MerchantLocationDetails.md deleted file mode 100644 index 965db1e..0000000 --- a/docs/V1MerchantLocationDetails.md +++ /dev/null @@ -1,13 +0,0 @@ -# SquareConnect.V1MerchantLocationDetails - -### Description -**Note: This model is deprecated.** - -Additional information for a single-location account specified by its associated business account, if it has one. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nickname** | **String** | The nickname assigned to the single-location account by the parent business. This value appears in the parent business's multi-location dashboard. | [optional] - - diff --git a/docs/V1RetrieveBusinessRequest.md b/docs/V1RetrieveBusinessRequest.md deleted file mode 100644 index 9ac70fa..0000000 --- a/docs/V1RetrieveBusinessRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# SquareConnect.V1RetrieveBusinessRequest - -### Description -**Note: This model is deprecated.** - - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/package.json b/package.json index 215820b..2717cac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "square-connect", - "version": "5.20201118.0", + "version": "6.20201216.0", "description": "JavaScript client library for the Square Connect v2 API", "keywords": [ "square", diff --git a/src/ApiClient.js b/src/ApiClient.js index 8e375f7..f7251fe 100644 --- a/src/ApiClient.js +++ b/src/ApiClient.js @@ -17,7 +17,7 @@ var HeaderUtils = require('./lib/HeaderUtils'); /** * @module ApiClient - * @version 5.20201118.0 + * @version 6.20201216.0 */ /** @@ -49,7 +49,7 @@ var exports = function() { * @default {} */ this.defaultHeaders = { - 'User-Agent': 'Square-Connect-Javascript/5.20201118.0' + 'User-Agent': 'Square-Connect-Javascript/6.20201216.0' }; /** * The default HTTP timeout for all API calls. diff --git a/src/api/ApplePayApi.js b/src/api/ApplePayApi.js index 6072751..6ca90fa 100644 --- a/src/api/ApplePayApi.js +++ b/src/api/ApplePayApi.js @@ -53,7 +53,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/BankAccountsApi.js b/src/api/BankAccountsApi.js index 6854ab5..9ea283b 100644 --- a/src/api/BankAccountsApi.js +++ b/src/api/BankAccountsApi.js @@ -55,7 +55,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -108,7 +108,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -162,7 +162,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/BookingsApi.js b/src/api/BookingsApi.js index 1694565..75199bf 100644 --- a/src/api/BookingsApi.js +++ b/src/api/BookingsApi.js @@ -12,6 +12,8 @@ * */ var ApiClient = require('../ApiClient'); +var CancelBookingRequest = require('../model/CancelBookingRequest'); +var CancelBookingResponse = require('../model/CancelBookingResponse'); var CreateBookingRequest = require('../model/CreateBookingRequest'); var CreateBookingResponse = require('../model/CreateBookingResponse'); var ListTeamMemberBookingProfilesResponse = require('../model/ListTeamMemberBookingProfilesResponse'); @@ -40,6 +42,67 @@ module.exports = function(apiClient) { + /** + * CancelBooking + * Note: This endpoint is in beta. + * Cancels an existing booking. + * @param {String} bookingId The ID of the `Booking` object representing the to-be-cancelled booking. + * @param {module:model/CancelBookingRequest} body An object containing the fields to POST for the request. See the corresponding object definition for field details. + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CancelBookingResponse} and HTTP response + */ + this.cancelBookingWithHttpInfo = function(bookingId, body) { + var postBody = body; + + // verify the required parameter 'bookingId' is set + if (bookingId === undefined || bookingId === null) { + throw new Error("Missing the required parameter 'bookingId' when calling cancelBooking"); + } + + // verify the required parameter 'body' is set + if (body === undefined || body === null) { + throw new Error("Missing the required parameter 'body' when calling cancelBooking"); + } + + + var pathParams = { + 'booking_id': bookingId + }; + var queryParams = { + }; + var headerParams = { + }; + headerParams['Square-Version'] = '2020-12-16'; + + var formParams = { + }; + + var authNames = ['oauth2']; + var contentTypes = ['application/json']; + var accepts = ['application/json']; + var returnType = CancelBookingResponse; + + return this.apiClient.callApi( + '/v2/bookings/{booking_id}/cancel', 'POST', + pathParams, queryParams, headerParams, formParams, postBody, + authNames, contentTypes, accepts, returnType + ); + } + + /** + * CancelBooking + * Cancels an existing booking. + * @param {String} bookingId The ID of the `Booking` object representing the to-be-cancelled booking. + * @param {module:model/CancelBookingRequest} body An object containing the fields to POST for the request. See the corresponding object definition for field details. + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CancelBookingResponse} + */ + this.cancelBooking = function(bookingId, body) { + return this.cancelBookingWithHttpInfo(bookingId, body) + .then(function(response_and_data) { + return response_and_data.data; + }); + } + + /** * CreateBooking * Note: This endpoint is in beta. @@ -62,7 +125,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -119,7 +182,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -177,7 +240,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -224,7 +287,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -277,7 +340,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -330,7 +393,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -390,7 +453,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/CashDrawersApi.js b/src/api/CashDrawersApi.js index 1bc142f..9bec578 100644 --- a/src/api/CashDrawersApi.js +++ b/src/api/CashDrawersApi.js @@ -68,7 +68,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -137,7 +137,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -203,7 +203,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/CatalogApi.js b/src/api/CatalogApi.js index 494f35b..2e3ae5a 100644 --- a/src/api/CatalogApi.js +++ b/src/api/CatalogApi.js @@ -71,7 +71,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -123,7 +123,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -175,7 +175,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -221,7 +221,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -273,7 +273,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -310,6 +310,7 @@ module.exports = function(apiClient) { * @param {Object} opts Optional parameters * @param {String} opts.cursor The pagination cursor returned in the previous response. Leave unset for an initial request. See [Pagination](https://developer.squareup.com/docs/basics/api101/pagination) for more information. * @param {String} opts.types An optional case-insensitive, comma-separated list of object types to retrieve, for example `ITEM,ITEM_VARIATION,CATEGORY,IMAGE`. The legal values are taken from the CatalogObjectType enum: `ITEM`, `ITEM_VARIATION`, `CATEGORY`, `DISCOUNT`, `TAX`, `MODIFIER`, `MODIFIER_LIST`, or `IMAGE`. + * @param {Number} opts.catalogVersion The specific version of the catalog objects to be included in the response. This allows you to retrieve historical versions of objects. The specified version value is matched against the `CatalogObject`s' `version` attribute. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListCatalogResponse} and HTTP response */ this.listCatalogWithHttpInfo = function(opts) { @@ -321,11 +322,12 @@ module.exports = function(apiClient) { }; var queryParams = { 'cursor': opts['cursor'], - 'types': opts['types'] + 'types': opts['types'], + 'catalog_version': opts['catalogVersion'] }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -348,6 +350,7 @@ module.exports = function(apiClient) { * @param {Object} opts Optional parameters * @param {String} opts.cursor The pagination cursor returned in the previous response. Leave unset for an initial request. See [Pagination](https://developer.squareup.com/docs/basics/api101/pagination) for more information. * @param {String} opts.types An optional case-insensitive, comma-separated list of object types to retrieve, for example `ITEM,ITEM_VARIATION,CATEGORY,IMAGE`. The legal values are taken from the CatalogObjectType enum: `ITEM`, `ITEM_VARIATION`, `CATEGORY`, `DISCOUNT`, `TAX`, `MODIFIER`, `MODIFIER_LIST`, or `IMAGE`. + * @param {Number} opts.catalogVersion The specific version of the catalog objects to be included in the response. This allows you to retrieve historical versions of objects. The specified version value is matched against the `CatalogObject`s' `version` attribute. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListCatalogResponse} */ this.listCatalog = function(opts) { @@ -364,6 +367,7 @@ module.exports = function(apiClient) { * @param {String} objectId The object ID of any type of catalog objects to be retrieved. * @param {Object} opts Optional parameters * @param {Boolean} opts.includeRelatedObjects If `true`, the response will include additional objects that are related to the requested object, as follows: If the `object` field of the response contains a `CatalogItem`, its associated `CatalogCategory`, `CatalogTax`, `CatalogImage` and `CatalogModifierList` objects will be returned in the `related_objects` field of the response. If the `object` field of the response contains a `CatalogItemVariation`, its parent `CatalogItem` will be returned in the `related_objects` field of the response. Default value: `false` + * @param {Number} opts.catalogVersion Requests objects as of a specific version of the catalog. This allows you to retrieve historical versions of objects. The value to retrieve a specific version of an object can be found in the version field of `CatalogObject`s. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/RetrieveCatalogObjectResponse} and HTTP response */ this.retrieveCatalogObjectWithHttpInfo = function(objectId, opts) { @@ -380,11 +384,12 @@ module.exports = function(apiClient) { 'object_id': objectId }; var queryParams = { - 'include_related_objects': opts['includeRelatedObjects'] + 'include_related_objects': opts['includeRelatedObjects'], + 'catalog_version': opts['catalogVersion'] }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -407,6 +412,7 @@ module.exports = function(apiClient) { * @param {String} objectId The object ID of any type of catalog objects to be retrieved. * @param {Object} opts Optional parameters * @param {Boolean} opts.includeRelatedObjects If `true`, the response will include additional objects that are related to the requested object, as follows: If the `object` field of the response contains a `CatalogItem`, its associated `CatalogCategory`, `CatalogTax`, `CatalogImage` and `CatalogModifierList` objects will be returned in the `related_objects` field of the response. If the `object` field of the response contains a `CatalogItemVariation`, its parent `CatalogItem` will be returned in the `related_objects` field of the response. Default value: `false` + * @param {Number} opts.catalogVersion Requests objects as of a specific version of the catalog. This allows you to retrieve historical versions of objects. The value to retrieve a specific version of an object can be found in the version field of `CatalogObject`s. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/RetrieveCatalogObjectResponse} */ this.retrieveCatalogObject = function(objectId, opts) { @@ -439,7 +445,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -491,7 +497,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -543,7 +549,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -595,7 +601,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -647,7 +653,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/CheckoutApi.js b/src/api/CheckoutApi.js index 40db5eb..1583dfe 100644 --- a/src/api/CheckoutApi.js +++ b/src/api/CheckoutApi.js @@ -60,7 +60,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/CustomerGroupsApi.js b/src/api/CustomerGroupsApi.js index f6b3f26..4b62dfd 100644 --- a/src/api/CustomerGroupsApi.js +++ b/src/api/CustomerGroupsApi.js @@ -39,7 +39,6 @@ module.exports = function(apiClient) { /** * CreateCustomerGroup - * Note: This endpoint is in beta. * Creates a new customer group for a business. The request must include the `name` value of the group. * @param {module:model/CreateCustomerGroupRequest} body An object containing the fields to POST for the request. See the corresponding object definition for field details. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateCustomerGroupResponse} and HTTP response @@ -59,7 +58,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -92,7 +91,6 @@ module.exports = function(apiClient) { /** * DeleteCustomerGroup - * Note: This endpoint is in beta. * Deletes a customer group as identified by the `group_id` value. * @param {String} groupId The ID of the customer group to delete. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteCustomerGroupResponse} and HTTP response @@ -113,7 +111,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -146,7 +144,6 @@ module.exports = function(apiClient) { /** * ListCustomerGroups - * Note: This endpoint is in beta. * Retrieves the list of customer groups of a business. * @param {Object} opts Optional parameters * @param {String} opts.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 the [Pagination guide](https://developer.squareup.com/docs/working-with-apis/pagination) for more information. @@ -164,7 +161,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -198,7 +195,6 @@ module.exports = function(apiClient) { /** * RetrieveCustomerGroup - * Note: This endpoint is in beta. * Retrieves a specific customer group as identified by the `group_id` value. * @param {String} groupId The ID of the customer group to retrieve. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/RetrieveCustomerGroupResponse} and HTTP response @@ -219,7 +215,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -252,7 +248,6 @@ module.exports = function(apiClient) { /** * UpdateCustomerGroup - * Note: This endpoint is in beta. * Updates a customer group as identified by the `group_id` value. * @param {String} groupId The ID of the customer group to update. * @param {module:model/UpdateCustomerGroupRequest} body An object containing the fields to POST for the request. See the corresponding object definition for field details. @@ -279,7 +274,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/CustomerSegmentsApi.js b/src/api/CustomerSegmentsApi.js index 249f9e6..2028eb6 100644 --- a/src/api/CustomerSegmentsApi.js +++ b/src/api/CustomerSegmentsApi.js @@ -34,7 +34,6 @@ module.exports = function(apiClient) { /** * ListCustomerSegments - * Note: This endpoint is in beta. * Retrieves the list of customer segments of a business. * @param {Object} opts Optional parameters * @param {String} opts.cursor A pagination cursor returned by previous calls to __ListCustomerSegments__. Used to retrieve the next set of query results. See the [Pagination guide](https://developer.squareup.com/docs/docs/working-with-apis/pagination) for more information. @@ -52,7 +51,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -86,7 +85,6 @@ module.exports = function(apiClient) { /** * RetrieveCustomerSegment - * Note: This endpoint is in beta. * Retrieves a specific customer segment as identified by the `segment_id` value. * @param {String} segmentId The Square-issued ID of the customer segment. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/RetrieveCustomerSegmentResponse} and HTTP response @@ -107,7 +105,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/CustomersApi.js b/src/api/CustomersApi.js index c40a8fd..e6f7bf9 100644 --- a/src/api/CustomersApi.js +++ b/src/api/CustomersApi.js @@ -46,7 +46,6 @@ module.exports = function(apiClient) { /** * AddGroupToCustomer - * Note: This endpoint is in beta. * Adds a group membership to a customer. The customer is identified by the `customer_id` value and the customer group is identified by the `group_id` value. * @param {String} customerId The ID of the customer to add to a group. * @param {String} groupId The ID of the customer group to add the customer to. @@ -74,7 +73,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -127,7 +126,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -186,7 +185,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -240,7 +239,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -300,7 +299,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -355,7 +354,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -391,7 +390,6 @@ module.exports = function(apiClient) { /** * RemoveGroupFromCustomer - * Note: This endpoint is in beta. * Removes a group membership from a customer. The customer is identified by the `customer_id` value and the customer group is identified by the `group_id` value. * @param {String} customerId The ID of the customer to remove from the group. * @param {String} groupId The ID of the customer group to remove the customer from. @@ -419,7 +417,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -473,7 +471,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -525,7 +523,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -584,7 +582,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/DevicesApi.js b/src/api/DevicesApi.js index c70d8ef..1852db2 100644 --- a/src/api/DevicesApi.js +++ b/src/api/DevicesApi.js @@ -55,7 +55,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -108,7 +108,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -164,7 +164,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/DisputesApi.js b/src/api/DisputesApi.js index 264fcd1..c4bf854 100644 --- a/src/api/DisputesApi.js +++ b/src/api/DisputesApi.js @@ -42,8 +42,8 @@ module.exports = function(apiClient) { /** * AcceptDispute * Note: This endpoint is in beta. - * Accepts loss on a dispute. Square returns the disputed amount to the cardholder and updates the dispute state to ACCEPTED. Square debits the disputed amount from the seller’s Square account. If the Square account balance does not have sufficient funds, Square debits the associated bank account. - * @param {String} disputeId ID of the dispute you want to accept. + * Accepts the loss on a dispute. Square returns the disputed amount to the cardholder and updates the dispute state to ACCEPTED. Square debits the disputed amount from the seller’s Square account. If the Square account does not have sufficient funds, Square debits the associated bank account. + * @param {String} disputeId The ID of the dispute you want to accept. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AcceptDisputeResponse} and HTTP response */ this.acceptDisputeWithHttpInfo = function(disputeId) { @@ -62,7 +62,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -81,8 +81,8 @@ module.exports = function(apiClient) { /** * AcceptDispute - * Accepts loss on a dispute. Square returns the disputed amount to the cardholder and updates the dispute state to ACCEPTED. Square debits the disputed amount from the seller’s Square account. If the Square account balance does not have sufficient funds, Square debits the associated bank account. - * @param {String} disputeId ID of the dispute you want to accept. + * Accepts the loss on a dispute. Square returns the disputed amount to the cardholder and updates the dispute state to ACCEPTED. Square debits the disputed amount from the seller’s Square account. If the Square account does not have sufficient funds, Square debits the associated bank account. + * @param {String} disputeId The ID of the dispute you want to accept. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AcceptDisputeResponse} */ this.acceptDispute = function(disputeId) { @@ -122,7 +122,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -177,7 +177,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -213,9 +213,9 @@ module.exports = function(apiClient) { * Note: This endpoint is in beta. * Returns a list of disputes associated with a particular account. * @param {Object} opts Optional parameters - * @param {String} opts.cursor A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query. For more information, see [Paginating](https://developer.squareup.com/docs/basics/api101/pagination). - * @param {String} opts.states The dispute states to filter the result. If not specified, the endpoint returns all open disputes (dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`). - * @param {String} opts.locationId The ID of the location for which to return a list of disputes. If not specified, the endpoint returns all open disputes (dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`) associated with all locations. + * @param {String} opts.cursor A pagination cursor returned by a previous call to this endpoint. Provide this cursor to retrieve the next set of results for the original query. For more information, see [Pagination](https://developer.squareup.com/docs/basics/api101/pagination). + * @param {String} opts.states The dispute states to filter the result. If not specified, the endpoint returns all open disputes (the dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`). + * @param {String} opts.locationId The ID of the location for which to return a list of disputes. If not specified, the endpoint returns all open disputes (the dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`) associated with all locations. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListDisputesResponse} and HTTP response */ this.listDisputesWithHttpInfo = function(opts) { @@ -232,7 +232,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -253,9 +253,9 @@ module.exports = function(apiClient) { * ListDisputes * Returns a list of disputes associated with a particular account. * @param {Object} opts Optional parameters - * @param {String} opts.cursor A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query. For more information, see [Paginating](https://developer.squareup.com/docs/basics/api101/pagination). - * @param {String} opts.states The dispute states to filter the result. If not specified, the endpoint returns all open disputes (dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`). - * @param {String} opts.locationId The ID of the location for which to return a list of disputes. If not specified, the endpoint returns all open disputes (dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`) associated with all locations. + * @param {String} opts.cursor A pagination cursor returned by a previous call to this endpoint. Provide this cursor to retrieve the next set of results for the original query. For more information, see [Pagination](https://developer.squareup.com/docs/basics/api101/pagination). + * @param {String} opts.states The dispute states to filter the result. If not specified, the endpoint returns all open disputes (the dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`). + * @param {String} opts.locationId The ID of the location for which to return a list of disputes. If not specified, the endpoint returns all open disputes (the dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`) associated with all locations. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListDisputesResponse} */ this.listDisputes = function(opts) { @@ -296,7 +296,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -331,7 +331,7 @@ module.exports = function(apiClient) { /** * RetrieveDispute * Note: This endpoint is in beta. - * Returns details of a specific dispute. + * Returns details about a specific dispute. * @param {String} disputeId The ID of the dispute you want more details about. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/RetrieveDisputeResponse} and HTTP response */ @@ -351,7 +351,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -370,7 +370,7 @@ module.exports = function(apiClient) { /** * RetrieveDispute - * Returns details of a specific dispute. + * Returns details about a specific dispute. * @param {String} disputeId The ID of the dispute you want more details about. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/RetrieveDisputeResponse} */ @@ -412,7 +412,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -447,8 +447,8 @@ module.exports = function(apiClient) { /** * SubmitEvidence * Note: This endpoint is in beta. - * Submits evidence to the cardholder's bank. Before submitting evidence, Square compiles all available evidence. This includes evidence uploaded using the [CreateDisputeEvidenceFile](/reference/square/disputes-api/create-dispute-evidence-file) and [CreateDisputeEvidenceText](/reference/square/disputes-api/create-dispute-evidence-text) endpoints, and evidence automatically provided by Square, when available. - * @param {String} disputeId The ID of the dispute you want to submit evidence for. + * Submits evidence to the cardholder's bank. Before submitting evidence, Square compiles all available evidence. This includes evidence uploaded using the [CreateDisputeEvidenceFile](/reference/square/disputes-api/create-dispute-evidence-file) and [CreateDisputeEvidenceText](/reference/square/disputes-api/create-dispute-evidence-text) endpoints and evidence automatically provided by Square, when available. + * @param {String} disputeId The ID of the dispute that you want to submit evidence for. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubmitEvidenceResponse} and HTTP response */ this.submitEvidenceWithHttpInfo = function(disputeId) { @@ -467,7 +467,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -486,8 +486,8 @@ module.exports = function(apiClient) { /** * SubmitEvidence - * Submits evidence to the cardholder's bank. Before submitting evidence, Square compiles all available evidence. This includes evidence uploaded using the [CreateDisputeEvidenceFile](/reference/square/disputes-api/create-dispute-evidence-file) and [CreateDisputeEvidenceText](/reference/square/disputes-api/create-dispute-evidence-text) endpoints, and evidence automatically provided by Square, when available. - * @param {String} disputeId The ID of the dispute you want to submit evidence for. + * Submits evidence to the cardholder's bank. Before submitting evidence, Square compiles all available evidence. This includes evidence uploaded using the [CreateDisputeEvidenceFile](/reference/square/disputes-api/create-dispute-evidence-file) and [CreateDisputeEvidenceText](/reference/square/disputes-api/create-dispute-evidence-text) endpoints and evidence automatically provided by Square, when available. + * @param {String} disputeId The ID of the dispute that you want to submit evidence for. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SubmitEvidenceResponse} */ this.submitEvidence = function(disputeId) { diff --git a/src/api/EmployeesApi.js b/src/api/EmployeesApi.js index b228287..1aa776c 100644 --- a/src/api/EmployeesApi.js +++ b/src/api/EmployeesApi.js @@ -59,7 +59,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -118,7 +118,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/InventoryApi.js b/src/api/InventoryApi.js index 134b503..87469f3 100644 --- a/src/api/InventoryApi.js +++ b/src/api/InventoryApi.js @@ -61,7 +61,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -113,7 +113,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -165,7 +165,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -218,7 +218,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -277,7 +277,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -339,7 +339,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -395,7 +395,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/InvoicesApi.js b/src/api/InvoicesApi.js index 4e852de..69d70c2 100644 --- a/src/api/InvoicesApi.js +++ b/src/api/InvoicesApi.js @@ -72,7 +72,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -126,7 +126,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -160,7 +160,7 @@ module.exports = function(apiClient) { /** * DeleteInvoice * Note: This endpoint is in beta. - * Deletes the specified invoice. When an invoice is deleted, the associated Order status changes to CANCELED. You can only delete a draft invoice (you cannot delete an invoice scheduled for publication, or a published invoice). + * Deletes the specified invoice. When an invoice is deleted, the associated Order status changes to CANCELED. You can only delete a draft invoice (you cannot delete a published invoice, including one that is scheduled for processing). * @param {String} invoiceId The ID of the invoice to delete. * @param {Object} opts Optional parameters * @param {Number} opts.version The version of the `invoice` to delete. If you do not know the version, you can call `GetInvoice` or `ListInvoices`. @@ -184,7 +184,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -203,7 +203,7 @@ module.exports = function(apiClient) { /** * DeleteInvoice - * Deletes the specified invoice. When an invoice is deleted, the associated Order status changes to CANCELED. You can only delete a draft invoice (you cannot delete an invoice scheduled for publication, or a published invoice). + * Deletes the specified invoice. When an invoice is deleted, the associated Order status changes to CANCELED. You can only delete a draft invoice (you cannot delete a published invoice, including one that is scheduled for processing). * @param {String} invoiceId The ID of the invoice to delete. * @param {Object} opts Optional parameters * @param {Number} opts.version The version of the `invoice` to delete. If you do not know the version, you can call `GetInvoice` or `ListInvoices`. @@ -240,7 +240,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -300,7 +300,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -363,7 +363,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -417,7 +417,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -451,8 +451,8 @@ module.exports = function(apiClient) { /** * UpdateInvoice * Note: This endpoint is in beta. - * Updates an invoice by modifying field values, clearing field values, or both as specified in the request. There are no restrictions to updating an invoice in a draft state. However, there are guidelines for updating a published invoice. - * @param {String} invoiceId The id of the invoice to update. + * Updates an invoice by modifying fields, clearing fields, or both. For most updates, you can use a sparse `Invoice` object to add fields or change values, and use the `fields_to_clear` field to specify fields to clear. However, some restrictions apply. For example, you cannot change the `order_id` or `location_id` field, and you must provide the complete `custom_fields` list to update a custom field. Published invoices have additional restrictions. + * @param {String} invoiceId The ID of the invoice to update. * @param {module:model/UpdateInvoiceRequest} body An object containing the fields to POST for the request. See the corresponding object definition for field details. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateInvoiceResponse} and HTTP response */ @@ -477,7 +477,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -496,8 +496,8 @@ module.exports = function(apiClient) { /** * UpdateInvoice - * Updates an invoice by modifying field values, clearing field values, or both as specified in the request. There are no restrictions to updating an invoice in a draft state. However, there are guidelines for updating a published invoice. - * @param {String} invoiceId The id of the invoice to update. + * Updates an invoice by modifying fields, clearing fields, or both. For most updates, you can use a sparse `Invoice` object to add fields or change values, and use the `fields_to_clear` field to specify fields to clear. However, some restrictions apply. For example, you cannot change the `order_id` or `location_id` field, and you must provide the complete `custom_fields` list to update a custom field. Published invoices have additional restrictions. + * @param {String} invoiceId The ID of the invoice to update. * @param {module:model/UpdateInvoiceRequest} body An object containing the fields to POST for the request. See the corresponding object definition for field details. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateInvoiceResponse} */ diff --git a/src/api/LaborApi.js b/src/api/LaborApi.js index eddc553..08744ab 100644 --- a/src/api/LaborApi.js +++ b/src/api/LaborApi.js @@ -73,7 +73,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -125,7 +125,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -178,7 +178,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -231,7 +231,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -284,7 +284,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -339,7 +339,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -392,7 +392,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -445,7 +445,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -499,7 +499,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -558,7 +558,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -615,7 +615,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -670,7 +670,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -724,7 +724,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -783,7 +783,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -843,7 +843,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -903,7 +903,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/LocationsApi.js b/src/api/LocationsApi.js index 9d673aa..4a092fe 100644 --- a/src/api/LocationsApi.js +++ b/src/api/LocationsApi.js @@ -58,7 +58,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -104,7 +104,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -156,7 +156,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -216,7 +216,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/LoyaltyApi.js b/src/api/LoyaltyApi.js index cf1bd39..1ce9d52 100644 --- a/src/api/LoyaltyApi.js +++ b/src/api/LoyaltyApi.js @@ -81,7 +81,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -142,7 +142,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -203,7 +203,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -257,7 +257,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -310,7 +310,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -364,7 +364,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -411,7 +411,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -470,7 +470,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -525,7 +525,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -579,7 +579,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -632,7 +632,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -685,7 +685,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -738,7 +738,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/MerchantsApi.js b/src/api/MerchantsApi.js index aad117d..5a87476 100644 --- a/src/api/MerchantsApi.js +++ b/src/api/MerchantsApi.js @@ -51,7 +51,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -105,7 +105,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/MobileAuthorizationApi.js b/src/api/MobileAuthorizationApi.js index d5bba58..d455970 100644 --- a/src/api/MobileAuthorizationApi.js +++ b/src/api/MobileAuthorizationApi.js @@ -53,7 +53,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/OAuthApi.js b/src/api/OAuthApi.js index 457b80b..f13b159 100644 --- a/src/api/OAuthApi.js +++ b/src/api/OAuthApi.js @@ -57,7 +57,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -118,7 +118,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -171,7 +171,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/OrdersApi.js b/src/api/OrdersApi.js index 4045d13..a0376db 100644 --- a/src/api/OrdersApi.js +++ b/src/api/OrdersApi.js @@ -64,7 +64,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -117,7 +117,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -169,7 +169,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -229,7 +229,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -283,7 +283,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -335,7 +335,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -395,7 +395,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/PaymentsApi.js b/src/api/PaymentsApi.js index 89c0f8d..b8a9304 100644 --- a/src/api/PaymentsApi.js +++ b/src/api/PaymentsApi.js @@ -60,7 +60,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -112,7 +112,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -165,7 +165,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -217,7 +217,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -270,7 +270,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -336,7 +336,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/RefundsApi.js b/src/api/RefundsApi.js index 5a18421..3b0add0 100644 --- a/src/api/RefundsApi.js +++ b/src/api/RefundsApi.js @@ -56,7 +56,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -120,7 +120,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -180,7 +180,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/SubscriptionsApi.js b/src/api/SubscriptionsApi.js index c6940b1..cf758d5 100644 --- a/src/api/SubscriptionsApi.js +++ b/src/api/SubscriptionsApi.js @@ -62,7 +62,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -115,7 +115,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -175,7 +175,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -232,7 +232,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -285,7 +285,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -345,7 +345,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/TeamApi.js b/src/api/TeamApi.js index 8e40d95..538c791 100644 --- a/src/api/TeamApi.js +++ b/src/api/TeamApi.js @@ -65,7 +65,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -117,7 +117,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -169,7 +169,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -222,7 +222,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -275,7 +275,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -327,7 +327,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -386,7 +386,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -446,7 +446,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/TerminalApi.js b/src/api/TerminalApi.js index 9669d27..76e5342 100644 --- a/src/api/TerminalApi.js +++ b/src/api/TerminalApi.js @@ -64,7 +64,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -118,7 +118,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -170,7 +170,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -223,7 +223,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -276,7 +276,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -330,7 +330,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -382,7 +382,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -435,7 +435,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/TransactionsApi.js b/src/api/TransactionsApi.js index eb71533..35cdcc7 100644 --- a/src/api/TransactionsApi.js +++ b/src/api/TransactionsApi.js @@ -70,7 +70,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -132,7 +132,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -201,7 +201,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -268,7 +268,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -338,7 +338,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -405,7 +405,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -468,7 +468,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/V1EmployeesApi.js b/src/api/V1EmployeesApi.js index 61ad112..224a231 100644 --- a/src/api/V1EmployeesApi.js +++ b/src/api/V1EmployeesApi.js @@ -37,7 +37,7 @@ module.exports = function(apiClient) { /** * CreateEmployee - * Use the CreateEmployee endpoint to add an employee to a Square account. Employees created with the Connect API have an initial status of `INACTIVE`. Inactive employees cannot sign in to Square Point of Sale until they are activated from the Square Dashboard. Employee status cannot be changed with the Connect API. <aside class=\"important\"> Employee entities cannot be deleted. To disable employee profiles, set the employee's status to <code>INACTIVE</code> </aside> + * Use the CreateEmployee endpoint to add an employee to a Square account. Employees created with the Connect API have an initial status of `INACTIVE`. Inactive employees cannot sign in to Square Point of Sale until they are activated from the Square Dashboard. Employee status cannot be changed with the Connect API. Employee entities cannot be deleted. To disable employee profiles, set the employee's status to <code>INACTIVE</code> * @param {module:model/V1Employee} body An object containing the fields to POST for the request. See the corresponding object definition for field details. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/V1Employee} and HTTP response */ @@ -56,7 +56,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -75,7 +75,7 @@ module.exports = function(apiClient) { /** * CreateEmployee - * Use the CreateEmployee endpoint to add an employee to a Square account. Employees created with the Connect API have an initial status of `INACTIVE`. Inactive employees cannot sign in to Square Point of Sale until they are activated from the Square Dashboard. Employee status cannot be changed with the Connect API. <aside class=\"important\"> Employee entities cannot be deleted. To disable employee profiles, set the employee's status to <code>INACTIVE</code> </aside> + * Use the CreateEmployee endpoint to add an employee to a Square account. Employees created with the Connect API have an initial status of `INACTIVE`. Inactive employees cannot sign in to Square Point of Sale until they are activated from the Square Dashboard. Employee status cannot be changed with the Connect API. Employee entities cannot be deleted. To disable employee profiles, set the employee's status to <code>INACTIVE</code> * @param {module:model/V1Employee} body An object containing the fields to POST for the request. See the corresponding object definition for field details. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/V1Employee} */ @@ -108,7 +108,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -162,7 +162,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -217,7 +217,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -280,7 +280,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -338,7 +338,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -407,7 +407,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -450,7 +450,7 @@ module.exports = function(apiClient) { /** * @deprecated * ListTimecardEvents - * Provides summary information for all events associated with a particular timecard. <aside> Only approved accounts can manage their employees with Square. Unapproved accounts cannot use employee management features with the API. </aside> + * Provides summary information for all events associated with a particular timecard. Only approved accounts can manage their employees with Square. Unapproved accounts cannot use employee management features with the API. * @param {String} timecardId The ID of the timecard to list events for. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response */ @@ -471,7 +471,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -490,7 +490,7 @@ module.exports = function(apiClient) { /** * ListTimecardEvents - * Provides summary information for all events associated with a particular timecard. <aside> Only approved accounts can manage their employees with Square. Unapproved accounts cannot use employee management features with the API. </aside> + * Provides summary information for all events associated with a particular timecard. Only approved accounts can manage their employees with Square. Unapproved accounts cannot use employee management features with the API. * @param {String} timecardId The ID of the timecard to list events for. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.} */ @@ -543,7 +543,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -616,7 +616,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -670,7 +670,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -723,7 +723,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -778,7 +778,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -837,7 +837,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -897,7 +897,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -959,7 +959,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/V1ItemsApi.js b/src/api/V1ItemsApi.js index c801c25..fbd25eb 100644 --- a/src/api/V1ItemsApi.js +++ b/src/api/V1ItemsApi.js @@ -79,7 +79,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -150,7 +150,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -221,7 +221,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -284,7 +284,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -346,7 +346,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -408,7 +408,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -470,7 +470,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -532,7 +532,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -601,7 +601,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -664,7 +664,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -733,7 +733,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -797,7 +797,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -860,7 +860,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -923,7 +923,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -986,7 +986,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -1049,7 +1049,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -1119,7 +1119,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -1183,7 +1183,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -1252,7 +1252,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -1325,7 +1325,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -1382,7 +1382,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -1437,7 +1437,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -1492,7 +1492,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -1553,7 +1553,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -1615,7 +1615,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -1672,7 +1672,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -1727,7 +1727,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -1796,7 +1796,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -1867,7 +1867,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -1931,7 +1931,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -1994,7 +1994,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -2063,7 +2063,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -2133,7 +2133,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -2203,7 +2203,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -2273,7 +2273,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -2343,7 +2343,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -2420,7 +2420,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -2491,7 +2491,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -2561,7 +2561,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -2638,7 +2638,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/api/V1LocationsApi.js b/src/api/V1LocationsApi.js deleted file mode 100644 index fdb32e6..0000000 --- a/src/api/V1LocationsApi.js +++ /dev/null @@ -1,126 +0,0 @@ -/** - * Square Connect API - * Client library for accessing the Square Connect APIs - * - * OpenAPI spec version: 2.0 - * Contact: developers@squareup.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.3.0-SNAPSHOT - * - */ -var ApiClient = require('../ApiClient'); -var V1Merchant = require('../model/V1Merchant'); - -/** - * V1Locations service. - * @module api/V1LocationsApi - */ - -/** - * Constructs a new V1LocationsApi. - * @alias module:api/V1LocationsApi - * @class - * @param {module:ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:ApiClient#instance} if unspecified. - */ -module.exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - - /** - * @deprecated - * ListLocations - * Provides details for all business locations associated with a Square account, including the Square-assigned object ID for the location. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response - */ - this.listLocationsWithHttpInfo = function() { - console.warn("\x1b[33m%s\x1b[0m","Calling deprecated API: V1LocationsApi.listLocations"); - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - headerParams['Square-Version'] = '2020-11-18'; - - var formParams = { - }; - - var authNames = ['oauth2']; - var contentTypes = ['application/json']; - var accepts = ['application/json']; - var returnType = [V1Merchant]; - - return this.apiClient.callApi( - '/v1/me/locations', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType - ); - } - - /** - * ListLocations - * Provides details for all business locations associated with a Square account, including the Square-assigned object ID for the location. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.} - */ - this.listLocations = function() { - return this.listLocationsWithHttpInfo() - .then(function(response_and_data) { - return response_and_data.data; - }); - } - - - /** - * @deprecated - * RetrieveBusiness - * Get the general information for a business. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/V1Merchant} and HTTP response - */ - this.retrieveBusinessWithHttpInfo = function() { - console.warn("\x1b[33m%s\x1b[0m","Calling deprecated API: V1LocationsApi.retrieveBusiness"); - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - headerParams['Square-Version'] = '2020-11-18'; - - var formParams = { - }; - - var authNames = ['oauth2']; - var contentTypes = ['application/json']; - var accepts = ['application/json']; - var returnType = V1Merchant; - - return this.apiClient.callApi( - '/v1/me', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType - ); - } - - /** - * RetrieveBusiness - * Get the general information for a business. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/V1Merchant} - */ - this.retrieveBusiness = function() { - return this.retrieveBusinessWithHttpInfo() - .then(function(response_and_data) { - return response_and_data.data; - }); - } -}; diff --git a/src/api/V1TransactionsApi.js b/src/api/V1TransactionsApi.js index 1ab1740..3bc903c 100644 --- a/src/api/V1TransactionsApi.js +++ b/src/api/V1TransactionsApi.js @@ -65,7 +65,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -121,7 +121,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -182,7 +182,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -253,7 +253,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -325,7 +325,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -398,7 +398,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -467,7 +467,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -528,7 +528,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -589,7 +589,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -650,7 +650,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; @@ -717,7 +717,7 @@ module.exports = function(apiClient) { }; var headerParams = { }; - headerParams['Square-Version'] = '2020-11-18'; + headerParams['Square-Version'] = '2020-12-16'; var formParams = { }; diff --git a/src/index.js b/src/index.js index 0e98d96..7f386a4 100644 --- a/src/index.js +++ b/src/index.js @@ -65,6 +65,8 @@ var CalculateLoyaltyPointsRequest = require('./model/CalculateLoyaltyPointsReque var CalculateLoyaltyPointsResponse = require('./model/CalculateLoyaltyPointsResponse'); var CalculateOrderRequest = require('./model/CalculateOrderRequest'); var CalculateOrderResponse = require('./model/CalculateOrderResponse'); +var CancelBookingRequest = require('./model/CancelBookingRequest'); +var CancelBookingResponse = require('./model/CancelBookingResponse'); var CancelInvoiceRequest = require('./model/CancelInvoiceRequest'); var CancelInvoiceResponse = require('./model/CancelInvoiceResponse'); var CancelPaymentByIdempotencyKeyRequest = require('./model/CancelPaymentByIdempotencyKeyRequest'); @@ -124,6 +126,7 @@ var CatalogModifierListSelectionType = require('./model/CatalogModifierListSelec var CatalogModifierOverride = require('./model/CatalogModifierOverride'); var CatalogObject = require('./model/CatalogObject'); var CatalogObjectBatch = require('./model/CatalogObjectBatch'); +var CatalogObjectReference = require('./model/CatalogObjectReference'); var CatalogObjectType = require('./model/CatalogObjectType'); var CatalogPricingRule = require('./model/CatalogPricingRule'); var CatalogPricingType = require('./model/CatalogPricingType'); @@ -287,6 +290,8 @@ var InventoryPhysicalCount = require('./model/InventoryPhysicalCount'); var InventoryState = require('./model/InventoryState'); var InventoryTransfer = require('./model/InventoryTransfer'); var Invoice = require('./model/Invoice'); +var InvoiceCustomField = require('./model/InvoiceCustomField'); +var InvoiceCustomFieldPlacement = require('./model/InvoiceCustomFieldPlacement'); var InvoiceFilter = require('./model/InvoiceFilter'); var InvoicePaymentReminder = require('./model/InvoicePaymentReminder'); var InvoicePaymentReminderStatus = require('./model/InvoicePaymentReminderStatus'); @@ -426,6 +431,9 @@ var OrderLineItemDiscount = require('./model/OrderLineItemDiscount'); var OrderLineItemDiscountScope = require('./model/OrderLineItemDiscountScope'); var OrderLineItemDiscountType = require('./model/OrderLineItemDiscountType'); var OrderLineItemModifier = require('./model/OrderLineItemModifier'); +var OrderLineItemPricingBlocklists = require('./model/OrderLineItemPricingBlocklists'); +var OrderLineItemPricingBlocklistsBlockedDiscount = require('./model/OrderLineItemPricingBlocklistsBlockedDiscount'); +var OrderLineItemPricingBlocklistsBlockedTax = require('./model/OrderLineItemPricingBlocklistsBlockedTax'); var OrderLineItemTax = require('./model/OrderLineItemTax'); var OrderLineItemTaxScope = require('./model/OrderLineItemTaxScope'); var OrderLineItemTaxType = require('./model/OrderLineItemTaxType'); @@ -722,8 +730,6 @@ var V1ListInventoryRequest = require('./model/V1ListInventoryRequest'); var V1ListInventoryResponse = require('./model/V1ListInventoryResponse'); var V1ListItemsRequest = require('./model/V1ListItemsRequest'); var V1ListItemsResponse = require('./model/V1ListItemsResponse'); -var V1ListLocationsRequest = require('./model/V1ListLocationsRequest'); -var V1ListLocationsResponse = require('./model/V1ListLocationsResponse'); var V1ListModifierListsRequest = require('./model/V1ListModifierListsRequest'); var V1ListModifierListsResponse = require('./model/V1ListModifierListsResponse'); var V1ListOrdersRequest = require('./model/V1ListOrdersRequest'); @@ -741,10 +747,6 @@ var V1ListTimecardEventsRequest = require('./model/V1ListTimecardEventsRequest') var V1ListTimecardEventsResponse = require('./model/V1ListTimecardEventsResponse'); var V1ListTimecardsRequest = require('./model/V1ListTimecardsRequest'); var V1ListTimecardsResponse = require('./model/V1ListTimecardsResponse'); -var V1Merchant = require('./model/V1Merchant'); -var V1MerchantAccountType = require('./model/V1MerchantAccountType'); -var V1MerchantBusinessType = require('./model/V1MerchantBusinessType'); -var V1MerchantLocationDetails = require('./model/V1MerchantLocationDetails'); var V1ModifierList = require('./model/V1ModifierList'); var V1ModifierListSelectionType = require('./model/V1ModifierListSelectionType'); var V1ModifierOption = require('./model/V1ModifierOption'); @@ -773,7 +775,6 @@ var V1RefundType = require('./model/V1RefundType'); var V1RemoveFeeRequest = require('./model/V1RemoveFeeRequest'); var V1RemoveModifierListRequest = require('./model/V1RemoveModifierListRequest'); var V1RetrieveBankAccountRequest = require('./model/V1RetrieveBankAccountRequest'); -var V1RetrieveBusinessRequest = require('./model/V1RetrieveBusinessRequest'); var V1RetrieveCashDrawerShiftRequest = require('./model/V1RetrieveCashDrawerShiftRequest'); var V1RetrieveEmployeeRequest = require('./model/V1RetrieveEmployeeRequest'); var V1RetrieveEmployeeRoleRequest = require('./model/V1RetrieveEmployeeRoleRequest'); @@ -847,7 +848,6 @@ var TerminalApi = require('./api/TerminalApi'); var TransactionsApi = require('./api/TransactionsApi'); var V1EmployeesApi = require('./api/V1EmployeesApi'); var V1ItemsApi = require('./api/V1ItemsApi'); -var V1LocationsApi = require('./api/V1LocationsApi'); var V1TransactionsApi = require('./api/V1TransactionsApi'); @@ -880,7 +880,7 @@ var V1TransactionsApi = require('./api/V1TransactionsApi'); * *

* @module index - * @version 5.20201118.0 + * @version 6.20201216.0 */ module.exports = { /** @@ -1148,6 +1148,16 @@ var V1TransactionsApi = require('./api/V1TransactionsApi'); * @property {module:model/CalculateOrderResponse} */ CalculateOrderResponse: CalculateOrderResponse, + /** + * The CancelBookingRequest model constructor. + * @property {module:model/CancelBookingRequest} + */ + CancelBookingRequest: CancelBookingRequest, + /** + * The CancelBookingResponse model constructor. + * @property {module:model/CancelBookingResponse} + */ + CancelBookingResponse: CancelBookingResponse, /** * The CancelInvoiceRequest model constructor. * @property {module:model/CancelInvoiceRequest} @@ -1443,6 +1453,11 @@ var V1TransactionsApi = require('./api/V1TransactionsApi'); * @property {module:model/CatalogObjectBatch} */ CatalogObjectBatch: CatalogObjectBatch, + /** + * The CatalogObjectReference model constructor. + * @property {module:model/CatalogObjectReference} + */ + CatalogObjectReference: CatalogObjectReference, /** * The CatalogObjectType model constructor. * @property {module:model/CatalogObjectType} @@ -2258,6 +2273,16 @@ var V1TransactionsApi = require('./api/V1TransactionsApi'); * @property {module:model/Invoice} */ Invoice: Invoice, + /** + * The InvoiceCustomField model constructor. + * @property {module:model/InvoiceCustomField} + */ + InvoiceCustomField: InvoiceCustomField, + /** + * The InvoiceCustomFieldPlacement model constructor. + * @property {module:model/InvoiceCustomFieldPlacement} + */ + InvoiceCustomFieldPlacement: InvoiceCustomFieldPlacement, /** * The InvoiceFilter model constructor. * @property {module:model/InvoiceFilter} @@ -2953,6 +2978,21 @@ var V1TransactionsApi = require('./api/V1TransactionsApi'); * @property {module:model/OrderLineItemModifier} */ OrderLineItemModifier: OrderLineItemModifier, + /** + * The OrderLineItemPricingBlocklists model constructor. + * @property {module:model/OrderLineItemPricingBlocklists} + */ + OrderLineItemPricingBlocklists: OrderLineItemPricingBlocklists, + /** + * The OrderLineItemPricingBlocklistsBlockedDiscount model constructor. + * @property {module:model/OrderLineItemPricingBlocklistsBlockedDiscount} + */ + OrderLineItemPricingBlocklistsBlockedDiscount: OrderLineItemPricingBlocklistsBlockedDiscount, + /** + * The OrderLineItemPricingBlocklistsBlockedTax model constructor. + * @property {module:model/OrderLineItemPricingBlocklistsBlockedTax} + */ + OrderLineItemPricingBlocklistsBlockedTax: OrderLineItemPricingBlocklistsBlockedTax, /** * The OrderLineItemTax model constructor. * @property {module:model/OrderLineItemTax} @@ -4433,16 +4473,6 @@ var V1TransactionsApi = require('./api/V1TransactionsApi'); * @property {module:model/V1ListItemsResponse} */ V1ListItemsResponse: V1ListItemsResponse, - /** - * The V1ListLocationsRequest model constructor. - * @property {module:model/V1ListLocationsRequest} - */ - V1ListLocationsRequest: V1ListLocationsRequest, - /** - * The V1ListLocationsResponse model constructor. - * @property {module:model/V1ListLocationsResponse} - */ - V1ListLocationsResponse: V1ListLocationsResponse, /** * The V1ListModifierListsRequest model constructor. * @property {module:model/V1ListModifierListsRequest} @@ -4528,26 +4558,6 @@ var V1TransactionsApi = require('./api/V1TransactionsApi'); * @property {module:model/V1ListTimecardsResponse} */ V1ListTimecardsResponse: V1ListTimecardsResponse, - /** - * The V1Merchant model constructor. - * @property {module:model/V1Merchant} - */ - V1Merchant: V1Merchant, - /** - * The V1MerchantAccountType model constructor. - * @property {module:model/V1MerchantAccountType} - */ - V1MerchantAccountType: V1MerchantAccountType, - /** - * The V1MerchantBusinessType model constructor. - * @property {module:model/V1MerchantBusinessType} - */ - V1MerchantBusinessType: V1MerchantBusinessType, - /** - * The V1MerchantLocationDetails model constructor. - * @property {module:model/V1MerchantLocationDetails} - */ - V1MerchantLocationDetails: V1MerchantLocationDetails, /** * The V1ModifierList model constructor. * @property {module:model/V1ModifierList} @@ -4688,11 +4698,6 @@ var V1TransactionsApi = require('./api/V1TransactionsApi'); * @property {module:model/V1RetrieveBankAccountRequest} */ V1RetrieveBankAccountRequest: V1RetrieveBankAccountRequest, - /** - * The V1RetrieveBusinessRequest model constructor. - * @property {module:model/V1RetrieveBusinessRequest} - */ - V1RetrieveBusinessRequest: V1RetrieveBusinessRequest, /** * The V1RetrieveCashDrawerShiftRequest model constructor. * @property {module:model/V1RetrieveCashDrawerShiftRequest} @@ -5053,11 +5058,6 @@ var V1TransactionsApi = require('./api/V1TransactionsApi'); * @property {module:api/V1ItemsApi} */ V1ItemsApi: V1ItemsApi, - /** - * The V1LocationsApi service constructor. - * @property {module:api/V1LocationsApi} - */ - V1LocationsApi: V1LocationsApi, /** * The V1TransactionsApi service constructor. * @property {module:api/V1TransactionsApi} diff --git a/src/model/AcceptDisputeRequest.js b/src/model/AcceptDisputeRequest.js index b1755b3..e078022 100644 --- a/src/model/AcceptDisputeRequest.js +++ b/src/model/AcceptDisputeRequest.js @@ -24,7 +24,7 @@ var ApiClient = require('../ApiClient'); /** * Constructs a new AcceptDisputeRequest. - * Defines request parameters for the AcceptDispute endpoint. + * Defines the request parameters for the `AcceptDispute` endpoint. * @alias module:model/AcceptDisputeRequest * @class */ diff --git a/src/model/AcceptDisputeResponse.js b/src/model/AcceptDisputeResponse.js index 69a133f..73b61df 100644 --- a/src/model/AcceptDisputeResponse.js +++ b/src/model/AcceptDisputeResponse.js @@ -26,7 +26,7 @@ var Error = require('./Error'); /** * Constructs a new AcceptDisputeResponse. - * Defines fields in a AcceptDispute response. + * Defines the fields in an `AcceptDispute` response. * @alias module:model/AcceptDisputeResponse * @class */ @@ -59,7 +59,7 @@ exports.constructFromObject = function(data, obj) { } /** - * Information on errors encountered during the request. + * Information about errors encountered during the request. * @member {Array.} errors */ exports.prototype['errors'] = undefined; diff --git a/src/model/AddGroupToCustomerRequest.js b/src/model/AddGroupToCustomerRequest.js index 3e5c074..9d682b4 100644 --- a/src/model/AddGroupToCustomerRequest.js +++ b/src/model/AddGroupToCustomerRequest.js @@ -18,7 +18,6 @@ var ApiClient = require('../ApiClient'); /** * The AddGroupToCustomerRequest model module. - * Note: This model is in beta. * @module model/AddGroupToCustomerRequest */ diff --git a/src/model/AddGroupToCustomerResponse.js b/src/model/AddGroupToCustomerResponse.js index 99c4b7d..26a9921 100644 --- a/src/model/AddGroupToCustomerResponse.js +++ b/src/model/AddGroupToCustomerResponse.js @@ -19,7 +19,6 @@ var Error = require('./Error'); /** * The AddGroupToCustomerResponse model module. - * Note: This model is in beta. * @module model/AddGroupToCustomerResponse */ diff --git a/src/model/BatchRetrieveCatalogObjectsRequest.js b/src/model/BatchRetrieveCatalogObjectsRequest.js index 1f18705..cf4dabd 100644 --- a/src/model/BatchRetrieveCatalogObjectsRequest.js +++ b/src/model/BatchRetrieveCatalogObjectsRequest.js @@ -33,6 +33,7 @@ var exports = function(objectIds) { _this['object_ids'] = objectIds; + }; /** @@ -51,6 +52,9 @@ exports.constructFromObject = function(data, obj) { } if (data.hasOwnProperty('include_related_objects')) { obj['include_related_objects'] = ApiClient.convertToType(data['include_related_objects'], 'Boolean'); + } + if (data.hasOwnProperty('catalog_version')) { + obj['catalog_version'] = ApiClient.convertToType(data['catalog_version'], 'Number'); } } return obj; @@ -66,6 +70,11 @@ exports.prototype['object_ids'] = undefined; * @member {Boolean} include_related_objects */ exports.prototype['include_related_objects'] = undefined; +/** + * The specific version of the catalog objects to be included in the response. This allows you to retrieve historical versions of objects. The specified version value is matched against the `CatalogObject`s' `version` attribute. + * @member {Number} catalog_version + */ +exports.prototype['catalog_version'] = undefined; diff --git a/src/model/BusinessAppointmentSettings.js b/src/model/BusinessAppointmentSettings.js index 226974d..563f7bb 100644 --- a/src/model/BusinessAppointmentSettings.js +++ b/src/model/BusinessAppointmentSettings.js @@ -12,10 +12,10 @@ * */ var ApiClient = require('../ApiClient'); -var AlignmentTime = require('./BusinessAppointmentSettingsAlignmentTime'); -var BookingLocationType = require('./BusinessAppointmentSettingsBookingLocationType'); -var CancellationPolicy = require('./BusinessAppointmentSettingsCancellationPolicy'); -var MaxAppointmentsPerDayLimitType = require('./BusinessAppointmentSettingsMaxAppointmentsPerDayLimitType'); +var BusinessAppointmentSettingsAlignmentTime = require('./BusinessAppointmentSettingsAlignmentTime'); +var BusinessAppointmentSettingsBookingLocationType = require('./BusinessAppointmentSettingsBookingLocationType'); +var BusinessAppointmentSettingsCancellationPolicy = require('./BusinessAppointmentSettingsCancellationPolicy'); +var BusinessAppointmentSettingsMaxAppointmentsPerDayLimitType = require('./BusinessAppointmentSettingsMaxAppointmentsPerDayLimitType'); var Money = require('./Money'); @@ -63,10 +63,10 @@ exports.constructFromObject = function(data, obj) { obj = obj || new exports(); if (data.hasOwnProperty('location_types')) { - obj['location_types'] = ApiClient.convertToType(data['location_types'], [BookingLocationType]); + obj['location_types'] = ApiClient.convertToType(data['location_types'], [BusinessAppointmentSettingsBookingLocationType]); } if (data.hasOwnProperty('alignment_time')) { - obj['alignment_time'] = AlignmentTime.constructFromObject(data['alignment_time']); + obj['alignment_time'] = BusinessAppointmentSettingsAlignmentTime.constructFromObject(data['alignment_time']); } if (data.hasOwnProperty('min_booking_lead_time_seconds')) { obj['min_booking_lead_time_seconds'] = ApiClient.convertToType(data['min_booking_lead_time_seconds'], 'Number'); @@ -81,7 +81,7 @@ exports.constructFromObject = function(data, obj) { obj['multiple_service_booking_enabled'] = ApiClient.convertToType(data['multiple_service_booking_enabled'], 'Boolean'); } if (data.hasOwnProperty('max_appointments_per_day_limit_type')) { - obj['max_appointments_per_day_limit_type'] = MaxAppointmentsPerDayLimitType.constructFromObject(data['max_appointments_per_day_limit_type']); + obj['max_appointments_per_day_limit_type'] = BusinessAppointmentSettingsMaxAppointmentsPerDayLimitType.constructFromObject(data['max_appointments_per_day_limit_type']); } if (data.hasOwnProperty('max_appointments_per_day_limit')) { obj['max_appointments_per_day_limit'] = ApiClient.convertToType(data['max_appointments_per_day_limit'], 'Number'); @@ -93,7 +93,7 @@ exports.constructFromObject = function(data, obj) { obj['cancellation_fee_money'] = Money.constructFromObject(data['cancellation_fee_money']); } if (data.hasOwnProperty('cancellation_policy')) { - obj['cancellation_policy'] = CancellationPolicy.constructFromObject(data['cancellation_policy']); + obj['cancellation_policy'] = BusinessAppointmentSettingsCancellationPolicy.constructFromObject(data['cancellation_policy']); } if (data.hasOwnProperty('cancellation_policy_text')) { obj['cancellation_policy_text'] = ApiClient.convertToType(data['cancellation_policy_text'], 'String'); @@ -157,7 +157,7 @@ exports.prototype['cancellation_window_seconds'] = undefined; exports.prototype['cancellation_fee_money'] = undefined; /** * The cancellation policy adopted by the seller. - * @member {module:model/BusinessAppointmentSettingssCancellationPolicy} cancellation_policy + * @member {module:model/BusinessAppointmentSettingsCancellationPolicy} cancellation_policy */ exports.prototype['cancellation_policy'] = undefined; /** diff --git a/src/model/BusinessBookingProfile.js b/src/model/BusinessBookingProfile.js index fb8e4f2..e956090 100644 --- a/src/model/BusinessBookingProfile.js +++ b/src/model/BusinessBookingProfile.js @@ -12,9 +12,9 @@ * */ var ApiClient = require('../ApiClient'); -var BookingPolicy = require('./BusinessBookingProfileBookingPolicy'); var BusinessAppointmentSettings = require('./BusinessAppointmentSettings'); -var CustomerTimezoneChoice = require('./BusinessBookingProfileCustomerTimezoneChoice'); +var BusinessBookingProfileBookingPolicy = require('./BusinessBookingProfileBookingPolicy'); +var BusinessBookingProfileCustomerTimezoneChoice = require('./BusinessBookingProfileCustomerTimezoneChoice'); @@ -27,7 +27,7 @@ var CustomerTimezoneChoice = require('./BusinessBookingProfileCustomerTimezoneCh /** * Constructs a new BusinessBookingProfile. - * + * * @alias module:model/BusinessBookingProfile * @class */ @@ -64,10 +64,10 @@ exports.constructFromObject = function(data, obj) { obj['booking_enabled'] = ApiClient.convertToType(data['booking_enabled'], 'Boolean'); } if (data.hasOwnProperty('customer_timezone_choice')) { - obj['customer_timezone_choice'] = CustomerTimezoneChoice.constructFromObject(data['customer_timezone_choice']); + obj['customer_timezone_choice'] = BusinessBookingProfileCustomerTimezoneChoice.constructFromObject(data['customer_timezone_choice']); } if (data.hasOwnProperty('booking_policy')) { - obj['booking_policy'] = BookingPolicy.constructFromObject(data['booking_policy']); + obj['booking_policy'] = BusinessBookingProfileBookingPolicy.constructFromObject(data['booking_policy']); } if (data.hasOwnProperty('allow_user_cancel')) { obj['allow_user_cancel'] = ApiClient.convertToType(data['allow_user_cancel'], 'Boolean'); diff --git a/src/model/CancelBookingRequest.js b/src/model/CancelBookingRequest.js new file mode 100644 index 0000000..13c0cf2 --- /dev/null +++ b/src/model/CancelBookingRequest.js @@ -0,0 +1,75 @@ +/** + * Square Connect API + * Client library for accessing the Square Connect APIs + * + * OpenAPI spec version: 2.0 + * Contact: developers@squareup.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * + * Swagger Codegen version: 2.3.0-SNAPSHOT + * + */ +var ApiClient = require('../ApiClient'); + + + + +/** + * The CancelBookingRequest model module. + * Note: This model is in beta. + * @module model/CancelBookingRequest + */ + +/** + * Constructs a new CancelBookingRequest. + * + * @alias module:model/CancelBookingRequest + * @class + */ +var exports = function() { + var _this = this; + + + +}; + +/** + * Constructs a CancelBookingRequest from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/CancelBookingRequest} obj Optional instance to populate. + * @return {module:model/CancelBookingRequest} The populated CancelBookingRequest instance. + */ +exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + + if (data.hasOwnProperty('idempotency_key')) { + obj['idempotency_key'] = ApiClient.convertToType(data['idempotency_key'], 'String'); + } + if (data.hasOwnProperty('booking_version')) { + obj['booking_version'] = ApiClient.convertToType(data['booking_version'], 'Number'); + } + } + return obj; +} + +/** + * A unique key to make this request an idempotent operation. + * @member {String} idempotency_key + */ +exports.prototype['idempotency_key'] = undefined; +/** + * The revision number for the booking used for optimistic concurrency. + * @member {Number} booking_version + */ +exports.prototype['booking_version'] = undefined; + + + +module.exports = exports; + + + diff --git a/src/model/CancelBookingResponse.js b/src/model/CancelBookingResponse.js new file mode 100644 index 0000000..910bace --- /dev/null +++ b/src/model/CancelBookingResponse.js @@ -0,0 +1,77 @@ +/** + * Square Connect API + * Client library for accessing the Square Connect APIs + * + * OpenAPI spec version: 2.0 + * Contact: developers@squareup.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * + * Swagger Codegen version: 2.3.0-SNAPSHOT + * + */ +var ApiClient = require('../ApiClient'); +var Booking = require('./Booking'); +var Error = require('./Error'); + + + + +/** + * The CancelBookingResponse model module. + * Note: This model is in beta. + * @module model/CancelBookingResponse + */ + +/** + * Constructs a new CancelBookingResponse. + * + * @alias module:model/CancelBookingResponse + * @class + */ +var exports = function() { + var _this = this; + + + +}; + +/** + * Constructs a CancelBookingResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/CancelBookingResponse} obj Optional instance to populate. + * @return {module:model/CancelBookingResponse} The populated CancelBookingResponse instance. + */ +exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + + if (data.hasOwnProperty('booking')) { + obj['booking'] = Booking.constructFromObject(data['booking']); + } + if (data.hasOwnProperty('errors')) { + obj['errors'] = ApiClient.convertToType(data['errors'], [Error]); + } + } + return obj; +} + +/** + * The booking that was cancelled. + * @member {module:model/Booking} booking + */ +exports.prototype['booking'] = undefined; +/** + * Any errors that occurred during the request. + * @member {Array.} errors + */ +exports.prototype['errors'] = undefined; + + + +module.exports = exports; + + + diff --git a/src/model/CatalogObjectReference.js b/src/model/CatalogObjectReference.js new file mode 100644 index 0000000..414e57b --- /dev/null +++ b/src/model/CatalogObjectReference.js @@ -0,0 +1,75 @@ +/** + * Square Connect API + * Client library for accessing the Square Connect APIs + * + * OpenAPI spec version: 2.0 + * Contact: developers@squareup.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * + * Swagger Codegen version: 2.3.0-SNAPSHOT + * + */ +var ApiClient = require('../ApiClient'); + + + + +/** + * The CatalogObjectReference model module. + * Note: This model is in beta. + * @module model/CatalogObjectReference + */ + +/** + * Constructs a new CatalogObjectReference. + * A reference to a Catalog object at a specific version. In general this is used as an entry point into a graph of catalog objects, where the objects exist at a specific version. + * @alias module:model/CatalogObjectReference + * @class + */ +var exports = function() { + var _this = this; + + + +}; + +/** + * Constructs a CatalogObjectReference from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/CatalogObjectReference} obj Optional instance to populate. + * @return {module:model/CatalogObjectReference} The populated CatalogObjectReference instance. + */ +exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + + if (data.hasOwnProperty('object_id')) { + obj['object_id'] = ApiClient.convertToType(data['object_id'], 'String'); + } + if (data.hasOwnProperty('catalog_version')) { + obj['catalog_version'] = ApiClient.convertToType(data['catalog_version'], 'Number'); + } + } + return obj; +} + +/** + * The ID of the referenced object. + * @member {String} object_id + */ +exports.prototype['object_id'] = undefined; +/** + * The version of the object. + * @member {Number} catalog_version + */ +exports.prototype['catalog_version'] = undefined; + + + +module.exports = exports; + + + diff --git a/src/model/Checkout.js b/src/model/Checkout.js index 99fe5d5..74b28c3 100644 --- a/src/model/Checkout.js +++ b/src/model/Checkout.js @@ -121,7 +121,7 @@ exports.prototype['pre_populate_buyer_email'] = undefined; */ exports.prototype['pre_populate_shipping_address'] = undefined; /** - * The URL to redirect to after checkout is completed with `checkoutId`, Square's `orderId`, `transactionId`, and `referenceId` appended as URL parameters. For example, if the provided redirect_url is `http://www.example.com/order-complete`, a successful transaction redirects the customer to: `http://www.example.com/order-complete?checkoutId=xxxxxx&orderId=xxxxxx&referenceId=xxxxxx&transactionId=xxxxxx` If you do not provide a redirect URL, Square Checkout will display an order confirmation page on your behalf; however Square strongly recommends that you provide a redirect URL so you can verify the transaction results and finalize the order through your existing/normal confirmation workflow. + * The URL to redirect to after checkout is completed with `checkoutId`, Square's `orderId`, `transactionId`, and `referenceId` appended as URL parameters. For example, if the provided redirect_url is `http://www.example.com/order-complete`, a successful transaction redirects the customer to:
http://www.example.com/order-complete?checkoutId=xxxxxx&orderId=xxxxxx&referenceId=xxxxxx&transactionId=xxxxxx
If you do not provide a redirect URL, Square Checkout will display an order confirmation page on your behalf; however Square strongly recommends that you provide a redirect URL so you can verify the transaction results and finalize the order through your existing/normal confirmation workflow. * @member {String} redirect_url */ exports.prototype['redirect_url'] = undefined; diff --git a/src/model/CreateCheckoutRequest.js b/src/model/CreateCheckoutRequest.js index ab8d139..094c4cd 100644 --- a/src/model/CreateCheckoutRequest.js +++ b/src/model/CreateCheckoutRequest.js @@ -119,7 +119,7 @@ exports.prototype['pre_populate_buyer_email'] = undefined; */ exports.prototype['pre_populate_shipping_address'] = undefined; /** - * The URL to redirect to after checkout is completed with `checkoutId`, Square's `orderId`, `transactionId`, and `referenceId` appended as URL parameters. For example, if the provided redirect_url is `http://www.example.com/order-complete`, a successful transaction redirects the customer to: `http://www.example.com/order-complete?checkoutId=xxxxxx&orderId=xxxxxx&referenceId=xxxxxx&transactionId=xxxxxx` If you do not provide a redirect URL, Square Checkout will display an order confirmation page on your behalf; however Square strongly recommends that you provide a redirect URL so you can verify the transaction results and finalize the order through your existing/normal confirmation workflow. Default: none; only exists if explicitly set. + * The URL to redirect to after checkout is completed with `checkoutId`, Square's `orderId`, `transactionId`, and `referenceId` appended as URL parameters. For example, if the provided redirect_url is `http://www.example.com/order-complete`, a successful transaction redirects the customer to:
http://www.example.com/order-complete?checkoutId=xxxxxx&orderId=xxxxxx&referenceId=xxxxxx&transactionId=xxxxxx
If you do not provide a redirect URL, Square Checkout will display an order confirmation page on your behalf; however Square strongly recommends that you provide a redirect URL so you can verify the transaction results and finalize the order through your existing/normal confirmation workflow. Default: none; only exists if explicitly set. * @member {String} redirect_url */ exports.prototype['redirect_url'] = undefined; diff --git a/src/model/CreateCustomerGroupRequest.js b/src/model/CreateCustomerGroupRequest.js index 094bb29..38feec7 100644 --- a/src/model/CreateCustomerGroupRequest.js +++ b/src/model/CreateCustomerGroupRequest.js @@ -19,7 +19,6 @@ var CustomerGroup = require('./CustomerGroup'); /** * The CreateCustomerGroupRequest model module. - * Note: This model is in beta. * @module model/CreateCustomerGroupRequest */ diff --git a/src/model/CreateCustomerGroupResponse.js b/src/model/CreateCustomerGroupResponse.js index 80cefd7..946a5ea 100644 --- a/src/model/CreateCustomerGroupResponse.js +++ b/src/model/CreateCustomerGroupResponse.js @@ -20,7 +20,6 @@ var Error = require('./Error'); /** * The CreateCustomerGroupResponse model module. - * Note: This model is in beta. * @module model/CreateCustomerGroupResponse */ diff --git a/src/model/CreateDisputeEvidenceTextRequest.js b/src/model/CreateDisputeEvidenceTextRequest.js index 3c54dbe..4acfe73 100644 --- a/src/model/CreateDisputeEvidenceTextRequest.js +++ b/src/model/CreateDisputeEvidenceTextRequest.js @@ -24,10 +24,10 @@ var ApiClient = require('../ApiClient'); /** * Constructs a new CreateDisputeEvidenceTextRequest. - * Defines parameters for a CreateDisputeEvidenceText request. + * Defines the parameters for a `CreateDisputeEvidenceText` request. * @alias module:model/CreateDisputeEvidenceTextRequest * @class - * @param idempotencyKey {String} Unique ID. For more information, see [Idempotency](https://developer.squareup.com/docs/docs/working-with-apis/idempotency). + * @param idempotencyKey {String} The Unique ID. For more information, see [Idempotency](https://developer.squareup.com/docs/docs/working-with-apis/idempotency). * @param evidenceText {String} The evidence string. */ var exports = function(idempotencyKey, evidenceText) { @@ -63,7 +63,7 @@ exports.constructFromObject = function(data, obj) { } /** - * Unique ID. For more information, see [Idempotency](https://developer.squareup.com/docs/docs/working-with-apis/idempotency). + * The Unique ID. For more information, see [Idempotency](https://developer.squareup.com/docs/docs/working-with-apis/idempotency). * @member {String} idempotency_key */ exports.prototype['idempotency_key'] = undefined; diff --git a/src/model/CreateDisputeEvidenceTextResponse.js b/src/model/CreateDisputeEvidenceTextResponse.js index cbb576d..fe01109 100644 --- a/src/model/CreateDisputeEvidenceTextResponse.js +++ b/src/model/CreateDisputeEvidenceTextResponse.js @@ -26,7 +26,7 @@ var Error = require('./Error'); /** * Constructs a new CreateDisputeEvidenceTextResponse. - * Defines fields in a CreateDisputeEvidenceText response. + * Defines the fields in a `CreateDisputeEvidenceText` response. * @alias module:model/CreateDisputeEvidenceTextResponse * @class */ diff --git a/src/model/CustomerTextFilter.js b/src/model/CustomerTextFilter.js index 6aef0b7..7bea0d0 100644 --- a/src/model/CustomerTextFilter.js +++ b/src/model/CustomerTextFilter.js @@ -18,7 +18,6 @@ var ApiClient = require('../ApiClient'); /** * The CustomerTextFilter model module. - * Note: This model is in beta. * @module model/CustomerTextFilter */ diff --git a/src/model/DeleteCustomerGroupRequest.js b/src/model/DeleteCustomerGroupRequest.js index a9fec37..126cb6d 100644 --- a/src/model/DeleteCustomerGroupRequest.js +++ b/src/model/DeleteCustomerGroupRequest.js @@ -18,7 +18,6 @@ var ApiClient = require('../ApiClient'); /** * The DeleteCustomerGroupRequest model module. - * Note: This model is in beta. * @module model/DeleteCustomerGroupRequest */ diff --git a/src/model/DeleteCustomerGroupResponse.js b/src/model/DeleteCustomerGroupResponse.js index 93fd642..d865f54 100644 --- a/src/model/DeleteCustomerGroupResponse.js +++ b/src/model/DeleteCustomerGroupResponse.js @@ -19,7 +19,6 @@ var Error = require('./Error'); /** * The DeleteCustomerGroupResponse model module. - * Note: This model is in beta. * @module model/DeleteCustomerGroupResponse */ diff --git a/src/model/Dispute.js b/src/model/Dispute.js index cab43da..bfc39e1 100644 --- a/src/model/Dispute.js +++ b/src/model/Dispute.js @@ -107,7 +107,7 @@ exports.constructFromObject = function(data, obj) { } /** - * Unique ID for this `Dispute`, generated by Square. + * The unique ID for this `Dispute`, generated by Square. * @member {String} dispute_id */ exports.prototype['dispute_id'] = undefined; @@ -117,7 +117,7 @@ exports.prototype['dispute_id'] = undefined; */ exports.prototype['amount_money'] = undefined; /** - * The dispute reason why cardholder initiated dispute with their bank. See [DisputeReason](#type-disputereason) for possible values + * The dispute reason why the cardholder initiated the dispute with their bank. See [DisputeReason](#type-disputereason) for possible values * @member {String} reason */ exports.prototype['reason'] = undefined; @@ -147,22 +147,22 @@ exports.prototype['evidence_ids'] = undefined; */ exports.prototype['card_brand'] = undefined; /** - * Timestamp when the dispute was created, in RFC 3339 format. + * The timestamp when the dispute was created, in RFC 3339 format. * @member {String} created_at */ exports.prototype['created_at'] = undefined; /** - * Timestamp when dispute was last updated, in RFC 3339 format. + * The timestamp when the dispute was last updated, in RFC 3339 format. * @member {String} updated_at */ exports.prototype['updated_at'] = undefined; /** - * ID of the dispute in the card brand system, generated by the card brand. + * The ID of the dispute in the card brand system, generated by the card brand. * @member {String} brand_dispute_id */ exports.prototype['brand_dispute_id'] = undefined; /** - * Timestamp when the dispute was reported, in RFC 3339 format. + * The timestamp when the dispute was reported, in RFC 3339 format. * @member {String} reported_date */ exports.prototype['reported_date'] = undefined; @@ -172,7 +172,7 @@ exports.prototype['reported_date'] = undefined; */ exports.prototype['version'] = undefined; /** - * The ID of location where dispute originated. + * The ID of the location where the dispute originated. * @member {String} location_id */ exports.prototype['location_id'] = undefined; diff --git a/src/model/DisputeEvidenceFile.js b/src/model/DisputeEvidenceFile.js index c592fa2..4e5301e 100644 --- a/src/model/DisputeEvidenceFile.js +++ b/src/model/DisputeEvidenceFile.js @@ -62,7 +62,7 @@ exports.constructFromObject = function(data, obj) { */ exports.prototype['filename'] = undefined; /** - * Dispute evidence files must one of application/pdf, image/heic, image/heif, image/jpeg, image/png, image/tiff formats. + * Dispute evidence files must be application/pdf, image/heic, image/heif, image/jpeg, image/png, or image/tiff formats. * @member {String} filetype */ exports.prototype['filetype'] = undefined; diff --git a/src/model/Error.js b/src/model/Error.js index 410b574..e9b8a4e 100644 --- a/src/model/Error.js +++ b/src/model/Error.js @@ -26,8 +26,8 @@ var ApiClient = require('../ApiClient'); * Represents an error encountered during a request to the Connect API. See [Handling errors](#handlingerrors) for more information. * @alias module:model/Error * @class - * @param category {String} The high-level category for the error. See `ErrorCategory` for possible values. See [ErrorCategory](#type-errorcategory) for possible values - * @param code {String} The specific code of the error. See `ErrorCode` for possible values See [ErrorCode](#type-errorcode) for possible values + * @param category {String} The high-level category for the error. See [ErrorCategory](#type-errorcategory) for possible values + * @param code {String} The specific code of the error. See [ErrorCode](#type-errorcode) for possible values */ var exports = function(category, code) { var _this = this; @@ -66,12 +66,12 @@ exports.constructFromObject = function(data, obj) { } /** - * The high-level category for the error. See `ErrorCategory` for possible values. See [ErrorCategory](#type-errorcategory) for possible values + * The high-level category for the error. See [ErrorCategory](#type-errorcategory) for possible values * @member {String} category */ exports.prototype['category'] = undefined; /** - * The specific code of the error. See `ErrorCode` for possible values See [ErrorCode](#type-errorcode) for possible values + * The specific code of the error. See [ErrorCode](#type-errorcode) for possible values * @member {String} code */ exports.prototype['code'] = undefined; diff --git a/src/model/ErrorCode.js b/src/model/ErrorCode.js index eb04938..c04c7c0 100644 --- a/src/model/ErrorCode.js +++ b/src/model/ErrorCode.js @@ -480,6 +480,11 @@ var exports = { * @const */ "SOURCE_EXPIRED": "SOURCE_EXPIRED", + /** + * value: "UNSUPPORTED_LOYALTY_REWARD_TIER" + * @const + */ + "UNSUPPORTED_LOYALTY_REWARD_TIER": "UNSUPPORTED_LOYALTY_REWARD_TIER", /** * value: "LOCATION_MISMATCH" * @const diff --git a/src/model/Invoice.js b/src/model/Invoice.js index 409267a..df2f965 100644 --- a/src/model/Invoice.js +++ b/src/model/Invoice.js @@ -12,6 +12,7 @@ * */ var ApiClient = require('../ApiClient'); +var InvoiceCustomField = require('./InvoiceCustomField'); var InvoicePaymentRequest = require('./InvoicePaymentRequest'); var InvoiceRecipient = require('./InvoiceRecipient'); var Money = require('./Money'); @@ -50,6 +51,7 @@ var exports = function() { + }; /** @@ -110,6 +112,9 @@ exports.constructFromObject = function(data, obj) { } if (data.hasOwnProperty('updated_at')) { obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'String'); + } + if (data.hasOwnProperty('custom_fields')) { + obj['custom_fields'] = ApiClient.convertToType(data['custom_fields'], [InvoiceCustomField]); } } return obj; @@ -141,7 +146,7 @@ exports.prototype['order_id'] = undefined; */ exports.prototype['primary_recipient'] = undefined; /** - * An array of `InvoicePaymentRequest` objects. Each object defines a payment request in an invoice payment schedule. It provides information such as when and how Square processes payments. You must specify at least one payment request. For invoices with multiple payment requests, you can specify a maximum of 12 `INSTALLMENT` request types. All of the payment requests must specify the same `request_method`. This field is required when creating an invoice. + * The payment schedule for the invoice, represented by one or more payment requests that define payment settings, such as amount due and due date. You can specify a maximum of 13 payment requests, with up to 12 `INSTALLMENT` request types. For more information, see [Payment requests](https://developer.squareup.com/docs/docs/invoices-api/overview#payment-requests). This field is required when creating an invoice. It must contain at least one payment request. * @member {Array.} payment_requests */ exports.prototype['payment_requests'] = undefined; @@ -156,12 +161,12 @@ exports.prototype['invoice_number'] = undefined; */ exports.prototype['title'] = undefined; /** - * The description of the invoice. This is visible the customer receiving the invoice. + * The description of the invoice. This is visible to the customer receiving the invoice. * @member {String} description */ exports.prototype['description'] = undefined; /** - * The timestamp when the invoice is scheduled for processing, in RFC 3339 format. At the specified time, depending on the `request_method`, Square sends the invoice to the customer's email address or charge the customer's card on file. If the field is not set, Square processes the invoice immediately after publication. + * The timestamp when the invoice is scheduled for processing, in RFC 3339 format. After the invoice is published, Square processes the invoice on the specified date, based on the settings for the invoice payment requests. If the field is not set, Square processes the invoice immediately after it is published. * @member {String} scheduled_at */ exports.prototype['scheduled_at'] = undefined; @@ -195,6 +200,11 @@ exports.prototype['created_at'] = undefined; * @member {String} updated_at */ exports.prototype['updated_at'] = undefined; +/** + * Additional seller-defined fields to render on the invoice. These fields are visible to sellers and buyers on the Square-hosted invoice page and in emailed or PDF copies of invoices. For more information, see [Custom fields](https://developer.squareup.com/docs/docs/invoices-api/overview#custom-fields). Max: 2 custom fields + * @member {Array.} custom_fields + */ +exports.prototype['custom_fields'] = undefined; diff --git a/src/model/InvoiceCustomField.js b/src/model/InvoiceCustomField.js new file mode 100644 index 0000000..94fac04 --- /dev/null +++ b/src/model/InvoiceCustomField.js @@ -0,0 +1,84 @@ +/** + * Square Connect API + * Client library for accessing the Square Connect APIs + * + * OpenAPI spec version: 2.0 + * Contact: developers@squareup.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * + * Swagger Codegen version: 2.3.0-SNAPSHOT + * + */ +var ApiClient = require('../ApiClient'); + + + + +/** + * The InvoiceCustomField model module. + * Note: This model is in beta. + * @module model/InvoiceCustomField + */ + +/** + * Constructs a new InvoiceCustomField. + * An additional seller-defined and customer-facing field to include on the invoice. For more information, see [Custom fields](/docs/invoices-api/overview#custom-fields). + * @alias module:model/InvoiceCustomField + * @class + */ +var exports = function() { + var _this = this; + + + + +}; + +/** + * Constructs a InvoiceCustomField from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/InvoiceCustomField} obj Optional instance to populate. + * @return {module:model/InvoiceCustomField} The populated InvoiceCustomField instance. + */ +exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + + if (data.hasOwnProperty('label')) { + obj['label'] = ApiClient.convertToType(data['label'], 'String'); + } + if (data.hasOwnProperty('value')) { + obj['value'] = ApiClient.convertToType(data['value'], 'String'); + } + if (data.hasOwnProperty('placement')) { + obj['placement'] = ApiClient.convertToType(data['placement'], 'String'); + } + } + return obj; +} + +/** + * The label or title of the custom field. This field is required for a custom field. + * @member {String} label + */ +exports.prototype['label'] = undefined; +/** + * The text of the custom field. If omitted, only the label is rendered. + * @member {String} value + */ +exports.prototype['value'] = undefined; +/** + * The location of the custom field on the invoice. This field is required for a custom field. See [InvoiceCustomFieldPlacement](#type-invoicecustomfieldplacement) for possible values + * @member {String} placement + */ +exports.prototype['placement'] = undefined; + + + +module.exports = exports; + + + diff --git a/src/model/V1MerchantAccountType.js b/src/model/InvoiceCustomFieldPlacement.js similarity index 62% rename from src/model/V1MerchantAccountType.js rename to src/model/InvoiceCustomFieldPlacement.js index aba257b..91b33a9 100644 --- a/src/model/V1MerchantAccountType.js +++ b/src/model/InvoiceCustomFieldPlacement.js @@ -15,26 +15,26 @@ var ApiClient = require('../ApiClient'); /** - * Enum class V1MerchantAccountType. + * Enum class InvoiceCustomFieldPlacement. * @enum {} * @readonly */ var exports = { /** - * value: "LOCATION" + * value: "ABOVE_LINE_ITEMS" * @const */ - "LOCATION": "LOCATION", + "ABOVE_LINE_ITEMS": "ABOVE_LINE_ITEMS", /** - * value: "BUSINESS" + * value: "BELOW_LINE_ITEMS" * @const */ - "BUSINESS": "BUSINESS"}; + "BELOW_LINE_ITEMS": "BELOW_LINE_ITEMS"}; /** - * Returns a V1MerchantAccountType enum value from a Javascript object name. + * Returns a InvoiceCustomFieldPlacement enum value from a Javascript object name. * @param {Object} data The plain JavaScript object containing the name of the enum value. - * @return {module:model/V1MerchantAccountType} The enum V1MerchantAccountType value. + * @return {module:model/InvoiceCustomFieldPlacement} The enum InvoiceCustomFieldPlacement value. */ exports.constructFromObject = function(object) { return object; diff --git a/src/model/InvoicePaymentRequest.js b/src/model/InvoicePaymentRequest.js index 2b101f6..0b38028 100644 --- a/src/model/InvoicePaymentRequest.js +++ b/src/model/InvoicePaymentRequest.js @@ -26,7 +26,7 @@ var Money = require('./Money'); /** * Constructs a new InvoicePaymentRequest. - * Describes a specific payment request in an invoice. Invoices that contain multiple payment requests can specify a maximum of 12 `INSTALLMENT` request types. All of the payment requests must specify the same `request_method`. For more information, see [Payment requests](/docs/invoices-api/overview#payment-requests). + * Represents a payment request for an [invoice](#type-Invoice). Invoices can specify a maximum of 13 payment requests, with up to 12 `INSTALLMENT` request types. For more information, see [Payment requests](/docs/invoices-api/overview#payment-requests). * @alias module:model/InvoicePaymentRequest * @class */ @@ -134,7 +134,7 @@ exports.prototype['percentage_requested'] = undefined; */ exports.prototype['tipping_enabled'] = undefined; /** - * If the request method is `CHARGE_CARD_ON_FILE`, this field provides the card to charge. + * The ID of the card on file to charge for the payment request. To get the customer’s card on file, use the `customer_id` of the invoice recipient to call `RetrieveCustomer` in the Customers API. Then, get the ID of the target card from the `cards` field in the response. * @member {String} card_id */ exports.prototype['card_id'] = undefined; @@ -144,7 +144,7 @@ exports.prototype['card_id'] = undefined; */ exports.prototype['reminders'] = undefined; /** - * The payment request amount, computed using the order amount and information from the various payment request fields (`invoice_request_type`, `fixed_amount_requested_money`, and `percentage_requested`). + * The amount of the payment request, computed using the order amount and information from the various payment request fields (`request_type`, `fixed_amount_requested_money`, and `percentage_requested`). * @member {module:model/Money} computed_amount_money */ exports.prototype['computed_amount_money'] = undefined; diff --git a/src/model/InvoiceRequestMethod.js b/src/model/InvoiceRequestMethod.js index 96af453..405c302 100644 --- a/src/model/InvoiceRequestMethod.js +++ b/src/model/InvoiceRequestMethod.js @@ -34,7 +34,12 @@ var exports = { * value: "SHARE_MANUALLY" * @const */ - "SHARE_MANUALLY": "SHARE_MANUALLY"}; + "SHARE_MANUALLY": "SHARE_MANUALLY", + /** + * value: "CHARGE_BANK_ON_FILE" + * @const + */ + "CHARGE_BANK_ON_FILE": "CHARGE_BANK_ON_FILE"}; /** * Returns a InvoiceRequestMethod enum value from a Javascript object name. diff --git a/src/model/ListCatalogRequest.js b/src/model/ListCatalogRequest.js index 5313c56..b26c68e 100644 --- a/src/model/ListCatalogRequest.js +++ b/src/model/ListCatalogRequest.js @@ -32,6 +32,7 @@ var exports = function() { + }; /** @@ -50,6 +51,9 @@ exports.constructFromObject = function(data, obj) { } if (data.hasOwnProperty('types')) { obj['types'] = ApiClient.convertToType(data['types'], 'String'); + } + if (data.hasOwnProperty('catalog_version')) { + obj['catalog_version'] = ApiClient.convertToType(data['catalog_version'], 'Number'); } } return obj; @@ -65,6 +69,11 @@ exports.prototype['cursor'] = undefined; * @member {String} types */ exports.prototype['types'] = undefined; +/** + * The specific version of the catalog objects to be included in the response. This allows you to retrieve historical versions of objects. The specified version value is matched against the `CatalogObject`s' `version` attribute. + * @member {Number} catalog_version + */ +exports.prototype['catalog_version'] = undefined; diff --git a/src/model/ListCustomerGroupsRequest.js b/src/model/ListCustomerGroupsRequest.js index 4c3b04c..506fb12 100644 --- a/src/model/ListCustomerGroupsRequest.js +++ b/src/model/ListCustomerGroupsRequest.js @@ -18,7 +18,6 @@ var ApiClient = require('../ApiClient'); /** * The ListCustomerGroupsRequest model module. - * Note: This model is in beta. * @module model/ListCustomerGroupsRequest */ diff --git a/src/model/ListCustomerGroupsResponse.js b/src/model/ListCustomerGroupsResponse.js index 62aeb75..b13ddc2 100644 --- a/src/model/ListCustomerGroupsResponse.js +++ b/src/model/ListCustomerGroupsResponse.js @@ -20,7 +20,6 @@ var Error = require('./Error'); /** * The ListCustomerGroupsResponse model module. - * Note: This model is in beta. * @module model/ListCustomerGroupsResponse */ diff --git a/src/model/ListCustomerSegmentsRequest.js b/src/model/ListCustomerSegmentsRequest.js index 6ff0599..086a337 100644 --- a/src/model/ListCustomerSegmentsRequest.js +++ b/src/model/ListCustomerSegmentsRequest.js @@ -18,7 +18,6 @@ var ApiClient = require('../ApiClient'); /** * The ListCustomerSegmentsRequest model module. - * Note: This model is in beta. * @module model/ListCustomerSegmentsRequest */ diff --git a/src/model/ListCustomerSegmentsResponse.js b/src/model/ListCustomerSegmentsResponse.js index 177b298..13df145 100644 --- a/src/model/ListCustomerSegmentsResponse.js +++ b/src/model/ListCustomerSegmentsResponse.js @@ -20,7 +20,6 @@ var Error = require('./Error'); /** * The ListCustomerSegmentsResponse model module. - * Note: This model is in beta. * @module model/ListCustomerSegmentsResponse */ diff --git a/src/model/ListDisputeEvidenceRequest.js b/src/model/ListDisputeEvidenceRequest.js index b96e16f..0b17a91 100644 --- a/src/model/ListDisputeEvidenceRequest.js +++ b/src/model/ListDisputeEvidenceRequest.js @@ -24,7 +24,7 @@ var ApiClient = require('../ApiClient'); /** * Constructs a new ListDisputeEvidenceRequest. - * Defines parameters for a ListDisputeEvidence request. + * Defines the parameters for a `ListDisputeEvidence` request. * @alias module:model/ListDisputeEvidenceRequest * @class */ diff --git a/src/model/ListDisputeEvidenceResponse.js b/src/model/ListDisputeEvidenceResponse.js index 8c342cb..e1aab4c 100644 --- a/src/model/ListDisputeEvidenceResponse.js +++ b/src/model/ListDisputeEvidenceResponse.js @@ -26,7 +26,7 @@ var Error = require('./Error'); /** * Constructs a new ListDisputeEvidenceResponse. - * Defines fields in a ListDisputeEvidence response. + * Defines the fields in a `ListDisputeEvidence` response. * @alias module:model/ListDisputeEvidenceResponse * @class */ @@ -64,7 +64,7 @@ exports.constructFromObject = function(data, obj) { */ exports.prototype['evidence'] = undefined; /** - * Information on errors encountered during the request. + * Information about errors encountered during the request. * @member {Array.} errors */ exports.prototype['errors'] = undefined; diff --git a/src/model/ListDisputesRequest.js b/src/model/ListDisputesRequest.js index 01ef661..129c145 100644 --- a/src/model/ListDisputesRequest.js +++ b/src/model/ListDisputesRequest.js @@ -24,7 +24,7 @@ var ApiClient = require('../ApiClient'); /** * Constructs a new ListDisputesRequest. - * Defines request parameters for the ListDisputes endpoint. + * Defines the request parameters for the `ListDisputes` endpoint. * @alias module:model/ListDisputesRequest * @class */ @@ -61,17 +61,17 @@ exports.constructFromObject = function(data, obj) { } /** - * A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query. For more information, see [Paginating](https://developer.squareup.com/docs/basics/api101/pagination). + * A pagination cursor returned by a previous call to this endpoint. Provide this cursor to retrieve the next set of results for the original query. For more information, see [Pagination](https://developer.squareup.com/docs/basics/api101/pagination). * @member {String} cursor */ exports.prototype['cursor'] = undefined; /** - * The dispute states to filter the result. If not specified, the endpoint returns all open disputes (dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`). See [DisputeState](#type-disputestate) for possible values + * The dispute states to filter the result. If not specified, the endpoint returns all open disputes (the dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`). See [DisputeState](#type-disputestate) for possible values * @member {Array.} states */ exports.prototype['states'] = undefined; /** - * The ID of the location for which to return a list of disputes. If not specified, the endpoint returns all open disputes (dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`) associated with all locations. + * The ID of the location for which to return a list of disputes. If not specified, the endpoint returns all open disputes (the dispute status is not `INQUIRY_CLOSED`, `WON`, or `LOST`) associated with all locations. * @member {String} location_id */ exports.prototype['location_id'] = undefined; diff --git a/src/model/ListDisputesResponse.js b/src/model/ListDisputesResponse.js index 97ccf32..883e298 100644 --- a/src/model/ListDisputesResponse.js +++ b/src/model/ListDisputesResponse.js @@ -26,7 +26,7 @@ var Error = require('./Error'); /** * Constructs a new ListDisputesResponse. - * Defines fields in a ListDisputes response. + * Defines fields in a `ListDisputes` response. * @alias module:model/ListDisputesResponse * @class */ @@ -63,17 +63,17 @@ exports.constructFromObject = function(data, obj) { } /** - * Information on errors encountered during the request. + * Information about errors encountered during the request. * @member {Array.} errors */ exports.prototype['errors'] = undefined; /** - * The list of Disputes. + * The list of disputes. * @member {Array.} disputes */ exports.prototype['disputes'] = undefined; /** - * The pagination cursor to be used in a subsequent request. If unset, this is the final response. For more information, see [Paginating](https://developer.squareup.com/docs/basics/api101/pagination). + * The pagination cursor to be used in a subsequent request. If unset, this is the final response. For more information, see [Pagination](https://developer.squareup.com/docs/basics/api101/pagination). * @member {String} cursor */ exports.prototype['cursor'] = undefined; diff --git a/src/model/LoyaltyProgramRewardDefinition.js b/src/model/LoyaltyProgramRewardDefinition.js index 8111766..d61b276 100644 --- a/src/model/LoyaltyProgramRewardDefinition.js +++ b/src/model/LoyaltyProgramRewardDefinition.js @@ -25,11 +25,11 @@ var Money = require('./Money'); /** * Constructs a new LoyaltyProgramRewardDefinition. - * Provides details about the loyalty program reward tier definition. + * Provides details about the reward tier discount. DEPRECATED at version 2020-12-16. Discount details are now defined using a catalog pricing rule and other catalog objects. For more information, see [Get discount details for the reward](/docs/loyalty-api/overview#get-discount-details). * @alias module:model/LoyaltyProgramRewardDefinition * @class - * @param scope {String} Indicates the scope of the reward tier. See [LoyaltyProgramRewardDefinitionScope](#type-loyaltyprogramrewarddefinitionscope) for possible values - * @param discountType {String} The type of discount the reward tier offers. See [LoyaltyProgramRewardDefinitionType](#type-loyaltyprogramrewarddefinitiontype) for possible values + * @param scope {String} Indicates the scope of the reward tier. DEPRECATED at version 2020-12-16. You can find this information in the `discount_target_scope` field of the `PRICING_RULE` catalog object and the `product_set_data` field of the `PRODUCT_SET` catalog object referenced by the pricing rule. For `ORDER` scopes, the target scope is `WHOLE_PURCHASE` and `all_products` is true. For `ITEM_VARIATION` and `CATEGORY` scopes, the target scope is `LINE_ITEM` and `product_ids_any` is a list of catalog object IDs of the given type. See [LoyaltyProgramRewardDefinitionScope](#type-loyaltyprogramrewarddefinitionscope) for possible values + * @param discountType {String} The type of discount the reward tier offers. DEPRECATED at version 2020-12-16. You can find this information in the `discount_data.discount_type` field of the `DISCOUNT` catalog object referenced by the pricing rule. See [LoyaltyProgramRewardDefinitionType](#type-loyaltyprogramrewarddefinitiontype) for possible values */ var exports = function(scope, discountType) { var _this = this; @@ -76,32 +76,32 @@ exports.constructFromObject = function(data, obj) { } /** - * Indicates the scope of the reward tier. See [LoyaltyProgramRewardDefinitionScope](#type-loyaltyprogramrewarddefinitionscope) for possible values + * Indicates the scope of the reward tier. DEPRECATED at version 2020-12-16. You can find this information in the `discount_target_scope` field of the `PRICING_RULE` catalog object and the `product_set_data` field of the `PRODUCT_SET` catalog object referenced by the pricing rule. For `ORDER` scopes, the target scope is `WHOLE_PURCHASE` and `all_products` is true. For `ITEM_VARIATION` and `CATEGORY` scopes, the target scope is `LINE_ITEM` and `product_ids_any` is a list of catalog object IDs of the given type. See [LoyaltyProgramRewardDefinitionScope](#type-loyaltyprogramrewarddefinitionscope) for possible values * @member {String} scope */ exports.prototype['scope'] = undefined; /** - * The type of discount the reward tier offers. See [LoyaltyProgramRewardDefinitionType](#type-loyaltyprogramrewarddefinitiontype) for possible values + * The type of discount the reward tier offers. DEPRECATED at version 2020-12-16. You can find this information in the `discount_data.discount_type` field of the `DISCOUNT` catalog object referenced by the pricing rule. See [LoyaltyProgramRewardDefinitionType](#type-loyaltyprogramrewarddefinitiontype) for possible values * @member {String} discount_type */ exports.prototype['discount_type'] = undefined; /** - * Present if `discount_type` is `FIXED_PERCENTAGE`. For example, a 7.25% off discount will be represented as \"7.25\". + * The fixed percentage of the discount. Present if `discount_type` is `FIXED_PERCENTAGE`. For example, a 7.25% off discount will be represented as \"7.25\". DEPRECATED at version 2020-12-16. You can find this information in the `discount_data.percentage` field of the `DISCOUNT` catalog object referenced by the pricing rule. * @member {String} percentage_discount */ exports.prototype['percentage_discount'] = undefined; /** - * A list of `catalog object` ids to which this reward can be applied. They are either all item-variation ids or category ids, depending on the `type` field. + * The list of catalog objects to which this reward can be applied. They are either all item-variation ids or category ids, depending on the `type` field. DEPRECATED at version 2020-12-16. You can find this information in the `product_set_data.product_ids_any` field of the `PRODUCT_SET` catalog object referenced by the pricing rule. * @member {Array.} catalog_object_ids */ exports.prototype['catalog_object_ids'] = undefined; /** - * Present if `discount_type` is `FIXED_AMOUNT`. For example, $5 off. + * The amount of the discount. Present if `discount_type` is `FIXED_AMOUNT`. For example, $5 off. DEPRECATED at version 2020-12-16. You can find this information in the `discount_data.amount_money` field of the `DISCOUNT` catalog object referenced by the pricing rule. * @member {module:model/Money} fixed_discount_money */ exports.prototype['fixed_discount_money'] = undefined; /** - * When `discount_type` is `FIXED_PERCENTAGE`, the maximum discount amount that can be applied. + * When `discount_type` is `FIXED_PERCENTAGE`, the maximum discount amount that can be applied. DEPRECATED at version 2020-12-16. You can find this information in the `discount_data.maximum_amount_money` field of the `DISCOUNT` catalog object referenced by the the pricing rule. * @member {module:model/Money} max_discount_money */ exports.prototype['max_discount_money'] = undefined; diff --git a/src/model/LoyaltyProgramRewardTier.js b/src/model/LoyaltyProgramRewardTier.js index 507355a..7e7756c 100644 --- a/src/model/LoyaltyProgramRewardTier.js +++ b/src/model/LoyaltyProgramRewardTier.js @@ -12,6 +12,7 @@ * */ var ApiClient = require('../ApiClient'); +var CatalogObjectReference = require('./CatalogObjectReference'); var LoyaltyProgramRewardDefinition = require('./LoyaltyProgramRewardDefinition'); @@ -31,7 +32,7 @@ var LoyaltyProgramRewardDefinition = require('./LoyaltyProgramRewardDefinition') * @param id {String} The Square-assigned ID of the reward tier. * @param points {Number} The points exchanged for the reward tier. * @param name {String} The name of the reward tier. - * @param definition {module:model/LoyaltyProgramRewardDefinition} Provides details about the reward tier definition. + * @param definition {module:model/LoyaltyProgramRewardDefinition} Provides details about the reward tier definition. DEPRECATED at version 2020-12-16. Replaced by the `pricing_rule_reference` field. * @param createdAt {String} The timestamp when the reward tier was created, in RFC 3339 format. */ var exports = function(id, points, name, definition, createdAt) { @@ -42,6 +43,7 @@ var exports = function(id, points, name, definition, createdAt) { _this['name'] = name; _this['definition'] = definition; _this['created_at'] = createdAt; + }; /** @@ -69,6 +71,9 @@ exports.constructFromObject = function(data, obj) { } if (data.hasOwnProperty('created_at')) { obj['created_at'] = ApiClient.convertToType(data['created_at'], 'String'); + } + if (data.hasOwnProperty('pricing_rule_reference')) { + obj['pricing_rule_reference'] = CatalogObjectReference.constructFromObject(data['pricing_rule_reference']); } } return obj; @@ -90,7 +95,7 @@ exports.prototype['points'] = undefined; */ exports.prototype['name'] = undefined; /** - * Provides details about the reward tier definition. + * Provides details about the reward tier definition. DEPRECATED at version 2020-12-16. Replaced by the `pricing_rule_reference` field. * @member {module:model/LoyaltyProgramRewardDefinition} definition */ exports.prototype['definition'] = undefined; @@ -99,6 +104,11 @@ exports.prototype['definition'] = undefined; * @member {String} created_at */ exports.prototype['created_at'] = undefined; +/** + * A reference to the specific version of a `PRICING_RULE` catalog object that contains information about the reward tier discount. Use `object_id` and `catalog_version` with the `RetrieveCatalogObject` endpoint to get discount details. Make sure to set `include_related_objects` to true in the request to retrieve all catalog objects that define the discount. For more information, see [Get discount details for the reward](https://developer.squareup.com/docs/docs/loyalty-api/overview#get-discount-details). + * @member {module:model/CatalogObjectReference} pricing_rule_reference + */ +exports.prototype['pricing_rule_reference'] = undefined; diff --git a/src/model/OrderLineItem.js b/src/model/OrderLineItem.js index 3b0bf52..c4e2524 100644 --- a/src/model/OrderLineItem.js +++ b/src/model/OrderLineItem.js @@ -16,6 +16,7 @@ var Money = require('./Money'); var OrderLineItemAppliedDiscount = require('./OrderLineItemAppliedDiscount'); var OrderLineItemAppliedTax = require('./OrderLineItemAppliedTax'); var OrderLineItemModifier = require('./OrderLineItemModifier'); +var OrderLineItemPricingBlocklists = require('./OrderLineItemPricingBlocklists'); var OrderQuantityUnit = require('./OrderQuantityUnit'); @@ -53,6 +54,7 @@ var exports = function(quantity) { + }; /** @@ -116,6 +118,9 @@ exports.constructFromObject = function(data, obj) { } if (data.hasOwnProperty('total_money')) { obj['total_money'] = Money.constructFromObject(data['total_money']); + } + if (data.hasOwnProperty('pricing_blocklists')) { + obj['pricing_blocklists'] = OrderLineItemPricingBlocklists.constructFromObject(data['pricing_blocklists']); } } return obj; @@ -206,6 +211,11 @@ exports.prototype['total_discount_money'] = undefined; * @member {module:model/Money} total_money */ exports.prototype['total_money'] = undefined; +/** + * Describes pricing adjustments that are blocked from manual and automatic application to a line item. For more information, see [Apply Taxes and Discounts](https://developer.squareup.com/docs/docs/orders-api/apply-taxes-and-discounts). + * @member {module:model/OrderLineItemPricingBlocklists} pricing_blocklists + */ +exports.prototype['pricing_blocklists'] = undefined; diff --git a/src/model/OrderLineItemPricingBlocklists.js b/src/model/OrderLineItemPricingBlocklists.js new file mode 100644 index 0000000..48ea24a --- /dev/null +++ b/src/model/OrderLineItemPricingBlocklists.js @@ -0,0 +1,77 @@ +/** + * Square Connect API + * Client library for accessing the Square Connect APIs + * + * OpenAPI spec version: 2.0 + * Contact: developers@squareup.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * + * Swagger Codegen version: 2.3.0-SNAPSHOT + * + */ +var ApiClient = require('../ApiClient'); +var OrderLineItemPricingBlocklistsBlockedDiscount = require('./OrderLineItemPricingBlocklistsBlockedDiscount'); +var OrderLineItemPricingBlocklistsBlockedTax = require('./OrderLineItemPricingBlocklistsBlockedTax'); + + + + +/** + * The OrderLineItemPricingBlocklists model module. + * Note: This model is in beta. + * @module model/OrderLineItemPricingBlocklists + */ + +/** + * Constructs a new OrderLineItemPricingBlocklists. + * Describes pricing adjustments that are blocked from manual and automatic application to a line item. For more information, see [Apply Taxes and Discounts](/docs/orders-api/apply-taxes-and-discounts). + * @alias module:model/OrderLineItemPricingBlocklists + * @class + */ +var exports = function() { + var _this = this; + + + +}; + +/** + * Constructs a OrderLineItemPricingBlocklists from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/OrderLineItemPricingBlocklists} obj Optional instance to populate. + * @return {module:model/OrderLineItemPricingBlocklists} The populated OrderLineItemPricingBlocklists instance. + */ +exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + + if (data.hasOwnProperty('blocked_discounts')) { + obj['blocked_discounts'] = ApiClient.convertToType(data['blocked_discounts'], [OrderLineItemPricingBlocklistsBlockedDiscount]); + } + if (data.hasOwnProperty('blocked_taxes')) { + obj['blocked_taxes'] = ApiClient.convertToType(data['blocked_taxes'], [OrderLineItemPricingBlocklistsBlockedTax]); + } + } + return obj; +} + +/** + * A list of discounts blocked from applying to the line item. Discounts can be blocked by the `discount_uid` (for ad-hoc discounts) or the `discount_catalog_object_id` (for catalog discounts). + * @member {Array.} blocked_discounts + */ +exports.prototype['blocked_discounts'] = undefined; +/** + * A list of taxes blocked from applying to the line item. Taxes can be blocked by the `tax_uid` (for ad-hoc taxes) or the `tax_catalog_object_id` (for catalog taxes). + * @member {Array.} blocked_taxes + */ +exports.prototype['blocked_taxes'] = undefined; + + + +module.exports = exports; + + + diff --git a/src/model/OrderLineItemPricingBlocklistsBlockedDiscount.js b/src/model/OrderLineItemPricingBlocklistsBlockedDiscount.js new file mode 100644 index 0000000..c7633a3 --- /dev/null +++ b/src/model/OrderLineItemPricingBlocklistsBlockedDiscount.js @@ -0,0 +1,84 @@ +/** + * Square Connect API + * Client library for accessing the Square Connect APIs + * + * OpenAPI spec version: 2.0 + * Contact: developers@squareup.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * + * Swagger Codegen version: 2.3.0-SNAPSHOT + * + */ +var ApiClient = require('../ApiClient'); + + + + +/** + * The OrderLineItemPricingBlocklistsBlockedDiscount model module. + * Note: This model is in beta. + * @module model/OrderLineItemPricingBlocklistsBlockedDiscount + */ + +/** + * Constructs a new OrderLineItemPricingBlocklistsBlockedDiscount. + * A discount to block from applying to a line item. The discount must be identified by either `discount_uid` or `discount_catalog_object_id`, but not both. + * @alias module:model/OrderLineItemPricingBlocklistsBlockedDiscount + * @class + */ +var exports = function() { + var _this = this; + + + + +}; + +/** + * Constructs a OrderLineItemPricingBlocklistsBlockedDiscount from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/OrderLineItemPricingBlocklistsBlockedDiscount} obj Optional instance to populate. + * @return {module:model/OrderLineItemPricingBlocklistsBlockedDiscount} The populated OrderLineItemPricingBlocklistsBlockedDiscount instance. + */ +exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + + if (data.hasOwnProperty('uid')) { + obj['uid'] = ApiClient.convertToType(data['uid'], 'String'); + } + if (data.hasOwnProperty('discount_uid')) { + obj['discount_uid'] = ApiClient.convertToType(data['discount_uid'], 'String'); + } + if (data.hasOwnProperty('discount_catalog_object_id')) { + obj['discount_catalog_object_id'] = ApiClient.convertToType(data['discount_catalog_object_id'], 'String'); + } + } + return obj; +} + +/** + * Unique ID of the `BlockedDiscount` within the order. + * @member {String} uid + */ +exports.prototype['uid'] = undefined; +/** + * The `uid` of the discount that should be blocked. Use this field to block ad-hoc discounts. For catalog discounts use the `discount_catalog_object_id` field. + * @member {String} discount_uid + */ +exports.prototype['discount_uid'] = undefined; +/** + * The `catalog_object_id` of the discount that should be blocked. Use this field to block catalog discounts. For ad-hoc discounts use the `discount_uid` field. + * @member {String} discount_catalog_object_id + */ +exports.prototype['discount_catalog_object_id'] = undefined; + + + +module.exports = exports; + + + diff --git a/src/model/OrderLineItemPricingBlocklistsBlockedTax.js b/src/model/OrderLineItemPricingBlocklistsBlockedTax.js new file mode 100644 index 0000000..45d4c21 --- /dev/null +++ b/src/model/OrderLineItemPricingBlocklistsBlockedTax.js @@ -0,0 +1,84 @@ +/** + * Square Connect API + * Client library for accessing the Square Connect APIs + * + * OpenAPI spec version: 2.0 + * Contact: developers@squareup.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * + * Swagger Codegen version: 2.3.0-SNAPSHOT + * + */ +var ApiClient = require('../ApiClient'); + + + + +/** + * The OrderLineItemPricingBlocklistsBlockedTax model module. + * Note: This model is in beta. + * @module model/OrderLineItemPricingBlocklistsBlockedTax + */ + +/** + * Constructs a new OrderLineItemPricingBlocklistsBlockedTax. + * A tax to block from applying to a line item. The tax must be identified by either `tax_uid` or `tax_catalog_object_id`, but not both. + * @alias module:model/OrderLineItemPricingBlocklistsBlockedTax + * @class + */ +var exports = function() { + var _this = this; + + + + +}; + +/** + * Constructs a OrderLineItemPricingBlocklistsBlockedTax from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/OrderLineItemPricingBlocklistsBlockedTax} obj Optional instance to populate. + * @return {module:model/OrderLineItemPricingBlocklistsBlockedTax} The populated OrderLineItemPricingBlocklistsBlockedTax instance. + */ +exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + + if (data.hasOwnProperty('uid')) { + obj['uid'] = ApiClient.convertToType(data['uid'], 'String'); + } + if (data.hasOwnProperty('tax_uid')) { + obj['tax_uid'] = ApiClient.convertToType(data['tax_uid'], 'String'); + } + if (data.hasOwnProperty('tax_catalog_object_id')) { + obj['tax_catalog_object_id'] = ApiClient.convertToType(data['tax_catalog_object_id'], 'String'); + } + } + return obj; +} + +/** + * Unique ID of the `BlockedTax` within the order. + * @member {String} uid + */ +exports.prototype['uid'] = undefined; +/** + * The `uid` of the tax that should be blocked. Use this field to block ad-hoc taxes. For catalog taxes use the `tax_catalog_object_id` field. + * @member {String} tax_uid + */ +exports.prototype['tax_uid'] = undefined; +/** + * The `catalog_object_id` of the tax that should be blocked. Use this field to block catalog taxes. For ad-hoc taxes use the `tax_uid` field. + * @member {String} tax_catalog_object_id + */ +exports.prototype['tax_catalog_object_id'] = undefined; + + + +module.exports = exports; + + + diff --git a/src/model/OrderLineItemTax.js b/src/model/OrderLineItemTax.js index e21ecbd..c607da5 100644 --- a/src/model/OrderLineItemTax.js +++ b/src/model/OrderLineItemTax.js @@ -39,6 +39,7 @@ var exports = function() { + }; /** @@ -75,6 +76,9 @@ exports.constructFromObject = function(data, obj) { } if (data.hasOwnProperty('scope')) { obj['scope'] = ApiClient.convertToType(data['scope'], 'String'); + } + if (data.hasOwnProperty('auto_applied')) { + obj['auto_applied'] = ApiClient.convertToType(data['auto_applied'], 'Boolean'); } } return obj; @@ -120,6 +124,11 @@ exports.prototype['applied_money'] = undefined; * @member {String} scope */ exports.prototype['scope'] = undefined; +/** + * Determines whether the tax was automatically applied to the order based on the catalog configuration. For an example, see [Automatically Apply Taxes to an Order](https://developer.squareup.com/docs/docs/orders-api/apply-taxes-and-discounts/auto-apply-taxes). + * @member {Boolean} auto_applied + */ +exports.prototype['auto_applied'] = undefined; diff --git a/src/model/OrderPricingOptions.js b/src/model/OrderPricingOptions.js index 9204dbb..4226e34 100644 --- a/src/model/OrderPricingOptions.js +++ b/src/model/OrderPricingOptions.js @@ -31,6 +31,7 @@ var exports = function() { var _this = this; + }; /** @@ -46,16 +47,24 @@ exports.constructFromObject = function(data, obj) { if (data.hasOwnProperty('auto_apply_discounts')) { obj['auto_apply_discounts'] = ApiClient.convertToType(data['auto_apply_discounts'], 'Boolean'); + } + if (data.hasOwnProperty('auto_apply_taxes')) { + obj['auto_apply_taxes'] = ApiClient.convertToType(data['auto_apply_taxes'], 'Boolean'); } } return obj; } /** - * The option to determine whether or not pricing rule-based discounts are automatically applied to an order. + * The option to determine whether pricing rule-based discounts are automatically applied to an order. * @member {Boolean} auto_apply_discounts */ exports.prototype['auto_apply_discounts'] = undefined; +/** + * The option to determine whether rule-based taxes are automatically applied to an order when the criteria of the corresponding rules are met. + * @member {Boolean} auto_apply_taxes + */ +exports.prototype['auto_apply_taxes'] = undefined; diff --git a/src/model/RemoveDisputeEvidenceRequest.js b/src/model/RemoveDisputeEvidenceRequest.js index b4bb598..e347f66 100644 --- a/src/model/RemoveDisputeEvidenceRequest.js +++ b/src/model/RemoveDisputeEvidenceRequest.js @@ -24,7 +24,7 @@ var ApiClient = require('../ApiClient'); /** * Constructs a new RemoveDisputeEvidenceRequest. - * Defines parameters for a RemoveDisputeEvidence request. + * Defines the parameters for a `RemoveDisputeEvidence` request. * @alias module:model/RemoveDisputeEvidenceRequest * @class */ diff --git a/src/model/RemoveDisputeEvidenceResponse.js b/src/model/RemoveDisputeEvidenceResponse.js index 47ca82a..2f6a9e7 100644 --- a/src/model/RemoveDisputeEvidenceResponse.js +++ b/src/model/RemoveDisputeEvidenceResponse.js @@ -25,7 +25,7 @@ var Error = require('./Error'); /** * Constructs a new RemoveDisputeEvidenceResponse. - * Defines fields in a RemoveDisputeEvidence response. + * Defines the fields in a `RemoveDisputeEvidence` response. * @alias module:model/RemoveDisputeEvidenceResponse * @class */ @@ -54,7 +54,7 @@ exports.constructFromObject = function(data, obj) { } /** - * Information on errors encountered during the request. + * Information about errors encountered during the request. * @member {Array.} errors */ exports.prototype['errors'] = undefined; diff --git a/src/model/RemoveGroupFromCustomerRequest.js b/src/model/RemoveGroupFromCustomerRequest.js index 4e3f3c1..30e7dc8 100644 --- a/src/model/RemoveGroupFromCustomerRequest.js +++ b/src/model/RemoveGroupFromCustomerRequest.js @@ -18,7 +18,6 @@ var ApiClient = require('../ApiClient'); /** * The RemoveGroupFromCustomerRequest model module. - * Note: This model is in beta. * @module model/RemoveGroupFromCustomerRequest */ diff --git a/src/model/RemoveGroupFromCustomerResponse.js b/src/model/RemoveGroupFromCustomerResponse.js index 8979c17..1ed556c 100644 --- a/src/model/RemoveGroupFromCustomerResponse.js +++ b/src/model/RemoveGroupFromCustomerResponse.js @@ -19,7 +19,6 @@ var Error = require('./Error'); /** * The RemoveGroupFromCustomerResponse model module. - * Note: This model is in beta. * @module model/RemoveGroupFromCustomerResponse */ diff --git a/src/model/RetrieveCatalogObjectRequest.js b/src/model/RetrieveCatalogObjectRequest.js index de75de5..78c60ac 100644 --- a/src/model/RetrieveCatalogObjectRequest.js +++ b/src/model/RetrieveCatalogObjectRequest.js @@ -31,6 +31,7 @@ var exports = function() { var _this = this; + }; /** @@ -46,6 +47,9 @@ exports.constructFromObject = function(data, obj) { if (data.hasOwnProperty('include_related_objects')) { obj['include_related_objects'] = ApiClient.convertToType(data['include_related_objects'], 'Boolean'); + } + if (data.hasOwnProperty('catalog_version')) { + obj['catalog_version'] = ApiClient.convertToType(data['catalog_version'], 'Number'); } } return obj; @@ -56,6 +60,11 @@ exports.constructFromObject = function(data, obj) { * @member {Boolean} include_related_objects */ exports.prototype['include_related_objects'] = undefined; +/** + * Requests objects as of a specific version of the catalog. This allows you to retrieve historical versions of objects. The value to retrieve a specific version of an object can be found in the version field of `CatalogObject`s. + * @member {Number} catalog_version + */ +exports.prototype['catalog_version'] = undefined; diff --git a/src/model/RetrieveCustomerGroupRequest.js b/src/model/RetrieveCustomerGroupRequest.js index 0803e59..254a469 100644 --- a/src/model/RetrieveCustomerGroupRequest.js +++ b/src/model/RetrieveCustomerGroupRequest.js @@ -18,7 +18,6 @@ var ApiClient = require('../ApiClient'); /** * The RetrieveCustomerGroupRequest model module. - * Note: This model is in beta. * @module model/RetrieveCustomerGroupRequest */ diff --git a/src/model/RetrieveCustomerGroupResponse.js b/src/model/RetrieveCustomerGroupResponse.js index 213bbb4..e334d14 100644 --- a/src/model/RetrieveCustomerGroupResponse.js +++ b/src/model/RetrieveCustomerGroupResponse.js @@ -20,7 +20,6 @@ var Error = require('./Error'); /** * The RetrieveCustomerGroupResponse model module. - * Note: This model is in beta. * @module model/RetrieveCustomerGroupResponse */ diff --git a/src/model/RetrieveCustomerSegmentRequest.js b/src/model/RetrieveCustomerSegmentRequest.js index 5c89baa..49c0b85 100644 --- a/src/model/RetrieveCustomerSegmentRequest.js +++ b/src/model/RetrieveCustomerSegmentRequest.js @@ -18,7 +18,6 @@ var ApiClient = require('../ApiClient'); /** * The RetrieveCustomerSegmentRequest model module. - * Note: This model is in beta. * @module model/RetrieveCustomerSegmentRequest */ diff --git a/src/model/RetrieveCustomerSegmentResponse.js b/src/model/RetrieveCustomerSegmentResponse.js index a5d600b..58f1a64 100644 --- a/src/model/RetrieveCustomerSegmentResponse.js +++ b/src/model/RetrieveCustomerSegmentResponse.js @@ -20,7 +20,6 @@ var Error = require('./Error'); /** * The RetrieveCustomerSegmentResponse model module. - * Note: This model is in beta. * @module model/RetrieveCustomerSegmentResponse */ diff --git a/src/model/RetrieveDisputeEvidenceRequest.js b/src/model/RetrieveDisputeEvidenceRequest.js index b466474..fa89cfb 100644 --- a/src/model/RetrieveDisputeEvidenceRequest.js +++ b/src/model/RetrieveDisputeEvidenceRequest.js @@ -24,7 +24,7 @@ var ApiClient = require('../ApiClient'); /** * Constructs a new RetrieveDisputeEvidenceRequest. - * Defines parameters for a RetrieveDisputeEvidence request. + * Defines the parameters for a `RetrieveDisputeEvidence` request. * @alias module:model/RetrieveDisputeEvidenceRequest * @class */ diff --git a/src/model/RetrieveDisputeEvidenceResponse.js b/src/model/RetrieveDisputeEvidenceResponse.js index 41492bc..e26616b 100644 --- a/src/model/RetrieveDisputeEvidenceResponse.js +++ b/src/model/RetrieveDisputeEvidenceResponse.js @@ -26,7 +26,7 @@ var Error = require('./Error'); /** * Constructs a new RetrieveDisputeEvidenceResponse. - * Defines fields in a RetrieveDisputeEvidence response. + * Defines the fields in a `RetrieveDisputeEvidence` response. * @alias module:model/RetrieveDisputeEvidenceResponse * @class */ diff --git a/src/model/RetrieveDisputeRequest.js b/src/model/RetrieveDisputeRequest.js index 6d310f8..e86bcc4 100644 --- a/src/model/RetrieveDisputeRequest.js +++ b/src/model/RetrieveDisputeRequest.js @@ -24,7 +24,7 @@ var ApiClient = require('../ApiClient'); /** * Constructs a new RetrieveDisputeRequest. - * Defines request parameters for the RetrieveDispute endpoint. + * Defines the request parameters for the `RetrieveDispute` endpoint. * @alias module:model/RetrieveDisputeRequest * @class */ diff --git a/src/model/RetrieveDisputeResponse.js b/src/model/RetrieveDisputeResponse.js index 7b86095..c5f0d8c 100644 --- a/src/model/RetrieveDisputeResponse.js +++ b/src/model/RetrieveDisputeResponse.js @@ -26,7 +26,7 @@ var Error = require('./Error'); /** * Constructs a new RetrieveDisputeResponse. - * Defines fields in a RetrieveDispute response. + * Defines fields in a `RetrieveDispute` response. * @alias module:model/RetrieveDisputeResponse * @class */ @@ -59,7 +59,7 @@ exports.constructFromObject = function(data, obj) { } /** - * Information on errors encountered during the request. + * Information about errors encountered during the request. * @member {Array.} errors */ exports.prototype['errors'] = undefined; diff --git a/src/model/RiskEvaluation.js b/src/model/RiskEvaluation.js index 5313189..25a6df0 100644 --- a/src/model/RiskEvaluation.js +++ b/src/model/RiskEvaluation.js @@ -12,7 +12,7 @@ * */ var ApiClient = require('../ApiClient'); -var RiskLevel = require('./RiskEvaluationRiskLevel'); +var RiskEvaluationRiskLevel = require('./RiskEvaluationRiskLevel'); @@ -51,7 +51,7 @@ exports.constructFromObject = function(data, obj) { obj['created_at'] = ApiClient.convertToType(data['created_at'], 'String'); } if (data.hasOwnProperty('risk_level')) { - obj['risk_level'] = RiskLevel.constructFromObject(data['risk_level']); + obj['risk_level'] = RiskEvaluationRiskLevel.constructFromObject(data['risk_level']); } } return obj; diff --git a/src/model/SearchAvailabilityFilter.js b/src/model/SearchAvailabilityFilter.js index eb56088..dd04994 100644 --- a/src/model/SearchAvailabilityFilter.js +++ b/src/model/SearchAvailabilityFilter.js @@ -29,7 +29,7 @@ var TimeRange = require('./TimeRange'); * A query filter to search for availabilities by. * @alias module:model/SearchAvailabilityFilter * @class - * @param startAtRange {module:model/TimeRange} The query expression to search for availabilities matching the specified range of starting times. + * @param startAtRange {module:model/TimeRange} The query expression to search for availabilities matching the specified range of starting times. The range must be at least 24 hours and at most 31 days in length. */ var exports = function(startAtRange) { var _this = this; @@ -68,7 +68,7 @@ exports.constructFromObject = function(data, obj) { } /** - * The query expression to search for availabilities matching the specified range of starting times. + * The query expression to search for availabilities matching the specified range of starting times. The range must be at least 24 hours and at most 31 days in length. * @member {module:model/TimeRange} start_at_range */ exports.prototype['start_at_range'] = undefined; diff --git a/src/model/SubmitEvidenceRequest.js b/src/model/SubmitEvidenceRequest.js index 5e30159..ccb3a09 100644 --- a/src/model/SubmitEvidenceRequest.js +++ b/src/model/SubmitEvidenceRequest.js @@ -24,7 +24,7 @@ var ApiClient = require('../ApiClient'); /** * Constructs a new SubmitEvidenceRequest. - * Defines parameters for a SubmitEvidence request. + * Defines the parameters for a `SubmitEvidence` request. * @alias module:model/SubmitEvidenceRequest * @class */ diff --git a/src/model/SubmitEvidenceResponse.js b/src/model/SubmitEvidenceResponse.js index 32735f8..4dfe0b2 100644 --- a/src/model/SubmitEvidenceResponse.js +++ b/src/model/SubmitEvidenceResponse.js @@ -26,7 +26,7 @@ var Error = require('./Error'); /** * Constructs a new SubmitEvidenceResponse. - * Defines fields in a SubmitEvidence response. + * Defines the fields in a `SubmitEvidence` response. * @alias module:model/SubmitEvidenceResponse * @class */ @@ -59,7 +59,7 @@ exports.constructFromObject = function(data, obj) { } /** - * Information on errors encountered during the request. + * Information about errors encountered during the request. * @member {Array.} errors */ exports.prototype['errors'] = undefined; diff --git a/src/model/UpdateCustomerGroupRequest.js b/src/model/UpdateCustomerGroupRequest.js index cbf4efb..852889a 100644 --- a/src/model/UpdateCustomerGroupRequest.js +++ b/src/model/UpdateCustomerGroupRequest.js @@ -19,7 +19,6 @@ var CustomerGroup = require('./CustomerGroup'); /** * The UpdateCustomerGroupRequest model module. - * Note: This model is in beta. * @module model/UpdateCustomerGroupRequest */ diff --git a/src/model/UpdateCustomerGroupResponse.js b/src/model/UpdateCustomerGroupResponse.js index 9669849..9e9aef8 100644 --- a/src/model/UpdateCustomerGroupResponse.js +++ b/src/model/UpdateCustomerGroupResponse.js @@ -20,7 +20,6 @@ var Error = require('./Error'); /** * The UpdateCustomerGroupResponse model module. - * Note: This model is in beta. * @module model/UpdateCustomerGroupResponse */ diff --git a/src/model/UpdateInvoiceRequest.js b/src/model/UpdateInvoiceRequest.js index 27e2ddf..afd03a5 100644 --- a/src/model/UpdateInvoiceRequest.js +++ b/src/model/UpdateInvoiceRequest.js @@ -28,7 +28,7 @@ var Invoice = require('./Invoice'); * Describes a `UpdateInvoice` request. * @alias module:model/UpdateInvoiceRequest * @class - * @param invoice {module:model/Invoice} The invoice fields to update. You need to only specify the fields you want to change. The current invoice version must be specified in the `version` field. For more information, see [Update an invoice](https://developer.squareup.com/docs/docs/invoices-api/overview#update-an-invoice). + * @param invoice {module:model/Invoice} The invoice fields to update. The current invoice version must be specified in the `version` field. For more information, see [Update an invoice](https://developer.squareup.com/docs/docs/invoices-api/overview#update-an-invoice). */ var exports = function(invoice) { var _this = this; @@ -63,7 +63,7 @@ exports.constructFromObject = function(data, obj) { } /** - * The invoice fields to update. You need to only specify the fields you want to change. The current invoice version must be specified in the `version` field. For more information, see [Update an invoice](https://developer.squareup.com/docs/docs/invoices-api/overview#update-an-invoice). + * The invoice fields to update. The current invoice version must be specified in the `version` field. For more information, see [Update an invoice](https://developer.squareup.com/docs/docs/invoices-api/overview#update-an-invoice). * @member {module:model/Invoice} invoice */ exports.prototype['invoice'] = undefined; @@ -73,7 +73,7 @@ exports.prototype['invoice'] = undefined; */ exports.prototype['idempotency_key'] = undefined; /** - * List of fields to clear. For examples, see [Update an invoice](https://developer.squareup.com/docs/docs/invoices-api/overview#update-an-invoice). + * The list of fields to clear. For examples, see [Update an invoice](https://developer.squareup.com/docs/docs/invoices-api/overview#update-an-invoice). * @member {Array.} fields_to_clear */ exports.prototype['fields_to_clear'] = undefined; diff --git a/src/model/V1ListLocationsRequest.js b/src/model/V1ListLocationsRequest.js deleted file mode 100644 index 3b88296..0000000 --- a/src/model/V1ListLocationsRequest.js +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Square Connect API - * Client library for accessing the Square Connect APIs - * - * OpenAPI spec version: 2.0 - * Contact: developers@squareup.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.3.0-SNAPSHOT - * - */ -var ApiClient = require('../ApiClient'); - - - - -/** - * @deprecated - * The V1ListLocationsRequest model module. - * @module model/V1ListLocationsRequest - */ - -/** - * Constructs a new V1ListLocationsRequest. - * - * @alias module:model/V1ListLocationsRequest - * @class - */ -var exports = function() { - var _this = this; - -}; - -/** - * Constructs a V1ListLocationsRequest from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/V1ListLocationsRequest} obj Optional instance to populate. - * @return {module:model/V1ListLocationsRequest} The populated V1ListLocationsRequest instance. - */ -exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; -} - - - - -module.exports = exports; - - - diff --git a/src/model/V1ListLocationsResponse.js b/src/model/V1ListLocationsResponse.js deleted file mode 100644 index 07ea2ac..0000000 --- a/src/model/V1ListLocationsResponse.js +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Square Connect API - * Client library for accessing the Square Connect APIs - * - * OpenAPI spec version: 2.0 - * Contact: developers@squareup.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.3.0-SNAPSHOT - * - */ -var ApiClient = require('../ApiClient'); -var V1Merchant = require('./V1Merchant'); - - - - -/** - * @deprecated - * The V1ListLocationsResponse model module. - * @module model/V1ListLocationsResponse - */ - -/** - * Constructs a new V1ListLocationsResponse. - * - * @alias module:model/V1ListLocationsResponse - * @class - */ -var exports = function() { - var _this = this; - - -}; - -/** - * Constructs a V1ListLocationsResponse from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/V1ListLocationsResponse} obj Optional instance to populate. - * @return {module:model/V1ListLocationsResponse} The populated V1ListLocationsResponse instance. - */ -exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('items')) { - obj['items'] = ApiClient.convertToType(data['items'], [V1Merchant]); - } - } - return obj; -} - -/** - * - * @member {Array.} items - */ -exports.prototype['items'] = undefined; - - - -module.exports = exports; - - - diff --git a/src/model/V1Merchant.js b/src/model/V1Merchant.js deleted file mode 100644 index f614914..0000000 --- a/src/model/V1Merchant.js +++ /dev/null @@ -1,195 +0,0 @@ -/** - * Square Connect API - * Client library for accessing the Square Connect APIs - * - * OpenAPI spec version: 2.0 - * Contact: developers@squareup.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.3.0-SNAPSHOT - * - */ -var ApiClient = require('../ApiClient'); -var Address = require('./Address'); -var V1MerchantLocationDetails = require('./V1MerchantLocationDetails'); -var V1PhoneNumber = require('./V1PhoneNumber'); - - - - -/** - * @deprecated - * The V1Merchant model module. - * @module model/V1Merchant - */ - -/** - * Constructs a new V1Merchant. - * Defines the fields that are included in the response body of a request to the **RetrieveBusiness** endpoint. - * @alias module:model/V1Merchant - * @class - */ -var exports = function() { - var _this = this; - - - - - - - - - - - - - - - - -}; - -/** - * Constructs a V1Merchant from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/V1Merchant} obj Optional instance to populate. - * @return {module:model/V1Merchant} The populated V1Merchant instance. - */ -exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('id')) { - obj['id'] = ApiClient.convertToType(data['id'], 'String'); - } - if (data.hasOwnProperty('name')) { - obj['name'] = ApiClient.convertToType(data['name'], 'String'); - } - if (data.hasOwnProperty('email')) { - obj['email'] = ApiClient.convertToType(data['email'], 'String'); - } - if (data.hasOwnProperty('account_type')) { - obj['account_type'] = ApiClient.convertToType(data['account_type'], 'String'); - } - if (data.hasOwnProperty('account_capabilities')) { - obj['account_capabilities'] = ApiClient.convertToType(data['account_capabilities'], ['String']); - } - if (data.hasOwnProperty('country_code')) { - obj['country_code'] = ApiClient.convertToType(data['country_code'], 'String'); - } - if (data.hasOwnProperty('language_code')) { - obj['language_code'] = ApiClient.convertToType(data['language_code'], 'String'); - } - if (data.hasOwnProperty('currency_code')) { - obj['currency_code'] = ApiClient.convertToType(data['currency_code'], 'String'); - } - if (data.hasOwnProperty('business_name')) { - obj['business_name'] = ApiClient.convertToType(data['business_name'], 'String'); - } - if (data.hasOwnProperty('business_address')) { - obj['business_address'] = Address.constructFromObject(data['business_address']); - } - if (data.hasOwnProperty('business_phone')) { - obj['business_phone'] = V1PhoneNumber.constructFromObject(data['business_phone']); - } - if (data.hasOwnProperty('business_type')) { - obj['business_type'] = ApiClient.convertToType(data['business_type'], 'String'); - } - if (data.hasOwnProperty('shipping_address')) { - obj['shipping_address'] = Address.constructFromObject(data['shipping_address']); - } - if (data.hasOwnProperty('location_details')) { - obj['location_details'] = V1MerchantLocationDetails.constructFromObject(data['location_details']); - } - if (data.hasOwnProperty('market_url')) { - obj['market_url'] = ApiClient.convertToType(data['market_url'], 'String'); - } - } - return obj; -} - -/** - * The merchant account's unique identifier. - * @member {String} id - */ -exports.prototype['id'] = undefined; -/** - * The name associated with the merchant account. - * @member {String} name - */ -exports.prototype['name'] = undefined; -/** - * The email address associated with the merchant account. - * @member {String} email - */ -exports.prototype['email'] = undefined; -/** - * Indicates whether the merchant account corresponds to a single-location account (LOCATION) or a business account (BUSINESS). This value is almost always LOCATION. See [V1MerchantAccountType](#type-v1merchantaccounttype) for possible values - * @member {String} account_type - */ -exports.prototype['account_type'] = undefined; -/** - * Capabilities that are enabled for the merchant's Square account. Capabilities that are not listed in this array are not enabled for the account. - * @member {Array.} account_capabilities - */ -exports.prototype['account_capabilities'] = undefined; -/** - * The country associated with the merchant account, in ISO 3166-1-alpha-2 format. - * @member {String} country_code - */ -exports.prototype['country_code'] = undefined; -/** - * The language associated with the merchant account, in BCP 47 format. - * @member {String} language_code - */ -exports.prototype['language_code'] = undefined; -/** - * The currency associated with the merchant account, in ISO 4217 format. For example, the currency code for US dollars is USD. - * @member {String} currency_code - */ -exports.prototype['currency_code'] = undefined; -/** - * The name of the merchant's business. - * @member {String} business_name - */ -exports.prototype['business_name'] = undefined; -/** - * The address of the merchant's business. - * @member {module:model/Address} business_address - */ -exports.prototype['business_address'] = undefined; -/** - * The phone number of the merchant's business. - * @member {module:model/V1PhoneNumber} business_phone - */ -exports.prototype['business_phone'] = undefined; -/** - * The type of business operated by the merchant. See [V1MerchantBusinessType](#type-v1merchantbusinesstype) for possible values - * @member {String} business_type - */ -exports.prototype['business_type'] = undefined; -/** - * The merchant's shipping address. - * @member {module:model/Address} shipping_address - */ -exports.prototype['shipping_address'] = undefined; -/** - * Additional information for a single-location account specified by its associated business account, if it has one. - * @member {module:model/V1MerchantLocationDetails} location_details - */ -exports.prototype['location_details'] = undefined; -/** - * The URL of the merchant's online store. - * @member {String} market_url - */ -exports.prototype['market_url'] = undefined; - - - -module.exports = exports; - - - diff --git a/src/model/V1MerchantBusinessType.js b/src/model/V1MerchantBusinessType.js deleted file mode 100644 index 2c65756..0000000 --- a/src/model/V1MerchantBusinessType.js +++ /dev/null @@ -1,285 +0,0 @@ -/** - * Square Connect API - * Client library for accessing the Square Connect APIs - * - * OpenAPI spec version: 2.0 - * Contact: developers@squareup.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.3.0-SNAPSHOT - * - */ -var ApiClient = require('../ApiClient'); - - -/** - * Enum class V1MerchantBusinessType. - * @enum {} - * @readonly - */ -var exports = { - /** - * value: "ACCOUNTING" - * @const - */ - "ACCOUNTING": "ACCOUNTING", - /** - * value: "APPAREL_AND_ACCESSORY_SHOPS" - * @const - */ - "APPAREL_AND_ACCESSORY_SHOPS": "APPAREL_AND_ACCESSORY_SHOPS", - /** - * value: "ART_DEALERS_GALLERIES" - * @const - */ - "ART_DEALERS_GALLERIES": "ART_DEALERS_GALLERIES", - /** - * value: "ART_DESIGN_AND_PHOTOGRAPHY" - * @const - */ - "ART_DESIGN_AND_PHOTOGRAPHY": "ART_DESIGN_AND_PHOTOGRAPHY", - /** - * value: "BAR_CLUB_LOUNGE" - * @const - */ - "BAR_CLUB_LOUNGE": "BAR_CLUB_LOUNGE", - /** - * value: "BEAUTY_AND_BARBER_SHOPS" - * @const - */ - "BEAUTY_AND_BARBER_SHOPS": "BEAUTY_AND_BARBER_SHOPS", - /** - * value: "BOOK_STORES" - * @const - */ - "BOOK_STORES": "BOOK_STORES", - /** - * value: "BUSINESS_SERVICES" - * @const - */ - "BUSINESS_SERVICES": "BUSINESS_SERVICES", - /** - * value: "CATERING" - * @const - */ - "CATERING": "CATERING", - /** - * value: "CHARITABLE_SOCIAL_SERVICE_ORGANIZATIONS" - * @const - */ - "CHARITABLE_SOCIAL_SERVICE_ORGANIZATIONS": "CHARITABLE_SOCIAL_SERVICE_ORGANIZATIONS", - /** - * value: "CHARITIBLE_ORGS" - * @const - */ - "CHARITIBLE_ORGS": "CHARITIBLE_ORGS", - /** - * value: "CLEANING_SERVICES" - * @const - */ - "CLEANING_SERVICES": "CLEANING_SERVICES", - /** - * value: "COMPUTER_EQUIPMENT_SOFTWARE_MAINTENANCE_REPAIR_SERVICES" - * @const - */ - "COMPUTER_EQUIPMENT_SOFTWARE_MAINTENANCE_REPAIR_SERVICES": "COMPUTER_EQUIPMENT_SOFTWARE_MAINTENANCE_REPAIR_SERVICES", - /** - * value: "CONSULTANT" - * @const - */ - "CONSULTANT": "CONSULTANT", - /** - * value: "CONTRACTORS" - * @const - */ - "CONTRACTORS": "CONTRACTORS", - /** - * value: "DELIVERY_SERVICES" - * @const - */ - "DELIVERY_SERVICES": "DELIVERY_SERVICES", - /** - * value: "DENTISTRY" - * @const - */ - "DENTISTRY": "DENTISTRY", - /** - * value: "EDUCATION" - * @const - */ - "EDUCATION": "EDUCATION", - /** - * value: "FOOD_STORES_CONVENIENCE_STORES_AND_SPECIALTY_MARKETS" - * @const - */ - "FOOD_STORES_CONVENIENCE_STORES_AND_SPECIALTY_MARKETS": "FOOD_STORES_CONVENIENCE_STORES_AND_SPECIALTY_MARKETS", - /** - * value: "FOOD_TRUCK_CART" - * @const - */ - "FOOD_TRUCK_CART": "FOOD_TRUCK_CART", - /** - * value: "FURNITURE_HOME_AND_OFFICE_EQUIPMENT" - * @const - */ - "FURNITURE_HOME_AND_OFFICE_EQUIPMENT": "FURNITURE_HOME_AND_OFFICE_EQUIPMENT", - /** - * value: "FURNITURE_HOME_GOODS" - * @const - */ - "FURNITURE_HOME_GOODS": "FURNITURE_HOME_GOODS", - /** - * value: "HOTELS_AND_LODGING" - * @const - */ - "HOTELS_AND_LODGING": "HOTELS_AND_LODGING", - /** - * value: "INDIVIDUAL_USE" - * @const - */ - "INDIVIDUAL_USE": "INDIVIDUAL_USE", - /** - * value: "JEWELRY_AND_WATCHES" - * @const - */ - "JEWELRY_AND_WATCHES": "JEWELRY_AND_WATCHES", - /** - * value: "LANDSCAPING_AND_HORTICULTURAL_SERVICES" - * @const - */ - "LANDSCAPING_AND_HORTICULTURAL_SERVICES": "LANDSCAPING_AND_HORTICULTURAL_SERVICES", - /** - * value: "LANGUAGE_SCHOOLS" - * @const - */ - "LANGUAGE_SCHOOLS": "LANGUAGE_SCHOOLS", - /** - * value: "LEGAL_SERVICES" - * @const - */ - "LEGAL_SERVICES": "LEGAL_SERVICES", - /** - * value: "MEDICAL_PRACTITIONERS" - * @const - */ - "MEDICAL_PRACTITIONERS": "MEDICAL_PRACTITIONERS", - /** - * value: "MEDICAL_SERVICES_AND_HEALTH_PRACTITIONERS" - * @const - */ - "MEDICAL_SERVICES_AND_HEALTH_PRACTITIONERS": "MEDICAL_SERVICES_AND_HEALTH_PRACTITIONERS", - /** - * value: "MEMBERSHIP_ORGANIZATIONS" - * @const - */ - "MEMBERSHIP_ORGANIZATIONS": "MEMBERSHIP_ORGANIZATIONS", - /** - * value: "MUSIC_AND_ENTERTAINMENT" - * @const - */ - "MUSIC_AND_ENTERTAINMENT": "MUSIC_AND_ENTERTAINMENT", - /** - * value: "OTHER" - * @const - */ - "OTHER": "OTHER", - /** - * value: "OUTDOOR_MARKETS" - * @const - */ - "OUTDOOR_MARKETS": "OUTDOOR_MARKETS", - /** - * value: "PERSONAL_SERVICES" - * @const - */ - "PERSONAL_SERVICES": "PERSONAL_SERVICES", - /** - * value: "POLITICAL_ORGANIZATIONS" - * @const - */ - "POLITICAL_ORGANIZATIONS": "POLITICAL_ORGANIZATIONS", - /** - * value: "PROFESSIONAL_SERVICES" - * @const - */ - "PROFESSIONAL_SERVICES": "PROFESSIONAL_SERVICES", - /** - * value: "REAL_ESTATE" - * @const - */ - "REAL_ESTATE": "REAL_ESTATE", - /** - * value: "RECREATION_SERVICES" - * @const - */ - "RECREATION_SERVICES": "RECREATION_SERVICES", - /** - * value: "REPAIR_SHOPS_AND_RELATED_SERVICES" - * @const - */ - "REPAIR_SHOPS_AND_RELATED_SERVICES": "REPAIR_SHOPS_AND_RELATED_SERVICES", - /** - * value: "RESTAURANTS" - * @const - */ - "RESTAURANTS": "RESTAURANTS", - /** - * value: "RETAIL_SHOPS" - * @const - */ - "RETAIL_SHOPS": "RETAIL_SHOPS", - /** - * value: "SCHOOLS_AND_EDUCATIONAL_SERVICES" - * @const - */ - "SCHOOLS_AND_EDUCATIONAL_SERVICES": "SCHOOLS_AND_EDUCATIONAL_SERVICES", - /** - * value: "SPORTING_GOODS" - * @const - */ - "SPORTING_GOODS": "SPORTING_GOODS", - /** - * value: "TAXICABS_AND_LIMOUSINES" - * @const - */ - "TAXICABS_AND_LIMOUSINES": "TAXICABS_AND_LIMOUSINES", - /** - * value: "TICKET_SALES" - * @const - */ - "TICKET_SALES": "TICKET_SALES", - /** - * value: "TOURISM" - * @const - */ - "TOURISM": "TOURISM", - /** - * value: "TRAVEL_TOURISM" - * @const - */ - "TRAVEL_TOURISM": "TRAVEL_TOURISM", - /** - * value: "VETERINARY_SERVICES" - * @const - */ - "VETERINARY_SERVICES": "VETERINARY_SERVICES", - /** - * value: "WEB_DEV_DESIGN" - * @const - */ - "WEB_DEV_DESIGN": "WEB_DEV_DESIGN"}; - -/** - * Returns a V1MerchantBusinessType enum value from a Javascript object name. - * @param {Object} data The plain JavaScript object containing the name of the enum value. - * @return {module:model/V1MerchantBusinessType} The enum V1MerchantBusinessType value. - */ -exports.constructFromObject = function(object) { - return object; -} - -module.exports = exports; - - diff --git a/src/model/V1MerchantLocationDetails.js b/src/model/V1MerchantLocationDetails.js deleted file mode 100644 index 7abed0b..0000000 --- a/src/model/V1MerchantLocationDetails.js +++ /dev/null @@ -1,66 +0,0 @@ -/** - * Square Connect API - * Client library for accessing the Square Connect APIs - * - * OpenAPI spec version: 2.0 - * Contact: developers@squareup.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.3.0-SNAPSHOT - * - */ -var ApiClient = require('../ApiClient'); - - - - -/** - * @deprecated - * The V1MerchantLocationDetails model module. - * @module model/V1MerchantLocationDetails - */ - -/** - * Constructs a new V1MerchantLocationDetails. - * Additional information for a single-location account specified by its associated business account, if it has one. - * @alias module:model/V1MerchantLocationDetails - * @class - */ -var exports = function() { - var _this = this; - - -}; - -/** - * Constructs a V1MerchantLocationDetails from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/V1MerchantLocationDetails} obj Optional instance to populate. - * @return {module:model/V1MerchantLocationDetails} The populated V1MerchantLocationDetails instance. - */ -exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('nickname')) { - obj['nickname'] = ApiClient.convertToType(data['nickname'], 'String'); - } - } - return obj; -} - -/** - * The nickname assigned to the single-location account by the parent business. This value appears in the parent business's multi-location dashboard. - * @member {String} nickname - */ -exports.prototype['nickname'] = undefined; - - - -module.exports = exports; - - - diff --git a/src/model/V1RetrieveBusinessRequest.js b/src/model/V1RetrieveBusinessRequest.js deleted file mode 100644 index eb9091b..0000000 --- a/src/model/V1RetrieveBusinessRequest.js +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Square Connect API - * Client library for accessing the Square Connect APIs - * - * OpenAPI spec version: 2.0 - * Contact: developers@squareup.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.3.0-SNAPSHOT - * - */ -var ApiClient = require('../ApiClient'); - - - - -/** - * @deprecated - * The V1RetrieveBusinessRequest model module. - * @module model/V1RetrieveBusinessRequest - */ - -/** - * Constructs a new V1RetrieveBusinessRequest. - * - * @alias module:model/V1RetrieveBusinessRequest - * @class - */ -var exports = function() { - var _this = this; - -}; - -/** - * Constructs a V1RetrieveBusinessRequest from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/V1RetrieveBusinessRequest} obj Optional instance to populate. - * @return {module:model/V1RetrieveBusinessRequest} The populated V1RetrieveBusinessRequest instance. - */ -exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; -} - - - - -module.exports = exports; - - - diff --git a/test/api/LocationsApi.spec.js b/test/api/LocationsApi.spec.js index 7193311..5ee22bd 100644 --- a/test/api/LocationsApi.spec.js +++ b/test/api/LocationsApi.spec.js @@ -13,13 +13,13 @@ describe('LocationsApi', function () { this.api = new SquareConnect.LocationsApi(); }); - // it('should list locations', async function () { - // const resp = await this.api.listLocations() - // .catch(handleUnexpectedError); + it('should list locations', async function () { + const resp = await this.api.listLocations() + .catch(handleUnexpectedError); - // const locations = resp.locations; - // expect(locations).to.exist; - // const locationIds = locations.map(location => location.id); - // expect(locationIds).to.include(accounts.sandbox.location_id); - // }); + const locations = resp.locations; + expect(locations).to.exist; + const locationIds = locations.map(location => location.id); + expect(locationIds).to.include(accounts.sandbox.location_id); + }); }); diff --git a/test/api/ReportingApi.spec.js b/test/api/ReportingApi.spec.js index ea5006b..86db4e2 100644 --- a/test/api/ReportingApi.spec.js +++ b/test/api/ReportingApi.spec.js @@ -16,38 +16,38 @@ function addDays(startDate, numberOfDays) { ); } -// describe('ReportingApi', function () { - -// beforeEach(function () { -// this.account = accounts.production; -// this.locationId = this.account.location_id - -// const defaultClient = SquareConnect.ApiClient.instance; -// const oauth2 = defaultClient.authentications['oauth2']; -// oauth2.accessToken = this.account.access_token; - -// this.api = new SquareConnect.ReportingApi(); -// }); - -// it('should call listAdditionalRecipientReceivableRefunds successfully', async function () { -// const now = new Date(); -// const response = await this.api.listAdditionalRecipientReceivableRefunds(this.locationId, { -// begin_time: addDays(now, -30), -// end_time: now, -// sort_order: 'DESC' -// }).catch(handleUnexpectedError); - -// expect(response.errors).not.to.exist; -// }); - -// it('should call listAdditionalRecipientReceivables successfully', async function () { -// const now = new Date(); -// const response = await this.api.listAdditionalRecipientReceivables(this.locationId, { -// begin_time: addDays(now, -30), -// end_time: now, -// sort_order: 'DESC' -// }).catch(handleUnexpectedError); - -// expect(response.errors).not.to.exist; -// }); -// }); +describe('ReportingApi', function () { + + beforeEach(function () { + this.account = accounts.production; + this.locationId = this.account.location_id + + const defaultClient = SquareConnect.ApiClient.instance; + const oauth2 = defaultClient.authentications['oauth2']; + oauth2.accessToken = this.account.access_token; + + this.api = new SquareConnect.ReportingApi(); + }); + + it('should call listAdditionalRecipientReceivableRefunds successfully', async function () { + const now = new Date(); + const response = await this.api.listAdditionalRecipientReceivableRefunds(this.locationId, { + begin_time: addDays(now, -30), + end_time: now, + sort_order: 'DESC' + }).catch(handleUnexpectedError); + + expect(response.errors).not.to.exist; + }); + + it('should call listAdditionalRecipientReceivables successfully', async function () { + const now = new Date(); + const response = await this.api.listAdditionalRecipientReceivables(this.locationId, { + begin_time: addDays(now, -30), + end_time: now, + sort_order: 'DESC' + }).catch(handleUnexpectedError); + + expect(response.errors).not.to.exist; + }); +}); diff --git a/test/api/V1LocationsApi.spec.js b/test/api/V1LocationsApi.spec.js deleted file mode 100644 index 5bdf9bd..0000000 --- a/test/api/V1LocationsApi.spec.js +++ /dev/null @@ -1,52 +0,0 @@ -/** - * Square Connect API - * Client library for accessing the Square Connect APIs - * - * OpenAPI spec version: 2.0 - * Contact: developers@squareup.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.3.0-SNAPSHOT - * - */ - -const SquareConnect = require('../../src/index'); -const { - accounts, - expect, - assert, - handleUnexpectedError, - generateIdempotencyKey -} = require('../support/setup'); - -describe('V1LocationsApi', function () { - beforeEach(function () { - this.account = accounts.production; - - const defaultClient = SquareConnect.ApiClient.instance; - const oauth2 = defaultClient.authentications['oauth2']; - // Some APIs do not work with sandbox. Replace `sandbox` with `production` for those test suites. - oauth2.accessToken = accounts.production.access_token; - this.api = new SquareConnect.V1LocationsApi(); - }); - - afterEach(function () { - }); - - describe('listLocations', function () { - it('should call listLocations successfully', async function () { - const merchants = await this.api.listLocations().catch(handleUnexpectedError); - const locationIds = merchants.map(merchant => merchant.id); - +expect(locationIds).to.include(this.account.location_id); - }); - }); - describe('retrieveBusiness', function () { - it('should call retrieveBusiness successfully', async function () { - const merchant = await this.api.retrieveBusiness().catch(handleUnexpectedError); - expect(merchant.email).to.eql(this.account.email); - }); - }); -}); - diff --git a/test/model/CancelBookingRequest.spec.js b/test/model/CancelBookingRequest.spec.js new file mode 100644 index 0000000..68943d5 --- /dev/null +++ b/test/model/CancelBookingRequest.spec.js @@ -0,0 +1,37 @@ +/** + * Square Connect API + * Client library for accessing the Square Connect APIs + * + * OpenAPI spec version: 2.0 + * Contact: developers@squareup.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * + * Swagger Codegen version: 2.3.0-SNAPSHOT + * + */ +const SquareConnect = require('../../src/index'); + +describe('CancelBookingRequest', function() { + beforeEach(function() { + this.api = new SquareConnect.CancelBookingRequest(); + }); + + it('should create an instance of CancelBookingRequest', function() { + // uncomment below and update the code to test CancelBookingRequest + //var instane = new SquareConnect.CancelBookingRequest(); + //expect(instance).to.be.a(SquareConnect.CancelBookingRequest); + }); + + it('should have the property idempotencyKey (base name: "idempotency_key")', function() { + // uncomment below and update the code to test the property idempotencyKey + //var instane = new SquareConnect.CancelBookingRequest(); + //expect(instance).to.be(); + }); + it('should have the property bookingVersion (base name: "booking_version")', function() { + // uncomment below and update the code to test the property bookingVersion + //var instane = new SquareConnect.CancelBookingRequest(); + //expect(instance).to.be(); + }); +}); diff --git a/test/model/CancelBookingResponse.spec.js b/test/model/CancelBookingResponse.spec.js new file mode 100644 index 0000000..c8aa1da --- /dev/null +++ b/test/model/CancelBookingResponse.spec.js @@ -0,0 +1,37 @@ +/** + * Square Connect API + * Client library for accessing the Square Connect APIs + * + * OpenAPI spec version: 2.0 + * Contact: developers@squareup.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * + * Swagger Codegen version: 2.3.0-SNAPSHOT + * + */ +const SquareConnect = require('../../src/index'); + +describe('CancelBookingResponse', function() { + beforeEach(function() { + this.api = new SquareConnect.CancelBookingResponse(); + }); + + it('should create an instance of CancelBookingResponse', function() { + // uncomment below and update the code to test CancelBookingResponse + //var instane = new SquareConnect.CancelBookingResponse(); + //expect(instance).to.be.a(SquareConnect.CancelBookingResponse); + }); + + it('should have the property booking (base name: "booking")', function() { + // uncomment below and update the code to test the property booking + //var instane = new SquareConnect.CancelBookingResponse(); + //expect(instance).to.be(); + }); + it('should have the property errors (base name: "errors")', function() { + // uncomment below and update the code to test the property errors + //var instane = new SquareConnect.CancelBookingResponse(); + //expect(instance).to.be(); + }); +}); diff --git a/test/model/CatalogObjectReference.spec.js b/test/model/CatalogObjectReference.spec.js new file mode 100644 index 0000000..6fb078f --- /dev/null +++ b/test/model/CatalogObjectReference.spec.js @@ -0,0 +1,37 @@ +/** + * Square Connect API + * Client library for accessing the Square Connect APIs + * + * OpenAPI spec version: 2.0 + * Contact: developers@squareup.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * + * Swagger Codegen version: 2.3.0-SNAPSHOT + * + */ +const SquareConnect = require('../../src/index'); + +describe('CatalogObjectReference', function() { + beforeEach(function() { + this.api = new SquareConnect.CatalogObjectReference(); + }); + + it('should create an instance of CatalogObjectReference', function() { + // uncomment below and update the code to test CatalogObjectReference + //var instane = new SquareConnect.CatalogObjectReference(); + //expect(instance).to.be.a(SquareConnect.CatalogObjectReference); + }); + + it('should have the property objectId (base name: "object_id")', function() { + // uncomment below and update the code to test the property objectId + //var instane = new SquareConnect.CatalogObjectReference(); + //expect(instance).to.be(); + }); + it('should have the property catalogVersion (base name: "catalog_version")', function() { + // uncomment below and update the code to test the property catalogVersion + //var instane = new SquareConnect.CatalogObjectReference(); + //expect(instance).to.be(); + }); +}); diff --git a/test/model/InvoiceCustomField.spec.js b/test/model/InvoiceCustomField.spec.js new file mode 100644 index 0000000..a413159 --- /dev/null +++ b/test/model/InvoiceCustomField.spec.js @@ -0,0 +1,42 @@ +/** + * Square Connect API + * Client library for accessing the Square Connect APIs + * + * OpenAPI spec version: 2.0 + * Contact: developers@squareup.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * + * Swagger Codegen version: 2.3.0-SNAPSHOT + * + */ +const SquareConnect = require('../../src/index'); + +describe('InvoiceCustomField', function() { + beforeEach(function() { + this.api = new SquareConnect.InvoiceCustomField(); + }); + + it('should create an instance of InvoiceCustomField', function() { + // uncomment below and update the code to test InvoiceCustomField + //var instane = new SquareConnect.InvoiceCustomField(); + //expect(instance).to.be.a(SquareConnect.InvoiceCustomField); + }); + + it('should have the property label (base name: "label")', function() { + // uncomment below and update the code to test the property label + //var instane = new SquareConnect.InvoiceCustomField(); + //expect(instance).to.be(); + }); + it('should have the property value (base name: "value")', function() { + // uncomment below and update the code to test the property value + //var instane = new SquareConnect.InvoiceCustomField(); + //expect(instance).to.be(); + }); + it('should have the property placement (base name: "placement")', function() { + // uncomment below and update the code to test the property placement + //var instane = new SquareConnect.InvoiceCustomField(); + //expect(instance).to.be(); + }); +}); diff --git a/test/model/InvoiceCustomFieldPlacement.spec.js b/test/model/InvoiceCustomFieldPlacement.spec.js new file mode 100644 index 0000000..b2ddf4f --- /dev/null +++ b/test/model/InvoiceCustomFieldPlacement.spec.js @@ -0,0 +1,26 @@ +/** + * Square Connect API + * Client library for accessing the Square Connect APIs + * + * OpenAPI spec version: 2.0 + * Contact: developers@squareup.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * + * Swagger Codegen version: 2.3.0-SNAPSHOT + * + */ +const SquareConnect = require('../../src/index'); + +describe('InvoiceCustomFieldPlacement', function() { + beforeEach(function() { + }); + + it('should create an instance of InvoiceCustomFieldPlacement', function() { + // uncomment below and update the code to test InvoiceCustomFieldPlacement + //var instane = new SquareConnect.InvoiceCustomFieldPlacement(); + //expect(instance).to.be.a(SquareConnect.InvoiceCustomFieldPlacement); + }); + +}); diff --git a/test/model/OrderLineItemPricingBlocklists.spec.js b/test/model/OrderLineItemPricingBlocklists.spec.js new file mode 100644 index 0000000..34084bc --- /dev/null +++ b/test/model/OrderLineItemPricingBlocklists.spec.js @@ -0,0 +1,37 @@ +/** + * Square Connect API + * Client library for accessing the Square Connect APIs + * + * OpenAPI spec version: 2.0 + * Contact: developers@squareup.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * + * Swagger Codegen version: 2.3.0-SNAPSHOT + * + */ +const SquareConnect = require('../../src/index'); + +describe('OrderLineItemPricingBlocklists', function() { + beforeEach(function() { + this.api = new SquareConnect.OrderLineItemPricingBlocklists(); + }); + + it('should create an instance of OrderLineItemPricingBlocklists', function() { + // uncomment below and update the code to test OrderLineItemPricingBlocklists + //var instane = new SquareConnect.OrderLineItemPricingBlocklists(); + //expect(instance).to.be.a(SquareConnect.OrderLineItemPricingBlocklists); + }); + + it('should have the property blockedDiscounts (base name: "blocked_discounts")', function() { + // uncomment below and update the code to test the property blockedDiscounts + //var instane = new SquareConnect.OrderLineItemPricingBlocklists(); + //expect(instance).to.be(); + }); + it('should have the property blockedTaxes (base name: "blocked_taxes")', function() { + // uncomment below and update the code to test the property blockedTaxes + //var instane = new SquareConnect.OrderLineItemPricingBlocklists(); + //expect(instance).to.be(); + }); +}); diff --git a/test/model/OrderLineItemPricingBlocklistsBlockedDiscount.spec.js b/test/model/OrderLineItemPricingBlocklistsBlockedDiscount.spec.js new file mode 100644 index 0000000..d61253f --- /dev/null +++ b/test/model/OrderLineItemPricingBlocklistsBlockedDiscount.spec.js @@ -0,0 +1,42 @@ +/** + * Square Connect API + * Client library for accessing the Square Connect APIs + * + * OpenAPI spec version: 2.0 + * Contact: developers@squareup.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * + * Swagger Codegen version: 2.3.0-SNAPSHOT + * + */ +const SquareConnect = require('../../src/index'); + +describe('OrderLineItemPricingBlocklistsBlockedDiscount', function() { + beforeEach(function() { + this.api = new SquareConnect.OrderLineItemPricingBlocklistsBlockedDiscount(); + }); + + it('should create an instance of OrderLineItemPricingBlocklistsBlockedDiscount', function() { + // uncomment below and update the code to test OrderLineItemPricingBlocklistsBlockedDiscount + //var instane = new SquareConnect.OrderLineItemPricingBlocklistsBlockedDiscount(); + //expect(instance).to.be.a(SquareConnect.OrderLineItemPricingBlocklistsBlockedDiscount); + }); + + it('should have the property uid (base name: "uid")', function() { + // uncomment below and update the code to test the property uid + //var instane = new SquareConnect.OrderLineItemPricingBlocklistsBlockedDiscount(); + //expect(instance).to.be(); + }); + it('should have the property discountUid (base name: "discount_uid")', function() { + // uncomment below and update the code to test the property discountUid + //var instane = new SquareConnect.OrderLineItemPricingBlocklistsBlockedDiscount(); + //expect(instance).to.be(); + }); + it('should have the property discountCatalogObjectId (base name: "discount_catalog_object_id")', function() { + // uncomment below and update the code to test the property discountCatalogObjectId + //var instane = new SquareConnect.OrderLineItemPricingBlocklistsBlockedDiscount(); + //expect(instance).to.be(); + }); +}); diff --git a/test/model/OrderLineItemPricingBlocklistsBlockedTax.spec.js b/test/model/OrderLineItemPricingBlocklistsBlockedTax.spec.js new file mode 100644 index 0000000..e003be6 --- /dev/null +++ b/test/model/OrderLineItemPricingBlocklistsBlockedTax.spec.js @@ -0,0 +1,42 @@ +/** + * Square Connect API + * Client library for accessing the Square Connect APIs + * + * OpenAPI spec version: 2.0 + * Contact: developers@squareup.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * + * Swagger Codegen version: 2.3.0-SNAPSHOT + * + */ +const SquareConnect = require('../../src/index'); + +describe('OrderLineItemPricingBlocklistsBlockedTax', function() { + beforeEach(function() { + this.api = new SquareConnect.OrderLineItemPricingBlocklistsBlockedTax(); + }); + + it('should create an instance of OrderLineItemPricingBlocklistsBlockedTax', function() { + // uncomment below and update the code to test OrderLineItemPricingBlocklistsBlockedTax + //var instane = new SquareConnect.OrderLineItemPricingBlocklistsBlockedTax(); + //expect(instance).to.be.a(SquareConnect.OrderLineItemPricingBlocklistsBlockedTax); + }); + + it('should have the property uid (base name: "uid")', function() { + // uncomment below and update the code to test the property uid + //var instane = new SquareConnect.OrderLineItemPricingBlocklistsBlockedTax(); + //expect(instance).to.be(); + }); + it('should have the property taxUid (base name: "tax_uid")', function() { + // uncomment below and update the code to test the property taxUid + //var instane = new SquareConnect.OrderLineItemPricingBlocklistsBlockedTax(); + //expect(instance).to.be(); + }); + it('should have the property taxCatalogObjectId (base name: "tax_catalog_object_id")', function() { + // uncomment below and update the code to test the property taxCatalogObjectId + //var instane = new SquareConnect.OrderLineItemPricingBlocklistsBlockedTax(); + //expect(instance).to.be(); + }); +}); diff --git a/test/model/V1ListLocationsRequest.spec.js b/test/model/V1ListLocationsRequest.spec.js index 30fcb82..9234ba3 100644 --- a/test/model/V1ListLocationsRequest.spec.js +++ b/test/model/V1ListLocationsRequest.spec.js @@ -15,7 +15,7 @@ const SquareConnect = require('../../src/index'); describe('V1ListLocationsRequest', function() { beforeEach(function() { - this.api = new SquareConnect.V1ListLocationsRequest(); + // this.api = new SquareConnect.V1ListLocationsRequest(); }); it('should create an instance of V1ListLocationsRequest', function() { diff --git a/test/model/V1ListLocationsResponse.spec.js b/test/model/V1ListLocationsResponse.spec.js index 13ce30d..7b1de33 100644 --- a/test/model/V1ListLocationsResponse.spec.js +++ b/test/model/V1ListLocationsResponse.spec.js @@ -15,7 +15,7 @@ const SquareConnect = require('../../src/index'); describe('V1ListLocationsResponse', function() { beforeEach(function() { - this.api = new SquareConnect.V1ListLocationsResponse(); + // this.api = new SquareConnect.V1ListLocationsResponse(); }); it('should create an instance of V1ListLocationsResponse', function() { diff --git a/test/model/V1Merchant.spec.js b/test/model/V1Merchant.spec.js index 6135c63..fc464d3 100644 --- a/test/model/V1Merchant.spec.js +++ b/test/model/V1Merchant.spec.js @@ -16,7 +16,7 @@ const SquareConnect = require('../../src/index'); describe('V1Merchant', function() { beforeEach(function() { - this.api = new SquareConnect.V1Merchant(); + // this.api = new SquareConnect.V1Merchant(); }); it('should create an instance of V1Merchant', function() { diff --git a/test/model/V1MerchantLocationDetails.spec.js b/test/model/V1MerchantLocationDetails.spec.js index 9d0383a..716ab6d 100644 --- a/test/model/V1MerchantLocationDetails.spec.js +++ b/test/model/V1MerchantLocationDetails.spec.js @@ -16,7 +16,7 @@ const SquareConnect = require('../../src/index'); describe('V1MerchantLocationDetails', function() { beforeEach(function() { - this.api = new SquareConnect.V1MerchantLocationDetails(); + // this.api = new SquareConnect.V1MerchantLocationDetails(); }); it('should create an instance of V1MerchantLocationDetails', function() { diff --git a/test/model/V1RetrieveBusinessRequest.spec.js b/test/model/V1RetrieveBusinessRequest.spec.js index f93ed46..58c8dc2 100644 --- a/test/model/V1RetrieveBusinessRequest.spec.js +++ b/test/model/V1RetrieveBusinessRequest.spec.js @@ -15,7 +15,7 @@ const SquareConnect = require('../../src/index'); describe('V1RetrieveBusinessRequest', function() { beforeEach(function() { - this.api = new SquareConnect.V1RetrieveBusinessRequest(); + // this.api = new SquareConnect.V1RetrieveBusinessRequest(); }); it('should create an instance of V1RetrieveBusinessRequest', function() {