Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .mock/definition/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ headers:
Square-Version:
name: version
env: VERSION
type: literal<"2025-07-16">
type: literal<"2025-08-20">
auth-schemes:
Bearer:
scheme: bearer
Expand Down
2 changes: 1 addition & 1 deletion .mock/definition/applePay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ service:
status-code: 200
examples:
- headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
request:
domain_name: example.com
response:
Expand Down
6 changes: 3 additions & 3 deletions .mock/definition/bankAccounts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ service:
status-code: 200
examples:
- headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
errors:
Expand Down Expand Up @@ -132,7 +132,7 @@ service:
- path-parameters:
v1_bank_account_id: v1_bank_account_id
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
errors:
Expand Down Expand Up @@ -182,7 +182,7 @@ service:
- path-parameters:
bank_account_id: bank_account_id
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
errors:
Expand Down
20 changes: 10 additions & 10 deletions .mock/definition/bookings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ service:
status-code: 200
examples:
- headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
bookings:
Expand Down Expand Up @@ -151,7 +151,7 @@ service:
status-code: 200
examples:
- headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
request:
booking: {}
response:
Expand Down Expand Up @@ -232,7 +232,7 @@ service:
status-code: 200
examples:
- headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
request:
query:
filter:
Expand Down Expand Up @@ -403,7 +403,7 @@ service:
status-code: 200
examples:
- headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
request:
booking_ids:
- booking_ids
Expand Down Expand Up @@ -475,7 +475,7 @@ service:
status-code: 200
examples:
- headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
business_booking_profile:
Expand Down Expand Up @@ -529,7 +529,7 @@ service:
- path-parameters:
location_id: location_id
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
location_booking_profile:
Expand Down Expand Up @@ -565,7 +565,7 @@ service:
status-code: 200
examples:
- headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
request:
team_member_ids:
- team_member_ids
Expand Down Expand Up @@ -630,7 +630,7 @@ service:
- path-parameters:
booking_id: booking_id
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
booking:
Expand Down Expand Up @@ -729,7 +729,7 @@ service:
- path-parameters:
booking_id: booking_id
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
request:
booking: {}
response:
Expand Down Expand Up @@ -829,7 +829,7 @@ service:
- path-parameters:
booking_id: booking_id
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
request: {}
response:
body:
Expand Down
20 changes: 10 additions & 10 deletions .mock/definition/bookings/customAttributeDefinitions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ service:
status-code: 200
examples:
- headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
custom_attribute_definitions:
- key: favoriteShampoo
schema:
ref: >-
\$ref: >-
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
name: Favorite shampoo
description: Update the description as desired.
Expand All @@ -71,7 +71,7 @@ service:
created_at: '2022-11-16T15:27:30Z'
- key: partySize
schema:
ref: >-
\$ref: >-
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number
name: Party size
description: Number of people in the party for dine-in
Expand Down Expand Up @@ -162,15 +162,15 @@ service:
status-code: 200
examples:
- headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
request:
custom_attribute_definition: {}
response:
body:
custom_attribute_definition:
key: favoriteShampoo
schema:
ref: >-
\$ref: >-
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
name: Favorite Shampoo
description: The favorite shampoo of the customer.
Expand Down Expand Up @@ -232,13 +232,13 @@ service:
- path-parameters:
key: key
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
custom_attribute_definition:
key: favoriteShampoo
schema:
ref: >-
\$ref: >-
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
name: Favorite shampoo
description: The favorite shampoo of the customer.
Expand Down Expand Up @@ -329,15 +329,15 @@ service:
- path-parameters:
key: key
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
request:
custom_attribute_definition: {}
response:
body:
custom_attribute_definition:
key: favoriteShampoo
schema:
ref: >-
\$ref: >-
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
name: Favorite shampoo
description: Update the description as desired.
Expand Down Expand Up @@ -386,7 +386,7 @@ service:
- path-parameters:
key: key
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
errors:
Expand Down
12 changes: 6 additions & 6 deletions .mock/definition/bookings/customAttributes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ service:
status-code: 200
examples:
- headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
request:
values:
key:
Expand Down Expand Up @@ -119,7 +119,7 @@ service:
status-code: 200
examples:
- headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
request:
values:
key:
Expand Down Expand Up @@ -263,7 +263,7 @@ service:
- path-parameters:
booking_id: booking_id
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
custom_attributes:
Expand Down Expand Up @@ -354,7 +354,7 @@ service:
booking_id: booking_id
key: key
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
custom_attribute:
Expand Down Expand Up @@ -460,7 +460,7 @@ service:
booking_id: booking_id
key: key
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
request:
custom_attribute: {}
response:
Expand Down Expand Up @@ -534,7 +534,7 @@ service:
booking_id: booking_id
key: key
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
errors:
Expand Down
2 changes: 1 addition & 1 deletion .mock/definition/bookings/locationProfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ service:
status-code: 200
examples:
- headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
location_booking_profiles:
Expand Down
4 changes: 2 additions & 2 deletions .mock/definition/bookings/teamMemberProfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ service:
status-code: 200
examples:
- headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
team_member_booking_profiles:
Expand Down Expand Up @@ -87,7 +87,7 @@ service:
- path-parameters:
team_member_id: team_member_id
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
team_member_booking_profile:
Expand Down
8 changes: 4 additions & 4 deletions .mock/definition/cards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ service:
status-code: 200
examples:
- headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
errors:
Expand Down Expand Up @@ -159,7 +159,7 @@ service:
status-code: 200
examples:
- headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
request:
idempotency_key: 4935a656-a929-4792-b97c-8848be85c27c
source_id: cnon:uIbfJXhXETSP197M3GB
Expand Down Expand Up @@ -239,7 +239,7 @@ service:
- path-parameters:
card_id: card_id
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
errors:
Expand Down Expand Up @@ -307,7 +307,7 @@ service:
- path-parameters:
card_id: card_id
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
errors:
Expand Down
6 changes: 3 additions & 3 deletions .mock/definition/cashDrawers/shifts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ service:
- query-parameters:
location_id: location_id
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
cursor: cursor
Expand Down Expand Up @@ -115,7 +115,7 @@ service:
query-parameters:
location_id: location_id
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
cash_drawer_shift:
Expand Down Expand Up @@ -202,7 +202,7 @@ service:
query-parameters:
location_id: location_id
headers:
Square-Version: '2025-07-16'
Square-Version: '2025-08-20'
response:
body:
cursor: cursor
Expand Down
Loading
Loading