Skip to content

Commit 72291c9

Browse files
authored
Merge pull request #118 from square/release/30.0.0.20230720
Generated PR for Release: 30.0.0.20230720
2 parents 6b5b4c9 + e9eb18d commit 72291c9

File tree

509 files changed

+2713
-2533
lines changed

Some content is hidden

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

509 files changed

+2713
-2533
lines changed

doc/api/apple-pay.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def register_domain(body:)
3535

3636
## Response Type
3737

38-
[`Register Domain Response Hash`](../../doc/models/register-domain-response.md)
38+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Register Domain Response Hash`](../../doc/models/register-domain-response.md).
3939

4040
## Example Usage
4141

doc/api/bank-accounts.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def list_bank_accounts(cursor: nil,
3535

3636
## Response Type
3737

38-
[`List Bank Accounts Response Hash`](../../doc/models/list-bank-accounts-response.md)
38+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`List Bank Accounts Response Hash`](../../doc/models/list-bank-accounts-response.md).
3939

4040
## Example Usage
4141

@@ -66,7 +66,7 @@ def get_bank_account_by_v1_id(v1_bank_account_id:)
6666

6767
## Response Type
6868

69-
[`Get Bank Account by V1 Id Response Hash`](../../doc/models/get-bank-account-by-v1-id-response.md)
69+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Get Bank Account by V1 Id Response Hash`](../../doc/models/get-bank-account-by-v1-id-response.md).
7070

7171
## Example Usage
7272

@@ -101,7 +101,7 @@ def get_bank_account(bank_account_id:)
101101

102102
## Response Type
103103

104-
[`Get Bank Account Response Hash`](../../doc/models/get-bank-account-response.md)
104+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Get Bank Account Response Hash`](../../doc/models/get-bank-account-response.md).
105105

106106
## Example Usage
107107

doc/api/booking-custom-attributes.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def list_booking_custom_attribute_definitions(limit: nil,
4444

4545
## Response Type
4646

47-
[`List Booking Custom Attribute Definitions Response Hash`](../../doc/models/list-booking-custom-attribute-definitions-response.md)
47+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`List Booking Custom Attribute Definitions Response Hash`](../../doc/models/list-booking-custom-attribute-definitions-response.md).
4848

4949
## Example Usage
5050

@@ -81,7 +81,7 @@ def create_booking_custom_attribute_definition(body:)
8181

8282
## Response Type
8383

84-
[`Create Booking Custom Attribute Definition Response Hash`](../../doc/models/create-booking-custom-attribute-definition-response.md)
84+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Create Booking Custom Attribute Definition Response Hash`](../../doc/models/create-booking-custom-attribute-definition-response.md).
8585

8686
## Example Usage
8787

@@ -123,7 +123,7 @@ def delete_booking_custom_attribute_definition(key:)
123123

124124
## Response Type
125125

126-
[`Delete Booking Custom Attribute Definition Response Hash`](../../doc/models/delete-booking-custom-attribute-definition-response.md)
126+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Delete Booking Custom Attribute Definition Response Hash`](../../doc/models/delete-booking-custom-attribute-definition-response.md).
127127

128128
## Example Usage
129129

@@ -162,7 +162,7 @@ def retrieve_booking_custom_attribute_definition(key:,
162162

163163
## Response Type
164164

165-
[`Retrieve Booking Custom Attribute Definition Response Hash`](../../doc/models/retrieve-booking-custom-attribute-definition-response.md)
165+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Retrieve Booking Custom Attribute Definition Response Hash`](../../doc/models/retrieve-booking-custom-attribute-definition-response.md).
166166

167167
## Example Usage
168168

@@ -204,7 +204,7 @@ def update_booking_custom_attribute_definition(key:,
204204

205205
## Response Type
206206

207-
[`Update Booking Custom Attribute Definition Response Hash`](../../doc/models/update-booking-custom-attribute-definition-response.md)
207+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Update Booking Custom Attribute Definition Response Hash`](../../doc/models/update-booking-custom-attribute-definition-response.md).
208208

209209
## Example Usage
210210

@@ -251,7 +251,7 @@ def bulk_delete_booking_custom_attributes(body:)
251251

252252
## Response Type
253253

254-
[`Bulk Delete Booking Custom Attributes Response Hash`](../../doc/models/bulk-delete-booking-custom-attributes-response.md)
254+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Bulk Delete Booking Custom Attributes Response Hash`](../../doc/models/bulk-delete-booking-custom-attributes-response.md).
255255

