Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 32 additions & 18 deletions .mock/definition/__package__.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4220,6 +4220,16 @@ types:
variations in a specified order.

Maximum: 6 item options.
ecom_uri:
type: optional<nullable<string>>
docs: >-
Deprecated; see go/ecomUriUseCases. A URI pointing to a published
e-commerce product page for the Item.
ecom_image_uris:
type: optional<nullable<list<string>>>
docs: >-
Deprecated; see go/ecomUriUseCases. A comma-separated list of encoded
URIs pointing to a set of published e-commerce images for the Item.
image_ids:
type: optional<nullable<list<string>>>
docs: |-
Expand Down Expand Up @@ -4319,6 +4329,9 @@ types:
reporting_category:
type: optional<CatalogObjectCategory>
docs: The item's reporting category.
is_alcoholic:
type: optional<nullable<boolean>>
docs: Indicates whether this item is alcoholic (`true`) or not (`false`).
source:
openapi: openapi/openapi.json
CatalogItemFoodAndBeverageDetails:
Expand Down Expand Up @@ -13535,12 +13548,20 @@ types:
public_url:
type: optional<string>
docs: >-
The URL of the Square-hosted invoice page.
A temporary link to the Square-hosted payment page where the customer
can pay the

invoice. If the link expires, customers can provide the email address
or phone number

After you publish the invoice using the `PublishInvoice` endpoint,
Square hosts the invoice
associated with the invoice and request a new link directly from the
expired payment page.

page and returns the page URL in the response.

This field is added after the invoice is published and reaches the
scheduled date

(if one is defined).
access: read-only
next_payment_amount_money:
type: optional<Money>
Expand Down Expand Up @@ -14252,7 +14273,7 @@ types:
- CANCELED
- FAILED
- PAYMENT_PENDING
docs: Indicates the status of an invoice.
docs: Indicates the status of an [invoice](entity:Invoice).
source:
openapi: openapi/openapi.json
ItemVariationLocationOverrides:
Expand Down Expand Up @@ -20762,9 +20783,10 @@ types:
type: optional<nullable<boolean>>
docs: >-
Indicates whether the `Payment` objects created from this
`TerminalCheckout` are automatically
`TerminalCheckout` are

`COMPLETED` or left in an `APPROVED` state for later modification.
automatically `COMPLETED` or left in an `APPROVED` state for later
modification.


Default: true
Expand Down Expand Up @@ -25072,9 +25094,7 @@ types:
docs: The reference to the Square order ID for the checkout request.
payment_options:
type: optional<PaymentOptions>
docs: >-
Payment-specific options for the checkout request. Supported only in
the US.
docs: Payment-specific options for the checkout request.
device_options:
type: DeviceCheckoutOptions
docs: >-
Expand Down Expand Up @@ -25185,9 +25205,6 @@ types:
To set this field, PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS OAuth
permission is required. For more information, see
[Permissions](https://developer.squareup.com/docs/payments-api/take-payments-and-collect-fees#permissions).


Supported only in the US.
statement_description_identifier:
type: optional<nullable<string>>
docs: >-
Expand All @@ -25197,8 +25214,7 @@ types:
part of the statement description. This can be, for example, an
invoice number, ticket number,

or short description that uniquely identifies the purchase. Supported
only in the US.
or short description that uniquely identifies the purchase.
validation:
maxLength: 20
tip_money:
Expand All @@ -25208,9 +25224,7 @@ types:
may only be set for a

checkout that has tipping disabled (`tip_settings.allow_tipping` is
`false`). Supported only in

the US.
`false`).
source:
openapi: openapi/openapi.json
TerminalCheckoutQuery:
Expand Down
2 changes: 1 addition & 1 deletion .mock/definition/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ headers:
Square-Version:
name: version
env: VERSION
type: literal<"2025-03-19">
type: literal<"2025-04-16">
auth-schemes:
Bearer:
scheme: bearer
Expand Down
2 changes: 1 addition & 1 deletion .mock/definition/catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ service:
body:
properties:
object_ids:
type: optional<nullable<list<string>>>
docs: >-
The IDs of the CatalogObjects to be deleted. When an object is
deleted, other objects
Expand All @@ -58,6 +57,7 @@ service:
(for example, deleting a

CatalogItem will delete its CatalogItemVariation.
type: list<string>
content-type: application/json
response:
docs: Success
Expand Down
8 changes: 8 additions & 0 deletions .mock/definition/catalog/object.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ service:
skip_modifier_screen: true
item_options:
- {}
ecom_uri: ecom_uri
ecom_image_uris:
- ecom_image_uris
image_ids:
- image_ids
sort_name: sort_name
Expand All @@ -119,6 +122,7 @@ service:
channels:
- channels
is_archived: true
is_alcoholic: true
type: ITEM
id_mappings:
- client_object_id: '#Cocoa'
Expand Down Expand Up @@ -269,6 +273,9 @@ service:
skip_modifier_screen: true
item_options:
- {}
ecom_uri: ecom_uri
ecom_image_uris:
- ecom_image_uris
image_ids:
- image_ids
sort_name: sort_name
Expand All @@ -277,6 +284,7 @@ service:
channels:
- channels
is_archived: true
is_alcoholic: true
type: ITEM
related_objects:
- id: id
Expand Down
8 changes: 5 additions & 3 deletions .mock/definition/invoices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ service:
title: title
description: description
scheduled_at: scheduled_at
public_url: https://squareup.com/pay-invoice/h9sfsfTGTSnYEhISUDBhEQ
public_url: >-
https://squareup.com/pay-invoice/invtmp:5e22a2c2-47c1-46d6-b061-808764dfe2b9
next_payment_amount_money:
amount: 3000
currency: USD
Expand Down Expand Up @@ -508,7 +509,8 @@ service:
title: title
description: description
scheduled_at: scheduled_at
public_url: https://squareup.com/pay-invoice/h9sfsfTGTSnYEhISUDBhEQ
public_url: >-
https://squareup.com/pay-invoice/invtmp:5e22a2c2-47c1-46d6-b061-808764dfe2b9
next_payment_amount_money:
amount: 3000
currency: USD
Expand Down Expand Up @@ -1148,7 +1150,7 @@ service:
description: We appreciate your business!
scheduled_at: '2030-01-13T10:00:00Z'
public_url: >-
https://squareup.com/pay-invoice/inv:0-ChCHu2mZEabLeeHahQnXDjZQECY
https://squareup.com/pay-invoice/invtmp:5e22a2c2-47c1-46d6-b061-808764dfe2b9
next_payment_amount_money:
amount: 1000000
currency: UNKNOWN_CURRENCY
Expand Down
2 changes: 1 addition & 1 deletion .mock/fern.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"organization" : "square",
"version" : "0.57.11"
"version" : "0.57.17"
}
Loading
Loading