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

Commit 8614790

Browse files
authored
Release 2.20190410.0 (#79)
1 parent 8530ee9 commit 8614790

File tree

142 files changed

+643
-295
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+643
-295
lines changed

CHANGES.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Change Log
22

3+
## Version 2.20190410.0 (2019-04-10)
4+
5+
## New features: Orders API beta
6+
7+
* The Connect v2 Orders object now includes an OrderSource field (`source`)
8+
that encapsulates the origination details of an order.
9+
10+
## Improvement: Connect v2 Catalog IDs in Connect v1 objects
11+
12+
* The following Connect v1 data types now include a `v2_id` field that makes it
13+
easier to link information from Connect v1 endpoints to related Connect v2
14+
Catalog objects:
15+
* V1Discount
16+
* V1Fee
17+
* V1Item
18+
* V1ModifierList
19+
* V1ModifierOption
20+
* V1Variation
21+
322
## Version 2.20190327.1 (2019-03-29)
423

524
## Bug Fix: Catalog API

README.md

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ for the specification and template files we used to generate this.
1010
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
1111

1212
- API version: 2.0
13-
- Package version: 2.20190327.1
13+
- Package version: 2.20190410.0
1414
- Build package: io.swagger.codegen.languages.RubyClientCodegen
1515

1616
For more information, please visit [https://squareup.com/developers](https://squareup.com/developers)
@@ -373,6 +373,7 @@ Class | Method | HTTP request | Description
373373
- [SquareConnect::OrderLineItemTax](docs/OrderLineItemTax.md)
374374
- [SquareConnect::OrderLineItemTaxScope](docs/OrderLineItemTaxScope.md)
375375
- [SquareConnect::OrderLineItemTaxType](docs/OrderLineItemTaxType.md)
376+
- [SquareConnect::OrderSource](docs/OrderSource.md)
376377
- [SquareConnect::Product](docs/Product.md)
377378
- [SquareConnect::Refund](docs/Refund.md)
378379
- [SquareConnect::RefundStatus](docs/RefundStatus.md)
@@ -616,25 +617,27 @@ Class | Method | HTTP request | Description
616617
- **Flow**: accessCode
617618
- **Authorization URL**: `https://connect.squareup.com/oauth2/authorize`
618619
- **Scopes**:
619-
- MERCHANT_PROFILE_READ: GET endpoints related to a merchant's business and location entities. Almost all Connect API applications need this permission in order to obtain a merchant's location IDs
620-
- PAYMENTS_READ: GET endpoints related to transactions and refunds
621-
- PAYMENTS_WRITE: POST, PUT, and DELETE endpoints related to transactions and refunds. E-commerce applications must request this permission
622-
- CUSTOMERS_READ: GET endpoints related to customer management
623-
- CUSTOMERS_WRITE: POST, PUT, and DELETE endpoints related to customer management
624-
- SETTLEMENTS_READ: GET endpoints related to settlements (deposits)
625-
- BANK_ACCOUNTS_READ: GET endpoints related to a merchant's bank accounts
626-
- ITEMS_READ: GET endpoints related to a merchant's item library
627-
- ITEMS_WRITE: POST, PUT, and DELETE endpoints related to a merchant's item library
628-
- ORDERS_READ: GET endpoints related to a merchant's orders
629-
- ORDERS_WRITE: POST, PUT, and DELETE endpoints related to a merchant's orders
630-
- EMPLOYEES_READ: GET endpoints related to employee management
631-
- EMPLOYEES_WRITE: POST, PUT, and DELETE endpoints related to employee management
632-
- TIMECARDS_READ: GET endpoints related to employee timecards
633-
- TIMECARDS_WRITE: POST, PUT, and DELETE endpoints related to employee timecards
634-
- PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS: Allow third party applications to deduct a portion of each transaction amount.
635-
- PAYMENTS_WRITE_IN_PERSON: POST, PUT, and DELETE endpoints. Grants write access to transaction and refunds information.
636-
- INVENTORY_READ: GET endpoints related to a merchant's inventory
637-
- INVENTORY_WRITE: POST, PUT, and DELETE endpoints related to a merchant's inventory
620+
- BANK_ACCOUNTS_READ: __HTTP Method__: `GET` Grants read access to bank account information associated with the targeted Square account. For example, to call the Connect v1 ListBankAccounts endpoint.
621+
- CUSTOMERS_READ: __HTTP Method__: `GET` Grants read access to customer information. For example, to call the ListCustomers endpoint.
622+
- CUSTOMERS_WRITE: __HTTP Method__: `POST`, `PUT`, `DELETE` Grants write access to customer information. For example, to create and update customer profiles.
623+
- EMPLOYEES_READ: __HTTP Method__: `GET` Grants read access to employee profile information. For example, to call the Connect v1 Employees API.
624+
- EMPLOYEES_WRITE: __HTTP Method__: `POST`, `PUT`, `DELETE` Grants write access to employee profile information. For example, to create and modify employee profiles.
625+
- INVENTORY_READ: __HTTP Method__: `GET` Grants read access to inventory information. For example, to call the RetrieveInventoryCount endpoint.
626+
- INVENTORY_WRITE: __HTTP Method__: `POST`, `PUT`, `DELETE` Grants write access to inventory information. For example, to call the BatchChangeInventory endpoint.
627+
- ITEMS_READ: __HTTP Method__: `GET` Grants read access to business and location information. For example, to obtain a location ID for subsequent activity.
628+
- ITEMS_WRITE: __HTTP Method__: `POST`, `PUT`, `DELETE` Grants write access to product catalog information. For example, to modify or add to a product catalog.
629+
- MERCHANT_PROFILE_READ: __HTTP Method__: `GET` Grants read access to business and location information. For example, to obtain a location ID for subsequent activity.
630+
- ORDERS_READ: __HTTP Method__: `GET` Grants read access to order information. For example, to call the BatchRetrieveOrders endpoint.
631+
- ORDERS_WRITE: __HTTP Method__: `POST`, `PUT`, `DELETE` Grants write access to order information. For example, to call the CreateCheckout endpoint.
632+
- PAYMENTS_READ: __HTTP Method__: `GET` Grants read access to transaction and refund information. For example, to call the RetrieveTransaction endpoint.
633+
- PAYMENTS_WRITE: __HTTP Method__: `POST`, `PUT`, `DELETE` Grants write access to transaction and refunds information. For example, to process payments with the Transactions or Checkout API.
634+
- PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS: __HTTP Method__: `POST`, `PUT`, `DELETE` Allow third party applications to deduct a portion of each transaction amount. __Required__ to use multiparty transaction functionality with the Transactions API.
635+
- PAYMENTS_WRITE_IN_PERSON: __HTTP Method__: `POST`, `PUT`, `DELETE` Grants write access to transaction and refunds information. For example, to process in-person payments.
636+
- SETTLEMENTS_READ: __HTTP Method__: `GET` Grants read access to settlement (deposit) information. For example, to call the Connect v1 ListSettlements endpoint.
637+
- TIMECARDS_READ: __HTTP Method__: `GET` Grants read access to employee timecard information. For example, to call the Connect v1 ListTimecards endpoint.
638+
- TIMECARDS_WRITE: __HTTP Method__: `POST`, `PUT`, `DELETE` Grants write access to employee timecard information. For example, to create and modify timecards.
639+
- TIMECARDS_SETTINGS_READ: __HTTP Method__: `GET` Grants read access to employee timecard settings information. For example, to call the GetBreakType endpoint.
640+
- TIMECARDS_SETTINGS_WRITE: __HTTP Method__: `POST`, `PUT`, `DELETE` Grants write access to employee timecard settings information. For example, to call the UpdateBreakType endpoint.
638641

639642
### oauth2ClientSecret
640643

docs/BatchRetrieveOrdersRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Description
44

5-
5+
Defines the fields that are included in requests to the BatchRetrieveOrders endpoint.
66

77
## Properties
88
Name | Type | Description | Notes

docs/BatchRetrieveOrdersResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Description
44

5-
Defines the fields that are included in the response body of a request to the [BatchRetrieveOrders](#endpoint-batchretrieveorders) endpoint.
5+
Defines the fields that are included in the response body of a request to the BatchRetrieveOrders endpoint.
66

77
## Properties
88
Name | Type | Description | Notes

docs/CaptureTransactionRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Description
44

5-
5+
Defines the query parameters for calls to the CaptureTransaction endpoint.
66

77
## Properties
88
Name | Type | Description | Notes

docs/CaptureTransactionResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Description
44

5-
Defines the fields that are included in the response body of a request to the [CaptureTransaction](#endpoint-capturetransaction) endpoint.
5+
Defines the fields that are included in the response body of a request to the CaptureTransaction endpoint.
66

77
## Properties
88
Name | Type | Description | Notes

docs/ChargeRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Description
44

5-
Defines the parameters that can be included in the body of a request to the [Charge](#endpoint-charge) endpoint.
5+
Defines the parameters that can be included in the body of a request to the Charge endpoint.
66

77
## Properties
88
Name | Type | Description | Notes

docs/ChargeResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Description
44

5-
Defines the fields that are included in the response body of a request to the [Charge](#endpoint-charge) endpoint. One of `errors` or `transaction` is present in a given response (never both).
5+
Defines the fields that are included in the response body of a request to the Charge endpoint. One of `errors` or `transaction` is present in a given response (never both).
66

77
## Properties
88
Name | Type | Description | Notes

docs/CreateCheckoutRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Description
44

5-
Defines the parameters that can be included in the body of a request to the [CreateCheckout](#endpoint-createcheckout) endpoint.
5+
Defines the parameters that can be included in the body of a request to the CreateCheckout endpoint.
66

77
## Properties
88
Name | Type | Description | Notes

docs/CreateCheckoutResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Description
44

5-
Defines the fields that are included in the response body of a request to the [CreateCheckout](#endpoint-createcheckout) endpoint.
5+
Defines the fields that are included in the response body of a request to the CreateCheckout endpoint.
66

77
## Properties
88
Name | Type | Description | Notes

0 commit comments

Comments
 (0)