@shopify/ui-extensions 2026.10.0 → 2026.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/shared.d.ts +17 -11
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +0 -2
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/events/transaction-complete-event.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/events/transaction-complete-event.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/surfaces/checkout/api/redeemable/redeemable.ts +1 -1
- package/src/surfaces/checkout/api/shared.ts +17 -11
- package/src/surfaces/checkout/api/standard/standard.ts +0 -2
- package/src/surfaces/customer-account/api/order-status/order-status.ts +1 -1
- package/src/surfaces/point-of-sale/events/transaction-complete-event.ts +8 -0
- package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +8 -0
package/package.json
CHANGED
|
@@ -51,7 +51,7 @@ export interface RedeemableAddChange {
|
|
|
51
51
|
attributes: RedeemableAttribute[];
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* The identifier used to represent the redeemable
|
|
54
|
+
* The identifier used to represent the redeemable, for example the gift card code.
|
|
55
55
|
*/
|
|
56
56
|
identifier: string;
|
|
57
57
|
}
|
|
@@ -113,7 +113,7 @@ export interface AddressLineComponents {
|
|
|
113
113
|
streetNumber?: string;
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
|
-
* Additional address information
|
|
116
|
+
* Additional address information, for example an apartment, suite, or unit.
|
|
117
117
|
*
|
|
118
118
|
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
119
119
|
*
|
|
@@ -122,7 +122,7 @@ export interface AddressLineComponents {
|
|
|
122
122
|
additionalInformation?: string;
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
|
-
* A regional or city subdivision (
|
|
125
|
+
* A regional or city subdivision (for example, county, metropolitan region,
|
|
126
126
|
* neighborhood, ward).
|
|
127
127
|
*
|
|
128
128
|
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
@@ -209,15 +209,21 @@ export interface MailingAddress {
|
|
|
209
209
|
address2?: string;
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
|
-
* The
|
|
213
|
-
*
|
|
214
|
-
*
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
* components
|
|
220
|
-
* the
|
|
212
|
+
* The parts of `address1` and `address2`, such as street name, street
|
|
213
|
+
* number and apartment. The value is `undefined` if the country doesn't
|
|
214
|
+
* store address components or none have been entered. `address1` and
|
|
215
|
+
* `address2` are still provided alongside them.
|
|
216
|
+
*
|
|
217
|
+
* Writable through `applyShippingAddressChange`, which doesn't check the
|
|
218
|
+
* components against `Country.acceptedAddressInputFields`. For each street
|
|
219
|
+
* line, changed components always win over the line, and the line is
|
|
220
|
+
* rebuilt from them. Components that match the current address count as
|
|
221
|
+
* unchanged. In countries that store components, an edited line wins over
|
|
222
|
+
* unchanged components, so an extension can spread the address it read and
|
|
223
|
+
* correct only `address1`. If the country accepts components but doesn't
|
|
224
|
+
* store them, the line is built from the components and only the line is
|
|
225
|
+
* saved. If the country's address format has no components, a change that
|
|
226
|
+
* includes them is rejected.
|
|
221
227
|
*
|
|
222
228
|
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
223
229
|
*
|
|
@@ -452,8 +452,6 @@ export interface Localization {
|
|
|
452
452
|
* changes the country of their shipping address. The value is
|
|
453
453
|
* `undefined` if the market is unknown.
|
|
454
454
|
*
|
|
455
|
-
* > Caution: This `market` field is deprecated and will be removed in a future version of the API.
|
|
456
|
-
*
|
|
457
455
|
* @deprecated This `market` field will be removed in a future version of the API.
|
|
458
456
|
*/
|
|
459
457
|
market: SubscribableSignalLike<Market | undefined>;
|
|
@@ -1032,7 +1032,7 @@ export interface PaymentTermsTemplate {
|
|
|
1032
1032
|
*/
|
|
1033
1033
|
id: string;
|
|
1034
1034
|
/**
|
|
1035
|
-
* The name of the payment terms translated to the buyer's current language, such as "Net 30" or "Due on receipt". See [localization.language](/docs/api/customer-account-ui-extensions/{API_VERSION}/apis/localization#
|
|
1035
|
+
* The name of the payment terms translated to the buyer's current language, such as "Net 30" or "Due on receipt". See [localization.language](/docs/api/customer-account-ui-extensions/{API_VERSION}/target-apis/platform-apis/localization-api#docsstandardlocalizationapi-propertydetail-localization).
|
|
1036
1036
|
*/
|
|
1037
1037
|
name: string;
|
|
1038
1038
|
/**
|
|
@@ -17,6 +17,10 @@ interface BaseTransactionCompleteEvent {
|
|
|
17
17
|
* The unique numeric identifier for the Shopify order created by this transaction. This ID links the POS transaction to the order record in Shopify's system and can be used for order lookups, tracking, and API operations. Returns `undefined` when order creation is pending.
|
|
18
18
|
*/
|
|
19
19
|
readonly orderId?: number;
|
|
20
|
+
/**
|
|
21
|
+
* The source identifier POS assigned to this transaction. Matches the `sourceIdentifier` of the order this transaction belongs to. Returns `undefined` when POS didn't assign one.
|
|
22
|
+
*/
|
|
23
|
+
readonly sourceIdentifier?: string;
|
|
20
24
|
/**
|
|
21
25
|
* The customer information if this transaction is associated with a customer account. Contains the customer ID for linking to customer records. Returns `undefined` for guest transactions where no customer was selected or when the transaction doesn't support customer association.
|
|
22
26
|
*/
|
|
@@ -29,6 +33,10 @@ interface BaseTransactionCompleteEvent {
|
|
|
29
33
|
* The total tax amount charged on this transaction as a `Money` object. This is the sum of all tax lines and represents the combined tax from all applicable tax jurisdictions and rules. Tax calculations are based on the location, products, customer, and tax settings configured in Shopify.
|
|
30
34
|
*/
|
|
31
35
|
readonly taxTotal: Money;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the prices in this transaction include taxes (tax-inclusive pricing), rather than taxes being added on top. Matches the `taxesIncluded` field on the `Order` object in the GraphQL Admin API. Returns `undefined` when this information isn't available.
|
|
38
|
+
*/
|
|
39
|
+
readonly taxesIncluded?: boolean;
|
|
32
40
|
/**
|
|
33
41
|
* The subtotal amount before taxes and after discounts are applied, as a `Money` object. This represents the sum of all line item prices (quantity × unit price) minus any discounts, but before tax is added. This is the taxable base amount for most tax calculations.
|
|
34
42
|
*/
|
|
@@ -19,6 +19,10 @@ export interface BaseTransactionComplete {
|
|
|
19
19
|
* The unique numeric identifier for the Shopify order created by this transaction. This ID links the POS transaction to the order record in Shopify's system and can be used for order lookups, tracking, and API operations. Returns `undefined` for transactions that don't create orders (for example, reprints) or when order creation is pending.
|
|
20
20
|
*/
|
|
21
21
|
orderId?: number;
|
|
22
|
+
/**
|
|
23
|
+
* The source identifier POS assigned to this transaction. Matches the `sourceIdentifier` of the order this transaction belongs to. Returns `undefined` when POS didn't assign one.
|
|
24
|
+
*/
|
|
25
|
+
sourceIdentifier?: string;
|
|
22
26
|
/**
|
|
23
27
|
* The customer information if this transaction is associated with a customer account. Contains the customer ID for linking to customer records. Returns `undefined` for guest transactions where no customer was selected or when the transaction doesn't support customer association.
|
|
24
28
|
*/
|
|
@@ -31,6 +35,10 @@ export interface BaseTransactionComplete {
|
|
|
31
35
|
* The total tax amount charged on this transaction as a `Money` object. This is the sum of all tax lines and represents the combined tax from all applicable tax jurisdictions and rules. Tax calculations are based on the location, products, customer, and tax settings configured in Shopify.
|
|
32
36
|
*/
|
|
33
37
|
taxTotal: Money;
|
|
38
|
+
/**
|
|
39
|
+
* Whether the prices in this transaction include taxes (tax-inclusive pricing), rather than taxes being added on top. Matches the `taxesIncluded` field on the `Order` object in the GraphQL Admin API. Returns `undefined` when this information isn't available.
|
|
40
|
+
*/
|
|
41
|
+
taxesIncluded?: boolean;
|
|
34
42
|
/**
|
|
35
43
|
* The subtotal amount before taxes and after discounts are applied, as a `Money` object. This represents the sum of all line item prices (quantity × unit price) minus any discounts, but before tax is added. This is the taxable base amount for most tax calculations.
|
|
36
44
|
*/
|