diff --git a/.mock/definition/api.yml b/.mock/definition/api.yml index 4f0fe636a..bf5d1a45b 100644 --- a/.mock/definition/api.yml +++ b/.mock/definition/api.yml @@ -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 diff --git a/.mock/definition/applePay.yml b/.mock/definition/applePay.yml index 8470c7028..051bc4a6c 100644 --- a/.mock/definition/applePay.yml +++ b/.mock/definition/applePay.yml @@ -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: diff --git a/.mock/definition/bankAccounts.yml b/.mock/definition/bankAccounts.yml index 20bc52f6f..5f6e39e09 100644 --- a/.mock/definition/bankAccounts.yml +++ b/.mock/definition/bankAccounts.yml @@ -59,7 +59,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -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: @@ -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: diff --git a/.mock/definition/bookings.yml b/.mock/definition/bookings.yml index 2898d325a..d850c8892 100644 --- a/.mock/definition/bookings.yml +++ b/.mock/definition/bookings.yml @@ -69,7 +69,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: bookings: @@ -151,7 +151,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: booking: {} response: @@ -232,7 +232,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: query: filter: @@ -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 @@ -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: @@ -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: @@ -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 @@ -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: @@ -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: @@ -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: diff --git a/.mock/definition/bookings/customAttributeDefinitions.yml b/.mock/definition/bookings/customAttributeDefinitions.yml index 89c8024af..e07be7567 100644 --- a/.mock/definition/bookings/customAttributeDefinitions.yml +++ b/.mock/definition/bookings/customAttributeDefinitions.yml @@ -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. @@ -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 @@ -162,7 +162,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: custom_attribute_definition: {} response: @@ -170,7 +170,7 @@ service: 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. @@ -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. @@ -329,7 +329,7 @@ service: - path-parameters: key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: custom_attribute_definition: {} response: @@ -337,7 +337,7 @@ service: 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. @@ -386,7 +386,7 @@ service: - path-parameters: key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/bookings/customAttributes.yml b/.mock/definition/bookings/customAttributes.yml index d1ea704f2..b3b412c2c 100644 --- a/.mock/definition/bookings/customAttributes.yml +++ b/.mock/definition/bookings/customAttributes.yml @@ -47,7 +47,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: values: key: @@ -119,7 +119,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: values: key: @@ -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: @@ -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: @@ -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: @@ -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: diff --git a/.mock/definition/bookings/locationProfiles.yml b/.mock/definition/bookings/locationProfiles.yml index 7455845a5..ec98e9410 100644 --- a/.mock/definition/bookings/locationProfiles.yml +++ b/.mock/definition/bookings/locationProfiles.yml @@ -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: diff --git a/.mock/definition/bookings/teamMemberProfiles.yml b/.mock/definition/bookings/teamMemberProfiles.yml index 3e00df862..a0b2db624 100644 --- a/.mock/definition/bookings/teamMemberProfiles.yml +++ b/.mock/definition/bookings/teamMemberProfiles.yml @@ -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: @@ -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: diff --git a/.mock/definition/cards.yml b/.mock/definition/cards.yml index b8ed07f24..ac9f5a31d 100644 --- a/.mock/definition/cards.yml +++ b/.mock/definition/cards.yml @@ -60,7 +60,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -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 @@ -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: @@ -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: diff --git a/.mock/definition/cashDrawers/shifts.yml b/.mock/definition/cashDrawers/shifts.yml index eb17d5ba9..cadfdc281 100644 --- a/.mock/definition/cashDrawers/shifts.yml +++ b/.mock/definition/cashDrawers/shifts.yml @@ -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 @@ -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: @@ -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 diff --git a/.mock/definition/catalog.yml b/.mock/definition/catalog.yml index 4fdaedbaa..cce3a1dbe 100644 --- a/.mock/definition/catalog.yml +++ b/.mock/definition/catalog.yml @@ -65,7 +65,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: object_ids: - W62UWFY35CWMYGVWK6TWJDNI @@ -190,7 +190,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: object_ids: - W62UWFY35CWMYGVWK6TWJDNI @@ -395,7 +395,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: 789ff020-f723-43a9-b4b5-43b5dc1fa3dc batches: @@ -509,7 +509,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -628,7 +628,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -842,7 +842,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: object_types: - ITEM @@ -1026,7 +1026,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: text_filter: red category_ids: @@ -1122,7 +1122,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: item_ids: - H42BRLUJ5KTZTTMPVSLFAACQ @@ -1183,7 +1183,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: item_ids: - H42BRLUJ5KTZTTMPVSLFAACQ diff --git a/.mock/definition/catalog/images.yml b/.mock/definition/catalog/images.yml index e8a5b2254..d74f11e68 100644 --- a/.mock/definition/catalog/images.yml +++ b/.mock/definition/catalog/images.yml @@ -43,7 +43,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: {} response: body: @@ -114,7 +114,7 @@ service: - path-parameters: image_id: image_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: {} response: body: diff --git a/.mock/definition/catalog/object.yml b/.mock/definition/catalog/object.yml index 0d58c9663..7e7b38c66 100644 --- a/.mock/definition/catalog/object.yml +++ b/.mock/definition/catalog/object.yml @@ -70,7 +70,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: af3d1afc-7212-4300-b463-0bfc5314a5ae object: @@ -239,7 +239,7 @@ service: - path-parameters: object_id: object_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -374,7 +374,7 @@ service: - path-parameters: object_id: object_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/checkout.yml b/.mock/definition/checkout.yml index 068007e23..e5127ba05 100644 --- a/.mock/definition/checkout.yml +++ b/.mock/definition/checkout.yml @@ -26,7 +26,7 @@ service: - path-parameters: location_id: location_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -87,7 +87,7 @@ service: - path-parameters: location_id: location_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: location_settings: {} response: @@ -137,7 +137,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -192,7 +192,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: merchant_settings: {} response: diff --git a/.mock/definition/checkout/paymentLinks.yml b/.mock/definition/checkout/paymentLinks.yml index 48d3051f7..2ab6017d2 100644 --- a/.mock/definition/checkout/paymentLinks.yml +++ b/.mock/definition/checkout/paymentLinks.yml @@ -51,7 +51,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -169,7 +169,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: cd9e25dc-d9f2-4430-aedb-61605070e95f quick_pay: @@ -303,7 +303,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -374,7 +374,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: payment_link: version: 1 @@ -434,7 +434,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/customers.yml b/.mock/definition/customers.yml index 0352c81e0..dce06dbbc 100644 --- a/.mock/definition/customers.yml +++ b/.mock/definition/customers.yml @@ -86,7 +86,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -254,7 +254,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: given_name: Amelia family_name: Earhart @@ -369,7 +369,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: customers: 8bb76c4f-e35d-4c5b-90de-1194cd9179f0: @@ -485,7 +485,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: customer_ids: - 8DDA5NZVBZFGAX0V3HPF81HHE0 @@ -539,7 +539,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: customer_ids: - 8DDA5NZVBZFGAX0V3HPF81HHE0 @@ -634,7 +634,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: customers: 8DDA5NZVBZFGAX0V3HPF81HHE0: @@ -763,7 +763,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: limit: 2 query: @@ -869,7 +869,7 @@ service: - path-parameters: customer_id: customer_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -1051,7 +1051,7 @@ service: - path-parameters: customer_id: customer_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: email_address: New.Amelia.Earhart@example.com note: updated customer note @@ -1140,7 +1140,7 @@ service: - path-parameters: customer_id: customer_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/customers/cards.yml b/.mock/definition/customers/cards.yml index 733e3be5f..853751264 100644 --- a/.mock/definition/customers/cards.yml +++ b/.mock/definition/customers/cards.yml @@ -85,7 +85,7 @@ service: - path-parameters: customer_id: customer_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: card_nonce: YOUR_CARD_NONCE billing_address: @@ -165,7 +165,7 @@ service: customer_id: customer_id card_id: card_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/customers/customAttributeDefinitions.yml b/.mock/definition/customers/customAttributeDefinitions.yml index efc708409..70406e04d 100644 --- a/.mock/definition/customers/customAttributeDefinitions.yml +++ b/.mock/definition/customers/customAttributeDefinitions.yml @@ -63,13 +63,13 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: custom_attribute_definitions: - key: favoritemovie schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String name: Favorite Movie description: Update the description as desired. @@ -79,7 +79,7 @@ service: created_at: '2022-04-26T15:27:30Z' - key: ownsmovie schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Boolean name: Owns Movie description: Customer owns movie. @@ -169,12 +169,12 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: custom_attribute_definition: key: favoritemovie schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String name: Favorite Movie description: The favorite movie of the customer. @@ -184,7 +184,7 @@ service: custom_attribute_definition: key: favoritemovie schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String name: Favorite Movie description: The favorite movie of the customer. @@ -252,13 +252,13 @@ service: - path-parameters: key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: custom_attribute_definition: key: favoritemovie schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String name: Favorite Movie description: The favorite movie of the customer. @@ -357,7 +357,7 @@ service: - path-parameters: key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: custom_attribute_definition: description: Update the description as desired. @@ -367,7 +367,7 @@ service: custom_attribute_definition: key: favoritemovie schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String name: Favorite Movie description: Update the description as desired. @@ -414,7 +414,7 @@ service: - path-parameters: key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -488,7 +488,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: values: id1: diff --git a/.mock/definition/customers/customAttributes.yml b/.mock/definition/customers/customAttributes.yml index 306c5d637..4001f3fbc 100644 --- a/.mock/definition/customers/customAttributes.yml +++ b/.mock/definition/customers/customAttributes.yml @@ -83,7 +83,7 @@ service: - path-parameters: customer_id: customer_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: custom_attributes: @@ -184,7 +184,7 @@ service: customer_id: customer_id key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: custom_attribute: @@ -299,7 +299,7 @@ service: customer_id: customer_id key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: custom_attribute: value: Dune @@ -372,7 +372,7 @@ service: customer_id: customer_id key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/customers/groups.yml b/.mock/definition/customers/groups.yml index eef6fca74..e9621acbb 100644 --- a/.mock/definition/customers/groups.yml +++ b/.mock/definition/customers/groups.yml @@ -50,7 +50,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -98,7 +98,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: group: name: Loyal Customers @@ -138,7 +138,7 @@ service: - path-parameters: group_id: group_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -181,7 +181,7 @@ service: - path-parameters: group_id: group_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: group: name: Loyal Customers @@ -219,7 +219,7 @@ service: - path-parameters: group_id: group_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -257,7 +257,7 @@ service: customer_id: customer_id group_id: group_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -295,7 +295,7 @@ service: customer_id: customer_id group_id: group_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/customers/segments.yml b/.mock/definition/customers/segments.yml index d86fea438..15d2291d0 100644 --- a/.mock/definition/customers/segments.yml +++ b/.mock/definition/customers/segments.yml @@ -50,7 +50,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -100,7 +100,7 @@ service: - path-parameters: segment_id: segment_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/devices.yml b/.mock/definition/devices.yml index bf4f3a03c..bfd81a6a7 100644 --- a/.mock/definition/devices.yml +++ b/.mock/definition/devices.yml @@ -50,7 +50,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -154,7 +154,7 @@ service: - path-parameters: device_id: device_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/devices/codes.yml b/.mock/definition/devices/codes.yml index ea8199163..f819420af 100644 --- a/.mock/definition/devices/codes.yml +++ b/.mock/definition/devices/codes.yml @@ -54,7 +54,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -128,7 +128,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: 01bb00a6-0c86-4770-94ed-f5fca973cd56 device_code: @@ -176,7 +176,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/disputes.yml b/.mock/definition/disputes.yml index 506e05ad8..238661357 100644 --- a/.mock/definition/disputes.yml +++ b/.mock/definition/disputes.yml @@ -47,7 +47,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -119,7 +119,7 @@ service: - path-parameters: dispute_id: dispute_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -181,7 +181,7 @@ service: - path-parameters: dispute_id: dispute_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -246,7 +246,7 @@ service: - path-parameters: dispute_id: dispute_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: {} response: body: @@ -311,7 +311,7 @@ service: - path-parameters: dispute_id: dispute_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: ed3ee3933d946f1514d505d173c82648 evidence_type: TRACKING_NUMBER @@ -373,7 +373,7 @@ service: - path-parameters: dispute_id: dispute_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/disputes/evidence.yml b/.mock/definition/disputes/evidence.yml index 70ab41619..370886c07 100644 --- a/.mock/definition/disputes/evidence.yml +++ b/.mock/definition/disputes/evidence.yml @@ -41,7 +41,7 @@ service: - path-parameters: dispute_id: dispute_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: evidence: @@ -102,7 +102,7 @@ service: dispute_id: dispute_id evidence_id: evidence_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -148,7 +148,7 @@ service: dispute_id: dispute_id evidence_id: evidence_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/employees.yml b/.mock/definition/employees.yml index 7a686473e..71d271baf 100644 --- a/.mock/definition/employees.yml +++ b/.mock/definition/employees.yml @@ -38,7 +38,7 @@ service: availability: deprecated examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: employees: @@ -82,7 +82,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: employee: diff --git a/.mock/definition/events.yml b/.mock/definition/events.yml index 54b157dc8..b97f7af6f 100644 --- a/.mock/definition/events.yml +++ b/.mock/definition/events.yml @@ -57,7 +57,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: {} response: body: @@ -118,7 +118,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -142,7 +142,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -174,7 +174,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/giftCards.yml b/.mock/definition/giftCards.yml index 0613ec054..4dd5426ef 100644 --- a/.mock/definition/giftCards.yml +++ b/.mock/definition/giftCards.yml @@ -71,7 +71,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -196,7 +196,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: NC9Tm69EjbjtConu location_id: 81FN9BNFZTKS4 @@ -252,7 +252,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: gan: '7783320001001635' response: @@ -304,7 +304,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: nonce: cnon:7783322135245171 response: @@ -359,7 +359,7 @@ service: - path-parameters: gift_card_id: gift_card_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: customer_id: GKY0FZ3V717AH8Q2D821PNT2ZW response: @@ -414,7 +414,7 @@ service: - path-parameters: gift_card_id: gift_card_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: customer_id: GKY0FZ3V717AH8Q2D821PNT2ZW response: @@ -458,7 +458,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/giftCards/activities.yml b/.mock/definition/giftCards/activities.yml index a4457bc6e..5b5418065 100644 --- a/.mock/definition/giftCards/activities.yml +++ b/.mock/definition/giftCards/activities.yml @@ -108,7 +108,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -241,7 +241,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: U16kfr-kA70er-q4Rsym-7U7NnY gift_card_activity: diff --git a/.mock/definition/inventory.yml b/.mock/definition/inventory.yml index 7aa982a39..2012c9c7f 100644 --- a/.mock/definition/inventory.yml +++ b/.mock/definition/inventory.yml @@ -34,7 +34,7 @@ service: - path-parameters: adjustment_id: adjustment_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -97,7 +97,7 @@ service: - path-parameters: adjustment_id: adjustment_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -157,7 +157,7 @@ service: availability: deprecated examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: 8fc6a5b0-9fe8-4b46-b46b-2ef95793abbe changes: @@ -212,7 +212,7 @@ service: availability: deprecated examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: catalog_object_ids: - W62UWFY35CWMYGVWK6TWJDNI @@ -273,7 +273,7 @@ service: availability: deprecated examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: catalog_object_ids: - W62UWFY35CWMYGVWK6TWJDNI @@ -318,7 +318,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: 8fc6a5b0-9fe8-4b46-b46b-2ef95793abbe changes: @@ -379,7 +379,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: catalog_object_ids: - W62UWFY35CWMYGVWK6TWJDNI @@ -458,7 +458,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: catalog_object_ids: - W62UWFY35CWMYGVWK6TWJDNI @@ -513,7 +513,7 @@ service: - path-parameters: physical_count_id: physical_count_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -565,7 +565,7 @@ service: - path-parameters: physical_count_id: physical_count_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -615,7 +615,7 @@ service: - path-parameters: transfer_id: transfer_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -690,7 +690,7 @@ service: - path-parameters: catalog_object_id: catalog_object_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -779,7 +779,7 @@ service: - path-parameters: catalog_object_id: catalog_object_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/invoices.yml b/.mock/definition/invoices.yml index c3a319666..3a07e10ee 100644 --- a/.mock/definition/invoices.yml +++ b/.mock/definition/invoices.yml @@ -54,7 +54,7 @@ service: - query-parameters: location_id: location_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: invoices: @@ -239,7 +239,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: invoice: location_id: ES0RJRZYEC39A @@ -402,7 +402,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: query: filter: @@ -567,7 +567,7 @@ service: - path-parameters: invoice_id: invoice_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: invoice: @@ -713,7 +713,7 @@ service: - path-parameters: invoice_id: invoice_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: invoice: version: 1 @@ -824,7 +824,7 @@ service: - path-parameters: invoice_id: invoice_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -880,7 +880,7 @@ service: - path-parameters: invoice_id: invoice_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: {} response: body: @@ -930,7 +930,7 @@ service: invoice_id: invoice_id attachment_id: attachment_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -979,7 +979,7 @@ service: - path-parameters: invoice_id: invoice_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: version: 0 response: @@ -1129,7 +1129,7 @@ service: - path-parameters: invoice_id: invoice_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: version: 1 idempotency_key: 32da42d0-1997-41b0-826b-f09464fc2c2e diff --git a/.mock/definition/labor.yml b/.mock/definition/labor.yml index e259a438e..937022ecd 100644 --- a/.mock/definition/labor.yml +++ b/.mock/definition/labor.yml @@ -69,7 +69,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: HIDSNG5KS478L scheduled_shift: @@ -172,7 +172,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: scheduled_shifts: key: {} @@ -263,7 +263,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: query: filter: @@ -317,7 +317,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: scheduled_shift: @@ -432,7 +432,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: scheduled_shift: draft_shift_details: @@ -540,7 +540,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: HIDSNG5KS478L version: 2 @@ -639,7 +639,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: HIDSNG5KS478L timecard: @@ -744,7 +744,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: query: filter: @@ -849,7 +849,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: timecard: @@ -927,7 +927,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: timecard: location_id: PAA1RJZZKXBFG @@ -1011,7 +1011,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/labor/breakTypes.yml b/.mock/definition/labor/breakTypes.yml index 9caa5ef15..4e1371883 100644 --- a/.mock/definition/labor/breakTypes.yml +++ b/.mock/definition/labor/breakTypes.yml @@ -42,7 +42,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: break_types: @@ -123,7 +123,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: PAD3NG5KSN2GL break_type: @@ -169,7 +169,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: break_type: @@ -214,7 +214,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: break_type: location_id: 26M7H24AZ9N6R @@ -263,7 +263,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/labor/employeeWages.yml b/.mock/definition/labor/employeeWages.yml index 3fdb171ff..c3c2caf17 100644 --- a/.mock/definition/labor/employeeWages.yml +++ b/.mock/definition/labor/employeeWages.yml @@ -41,7 +41,7 @@ service: availability: deprecated examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: employee_wages: @@ -98,7 +98,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: employee_wage: diff --git a/.mock/definition/labor/shifts.yml b/.mock/definition/labor/shifts.yml index 38b3737c1..ffb1e45ee 100644 --- a/.mock/definition/labor/shifts.yml +++ b/.mock/definition/labor/shifts.yml @@ -69,7 +69,7 @@ service: availability: deprecated examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: HIDSNG5KS478L shift: @@ -176,7 +176,7 @@ service: availability: deprecated examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: query: filter: @@ -284,7 +284,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: shift: @@ -364,7 +364,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: shift: location_id: PAA1RJZZKXBFG @@ -449,7 +449,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/labor/teamMemberWages.yml b/.mock/definition/labor/teamMemberWages.yml index 97dcbc13f..8274cf547 100644 --- a/.mock/definition/labor/teamMemberWages.yml +++ b/.mock/definition/labor/teamMemberWages.yml @@ -42,7 +42,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: team_member_wages: @@ -106,7 +106,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: team_member_wage: diff --git a/.mock/definition/labor/workweekConfigs.yml b/.mock/definition/labor/workweekConfigs.yml index a41b195eb..e05375e17 100644 --- a/.mock/definition/labor/workweekConfigs.yml +++ b/.mock/definition/labor/workweekConfigs.yml @@ -33,7 +33,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: workweek_configs: @@ -77,7 +77,7 @@ service: - path-parameters: id: id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: workweek_config: start_of_week: MON diff --git a/.mock/definition/locations.yml b/.mock/definition/locations.yml index 77c4ebf30..8a8416088 100644 --- a/.mock/definition/locations.yml +++ b/.mock/definition/locations.yml @@ -23,7 +23,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -143,7 +143,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: location: name: Midtown @@ -240,7 +240,7 @@ service: - path-parameters: location_id: location_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -328,7 +328,7 @@ service: - path-parameters: location_id: location_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: location: business_hours: @@ -602,7 +602,7 @@ service: - path-parameters: location_id: location_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: 86ae1696-b1e3-4328-af6d-f1e04d947ad6 order: diff --git a/.mock/definition/locations/customAttributeDefinitions.yml b/.mock/definition/locations/customAttributeDefinitions.yml index a8562303b..3afbaf425 100644 --- a/.mock/definition/locations/customAttributeDefinitions.yml +++ b/.mock/definition/locations/customAttributeDefinitions.yml @@ -64,13 +64,13 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: custom_attribute_definitions: - key: phone-number schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.PhoneNumber name: phone number description: Location's phone number @@ -80,7 +80,7 @@ service: created_at: '2022-12-02T19:50:21.832Z' - key: bestseller schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String name: Bestseller description: Bestselling item at location @@ -158,12 +158,12 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: custom_attribute_definition: key: bestseller schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String name: Bestseller description: Bestselling item at location @@ -173,7 +173,7 @@ service: custom_attribute_definition: key: bestseller schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String name: Bestseller description: Bestselling item at location @@ -236,13 +236,13 @@ service: - path-parameters: key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: custom_attribute_definition: key: bestseller schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String name: Bestseller description: Bestselling item at location @@ -336,7 +336,7 @@ service: - path-parameters: key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: custom_attribute_definition: description: Update the description as desired. @@ -346,7 +346,7 @@ service: custom_attribute_definition: key: bestseller schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String name: Bestseller description: Update the description as desired. @@ -391,7 +391,7 @@ service: - path-parameters: key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/locations/customAttributes.yml b/.mock/definition/locations/customAttributes.yml index 2436421e8..98a97200e 100644 --- a/.mock/definition/locations/customAttributes.yml +++ b/.mock/definition/locations/customAttributes.yml @@ -39,7 +39,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: values: id1: @@ -130,7 +130,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: values: id1: @@ -274,7 +274,7 @@ service: - path-parameters: location_id: location_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: custom_attributes: @@ -369,7 +369,7 @@ service: location_id: location_id key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: custom_attribute: @@ -477,7 +477,7 @@ service: location_id: location_id key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: custom_attribute: value: hot cocoa @@ -545,7 +545,7 @@ service: location_id: location_id key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/locations/transactions.yml b/.mock/definition/locations/transactions.yml index 35d612baf..70b944197 100644 --- a/.mock/definition/locations/transactions.yml +++ b/.mock/definition/locations/transactions.yml @@ -84,7 +84,7 @@ service: - path-parameters: location_id: location_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -173,7 +173,7 @@ service: location_id: location_id transaction_id: transaction_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -273,7 +273,7 @@ service: location_id: location_id transaction_id: transaction_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -319,7 +319,7 @@ service: location_id: location_id transaction_id: transaction_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/loyalty.yml b/.mock/definition/loyalty.yml index 1e81d71c6..14ab7001b 100644 --- a/.mock/definition/loyalty.yml +++ b/.mock/definition/loyalty.yml @@ -69,7 +69,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: query: filter: diff --git a/.mock/definition/loyalty/accounts.yml b/.mock/definition/loyalty/accounts.yml index c52772f08..a637e93ca 100644 --- a/.mock/definition/loyalty/accounts.yml +++ b/.mock/definition/loyalty/accounts.yml @@ -39,7 +39,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: loyalty_account: program_id: d619f755-2d17-41f3-990d-c04ecedd64dd @@ -122,7 +122,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: query: mappings: @@ -176,7 +176,7 @@ service: - path-parameters: account_id: account_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -286,7 +286,7 @@ service: - path-parameters: account_id: account_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: accumulate_points: order_id: RFZfrdtm3mhO1oGzf5Cx7fEMsmGZY @@ -417,7 +417,7 @@ service: - path-parameters: account_id: account_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: bc29a517-3dc9-450e-aa76-fae39ee849d1 adjust_points: diff --git a/.mock/definition/loyalty/programs.yml b/.mock/definition/loyalty/programs.yml index 741a44a56..a78c18403 100644 --- a/.mock/definition/loyalty/programs.yml +++ b/.mock/definition/loyalty/programs.yml @@ -32,7 +32,7 @@ service: availability: deprecated examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -108,7 +108,7 @@ service: - path-parameters: program_id: program_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -257,7 +257,7 @@ service: - path-parameters: program_id: program_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: order_id: RFZfrdtm3mhO1oGzf5Cx7fEMsmGZY loyalty_account_id: 79b807d2-d786-46a9-933b-918028d7a8c5 diff --git a/.mock/definition/loyalty/programs/promotions.yml b/.mock/definition/loyalty/programs/promotions.yml index 9e478716a..1b1431eb1 100644 --- a/.mock/definition/loyalty/programs/promotions.yml +++ b/.mock/definition/loyalty/programs/promotions.yml @@ -74,7 +74,7 @@ service: - path-parameters: program_id: program_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -229,7 +229,7 @@ service: - path-parameters: program_id: program_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: loyalty_promotion: name: Tuesday Happy Hour Promo @@ -330,7 +330,7 @@ service: promotion_id: promotion_id program_id: program_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -417,7 +417,7 @@ service: promotion_id: promotion_id program_id: program_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/loyalty/rewards.yml b/.mock/definition/loyalty/rewards.yml index 93b92c448..30ec146db 100644 --- a/.mock/definition/loyalty/rewards.yml +++ b/.mock/definition/loyalty/rewards.yml @@ -52,7 +52,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: reward: loyalty_account_id: 5adcb100-07f1-4ee7-b8c6-6bb9ebc474bd @@ -137,7 +137,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: query: loyalty_account_id: 5adcb100-07f1-4ee7-b8c6-6bb9ebc474bd @@ -209,7 +209,7 @@ service: - path-parameters: reward_id: reward_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -265,7 +265,7 @@ service: - path-parameters: reward_id: reward_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -327,7 +327,7 @@ service: - path-parameters: reward_id: reward_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: 98adc7f7-6963-473b-b29c-f3c9cdd7d994 location_id: P034NEENMD09F diff --git a/.mock/definition/merchants.yml b/.mock/definition/merchants.yml index f44b15100..498e214ab 100644 --- a/.mock/definition/merchants.yml +++ b/.mock/definition/merchants.yml @@ -50,7 +50,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -95,7 +95,7 @@ service: - path-parameters: merchant_id: merchant_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/merchants/customAttributeDefinitions.yml b/.mock/definition/merchants/customAttributeDefinitions.yml index e452d3ba1..18f1e390e 100644 --- a/.mock/definition/merchants/customAttributeDefinitions.yml +++ b/.mock/definition/merchants/customAttributeDefinitions.yml @@ -64,13 +64,13 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: custom_attribute_definitions: - key: has_seen_tutorial schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Boolean name: NAME description: >- @@ -82,7 +82,7 @@ service: created_at: '2023-05-05T16:50:21.832Z' - key: alternative_seller_name schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String name: Alternative Merchant Name description: This is the other name this merchant goes by. @@ -160,12 +160,12 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: custom_attribute_definition: key: alternative_seller_name schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String name: Alternative Merchant Name description: This is the other name this merchant goes by. @@ -175,7 +175,7 @@ service: custom_attribute_definition: key: alternative_seller_name schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String name: Alternative Merchant Name description: This is the other name this merchant goes by. @@ -238,13 +238,13 @@ service: - path-parameters: key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: custom_attribute_definition: key: alternative_seller_name schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String name: Alternative Merchant Name description: This is the other name this merchant goes by. @@ -338,7 +338,7 @@ service: - path-parameters: key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: custom_attribute_definition: description: Update the description as desired. @@ -348,7 +348,7 @@ service: custom_attribute_definition: key: alternative_seller_name schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String name: Alternative Merchant Name description: Update the description as desired. @@ -393,7 +393,7 @@ service: - path-parameters: key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/merchants/customAttributes.yml b/.mock/definition/merchants/customAttributes.yml index 72c2fce77..bbbf2da0b 100644 --- a/.mock/definition/merchants/customAttributes.yml +++ b/.mock/definition/merchants/customAttributes.yml @@ -39,7 +39,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: values: id1: @@ -121,7 +121,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: values: id1: @@ -248,7 +248,7 @@ service: - path-parameters: merchant_id: merchant_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: custom_attributes: @@ -343,7 +343,7 @@ service: merchant_id: merchant_id key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: custom_attribute: @@ -452,7 +452,7 @@ service: merchant_id: merchant_id key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: custom_attribute: value: Ultimate Sneaker Store @@ -520,7 +520,7 @@ service: merchant_id: merchant_id key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/mobile.yml b/.mock/definition/mobile.yml index 18a595bf4..5622acffd 100644 --- a/.mock/definition/mobile.yml +++ b/.mock/definition/mobile.yml @@ -62,7 +62,7 @@ service: availability: deprecated examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: location_id: YOUR_LOCATION_ID response: diff --git a/.mock/definition/oAuth.yml b/.mock/definition/oAuth.yml index b7c6391fc..19cd34b98 100644 --- a/.mock/definition/oAuth.yml +++ b/.mock/definition/oAuth.yml @@ -81,7 +81,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: client_id: CLIENT_ID access_token: ACCESS_TOKEN @@ -312,7 +312,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: client_id: sq0idp-uaPHILoPzWZk3tlJqlML0g client_secret: sq0csp-30a-4C_tVOnTh14Piza2BfTPBXyLafLPWSzY1qAjeBfM @@ -349,7 +349,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: scopes: @@ -371,6 +371,6 @@ service: openapi: openapi/openapi.json examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' source: openapi: openapi/openapi.json diff --git a/.mock/definition/orders.yml b/.mock/definition/orders.yml index 4dc1424f9..607a184e3 100644 --- a/.mock/definition/orders.yml +++ b/.mock/definition/orders.yml @@ -35,7 +35,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: order: location_id: 057P5VYJ4A5X1 @@ -325,7 +325,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: location_id: 057P5VYJ4A5X1 order_ids: @@ -432,7 +432,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: order: location_id: D7AVYMEAPJ3A3 @@ -657,7 +657,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: order_id: ZAISEM52YcpmcWAzERDOyiWS123 version: 3 @@ -976,7 +976,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: location_ids: - 057P5VYJ4A5X1 @@ -1069,7 +1069,7 @@ service: - path-parameters: order_id: order_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: order: @@ -1317,7 +1317,7 @@ service: - path-parameters: order_id: order_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: order: location_id: location_id @@ -1545,7 +1545,7 @@ service: - path-parameters: order_id: order_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: c043a359-7ad9-4136-82a9-c3f1d66dcbff payment_ids: diff --git a/.mock/definition/orders/customAttributeDefinitions.yml b/.mock/definition/orders/customAttributeDefinitions.yml index db1cec64d..0c803ca8b 100644 --- a/.mock/definition/orders/customAttributeDefinitions.yml +++ b/.mock/definition/orders/customAttributeDefinitions.yml @@ -70,13 +70,13 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: custom_attribute_definitions: - key: cover-count schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number name: Cover count description: The number of people seated at a table @@ -86,7 +86,7 @@ service: created_at: '2022-11-16T18:03:44.051Z' - key: seat-number schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number name: Seat number description: The identifier for a particular seat @@ -96,7 +96,7 @@ service: created_at: '2022-11-16T18:04:32.059Z' - key: table-number schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number name: Table number description: The identifier for a particular table @@ -170,12 +170,12 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: custom_attribute_definition: key: cover-count schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number name: Cover count description: The number of people seated at a table @@ -186,7 +186,7 @@ service: custom_attribute_definition: key: cover-count schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number name: Cover count description: The number of people seated at a table @@ -244,13 +244,13 @@ service: - path-parameters: key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: custom_attribute_definition: key: cover-count schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number name: Cover count description: The number of people seated at a table @@ -323,7 +323,7 @@ service: - path-parameters: key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: custom_attribute_definition: key: cover-count @@ -335,7 +335,7 @@ service: custom_attribute_definition: key: cover-count schema: - ref: >- + \$ref: >- https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number name: Cover count description: The number of people seated at a table @@ -376,7 +376,7 @@ service: - path-parameters: key: key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/orders/customAttributes.yml b/.mock/definition/orders/customAttributes.yml index a626c6221..72d42206f 100644 --- a/.mock/definition/orders/customAttributes.yml +++ b/.mock/definition/orders/customAttributes.yml @@ -65,7 +65,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: values: cover-count: @@ -151,7 +151,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: values: cover-count: @@ -280,7 +280,7 @@ service: - path-parameters: order_id: order_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: custom_attributes: @@ -366,7 +366,7 @@ service: order_id: order_id custom_attribute_key: custom_attribute_key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: custom_attribute: @@ -477,7 +477,7 @@ service: order_id: order_id custom_attribute_key: custom_attribute_key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: custom_attribute: key: table-number @@ -549,7 +549,7 @@ service: order_id: order_id custom_attribute_key: custom_attribute_key headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/payments.yml b/.mock/definition/payments.yml index b2d02f6c2..5ae2fb84e 100644 --- a/.mock/definition/payments.yml +++ b/.mock/definition/payments.yml @@ -161,7 +161,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -620,7 +620,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: source_id: ccof:GaJGNaZa8x4OgDJn4GB idempotency_key: 7b0f3ec5-086a-4871-8f13-3c81b3875218 @@ -837,7 +837,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: a7e36d40-d24b-11e8-b568-0800200c9a66 response: @@ -869,7 +869,7 @@ service: - path-parameters: payment_id: payment_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -1070,7 +1070,7 @@ service: - path-parameters: payment_id: payment_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: payment: amount_money: @@ -1260,7 +1260,7 @@ service: - path-parameters: payment_id: payment_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -1456,7 +1456,7 @@ service: - path-parameters: payment_id: payment_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: {} response: body: diff --git a/.mock/definition/payouts.yml b/.mock/definition/payouts.yml index c404acb3b..e2b68e670 100644 --- a/.mock/definition/payouts.yml +++ b/.mock/definition/payouts.yml @@ -86,7 +86,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: payouts: @@ -156,7 +156,7 @@ service: - path-parameters: payout_id: payout_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: payout: @@ -242,7 +242,7 @@ service: - path-parameters: payout_id: payout_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: payout_entries: diff --git a/.mock/definition/refunds.yml b/.mock/definition/refunds.yml index c267c5920..20d49dd41 100644 --- a/.mock/definition/refunds.yml +++ b/.mock/definition/refunds.yml @@ -152,7 +152,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -377,7 +377,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: 9b7f2dcf-49da-4411-b23e-a2d6af21333a amount_money: @@ -445,7 +445,7 @@ service: - path-parameters: refund_id: refund_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/sites.yml b/.mock/definition/sites.yml index 91dc19f5e..0897fadde 100644 --- a/.mock/definition/sites.yml +++ b/.mock/definition/sites.yml @@ -27,7 +27,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/snippets.yml b/.mock/definition/snippets.yml index 95732fccd..1de5f095c 100644 --- a/.mock/definition/snippets.yml +++ b/.mock/definition/snippets.yml @@ -40,7 +40,7 @@ service: - path-parameters: site_id: site_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -99,7 +99,7 @@ service: - path-parameters: site_id: site_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: snippet: content: @@ -150,7 +150,7 @@ service: - path-parameters: site_id: site_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/subscriptions.yml b/.mock/definition/subscriptions.yml index e66a6e8a4..0c29e7140 100644 --- a/.mock/definition/subscriptions.yml +++ b/.mock/definition/subscriptions.yml @@ -160,7 +160,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: 8193148c-9586-11e6-99f9-28cfe92138cf location_id: S8GWD5R9QB376 @@ -261,7 +261,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: new_plan_variation_id: FQ7CDXXWSLUJRPM3GFJSJGZ7 old_plan_variation_id: 6JHXF3B2CW3YKHDV4XEM674H @@ -361,7 +361,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: query: filter: @@ -488,7 +488,7 @@ service: - path-parameters: subscription_id: subscription_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -562,7 +562,7 @@ service: - path-parameters: subscription_id: subscription_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: subscription: card_id: '{NEW CARD ID}' @@ -626,7 +626,7 @@ service: subscription_id: subscription_id action_id: action_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -709,7 +709,7 @@ service: - path-parameters: subscription_id: subscription_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: monthly_billing_anchor_date: 1 response: @@ -784,7 +784,7 @@ service: - path-parameters: subscription_id: subscription_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -877,7 +877,7 @@ service: - path-parameters: subscription_id: subscription_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -1013,7 +1013,7 @@ service: - path-parameters: subscription_id: subscription_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: {} response: body: @@ -1097,7 +1097,7 @@ service: - path-parameters: subscription_id: subscription_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: {} response: body: @@ -1184,7 +1184,7 @@ service: - path-parameters: subscription_id: subscription_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: new_plan_variation_id: FQ7CDXXWSLUJRPM3GFJSJGZ7 phases: diff --git a/.mock/definition/team.yml b/.mock/definition/team.yml index 9b12d8525..aa90d17fa 100644 --- a/.mock/definition/team.yml +++ b/.mock/definition/team.yml @@ -34,7 +34,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: jobs: @@ -97,7 +97,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: job: title: Cashier @@ -139,7 +139,7 @@ service: - path-parameters: job_id: job_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: job: @@ -195,7 +195,7 @@ service: - path-parameters: job_id: job_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: job: title: Cashier 1 diff --git a/.mock/definition/teamMembers.yml b/.mock/definition/teamMembers.yml index cfef0122f..d947fac6a 100644 --- a/.mock/definition/teamMembers.yml +++ b/.mock/definition/teamMembers.yml @@ -33,7 +33,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: idempotency-key-0 team_member: @@ -155,7 +155,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: team_members: idempotency-key-1: @@ -269,7 +269,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: team_members: AFMwA08kR-MIF-3Vs0OE: @@ -385,7 +385,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: query: filter: @@ -623,7 +623,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: @@ -699,7 +699,7 @@ service: - path-parameters: team_member_id: team_member_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: team_member: reference_id: reference_id_1 diff --git a/.mock/definition/teamMembers/wageSetting.yml b/.mock/definition/teamMembers/wageSetting.yml index 7bded52e7..3036e43c9 100644 --- a/.mock/definition/teamMembers/wageSetting.yml +++ b/.mock/definition/teamMembers/wageSetting.yml @@ -40,7 +40,7 @@ service: - path-parameters: team_member_id: team_member_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: wage_setting: @@ -126,7 +126,7 @@ service: - path-parameters: team_member_id: team_member_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: wage_setting: job_assignments: diff --git a/.mock/definition/terminal.yml b/.mock/definition/terminal.yml index 263becab0..1a2a61580 100644 --- a/.mock/definition/terminal.yml +++ b/.mock/definition/terminal.yml @@ -35,7 +35,7 @@ service: - path-parameters: action_id: action_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -134,7 +134,7 @@ service: - path-parameters: checkout_id: checkout_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -209,7 +209,7 @@ service: - path-parameters: terminal_refund_id: terminal_refund_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/terminal/actions.yml b/.mock/definition/terminal/actions.yml index e777c121d..f4a4181b9 100644 --- a/.mock/definition/terminal/actions.yml +++ b/.mock/definition/terminal/actions.yml @@ -43,7 +43,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: thahn-70e75c10-47f7-4ab6-88cc-aaa4076d065e action: @@ -171,7 +171,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: query: filter: @@ -290,7 +290,7 @@ service: - path-parameters: action_id: action_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -383,7 +383,7 @@ service: - path-parameters: action_id: action_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/terminal/checkouts.yml b/.mock/definition/terminal/checkouts.yml index f9840a9d6..fb288b242 100644 --- a/.mock/definition/terminal/checkouts.yml +++ b/.mock/definition/terminal/checkouts.yml @@ -45,7 +45,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: 28a0c3bc-7839-11ea-bc55-0242ac130003 checkout: @@ -151,7 +151,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: query: filter: @@ -240,7 +240,7 @@ service: - path-parameters: checkout_id: checkout_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -311,7 +311,7 @@ service: - path-parameters: checkout_id: checkout_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/terminal/refunds.yml b/.mock/definition/terminal/refunds.yml index 9ab41737e..c85863d1a 100644 --- a/.mock/definition/terminal/refunds.yml +++ b/.mock/definition/terminal/refunds.yml @@ -46,7 +46,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: 402a640b-b26f-401f-b406-46f839590c04 refund: @@ -126,7 +126,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: query: filter: @@ -182,7 +182,7 @@ service: - path-parameters: terminal_refund_id: terminal_refund_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -232,7 +232,7 @@ service: - path-parameters: terminal_refund_id: terminal_refund_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/v1Transactions.yml b/.mock/definition/v1Transactions.yml index b4d2cb620..69f1fdf01 100644 --- a/.mock/definition/v1Transactions.yml +++ b/.mock/definition/v1Transactions.yml @@ -41,7 +41,7 @@ service: - path-parameters: location_id: location_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: - errors: @@ -139,7 +139,7 @@ service: location_id: location_id order_id: order_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -284,7 +284,7 @@ service: location_id: location_id order_id: order_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: action: COMPLETE response: diff --git a/.mock/definition/vendors.yml b/.mock/definition/vendors.yml index b05ad2dff..8076526fb 100644 --- a/.mock/definition/vendors.yml +++ b/.mock/definition/vendors.yml @@ -31,7 +31,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: vendors: 8fc6a5b0-9fe8-4b46-b46b-2ef95793abbe: @@ -106,7 +106,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: vendor_ids: - INV_V_JDKYHBWT1D4F8MFH63DBMEN8Y4 @@ -173,7 +173,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: vendors: FMCYHBWT1TPL8MFH52PBMEN92A: @@ -281,7 +281,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: 8fc6a5b0-9fe8-4b46-b46b-2ef95793abbe vendor: @@ -377,7 +377,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: {} response: body: @@ -431,7 +431,7 @@ service: - path-parameters: vendor_id: vendor_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -495,7 +495,7 @@ service: - path-parameters: vendor_id: vendor_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: 8fc6a5b0-9fe8-4b46-b46b-2ef95793abbe vendor: diff --git a/.mock/definition/webhooks/eventTypes.yml b/.mock/definition/webhooks/eventTypes.yml index 620f2033d..49a177402 100644 --- a/.mock/definition/webhooks/eventTypes.yml +++ b/.mock/definition/webhooks/eventTypes.yml @@ -26,7 +26,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: diff --git a/.mock/definition/webhooks/subscriptions.yml b/.mock/definition/webhooks/subscriptions.yml index 8282c610a..89cdc082c 100644 --- a/.mock/definition/webhooks/subscriptions.yml +++ b/.mock/definition/webhooks/subscriptions.yml @@ -64,7 +64,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -115,7 +115,7 @@ service: status-code: 200 examples: - headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: 63f84c6c-2200-4c99-846c-2670a1311fbf subscription: @@ -168,7 +168,7 @@ service: - path-parameters: subscription_id: subscription_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -218,7 +218,7 @@ service: - path-parameters: subscription_id: subscription_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: subscription: name: Updated Example Webhook Subscription @@ -266,7 +266,7 @@ service: - path-parameters: subscription_id: subscription_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' response: body: errors: @@ -311,7 +311,7 @@ service: - path-parameters: subscription_id: subscription_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: idempotency_key: ed80ae6b-0654-473b-bbab-a39aee89a60d response: @@ -360,7 +360,7 @@ service: - path-parameters: subscription_id: subscription_id headers: - Square-Version: '2025-07-16' + Square-Version: '2025-08-20' request: event_type: payment.created response: diff --git a/.mock/fern.config.json b/.mock/fern.config.json index 47de4c7d3..fbf60629f 100644 --- a/.mock/fern.config.json +++ b/.mock/fern.config.json @@ -1,4 +1,4 @@ { "organization" : "square", - "version" : "0.64.23" + "version" : "0.66.19" } \ No newline at end of file diff --git a/.mock/openapi/openapi.json b/.mock/openapi/openapi.json index 33c6c40f0..347d808f3 100644 --- a/.mock/openapi/openapi.json +++ b/.mock/openapi/openapi.json @@ -146,7 +146,7 @@ "name": "Square-Version", "description": "Square Connect API versions", "schema": { - "default": "2025-07-16" + "default": "2025-08-20" } } ], @@ -76794,7 +76794,7 @@ "name": "version", "optional": true, "env": "VERSION", - "type": "literal\u003c\"2025-07-16\"\u003e" + "type": "literal\u003c\"2025-08-20\"\u003e" } ] } \ No newline at end of file diff --git a/lib/square/client.rb b/lib/square/client.rb index d15ea67f0..6dab5be80 100644 --- a/lib/square/client.rb +++ b/lib/square/client.rb @@ -7,7 +7,7 @@ def initialize(base_url:, token: ENV.fetch("SQUARE_TOKEN", nil)) @raw_client = Square::Internal::Http::RawClient.new( base_url: base_url, headers: { - "User-Agent": "square.rb/44.0.0", + "User-Agent": "square.rb/44.0.0.20250820", "X-Fern-Language": "Ruby", Authorization: "Bearer #{token}" }