Skip to content

Commit 51730d5

Browse files
authored
Merge pull request #179 from square/fern-bot/04-16-2025-0347PM
🌿 Fern Regeneration -- April 16, 2025
2 parents ce9f1a1 + 9966736 commit 51730d5

File tree

91 files changed

+1203
-1149
lines changed

Some content is hidden

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

91 files changed

+1203
-1149
lines changed

.mock/definition/__package__.yml

Lines changed: 32 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4220,6 +4220,16 @@ types:
42204220
variations in a specified order.
42214221

42224222
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.
42234233
image_ids:
42244234
type: optional<nullable<list<string>>>
42254235
docs: |-
@@ -4319,6 +4329,9 @@ types:
43194329
reporting_category:
43204330
type: optional<CatalogObjectCategory>
43214331
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`).
43224335
source:
43234336
openapi: openapi/openapi.json
43244337
CatalogItemFoodAndBeverageDetails:
@@ -13535,12 +13548,20 @@ types:
1353513548
public_url:
1353613549
type: optional<string>
1353713550
docs: >-
13538-
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
1353913556

13540-
After you publish the invoice using the `PublishInvoice` endpoint,
13541-
Square hosts the invoice
13557+
associated with the invoice and request a new link directly from the
13558+
expired payment page.
1354213559

13543-
page and returns the page URL in the response.
13560+
13561+
This field is added after the invoice is published and reaches the
13562+
scheduled date
13563+
13564+
(if one is defined).
1354413565
access: read-only
1354513566
next_payment_amount_money:
1354613567
type: optional<Money>
@@ -14252,7 +14273,7 @@ types:
1425214273
- CANCELED
1425314274
- FAILED
1425414275
- PAYMENT_PENDING
14255-
docs: Indicates the status of an invoice.
14276+
docs: Indicates the status of an [invoice](entity:Invoice).
1425614277
source:
1425714278
openapi: openapi/openapi.json
1425814279
ItemVariationLocationOverrides:
@@ -20762,9 +20783,10 @@ types:
2076220783
type: optional<nullable<boolean>>
2076320784
docs: >-
2076420785
Indicates whether the `Payment` objects created from this
20765-
`TerminalCheckout` are automatically
20786+
`TerminalCheckout` are
2076620787

20767-
`COMPLETED` or left in an `APPROVED` state for later modification.
20788+
automatically `COMPLETED` or left in an `APPROVED` state for later
20789+
modification.
2076820790

2076920791

2077020792
Default: true
@@ -25072,9 +25094,7 @@ types:
2507225094
docs: The reference to the Square order ID for the checkout request.
2507325095
payment_options:
2507425096
type: optional<PaymentOptions>
25075-
docs: >-
25076-
Payment-specific options for the checkout request. Supported only in
25077-
the US.
25097+
docs: Payment-specific options for the checkout request.
2507825098
device_options:
2507925099
type: DeviceCheckoutOptions
2508025100
docs: >-
@@ -25185,9 +25205,6 @@ types:
2518525205
To set this field, PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS OAuth
2518625206
permission is required. For more information, see
2518725207
[Permissions](https://developer.squareup.com/docs/payments-api/take-payments-and-collect-fees#permissions).
25188-
25189-
25190-
Supported only in the US.
2519125208
statement_description_identifier:
2519225209
type: optional<nullable<string>>
2519325210
docs: >-
@@ -25197,8 +25214,7 @@ types:
2519725214
part of the statement description. This can be, for example, an
2519825215
invoice number, ticket number,
2519925216

25200-
or short description that uniquely identifies the purchase. Supported
25201-
only in the US.
25217+
or short description that uniquely identifies the purchase.
2520225218
validation:
2520325219
maxLength: 20
2520425220
tip_money:
@@ -25208,9 +25224,7 @@ types:
2520825224
may only be set for a
2520925225

2521025226
checkout that has tipping disabled (`tip_settings.allow_tipping` is
25211-
`false`). Supported only in
25212-
25213-
the US.
25227+
`false`).
2521425228
source:
2521525229
openapi: openapi/openapi.json
2521625230
TerminalCheckoutQuery:

.mock/definition/api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ headers:
1010
Square-Version:
1111
name: version
1212
env: VERSION
13-
type: literal<"2025-03-19">
13+
type: literal<"2025-04-16">
1414
auth-schemes:
1515
Bearer:
1616
scheme: bearer

.mock/definition/catalog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ service:
4949
body:
5050
properties:
5151
object_ids:
52-
type: optional<nullable<list<string>>>
5352
docs: >-
5453
The IDs of the CatalogObjects to be deleted. When an object is
5554
deleted, other objects
@@ -58,6 +57,7 @@ service:
5857
(for example, deleting a
5958
6059
CatalogItem will delete its CatalogItemVariation.
60+
type: list<string>
6161
content-type: application/json
6262
response:
6363
docs: Success

.mock/definition/catalog/object.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ service:
111111
skip_modifier_screen: true
112112
item_options:
113113
- {}
114+
ecom_uri: ecom_uri
115+
ecom_image_uris:
116+
- ecom_image_uris
114117
image_ids:
115118
- image_ids
116119
sort_name: sort_name
@@ -119,6 +122,7 @@ service:
119122
channels:
120123
- channels
121124
is_archived: true
125+
is_alcoholic: true
122126
type: ITEM
123127
id_mappings:
124128
- client_object_id: '#Cocoa'
@@ -269,6 +273,9 @@ service:
269273
skip_modifier_screen: true
270274
item_options:
271275
- {}
276+
ecom_uri: ecom_uri
277+
ecom_image_uris:
278+
- ecom_image_uris
272279
image_ids:
273280
- image_ids
274281
sort_name: sort_name
@@ -277,6 +284,7 @@ service:
277284
channels:
278285
- channels
279286
is_archived: true
287+
is_alcoholic: true
280288
type: ITEM
281289
related_objects:
282290
- id: id

.mock/definition/invoices.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ service:
160160
title: title
161161
description: description
162162
scheduled_at: scheduled_at
163-
public_url: https://squareup.com/pay-invoice/h9sfsfTGTSnYEhISUDBhEQ
163+
public_url: >-
164+
https://squareup.com/pay-invoice/invtmp:5e22a2c2-47c1-46d6-b061-808764dfe2b9
164165
next_payment_amount_money:
165166
amount: 3000
166167
currency: USD
@@ -508,7 +509,8 @@ service:
508509
title: title
509510
description: description
510511
scheduled_at: scheduled_at
511-
public_url: https://squareup.com/pay-invoice/h9sfsfTGTSnYEhISUDBhEQ
512+
public_url: >-
513+
https://squareup.com/pay-invoice/invtmp:5e22a2c2-47c1-46d6-b061-808764dfe2b9
512514
next_payment_amount_money:
513515
amount: 3000
514516
currency: USD
@@ -1148,7 +1150,7 @@ service:
11481150
description: We appreciate your business!
11491151
scheduled_at: '2030-01-13T10:00:00Z'
11501152
public_url: >-
1151-
https://squareup.com/pay-invoice/inv:0-ChCHu2mZEabLeeHahQnXDjZQECY
1153+
https://squareup.com/pay-invoice/invtmp:5e22a2c2-47c1-46d6-b061-808764dfe2b9
11521154
next_payment_amount_money:
11531155
amount: 1000000
11541156
currency: UNKNOWN_CURRENCY

.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.57.11"
3+
"version" : "0.57.17"
44
}

0 commit comments

Comments
 (0)