256256
## Example Usage
257257

@@ -302,7 +302,7 @@ def bulk_upsert_booking_custom_attributes(body:)
302302

303303
## Response Type
304304

305-
[`Bulk Upsert Booking Custom Attributes Response Hash`](../../doc/models/bulk-upsert-booking-custom-attributes-response.md)
305+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Bulk Upsert Booking Custom Attributes Response Hash`](../../doc/models/bulk-upsert-booking-custom-attributes-response.md).
306306

307307
## Example Usage
308308

@@ -352,11 +352,11 @@ def list_booking_custom_attributes(booking_id:,
352352
| `booking_id` | `String` | Template, Required | The ID of the target [booking](entity:Booking). |
353353
| `limit` | `Integer` | Query, Optional | The maximum number of results to return in a single paged response. This limit is advisory.<br>The response might contain more or fewer results. The minimum value is 1 and the maximum value is 100.<br>The default value is 20. For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
354354
| `cursor` | `String` | Query, Optional | The cursor returned in the paged response from the previous call to this endpoint.<br>Provide this cursor to retrieve the next page of results for your original request. For more<br>information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
355-
| `with_definitions` | `TrueClass\|FalseClass` | Query, Optional | Indicates whether to return the [custom attribute definition](entity:CustomAttributeDefinition) in the `definition` field of each<br>custom attribute. Set this parameter to `true` to get the name and description of each custom<br>attribute, information about the data type, or other definition details. The default value is `false`.<br>**Default**: `false` |
355+
| `with_definitions` | `TrueClass \| FalseClass` | Query, Optional | Indicates whether to return the [custom attribute definition](entity:CustomAttributeDefinition) in the `definition` field of each<br>custom attribute. Set this parameter to `true` to get the name and description of each custom<br>attribute, information about the data type, or other definition details. The default value is `false`.<br>**Default**: `false` |
356356

357357
## Response Type
358358

359-
[`List Booking Custom Attributes Response Hash`](../../doc/models/list-booking-custom-attributes-response.md)
359+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`List Booking Custom Attributes Response Hash`](../../doc/models/list-booking-custom-attributes-response.md).
360360

361361
## Example Usage
362362

@@ -403,7 +403,7 @@ def delete_booking_custom_attribute(booking_id:,
403403

404404
## Response Type
405405

406-
[`Delete Booking Custom Attribute Response Hash`](../../doc/models/delete-booking-custom-attribute-response.md)
406+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Delete Booking Custom Attribute Response Hash`](../../doc/models/delete-booking-custom-attribute-response.md).
407407

408408
## Example Usage
409409

@@ -446,12 +446,12 @@ def retrieve_booking_custom_attribute(booking_id:,
446446
| --- | --- | --- | --- |
447447
| `booking_id` | `String` | Template, Required | The ID of the target [booking](entity:Booking). |
448448
| `key` | `String` | Template, Required | The key of the custom attribute to retrieve. This key must match the `key` of a custom<br>attribute definition in the Square seller account. If the requesting application is not the<br>definition owner, you must use the qualified key. |
449-
| `with_definition` | `TrueClass\|FalseClass` | Query, Optional | Indicates whether to return the [custom attribute definition](entity:CustomAttributeDefinition) in the `definition` field of<br>the custom attribute. Set this parameter to `true` to get the name and description of the custom<br>attribute, information about the data type, or other definition details. The default value is `false`.<br>**Default**: `false` |
449+
| `with_definition` | `TrueClass \| FalseClass` | Query, Optional | Indicates whether to return the [custom attribute definition](entity:CustomAttributeDefinition) in the `definition` field of<br>the custom attribute. Set this parameter to `true` to get the name and description of the custom<br>attribute, information about the data type, or other definition details. The default value is `false`.<br>**Default**: `false` |
450450
| `version` | `Integer` | Query, Optional | The current version of the custom attribute, which is used for strongly consistent reads to<br>guarantee that you receive the most up-to-date data. When included in the request, Square<br>returns the specified version or a higher version if one exists. If the specified version is<br>higher than the current version, Square returns a `BAD_REQUEST` error. |
451451

452452
## Response Type
453453

454-
[`Retrieve Booking Custom Attribute Response Hash`](../../doc/models/retrieve-booking-custom-attribute-response.md)
454+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Retrieve Booking Custom Attribute Response Hash`](../../doc/models/retrieve-booking-custom-attribute-response.md).
455455

456456
## Example Usage
457457

@@ -503,7 +503,7 @@ def upsert_booking_custom_attribute(booking_id:,
503503

504504
## Response Type
505505

506-
[`Upsert Booking Custom Attribute Response Hash`](../../doc/models/upsert-booking-custom-attribute-response.md)
506+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Upsert Booking Custom Attribute Response Hash`](../../doc/models/upsert-booking-custom-attribute-response.md).
507507

