diff --git a/.mock/definition/bookings/customAttributeDefinitions.yml b/.mock/definition/bookings/customAttributeDefinitions.yml index dde09d79d..e07be7567 100644 --- a/.mock/definition/bookings/customAttributeDefinitions.yml +++ b/.mock/definition/bookings/customAttributeDefinitions.yml @@ -61,7 +61,7 @@ service: 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 @@ -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. @@ -238,7 +238,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. @@ -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. diff --git a/.mock/definition/customers/customAttributeDefinitions.yml b/.mock/definition/customers/customAttributeDefinitions.yml index a93bb0011..70406e04d 100644 --- a/.mock/definition/customers/customAttributeDefinitions.yml +++ b/.mock/definition/customers/customAttributeDefinitions.yml @@ -69,7 +69,7 @@ service: 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. @@ -174,7 +174,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. @@ -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. @@ -258,7 +258,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. @@ -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. diff --git a/.mock/definition/locations/customAttributeDefinitions.yml b/.mock/definition/locations/customAttributeDefinitions.yml index 392dcb996..3afbaf425 100644 --- a/.mock/definition/locations/customAttributeDefinitions.yml +++ b/.mock/definition/locations/customAttributeDefinitions.yml @@ -70,7 +70,7 @@ service: 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 @@ -163,7 +163,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 @@ -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 @@ -242,7 +242,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 @@ -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. diff --git a/.mock/definition/merchants/customAttributeDefinitions.yml b/.mock/definition/merchants/customAttributeDefinitions.yml index ade0d157e..18f1e390e 100644 --- a/.mock/definition/merchants/customAttributeDefinitions.yml +++ b/.mock/definition/merchants/customAttributeDefinitions.yml @@ -70,7 +70,7 @@ service: 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. @@ -165,7 +165,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. @@ -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. @@ -244,7 +244,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. @@ -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. diff --git a/.mock/definition/orders/customAttributeDefinitions.yml b/.mock/definition/orders/customAttributeDefinitions.yml index 8f894793c..0c803ca8b 100644 --- a/.mock/definition/orders/customAttributeDefinitions.yml +++ b/.mock/definition/orders/customAttributeDefinitions.yml @@ -76,7 +76,7 @@ service: 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 @@ -175,7 +175,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 @@ -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 @@ -250,7 +250,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 @@ -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 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/package.json b/package.json index 9d2cd40c5..33641768b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "square", - "version": "43.0.2", + "version": "44.0.0.20250820", "private": false, "repository": "github:square/square-nodejs-sdk", "license": "MIT", diff --git a/reference.md b/reference.md index cf36416ad..42f62d172 100644 --- a/reference.md +++ b/reference.md @@ -14669,7 +14669,7 @@ await client.customers.customAttributeDefinitions.create({ customAttributeDefinition: { key: "favoritemovie", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Favorite Movie", description: "The favorite movie of the customer.", @@ -18016,7 +18016,7 @@ await client.locations.customAttributeDefinitions.create({ customAttributeDefinition: { key: "bestseller", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Bestseller", description: "Bestselling item at location", @@ -20380,7 +20380,7 @@ await client.merchants.customAttributeDefinitions.create({ customAttributeDefinition: { key: "alternative_seller_name", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $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.", @@ -21201,7 +21201,7 @@ await client.orders.customAttributeDefinitions.create({ customAttributeDefinition: { key: "cover-count", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number", + $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", diff --git a/src/Client.ts b/src/Client.ts index f8e3512a3..a8e0e119e 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -112,8 +112,8 @@ export class SquareClient { "Square-Version": _options?.version ?? "2025-08-20", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "square", - "X-Fern-SDK-Version": "43.0.2", - "User-Agent": "square/43.0.2", + "X-Fern-SDK-Version": "44.0.0.20250820", + "User-Agent": "square/44.0.0.20250820", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/customers/resources/customAttributeDefinitions/client/Client.ts b/src/api/resources/customers/resources/customAttributeDefinitions/client/Client.ts index 903b60b7a..7e64cbb80 100644 --- a/src/api/resources/customers/resources/customAttributeDefinitions/client/Client.ts +++ b/src/api/resources/customers/resources/customAttributeDefinitions/client/Client.ts @@ -170,7 +170,7 @@ export class CustomAttributeDefinitions { * customAttributeDefinition: { * key: "favoritemovie", * schema: { - * "ref": "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String" + * "$ref": "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String" * }, * name: "Favorite Movie", * description: "The favorite movie of the customer.", diff --git a/src/api/resources/customers/resources/customAttributeDefinitions/client/requests/CreateCustomerCustomAttributeDefinitionRequest.ts b/src/api/resources/customers/resources/customAttributeDefinitions/client/requests/CreateCustomerCustomAttributeDefinitionRequest.ts index f433f19ae..33e0d7815 100644 --- a/src/api/resources/customers/resources/customAttributeDefinitions/client/requests/CreateCustomerCustomAttributeDefinitionRequest.ts +++ b/src/api/resources/customers/resources/customAttributeDefinitions/client/requests/CreateCustomerCustomAttributeDefinitionRequest.ts @@ -10,7 +10,7 @@ import * as Square from "../../../../../../index"; * customAttributeDefinition: { * key: "favoritemovie", * schema: { - * "ref": "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String" + * "$ref": "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String" * }, * name: "Favorite Movie", * description: "The favorite movie of the customer.", diff --git a/src/api/resources/locations/resources/customAttributeDefinitions/client/Client.ts b/src/api/resources/locations/resources/customAttributeDefinitions/client/Client.ts index d13870f71..099c8fcf2 100644 --- a/src/api/resources/locations/resources/customAttributeDefinitions/client/Client.ts +++ b/src/api/resources/locations/resources/customAttributeDefinitions/client/Client.ts @@ -170,7 +170,7 @@ export class CustomAttributeDefinitions { * customAttributeDefinition: { * key: "bestseller", * schema: { - * "ref": "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String" + * "$ref": "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String" * }, * name: "Bestseller", * description: "Bestselling item at location", diff --git a/src/api/resources/locations/resources/customAttributeDefinitions/client/requests/CreateLocationCustomAttributeDefinitionRequest.ts b/src/api/resources/locations/resources/customAttributeDefinitions/client/requests/CreateLocationCustomAttributeDefinitionRequest.ts index 10231ace2..8c308f4b0 100644 --- a/src/api/resources/locations/resources/customAttributeDefinitions/client/requests/CreateLocationCustomAttributeDefinitionRequest.ts +++ b/src/api/resources/locations/resources/customAttributeDefinitions/client/requests/CreateLocationCustomAttributeDefinitionRequest.ts @@ -10,7 +10,7 @@ import * as Square from "../../../../../../index"; * customAttributeDefinition: { * key: "bestseller", * schema: { - * "ref": "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String" + * "$ref": "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String" * }, * name: "Bestseller", * description: "Bestselling item at location", diff --git a/src/api/resources/merchants/resources/customAttributeDefinitions/client/Client.ts b/src/api/resources/merchants/resources/customAttributeDefinitions/client/Client.ts index 6e9d4d38e..d73100a05 100644 --- a/src/api/resources/merchants/resources/customAttributeDefinitions/client/Client.ts +++ b/src/api/resources/merchants/resources/customAttributeDefinitions/client/Client.ts @@ -170,7 +170,7 @@ export class CustomAttributeDefinitions { * customAttributeDefinition: { * key: "alternative_seller_name", * schema: { - * "ref": "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String" + * "$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.", diff --git a/src/api/resources/merchants/resources/customAttributeDefinitions/client/requests/CreateMerchantCustomAttributeDefinitionRequest.ts b/src/api/resources/merchants/resources/customAttributeDefinitions/client/requests/CreateMerchantCustomAttributeDefinitionRequest.ts index 023957369..572fe7378 100644 --- a/src/api/resources/merchants/resources/customAttributeDefinitions/client/requests/CreateMerchantCustomAttributeDefinitionRequest.ts +++ b/src/api/resources/merchants/resources/customAttributeDefinitions/client/requests/CreateMerchantCustomAttributeDefinitionRequest.ts @@ -10,7 +10,7 @@ import * as Square from "../../../../../../index"; * customAttributeDefinition: { * key: "alternative_seller_name", * schema: { - * "ref": "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String" + * "$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.", diff --git a/src/api/resources/orders/resources/customAttributeDefinitions/client/Client.ts b/src/api/resources/orders/resources/customAttributeDefinitions/client/Client.ts index 28afdcd20..91b75ee56 100644 --- a/src/api/resources/orders/resources/customAttributeDefinitions/client/Client.ts +++ b/src/api/resources/orders/resources/customAttributeDefinitions/client/Client.ts @@ -167,7 +167,7 @@ export class CustomAttributeDefinitions { * customAttributeDefinition: { * key: "cover-count", * schema: { - * "ref": "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number" + * "$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", diff --git a/src/api/resources/orders/resources/customAttributeDefinitions/client/requests/CreateOrderCustomAttributeDefinitionRequest.ts b/src/api/resources/orders/resources/customAttributeDefinitions/client/requests/CreateOrderCustomAttributeDefinitionRequest.ts index 7dd420311..296e03219 100644 --- a/src/api/resources/orders/resources/customAttributeDefinitions/client/requests/CreateOrderCustomAttributeDefinitionRequest.ts +++ b/src/api/resources/orders/resources/customAttributeDefinitions/client/requests/CreateOrderCustomAttributeDefinitionRequest.ts @@ -10,7 +10,7 @@ import * as Square from "../../../../../../index"; * customAttributeDefinition: { * key: "cover-count", * schema: { - * "ref": "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number" + * "$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", diff --git a/src/version.ts b/src/version.ts index b1505a299..1b51e38d7 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "43.0.2"; +export const SDK_VERSION = "44.0.0.20250820"; diff --git a/tests/wire/bookings/customAttributeDefinitions.test.ts b/tests/wire/bookings/customAttributeDefinitions.test.ts index fcbf544cd..803d05ba0 100644 --- a/tests/wire/bookings/customAttributeDefinitions.test.ts +++ b/tests/wire/bookings/customAttributeDefinitions.test.ts @@ -14,7 +14,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "favoriteShampoo", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Favorite Shampoo", description: "The favorite shampoo of the customer.", @@ -41,7 +41,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "favoriteShampoo", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Favorite Shampoo", description: "The favorite shampoo of the customer.", @@ -69,7 +69,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "favoriteShampoo", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Favorite shampoo", description: "The favorite shampoo of the customer.", @@ -95,7 +95,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "favoriteShampoo", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Favorite shampoo", description: "The favorite shampoo of the customer.", @@ -123,7 +123,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "favoriteShampoo", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Favorite shampoo", description: "Update the description as desired.", @@ -151,7 +151,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "favoriteShampoo", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Favorite shampoo", description: "Update the description as desired.", diff --git a/tests/wire/customers/customAttributeDefinitions.test.ts b/tests/wire/customers/customAttributeDefinitions.test.ts index 671c42ace..c91893d5c 100644 --- a/tests/wire/customers/customAttributeDefinitions.test.ts +++ b/tests/wire/customers/customAttributeDefinitions.test.ts @@ -13,7 +13,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "favoritemovie", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Favorite Movie", description: "The favorite movie of the customer.", @@ -24,7 +24,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "favoritemovie", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Favorite Movie", description: "The favorite movie of the customer.", @@ -48,7 +48,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "favoritemovie", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Favorite Movie", description: "The favorite movie of the customer.", @@ -59,7 +59,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "favoritemovie", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Favorite Movie", description: "The favorite movie of the customer.", @@ -87,7 +87,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "favoritemovie", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Favorite Movie", description: "The favorite movie of the customer.", @@ -113,7 +113,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "favoritemovie", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Favorite Movie", description: "The favorite movie of the customer.", @@ -146,7 +146,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "favoritemovie", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Favorite Movie", description: "Update the description as desired.", @@ -177,7 +177,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "favoritemovie", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Favorite Movie", description: "Update the description as desired.", diff --git a/tests/wire/locations/customAttributeDefinitions.test.ts b/tests/wire/locations/customAttributeDefinitions.test.ts index 4f3852332..fd1e52bb9 100644 --- a/tests/wire/locations/customAttributeDefinitions.test.ts +++ b/tests/wire/locations/customAttributeDefinitions.test.ts @@ -13,7 +13,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "bestseller", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Bestseller", description: "Bestselling item at location", @@ -24,7 +24,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "bestseller", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Bestseller", description: "Bestselling item at location", @@ -48,7 +48,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "bestseller", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Bestseller", description: "Bestselling item at location", @@ -59,7 +59,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "bestseller", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Bestseller", description: "Bestselling item at location", @@ -87,7 +87,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "bestseller", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Bestseller", description: "Bestselling item at location", @@ -113,7 +113,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "bestseller", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Bestseller", description: "Bestselling item at location", @@ -146,7 +146,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "bestseller", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Bestseller", description: "Update the description as desired.", @@ -177,7 +177,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "bestseller", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Bestseller", description: "Update the description as desired.", diff --git a/tests/wire/merchants/customAttributeDefinitions.test.ts b/tests/wire/merchants/customAttributeDefinitions.test.ts index 97c98f35a..123d7e9fb 100644 --- a/tests/wire/merchants/customAttributeDefinitions.test.ts +++ b/tests/wire/merchants/customAttributeDefinitions.test.ts @@ -13,7 +13,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "alternative_seller_name", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $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.", @@ -24,7 +24,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "alternative_seller_name", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $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.", @@ -48,7 +48,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "alternative_seller_name", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $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.", @@ -59,7 +59,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "alternative_seller_name", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $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.", @@ -87,7 +87,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "alternative_seller_name", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $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.", @@ -113,7 +113,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "alternative_seller_name", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $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.", @@ -146,7 +146,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "alternative_seller_name", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Alternative Merchant Name", description: "Update the description as desired.", @@ -177,7 +177,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "alternative_seller_name", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", + $ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String", }, name: "Alternative Merchant Name", description: "Update the description as desired.", diff --git a/tests/wire/orders/customAttributeDefinitions.test.ts b/tests/wire/orders/customAttributeDefinitions.test.ts index 06546ebac..b95344f51 100644 --- a/tests/wire/orders/customAttributeDefinitions.test.ts +++ b/tests/wire/orders/customAttributeDefinitions.test.ts @@ -13,7 +13,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "cover-count", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number", + $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", @@ -25,7 +25,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "cover-count", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number", + $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", @@ -49,7 +49,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "cover-count", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number", + $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", @@ -61,7 +61,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "cover-count", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number", + $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", @@ -89,7 +89,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "cover-count", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number", + $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", @@ -115,7 +115,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "cover-count", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number", + $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", @@ -146,7 +146,7 @@ describe("CustomAttributeDefinitions", () => { custom_attribute_definition: { key: "cover-count", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number", + $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", @@ -179,7 +179,7 @@ describe("CustomAttributeDefinitions", () => { customAttributeDefinition: { key: "cover-count", schema: { - ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number", + $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", diff --git a/yarn.lock b/yarn.lock index 81bf603d8..76102dc2e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -409,17 +409,17 @@ tough-cookie "^4.1.4" "@inquirer/confirm@^5.0.0": - version "5.1.15" - resolved "https://registry.yarnpkg.com/@inquirer/confirm/-/confirm-5.1.15.tgz#c502d5c642fdba0669b17442b40794c97bdbccb4" - integrity sha512-SwHMGa8Z47LawQN0rog0sT+6JpiL0B7eW9p1Bb7iCeKDGTI5Ez25TSc2l8kw52VV7hA4sX/C78CGkMrKXfuspA== + version "5.1.16" + resolved "https://registry.yarnpkg.com/@inquirer/confirm/-/confirm-5.1.16.tgz#4f99603e5c8a1b471b819343f708c75e8abd2b88" + integrity sha512-j1a5VstaK5KQy8Mu8cHmuQvN1Zc62TbLhjJxwHvKPPKEoowSF6h/0UdOpA9DNdWZ+9Inq73+puRq1df6OJ8Sag== dependencies: - "@inquirer/core" "^10.1.15" + "@inquirer/core" "^10.2.0" "@inquirer/type" "^3.0.8" -"@inquirer/core@^10.1.15": - version "10.1.15" - resolved "https://registry.yarnpkg.com/@inquirer/core/-/core-10.1.15.tgz#8feb69fd536786181a2b6bfb84d8674faa9d2e59" - integrity sha512-8xrp836RZvKkpNbVvgWUlxjT4CraKk2q+I3Ksy+seI2zkcE+y6wNs1BVhgcv8VyImFecUhdQrYLdW32pAjwBdA== +"@inquirer/core@^10.2.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/@inquirer/core/-/core-10.2.0.tgz#19ff527dbe0956891d825e320ecbc890bd6a1550" + integrity sha512-NyDSjPqhSvpZEMZrLCYUquWNl+XC/moEcVFqS55IEYIYsY0a1cUCevSqk7ctOlnm/RaSBU5psFryNlxcmGrjaA== dependencies: "@inquirer/figures" "^1.0.13" "@inquirer/type" "^3.0.8" @@ -1310,9 +1310,9 @@ camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001735: - version "1.0.30001735" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001735.tgz#ba658fd3fd24a4106fd68d5ce472a2c251494dbe" - integrity sha512-EV/laoX7Wq2J9TQlyIXRxTJqIw4sxfXS4OYgudGxBYRuTv0q7AM6yMEpU/Vo1I94thg9U6EZ2NfZx9GJq83u7w== + version "1.0.30001737" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001737.tgz#8292bb7591932ff09e9a765f12fdf5629a241ccc" + integrity sha512-BiloLiXtQNrY5UyF0+1nSJLXUENuhka2pzy2Fx5pGxqavdrxSCW4U6Pn/PoG3Efspi2frRbHpBV2XsrPE6EDlw== chalk@^4.0.0, chalk@^4.1.0: version "4.1.2" @@ -1517,9 +1517,9 @@ dunder-proto@^1.0.1: gopd "^1.2.0" electron-to-chromium@^1.5.204: - version "1.5.207" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.207.tgz#0fedde3eec615065ee95531c09a10578644c5552" - integrity sha512-mryFrrL/GXDTmAtIVMVf+eIXM09BBPlO5IQ7lUyKmK8d+A4VpRGG+M3ofoVef6qyF8s60rJei8ymlJxjUA8Faw== + version "1.5.209" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.209.tgz#403e7a84933b7206bb2e737d897042b2a6ef8d3e" + integrity sha512-Xoz0uMrim9ZETCQt8UgM5FxQF9+imA7PBpokoGcZloA1uw2LeHzTlip5cb5KOAsXZLjh/moN2vReN3ZjJmjI9A== emittery@^0.13.1: version "0.13.1" @@ -1691,9 +1691,9 @@ fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.1.0: integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== fast-uri@^3.0.1: - version "3.0.6" - resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.0.6.tgz#88f130b77cfaea2378d56bf970dea21257a68748" - integrity sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw== + version "3.1.0" + resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.1.0.tgz#66eecff6c764c0df9b762e62ca7edcfb53b4edfa" + integrity sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA== fb-watchman@^2.0.0: version "2.0.2" @@ -3136,9 +3136,9 @@ symbol-tree@^3.2.4: integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== tapable@^2.1.1, tapable@^2.2.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.2.tgz#ab4984340d30cb9989a490032f086dbb8b56d872" - integrity sha512-Re10+NauLTMCudc7T5WLFLAwDhQ0JWdrMK+9B2M8zR5hRExKmsRDCBA7/aV/pNJFltmBFO5BAMlQFi/vq3nKOg== + version "2.2.3" + resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.3.tgz#4b67b635b2d97578a06a2713d2f04800c237e99b" + integrity sha512-ZL6DDuAlRlLGghwcfmSn9sK3Hr6ArtyudlSAiCqQ6IfE+b+HHbydbYDIG15IfS5do+7XQQBdBiubF/cV2dnDzg== terser-webpack-plugin@^5.3.11: version "5.3.14" @@ -3225,9 +3225,9 @@ ts-jest@^29.3.4: yargs-parser "^21.1.1" ts-loader@^9.5.1: - version "9.5.2" - resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-9.5.2.tgz#1f3d7f4bb709b487aaa260e8f19b301635d08020" - integrity sha512-Qo4piXvOTWcMGIgRiuFa6nHNm+54HbYaZCKqc9eeZCLRy3XqafQgwX2F7mofrbJG3g7EEb+lkiR+z2Lic2s3Zw== + version "9.5.4" + resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-9.5.4.tgz#44b571165c10fb5a90744aa5b7e119233c4f4585" + integrity sha512-nCz0rEwunlTZiy6rXFByQU1kVVpCIgUpc/psFiKVrUwrizdnIbRFu8w7bxhUF0X613DYwT4XzrZHpVyMe758hQ== dependencies: chalk "^4.1.0" enhanced-resolve "^5.0.0" @@ -3493,6 +3493,6 @@ yocto-queue@^0.1.0: integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== yoctocolors-cjs@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/yoctocolors-cjs/-/yoctocolors-cjs-2.1.2.tgz#f4b905a840a37506813a7acaa28febe97767a242" - integrity sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA== + version "2.1.3" + resolved "https://registry.yarnpkg.com/yoctocolors-cjs/-/yoctocolors-cjs-2.1.3.tgz#7e4964ea8ec422b7a40ac917d3a344cfd2304baa" + integrity sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==