@@ -3378,6 +3378,38 @@ types:
3378
3378
from the `amount_money` and `buyer_supplied_money` fields.
3379
3379
source:
3380
3380
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
3381
3413
CatalogCategory:
3382
3414
docs: A category to which a `CatalogItem` instance belongs.
3383
3415
properties:
@@ -4188,6 +4220,16 @@ types:
4188
4220
variations in a specified order.
4189
4221
4190
4222
Maximum: 6 item options.
4223
+ ecom_uri:
4224
+ type: optional<nullable<string>>
4225
+ docs: >-
4226
+ Deprecated; see go/ecomUriUseCases. A URI pointing to a published
4227
+ e-commerce product page for the Item.
4228
+ ecom_image_uris:
4229
+ type: optional<nullable<list<string>>>
4230
+ docs: >-
4231
+ Deprecated; see go/ecomUriUseCases. A comma-separated list of encoded
4232
+ URIs pointing to a set of published e-commerce images for the Item.
4191
4233
image_ids:
4192
4234
type: optional<nullable<list<string>>>
4193
4235
docs: |-
@@ -4287,6 +4329,9 @@ types:
4287
4329
reporting_category:
4288
4330
type: optional<CatalogObjectCategory>
4289
4331
docs: The item's reporting category.
4332
+ is_alcoholic:
4333
+ type: optional<nullable<boolean>>
4334
+ docs: Indicates whether this item is alcoholic (`true`) or not (`false`).
4290
4335
source:
4291
4336
openapi: openapi/openapi.json
4292
4337
CatalogItemFoodAndBeverageDetails:
@@ -5129,6 +5174,8 @@ types:
5129
5174
CHECKOUT_LINK: CatalogObjectCheckoutLink
5130
5175
ADDRESS: CatalogObjectAddress
5131
5176
SUBSCRIPTION_PRODUCT: CatalogObjectSubscriptionProduct
5177
+ SUBSCRIPTION_PLAN_VARIATION: CatalogObjectSubscriptionPlanVariation
5178
+ AVAILABILITY_PERIOD: CatalogObjectAvailabilityPeriod
5132
5179
source:
5133
5180
openapi: openapi/openapi.json
5134
5181
CatalogObjectBatch:
@@ -6156,6 +6203,43 @@ types:
6156
6203
SubscriptionPlan.
6157
6204
source:
6158
6205
openapi: openapi/openapi.json
6206
+ CatalogSubscriptionPlanVariation:
6207
+ docs: >-
6208
+ Describes a subscription plan variation. A subscription plan variation
6209
+ represents how the subscription for a product or service is sold.
6210
+
6211
+ For more information, see [Subscription Plans and
6212
+ Variations](https://developer.squareup.com/docs/subscriptions-api/plans-and-variations).
6213
+ properties:
6214
+ name:
6215
+ type: string
6216
+ docs: The name of the plan variation.
6217
+ phases:
6218
+ docs: >-
6219
+ A list containing each [SubscriptionPhase](entity:SubscriptionPhase)
6220
+ for this plan variation.
6221
+ type: list<SubscriptionPhase>
6222
+ subscription_plan_id:
6223
+ type: optional<nullable<string>>
6224
+ docs: The id of the subscription plan, if there is one.
6225
+ monthly_billing_anchor_date:
6226
+ type: optional<nullable<long>>
6227
+ docs: The day of the month the billing period starts.
6228
+ can_prorate:
6229
+ type: optional<nullable<boolean>>
6230
+ docs: Whether bills for this plan variation can be split for proration.
6231
+ successor_plan_variation_id:
6232
+ type: optional<nullable<string>>
6233
+ docs: >-
6234
+ The ID of a "successor" plan variation to this one. If the field is
6235
+ set, and this object is disabled at all
6236
+
6237
+ locations, it indicates that this variation is deprecated and the
6238
+ object identified by the successor ID be used in
6239
+
6240
+ its stead.
6241
+ source:
6242
+ openapi: openapi/openapi.json
6159
6243
CatalogTax:
6160
6244
docs: A tax applicable to an item.
6161
6245
properties:
@@ -13464,12 +13548,20 @@ types:
13464
13548
public_url:
13465
13549
type: optional<string>
13466
13550
docs: >-
13467
- The URL of the Square-hosted invoice page.
13551
+ A temporary link to the Square-hosted payment page where the customer
13552
+ can pay the
13553
+
13554
+ invoice. If the link expires, customers can provide the email address
13555
+ or phone number
13556
+
13557
+ associated with the invoice and request a new link directly from the
13558
+ expired payment page.
13468
13559
13469
- After you publish the invoice using the `PublishInvoice` endpoint,
13470
- Square hosts the invoice
13471
13560
13472
- page and returns the page URL in the response.
13561
+ This field is added after the invoice is published and reaches the
13562
+ scheduled date
13563
+
13564
+ (if one is defined).
13473
13565
access: read-only
13474
13566
next_payment_amount_money:
13475
13567
type: optional<Money>
@@ -14181,7 +14273,7 @@ types:
14181
14273
- CANCELED
14182
14274
- FAILED
14183
14275
- PAYMENT_PENDING
14184
- docs: Indicates the status of an invoice.
14276
+ docs: Indicates the status of an [ invoice](entity:Invoice) .
14185
14277
source:
14186
14278
openapi: openapi/openapi.json
14187
14279
ItemVariationLocationOverrides:
@@ -20691,9 +20783,10 @@ types:
20691
20783
type: optional<nullable<boolean>>
20692
20784
docs: >-
20693
20785
Indicates whether the `Payment` objects created from this
20694
- `TerminalCheckout` are automatically
20786
+ `TerminalCheckout` are
20695
20787
20696
- `COMPLETED` or left in an `APPROVED` state for later modification.
20788
+ automatically `COMPLETED` or left in an `APPROVED` state for later
20789
+ modification.
20697
20790
20698
20791
20699
20792
Default: true
@@ -25001,9 +25094,7 @@ types:
25001
25094
docs: The reference to the Square order ID for the checkout request.
25002
25095
payment_options:
25003
25096
type: optional<PaymentOptions>
25004
- docs: >-
25005
- Payment-specific options for the checkout request. Supported only in
25006
- the US.
25097
+ docs: Payment-specific options for the checkout request.
25007
25098
device_options:
25008
25099
type: DeviceCheckoutOptions
25009
25100
docs: >-
@@ -25114,9 +25205,6 @@ types:
25114
25205
To set this field, PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS OAuth
25115
25206
permission is required. For more information, see
25116
25207
[Permissions](https://developer.squareup.com/docs/payments-api/take-payments-and-collect-fees#permissions).
25117
-
25118
-
25119
- Supported only in the US.
25120
25208
statement_description_identifier:
25121
25209
type: optional<nullable<string>>
25122
25210
docs: >-
@@ -25126,8 +25214,7 @@ types:
25126
25214
part of the statement description. This can be, for example, an
25127
25215
invoice number, ticket number,
25128
25216
25129
- or short description that uniquely identifies the purchase. Supported
25130
- only in the US.
25217
+ or short description that uniquely identifies the purchase.
25131
25218
validation:
25132
25219
maxLength: 20
25133
25220
tip_money:
@@ -25137,9 +25224,7 @@ types:
25137
25224
may only be set for a
25138
25225
25139
25226
checkout that has tipping disabled (`tip_settings.allow_tipping` is
25140
- `false`). Supported only in
25141
-
25142
- the US.
25227
+ `false`).
25143
25228
source:
25144
25229
openapi: openapi/openapi.json
25145
25230
TerminalCheckoutQuery:
@@ -26939,6 +27024,28 @@ types:
26939
27024
- CatalogObjectBase
26940
27025
source:
26941
27026
openapi: openapi/openapi.json
27027
+ CatalogObjectSubscriptionPlanVariation:
27028
+ properties:
27029
+ subscription_plan_variation_data:
27030
+ type: optional<CatalogSubscriptionPlanVariation>
27031
+ docs: >-
27032
+ Structured data for a `CatalogSubscriptionPlanVariation`, set for
27033
+ CatalogObjects of type `SUBSCRIPTION_PLAN_VARIATION`.
27034
+ extends:
27035
+ - CatalogObjectBase
27036
+ source:
27037
+ openapi: openapi/openapi.json
27038
+ CatalogObjectAvailabilityPeriod:
27039
+ properties:
27040
+ availability_period_data:
27041
+ type: optional<CatalogAvailabilityPeriod>
27042
+ docs: >-
27043
+ Structured data for a `CatalogAvailabilityPeriod`, set for
27044
+ CatalogObjects of type `AVAILABILITY_PERIOD`.
27045
+ extends:
27046
+ - CatalogObjectBase
27047
+ source:
27048
+ openapi: openapi/openapi.json
26942
27049
CatalogObjectComponent:
26943
27050
properties: {}
26944
27051
extends:
0 commit comments