Skip to content

Commit 1689b72

Browse files
committed
SDK regeneration
1 parent 8cd3108 commit 1689b72

24 files changed

Lines changed: 111 additions & 111 deletions

File tree

.mock/definition/bookings/customAttributeDefinitions.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ service:
6161
custom_attribute_definitions:
6262
- key: favoriteShampoo
6363
schema:
64-
ref: >-
64+
\$ref: >-
6565
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
6666
name: Favorite shampoo
6767
description: Update the description as desired.
@@ -71,7 +71,7 @@ service:
7171
created_at: '2022-11-16T15:27:30Z'
7272
- key: partySize
7373
schema:
74-
ref: >-
74+
\$ref: >-
7575
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number
7676
name: Party size
7777
description: Number of people in the party for dine-in
@@ -170,7 +170,7 @@ service:
170170
custom_attribute_definition:
171171
key: favoriteShampoo
172172
schema:
173-
ref: >-
173+
\$ref: >-
174174
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
175175
name: Favorite Shampoo
176176
description: The favorite shampoo of the customer.
@@ -238,7 +238,7 @@ service:
238238
custom_attribute_definition:
239239
key: favoriteShampoo
240240
schema:
241-
ref: >-
241+
\$ref: >-
242242
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
243243
name: Favorite shampoo
244244
description: The favorite shampoo of the customer.
@@ -337,7 +337,7 @@ service:
337337
custom_attribute_definition:
338338
key: favoriteShampoo
339339
schema:
340-
ref: >-
340+
\$ref: >-
341341
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
342342
name: Favorite shampoo
343343
description: Update the description as desired.

.mock/definition/customers/customAttributeDefinitions.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ service:
6969
custom_attribute_definitions:
7070
- key: favoritemovie
7171
schema:
72-
ref: >-
72+
\$ref: >-
7373
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
7474
name: Favorite Movie
7575
description: Update the description as desired.
@@ -79,7 +79,7 @@ service:
7979
created_at: '2022-04-26T15:27:30Z'
8080
- key: ownsmovie
8181
schema:
82-
ref: >-
82+
\$ref: >-
8383
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Boolean
8484
name: Owns Movie
8585
description: Customer owns movie.
@@ -174,7 +174,7 @@ service:
174174
custom_attribute_definition:
175175
key: favoritemovie
176176
schema:
177-
ref: >-
177+
\$ref: >-
178178
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
179179
name: Favorite Movie
180180
description: The favorite movie of the customer.
@@ -184,7 +184,7 @@ service:
184184
custom_attribute_definition:
185185
key: favoritemovie
186186
schema:
187-
ref: >-
187+
\$ref: >-
188188
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
189189
name: Favorite Movie
190190
description: The favorite movie of the customer.
@@ -258,7 +258,7 @@ service:
258258
custom_attribute_definition:
259259
key: favoritemovie
260260
schema:
261-
ref: >-
261+
\$ref: >-
262262
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
263263
name: Favorite Movie
264264
description: The favorite movie of the customer.
@@ -367,7 +367,7 @@ service:
367367
custom_attribute_definition:
368368
key: favoritemovie
369369
schema:
370-
ref: >-
370+
\$ref: >-
371371
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
372372
name: Favorite Movie
373373
description: Update the description as desired.

.mock/definition/locations/customAttributeDefinitions.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ service:
7070
custom_attribute_definitions:
7171
- key: phone-number
7272
schema:
73-
ref: >-
73+
\$ref: >-
7474
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.PhoneNumber
7575
name: phone number
7676
description: Location's phone number
@@ -80,7 +80,7 @@ service:
8080
created_at: '2022-12-02T19:50:21.832Z'
8181
- key: bestseller
8282
schema:
83-
ref: >-
83+
\$ref: >-
8484
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
8585
name: Bestseller
8686
description: Bestselling item at location
@@ -163,7 +163,7 @@ service:
163163
custom_attribute_definition:
164164
key: bestseller
165165
schema:
166-
ref: >-
166+
\$ref: >-
167167
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
168168
name: Bestseller
169169
description: Bestselling item at location
@@ -173,7 +173,7 @@ service:
173173
custom_attribute_definition:
174174
key: bestseller
175175
schema:
176-
ref: >-
176+
\$ref: >-
177177
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
178178
name: Bestseller
179179
description: Bestselling item at location
@@ -242,7 +242,7 @@ service:
242242
custom_attribute_definition:
243243
key: bestseller
244244
schema:
245-
ref: >-
245+
\$ref: >-
246246
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
247247
name: Bestseller
248248
description: Bestselling item at location
@@ -346,7 +346,7 @@ service:
346346
custom_attribute_definition:
347347
key: bestseller
348348
schema:
349-
ref: >-
349+
\$ref: >-
350350
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
351351
name: Bestseller
352352
description: Update the description as desired.