508508
## Example Usage
509509

doc/api/bookings.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def list_bookings(limit: nil,
5050

5151
## Response Type
5252

53-
[`List Bookings Response Hash`](../../doc/models/list-bookings-response.md)
53+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`List Bookings Response Hash`](../../doc/models/list-bookings-response.md).
5454

5555
## Example Usage
5656

@@ -95,7 +95,7 @@ def create_booking(body:)
9595

9696
## Response Type
9797

98-
[`Create Booking Response Hash`](../../doc/models/create-booking-response.md)
98+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Create Booking Response Hash`](../../doc/models/create-booking-response.md).
9999

100100
## Example Usage
101101

@@ -134,7 +134,7 @@ def search_availability(body:)
134134

135135
## Response Type
136136

137-
[`Search Availability Response Hash`](../../doc/models/search-availability-response.md)
137+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Search Availability Response Hash`](../../doc/models/search-availability-response.md).
138138

139139
## Example Usage
140140

@@ -168,7 +168,7 @@ def retrieve_business_booking_profile
168168

169169
## Response Type
170170

171-
[`Retrieve Business Booking Profile Response Hash`](../../doc/models/retrieve-business-booking-profile-response.md)
171+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Retrieve Business Booking Profile Response Hash`](../../doc/models/retrieve-business-booking-profile-response.md).
172172

173173
## Example Usage
174174

@@ -198,14 +198,14 @@ def list_team_member_booking_profiles(bookable_only: false,
198198

199199
| Parameter | Type | Tags | Description |
200200
| --- | --- | --- | --- |
201-
| `bookable_only` | `TrueClass\|FalseClass` | Query, Optional | Indicates whether to include only bookable team members in the returned result (`true`) or not (`false`).<br>**Default**: `false` |
201+
| `bookable_only` | `TrueClass \| FalseClass` | Query, Optional | Indicates whether to include only bookable team members in the returned result (`true`) or not (`false`).<br>**Default**: `false` |
202202
| `limit` | `Integer` | Query, Optional | The maximum number of results to return in a paged response. |
203203
| `cursor` | `String` | Query, Optional | The pagination cursor from the preceding response to return the next page of the results. Do not set this when retrieving the first page of the results. |
204204
| `location_id` | `String` | Query, Optional | Indicates whether to include only team members enabled at the given location in the returned result. |
205205

206206
## Response Type
207207

208-
[`List Team Member Booking Profiles Response Hash`](../../doc/models/list-team-member-booking-profiles-response.md)
208+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`List Team Member Booking Profiles Response Hash`](../../doc/models/list-team-member-booking-profiles-response.md).
209209

210210
## Example Usage
211211

@@ -239,7 +239,7 @@ def retrieve_team_member_booking_profile(team_member_id:)
239239

240240
## Response Type
241241

242-
[`Retrieve Team Member Booking Profile Response Hash`](../../doc/models/retrieve-team-member-booking-profile-response.md)
242+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Retrieve Team Member Booking Profile Response Hash`](../../doc/models/retrieve-team-member-booking-profile-response.md).
243243

244244
## Example Usage
245245

@@ -276,7 +276,7 @@ def retrieve_booking(booking_id:)
276276

277277
## Response Type
278278

279-
[`Retrieve Booking Response Hash`](../../doc/models/retrieve-booking-response.md)
279+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Retrieve Booking Response Hash`](../../doc/models/retrieve-booking-response.md).
280280

281281
## Example Usage
282282

@@ -318,7 +318,7 @@ def update_booking(booking_id:,
318318

319319
## Response Type
320320

321-
[`Update Booking Response Hash`](../../doc/models/update-booking-response.md)
321+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Update Booking Response Hash`](../../doc/models/update-booking-response.md).
322322

