Skip to content

Commit ce9f1a1

Browse files
authored
Merge pull request #176 from square/fern-bot/04-04-2025-0530PM
🌿 Fern Regeneration -- April 4, 2025
2 parents 2d7247c + 1dadf50 commit ce9f1a1

File tree

86 files changed

+1019
-693
lines changed

Some content is hidden

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

86 files changed

+1019
-693
lines changed

.mock/definition/__package__.yml

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3378,6 +3378,38 @@ types:
33783378
from the `amount_money` and `buyer_supplied_money` fields.
33793379
source:
33803380
openapi: openapi/openapi.json
3381+
CatalogAvailabilityPeriod:
3382+
docs: Represents a time period of availability.
3383+
properties:
3384+
start_local_time:
3385+
type: optional<nullable<string>>
3386+
docs: >-
3387+
The start time of an availability period, specified in local time
3388+
using partial-time
3389+
3390+
RFC 3339 format. For example, `8:30:00` for a period starting at 8:30
3391+
in the morning.
3392+
3393+
Note that the seconds value is always :00, but it is appended for
3394+
conformance to the RFC.
3395+
end_local_time:
3396+
type: optional<nullable<string>>
3397+
docs: >-
3398+
The end time of an availability period, specified in local time using
3399+
partial-time
3400+
3401+
RFC 3339 format. For example, `21:00:00` for a period ending at 9:00
3402+
in the evening.
3403+
3404+
Note that the seconds value is always :00, but it is appended for
3405+
conformance to the RFC.
3406+
day_of_week:
3407+
type: optional<DayOfWeek>
3408+
docs: |-
3409+
The day of the week for this availability period.
3410+
See [DayOfWeek](#type-dayofweek) for possible values
3411+
source:
3412+
openapi: openapi/openapi.json
33813413
CatalogCategory:
33823414
docs: A category to which a `CatalogItem` instance belongs.
33833415
properties:
@@ -5129,6 +5161,8 @@ types:
51295161
CHECKOUT_LINK: CatalogObjectCheckoutLink
51305162
ADDRESS: CatalogObjectAddress
51315163
SUBSCRIPTION_PRODUCT: CatalogObjectSubscriptionProduct
5164+
SUBSCRIPTION_PLAN_VARIATION: CatalogObjectSubscriptionPlanVariation
5165+
AVAILABILITY_PERIOD: CatalogObjectAvailabilityPeriod
51325166
source:
51335167
openapi: openapi/openapi.json
51345168
CatalogObjectBatch:
@@ -6156,6 +6190,43 @@ types:
61566190
SubscriptionPlan.
61576191
source:
61586192
openapi: openapi/openapi.json
6193+
CatalogSubscriptionPlanVariation:
6194+
docs: >-
6195+
Describes a subscription plan variation. A subscription plan variation
6196+
represents how the subscription for a product or service is sold.
6197+
6198+
For more information, see [Subscription Plans and
6199+
Variations](https://developer.squareup.com/docs/subscriptions-api/plans-and-variations).
6200+
properties:
6201+
name:
6202+
type: string
6203+
docs: The name of the plan variation.
6204+
phases:
6205+
docs: >-
6206+
A list containing each [SubscriptionPhase](entity:SubscriptionPhase)
6207+
for this plan variation.
6208+
type: list<SubscriptionPhase>
6209+
subscription_plan_id:
6210+
type: optional<nullable<string>>
6211+
docs: The id of the subscription plan, if there is one.
6212+
monthly_billing_anchor_date:
6213+
type: optional<nullable<long>>
6214+
docs: The day of the month the billing period starts.
6215+
can_prorate:
6216+
type: optional<nullable<boolean>>
6217+
docs: Whether bills for this plan variation can be split for proration.
6218+
successor_plan_variation_id:
6219+
type: optional<nullable<string>>
6220+
docs: >-
6221+
The ID of a "successor" plan variation to this one. If the field is
6222+
set, and this object is disabled at all
6223+
6224+
locations, it indicates that this variation is deprecated and the
6225+
object identified by the successor ID be used in
6226+
6227+
its stead.
6228+
source:
6229+
openapi: openapi/openapi.json
61596230
CatalogTax:
61606231
docs: A tax applicable to an item.
61616232
properties:
@@ -26939,6 +27010,28 @@ types:
2693927010
- CatalogObjectBase
2694027011
source:
2694127012
openapi: openapi/openapi.json
27013+
CatalogObjectSubscriptionPlanVariation:
27014+
properties:
27015+
subscription_plan_variation_data:
27016+
type: optional<CatalogSubscriptionPlanVariation>
27017+
docs: >-
27018+
Structured data for a `CatalogSubscriptionPlanVariation`, set for
27019+
CatalogObjects of type `SUBSCRIPTION_PLAN_VARIATION`.
27020+
extends:
27021+
- CatalogObjectBase
27022+
source:
27023+
openapi: openapi/openapi.json
27024+
CatalogObjectAvailabilityPeriod:
27025+
properties:
27026+
availability_period_data:
27027+
type: optional<CatalogAvailabilityPeriod>
27028+
docs: >-
27029+
Structured data for a `CatalogAvailabilityPeriod`, set for
27030+
CatalogObjects of type `AVAILABILITY_PERIOD`.
27031+
extends:
27032+
- CatalogObjectBase
27033+
source:
27034+
openapi: openapi/openapi.json
2694227035
CatalogObjectComponent:
2694327036
properties: {}
2694427037
extends:

.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.56.24"
3+
"version" : "0.57.11"
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": "42.0.0",
3+
"version": "42.0.1",
44
"private": false,
55
"repository": "https://github.com/square/square-nodejs-sdk",
66
"license": "MIT",

src/api/resources/applePay/client/Client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ export class ApplePay {
7878
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
7979
"X-Fern-Language": "JavaScript",
8080
"X-Fern-SDK-Name": "square",
81-
"X-Fern-SDK-Version": "42.0.0",
82-
"User-Agent": "square/42.0.0",
81+
"X-Fern-SDK-Version": "42.0.1",
82+
"User-Agent": "square/42.0.1",
8383
"X-Fern-Runtime": core.RUNTIME.type,
8484
"X-Fern-Runtime-Version": core.RUNTIME.version,
8585
...requestOptions?.headers,

src/api/resources/bankAccounts/client/Client.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ export class BankAccounts {
7575
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
7676
"X-Fern-Language": "JavaScript",
7777
"X-Fern-SDK-Name": "square",
78-
"X-Fern-SDK-Version": "42.0.0",
79-
"User-Agent": "square/42.0.0",
78+
"X-Fern-SDK-Version": "42.0.1",
79+
"User-Agent": "square/42.0.1",
8080
"X-Fern-Runtime": core.RUNTIME.type,
8181
"X-Fern-Runtime-Version": core.RUNTIME.version,
8282
...requestOptions?.headers,
@@ -156,8 +156,8 @@ export class BankAccounts {
156156
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
157157
"X-Fern-Language": "JavaScript",
158158
"X-Fern-SDK-Name": "square",
159-
"X-Fern-SDK-Version": "42.0.0",
160-
"User-Agent": "square/42.0.0",
159+
"X-Fern-SDK-Version": "42.0.1",
160+
"User-Agent": "square/42.0.1",
161161
"X-Fern-Runtime": core.RUNTIME.type,
162162
"X-Fern-Runtime-Version": core.RUNTIME.version,
163163
...requestOptions?.headers,
@@ -232,8 +232,8 @@ export class BankAccounts {
232232
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
233233
"X-Fern-Language": "JavaScript",
234234
"X-Fern-SDK-Name": "square",
235-
"X-Fern-SDK-Version": "42.0.0",
236-
"User-Agent": "square/42.0.0",
235+
"X-Fern-SDK-Version": "42.0.1",
236+
"User-Agent": "square/42.0.1",
237237
"X-Fern-Runtime": core.RUNTIME.type,
238238
"X-Fern-Runtime-Version": core.RUNTIME.version,
239239
...requestOptions?.headers,

src/api/resources/bookings/client/Client.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ export class Bookings {
115115
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
116116
"X-Fern-Language": "JavaScript",
117117
"X-Fern-SDK-Name": "square",
118-
"X-Fern-SDK-Version": "42.0.0",
119-
"User-Agent": "square/42.0.0",
118+
"X-Fern-SDK-Version": "42.0.1",
119+
"User-Agent": "square/42.0.1",
120120
"X-Fern-Runtime": core.RUNTIME.type,
121121
"X-Fern-Runtime-Version": core.RUNTIME.version,
122122
...requestOptions?.headers,
@@ -208,8 +208,8 @@ export class Bookings {
208208
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
209209
"X-Fern-Language": "JavaScript",
210210
"X-Fern-SDK-Name": "square",
211-
"X-Fern-SDK-Version": "42.0.0",
212-
"User-Agent": "square/42.0.0",
211+
"X-Fern-SDK-Version": "42.0.1",
212+
"User-Agent": "square/42.0.1",
213213
"X-Fern-Runtime": core.RUNTIME.type,
214214
"X-Fern-Runtime-Version": core.RUNTIME.version,
215215
...requestOptions?.headers,
@@ -291,8 +291,8 @@ export class Bookings {
291291
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
292292
"X-Fern-Language": "JavaScript",
293293
"X-Fern-SDK-Name": "square",
294-
"X-Fern-SDK-Version": "42.0.0",
295-
"User-Agent": "square/42.0.0",
294+
"X-Fern-SDK-Version": "42.0.1",
295+
"User-Agent": "square/42.0.1",
296296
"X-Fern-Runtime": core.RUNTIME.type,
297297
"X-Fern-Runtime-Version": core.RUNTIME.version,
298298
...requestOptions?.headers,
@@ -372,8 +372,8 @@ export class Bookings {
372372
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
373373
"X-Fern-Language": "JavaScript",
374374
"X-Fern-SDK-Name": "square",
375-
"X-Fern-SDK-Version": "42.0.0",
376-
"User-Agent": "square/42.0.0",
375+
"X-Fern-SDK-Version": "42.0.1",
376+
"User-Agent": "square/42.0.1",
377377
"X-Fern-Runtime": core.RUNTIME.type,
378378
"X-Fern-Runtime-Version": core.RUNTIME.version,
379379
...requestOptions?.headers,
@@ -444,8 +444,8 @@ export class Bookings {
444444
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
445445
"X-Fern-Language": "JavaScript",
446446
"X-Fern-SDK-Name": "square",
447-
"X-Fern-SDK-Version": "42.0.0",
448-
"User-Agent": "square/42.0.0",
447+
"X-Fern-SDK-Version": "42.0.1",
448+
"User-Agent": "square/42.0.1",
449449
"X-Fern-Runtime": core.RUNTIME.type,
450450
"X-Fern-Runtime-Version": core.RUNTIME.version,
451451
...requestOptions?.headers,
@@ -519,8 +519,8 @@ export class Bookings {
519519
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
520520
"X-Fern-Language": "JavaScript",
521521
"X-Fern-SDK-Name": "square",
522-
"X-Fern-SDK-Version": "42.0.0",
523-
"User-Agent": "square/42.0.0",
522+
"X-Fern-SDK-Version": "42.0.1",
523+
"User-Agent": "square/42.0.1",
524524
"X-Fern-Runtime": core.RUNTIME.type,
525525
"X-Fern-Runtime-Version": core.RUNTIME.version,
526526
...requestOptions?.headers,
@@ -593,8 +593,8 @@ export class Bookings {
593593
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
594594
"X-Fern-Language": "JavaScript",
595595
"X-Fern-SDK-Name": "square",
596-
"X-Fern-SDK-Version": "42.0.0",
597-
"User-Agent": "square/42.0.0",
596+
"X-Fern-SDK-Version": "42.0.1",
597+
"User-Agent": "square/42.0.1",
598598
"X-Fern-Runtime": core.RUNTIME.type,
599599
"X-Fern-Runtime-Version": core.RUNTIME.version,
600600
...requestOptions?.headers,
@@ -675,8 +675,8 @@ export class Bookings {
675675
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
676676
"X-Fern-Language": "JavaScript",
677677
"X-Fern-SDK-Name": "square",
678-
"X-Fern-SDK-Version": "42.0.0",
679-
"User-Agent": "square/42.0.0",
678+
"X-Fern-SDK-Version": "42.0.1",
679+
"User-Agent": "square/42.0.1",
680680
"X-Fern-Runtime": core.RUNTIME.type,
681681
"X-Fern-Runtime-Version": core.RUNTIME.version,
682682
...requestOptions?.headers,
@@ -755,8 +755,8 @@ export class Bookings {
755755
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
756756
"X-Fern-Language": "JavaScript",
757757
"X-Fern-SDK-Name": "square",
758-
"X-Fern-SDK-Version": "42.0.0",
759-
"User-Agent": "square/42.0.0",
758+
"X-Fern-SDK-Version": "42.0.1",
759+
"User-Agent": "square/42.0.1",
760760
"X-Fern-Runtime": core.RUNTIME.type,
761761
"X-Fern-Runtime-Version": core.RUNTIME.version,
762762
...requestOptions?.headers,
@@ -838,8 +838,8 @@ export class Bookings {
838838
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
839839
"X-Fern-Language": "JavaScript",
840840
"X-Fern-SDK-Name": "square",
841-
"X-Fern-SDK-Version": "42.0.0",
842-
"User-Agent": "square/42.0.0",
841+
"X-Fern-SDK-Version": "42.0.1",
842+
"User-Agent": "square/42.0.1",
843843
"X-Fern-Runtime": core.RUNTIME.type,
844844
"X-Fern-Runtime-Version": core.RUNTIME.version,
845845
...requestOptions?.headers,

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ export class CustomAttributeDefinitions {
7777
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
7878
"X-Fern-Language": "JavaScript",
7979
"X-Fern-SDK-Name": "square",
80-
"X-Fern-SDK-Version": "42.0.0",
81-
"User-Agent": "square/42.0.0",
80+
"X-Fern-SDK-Version": "42.0.1",
81+
"User-Agent": "square/42.0.1",
8282
"X-Fern-Runtime": core.RUNTIME.type,
8383
"X-Fern-Runtime-Version": core.RUNTIME.version,
8484
...requestOptions?.headers,
@@ -168,8 +168,8 @@ export class CustomAttributeDefinitions {
168168
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
169169
"X-Fern-Language": "JavaScript",
170170
"X-Fern-SDK-Name": "square",
171-
"X-Fern-SDK-Version": "42.0.0",
172-
"User-Agent": "square/42.0.0",
171+
"X-Fern-SDK-Version": "42.0.1",
172+
"User-Agent": "square/42.0.1",
173173
"X-Fern-Runtime": core.RUNTIME.type,
174174
"X-Fern-Runtime-Version": core.RUNTIME.version,
175175
...requestOptions?.headers,
@@ -255,8 +255,8 @@ export class CustomAttributeDefinitions {
255255
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
256256
"X-Fern-Language": "JavaScript",
257257
"X-Fern-SDK-Name": "square",
258-
"X-Fern-SDK-Version": "42.0.0",
259-
"User-Agent": "square/42.0.0",
258+
"X-Fern-SDK-Version": "42.0.1",
259+
"User-Agent": "square/42.0.1",
260260
"X-Fern-Runtime": core.RUNTIME.type,
261261
"X-Fern-Runtime-Version": core.RUNTIME.version,
262262
...requestOptions?.headers,
@@ -338,8 +338,8 @@ export class CustomAttributeDefinitions {
338338
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
339339
"X-Fern-Language": "JavaScript",
340340
"X-Fern-SDK-Name": "square",
341-
"X-Fern-SDK-Version": "42.0.0",
342-
"User-Agent": "square/42.0.0",
341+
"X-Fern-SDK-Version": "42.0.1",
342+
"User-Agent": "square/42.0.1",
343343
"X-Fern-Runtime": core.RUNTIME.type,
344344
"X-Fern-Runtime-Version": core.RUNTIME.version,
345345
...requestOptions?.headers,
@@ -423,8 +423,8 @@ export class CustomAttributeDefinitions {
423423
"Square-Version": requestOptions?.version ?? this._options?.version ?? "2025-03-19",
424424
"X-Fern-Language": "JavaScript",
425425
"X-Fern-SDK-Name": "square",
426-
"X-Fern-SDK-Version": "42.0.0",
427-
"User-Agent": "square/42.0.0",
426+
"X-Fern-SDK-Version": "42.0.1",
427+
"User-Agent": "square/42.0.1",
428428
"X-Fern-Runtime": core.RUNTIME.type,
429429
"X-Fern-Runtime-Version": core.RUNTIME.version,
430430
...requestOptions?.headers,

0 commit comments

Comments
 (0)