@shopify/ui-extensions 2023.4.2 → 2023.7.0
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/README.md +1 -1
- package/build/cjs/surfaces/admin/components/ResourceItem/ResourceItem.js +14 -0
- package/build/cjs/surfaces/admin/components/ResourceList/ResourceList.js +15 -0
- package/build/cjs/surfaces/admin/components/Thumbnail/Thumbnail.js +12 -0
- package/build/cjs/surfaces/admin.js +6 -0
- package/build/cjs/surfaces/checkout/extension.js +7 -28
- package/build/cjs/surfaces/checkout.js +0 -1
- package/build/esm/surfaces/admin/components/ResourceItem/ResourceItem.mjs +10 -0
- package/build/esm/surfaces/admin/components/ResourceList/ResourceList.mjs +11 -0
- package/build/esm/surfaces/admin/components/Thumbnail/Thumbnail.mjs +8 -0
- package/build/esm/surfaces/admin.mjs +3 -0
- package/build/esm/surfaces/checkout/extension.mjs +7 -27
- package/build/esm/surfaces/checkout.mjs +1 -1
- package/build/esnext/surfaces/admin/components/ResourceItem/ResourceItem.esnext +10 -0
- package/build/esnext/surfaces/admin/components/ResourceList/ResourceList.esnext +11 -0
- package/build/esnext/surfaces/admin/components/Thumbnail/Thumbnail.esnext +8 -0
- package/build/esnext/surfaces/admin.esnext +3 -0
- package/build/esnext/surfaces/checkout/extension.esnext +7 -27
- package/build/esnext/surfaces/checkout.esnext +1 -1
- package/build/ts/api.d.ts +0 -15
- package/build/ts/api.d.ts.map +1 -1
- package/build/ts/extension.d.ts +0 -3
- package/build/ts/extension.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/action/action.d.ts +5 -2
- package/build/ts/surfaces/admin/api/action/action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/block/block.d.ts +10 -0
- package/build/ts/surfaces/admin/api/block/block.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/block/block.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/block/block.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts +45 -0
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts +46 -0
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/shared.d.ts +9 -0
- package/build/ts/surfaces/admin/api/shared.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +18 -2
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api.d.ts +4 -1
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Checkbox/Checkbox.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Form/Form.d.ts +0 -10
- package/build/ts/surfaces/admin/components/Form/Form.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/HeadingGroup/HeadingGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ResourceItem/ResourceItem.d.ts +17 -0
- package/build/ts/surfaces/admin/components/ResourceItem/ResourceItem.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ResourceList/ResourceList.d.ts +26 -0
- package/build/ts/surfaces/admin/components/ResourceList/ResourceList.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.d.ts +19 -0
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components.d.ts +6 -0
- package/build/ts/surfaces/admin/components.d.ts.map +1 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts +10 -4
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +9 -0
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +67 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/{payment-method/render.d.ts → payment/payment-option-item.d.ts} +2 -2
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/pickup/{pickup-points.d.ts → pickup-location-list.d.ts} +3 -3
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/pickup/{pickup-locations.d.ts → pickup-point-list.d.ts} +3 -3
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/redeemable/{render.d.ts → redeemable.d.ts} +2 -2
- package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/shared.d.ts +91 -1
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/{shipping-method-details.d.ts → shipping-option-item.d.ts} +4 -4
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +171 -171
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api.d.ts +9 -9
- package/build/ts/surfaces/checkout/api.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/TextField/TextField.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/shared.d.ts +11 -2
- package/build/ts/surfaces/checkout/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/extension.d.ts +7 -28
- package/build/ts/surfaces/checkout/extension.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/globals.d.ts +2 -2
- package/build/ts/surfaces/checkout/globals.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets.d.ts +411 -0
- package/build/ts/surfaces/checkout/targets.d.ts.map +1 -0
- package/build/ts/surfaces/checkout.d.ts +1 -1
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +9 -0
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +1212 -0
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/api/shared.d.ts +126 -0
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/api.d.ts +4 -0
- package/build/ts/surfaces/customer-account/api.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/extension.d.ts +16 -0
- package/build/ts/surfaces/customer-account/extension.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/globals.d.ts +11 -0
- package/build/ts/surfaces/customer-account/globals.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/targets.d.ts +78 -0
- package/build/ts/surfaces/customer-account/targets.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account.d.ts +8 -0
- package/build/ts/surfaces/customer-account.d.ts.map +1 -0
- package/build/ts/utilities/registration.d.ts +5 -5
- package/build/ts/utilities/registration.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +17 -8
- package/src/api.ts +0 -18
- package/src/extension.ts +0 -4
- package/src/surfaces/admin/api/action/action.ts +6 -4
- package/src/surfaces/admin/api/block/block.doc.ts +20 -0
- package/src/surfaces/admin/api/block/block.ts +11 -0
- package/src/surfaces/admin/api/product-configuration/product-details-configuration.ts +49 -0
- package/src/surfaces/admin/api/product-configuration/product-variant-details-configuration.ts +50 -0
- package/src/surfaces/admin/api/shared.ts +6 -0
- package/src/surfaces/admin/api/standard/standard.ts +20 -8
- package/src/surfaces/admin/api.ts +4 -1
- package/src/surfaces/admin/components/Checkbox/Checkbox.doc.ts +1 -7
- package/src/surfaces/admin/components/Form/Form.doc.ts +0 -5
- package/src/surfaces/admin/components/Form/Form.ts +0 -12
- package/src/surfaces/admin/components/HeadingGroup/HeadingGroup.doc.ts +0 -7
- package/src/surfaces/admin/components/ResourceItem/ResourceItem.ts +19 -0
- package/src/surfaces/admin/components/ResourceItem/examples/basic-ResourceItem.example.ts +22 -0
- package/src/surfaces/admin/components/ResourceList/ResourceList.ts +30 -0
- package/src/surfaces/admin/components/ResourceList/examples/basic-ResourceList.example.ts +29 -0
- package/src/surfaces/admin/components/Select/Select.doc.ts +1 -7
- package/src/surfaces/admin/components/Thumbnail/Thumbnail.ts +31 -0
- package/src/surfaces/admin/components/Thumbnail/examples/basic-Thumbnail.example.ts +13 -0
- package/src/surfaces/admin/components.ts +6 -0
- package/src/surfaces/admin/extension-targets.ts +38 -3
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +10 -0
- package/src/surfaces/checkout/api/checkout/checkout.ts +83 -1
- package/src/surfaces/checkout/api/{payment-method/render.ts → payment/payment-option-item.ts} +1 -1
- package/src/surfaces/checkout/api/pickup/{pickup-points.ts → pickup-location-list.ts} +2 -2
- package/src/surfaces/checkout/api/pickup/{pickup-locations.ts → pickup-point-list.ts} +2 -2
- package/src/surfaces/checkout/api/redeemable/{render.ts → redeemable.ts} +1 -1
- package/src/surfaces/checkout/api/shared.ts +103 -0
- package/src/surfaces/checkout/api/shipping/{shipping-method-details.ts → shipping-option-item.ts} +3 -3
- package/src/surfaces/checkout/api/standard/README.md +12 -10
- package/src/surfaces/checkout/api/standard/standard.ts +180 -187
- package/src/surfaces/checkout/api.ts +18 -10
- package/src/surfaces/checkout/components/Banner/examples/basic-banner.example.ts +1 -1
- package/src/surfaces/checkout/components/BlockLayout/examples/basic-blockLayout.example.ts +1 -1
- package/src/surfaces/checkout/components/BlockLayout/examples/basic-blocklayout.example.ts +1 -1
- package/src/surfaces/checkout/components/BlockSpacer/examples/basic-blockspacer.example.ts +1 -1
- package/src/surfaces/checkout/components/BlockStack/examples/basic-blockstack.example.ts +1 -1
- package/src/surfaces/checkout/components/Button/examples/basic-button.example.ts +1 -1
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.ts +1 -1
- package/src/surfaces/checkout/components/Choice/examples/basic-choice.example.ts +1 -1
- package/src/surfaces/checkout/components/ChoiceList/examples/basic-choicelist.example.ts +1 -1
- package/src/surfaces/checkout/components/DateField/examples/basic-datefield.example.ts +1 -1
- package/src/surfaces/checkout/components/DatePicker/examples/basic-datepicker.example.ts +1 -1
- package/src/surfaces/checkout/components/Disclosure/examples/basic-disclosure.example.ts +1 -1
- package/src/surfaces/checkout/components/Divider/examples/basic-divider.example.ts +1 -1
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.ts +1 -1
- package/src/surfaces/checkout/components/Grid/examples/basic-grid.example.ts +1 -1
- package/src/surfaces/checkout/components/GridItem/examples/basic-griditem.example.ts +1 -1
- package/src/surfaces/checkout/components/Heading/examples/basic-heading.example.ts +1 -1
- package/src/surfaces/checkout/components/HeadingGroup/examples/basic-headinggroup.example.ts +1 -1
- package/src/surfaces/checkout/components/Icon/examples/basic-icon.example.ts +1 -1
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.ts +1 -1
- package/src/surfaces/checkout/components/InlineLayout/examples/basic-inlineLayout.example.ts +1 -1
- package/src/surfaces/checkout/components/InlineLayout/examples/basic-inlinelayout.example.ts +1 -1
- package/src/surfaces/checkout/components/InlineSpacer/examples/basic-inlinespacer.example.ts +1 -1
- package/src/surfaces/checkout/components/InlineStack/examples/basic-inlinestack.example.ts +1 -1
- package/src/surfaces/checkout/components/Link/examples/basic-link.example.ts +1 -1
- package/src/surfaces/checkout/components/List/examples/basic-list.example.ts +1 -1
- package/src/surfaces/checkout/components/ListItem/examples/basic-listitem.example.ts +1 -1
- package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.ts +1 -1
- package/src/surfaces/checkout/components/PhoneField/PhoneField.ts +1 -1
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.ts +1 -1
- package/src/surfaces/checkout/components/Popover/examples/basic-popover.example.ts +1 -1
- package/src/surfaces/checkout/components/Pressable/examples/basic-pressable.example.ts +1 -1
- package/src/surfaces/checkout/components/ScrollView/examples/basic-scrollview.example.ts +1 -1
- package/src/surfaces/checkout/components/Select/examples/basic-select.example.ts +1 -1
- package/src/surfaces/checkout/components/SkeletonImage/examples/basic-skeletonimage.example.ts +1 -1
- package/src/surfaces/checkout/components/SkeletonText/examples/basic-skeletontext.example.ts +1 -1
- package/src/surfaces/checkout/components/SkeletonTextBlock/examples/basic-skeletontextblock.example.ts +1 -1
- package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.ts +1 -1
- package/src/surfaces/checkout/components/Stepper/examples/basic-stepper.example.ts +1 -1
- package/src/surfaces/checkout/components/Tag/examples/basic-tag.example.ts +1 -1
- package/src/surfaces/checkout/components/Text/examples/basic-text.example.ts +1 -1
- package/src/surfaces/checkout/components/TextBlock/examples/basic-textblock.example.ts +1 -1
- package/src/surfaces/checkout/components/TextField/TextField.ts +1 -1
- package/src/surfaces/checkout/components/TextField/examples/basic-textfield.example.ts +1 -1
- package/src/surfaces/checkout/components/Tooltip/examples/basic-tooltip.example.ts +1 -1
- package/src/surfaces/checkout/components/View/examples/basic-view.example.ts +1 -1
- package/src/surfaces/checkout/components/shared.ts +22 -5
- package/src/surfaces/checkout/extension.ts +10 -56
- package/src/surfaces/checkout/globals.ts +7 -4
- package/src/surfaces/checkout/style/examples/style.example.ts +1 -1
- package/src/surfaces/checkout/style/examples/style.example.tsx +8 -2
- package/src/surfaces/checkout/targets.ts +701 -0
- package/src/surfaces/checkout.ts +1 -1
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +10 -0
- package/src/surfaces/customer-account/api/order-status/order-status.ts +1414 -0
- package/src/surfaces/customer-account/api/shared.ts +953 -0
- package/src/surfaces/customer-account/api.ts +66 -0
- package/src/surfaces/customer-account/extension.ts +21 -0
- package/src/surfaces/customer-account/globals.ts +18 -0
- package/src/surfaces/customer-account/targets.ts +116 -0
- package/src/surfaces/customer-account.ts +8 -0
- package/src/utilities/registration.ts +13 -12
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-details.d.ts +0 -9
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-details.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/api/payment-method/render.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-locations.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-points.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/api/redeemable/render.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-method-details.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/extension-points.d.ts +0 -220
- package/build/ts/surfaces/checkout/extension-points.d.ts.map +0 -1
- package/src/surfaces/checkout/api/cart-line/cart-line-details.ts +0 -10
- package/src/surfaces/checkout/components/Banner/README.md +0 -14
- package/src/surfaces/checkout/components/BlockLayout/README.md +0 -101
- package/src/surfaces/checkout/components/BlockSpacer/README.md +0 -14
- package/src/surfaces/checkout/components/BlockStack/README.md +0 -77
- package/src/surfaces/checkout/components/Button/README.md +0 -22
- package/src/surfaces/checkout/components/Checkbox/README.md +0 -18
- package/src/surfaces/checkout/components/Choice/README.md +0 -14
- package/src/surfaces/checkout/components/ChoiceList/README.md +0 -14
- package/src/surfaces/checkout/components/Divider/README.md +0 -13
- package/src/surfaces/checkout/components/Form/README.md +0 -21
- package/src/surfaces/checkout/components/Grid/README.md +0 -105
- package/src/surfaces/checkout/components/GridItem/README.md +0 -72
- package/src/surfaces/checkout/components/Heading/README.md +0 -19
- package/src/surfaces/checkout/components/HeadingGroup/README.md +0 -7
- package/src/surfaces/checkout/components/Icon/README.md +0 -15
- package/src/surfaces/checkout/components/Image/README.md +0 -53
- package/src/surfaces/checkout/components/InlineLayout/README.md +0 -103
- package/src/surfaces/checkout/components/InlineSpacer/README.md +0 -14
- package/src/surfaces/checkout/components/InlineStack/README.md +0 -87
- package/src/surfaces/checkout/components/Link/README.md +0 -18
- package/src/surfaces/checkout/components/List/README.md +0 -19
- package/src/surfaces/checkout/components/ListItem/README.md +0 -5
- package/src/surfaces/checkout/components/PhoneField/README.md +0 -49
- package/src/surfaces/checkout/components/Pressable/README.md +0 -74
- package/src/surfaces/checkout/components/ScrollView/README.md +0 -62
- package/src/surfaces/checkout/components/Select/README.md +0 -41
- package/src/surfaces/checkout/components/SkeletonImage/README.md +0 -13
- package/src/surfaces/checkout/components/SkeletonText/README.md +0 -13
- package/src/surfaces/checkout/components/SkeletonTextBlock/README.md +0 -13
- package/src/surfaces/checkout/components/Spinner/README.md +0 -14
- package/src/surfaces/checkout/components/Stepper/README.md +0 -28
- package/src/surfaces/checkout/components/Tag/README.md +0 -14
- package/src/surfaces/checkout/components/Text/README.md +0 -17
- package/src/surfaces/checkout/components/TextBlock/README.md +0 -15
- package/src/surfaces/checkout/components/TextField/README.md +0 -49
- package/src/surfaces/checkout/components/Tooltip/README.md +0 -8
- package/src/surfaces/checkout/components/View/README.md +0 -97
- package/src/surfaces/checkout/extension-points.ts +0 -369
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { StatefulRemoteSubscribable } from '@remote-ui/async-subscription';
|
|
2
|
-
import type { CurrencyCode, CountryCode, Timezone, GraphQLError, StorefrontApiVersion, ValidationError, SellingPlan, Attribute } from '../shared';
|
|
3
|
-
import type {
|
|
2
|
+
import type { CurrencyCode, CountryCode, Timezone, GraphQLError, StorefrontApiVersion, ValidationError, SellingPlan, Attribute, MailingAddress } from '../shared';
|
|
3
|
+
import type { ExtensionTarget } from '../../targets';
|
|
4
4
|
/**
|
|
5
|
-
* A key-value storage object for extension
|
|
5
|
+
* A key-value storage object for extension targets.
|
|
6
6
|
*
|
|
7
7
|
* Stored data is only available to this specific app
|
|
8
|
-
* at this specific extension
|
|
8
|
+
* at this specific extension target.
|
|
9
9
|
*
|
|
10
10
|
* The storage backend is implemented with `localStorage` and
|
|
11
11
|
* should persist across the buyer's checkout session.
|
|
@@ -43,37 +43,32 @@ export interface Storage {
|
|
|
43
43
|
*/
|
|
44
44
|
export type Capability = 'api_access' | 'network_access' | 'block_progress';
|
|
45
45
|
/**
|
|
46
|
-
* Meta information about an extension
|
|
46
|
+
* Meta information about an extension target.
|
|
47
47
|
*/
|
|
48
|
-
export interface Extension<Target extends
|
|
48
|
+
export interface Extension<Target extends ExtensionTarget = ExtensionTarget> {
|
|
49
49
|
/**
|
|
50
|
-
* The
|
|
51
|
-
* injected. This will be one of the targets you have included in your
|
|
52
|
-
* extension’s configuration file.
|
|
50
|
+
* The API version that was set in the extension config file.
|
|
53
51
|
*
|
|
54
|
-
* @example '
|
|
55
|
-
* @see https://shopify.dev/docs/api/checkout-ui-extensions/unstable/extension-targets-overview
|
|
56
|
-
* @see https://shopify.dev/docs/apps/app-extensions/configuration#targets
|
|
52
|
+
* @example '2023-04', '2023-07'
|
|
57
53
|
*/
|
|
58
|
-
|
|
54
|
+
apiVersion: ApiVersion;
|
|
59
55
|
/**
|
|
60
|
-
* The
|
|
56
|
+
* The allowed capabilities of the extension, defined
|
|
57
|
+
* in your [shopify.extension.toml](https://shopify.dev/docs/api/checkout-ui-extensions/configuration) file.
|
|
61
58
|
*
|
|
62
|
-
*
|
|
59
|
+
* * [`api_access`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#api-access): the extension can access the Storefront API.
|
|
63
60
|
*
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
version?: string;
|
|
67
|
-
/**
|
|
68
|
-
* The API version that was set in the extension config file.
|
|
61
|
+
* * [`network_access`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#network-access): the extension can make external network calls.
|
|
69
62
|
*
|
|
70
|
-
*
|
|
63
|
+
* * [`block_progress`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#block-progress): the extension can block a buyer's progress and the merchant has allowed this blocking behavior.
|
|
71
64
|
*/
|
|
72
|
-
|
|
65
|
+
capabilities: StatefulRemoteSubscribable<Capability[]>;
|
|
73
66
|
/**
|
|
74
|
-
*
|
|
67
|
+
* Information about the editor where the extension is being rendered.
|
|
68
|
+
*
|
|
69
|
+
* The value is undefined if the extension is not rendering in an editor.
|
|
75
70
|
*/
|
|
76
|
-
|
|
71
|
+
editor?: Editor;
|
|
77
72
|
/**
|
|
78
73
|
* Whether your extension is currently rendered to the screen.
|
|
79
74
|
*
|
|
@@ -87,22 +82,27 @@ export interface Extension<Target extends ExtensionPoint = ExtensionPoint> {
|
|
|
87
82
|
*/
|
|
88
83
|
rendered: StatefulRemoteSubscribable<boolean>;
|
|
89
84
|
/**
|
|
90
|
-
* The
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
*
|
|
95
|
-
*
|
|
85
|
+
* The URL to the script that started the extension target.
|
|
86
|
+
*/
|
|
87
|
+
scriptUrl: string;
|
|
88
|
+
/**
|
|
89
|
+
* The identifier that specifies where in Shopify’s UI your code is being
|
|
90
|
+
* injected. This will be one of the targets you have included in your
|
|
91
|
+
* extension’s configuration file.
|
|
96
92
|
*
|
|
97
|
-
*
|
|
93
|
+
* @example 'purchase.checkout.block.render'
|
|
94
|
+
* @see https://shopify.dev/docs/api/checkout-ui-extensions/unstable/extension-targets-overview
|
|
95
|
+
* @see https://shopify.dev/docs/apps/app-extensions/configuration#targets
|
|
98
96
|
*/
|
|
99
|
-
|
|
97
|
+
target: Target;
|
|
100
98
|
/**
|
|
101
|
-
*
|
|
99
|
+
* The published version of the running extension target.
|
|
102
100
|
*
|
|
103
|
-
*
|
|
101
|
+
* For unpublished extensions, the value is `undefined`.
|
|
102
|
+
*
|
|
103
|
+
* @example 3.0.10
|
|
104
104
|
*/
|
|
105
|
-
|
|
105
|
+
version?: string;
|
|
106
106
|
}
|
|
107
107
|
export interface Editor {
|
|
108
108
|
/**
|
|
@@ -147,6 +147,19 @@ export interface AppMetafield {
|
|
|
147
147
|
/** The metafield's type name. */
|
|
148
148
|
type: string;
|
|
149
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* Represents a custom metadata attached to a resource.
|
|
152
|
+
*/
|
|
153
|
+
export interface CartMetafield {
|
|
154
|
+
/** The key name of a metafield. */
|
|
155
|
+
key: string;
|
|
156
|
+
/** The namespace for a metafield. */
|
|
157
|
+
namespace: string;
|
|
158
|
+
/** The value of a metafield. */
|
|
159
|
+
value: string;
|
|
160
|
+
/** The metafield's type name. */
|
|
161
|
+
type: string;
|
|
162
|
+
}
|
|
150
163
|
/**
|
|
151
164
|
* The metafield owner.
|
|
152
165
|
*/
|
|
@@ -154,7 +167,7 @@ export interface AppMetafieldEntryTarget {
|
|
|
154
167
|
/**
|
|
155
168
|
* The type of the metafield owner.
|
|
156
169
|
*
|
|
157
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data) when the type is `customer`.
|
|
170
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data) when the type is `customer`, `company` or `companyLocation`.
|
|
158
171
|
*/
|
|
159
172
|
type: 'customer' | 'product' | 'shop' | 'variant' | 'company' | 'companyLocation' | 'cart';
|
|
160
173
|
/** The numeric owner ID that is associated with the metafield. */
|
|
@@ -167,13 +180,13 @@ export interface AppMetafieldEntry {
|
|
|
167
180
|
/**
|
|
168
181
|
* The target that is associated to the metadata.
|
|
169
182
|
*
|
|
170
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data) when the type is `customer`.
|
|
183
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data) when the type is `customer`, `company` or `companyLocation`.
|
|
171
184
|
*/
|
|
172
185
|
target: AppMetafieldEntryTarget;
|
|
173
186
|
/** The metadata information. */
|
|
174
187
|
metafield: AppMetafield;
|
|
175
188
|
}
|
|
176
|
-
export type ApiVersion = '2023-04' | 'unstable';
|
|
189
|
+
export type ApiVersion = '2023-04' | '2023-07' | 'unstable';
|
|
177
190
|
export type Version = string;
|
|
178
191
|
/**
|
|
179
192
|
* This returns a translated string matching a key in a locale file.
|
|
@@ -330,7 +343,7 @@ export interface BuyerJourney {
|
|
|
330
343
|
*/
|
|
331
344
|
completed: StatefulRemoteSubscribable<boolean>;
|
|
332
345
|
}
|
|
333
|
-
export interface StandardApi<Target extends
|
|
346
|
+
export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
|
|
334
347
|
/**
|
|
335
348
|
* Methods for interacting with [Web Pixels](https://shopify.dev/docs/apps/marketing), such as emitting an event.
|
|
336
349
|
*/
|
|
@@ -341,7 +354,7 @@ export interface StandardApi<Target extends ExtensionPoint = ExtensionPoint> {
|
|
|
341
354
|
appliedGiftCards: StatefulRemoteSubscribable<AppliedGiftCard[]>;
|
|
342
355
|
/**
|
|
343
356
|
* The metafields requested in the
|
|
344
|
-
* [`shopify.
|
|
357
|
+
* [`shopify.extension.toml`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration)
|
|
345
358
|
* file. These metafields are updated when there's a change in the merchandise items
|
|
346
359
|
* being purchased by the customer.
|
|
347
360
|
*
|
|
@@ -369,6 +382,10 @@ export interface StandardApi<Target extends ExtensionPoint = ExtensionPoint> {
|
|
|
369
382
|
* examples for more information.
|
|
370
383
|
*/
|
|
371
384
|
buyerJourney: BuyerJourney;
|
|
385
|
+
/**
|
|
386
|
+
* Settings applied to the buyer's checkout.
|
|
387
|
+
*/
|
|
388
|
+
checkoutSettings: StatefulRemoteSubscribable<CheckoutSettings>;
|
|
372
389
|
/**
|
|
373
390
|
* Details on the costs the buyer will pay for this checkout.
|
|
374
391
|
*/
|
|
@@ -394,11 +411,13 @@ export interface StandardApi<Target extends ExtensionPoint = ExtensionPoint> {
|
|
|
394
411
|
* injected. This will be one of the targets you have included in your
|
|
395
412
|
* extension’s configuration file.
|
|
396
413
|
*
|
|
397
|
-
* @example '
|
|
414
|
+
* @example 'purchase.checkout.block.render'
|
|
398
415
|
* @see https://shopify.dev/docs/api/checkout-ui-extensions/unstable/extension-targets-overview
|
|
399
416
|
* @see https://shopify.dev/docs/apps/app-extensions/configuration#targets
|
|
417
|
+
*
|
|
418
|
+
* @deprecated Deprecated as of version `2023-07`, use `extension.target` instead.
|
|
400
419
|
*/
|
|
401
|
-
extensionPoint:
|
|
420
|
+
extensionPoint: Target;
|
|
402
421
|
/**
|
|
403
422
|
* Utilities for translating content and formatting values according to the current
|
|
404
423
|
* [`localization`](https://shopify.dev/docs/api/checkout-ui-extensions/apis/standardapi#properties-propertydetail-localization)
|
|
@@ -442,10 +461,6 @@ export interface StandardApi<Target extends ExtensionPoint = ExtensionPoint> {
|
|
|
442
461
|
* A note left by the customer to the merchant, either in their cart or during checkout.
|
|
443
462
|
*/
|
|
444
463
|
note: StatefulRemoteSubscribable<string | undefined>;
|
|
445
|
-
/**
|
|
446
|
-
* A list of the line items displayed in the checkout. These may be the same as lines, or may be a subset.
|
|
447
|
-
*/
|
|
448
|
-
presentmentLines: StatefulRemoteSubscribable<PresentmentCartLine[]>;
|
|
449
464
|
/**
|
|
450
465
|
* Used to query the Storefront GraphQL API with a prefetched token.
|
|
451
466
|
*
|
|
@@ -472,7 +487,7 @@ export interface StandardApi<Target extends ExtensionPoint = ExtensionPoint> {
|
|
|
472
487
|
sessionToken: SessionToken;
|
|
473
488
|
/**
|
|
474
489
|
* The settings matching the settings definition written in the
|
|
475
|
-
* [`shopify.
|
|
490
|
+
* [`shopify.extension.toml`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration) file.
|
|
476
491
|
*
|
|
477
492
|
* See [settings examples](https://shopify.dev/docs/api/checkout-ui-extensions/apis/standardapi#example-settings) for more information.
|
|
478
493
|
*
|
|
@@ -492,7 +507,7 @@ export interface StandardApi<Target extends ExtensionPoint = ExtensionPoint> {
|
|
|
492
507
|
/** Shop where the checkout is taking place. */
|
|
493
508
|
shop: Shop;
|
|
494
509
|
/**
|
|
495
|
-
* Key-value storage for the extension
|
|
510
|
+
* Key-value storage for the extension target.
|
|
496
511
|
*/
|
|
497
512
|
storage: Storage;
|
|
498
513
|
/**
|
|
@@ -542,129 +557,104 @@ export interface BuyerIdentity {
|
|
|
542
557
|
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
543
558
|
*/
|
|
544
559
|
phone: StatefulRemoteSubscribable<string | undefined>;
|
|
545
|
-
}
|
|
546
|
-
export interface AppliedGiftCard {
|
|
547
560
|
/**
|
|
548
|
-
*
|
|
561
|
+
* Provides details of the company and the company location that the business customer is purchasing on behalf of.
|
|
562
|
+
* This includes information that can be used to identify the company and the company location that the business
|
|
563
|
+
* customer belongs to.
|
|
564
|
+
*
|
|
565
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
549
566
|
*/
|
|
550
|
-
|
|
567
|
+
purchasingCompany: StatefulRemoteSubscribable<PurchasingCompany | undefined>;
|
|
568
|
+
}
|
|
569
|
+
/**
|
|
570
|
+
* Information about a company that the business customer is purchasing on behalf of.
|
|
571
|
+
*/
|
|
572
|
+
export interface PurchasingCompany {
|
|
551
573
|
/**
|
|
552
|
-
*
|
|
574
|
+
* Includes information of the company that the business customer is purchasing on behalf of.
|
|
575
|
+
*
|
|
576
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
553
577
|
*/
|
|
554
|
-
|
|
578
|
+
company: Company;
|
|
555
579
|
/**
|
|
556
|
-
*
|
|
580
|
+
* Includes information of the company location that the business customer is purchasing on behalf of.
|
|
581
|
+
*
|
|
582
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
557
583
|
*/
|
|
558
|
-
|
|
584
|
+
location: CompanyLocation;
|
|
559
585
|
}
|
|
560
|
-
export interface
|
|
586
|
+
export interface Company {
|
|
561
587
|
/**
|
|
562
|
-
* The
|
|
563
|
-
*
|
|
588
|
+
* The company ID.
|
|
589
|
+
*
|
|
590
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
564
591
|
*/
|
|
565
592
|
id: string;
|
|
566
593
|
/**
|
|
567
|
-
* The name of the
|
|
594
|
+
* The name of the company.
|
|
595
|
+
*
|
|
596
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
568
597
|
*/
|
|
569
598
|
name: string;
|
|
570
599
|
/**
|
|
571
|
-
* The
|
|
572
|
-
*/
|
|
573
|
-
storefrontUrl?: string;
|
|
574
|
-
/**
|
|
575
|
-
* The shop's myshopify.com domain.
|
|
576
|
-
*/
|
|
577
|
-
myshopifyDomain: string;
|
|
578
|
-
}
|
|
579
|
-
export interface MailingAddress {
|
|
580
|
-
/**
|
|
581
|
-
* The buyer's full name.
|
|
582
|
-
*
|
|
583
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
600
|
+
* The external ID of the company that can be set by the merchant.
|
|
584
601
|
*
|
|
585
|
-
*
|
|
602
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
586
603
|
*/
|
|
587
|
-
|
|
604
|
+
externalId?: string;
|
|
605
|
+
}
|
|
606
|
+
export interface CompanyLocation {
|
|
588
607
|
/**
|
|
589
|
-
* The
|
|
608
|
+
* The company location ID.
|
|
590
609
|
*
|
|
591
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level
|
|
592
|
-
*
|
|
593
|
-
* @example 'John'
|
|
610
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
594
611
|
*/
|
|
595
|
-
|
|
612
|
+
id: string;
|
|
596
613
|
/**
|
|
597
|
-
* The
|
|
598
|
-
*
|
|
599
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
614
|
+
* The name of the company location.
|
|
600
615
|
*
|
|
601
|
-
*
|
|
616
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
602
617
|
*/
|
|
603
|
-
|
|
618
|
+
name: string;
|
|
604
619
|
/**
|
|
605
|
-
* The
|
|
620
|
+
* The external ID of the company location that can be set by the merchant.
|
|
606
621
|
*
|
|
607
622
|
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
608
|
-
*
|
|
609
|
-
* @example 'Shopify'
|
|
610
623
|
*/
|
|
611
|
-
|
|
624
|
+
externalId?: string;
|
|
625
|
+
}
|
|
626
|
+
export interface AppliedGiftCard {
|
|
612
627
|
/**
|
|
613
|
-
* The
|
|
614
|
-
*
|
|
615
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
616
|
-
*
|
|
617
|
-
* @example '151 O'Connor Street'
|
|
628
|
+
* The last four characters of the applied gift card's code.
|
|
618
629
|
*/
|
|
619
|
-
|
|
630
|
+
lastCharacters: string;
|
|
620
631
|
/**
|
|
621
|
-
* The
|
|
622
|
-
*
|
|
623
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
624
|
-
*
|
|
625
|
-
* @example 'Ground floor'
|
|
632
|
+
* The amount of the applied gift card that will be used when the checkout is completed.
|
|
626
633
|
*/
|
|
627
|
-
|
|
634
|
+
amountUsed: Money;
|
|
628
635
|
/**
|
|
629
|
-
* The
|
|
630
|
-
*
|
|
631
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
632
|
-
*
|
|
633
|
-
* @example 'Ottawa'
|
|
636
|
+
* The current balance of the applied gift card prior to checkout completion.
|
|
634
637
|
*/
|
|
635
|
-
|
|
638
|
+
balance: Money;
|
|
639
|
+
}
|
|
640
|
+
export interface Shop {
|
|
636
641
|
/**
|
|
637
|
-
* The
|
|
638
|
-
*
|
|
639
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
640
|
-
*
|
|
641
|
-
* @example 'K2P 2L8'
|
|
642
|
+
* The shop ID.
|
|
643
|
+
* @example 'gid://shopify/Shop/123'
|
|
642
644
|
*/
|
|
643
|
-
|
|
645
|
+
id: string;
|
|
644
646
|
/**
|
|
645
|
-
* The
|
|
646
|
-
*
|
|
647
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
648
|
-
*
|
|
649
|
-
* @example 'CA' for Canada.
|
|
647
|
+
* The name of the shop.
|
|
650
648
|
*/
|
|
651
|
-
|
|
649
|
+
name: string;
|
|
652
650
|
/**
|
|
653
|
-
* The
|
|
654
|
-
*
|
|
655
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
656
|
-
*
|
|
657
|
-
* @example 'ON' for Ontario.
|
|
651
|
+
* The primary storefront URL.
|
|
658
652
|
*/
|
|
659
|
-
|
|
653
|
+
storefrontUrl?: string;
|
|
660
654
|
/**
|
|
661
|
-
* The
|
|
662
|
-
*
|
|
663
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
664
|
-
*
|
|
665
|
-
* @example '+1 613 111 2222'.
|
|
655
|
+
* The shop's myshopify.com domain.
|
|
666
656
|
*/
|
|
667
|
-
|
|
657
|
+
myshopifyDomain: string;
|
|
668
658
|
}
|
|
669
659
|
export interface CartCost {
|
|
670
660
|
/**
|
|
@@ -834,44 +824,6 @@ export interface SelectedOption {
|
|
|
834
824
|
*/
|
|
835
825
|
value: string;
|
|
836
826
|
}
|
|
837
|
-
export interface PresentmentCartLine {
|
|
838
|
-
/**
|
|
839
|
-
* The ID of the present cart line. This ID isn't stable and might change after
|
|
840
|
-
* any operations on the line items.
|
|
841
|
-
* @example 'gid://shopify/PresentmentCartLine/123'
|
|
842
|
-
*/
|
|
843
|
-
id: string;
|
|
844
|
-
/**
|
|
845
|
-
* The quantity of the merchandise being purchased.
|
|
846
|
-
*/
|
|
847
|
-
quantity: number;
|
|
848
|
-
/**
|
|
849
|
-
* The details about the cost components attributed to the presentment cart line.
|
|
850
|
-
*/
|
|
851
|
-
cost: PresentmentCartLineCost;
|
|
852
|
-
/**
|
|
853
|
-
* The title of the line item.
|
|
854
|
-
*/
|
|
855
|
-
title: string;
|
|
856
|
-
/**
|
|
857
|
-
* The subtitle of the line item.
|
|
858
|
-
*/
|
|
859
|
-
subtitle?: string;
|
|
860
|
-
/**
|
|
861
|
-
* The image associated with the line item.
|
|
862
|
-
*/
|
|
863
|
-
image?: ImageDetails;
|
|
864
|
-
/**
|
|
865
|
-
* The merchandise lines being purchased.
|
|
866
|
-
*/
|
|
867
|
-
lines: CartLine[];
|
|
868
|
-
}
|
|
869
|
-
export interface PresentmentCartLineCost {
|
|
870
|
-
/**
|
|
871
|
-
* The total cost of the merchandise line.
|
|
872
|
-
*/
|
|
873
|
-
totalAmount: Money;
|
|
874
|
-
}
|
|
875
827
|
/**
|
|
876
828
|
* A payment option presented to the buyer.
|
|
877
829
|
*/
|
|
@@ -909,7 +861,7 @@ export interface SelectedPaymentOption {
|
|
|
909
861
|
/**
|
|
910
862
|
* The unique handle referencing `PaymentOption.handle`.
|
|
911
863
|
*
|
|
912
|
-
* See [availablePaymentOptions](https://shopify.dev/docs/api/checkout-ui-extensions/
|
|
864
|
+
* See [availablePaymentOptions](https://shopify.dev/docs/api/checkout-ui-extensions/apis/standardapi#properties-propertydetail-availablepaymentoptions).
|
|
913
865
|
*/
|
|
914
866
|
handle: string;
|
|
915
867
|
}
|
|
@@ -1088,6 +1040,54 @@ export interface Customer {
|
|
|
1088
1040
|
*/
|
|
1089
1041
|
storeCreditAccounts: StoreCreditAccount[];
|
|
1090
1042
|
}
|
|
1043
|
+
/**
|
|
1044
|
+
* Settings describing the behavior of the buyer's checkout.
|
|
1045
|
+
*/
|
|
1046
|
+
export interface CheckoutSettings {
|
|
1047
|
+
/**
|
|
1048
|
+
* The type of order that will be created once the buyer completes checkout.
|
|
1049
|
+
*/
|
|
1050
|
+
orderSubmission: 'DRAFT_ORDER' | 'ORDER';
|
|
1051
|
+
/**
|
|
1052
|
+
* Represents the merchant configured payment terms.
|
|
1053
|
+
*/
|
|
1054
|
+
paymentTermsTemplate?: PaymentTermsTemplate;
|
|
1055
|
+
/**
|
|
1056
|
+
* Settings describing the behavior of the shipping address.
|
|
1057
|
+
*/
|
|
1058
|
+
shippingAddress: ShippingAddressSettings;
|
|
1059
|
+
}
|
|
1060
|
+
/**
|
|
1061
|
+
* Settings describing the behavior of the shipping address.
|
|
1062
|
+
*/
|
|
1063
|
+
export interface ShippingAddressSettings {
|
|
1064
|
+
/**
|
|
1065
|
+
* Describes whether the buyer can ship to any address during checkout.
|
|
1066
|
+
*/
|
|
1067
|
+
isEditable: boolean;
|
|
1068
|
+
}
|
|
1069
|
+
/**
|
|
1070
|
+
* Represents the payment terms template object.
|
|
1071
|
+
*/
|
|
1072
|
+
export interface PaymentTermsTemplate {
|
|
1073
|
+
/**
|
|
1074
|
+
* A globally-unique ID.
|
|
1075
|
+
* @example 'gid://shopify/PaymentTermsTemplate/1'
|
|
1076
|
+
*/
|
|
1077
|
+
id: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* The name of the payment terms translated to the buyer's current language. See [localization.language](https://shopify.dev/docs/api/checkout-ui-extensions/apis/standardapi#properties-propertydetail-localization).
|
|
1080
|
+
*/
|
|
1081
|
+
name: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* The due date for net payment terms as a ISO 8601 formatted string `YYYY-MM-DDTHH:mm:ss.sssZ`.
|
|
1084
|
+
*/
|
|
1085
|
+
dueDate?: string;
|
|
1086
|
+
/**
|
|
1087
|
+
* The number of days between the issued date and due date if using net payment terms.
|
|
1088
|
+
*/
|
|
1089
|
+
dueInDays?: number;
|
|
1090
|
+
}
|
|
1091
1091
|
/**
|
|
1092
1092
|
* Information about a Store Credit Account.
|
|
1093
1093
|
*/
|
|
@@ -1140,7 +1140,7 @@ export interface DeliveryGroup {
|
|
|
1140
1140
|
/**
|
|
1141
1141
|
* Whether delivery is required for the delivery group.
|
|
1142
1142
|
*/
|
|
1143
|
-
|
|
1143
|
+
isDeliveryRequired: boolean;
|
|
1144
1144
|
}
|
|
1145
1145
|
/**
|
|
1146
1146
|
* The possible types of a delivery group.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standard.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/standard/standard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAE9E,OAAO,KAAK,EACV,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,oBAAoB,EACpB,eAAe,EACf,WAAW,EACX,SAAS,EACV,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAC;AAE3D;;;;;;;;;GASG;AACH,MAAM,WAAW,OAAO;IACtB;;;;;;;OAOG;IACH,IAAI,CAAC,CAAC,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,CAA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AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,aAAa,CAAC,EAAE,WAAW,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,iBAAkB,SAAQ,cAAc;IACvD;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;IAEpB;;OAEG;IACH,OAAO,EAAE,kBAAkB,CAAC;IAE5B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC;IAEZ;;OAEG;IACH,kBAAkB,EAAE,KAAK,CAAC;IAE1B;;OAEG;IACH,QAAQ,EAAE,mBAAmB,CAAC;CAC/B;AAED,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IAC1D;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IAEf;;OAEG;IACH,QAAQ,EAAE,cAAc,CAAC;CAC1B;AAED,UAAU,cAAc;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,UAAU,mBAAmB;IAC3B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,UAAU,kBAAkB;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
1
|
+
{"version":3,"file":"standard.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/standard/standard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA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AAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,UAAU,mBAAmB;IAC3B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,UAAU,kBAAkB;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export type { ApiVersion, BuyerIdentity, BuyerJourney, Capability, CartCost, CartLineCost, Customer, Editor, Extension, ExtensionSettings, Interceptor, InterceptorRequest, Merchandise, ImageDetails, Product, ProductVariant, SelectedOption, SessionToken, Money, StandardApi, Storage, Shop, Version,
|
|
2
|
-
export type { Attribute, CurrencyCode, CountryCode, Timezone, GraphQLError, SellingPlan, StorefrontApiVersion, ValidationError, } from './api/shared';
|
|
3
|
-
export type { RedeemableAttribute, RedeemableChange, RedeemableChangeResult, RedeemableChangeResultError, RedeemableChangeResultSuccess,
|
|
4
|
-
export type { AttributeChange, AttributeChangeResult, AttributeChangeResultError, AttributeChangeResultSuccess, CartLineChange, CartLineChangeResult, CartLineChangeResultError, CartLineChangeResultSuccess, CartLineAddChange, CartLineUpdateChange, CartLineRemoveChange, DiscountCodeAddChange, DiscountCodeRemoveChange, DiscountCodeChange, DiscountCodeChangeResult, DiscountCodeChangeResultError, DiscountCodeChangeResultSuccess, GiftCardAddChange, GiftCardChange, GiftCardChangeResult, GiftCardChangeResultSuccess, GiftCardRemoveChange, GiftCardChangeResultError, MetafieldRemoveChange, MetafieldUpdateChange, MetafieldChange, MetafieldChangeResultError, MetafieldChangeResultSuccess, MetafieldChangeResult, NoteChange, NoteChangeResult, NoteChangeResultSuccess, NoteChangeResultError, CheckoutApi, } from './api/checkout/checkout';
|
|
1
|
+
export type { ApiVersion, BuyerIdentity, BuyerJourney, Capability, CartCost, CartLineCost, CheckoutSettings, Customer, Editor, Extension, ExtensionSettings, Interceptor, InterceptorRequest, Merchandise, ImageDetails, Product, ProductVariant, PurchasingCompany, SelectedOption, SessionToken, Money, StandardApi, Storage, Shop, Version, Metafield, AppMetafield, AppMetafieldEntryTarget, AppMetafieldEntry, CartLine, PaymentOption, SelectedPaymentOption, CartDiscountCode, CartDiscountAllocation, CartCodeDiscountAllocation, CartAutomaticDiscountAllocation, CartCustomDiscountAllocation, AppliedGiftCard, I18n, I18nTranslate, Currency, Country, Market, Language, Localization, DeliveryGroup, DeliveryGroupType, CartLineReference, DeliveryOptionReference, DeliveryOption, ShippingOption, PickupLocationOption, PickupPointOption, NumberRange, } from './api/standard/standard';
|
|
2
|
+
export type { Attribute, CurrencyCode, CountryCode, Timezone, GraphQLError, SellingPlan, StorefrontApiVersion, ValidationError, MailingAddress, } from './api/shared';
|
|
3
|
+
export type { RedeemableAttribute, RedeemableChange, RedeemableAddChange, RedeemableChangeResult, RedeemableChangeResultError, RedeemableChangeResultSuccess, RedeemableApi, } from './api/redeemable/redeemable';
|
|
4
|
+
export type { AttributeChange, AttributeChangeResult, AttributeChangeResultError, AttributeChangeResultSuccess, CartLineChange, CartLineChangeResult, CartLineChangeResultError, CartLineChangeResultSuccess, CartLineAddChange, CartLineUpdateChange, CartLineRemoveChange, DiscountCodeAddChange, DiscountCodeRemoveChange, DiscountCodeChange, DiscountCodeChangeResult, DiscountCodeChangeResultError, DiscountCodeChangeResultSuccess, GiftCardAddChange, GiftCardChange, GiftCardChangeResult, GiftCardChangeResultSuccess, GiftCardRemoveChange, GiftCardChangeResultError, MetafieldRemoveChange, MetafieldUpdateChange, MetafieldChange, MetafieldChangeResultError, MetafieldChangeResultSuccess, MetafieldChangeResult, NoteChange, NoteChangeResult, NoteChangeResultSuccess, NoteChangeResultError, ShippingAddressChange, ShippingAddressChangeFieldError, ShippingAddressChangeResult, ShippingAddressChangeResultError, ShippingAddressChangeResultSuccess, CheckoutApi, } from './api/checkout/checkout';
|
|
5
5
|
export type { Order, OrderStatusApi } from './api/order-status/order-status';
|
|
6
|
-
export type {
|
|
7
|
-
export type {
|
|
8
|
-
export type {
|
|
9
|
-
export type {
|
|
10
|
-
export type { PaymentMethodAttributesResult, PaymentMethodAttributesResultSuccess, PaymentMethodAttributesResultError, PaymentMethodAttribute, PaymentMethodAttributesChange, PaymentMethodAttributesUpdateChange,
|
|
6
|
+
export type { CartLineItemApi } from './api/cart-line/cart-line-item';
|
|
7
|
+
export type { PickupLocationListApi } from './api/pickup/pickup-location-list';
|
|
8
|
+
export type { PickupPointListApi } from './api/pickup/pickup-point-list';
|
|
9
|
+
export type { ShippingOptionItemApi } from './api/shipping/shipping-option-item';
|
|
10
|
+
export type { PaymentMethodAttributesResult, PaymentMethodAttributesResultSuccess, PaymentMethodAttributesResultError, PaymentMethodAttribute, PaymentMethodAttributesChange, PaymentMethodAttributesUpdateChange, PaymentOptionItemApi, } from './api/payment/payment-option-item';
|
|
11
11
|
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/api.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,UAAU,EACV,aAAa,EACb,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,YAAY,EACZ,OAAO,EACP,cAAc,EACd,cAAc,EACd,YAAY,EACZ,KAAK,EACL,WAAW,EACX,OAAO,EACP,IAAI,EACJ,OAAO,EACP,
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/api.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,UAAU,EACV,aAAa,EACb,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACN,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,YAAY,EACZ,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,KAAK,EACL,WAAW,EACX,OAAO,EACP,IAAI,EACJ,OAAO,EACP,SAAS,EACT,YAAY,EACZ,uBAAuB,EACvB,iBAAiB,EACjB,QAAQ,EACR,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,sBAAsB,EACtB,0BAA0B,EAC1B,+BAA+B,EAC/B,4BAA4B,EAC5B,eAAe,EACf,IAAI,EACJ,aAAa,EACb,QAAQ,EACR,OAAO,EACP,MAAM,EACN,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,uBAAuB,EACvB,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,iBAAiB,EACjB,WAAW,GACZ,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,SAAS,EACT,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,oBAAoB,EACpB,eAAe,EACf,cAAc,GACf,MAAM,cAAc,CAAC;AAEtB,YAAY,EACV,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,sBAAsB,EACtB,2BAA2B,EAC3B,6BAA6B,EAC7B,aAAa,GACd,MAAM,6BAA6B,CAAC;AAErC,YAAY,EACV,eAAe,EACf,qBAAqB,EACrB,0BAA0B,EAC1B,4BAA4B,EAC5B,cAAc,EACd,oBAAoB,EACpB,yBAAyB,EACzB,2BAA2B,EAC3B,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACxB,6BAA6B,EAC7B,+BAA+B,EAC/B,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,2BAA2B,EAC3B,oBAAoB,EACpB,yBAAyB,EACzB,qBAAqB,EACrB,qBAAqB,EACrB,eAAe,EACf,0BAA0B,EAC1B,4BAA4B,EAC5B,qBAAqB,EACrB,UAAU,EACV,gBAAgB,EAChB,uBAAuB,EACvB,qBAAqB,EACrB,qBAAqB,EACrB,+BAA+B,EAC/B,2BAA2B,EAC3B,gCAAgC,EAChC,kCAAkC,EAClC,WAAW,GACZ,MAAM,yBAAyB,CAAC;AACjC,YAAY,EAAC,KAAK,EAAE,cAAc,EAAC,MAAM,iCAAiC,CAAC;AAE3E,YAAY,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AACpE,YAAY,EAAC,qBAAqB,EAAC,MAAM,mCAAmC,CAAC;AAC7E,YAAY,EAAC,kBAAkB,EAAC,MAAM,gCAAgC,CAAC;AACvE,YAAY,EAAC,qBAAqB,EAAC,MAAM,qCAAqC,CAAC;AAE/E,YAAY,EACV,6BAA6B,EAC7B,oCAAoC,EACpC,kCAAkC,EAClC,sBAAsB,EACtB,6BAA6B,EAC7B,mCAAmC,EACnC,oBAAoB,GACrB,MAAM,mCAAmC,CAAC"}
|
|
@@ -109,7 +109,7 @@ export interface PhoneFieldProps {
|
|
|
109
109
|
onChange?(value: string): void;
|
|
110
110
|
/**
|
|
111
111
|
* Callback when the user makes any changes in the field including selecting a country
|
|
112
|
-
* in the dropdown. As noted in the documentation for `onChange`, you
|
|
112
|
+
* in the dropdown. As noted in the documentation for `onChange`, you must not use
|
|
113
113
|
* this to update `state` — use the `onChange` callback for that purpose.
|
|
114
114
|
* Use the `onInput` prop when you need to do something as soon as the buyer makes a change,
|
|
115
115
|
* like clearing validation errors that apply to the field as soon as the user begins
|