323323
## Example Usage
324324

@@ -367,7 +367,7 @@ def cancel_booking(booking_id:,
367367

368368
## Response Type
369369

370-
[`Cancel Booking Response Hash`](../../doc/models/cancel-booking-response.md)
370+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Cancel Booking Response Hash`](../../doc/models/cancel-booking-response.md).
371371

372372
## Example Usage
373373

doc/api/cards.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ def list_cards(cursor: nil,
3535
| --- | --- | --- | --- |
3636
| `cursor` | `String` | Query, Optional | A pagination cursor returned by a previous call to this endpoint.<br>Provide this to retrieve the next set of results for your original query.<br><br>See [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination) for more information. |
3737
| `customer_id` | `String` | Query, Optional | Limit results to cards associated with the customer supplied.<br>By default, all cards owned by the merchant are returned. |
38-
| `include_disabled` | `TrueClass\|FalseClass` | Query, Optional | Includes disabled cards.<br>By default, all enabled cards owned by the merchant are returned.<br>**Default**: `false` |
38+
| `include_disabled` | `TrueClass \| FalseClass` | Query, Optional | Includes disabled cards.<br>By default, all enabled cards owned by the merchant are returned.<br>**Default**: `false` |
3939
| `reference_id` | `String` | Query, Optional | Limit results to cards associated with the reference_id supplied. |
4040
| `sort_order` | [`String (Sort Order)`](../../doc/models/sort-order.md) | Query, Optional | Sorts the returned list by when the card was created with the specified order.<br>This field defaults to ASC. |
4141

4242
## Response Type
4343

44-
[`List Cards Response Hash`](../../doc/models/list-cards-response.md)
44+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`List Cards Response Hash`](../../doc/models/list-cards-response.md).
4545

4646
## Example Usage
4747

@@ -75,7 +75,7 @@ def create_card(body:)
7575

7676
## Response Type
7777

78-
[`Create Card Response Hash`](../../doc/models/create-card-response.md)
78+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Create Card Response Hash`](../../doc/models/create-card-response.md).
7979

8080
## Example Usage
8181

@@ -125,7 +125,7 @@ def retrieve_card(card_id:)
125125

126126
## Response Type
127127

128-
[`Retrieve Card Response Hash`](../../doc/models/retrieve-card-response.md)
128+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Retrieve Card Response Hash`](../../doc/models/retrieve-card-response.md).
129129

130130
## Example Usage
131131

@@ -160,7 +160,7 @@ def disable_card(card_id:)
160160

161161
## Response Type
162162

163-
[`Disable Card Response Hash`](../../doc/models/disable-card-response.md)
163+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Disable Card Response Hash`](../../doc/models/disable-card-response.md).
164164

165165
## Example Usage
166166

doc/api/cash-drawers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def list_cash_drawer_shifts(location_id:,
4242

4343
## Response Type
4444

45-
[`List Cash Drawer Shifts Response Hash`](../../doc/models/list-cash-drawer-shifts-response.md)
45+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`List Cash Drawer Shifts Response Hash`](../../doc/models/list-cash-drawer-shifts-response.md).
4646

4747
## Example Usage
4848

@@ -79,7 +79,7 @@ def retrieve_cash_drawer_shift(location_id:,
7979

8080
## Response Type
8181

82-
[`Retrieve Cash Drawer Shift Response Hash`](../../doc/models/retrieve-cash-drawer-shift-response.md)
82+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`Retrieve Cash Drawer Shift Response Hash`](../../doc/models/retrieve-cash-drawer-shift-response.md).
8383

8484
## Example Usage
8585

@@ -124,7 +124,7 @@ def list_cash_drawer_shift_events(location_id:,
124124

125125
## Response Type
126126

127-
[`List Cash Drawer Shift Events Response Hash`](../../doc/models/list-cash-drawer-shift-events-response.md)
127+
This method returns a `\ApiResponse` instance. The `data` property in this instance returns the response data which is of type [`List Cash Drawer Shift Events Response Hash`](../../doc/models/list-cash-drawer-shift-events-response.md).
128128

129129
## Example Usage
130130

0 commit comments

Comments
 (0)