.mock/definition/merchants/customAttributeDefinitions.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ service:
7070
custom_attribute_definitions:
7171
- key: has_seen_tutorial
7272
schema:
73-
ref: >-
73+
\$ref: >-
7474
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Boolean
7575
name: NAME
7676
description: >-
@@ -82,7 +82,7 @@ service:
8282
created_at: '2023-05-05T16:50:21.832Z'
8383
- key: alternative_seller_name
8484
schema:
85-
ref: >-
85+
\$ref: >-
8686
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
8787
name: Alternative Merchant Name
8888
description: This is the other name this merchant goes by.
@@ -165,7 +165,7 @@ service:
165165
custom_attribute_definition:
166166
key: alternative_seller_name
167167
schema:
168-
ref: >-
168+
\$ref: >-
169169
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
170170
name: Alternative Merchant Name
171171
description: This is the other name this merchant goes by.
@@ -175,7 +175,7 @@ service:
175175
custom_attribute_definition:
176176
key: alternative_seller_name
177177
schema:
178-
ref: >-
178+
\$ref: >-
179179
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
180180
name: Alternative Merchant Name
181181
description: This is the other name this merchant goes by.
@@ -244,7 +244,7 @@ service:
244244
custom_attribute_definition:
245245
key: alternative_seller_name
246246
schema:
247-
ref: >-
247+
\$ref: >-
248248
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
249249
name: Alternative Merchant Name
250250
description: This is the other name this merchant goes by.
@@ -348,7 +348,7 @@ service:
348348
custom_attribute_definition:
349349
key: alternative_seller_name
350350
schema:
351-
ref: >-
351+
\$ref: >-
352352
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String
353353
name: Alternative Merchant Name
354354
description: Update the description as desired.

.mock/definition/orders/customAttributeDefinitions.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ service:
7676
custom_attribute_definitions:
7777
- key: cover-count
7878
schema:
79-
ref: >-
79+
\$ref: >-
8080
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number
8181
name: Cover count
8282
description: The number of people seated at a table
@@ -86,7 +86,7 @@ service:
8686
created_at: '2022-11-16T18:03:44.051Z'
8787
- key: seat-number
8888
schema:
89-
ref: >-
89+
\$ref: >-
9090
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number
9191
name: Seat number
9292
description: The identifier for a particular seat
@@ -96,7 +96,7 @@ service:
9696
created_at: '2022-11-16T18:04:32.059Z'
9797
- key: table-number
9898
schema:
99-
ref: >-
99+
\$ref: >-
100100
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number
101101
name: Table number
102102
description: The identifier for a particular table
@@ -175,7 +175,7 @@ service:
175175
custom_attribute_definition:
176176
key: cover-count
177177
schema:
178-
ref: >-
178+
\$ref: >-
179179
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number
180180
name: Cover count
181181
description: The number of people seated at a table
@@ -186,7 +186,7 @@ service:
186186
custom_attribute_definition:
187187
key: cover-count
188188
schema:
189-
ref: >-
189+
\$ref: >-
190190
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number
191191
name: Cover count
192192
description: The number of people seated at a table
@@ -250,7 +250,7 @@ service:
250250
custom_attribute_definition:
251251
key: cover-count
252252
schema:
253-
ref: >-
253+
\$ref: >-
254254
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number
255255
name: Cover count
256256
description: The number of people seated at a table
@@ -335,7 +335,7 @@ service:
335335
custom_attribute_definition:
336336
key: cover-count
337337
schema:
338-
ref: >-
338+
\$ref: >-
339339
https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number
340340
name: Cover count
341341
description: The number of people seated at a table

.mock/fern.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"organization" : "square",
3-
"version" : "0.64.23"
3+
"version" : "0.66.19"
44
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "square",
3-
"version": "43.0.2",
3+
"version": "44.0.0.20250820",
44
"private": false,
55
"repository": "github:square/square-nodejs-sdk",
66
"license": "MIT",

reference.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14669,7 +14669,7 @@ await client.customers.customAttributeDefinitions.create({
1466914669
customAttributeDefinition: {
1467014670
key: "favoritemovie",
1467114671
schema: {
14672-
ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String",
14672+
$ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String",
1467314673
},
1467414674
name: "Favorite Movie",
1467514675
description: "The favorite movie of the customer.",
@@ -18016,7 +18016,7 @@ await client.locations.customAttributeDefinitions.create({
1801618016
customAttributeDefinition: {
1801718017
key: "bestseller",
1801818018
schema: {
18019-
ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String",
18019+
$ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String",
1802018020
},
1802118021
name: "Bestseller",
1802218022
description: "Bestselling item at location",
@@ -20380,7 +20380,7 @@ await client.merchants.customAttributeDefinitions.create({
2038020380
customAttributeDefinition: {
2038120381
key: "alternative_seller_name",
2038220382
schema: {
20383-
ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String",
20383+
$ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String",
2038420384
},
2038520385
name: "Alternative Merchant Name",
2038620386
description: "This is the other name this merchant goes by.",
@@ -21201,7 +21201,7 @@ await client.orders.customAttributeDefinitions.create({
2120121201
customAttributeDefinition: {
2120221202
key: "cover-count",
2120321203
schema: {
21204-
ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number",
21204+
$ref: "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.Number",
2120521205
},
2120621206
name: "Cover count",
2120721207
description: "The number of people seated at a table",

src/Client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ export class SquareClient {
112112
"Square-Version": _options?.version ?? "2025-08-20",
113113
"X-Fern-Language": "JavaScript",
114114
"X-Fern-SDK-Name": "square",
115-
"X-Fern-SDK-Version": "43.0.2",
116-
"User-Agent": "square/43.0.2",
115+
"X-Fern-SDK-Version": "44.0.0.20250820",
116+
"User-Agent": "square/44.0.0.20250820",
117117
"X-Fern-Runtime": core.RUNTIME.type,
118118
"X-Fern-Runtime-Version": core.RUNTIME.version,
119119
},

src/api/resources/customers/resources/customAttributeDefinitions/client/Client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export class CustomAttributeDefinitions {
170170
* customAttributeDefinition: {
171171
* key: "favoritemovie",
172172
* schema: {
173-
* "ref": "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String"
173+
* "$ref": "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String"
174174
* },
175175
* name: "Favorite Movie",
176176
* description: "The favorite movie of the customer.",

0 commit comments

Comments
 (0)