@shopify/ui-extensions 2025.10.13 → 2025.10.15
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/cjs/surfaces/checkout/preact/api.js +2 -0
- package/build/cjs/surfaces/checkout/preact/app-metafields.js +1 -0
- package/build/cjs/surfaces/checkout/preact/attributes.js +3 -0
- package/build/cjs/surfaces/checkout/preact/billing-address.js +1 -0
- package/build/cjs/surfaces/checkout/preact/buyer-identity.js +4 -0
- package/build/cjs/surfaces/checkout/preact/buyer-journey.js +5 -0
- package/build/cjs/surfaces/checkout/preact/capabilities.js +2 -0
- package/build/cjs/surfaces/checkout/preact/cart-line-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/cart-lines.js +2 -0
- package/build/cjs/surfaces/checkout/preact/checkout-settings.js +1 -0
- package/build/cjs/surfaces/checkout/preact/checkout-token.js +1 -0
- package/build/cjs/surfaces/checkout/preact/cost.js +4 -0
- package/build/cjs/surfaces/checkout/preact/country.js +1 -0
- package/build/cjs/surfaces/checkout/preact/currency.js +1 -0
- package/build/cjs/surfaces/checkout/preact/customer-privacy.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-group-list-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-group-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-group.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-groups.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-selection-groups.js +1 -0
- package/build/cjs/surfaces/checkout/preact/discounts.js +3 -0
- package/build/cjs/surfaces/checkout/preact/extension-editor.js +1 -0
- package/build/cjs/surfaces/checkout/preact/extension-language.js +1 -0
- package/build/cjs/surfaces/checkout/preact/extension.js +2 -0
- package/build/cjs/surfaces/checkout/preact/gift-cards.js +2 -0
- package/build/cjs/surfaces/checkout/preact/instructions.js +1 -0
- package/build/cjs/surfaces/checkout/preact/language.js +1 -0
- package/build/cjs/surfaces/checkout/preact/localized-fields.js +4 -0
- package/build/cjs/surfaces/checkout/preact/market.js +1 -0
- package/build/cjs/surfaces/checkout/preact/metafield.js +1 -0
- package/build/cjs/surfaces/checkout/preact/metafields.js +2 -0
- package/build/cjs/surfaces/checkout/preact/note.js +2 -0
- package/build/cjs/surfaces/checkout/preact/payment-method.js +3 -0
- package/build/cjs/surfaces/checkout/preact/payment-options.js +2 -0
- package/build/cjs/surfaces/checkout/preact/pickup-location-option-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/redeemable.js +1 -0
- package/build/cjs/surfaces/checkout/preact/session-token.js +1 -0
- package/build/cjs/surfaces/checkout/preact/settings.js +1 -0
- package/build/cjs/surfaces/checkout/preact/shipping-address.js +2 -0
- package/build/cjs/surfaces/checkout/preact/shipping-option-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/shop.js +1 -0
- package/build/cjs/surfaces/checkout/preact/storage.js +1 -0
- package/build/cjs/surfaces/checkout/preact/subscription.js +1 -0
- package/build/cjs/surfaces/checkout/preact/target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/timezone.js +1 -0
- package/build/cjs/surfaces/checkout/preact/translate.js +1 -0
- package/build/cjs/surfaces/checkout/shared.js +3 -10
- package/build/cjs/surfaces/checkout/style/style.js +1 -0
- package/build/cjs/surfaces/point-of-sale/types/storage.js +3 -1
- package/build/esm/surfaces/checkout/preact/api.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/app-metafields.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/attributes.mjs +3 -0
- package/build/esm/surfaces/checkout/preact/billing-address.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/buyer-identity.mjs +4 -0
- package/build/esm/surfaces/checkout/preact/buyer-journey.mjs +5 -0
- package/build/esm/surfaces/checkout/preact/capabilities.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/cart-line-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/cart-lines.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/checkout-settings.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/checkout-token.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/cost.mjs +4 -0
- package/build/esm/surfaces/checkout/preact/country.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/currency.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/customer-privacy.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-group-list-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-group-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-group.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-groups.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-selection-groups.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/discounts.mjs +3 -0
- package/build/esm/surfaces/checkout/preact/extension-editor.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/extension-language.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/extension.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/gift-cards.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/instructions.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/language.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/localized-fields.mjs +4 -0
- package/build/esm/surfaces/checkout/preact/market.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/metafield.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/metafields.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/note.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/payment-method.mjs +3 -0
- package/build/esm/surfaces/checkout/preact/payment-options.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/pickup-location-option-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/redeemable.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/session-token.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/settings.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/shipping-address.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/shipping-option-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/shop.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/storage.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/subscription.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/timezone.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/translate.mjs +1 -0
- package/build/esm/surfaces/checkout/shared.mjs +3 -10
- package/build/esm/surfaces/checkout/style/style.mjs +1 -0
- package/build/esm/surfaces/point-of-sale/types/storage.mjs +3 -1
- package/build/esnext/surfaces/checkout/preact/api.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/app-metafields.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/attributes.esnext +3 -0
- package/build/esnext/surfaces/checkout/preact/billing-address.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/buyer-identity.esnext +4 -0
- package/build/esnext/surfaces/checkout/preact/buyer-journey.esnext +5 -0
- package/build/esnext/surfaces/checkout/preact/capabilities.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/cart-line-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/cart-lines.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/checkout-settings.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/checkout-token.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/cost.esnext +4 -0
- package/build/esnext/surfaces/checkout/preact/country.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/currency.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/customer-privacy.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-group-list-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-group-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-group.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-groups.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-selection-groups.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/discounts.esnext +3 -0
- package/build/esnext/surfaces/checkout/preact/extension-editor.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/extension-language.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/extension.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/gift-cards.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/instructions.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/language.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/localized-fields.esnext +4 -0
- package/build/esnext/surfaces/checkout/preact/market.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/metafield.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/metafields.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/note.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/payment-method.esnext +3 -0
- package/build/esnext/surfaces/checkout/preact/payment-options.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/pickup-location-option-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/redeemable.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/session-token.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/settings.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/shipping-address.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/shipping-option-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/shop.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/storage.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/subscription.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/timezone.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/translate.esnext +1 -0
- package/build/esnext/surfaces/checkout/shared.esnext +3 -10
- package/build/esnext/surfaces/checkout/style/style.esnext +1 -0
- package/build/esnext/surfaces/point-of-sale/types/storage.esnext +3 -1
- package/build/ts/api.d.ts +23 -26
- package/build/ts/api.d.ts.map +1 -1
- package/build/ts/extension.d.ts +21 -0
- package/build/ts/extension.d.ts.map +1 -1
- package/build/ts/shared.d.ts +73 -16
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/action/action.d.ts +8 -4
- package/build/ts/surfaces/admin/api/action/action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/block/block.d.ts +13 -6
- package/build/ts/surfaces/admin/api/block/block.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts +21 -10
- package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts +32 -0
- package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts +5 -1
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +19 -6
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.d.ts +5 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts +22 -4
- package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/metafields.d.ts +32 -0
- package/build/ts/surfaces/admin/api/discount-function-settings/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/intents/intents.d.ts +36 -35
- package/build/ts/surfaces/admin/api/intents/intents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts +20 -0
- package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts +23 -0
- package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts +6 -0
- package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/picker/picker.d.ts +45 -16
- package/build/ts/surfaces/admin/api/picker/picker.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/print-action/print-action.d.ts +7 -3
- package/build/ts/surfaces/admin/api/print-action/print-action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts +37 -0
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts +37 -0
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/purchase-options-card-action.d.ts +8 -0
- package/build/ts/surfaces/admin/api/purchase-options-card-action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts +183 -21
- package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/shared.d.ts +7 -1
- package/build/ts/surfaces/admin/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/should-render/should-render.d.ts +9 -1
- package/build/ts/surfaces/admin/api/should-render/should-render.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +21 -10
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/storage.d.ts +21 -27
- package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ActionExtensionComponents.d.ts +3 -0
- package/build/ts/surfaces/admin/components/ActionExtensionComponents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +55 -3
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +51 -1
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +47 -1
- package/build/ts/surfaces/admin/components/Avatar.d.ts +110 -10
- package/build/ts/surfaces/admin/components/Badge.d.ts +157 -8
- package/build/ts/surfaces/admin/components/Banner.d.ts +103 -10
- package/build/ts/surfaces/admin/components/BlockExtensionComponents.d.ts +3 -0
- package/build/ts/surfaces/admin/components/BlockExtensionComponents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +205 -75
- package/build/ts/surfaces/admin/components/Button.d.ts +246 -16
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +96 -11
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +135 -4
- package/build/ts/surfaces/admin/components/Chip.d.ts +2 -4
- package/build/ts/surfaces/admin/components/Choice.d.ts +68 -11
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +104 -6
- package/build/ts/surfaces/admin/components/Clickable.d.ts +142 -41
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +115 -19
- package/build/ts/surfaces/admin/components/ColorField.d.ts +177 -18
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +102 -5
- package/build/ts/surfaces/admin/components/DateField.d.ts +197 -22
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +143 -4
- package/build/ts/surfaces/admin/components/Divider.d.ts +90 -6
- package/build/ts/surfaces/admin/components/EmailField.d.ts +161 -7
- package/build/ts/surfaces/admin/components/Form.d.ts +67 -5
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts +3 -0
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +80 -8
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts +3 -0
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +249 -69
- package/build/ts/surfaces/admin/components/GridItem.d.ts +212 -33
- package/build/ts/surfaces/admin/components/Heading.d.ts +68 -7
- package/build/ts/surfaces/admin/components/Icon.d.ts +110 -11
- package/build/ts/surfaces/admin/components/Image.d.ts +237 -36
- package/build/ts/surfaces/admin/components/Link.d.ts +78 -16
- package/build/ts/surfaces/admin/components/ListItem.d.ts +59 -7
- package/build/ts/surfaces/admin/components/Menu.d.ts +101 -21
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +160 -7
- package/build/ts/surfaces/admin/components/NumberField.d.ts +172 -7
- package/build/ts/surfaces/admin/components/Option.d.ts +62 -5
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +56 -7
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +57 -9
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +102 -11
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +168 -14
- package/build/ts/surfaces/admin/components/PrintActionExtensionComponents.d.ts +3 -0
- package/build/ts/surfaces/admin/components/PrintActionExtensionComponents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +65 -7
- package/build/ts/surfaces/admin/components/SearchField.d.ts +150 -4
- package/build/ts/surfaces/admin/components/Section.d.ts +83 -8
- package/build/ts/surfaces/admin/components/Select.d.ts +147 -6
- package/build/ts/surfaces/admin/components/Spinner.d.ts +67 -5
- package/build/ts/surfaces/admin/components/Stack.d.ts +239 -61
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts +3 -0
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Switch.d.ts +124 -4
- package/build/ts/surfaces/admin/components/Table.d.ts +144 -13
- package/build/ts/surfaces/admin/components/TableBody.d.ts +62 -7
- package/build/ts/surfaces/admin/components/TableCell.d.ts +66 -7
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +77 -7
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +62 -7
- package/build/ts/surfaces/admin/components/TableRow.d.ts +65 -7
- package/build/ts/surfaces/admin/components/Text.d.ts +131 -9
- package/build/ts/surfaces/admin/components/TextArea.d.ts +159 -7
- package/build/ts/surfaces/admin/components/TextField.d.ts +172 -19
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +103 -10
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +98 -21
- package/build/ts/surfaces/admin/components/URLField.d.ts +173 -14
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +57 -9
- package/build/ts/surfaces/admin/components/shared.d.ts +842 -772
- package/build/ts/surfaces/admin/extension-targets.d.ts +85 -169
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts +1 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +3 -2
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts +3 -2
- package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +9 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +229 -118
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/docs.d.ts +33 -2
- package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +13 -5
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +11 -2
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +4 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +4 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shared.d.ts +77 -31
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +13 -4
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +16 -12
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +653 -453
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +4 -3
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +43 -13
- package/build/ts/surfaces/checkout/components/Badge.d.ts +47 -6
- package/build/ts/surfaces/checkout/components/Banner.d.ts +67 -12
- package/build/ts/surfaces/checkout/components/Box.d.ts +55 -2
- package/build/ts/surfaces/checkout/components/Button.d.ts +27 -6
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +42 -5
- package/build/ts/surfaces/checkout/components/Chip.d.ts +6 -3
- package/build/ts/surfaces/checkout/components/Choice.d.ts +5 -3
- package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +17 -5
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +50 -9
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +21 -8
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +16 -5
- package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +26 -5
- package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +37 -13
- package/build/ts/surfaces/checkout/components/DateField.d.ts +36 -15
- package/build/ts/surfaces/checkout/components/DatePicker.d.ts +31 -12
- package/build/ts/surfaces/checkout/components/Details.d.ts +22 -11
- package/build/ts/surfaces/checkout/components/Divider.d.ts +4 -3
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +23 -8
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +42 -12
- package/build/ts/surfaces/checkout/components/Form.d.ts +18 -4
- package/build/ts/surfaces/checkout/components/Grid.d.ts +142 -2
- package/build/ts/surfaces/checkout/components/GridItem.d.ts +60 -2
- package/build/ts/surfaces/checkout/components/Heading.d.ts +4 -3
- package/build/ts/surfaces/checkout/components/Icon.d.ts +45 -6
- package/build/ts/surfaces/checkout/components/Image.d.ts +40 -2
- package/build/ts/surfaces/checkout/components/Link.d.ts +17 -6
- package/build/ts/surfaces/checkout/components/ListItem.d.ts +4 -3
- package/build/ts/surfaces/checkout/components/Map.d.ts +72 -8
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +36 -10
- package/build/ts/surfaces/checkout/components/Modal.d.ts +51 -10
- package/build/ts/surfaces/checkout/components/MoneyField.d.ts +37 -10
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +45 -12
- package/build/ts/surfaces/checkout/components/Option.d.ts +4 -3
- package/build/ts/surfaces/checkout/components/OrderedList.d.ts +4 -3
- package/build/ts/surfaces/checkout/components/Paragraph.d.ts +12 -2
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +42 -12
- package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +12 -3
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +42 -12
- package/build/ts/surfaces/checkout/components/Popover.d.ts +39 -24
- package/build/ts/surfaces/checkout/components/PressButton.d.ts +21 -9
- package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +21 -3
- package/build/ts/surfaces/checkout/components/Progress.d.ts +29 -3
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +27 -5
- package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +5 -3
- package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +60 -2
- package/build/ts/surfaces/checkout/components/Section.d.ts +4 -3
- package/build/ts/surfaces/checkout/components/Select.d.ts +35 -7
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +40 -15
- package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +3 -3
- package/build/ts/surfaces/checkout/components/Spinner.d.ts +18 -3
- package/build/ts/surfaces/checkout/components/Stack.d.ts +115 -2
- package/build/ts/surfaces/checkout/components/Summary.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/Switch.d.ts +16 -5
- package/build/ts/surfaces/checkout/components/Text.d.ts +21 -4
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +37 -10
- package/build/ts/surfaces/checkout/components/TextField.d.ts +45 -12
- package/build/ts/surfaces/checkout/components/Time.d.ts +4 -3
- package/build/ts/surfaces/checkout/components/Tooltip.d.ts +21 -4
- package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +4 -3
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +31 -17
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +656 -488
- package/build/ts/surfaces/checkout/components/components.d.ts +462 -358
- package/build/ts/surfaces/checkout/extension-targets.d.ts +12 -0
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/globals.d.ts +1 -0
- package/build/ts/surfaces/checkout/globals.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/api.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/api.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/app-metafields.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/app-metafields.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts +3 -0
- package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/billing-address.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/billing-address.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/buyer-identity.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/buyer-identity.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts +5 -0
- package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/capabilities.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/capabilities.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/cart-line-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/cart-line-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/cart-lines.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/cart-lines.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/checkout-settings.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/checkout-settings.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/checkout-token.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/checkout-token.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/cost.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/cost.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/country.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/country.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/currency.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/currency.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/customer-privacy.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/customer-privacy.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-group-list-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-group-list-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-group-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-group-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-group.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-group.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-groups.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-groups.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-selection-groups.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-selection-groups.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/discounts.d.ts +3 -0
- package/build/ts/surfaces/checkout/preact/discounts.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/extension-editor.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/extension-editor.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/extension-language.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/extension-language.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/extension.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/extension.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/gift-cards.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/gift-cards.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/instructions.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/instructions.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/language.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/language.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/localized-fields.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/localized-fields.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/market.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/market.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/metafield.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/metafield.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/metafields.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/note.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/note.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/payment-method.d.ts +3 -0
- package/build/ts/surfaces/checkout/preact/payment-method.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/payment-options.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/payment-options.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/pickup-location-option-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/pickup-location-option-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/redeemable.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/redeemable.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/session-token.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/session-token.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/settings.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/settings.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/shipping-address.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/shipping-address.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/shop.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/shop.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/storage.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/storage.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/timezone.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/timezone.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/translate.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/translate.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +9 -11
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/style.d.ts +1 -0
- package/build/ts/surfaces/checkout/style/style.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/types.d.ts +0 -4
- package/build/ts/surfaces/checkout/style/types.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +1 -1
- package/build/ts/surfaces/customer-account/api/docs.d.ts +236 -20
- package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +380 -316
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts +131 -127
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +49 -57
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +4 -3
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +43 -13
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +44 -14
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +47 -6
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +67 -12
- package/build/ts/surfaces/customer-account/components/Box.d.ts +55 -2
- package/build/ts/surfaces/customer-account/components/Button.d.ts +27 -6
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +42 -5
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +6 -3
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +5 -3
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +17 -5
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +50 -9
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +21 -8
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +16 -5
- package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +26 -5
- package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +37 -13
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +36 -15
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +31 -12
- package/build/ts/surfaces/customer-account/components/Details.d.ts +22 -11
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +4 -3
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +23 -8
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +42 -12
- package/build/ts/surfaces/customer-account/components/Form.d.ts +18 -4
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +142 -2
- package/build/ts/surfaces/customer-account/components/GridItem.d.ts +60 -2
- package/build/ts/surfaces/customer-account/components/Heading.d.ts +4 -3
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +45 -6
- package/build/ts/surfaces/customer-account/components/Image.d.ts +40 -2
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +7 -2
- package/build/ts/surfaces/customer-account/components/Link.d.ts +17 -6
- package/build/ts/surfaces/customer-account/components/ListItem.d.ts +4 -3
- package/build/ts/surfaces/customer-account/components/Map.d.ts +72 -8
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +36 -10
- package/build/ts/surfaces/customer-account/components/Menu.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +51 -10
- package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +37 -10
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +45 -12
- package/build/ts/surfaces/customer-account/components/Option.d.ts +4 -3
- package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +4 -3
- package/build/ts/surfaces/customer-account/components/Page.d.ts +5 -5
- package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +12 -2
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +42 -12
- package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +12 -3
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +42 -12
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +39 -24
- package/build/ts/surfaces/customer-account/components/PressButton.d.ts +21 -9
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +21 -3
- package/build/ts/surfaces/customer-account/components/Progress.d.ts +29 -3
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +27 -5
- package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +5 -3
- package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +60 -2
- package/build/ts/surfaces/customer-account/components/Section.d.ts +4 -3
- package/build/ts/surfaces/customer-account/components/Select.d.ts +35 -7
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +40 -15
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/Spinner.d.ts +18 -3
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +115 -2
- package/build/ts/surfaces/customer-account/components/Summary.d.ts +2 -0
- package/build/ts/surfaces/customer-account/components/Switch.d.ts +16 -5
- package/build/ts/surfaces/customer-account/components/Text.d.ts +21 -4
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +37 -10
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +45 -12
- package/build/ts/surfaces/customer-account/components/Time.d.ts +4 -3
- package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +21 -4
- package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +4 -3
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +31 -17
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +656 -488
- package/build/ts/surfaces/customer-account/components/components.d.ts +462 -358
- package/build/ts/surfaces/customer-account/components/shared.d.ts +23 -2
- package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared.ts +23 -5
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +6 -1
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +3 -1
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +6 -1
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +6 -1
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +6 -1
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +4 -2
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +7 -2
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +4 -5
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +6 -1
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +6 -1
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +6 -1
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +5 -1
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Button.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +10 -10
- package/build/ts/surfaces/point-of-sale/components/Text.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +11 -11
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +23 -2
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts +3 -1
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -5
- package/src/api.ts +23 -26
- package/src/extension.ts +21 -0
- package/src/shared.ts +72 -16
- package/src/surfaces/admin/api/action/action.ts +8 -4
- package/src/surfaces/admin/api/action/examples/handle-errors.jsx +47 -0
- package/src/surfaces/admin/api/action/examples/process-selected-products.jsx +33 -0
- package/src/surfaces/admin/api/action/examples/select-additional-resources.jsx +46 -0
- package/src/surfaces/admin/api/block/block.ts +13 -6
- package/src/surfaces/admin/api/block/examples/display-product-info.jsx +46 -0
- package/src/surfaces/admin/api/block/examples/navigate-to-action.jsx +50 -0
- package/src/surfaces/admin/api/block/examples/select-related-products.jsx +46 -0
- package/src/surfaces/admin/api/checkout-rules/examples/configure-shipping-restrictions.jsx +52 -0
- package/src/surfaces/admin/api/checkout-rules/examples/load-validation-config.jsx +55 -0
- package/src/surfaces/admin/api/checkout-rules/examples/set-minimum-quantity.jsx +40 -0
- package/src/surfaces/admin/api/checkout-rules/launch-options.ts +22 -10
- package/src/surfaces/admin/api/checkout-rules/metafields.ts +35 -0
- package/src/surfaces/admin/api/checkout-rules/validation-settings.ts +5 -1
- package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +20 -7
- package/src/surfaces/admin/api/customer-segment-template/examples/abandoned-cart-recovery.jsx +30 -0
- package/src/surfaces/admin/api/customer-segment-template/examples/birthday-this-month.jsx +32 -0
- package/src/surfaces/admin/api/customer-segment-template/examples/high-value-customers.jsx +27 -0
- package/src/surfaces/admin/api/discount-function-settings/discount-function-settings.ts +5 -1
- package/src/surfaces/admin/api/discount-function-settings/examples/configure-discount-threshold.jsx +39 -0
- package/src/surfaces/admin/api/discount-function-settings/examples/configure-eligibility-rules.jsx +45 -0
- package/src/surfaces/admin/api/discount-function-settings/examples/load-existing-settings.jsx +45 -0
- package/src/surfaces/admin/api/discount-function-settings/launch-options.ts +22 -4
- package/src/surfaces/admin/api/discount-function-settings/metafields.ts +35 -0
- package/src/surfaces/admin/api/intents/examples/create-article.jsx +35 -0
- package/src/surfaces/admin/api/intents/examples/create-catalog.jsx +35 -0
- package/src/surfaces/admin/api/intents/examples/create-collection.jsx +35 -0
- package/src/surfaces/admin/api/intents/examples/create-customer.jsx +35 -0
- package/src/surfaces/admin/api/intents/examples/create-discount.jsx +35 -0
- package/src/surfaces/admin/api/intents/examples/create-market.jsx +35 -0
- package/src/surfaces/admin/api/intents/examples/create-menu.jsx +35 -0
- package/src/surfaces/admin/api/intents/examples/create-metafield-definition.jsx +35 -0
- package/src/surfaces/admin/api/intents/examples/create-metaobject-definition.jsx +35 -0
- package/src/surfaces/admin/api/intents/examples/create-metaobject.jsx +35 -0
- package/src/surfaces/admin/api/intents/examples/create-page.jsx +35 -0
- package/src/surfaces/admin/api/intents/examples/create-product.jsx +37 -0
- package/src/surfaces/admin/api/intents/examples/create-variant.jsx +35 -0
- package/src/surfaces/admin/api/intents/examples/edit-article.jsx +41 -0
- package/src/surfaces/admin/api/intents/examples/edit-catalog.jsx +41 -0
- package/src/surfaces/admin/api/intents/examples/edit-collection.jsx +41 -0
- package/src/surfaces/admin/api/intents/examples/edit-customer.jsx +41 -0
- package/src/surfaces/admin/api/intents/examples/edit-discount.jsx +41 -0
- package/src/surfaces/admin/api/intents/examples/edit-market.jsx +41 -0
- package/src/surfaces/admin/api/intents/examples/edit-menu.jsx +41 -0
- package/src/surfaces/admin/api/intents/examples/edit-metafield-definition.jsx +41 -0
- package/src/surfaces/admin/api/intents/examples/edit-metaobject-definition.jsx +41 -0
- package/src/surfaces/admin/api/intents/examples/edit-metaobject.jsx +41 -0
- package/src/surfaces/admin/api/intents/examples/edit-page.jsx +41 -0
- package/src/surfaces/admin/api/intents/examples/edit-product.jsx +41 -0
- package/src/surfaces/admin/api/intents/examples/edit-variant.jsx +41 -0
- package/src/surfaces/admin/api/intents/intents.ts +36 -35
- package/src/surfaces/admin/api/order-routing-rule/data.ts +20 -0
- package/src/surfaces/admin/api/order-routing-rule/examples/configure-location-priority.jsx +46 -0
- package/src/surfaces/admin/api/order-routing-rule/examples/remove-deprecated-settings.jsx +35 -0
- package/src/surfaces/admin/api/order-routing-rule/examples/set-routing-criteria.jsx +57 -0
- package/src/surfaces/admin/api/order-routing-rule/metafields.ts +24 -0
- package/src/surfaces/admin/api/order-routing-rule/order-routing-rule.ts +6 -0
- package/src/surfaces/admin/api/picker/examples/direct-api.jsx +42 -0
- package/src/surfaces/admin/api/picker/examples/disabled.jsx +23 -0
- package/src/surfaces/admin/api/picker/examples/minimal.jsx +37 -0
- package/src/surfaces/admin/api/picker/examples/multiple-limit.jsx +26 -0
- package/src/surfaces/admin/api/picker/examples/multiple-true.jsx +25 -0
- package/src/surfaces/admin/api/picker/examples/preselected.jsx +23 -0
- package/src/surfaces/admin/api/picker/examples/template-picker.jsx +58 -0
- package/src/surfaces/admin/api/picker/picker.ts +47 -16
- package/src/surfaces/admin/api/print-action/examples/custom-product-labels.jsx +47 -0
- package/src/surfaces/admin/api/print-action/examples/generate-packing-slip.jsx +34 -0
- package/src/surfaces/admin/api/print-action/examples/shipping-manifest.jsx +57 -0
- package/src/surfaces/admin/api/print-action/print-action.ts +7 -3
- package/src/surfaces/admin/api/product-configuration/examples/create-variant-component.jsx +56 -0
- package/src/surfaces/admin/api/product-configuration/examples/load-bundle-config.jsx +47 -0
- package/src/surfaces/admin/api/product-configuration/examples/load-variant-bundle-config.jsx +54 -0
- package/src/surfaces/admin/api/product-configuration/examples/navigate-to-component.jsx +27 -0
- package/src/surfaces/admin/api/product-configuration/examples/select-bundle-components.jsx +50 -0
- package/src/surfaces/admin/api/product-configuration/examples/select-variant-components.jsx +50 -0
- package/src/surfaces/admin/api/product-configuration/product-details-configuration.ts +37 -6
- package/src/surfaces/admin/api/product-configuration/product-variant-details-configuration.ts +37 -6
- package/src/surfaces/admin/api/purchase-options-card/examples/manage-subscription.jsx +45 -0
- package/src/surfaces/admin/api/purchase-options-card/examples/remove-from-plan.jsx +44 -0
- package/src/surfaces/admin/api/purchase-options-card/examples/validate-selling-plan.jsx +47 -0
- package/src/surfaces/admin/api/purchase-options-card-action.ts +12 -1
- package/src/surfaces/admin/api/resource-picker/examples/action.jsx +25 -0
- package/src/surfaces/admin/api/resource-picker/examples/collection-picker.jsx +22 -0
- package/src/surfaces/admin/api/resource-picker/examples/filter-query.jsx +22 -0
- package/src/surfaces/admin/api/resource-picker/examples/filters.jsx +27 -0
- package/src/surfaces/admin/api/resource-picker/examples/multiple-limited.jsx +25 -0
- package/src/surfaces/admin/api/resource-picker/examples/multiple-unlimited.jsx +25 -0
- package/src/surfaces/admin/api/resource-picker/examples/product-picker.jsx +22 -0
- package/src/surfaces/admin/api/resource-picker/examples/product-variant-picker.jsx +22 -0
- package/src/surfaces/admin/api/resource-picker/examples/query.jsx +25 -0
- package/src/surfaces/admin/api/resource-picker/examples/selection-ids.jsx +28 -0
- package/src/surfaces/admin/api/resource-picker/examples/selection.jsx +22 -0
- package/src/surfaces/admin/api/resource-picker/resource-picker.ts +183 -21
- package/src/surfaces/admin/api/shared.ts +7 -1
- package/src/surfaces/admin/api/should-render/examples/bulk-selection-check.jsx +8 -0
- package/src/surfaces/admin/api/should-render/examples/check-order-status.jsx +7 -0
- package/src/surfaces/admin/api/should-render/examples/check-product-tag.jsx +7 -0
- package/src/surfaces/admin/api/should-render/should-render.ts +9 -1
- package/src/surfaces/admin/api/standard/examples/authenticate-backend-request.jsx +40 -0
- package/src/surfaces/admin/api/standard/examples/persist-settings.jsx +43 -0
- package/src/surfaces/admin/api/standard/examples/query-and-mutate.jsx +75 -0
- package/src/surfaces/admin/api/standard/standard.ts +21 -10
- package/src/surfaces/admin/api/standard/storage.ts +21 -27
- package/src/surfaces/admin/components/ActionExtensionComponents.ts +3 -0
- package/src/surfaces/admin/components/AdminAction/examples/default.html +5 -0
- package/src/surfaces/admin/components/AdminAction/examples/destructive-action.html +10 -0
- package/src/surfaces/admin/components/AdminAction/examples/loading-state.html +5 -0
- package/src/surfaces/admin/components/AdminAction/examples/with-form-content.html +8 -0
- package/src/surfaces/admin/components/AdminAction/examples/with-resource-details.html +15 -0
- package/src/surfaces/admin/components/AdminAction.d.ts +55 -3
- package/src/surfaces/admin/components/AdminBlock/examples/default.html +3 -0
- package/src/surfaces/admin/components/AdminBlock/examples/with-actions.html +14 -0
- package/src/surfaces/admin/components/AdminBlock/examples/with-badges.html +14 -0
- package/src/surfaces/admin/components/AdminBlock/examples/with-collapsed-summary.html +7 -0
- package/src/surfaces/admin/components/AdminBlock/examples/with-data-table.html +21 -0
- package/src/surfaces/admin/components/AdminBlock.d.ts +51 -1
- package/src/surfaces/admin/components/AdminPrintAction/examples/default.html +1 -0
- package/src/surfaces/admin/components/AdminPrintAction/examples/dynamic-url.html +1 -0
- package/src/surfaces/admin/components/AdminPrintAction/examples/pdf-source.html +1 -0
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +47 -1
- package/src/surfaces/admin/components/Avatar.d.ts +110 -10
- package/src/surfaces/admin/components/Badge.d.ts +157 -8
- package/src/surfaces/admin/components/Banner.d.ts +103 -10
- package/src/surfaces/admin/components/BlockExtensionComponents.ts +3 -0
- package/src/surfaces/admin/components/Box/examples/accessible-status-messages.html +8 -14
- package/src/surfaces/admin/components/Box/examples/screen-reader-only-content.html +3 -0
- package/src/surfaces/admin/components/Box.d.ts +205 -75
- package/src/surfaces/admin/components/Button/examples/component-interactions.html +8 -6
- package/src/surfaces/admin/components/Button/examples/icon-only-button.html +17 -1
- package/src/surfaces/admin/components/Button.d.ts +246 -16
- package/src/surfaces/admin/components/ButtonGroup.d.ts +96 -11
- package/src/surfaces/admin/components/Checkbox/examples/indeterminate-state.html +10 -0
- package/src/surfaces/admin/components/Checkbox/examples/validation-example.html +9 -0
- package/src/surfaces/admin/components/Checkbox.d.ts +135 -4
- package/src/surfaces/admin/components/Chip/examples/default.html +1 -1
- package/src/surfaces/admin/components/Chip.d.ts +2 -4
- package/src/surfaces/admin/components/Choice.d.ts +68 -11
- package/src/surfaces/admin/components/ChoiceList/examples/disabled-state.html +5 -0
- package/src/surfaces/admin/components/ChoiceList/examples/with-error-state.html +2 -3
- package/src/surfaces/admin/components/ChoiceList.d.ts +104 -6
- package/src/surfaces/admin/components/Clickable.d.ts +142 -41
- package/src/surfaces/admin/components/ClickableChip.d.ts +115 -19
- package/src/surfaces/admin/components/ColorField/examples/default.html +4 -1
- package/src/surfaces/admin/components/ColorField/examples/validation-example.html +12 -0
- package/src/surfaces/admin/components/ColorField.d.ts +177 -18
- package/src/surfaces/admin/components/ColorPicker/examples/default.html +1 -1
- package/src/surfaces/admin/components/ColorPicker.d.ts +102 -5
- package/src/surfaces/admin/components/DateField.d.ts +197 -22
- package/src/surfaces/admin/components/DatePicker.d.ts +143 -4
- package/src/surfaces/admin/components/Divider.d.ts +90 -6
- package/src/surfaces/admin/components/DropZone/examples/upload-with-validation.html +42 -0
- package/src/surfaces/admin/components/EmailField/examples/disabled-state.html +5 -0
- package/src/surfaces/admin/components/EmailField.d.ts +161 -7
- package/src/surfaces/admin/components/Form/examples/default.html +1 -1
- package/src/surfaces/admin/components/Form/examples/with-choice-fields.html +12 -0
- package/src/surfaces/admin/components/Form/examples/with-multiple-fields.html +12 -0
- package/src/surfaces/admin/components/Form/examples/with-sections.html +21 -0
- package/src/surfaces/admin/components/Form/examples/with-validation.html +7 -0
- package/src/surfaces/admin/components/Form.d.ts +67 -5
- package/src/surfaces/admin/components/FormExtensionComponents.ts +3 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/default.html +9 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/with-multiple-settings.html +16 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/with-select-options.html +10 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/with-toggle.html +13 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/with-validation.html +23 -0
- package/src/surfaces/admin/components/FunctionSettings.d.ts +80 -8
- package/src/surfaces/admin/components/FunctionSettingsComponents.ts +3 -0
- package/src/surfaces/admin/components/Grid.d.ts +249 -69
- package/src/surfaces/admin/components/GridItem.d.ts +212 -33
- package/src/surfaces/admin/components/Heading.d.ts +68 -7
- package/src/surfaces/admin/components/Icon.d.ts +110 -11
- package/src/surfaces/admin/components/Image/examples/basic-usage.html +15 -4
- package/src/surfaces/admin/components/Image.d.ts +237 -36
- package/src/surfaces/admin/components/Link/examples/default.html +1 -1
- package/src/surfaces/admin/components/Link.d.ts +78 -16
- package/src/surfaces/admin/components/ListItem.d.ts +59 -7
- package/src/surfaces/admin/components/Menu/examples/icon-only-trigger.html +13 -0
- package/src/surfaces/admin/components/Menu.d.ts +101 -21
- package/src/surfaces/admin/components/MoneyField/examples/basic-field.html +0 -1
- package/src/surfaces/admin/components/MoneyField.d.ts +160 -7
- package/src/surfaces/admin/components/NumberField/examples/disabled-and-read-only.html +15 -0
- package/src/surfaces/admin/components/NumberField/examples/with-error-state.html +9 -0
- package/src/surfaces/admin/components/NumberField.d.ts +172 -7
- package/src/surfaces/admin/components/Option.d.ts +62 -5
- package/src/surfaces/admin/components/OptionGroup.d.ts +56 -7
- package/src/surfaces/admin/components/OrderedList/examples/default.html +3 -3
- package/src/surfaces/admin/components/OrderedList.d.ts +57 -9
- package/src/surfaces/admin/components/Paragraph/examples/subdued-color.html +3 -0
- package/src/surfaces/admin/components/Paragraph/examples/with-tone-and-color.html +13 -1
- package/src/surfaces/admin/components/Paragraph.d.ts +102 -11
- package/src/surfaces/admin/components/PasswordField.d.ts +168 -14
- package/src/surfaces/admin/components/PrintActionExtensionComponents.ts +3 -0
- package/src/surfaces/admin/components/QueryContainer.d.ts +65 -7
- package/src/surfaces/admin/components/SearchField.d.ts +150 -4
- package/src/surfaces/admin/components/Section.d.ts +83 -8
- package/src/surfaces/admin/components/Select/examples/with-error-state.html +2 -2
- package/src/surfaces/admin/components/Select/examples/with-option-groups.html +4 -4
- package/src/surfaces/admin/components/Select.d.ts +147 -6
- package/src/surfaces/admin/components/Spinner/examples/spinner-sizes.html +5 -0
- package/src/surfaces/admin/components/Spinner.d.ts +67 -5
- package/src/surfaces/admin/components/Stack.d.ts +239 -61
- package/src/surfaces/admin/components/StandardComponents.ts +3 -0
- package/src/surfaces/admin/components/Switch/examples/disabled-switch.html +2 -2
- package/src/surfaces/admin/components/Switch/examples/form-integration.html +15 -12
- package/src/surfaces/admin/components/Switch/examples/hidden-label-for-accessibility.html +1 -1
- package/src/surfaces/admin/components/Switch/examples/settings-panel-with-stack.html +1 -1
- package/src/surfaces/admin/components/Switch/examples/with-details-and-error.html +1 -1
- package/src/surfaces/admin/components/Switch.d.ts +124 -4
- package/src/surfaces/admin/components/Table/examples/with-filters.html +26 -0
- package/src/surfaces/admin/components/Table.d.ts +144 -13
- package/src/surfaces/admin/components/TableBody.d.ts +62 -7
- package/src/surfaces/admin/components/TableCell.d.ts +66 -7
- package/src/surfaces/admin/components/TableHeader.d.ts +77 -7
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +62 -7
- package/src/surfaces/admin/components/TableRow.d.ts +65 -7
- package/src/surfaces/admin/components/Text.d.ts +131 -9
- package/src/surfaces/admin/components/TextArea/examples/disabled-and-read-only.html +15 -0
- package/src/surfaces/admin/components/TextArea.d.ts +159 -7
- package/src/surfaces/admin/components/TextField/examples/disabled-and-read-only.html +13 -0
- package/src/surfaces/admin/components/TextField.d.ts +172 -19
- package/src/surfaces/admin/components/Thumbnail/examples/default.html +1 -1
- package/src/surfaces/admin/components/Thumbnail/examples/different-sizes.html +3 -3
- package/src/surfaces/admin/components/Thumbnail/examples/with-event-handling.html +22 -9
- package/src/surfaces/admin/components/Thumbnail.d.ts +103 -10
- package/src/surfaces/admin/components/Tooltip/examples/basic-usage.html +2 -4
- package/src/surfaces/admin/components/Tooltip/examples/keyboard-shortcut.html +2 -0
- package/src/surfaces/admin/components/Tooltip/examples/with-icon-button.html +3 -5
- package/src/surfaces/admin/components/Tooltip.d.ts +98 -21
- package/src/surfaces/admin/components/URLField/examples/default.html +2 -2
- package/src/surfaces/admin/components/URLField/examples/with-default-value.html +5 -7
- package/src/surfaces/admin/components/URLField.d.ts +173 -14
- package/src/surfaces/admin/components/UnorderedList.d.ts +57 -9
- package/src/surfaces/admin/components/shared.d.ts +842 -772
- package/src/surfaces/admin/components.d.ts +3661 -1105
- package/src/surfaces/admin/extension-targets.ts +85 -169
- package/src/surfaces/checkout/api/address-autocomplete/format-suggestion.ts +1 -0
- package/src/surfaces/checkout/api/address-autocomplete/standard.ts +3 -2
- package/src/surfaces/checkout/api/address-autocomplete/suggest.ts +3 -2
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +9 -1
- package/src/surfaces/checkout/api/checkout/checkout.ts +229 -118
- package/src/surfaces/checkout/api/docs.ts +33 -2
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +13 -5
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +11 -2
- package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +4 -1
- package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +4 -1
- package/src/surfaces/checkout/api/shared.ts +77 -31
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +13 -4
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +16 -12
- package/src/surfaces/checkout/api/standard/standard.ts +655 -456
- package/src/surfaces/checkout/components/Abbreviation.d.ts +4 -3
- package/src/surfaces/checkout/components/Announcement.d.ts +43 -13
- package/src/surfaces/checkout/components/Badge.d.ts +47 -6
- package/src/surfaces/checkout/components/Banner.d.ts +67 -12
- package/src/surfaces/checkout/components/Box.d.ts +55 -2
- package/src/surfaces/checkout/components/Button.d.ts +27 -6
- package/src/surfaces/checkout/components/Checkbox.d.ts +42 -5
- package/src/surfaces/checkout/components/Chip.d.ts +6 -3
- package/src/surfaces/checkout/components/Choice.d.ts +5 -3
- package/src/surfaces/checkout/components/ChoiceList.d.ts +17 -5
- package/src/surfaces/checkout/components/Clickable.d.ts +50 -9
- package/src/surfaces/checkout/components/ClickableChip.d.ts +21 -8
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +16 -5
- package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +26 -5
- package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +37 -13
- package/src/surfaces/checkout/components/DateField.d.ts +36 -15
- package/src/surfaces/checkout/components/DatePicker.d.ts +31 -12
- package/src/surfaces/checkout/components/Details.d.ts +22 -11
- package/src/surfaces/checkout/components/Divider.d.ts +4 -3
- package/src/surfaces/checkout/components/DropZone.d.ts +23 -8
- package/src/surfaces/checkout/components/EmailField.d.ts +42 -12
- package/src/surfaces/checkout/components/Form.d.ts +18 -4
- package/src/surfaces/checkout/components/Grid.d.ts +142 -2
- package/src/surfaces/checkout/components/GridItem.d.ts +60 -2
- package/src/surfaces/checkout/components/Heading.d.ts +4 -3
- package/src/surfaces/checkout/components/Icon.d.ts +45 -6
- package/src/surfaces/checkout/components/Image.d.ts +40 -2
- package/src/surfaces/checkout/components/Link.d.ts +17 -6
- package/src/surfaces/checkout/components/ListItem.d.ts +4 -3
- package/src/surfaces/checkout/components/Map.d.ts +72 -8
- package/src/surfaces/checkout/components/MapMarker.d.ts +36 -10
- package/src/surfaces/checkout/components/Modal.d.ts +51 -10
- package/src/surfaces/checkout/components/MoneyField.d.ts +37 -10
- package/src/surfaces/checkout/components/NumberField.d.ts +45 -12
- package/src/surfaces/checkout/components/Option.d.ts +4 -3
- package/src/surfaces/checkout/components/OrderedList.d.ts +4 -3
- package/src/surfaces/checkout/components/Paragraph.d.ts +12 -2
- package/src/surfaces/checkout/components/PasswordField.d.ts +42 -12
- package/src/surfaces/checkout/components/PaymentIcon.d.ts +12 -3
- package/src/surfaces/checkout/components/PhoneField.d.ts +42 -12
- package/src/surfaces/checkout/components/Popover.d.ts +39 -24
- package/src/surfaces/checkout/components/PressButton.d.ts +21 -9
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +21 -3
- package/src/surfaces/checkout/components/Progress.d.ts +29 -3
- package/src/surfaces/checkout/components/QRCode.d.ts +27 -5
- package/src/surfaces/checkout/components/QueryContainer.d.ts +5 -3
- package/src/surfaces/checkout/components/ScrollBox.d.ts +60 -2
- package/src/surfaces/checkout/components/Section.d.ts +4 -3
- package/src/surfaces/checkout/components/Select.d.ts +35 -7
- package/src/surfaces/checkout/components/Sheet.d.ts +40 -15
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +3 -3
- package/src/surfaces/checkout/components/Spinner.d.ts +18 -3
- package/src/surfaces/checkout/components/Stack.d.ts +115 -2
- package/src/surfaces/checkout/components/Summary.d.ts +2 -0
- package/src/surfaces/checkout/components/Switch.d.ts +16 -5
- package/src/surfaces/checkout/components/Text.d.ts +21 -4
- package/src/surfaces/checkout/components/TextArea.d.ts +37 -10
- package/src/surfaces/checkout/components/TextField.d.ts +45 -12
- package/src/surfaces/checkout/components/Time.d.ts +4 -3
- package/src/surfaces/checkout/components/Tooltip.d.ts +21 -4
- package/src/surfaces/checkout/components/UnorderedList.d.ts +4 -3
- package/src/surfaces/checkout/components/UrlField.d.ts +31 -17
- package/src/surfaces/checkout/components/components-shared.d.ts +656 -488
- package/src/surfaces/checkout/components/components.d.ts +462 -358
- package/src/surfaces/checkout/extension-targets.ts +12 -0
- package/src/surfaces/checkout/globals.ts +1 -0
- package/src/surfaces/checkout/preact/api.ts +2 -0
- package/src/surfaces/checkout/preact/app-metafields.ts +1 -0
- package/src/surfaces/checkout/preact/attributes.ts +3 -0
- package/src/surfaces/checkout/preact/billing-address.ts +1 -0
- package/src/surfaces/checkout/preact/buyer-identity.ts +4 -0
- package/src/surfaces/checkout/preact/buyer-journey.ts +5 -0
- package/src/surfaces/checkout/preact/capabilities.ts +2 -0
- package/src/surfaces/checkout/preact/cart-line-target.ts +1 -0
- package/src/surfaces/checkout/preact/cart-lines.ts +2 -0
- package/src/surfaces/checkout/preact/checkout-settings.ts +1 -0
- package/src/surfaces/checkout/preact/checkout-token.ts +1 -0
- package/src/surfaces/checkout/preact/cost.ts +4 -0
- package/src/surfaces/checkout/preact/country.ts +1 -0
- package/src/surfaces/checkout/preact/currency.ts +1 -0
- package/src/surfaces/checkout/preact/customer-privacy.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-group-list-target.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-group-target.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-group.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-groups.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-selection-groups.ts +1 -0
- package/src/surfaces/checkout/preact/discounts.ts +3 -0
- package/src/surfaces/checkout/preact/extension-editor.ts +1 -0
- package/src/surfaces/checkout/preact/extension-language.ts +1 -0
- package/src/surfaces/checkout/preact/extension.ts +2 -0
- package/src/surfaces/checkout/preact/gift-cards.ts +2 -0
- package/src/surfaces/checkout/preact/instructions.ts +1 -0
- package/src/surfaces/checkout/preact/language.ts +1 -0
- package/src/surfaces/checkout/preact/localized-fields.ts +4 -0
- package/src/surfaces/checkout/preact/market.ts +1 -0
- package/src/surfaces/checkout/preact/metafield.ts +1 -0
- package/src/surfaces/checkout/preact/metafields.ts +2 -0
- package/src/surfaces/checkout/preact/note.ts +2 -0
- package/src/surfaces/checkout/preact/payment-method.ts +3 -0
- package/src/surfaces/checkout/preact/payment-options.ts +2 -0
- package/src/surfaces/checkout/preact/pickup-location-option-target.ts +1 -0
- package/src/surfaces/checkout/preact/redeemable.ts +1 -0
- package/src/surfaces/checkout/preact/session-token.ts +1 -0
- package/src/surfaces/checkout/preact/settings.ts +1 -0
- package/src/surfaces/checkout/preact/shipping-address.ts +2 -0
- package/src/surfaces/checkout/preact/shipping-option-target.ts +1 -0
- package/src/surfaces/checkout/preact/shop.ts +1 -0
- package/src/surfaces/checkout/preact/storage.ts +1 -0
- package/src/surfaces/checkout/preact/subscription.ts +1 -0
- package/src/surfaces/checkout/preact/target.ts +1 -0
- package/src/surfaces/checkout/preact/timezone.ts +1 -0
- package/src/surfaces/checkout/preact/translate.ts +1 -0
- package/src/surfaces/checkout/shared.ts +9 -11
- package/src/surfaces/checkout/style/style.ts +1 -0
- package/src/surfaces/checkout/style/types.ts +0 -4
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +1 -1
- package/src/surfaces/customer-account/api/docs.ts +241 -22
- package/src/surfaces/customer-account/api/order-status/order-status.ts +387 -316
- package/src/surfaces/customer-account/api/shared.ts +131 -127
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +49 -57
- package/src/surfaces/customer-account/components/Abbreviation/examples/basic-abbreviation.example.html +1 -0
- package/src/surfaces/customer-account/components/Announcement/examples/basic-announcement.example.html +16 -0
- package/src/surfaces/customer-account/components/Avatar.d.ts +44 -14
- package/src/surfaces/customer-account/components/Badge/examples/basic-badge.example.html +3 -0
- package/src/surfaces/customer-account/components/Banner/examples/basic-banner.example.html +1 -0
- package/src/surfaces/customer-account/components/Box/examples/basic-box.example.html +11 -0
- package/src/surfaces/customer-account/components/Button/examples/basic-button.example.html +2 -0
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +3 -3
- package/src/surfaces/customer-account/components/Checkbox/examples/basic-checkbox.example.html +1 -0
- package/src/surfaces/customer-account/components/Chip/examples/basic-chip.example.html +1 -0
- package/src/surfaces/customer-account/components/ChoiceList/examples/basic-choice-list.example.html +7 -0
- package/src/surfaces/customer-account/components/ChoiceList/examples/block-choice-variant.example.html +47 -0
- package/src/surfaces/customer-account/components/ChoiceList/examples/grid-choice-variant.example.html +5 -0
- package/src/surfaces/customer-account/components/ChoiceList/examples/inline-choice-variant.example.html +6 -0
- package/src/surfaces/customer-account/components/ChoiceList/examples/list-choice-variant.example.html +5 -0
- package/src/surfaces/customer-account/components/Clickable/examples/basic-clickable.example.html +3 -0
- package/src/surfaces/customer-account/components/ClickableChip/examples/basic-clickable-chip.example.html +1 -0
- package/src/surfaces/customer-account/components/ClipboardItem/examples/basic-clipboard-item.example.html +2 -0
- package/src/surfaces/customer-account/components/ConsentCheckbox/examples/basic-consent-checkbox.example.html +5 -0
- package/src/surfaces/customer-account/components/ConsentPhoneField/examples/basic-consent-phone-field.example.html +5 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/src/surfaces/customer-account/components/DateField/examples/basic-date-field.example.html +1 -0
- package/src/surfaces/customer-account/components/DatePicker/examples/basic-date-picker.example.html +1 -0
- package/src/surfaces/customer-account/components/Details/examples/basic-details.example.html +6 -0
- package/src/surfaces/customer-account/components/DropZone/examples/basic-drop-zone.example.html +1 -0
- package/src/surfaces/customer-account/components/EmailField/examples/basic-email-field.example.html +1 -0
- package/src/surfaces/customer-account/components/Form/examples/basic-form.example.html +4 -0
- package/src/surfaces/customer-account/components/Grid/examples/basic-grid.example.html +11 -0
- package/src/surfaces/customer-account/components/Heading/examples/basic-heading.example.html +1 -0
- package/src/surfaces/customer-account/components/Icon/examples/basic-icon.example.html +4 -0
- package/src/surfaces/customer-account/components/Image/examples/basic-image.example.html +1 -0
- package/src/surfaces/customer-account/components/ImageGroup.d.ts +7 -2
- package/src/surfaces/customer-account/components/Link/examples/basic-link.example.html +1 -0
- package/src/surfaces/customer-account/components/Map/examples/basic-map.example.html +3 -0
- package/src/surfaces/customer-account/components/Map/examples/map-marker-graphic.example.html +14 -0
- package/src/surfaces/customer-account/components/Map/examples/map-marker-popover.example.html +14 -0
- package/src/surfaces/customer-account/components/Menu.d.ts +1 -1
- package/src/surfaces/customer-account/components/Modal/examples/basic-modal.example.html +20 -0
- package/src/surfaces/customer-account/components/MoneyField/examples/basic-money-field.example.html +1 -0
- package/src/surfaces/customer-account/components/NumberField/examples/basic-number-field.example.html +8 -0
- package/src/surfaces/customer-account/components/OrderedList/examples/basic-ordered-list.example.html +5 -0
- package/src/surfaces/customer-account/components/Page.d.ts +5 -5
- package/src/surfaces/customer-account/components/Paragraph/examples/basic-paragraph.example.html +1 -0
- package/src/surfaces/customer-account/components/PasswordField/examples/basic-password-field.example.html +1 -0
- package/src/surfaces/customer-account/components/PaymentIcon/examples/basic-payment-icon.example.html +7 -0
- package/src/surfaces/customer-account/components/PhoneField/examples/basic-phone-field.example.html +2 -0
- package/src/surfaces/customer-account/components/Popover/examples/basic-popover.example.html +7 -0
- package/src/surfaces/customer-account/components/PressButton/examples/basic-press-button.example.html +1 -0
- package/src/surfaces/customer-account/components/ProductThumbnail/examples/basic-product-thumbnail.example.html +4 -0
- package/src/surfaces/customer-account/components/Progress/examples/basic-progress.example.html +1 -0
- package/src/surfaces/customer-account/components/QRCode/examples/basic-qr-code.example.html +4 -0
- package/src/surfaces/customer-account/components/QueryContainer/examples/basic-query-container.example.html +8 -0
- package/src/surfaces/customer-account/components/ScrollBox/examples/basic-scroll-box.example.html +5 -0
- package/src/surfaces/customer-account/components/Section.d.ts +3 -7
- package/src/surfaces/customer-account/components/Select/examples/basic-select.example.html +5 -0
- package/src/surfaces/customer-account/components/Sheet/examples/basic-sheet.example.html +5 -0
- package/src/surfaces/customer-account/components/SkeletonParagraph/examples/basic-skeleton-paragraph.example.html +2 -0
- package/src/surfaces/customer-account/components/Spinner/examples/basic-spinner.example.html +1 -0
- package/src/surfaces/customer-account/components/Stack/examples/basic-stack.example.html +22 -0
- package/src/surfaces/customer-account/components/Switch/examples/basic-switch.example.html +1 -0
- package/src/surfaces/customer-account/components/Text/examples/basic-text.example.html +3 -0
- package/src/surfaces/customer-account/components/TextArea/examples/basic-text-area.example.html +5 -0
- package/src/surfaces/customer-account/components/TextField/examples/basic-text-field.example.html +4 -0
- package/src/surfaces/customer-account/components/Time/examples/basic-time.example.html +1 -0
- package/src/surfaces/customer-account/components/Tooltip/examples/basic-tooltip.example.html +9 -0
- package/src/surfaces/customer-account/components/URLField/examples/basic-url-field.example.html +1 -0
- package/src/surfaces/customer-account/components/UnorderedList/examples/basic-unordered-list.example.html +5 -0
- package/src/surfaces/customer-account/components/shared.ts +23 -5
- package/src/surfaces/customer-account/components.d.ts +58 -0
- package/src/surfaces/point-of-sale/api/action-api/action-api.ts +6 -1
- package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +3 -1
- package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +6 -1
- package/src/surfaces/point-of-sale/api/device-api/device-api.ts +6 -1
- package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +6 -1
- package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +6 -0
- package/src/surfaces/point-of-sale/api/order-api/order-api.ts +4 -2
- package/src/surfaces/point-of-sale/api/pin-pad-api.ts +7 -2
- package/src/surfaces/point-of-sale/api/print-api/print-api.ts +4 -5
- package/src/surfaces/point-of-sale/api/product-api/product-api.ts +6 -1
- package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +6 -1
- package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/session-api/session-api.ts +6 -1
- package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +1 -1
- package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +5 -1
- package/src/surfaces/point-of-sale/components/Button.d.ts +1 -1
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +1 -1
- package/src/surfaces/point-of-sale/components/EmailField.d.ts +1 -1
- package/src/surfaces/point-of-sale/components/Stack.d.ts +10 -10
- package/src/surfaces/point-of-sale/components/Text.d.ts +1 -1
- package/src/surfaces/point-of-sale/components/TextArea.d.ts +1 -1
- package/src/surfaces/point-of-sale/components/TextField.d.ts +1 -1
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +11 -11
- package/src/surfaces/point-of-sale/components.d.ts +222 -43
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +23 -2
- package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +1 -0
- package/src/surfaces/point-of-sale/types/storage.ts +3 -1
- package/build/ts/docs/shared/components/Abbreviation.d.ts +0 -4
- package/build/ts/docs/shared/components/Abbreviation.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Announcement.d.ts +0 -4
- package/build/ts/docs/shared/components/Announcement.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Avatar.d.ts +0 -4
- package/build/ts/docs/shared/components/Avatar.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Badge.d.ts +0 -4
- package/build/ts/docs/shared/components/Badge.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Banner.d.ts +0 -4
- package/build/ts/docs/shared/components/Banner.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Box.d.ts +0 -4
- package/build/ts/docs/shared/components/Box.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Button.d.ts +0 -4
- package/build/ts/docs/shared/components/Button.d.ts.map +0 -1
- package/build/ts/docs/shared/components/ButtonGroup.d.ts +0 -4
- package/build/ts/docs/shared/components/ButtonGroup.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Checkbox.d.ts +0 -4
- package/build/ts/docs/shared/components/Checkbox.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Chip.d.ts +0 -4
- package/build/ts/docs/shared/components/Chip.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Choice.d.ts +0 -4
- package/build/ts/docs/shared/components/Choice.d.ts.map +0 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts +0 -4
- package/build/ts/docs/shared/components/ChoiceList.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Clickable.d.ts +0 -4
- package/build/ts/docs/shared/components/Clickable.d.ts.map +0 -1
- package/build/ts/docs/shared/components/ClickableChip.d.ts +0 -4
- package/build/ts/docs/shared/components/ClickableChip.d.ts.map +0 -1
- package/build/ts/docs/shared/components/ClipboardItem.d.ts +0 -4
- package/build/ts/docs/shared/components/ClipboardItem.d.ts.map +0 -1
- package/build/ts/docs/shared/components/ColorField.d.ts +0 -4
- package/build/ts/docs/shared/components/ColorField.d.ts.map +0 -1
- package/build/ts/docs/shared/components/ColorPicker.d.ts +0 -4
- package/build/ts/docs/shared/components/ColorPicker.d.ts.map +0 -1
- package/build/ts/docs/shared/components/ConsentCheckbox.d.ts +0 -4
- package/build/ts/docs/shared/components/ConsentCheckbox.d.ts.map +0 -1
- package/build/ts/docs/shared/components/ConsentPhoneField.d.ts +0 -4
- package/build/ts/docs/shared/components/ConsentPhoneField.d.ts.map +0 -1
- package/build/ts/docs/shared/components/DateField.d.ts +0 -4
- package/build/ts/docs/shared/components/DateField.d.ts.map +0 -1
- package/build/ts/docs/shared/components/DatePicker.d.ts +0 -4
- package/build/ts/docs/shared/components/DatePicker.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Details.d.ts +0 -4
- package/build/ts/docs/shared/components/Details.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Divider.d.ts +0 -4
- package/build/ts/docs/shared/components/Divider.d.ts.map +0 -1
- package/build/ts/docs/shared/components/DropZone.d.ts +0 -4
- package/build/ts/docs/shared/components/DropZone.d.ts.map +0 -1
- package/build/ts/docs/shared/components/EmailField.d.ts +0 -4
- package/build/ts/docs/shared/components/EmailField.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Form.d.ts +0 -4
- package/build/ts/docs/shared/components/Form.d.ts.map +0 -1
- package/build/ts/docs/shared/components/FunctionSettings.d.ts +0 -4
- package/build/ts/docs/shared/components/FunctionSettings.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Grid.d.ts +0 -4
- package/build/ts/docs/shared/components/Grid.d.ts.map +0 -1
- package/build/ts/docs/shared/components/GridItem.d.ts +0 -4
- package/build/ts/docs/shared/components/GridItem.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Heading.d.ts +0 -4
- package/build/ts/docs/shared/components/Heading.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Icon.d.ts +0 -4
- package/build/ts/docs/shared/components/Icon.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Image.d.ts +0 -4
- package/build/ts/docs/shared/components/Image.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Link.d.ts +0 -4
- package/build/ts/docs/shared/components/Link.d.ts.map +0 -1
- package/build/ts/docs/shared/components/ListItem.d.ts +0 -4
- package/build/ts/docs/shared/components/ListItem.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Map.d.ts +0 -4
- package/build/ts/docs/shared/components/Map.d.ts.map +0 -1
- package/build/ts/docs/shared/components/MapMarker.d.ts +0 -4
- package/build/ts/docs/shared/components/MapMarker.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Menu.d.ts +0 -4
- package/build/ts/docs/shared/components/Menu.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Modal.d.ts +0 -4
- package/build/ts/docs/shared/components/Modal.d.ts.map +0 -1
- package/build/ts/docs/shared/components/MoneyField.d.ts +0 -4
- package/build/ts/docs/shared/components/MoneyField.d.ts.map +0 -1
- package/build/ts/docs/shared/components/NumberField.d.ts +0 -4
- package/build/ts/docs/shared/components/NumberField.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Option.d.ts +0 -4
- package/build/ts/docs/shared/components/Option.d.ts.map +0 -1
- package/build/ts/docs/shared/components/OptionGroup.d.ts +0 -4
- package/build/ts/docs/shared/components/OptionGroup.d.ts.map +0 -1
- package/build/ts/docs/shared/components/OrderedList.d.ts +0 -4
- package/build/ts/docs/shared/components/OrderedList.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Page.d.ts +0 -4
- package/build/ts/docs/shared/components/Page.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Paragraph.d.ts +0 -4
- package/build/ts/docs/shared/components/Paragraph.d.ts.map +0 -1
- package/build/ts/docs/shared/components/PasswordField.d.ts +0 -4
- package/build/ts/docs/shared/components/PasswordField.d.ts.map +0 -1
- package/build/ts/docs/shared/components/PaymentIcon.d.ts +0 -4
- package/build/ts/docs/shared/components/PaymentIcon.d.ts.map +0 -1
- package/build/ts/docs/shared/components/PhoneField.d.ts +0 -4
- package/build/ts/docs/shared/components/PhoneField.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Popover.d.ts +0 -4
- package/build/ts/docs/shared/components/Popover.d.ts.map +0 -1
- package/build/ts/docs/shared/components/PressButton.d.ts +0 -4
- package/build/ts/docs/shared/components/PressButton.d.ts.map +0 -1
- package/build/ts/docs/shared/components/ProductThumbnail.d.ts +0 -4
- package/build/ts/docs/shared/components/ProductThumbnail.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Progress.d.ts +0 -4
- package/build/ts/docs/shared/components/Progress.d.ts.map +0 -1
- package/build/ts/docs/shared/components/QRCode.d.ts +0 -4
- package/build/ts/docs/shared/components/QRCode.d.ts.map +0 -1
- package/build/ts/docs/shared/components/QueryContainer.d.ts +0 -4
- package/build/ts/docs/shared/components/QueryContainer.d.ts.map +0 -1
- package/build/ts/docs/shared/components/ScrollBox.d.ts +0 -4
- package/build/ts/docs/shared/components/ScrollBox.d.ts.map +0 -1
- package/build/ts/docs/shared/components/SearchField.d.ts +0 -4
- package/build/ts/docs/shared/components/SearchField.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Section.d.ts +0 -4
- package/build/ts/docs/shared/components/Section.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Select.d.ts +0 -4
- package/build/ts/docs/shared/components/Select.d.ts.map +0 -1
- package/build/ts/docs/shared/components/SkeletonParagraph.d.ts +0 -4
- package/build/ts/docs/shared/components/SkeletonParagraph.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Spinner.d.ts +0 -4
- package/build/ts/docs/shared/components/Spinner.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Stack.d.ts +0 -4
- package/build/ts/docs/shared/components/Stack.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Summary.d.ts +0 -4
- package/build/ts/docs/shared/components/Summary.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Switch.d.ts +0 -4
- package/build/ts/docs/shared/components/Switch.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Table.d.ts +0 -4
- package/build/ts/docs/shared/components/Table.d.ts.map +0 -1
- package/build/ts/docs/shared/components/TableBody.d.ts +0 -4
- package/build/ts/docs/shared/components/TableBody.d.ts.map +0 -1
- package/build/ts/docs/shared/components/TableCell.d.ts +0 -4
- package/build/ts/docs/shared/components/TableCell.d.ts.map +0 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts +0 -4
- package/build/ts/docs/shared/components/TableHeader.d.ts.map +0 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts +0 -4
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts.map +0 -1
- package/build/ts/docs/shared/components/TableRow.d.ts +0 -4
- package/build/ts/docs/shared/components/TableRow.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Text.d.ts +0 -4
- package/build/ts/docs/shared/components/Text.d.ts.map +0 -1
- package/build/ts/docs/shared/components/TextArea.d.ts +0 -4
- package/build/ts/docs/shared/components/TextArea.d.ts.map +0 -1
- package/build/ts/docs/shared/components/TextField.d.ts +0 -4
- package/build/ts/docs/shared/components/TextField.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Thumbnail.d.ts +0 -4
- package/build/ts/docs/shared/components/Thumbnail.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Time.d.ts +0 -4
- package/build/ts/docs/shared/components/Time.d.ts.map +0 -1
- package/build/ts/docs/shared/components/Tooltip.d.ts +0 -4
- package/build/ts/docs/shared/components/Tooltip.d.ts.map +0 -1
- package/build/ts/docs/shared/components/URLField.d.ts +0 -4
- package/build/ts/docs/shared/components/URLField.d.ts.map +0 -1
- package/build/ts/docs/shared/components/UnorderedList.d.ts +0 -4
- package/build/ts/docs/shared/components/UnorderedList.d.ts.map +0 -1
- package/build/ts/docs/shared/components/index.d.ts +0 -53
- package/build/ts/docs/shared/components/index.d.ts.map +0 -1
- package/build/ts/docs/shared/docs-type.d.ts +0 -4
- package/build/ts/docs/shared/docs-type.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api/action/action.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/api/action/action.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api/block/block.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/api/block/block.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api/intents/intents.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/api/intents/intents.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api/picker/picker.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/api/picker/picker.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api/print-action/print-action.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/api/print-action/print-action.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api/purchase-options-card-action.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/api/purchase-options-card-action.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api/resource-picker/resource-picker.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/api/resource-picker/resource-picker.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api/should-render/should-render.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/api/should-render/should-render.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/api/standard/standard.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/api/standard/standard.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/AdminAction/AdminAction.ext.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/AdminAction/AdminAction.ext.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/AdminPrintAction/AdminPrintAction.ext.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/AdminPrintAction/AdminPrintAction.ext.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Banner/Banner.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Banner/Banner.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Checkbox/Checkbox.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Checkbox/Checkbox.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/DatePicker/DatePicker.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/DatePicker/DatePicker.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Divider/Divider.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Divider/Divider.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/DropZone/DropZone.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/DropZone/DropZone.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/EmailField/EmailField.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/EmailField/EmailField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Icon/Icon.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Icon/Icon.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Image/Image.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Image/Image.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/MoneyField/MoneyField.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/MoneyField/MoneyField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/NumberField/NumberField.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/NumberField/NumberField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Page/Page.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Page/Page.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/PasswordField/PasswordField.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/PasswordField/PasswordField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/SearchField/SearchField.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/SearchField/SearchField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Spinner/Spinner.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Spinner/Spinner.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Switch/Switch.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Switch/Switch.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/TextArea/TextArea.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/TextArea/TextArea.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/TextField/TextField.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/TextField/TextField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/URLField/URLField.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/URLField/URLField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/patterns/footerHelp.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/patterns/footerHelp.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/patterns/resourceList.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/patterns/resourceList.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts +0 -4
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts.map +0 -1
- package/build/ts/surfaces/admin/docs-types.d.ts +0 -32
- package/build/ts/surfaces/admin/docs-types.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Abbreviation/Abbreviation.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Abbreviation/Abbreviation.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/DropZone/DropZone.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/DropZone/DropZone.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/NumberField/NumberField.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/NumberField/NumberField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/OrderedList/OrderedList.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/OrderedList/OrderedList.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Paragraph/Paragraph.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Paragraph/Paragraph.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/QRCode/QRCode.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/QRCode/QRCode.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Section/Section.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Section/Section.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Stack/Stack.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Stack/Stack.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Time/Time.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Time/Time.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/UnorderedList/UnorderedList.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/UnorderedList/UnorderedList.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts +0 -4
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/helper.docs.d.ts +0 -15
- package/build/ts/surfaces/checkout/helper.docs.d.ts.map +0 -1
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts +0 -4
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +0 -1
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts +0 -4
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +0 -1
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.d.ts +0 -4
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.d.ts.map +0 -1
- package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts +0 -4
- package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts.map +0 -1
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts +0 -4
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +0 -1
- package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts +0 -4
- package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts.map +0 -1
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts +0 -4
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Divider/Divider.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/Divider/Divider.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts.map +0 -1
- package/src/docs/shared/components/Abbreviation.ts +0 -12
- package/src/docs/shared/components/Announcement.ts +0 -12
- package/src/docs/shared/components/Avatar.ts +0 -12
- package/src/docs/shared/components/Badge.ts +0 -12
- package/src/docs/shared/components/Banner.ts +0 -12
- package/src/docs/shared/components/Box.ts +0 -12
- package/src/docs/shared/components/Button.ts +0 -12
- package/src/docs/shared/components/ButtonGroup.ts +0 -11
- package/src/docs/shared/components/Checkbox.ts +0 -12
- package/src/docs/shared/components/Chip.ts +0 -12
- package/src/docs/shared/components/Choice.ts +0 -12
- package/src/docs/shared/components/ChoiceList.ts +0 -12
- package/src/docs/shared/components/Clickable.ts +0 -12
- package/src/docs/shared/components/ClickableChip.ts +0 -12
- package/src/docs/shared/components/ClipboardItem.ts +0 -12
- package/src/docs/shared/components/ColorField.ts +0 -12
- package/src/docs/shared/components/ColorPicker.ts +0 -11
- package/src/docs/shared/components/ConsentCheckbox.ts +0 -12
- package/src/docs/shared/components/ConsentPhoneField.ts +0 -12
- package/src/docs/shared/components/DateField.ts +0 -11
- package/src/docs/shared/components/DatePicker.ts +0 -11
- package/src/docs/shared/components/Details.ts +0 -12
- package/src/docs/shared/components/Divider.ts +0 -12
- package/src/docs/shared/components/DropZone.ts +0 -12
- package/src/docs/shared/components/EmailField.ts +0 -12
- package/src/docs/shared/components/Form.ts +0 -12
- package/src/docs/shared/components/FunctionSettings.ts +0 -28
- package/src/docs/shared/components/Grid.ts +0 -12
- package/src/docs/shared/components/GridItem.ts +0 -11
- package/src/docs/shared/components/Heading.ts +0 -12
- package/src/docs/shared/components/Icon.ts +0 -12
- package/src/docs/shared/components/Image.ts +0 -12
- package/src/docs/shared/components/Link.ts +0 -12
- package/src/docs/shared/components/ListItem.ts +0 -12
- package/src/docs/shared/components/Map.ts +0 -12
- package/src/docs/shared/components/MapMarker.ts +0 -12
- package/src/docs/shared/components/Menu.ts +0 -12
- package/src/docs/shared/components/Modal.ts +0 -12
- package/src/docs/shared/components/MoneyField.ts +0 -12
- package/src/docs/shared/components/NumberField.ts +0 -12
- package/src/docs/shared/components/Option.ts +0 -12
- package/src/docs/shared/components/OptionGroup.ts +0 -12
- package/src/docs/shared/components/OrderedList.ts +0 -12
- package/src/docs/shared/components/Page.ts +0 -12
- package/src/docs/shared/components/Paragraph.ts +0 -12
- package/src/docs/shared/components/PasswordField.ts +0 -11
- package/src/docs/shared/components/PaymentIcon.ts +0 -12
- package/src/docs/shared/components/PhoneField.ts +0 -11
- package/src/docs/shared/components/Popover.ts +0 -12
- package/src/docs/shared/components/PressButton.ts +0 -12
- package/src/docs/shared/components/ProductThumbnail.ts +0 -11
- package/src/docs/shared/components/Progress.ts +0 -12
- package/src/docs/shared/components/QRCode.ts +0 -12
- package/src/docs/shared/components/QueryContainer.ts +0 -12
- package/src/docs/shared/components/ScrollBox.ts +0 -12
- package/src/docs/shared/components/SearchField.ts +0 -12
- package/src/docs/shared/components/Section.ts +0 -12
- package/src/docs/shared/components/Select.ts +0 -12
- package/src/docs/shared/components/SkeletonParagraph.ts +0 -12
- package/src/docs/shared/components/Spinner.ts +0 -12
- package/src/docs/shared/components/Stack.ts +0 -12
- package/src/docs/shared/components/Summary.ts +0 -12
- package/src/docs/shared/components/Switch.ts +0 -11
- package/src/docs/shared/components/Table.ts +0 -12
- package/src/docs/shared/components/TableBody.ts +0 -12
- package/src/docs/shared/components/TableCell.ts +0 -11
- package/src/docs/shared/components/TableHeader.ts +0 -11
- package/src/docs/shared/components/TableHeaderRow.ts +0 -12
- package/src/docs/shared/components/TableRow.ts +0 -11
- package/src/docs/shared/components/Text.ts +0 -12
- package/src/docs/shared/components/TextArea.ts +0 -12
- package/src/docs/shared/components/TextField.ts +0 -12
- package/src/docs/shared/components/Thumbnail.ts +0 -12
- package/src/docs/shared/components/Time.ts +0 -12
- package/src/docs/shared/components/Tooltip.ts +0 -12
- package/src/docs/shared/components/URLField.ts +0 -12
- package/src/docs/shared/components/UnorderedList.ts +0 -12
- package/src/docs/shared/components/index.ts +0 -52
- package/src/docs/shared/docs-type.ts +0 -7
- package/src/surfaces/admin/api/intents/examples/create-article.js +0 -9
- package/src/surfaces/admin/api/intents/examples/create-catalog.js +0 -9
- package/src/surfaces/admin/api/intents/examples/create-collection.js +0 -9
- package/src/surfaces/admin/api/intents/examples/create-customer.js +0 -9
- package/src/surfaces/admin/api/intents/examples/create-discount.js +0 -11
- package/src/surfaces/admin/api/intents/examples/create-market.js +0 -9
- package/src/surfaces/admin/api/intents/examples/create-menu.js +0 -9
- package/src/surfaces/admin/api/intents/examples/create-metafield-definition.js +0 -11
- package/src/surfaces/admin/api/intents/examples/create-metaobject-definition.js +0 -9
- package/src/surfaces/admin/api/intents/examples/create-metaobject.js +0 -11
- package/src/surfaces/admin/api/intents/examples/create-page.js +0 -9
- package/src/surfaces/admin/api/intents/examples/create-product.js +0 -9
- package/src/surfaces/admin/api/intents/examples/create-variant.js +0 -11
- package/src/surfaces/admin/api/intents/examples/edit-article.js +0 -11
- package/src/surfaces/admin/api/intents/examples/edit-catalog.js +0 -11
- package/src/surfaces/admin/api/intents/examples/edit-collection.js +0 -11
- package/src/surfaces/admin/api/intents/examples/edit-customer.js +0 -11
- package/src/surfaces/admin/api/intents/examples/edit-discount.js +0 -11
- package/src/surfaces/admin/api/intents/examples/edit-market.js +0 -11
- package/src/surfaces/admin/api/intents/examples/edit-menu.js +0 -11
- package/src/surfaces/admin/api/intents/examples/edit-metafield-definition.js +0 -12
- package/src/surfaces/admin/api/intents/examples/edit-metaobject-definition.js +0 -11
- package/src/surfaces/admin/api/intents/examples/edit-metaobject.js +0 -12
- package/src/surfaces/admin/api/intents/examples/edit-page.js +0 -11
- package/src/surfaces/admin/api/intents/examples/edit-product.js +0 -11
- package/src/surfaces/admin/api/intents/examples/edit-variant.js +0 -12
- package/src/surfaces/admin/api/picker/examples/direct-api.js +0 -73
- package/src/surfaces/admin/api/picker/examples/disabled.js +0 -16
- package/src/surfaces/admin/api/picker/examples/minimal.js +0 -16
- package/src/surfaces/admin/api/picker/examples/multiple-limit.js +0 -21
- package/src/surfaces/admin/api/picker/examples/multiple-true.js +0 -21
- package/src/surfaces/admin/api/picker/examples/preselected.js +0 -16
- package/src/surfaces/admin/api/picker/examples/template-picker.js +0 -37
- package/src/surfaces/admin/api/resource-picker/examples/action.js +0 -4
- package/src/surfaces/admin/api/resource-picker/examples/collection-picker.js +0 -1
- package/src/surfaces/admin/api/resource-picker/examples/filter-query.js +0 -6
- package/src/surfaces/admin/api/resource-picker/examples/filters.js +0 -9
- package/src/surfaces/admin/api/resource-picker/examples/multiple-limited.js +0 -4
- package/src/surfaces/admin/api/resource-picker/examples/multiple-unlimited.js +0 -4
- package/src/surfaces/admin/api/resource-picker/examples/product-picker.js +0 -3
- package/src/surfaces/admin/api/resource-picker/examples/product-variant-picker.js +0 -1
- package/src/surfaces/admin/api/resource-picker/examples/query.js +0 -4
- package/src/surfaces/admin/api/resource-picker/examples/selection-ids.js +0 -16
- package/src/surfaces/admin/api/resource-picker/examples/selection.js +0 -7
- package/src/surfaces/admin/components/AdminAction/examples/default.tsx +0 -15
- package/src/surfaces/admin/components/AdminBlock/examples/default.tsx +0 -1
- package/src/surfaces/admin/components/AdminPrintAction/examples/default.tsx +0 -9
- package/src/surfaces/admin/components/Avatar/examples/basic-usage.jsx +0 -1
- package/src/surfaces/admin/components/Avatar/examples/color-consistency-demo.jsx +0 -7
- package/src/surfaces/admin/components/Avatar/examples/default-avatar-no-props.jsx +0 -1
- package/src/surfaces/admin/components/Avatar/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/Avatar/examples/error-handling-example.jsx +0 -5
- package/src/surfaces/admin/components/Avatar/examples/fulfillment-partner-avatars.jsx +0 -14
- package/src/surfaces/admin/components/Avatar/examples/in-customer-list-context.jsx +0 -24
- package/src/surfaces/admin/components/Avatar/examples/long-initials-handling.jsx +0 -5
- package/src/surfaces/admin/components/Avatar/examples/size-variations.jsx +0 -7
- package/src/surfaces/admin/components/Avatar/examples/staff-member-profiles.jsx +0 -10
- package/src/surfaces/admin/components/Avatar/examples/with-image-source-and-fallback.jsx +0 -6
- package/src/surfaces/admin/components/Avatar/examples/with-section-component.jsx +0 -17
- package/src/surfaces/admin/components/Badge/examples/default.jsx +0 -8
- package/src/surfaces/admin/components/Badge/examples/different-sizes-for-emphasis.jsx +0 -4
- package/src/surfaces/admin/components/Badge/examples/order-status-badges.html +0 -6
- package/src/surfaces/admin/components/Badge/examples/order-status-badges.jsx +0 -6
- package/src/surfaces/admin/components/Badge/examples/status-indicators-with-icons.jsx +0 -21
- package/src/surfaces/admin/components/Badge/examples/within-table-context.jsx +0 -18
- package/src/surfaces/admin/components/Banner/examples/basic-information-banner.html +0 -3
- package/src/surfaces/admin/components/Banner/examples/basic-information-banner.jsx +0 -3
- package/src/surfaces/admin/components/Banner/examples/critical-banner-with-clear-next-steps.jsx +0 -18
- package/src/surfaces/admin/components/Banner/examples/default.jsx +0 -3
- package/src/surfaces/admin/components/Banner/examples/dismissible-success-banner.jsx +0 -3
- package/src/surfaces/admin/components/Banner/examples/info-banner-with-clear-value-proposition.html +0 -14
- package/src/surfaces/admin/components/Banner/examples/info-banner-with-clear-value-proposition.jsx +0 -14
- package/src/surfaces/admin/components/Banner/examples/warning-banner-with-specific-actions.jsx +0 -18
- package/src/surfaces/admin/components/Box/examples/accessible-status-messages.jsx +0 -14
- package/src/surfaces/admin/components/Box/examples/basic-container.html +0 -9
- package/src/surfaces/admin/components/Box/examples/basic-container.jsx +0 -9
- package/src/surfaces/admin/components/Box/examples/complex-merchant-dashboard-layout.jsx +0 -34
- package/src/surfaces/admin/components/Box/examples/default.jsx +0 -7
- package/src/surfaces/admin/components/Box/examples/responsive-shipping-notice.jsx +0 -10
- package/src/surfaces/admin/components/Button/examples/basic-usage.jsx +0 -1
- package/src/surfaces/admin/components/Button/examples/bulk-actions.html +0 -4
- package/src/surfaces/admin/components/Button/examples/bulk-actions.jsx +0 -6
- package/src/surfaces/admin/components/Button/examples/component-interactions.jsx +0 -7
- package/src/surfaces/admin/components/Button/examples/default.jsx +0 -4
- package/src/surfaces/admin/components/Button/examples/delete-confirmation.jsx +0 -6
- package/src/surfaces/admin/components/Button/examples/form-states.jsx +0 -6
- package/src/surfaces/admin/components/Button/examples/icon-only-button.jsx +0 -1
- package/src/surfaces/admin/components/Button/examples/link-buttons.jsx +0 -9
- package/src/surfaces/admin/components/Button/examples/loading-state-for-merchant-actions.jsx +0 -11
- package/src/surfaces/admin/components/Button/examples/navigation-to-admin-sections.html +0 -2
- package/src/surfaces/admin/components/Button/examples/navigation-to-admin-sections.jsx +0 -3
- package/src/surfaces/admin/components/Button/examples/product-save-form.html +0 -4
- package/src/surfaces/admin/components/Button/examples/product-save-form.jsx +0 -6
- package/src/surfaces/admin/components/Button/examples/tones.jsx +0 -5
- package/src/surfaces/admin/components/Button/examples/toolbar-icon-buttons.html +0 -17
- package/src/surfaces/admin/components/Button/examples/toolbar-icon-buttons.jsx +0 -17
- package/src/surfaces/admin/components/Button/examples/variants.jsx +0 -6
- package/src/surfaces/admin/components/Button/examples/with-icon.jsx +0 -1
- package/src/surfaces/admin/components/ButtonGroup/examples/basic-usage.html +0 -4
- package/src/surfaces/admin/components/ButtonGroup/examples/basic-usage.jsx +0 -6
- package/src/surfaces/admin/components/ButtonGroup/examples/bulk-actions-in-data-tables.jsx +0 -7
- package/src/surfaces/admin/components/ButtonGroup/examples/default.jsx +0 -4
- package/src/surfaces/admin/components/ButtonGroup/examples/destructive-actions-pattern.jsx +0 -6
- package/src/surfaces/admin/components/ButtonGroup/examples/form-action-buttons.html +0 -4
- package/src/surfaces/admin/components/ButtonGroup/examples/form-action-buttons.jsx +0 -6
- package/src/surfaces/admin/components/ButtonGroup/examples/segmented-appearance.jsx +0 -5
- package/src/surfaces/admin/components/ButtonGroup/examples/toolbar-buttons-with-icons.jsx +0 -11
- package/src/surfaces/admin/components/Checkbox/examples/default.jsx +0 -4
- package/src/surfaces/admin/components/Checkbox/examples/disabled-state.jsx +0 -5
- package/src/surfaces/admin/components/Checkbox/examples/error-state.jsx +0 -4
- package/src/surfaces/admin/components/Checkbox/examples/help-text.html +0 -4
- package/src/surfaces/admin/components/Checkbox/examples/help-text.jsx +0 -4
- package/src/surfaces/admin/components/Checkbox/examples/indeterminate-state.jsx +0 -21
- package/src/surfaces/admin/components/Checkbox/examples/settings-group.jsx +0 -12
- package/src/surfaces/admin/components/Checkbox/examples/validation-example.jsx +0 -20
- package/src/surfaces/admin/components/Chip/examples/basic-usage.html +0 -3
- package/src/surfaces/admin/components/Chip/examples/basic-usage.jsx +0 -3
- package/src/surfaces/admin/components/Chip/examples/color-variants.jsx +0 -12
- package/src/surfaces/admin/components/Chip/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/Chip/examples/product-status.html +0 -8
- package/src/surfaces/admin/components/Chip/examples/product-status.jsx +0 -12
- package/src/surfaces/admin/components/Chip/examples/text-truncation.jsx +0 -12
- package/src/surfaces/admin/components/Chip/examples/with-icon-graphic.jsx +0 -4
- package/src/surfaces/admin/components/ChoiceList/examples/basic-usage.jsx +0 -7
- package/src/surfaces/admin/components/ChoiceList/examples/default.jsx +0 -16
- package/src/surfaces/admin/components/ChoiceList/examples/multiple-choices-with-details.html +0 -18
- package/src/surfaces/admin/components/ChoiceList/examples/multiple-choices-with-details.jsx +0 -18
- package/src/surfaces/admin/components/ChoiceList/examples/multiple-selections.jsx +0 -15
- package/src/surfaces/admin/components/ChoiceList/examples/validation-example.jsx +0 -20
- package/src/surfaces/admin/components/ChoiceList/examples/with-error-state.jsx +0 -8
- package/src/surfaces/admin/components/Clickable/examples/accessibility-with-aria-attributes.jsx +0 -8
- package/src/surfaces/admin/components/Clickable/examples/basic-button-usage.html +0 -1
- package/src/surfaces/admin/components/Clickable/examples/basic-button-usage.jsx +0 -3
- package/src/surfaces/admin/components/Clickable/examples/default.jsx +0 -12
- package/src/surfaces/admin/components/Clickable/examples/disabled-link-with-aria.jsx +0 -7
- package/src/surfaces/admin/components/Clickable/examples/form-submit-button.jsx +0 -3
- package/src/surfaces/admin/components/Clickable/examples/link-mode.jsx +0 -3
- package/src/surfaces/admin/components/Clickable/examples/section-with-clickable-action.jsx +0 -9
- package/src/surfaces/admin/components/ClickableChip/examples/as-a-link.jsx +0 -8
- package/src/surfaces/admin/components/ClickableChip/examples/basic-usage.jsx +0 -17
- package/src/surfaces/admin/components/ClickableChip/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/ClickableChip/examples/disabled-state.jsx +0 -7
- package/src/surfaces/admin/components/ClickableChip/examples/multiple-chips-with-proper-spacing.html +0 -17
- package/src/surfaces/admin/components/ClickableChip/examples/multiple-chips-with-proper-spacing.jsx +0 -17
- package/src/surfaces/admin/components/ClickableChip/examples/with-icon-and-remove-button.jsx +0 -8
- package/src/surfaces/admin/components/ColorField/examples/basic-usage-required.jsx +0 -3
- package/src/surfaces/admin/components/ColorField/examples/basic-usage-web-component.jsx +0 -3
- package/src/surfaces/admin/components/ColorField/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/ColorField/examples/form-integration.jsx +0 -28
- package/src/surfaces/admin/components/ColorField/examples/read-only-state.jsx +0 -3
- package/src/surfaces/admin/components/ColorField/examples/validation-example.jsx +0 -21
- package/src/surfaces/admin/components/ColorField/examples/with-alpha-transparency.jsx +0 -7
- package/src/surfaces/admin/components/ColorField/examples/with-error-state.jsx +0 -9
- package/src/surfaces/admin/components/ColorField/examples/with-help-text.jsx +0 -7
- package/src/surfaces/admin/components/ColorField/examples/with-placeholder.html +0 -7
- package/src/surfaces/admin/components/ColorField/examples/with-placeholder.jsx +0 -7
- package/src/surfaces/admin/components/ColorPicker/examples/basic-usage.html +0 -3
- package/src/surfaces/admin/components/ColorPicker/examples/basic-usage.jsx +0 -3
- package/src/surfaces/admin/components/ColorPicker/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/ColorPicker/examples/with-alpha-transparency.jsx +0 -7
- package/src/surfaces/admin/components/DateField/examples/basic-usage.jsx +0 -5
- package/src/surfaces/admin/components/DateField/examples/date-fields-with-validation.html +0 -29
- package/src/surfaces/admin/components/DateField/examples/date-fields-with-validation.jsx +0 -29
- package/src/surfaces/admin/components/DateField/examples/date-range-selection.jsx +0 -19
- package/src/surfaces/admin/components/DateField/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/DateField/examples/disabled-and-read-only-states.jsx +0 -15
- package/src/surfaces/admin/components/DateField/examples/form-integration.jsx +0 -27
- package/src/surfaces/admin/components/DateField/examples/validation-example.jsx +0 -20
- package/src/surfaces/admin/components/DateField/examples/with-date-restrictions.jsx +0 -6
- package/src/surfaces/admin/components/DateField/examples/with-default-value.jsx +0 -5
- package/src/surfaces/admin/components/DateField/examples/with-error-state.jsx +0 -5
- package/src/surfaces/admin/components/DateField/examples/with-specific-allowed-dates.jsx +0 -6
- package/src/surfaces/admin/components/DatePicker/examples/analytics-dashboard.jsx +0 -35
- package/src/surfaces/admin/components/DatePicker/examples/default.jsx +0 -5
- package/src/surfaces/admin/components/DatePicker/examples/form-integration.jsx +0 -28
- package/src/surfaces/admin/components/DatePicker/examples/single-date-selection.jsx +0 -6
- package/src/surfaces/admin/components/DatePicker/examples/with-date-restrictions.jsx +0 -7
- package/src/surfaces/admin/components/Divider/examples/basic-usage.jsx +0 -1
- package/src/surfaces/admin/components/Divider/examples/custom-color.jsx +0 -1
- package/src/surfaces/admin/components/Divider/examples/custom-direction.jsx +0 -5
- package/src/surfaces/admin/components/Divider/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/Divider/examples/organizing-settings-panels.html +0 -9
- package/src/surfaces/admin/components/Divider/examples/organizing-settings-panels.jsx +0 -9
- package/src/surfaces/admin/components/Divider/examples/separating-content-sections.html +0 -13
- package/src/surfaces/admin/components/Divider/examples/separating-content-sections.jsx +0 -13
- package/src/surfaces/admin/components/Divider/examples/separating-form-sections.jsx +0 -7
- package/src/surfaces/admin/components/Divider/examples/visual-breaks-in-section-layouts.html +0 -12
- package/src/surfaces/admin/components/Divider/examples/visual-breaks-in-section-layouts.jsx +0 -12
- package/src/surfaces/admin/components/DropZone/examples/basic-usage.jsx +0 -1
- package/src/surfaces/admin/components/DropZone/examples/default.jsx +0 -9
- package/src/surfaces/admin/components/DropZone/examples/disabled-state.jsx +0 -1
- package/src/surfaces/admin/components/DropZone/examples/file-type-restrictions.jsx +0 -5
- package/src/surfaces/admin/components/DropZone/examples/image-upload.jsx +0 -1
- package/src/surfaces/admin/components/DropZone/examples/required-field.jsx +0 -1
- package/src/surfaces/admin/components/DropZone/examples/with-accessibility-options.jsx +0 -6
- package/src/surfaces/admin/components/DropZone/examples/with-error-state.jsx +0 -4
- package/src/surfaces/admin/components/EmailField/examples/basic-usage.html +0 -3
- package/src/surfaces/admin/components/EmailField/examples/basic-usage.jsx +0 -3
- package/src/surfaces/admin/components/EmailField/examples/default.jsx +0 -5
- package/src/surfaces/admin/components/EmailField/examples/optional-field-with-placeholder.html +0 -7
- package/src/surfaces/admin/components/EmailField/examples/optional-field-with-placeholder.jsx +0 -7
- package/src/surfaces/admin/components/EmailField/examples/read-only-display.jsx +0 -7
- package/src/surfaces/admin/components/EmailField/examples/validation-example.jsx +0 -21
- package/src/surfaces/admin/components/EmailField/examples/with-error-and-help-text.jsx +0 -8
- package/src/surfaces/admin/components/EmailField/examples/with-length-constraints.jsx +0 -8
- package/src/surfaces/admin/components/Form/examples/default.jsx +0 -6
- package/src/surfaces/admin/components/FunctionSettings/examples/default.tsx +0 -38
- package/src/surfaces/admin/components/Grid/examples/basic-two-column-layout.jsx +0 -12
- package/src/surfaces/admin/components/Grid/examples/col-span-layouts.jsx +0 -34
- package/src/surfaces/admin/components/Grid/examples/default.jsx +0 -15
- package/src/surfaces/admin/components/Grid/examples/mobile-first-responsive-grid.jsx +0 -53
- package/src/surfaces/admin/components/Heading/examples/basic-heading.html +0 -1
- package/src/surfaces/admin/components/Heading/examples/basic-heading.jsx +0 -1
- package/src/surfaces/admin/components/Heading/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/Heading/examples/heading-with-custom-accessibility.jsx +0 -3
- package/src/surfaces/admin/components/Heading/examples/heading-with-line-clamping.jsx +0 -5
- package/src/surfaces/admin/components/Heading/examples/heading-within-section-hierarchy.jsx +0 -12
- package/src/surfaces/admin/components/Icon/examples/basic-usage.jsx +0 -7
- package/src/surfaces/admin/components/Icon/examples/default.jsx +0 -6
- package/src/surfaces/admin/components/Icon/examples/in-badge-components.jsx +0 -8
- package/src/surfaces/admin/components/Icon/examples/in-button-components.jsx +0 -8
- package/src/surfaces/admin/components/Icon/examples/small-size.jsx +0 -1
- package/src/surfaces/admin/components/Icon/examples/subdued-color.jsx +0 -1
- package/src/surfaces/admin/components/Icon/examples/with-id-property.jsx +0 -1
- package/src/surfaces/admin/components/Icon/examples/with-interest-relationship.jsx +0 -6
- package/src/surfaces/admin/components/Icon/examples/with-semantic-tone.jsx +0 -6
- package/src/surfaces/admin/components/Icon/icon-data.json +0 -9
- package/src/surfaces/admin/components/Image/examples/auto-sized-image.html +0 -5
- package/src/surfaces/admin/components/Image/examples/auto-sized-image.jsx +0 -5
- package/src/surfaces/admin/components/Image/examples/basic-usage.jsx +0 -1
- package/src/surfaces/admin/components/Image/examples/decorative-image.jsx +0 -6
- package/src/surfaces/admin/components/Image/examples/default.jsx +0 -6
- package/src/surfaces/admin/components/Image/examples/responsive-images-with-srcset.jsx +0 -9
- package/src/surfaces/admin/components/Image/examples/responsive-layout-with-aspect-ratio.jsx +0 -7
- package/src/surfaces/admin/components/Image/examples/with-border-styling.jsx +0 -12
- package/src/surfaces/admin/components/Image/examples/within-layout-components.jsx +0 -26
- package/src/surfaces/admin/components/Link/examples/basic-links-in-paragraph.jsx +0 -3
- package/src/surfaces/admin/components/Link/examples/critical-context-links.html +0 -3
- package/src/surfaces/admin/components/Link/examples/critical-context-links.jsx +0 -3
- package/src/surfaces/admin/components/Link/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/Link/examples/download-links.jsx +0 -3
- package/src/surfaces/admin/components/Link/examples/external-links.jsx +0 -5
- package/src/surfaces/admin/components/Link/examples/links-in-banner-context.html +0 -5
- package/src/surfaces/admin/components/Link/examples/links-in-banner-context.jsx +0 -5
- package/src/surfaces/admin/components/Link/examples/links-in-banner.jsx +0 -5
- package/src/surfaces/admin/components/Link/examples/links-in-box-container.jsx +0 -5
- package/src/surfaces/admin/components/Link/examples/links-in-subdued-paragraph.html +0 -3
- package/src/surfaces/admin/components/Link/examples/links-in-subdued-paragraph.jsx +0 -3
- package/src/surfaces/admin/components/Link/examples/links-with-auto-tone.html +0 -3
- package/src/surfaces/admin/components/Link/examples/links-with-auto-tone.jsx +0 -3
- package/src/surfaces/admin/components/Link/examples/links-with-different-tones.jsx +0 -25
- package/src/surfaces/admin/components/Link/examples/links-with-language-attribute.jsx +0 -3
- package/src/surfaces/admin/components/Menu/examples/basic-menu.html +0 -7
- package/src/surfaces/admin/components/Menu/examples/basic-menu.jsx +0 -9
- package/src/surfaces/admin/components/Menu/examples/customer-actions-menu.jsx +0 -18
- package/src/surfaces/admin/components/Menu/examples/default.jsx +0 -11
- package/src/surfaces/admin/components/Menu/examples/menu-with-icons.html +0 -8
- package/src/surfaces/admin/components/Menu/examples/menu-with-icons.jsx +0 -14
- package/src/surfaces/admin/components/Menu/examples/menu-with-links-and-disabled-items.jsx +0 -13
- package/src/surfaces/admin/components/Menu/examples/menu-with-sections.jsx +0 -15
- package/src/surfaces/admin/components/Menu/examples/settings-menu.jsx +0 -19
- package/src/surfaces/admin/components/NumberField/examples/basic-usage.html +0 -7
- package/src/surfaces/admin/components/NumberField/examples/basic-usage.jsx +0 -7
- package/src/surfaces/admin/components/NumberField/examples/default.jsx +0 -8
- package/src/surfaces/admin/components/NumberField/examples/multiple-examples.html +0 -29
- package/src/surfaces/admin/components/NumberField/examples/multiple-examples.jsx +0 -29
- package/src/surfaces/admin/components/NumberField/examples/with-prefix-and-suffix.jsx +0 -9
- package/src/surfaces/admin/components/OrderedList/examples/basic-usage.html +0 -5
- package/src/surfaces/admin/components/OrderedList/examples/basic-usage.jsx +0 -5
- package/src/surfaces/admin/components/OrderedList/examples/default.jsx +0 -5
- package/src/surfaces/admin/components/OrderedList/examples/fulfillment-process.html +0 -18
- package/src/surfaces/admin/components/OrderedList/examples/fulfillment-process.jsx +0 -18
- package/src/surfaces/admin/components/OrderedList/examples/order-processing-steps.html +0 -8
- package/src/surfaces/admin/components/OrderedList/examples/order-processing-steps.jsx +0 -8
- package/src/surfaces/admin/components/OrderedList/examples/product-setup-instructions.jsx +0 -13
- package/src/surfaces/admin/components/Paragraph/examples/admin-ui-patterns.html +0 -21
- package/src/surfaces/admin/components/Paragraph/examples/admin-ui-patterns.jsx +0 -21
- package/src/surfaces/admin/components/Paragraph/examples/basic-usage.html +0 -3
- package/src/surfaces/admin/components/Paragraph/examples/basic-usage.jsx +0 -3
- package/src/surfaces/admin/components/Paragraph/examples/default.jsx +0 -4
- package/src/surfaces/admin/components/Paragraph/examples/line-clamping.jsx +0 -8
- package/src/surfaces/admin/components/Paragraph/examples/rtl-support.jsx +0 -3
- package/src/surfaces/admin/components/Paragraph/examples/screen-reader-text.jsx +0 -3
- package/src/surfaces/admin/components/Paragraph/examples/tabular-numbers.jsx +0 -3
- package/src/surfaces/admin/components/Paragraph/examples/with-tone-and-color.jsx +0 -9
- package/src/surfaces/admin/components/QueryContainer/examples/basic-usage.jsx +0 -17
- package/src/surfaces/admin/components/QueryContainer/examples/default.jsx +0 -8
- package/src/surfaces/admin/components/SearchField/examples/basic-usage.html +0 -5
- package/src/surfaces/admin/components/SearchField/examples/basic-usage.jsx +0 -5
- package/src/surfaces/admin/components/SearchField/examples/default.jsx +0 -5
- package/src/surfaces/admin/components/SearchField/examples/disabled-state.jsx +0 -6
- package/src/surfaces/admin/components/SearchField/examples/with-character-limits.jsx +0 -7
- package/src/surfaces/admin/components/SearchField/examples/with-error-state.jsx +0 -6
- package/src/surfaces/admin/components/Section/examples/default.jsx +0 -3
- package/src/surfaces/admin/components/Section/examples/full-width-content-layout.jsx +0 -18
- package/src/surfaces/admin/components/Section/examples/nested-sections-with-visual-level-differences.jsx +0 -23
- package/src/surfaces/admin/components/Section/examples/section-with-accessibility-label.jsx +0 -13
- package/src/surfaces/admin/components/Section/examples/top-level-section-with-form-elements.jsx +0 -5
- package/src/surfaces/admin/components/Spinner/examples/basic-usage.html +0 -1
- package/src/surfaces/admin/components/Spinner/examples/basic-usage.jsx +0 -1
- package/src/surfaces/admin/components/Spinner/examples/default.jsx +0 -1
- package/src/surfaces/admin/components/Spinner/examples/inline-loading-with-text.jsx +0 -4
- package/src/surfaces/admin/components/Spinner/examples/loading-state-in-section.jsx +0 -4
- package/src/surfaces/admin/components/Stack/examples/basic-block-stack-vertical.html +0 -5
- package/src/surfaces/admin/components/Stack/examples/basic-block-stack-vertical.jsx +0 -5
- package/src/surfaces/admin/components/Stack/examples/custom-alignment.jsx +0 -5
- package/src/surfaces/admin/components/Stack/examples/custom-spacing.jsx +0 -18
- package/src/surfaces/admin/components/Stack/examples/default.jsx +0 -6
- package/src/surfaces/admin/components/Stack/examples/inline-stack-horizontal.jsx +0 -5
- package/src/surfaces/admin/components/Stack/examples/responsive-stack-with-container-queries.jsx +0 -23
- package/src/surfaces/admin/components/Table/examples/basic-usage.jsx +0 -37
- package/src/surfaces/admin/components/Table/examples/default.jsx +0 -30
- package/src/surfaces/admin/components/Table/examples/full-width-product-inventory-table.html +0 -65
- package/src/surfaces/admin/components/Table/examples/full-width-product-inventory-table.jsx +0 -65
- package/src/surfaces/admin/components/Table/examples/list-variant.jsx +0 -44
- package/src/surfaces/admin/components/Table/examples/with-loading-state.jsx +0 -40
- package/src/surfaces/admin/components/Table/examples/with-pagination.jsx +0 -27
- package/src/surfaces/admin/components/Text/examples/accessibility-hidden-text.jsx +0 -3
- package/src/surfaces/admin/components/Text/examples/basic-usage.html +0 -3
- package/src/surfaces/admin/components/Text/examples/basic-usage.jsx +0 -3
- package/src/surfaces/admin/components/Text/examples/default.jsx +0 -4
- package/src/surfaces/admin/components/Text/examples/interest-for-association.jsx +0 -8
- package/src/surfaces/admin/components/Text/examples/right-to-left-text.jsx +0 -3
- package/src/surfaces/admin/components/Text/examples/semantic-address.jsx +0 -3
- package/src/surfaces/admin/components/Text/examples/status-tones.jsx +0 -5
- package/src/surfaces/admin/components/Text/examples/strong-text.html +0 -3
- package/src/surfaces/admin/components/Text/examples/strong-text.jsx +0 -3
- package/src/surfaces/admin/components/Text/examples/subdued-color.jsx +0 -3
- package/src/surfaces/admin/components/Text/examples/tabular-numbers.jsx +0 -3
- package/src/surfaces/admin/components/TextArea/examples/basic-usage.jsx +0 -5
- package/src/surfaces/admin/components/TextArea/examples/default.jsx +0 -5
- package/src/surfaces/admin/components/TextArea/examples/error-state.jsx +0 -8
- package/src/surfaces/admin/components/TextArea/examples/product-care-instructions.html +0 -7
- package/src/surfaces/admin/components/TextArea/examples/product-care-instructions.jsx +0 -7
- package/src/surfaces/admin/components/TextArea/examples/seo-meta-description-with-character-limit.jsx +0 -8
- package/src/surfaces/admin/components/TextField/examples/basic-usage.html +0 -1
- package/src/surfaces/admin/components/TextField/examples/basic-usage.jsx +0 -1
- package/src/surfaces/admin/components/TextField/examples/default.jsx +0 -5
- package/src/surfaces/admin/components/TextField/examples/required-field-with-validation.html +0 -1
- package/src/surfaces/admin/components/TextField/examples/required-field-with-validation.jsx +0 -1
- package/src/surfaces/admin/components/TextField/examples/specific-error-messages-for-merchant-context.jsx +0 -16
- package/src/surfaces/admin/components/TextField/examples/with-accessory.jsx +0 -6
- package/src/surfaces/admin/components/TextField/examples/with-icon.jsx +0 -5
- package/src/surfaces/admin/components/TextField/examples/with-prefix-and-suffix.jsx +0 -11
- package/src/surfaces/admin/components/Thumbnail/examples/basic-usage.html +0 -5
- package/src/surfaces/admin/components/Thumbnail/examples/basic-usage.jsx +0 -5
- package/src/surfaces/admin/components/Thumbnail/examples/default.jsx +0 -4
- package/src/surfaces/admin/components/Thumbnail/examples/different-sizes.jsx +0 -17
- package/src/surfaces/admin/components/Thumbnail/examples/empty-state.jsx +0 -1
- package/src/surfaces/admin/components/Thumbnail/examples/with-event-handling.jsx +0 -13
- package/src/surfaces/admin/components/Tooltip/examples/basic-usage.jsx +0 -6
- package/src/surfaces/admin/components/Tooltip/examples/default.jsx +0 -6
- package/src/surfaces/admin/components/Tooltip/examples/with-icon-button.jsx +0 -8
- package/src/surfaces/admin/components/UnorderedList/examples/default.jsx +0 -5
- package/src/surfaces/admin/components/UnorderedList/examples/store-setup-checklist.jsx +0 -24
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +0 -80
- package/src/surfaces/admin/docs-types.ts +0 -45
- package/src/surfaces/checkout/helper.docs.ts +0 -166
- /package/src/surfaces/admin/components/Button/examples/{basic-usage.html → basic-button.html} +0 -0
- /package/src/surfaces/{admin/components/Divider/examples/basic-usage.html → customer-account/components/Divider/examples/basic-divider.example.html} +0 -0
|
@@ -22,23 +22,21 @@ import type {SubscribableSignalLike} from '../../shared';
|
|
|
22
22
|
export type {ApiVersion, Capability} from '../../../../shared';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* Stored data is only available to this
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* The storage backend is implemented with `localStorage` and
|
|
31
|
-
* should persist across the buyer's checkout session.
|
|
32
|
-
* However, data persistence isn't guaranteed.
|
|
25
|
+
* Key-value storage for a specific extension. Use storage to save
|
|
26
|
+
* preferences or cached data that should survive page reloads without
|
|
27
|
+
* requiring a backend call. Stored data is only available to this
|
|
28
|
+
* specific extension. The storage backend is implemented with
|
|
29
|
+
* `localStorage` and data persistence isn't guaranteed.
|
|
33
30
|
*/
|
|
34
31
|
export interface Storage {
|
|
35
32
|
/**
|
|
36
33
|
* Read and return a stored value by key.
|
|
37
34
|
*
|
|
38
35
|
* The stored data is deserialized from JSON and returned as
|
|
39
|
-
* its original
|
|
36
|
+
* its original type.
|
|
40
37
|
*
|
|
41
|
-
* Returns `null`
|
|
38
|
+
* Returns the stored value for the given key, or `null` when no value
|
|
39
|
+
* exists. Doesn't throw on a missing key.
|
|
42
40
|
*/
|
|
43
41
|
read<T = unknown>(key: string): Promise<T | null>;
|
|
44
42
|
|
|
@@ -50,13 +48,15 @@ export interface Storage {
|
|
|
50
48
|
write(key: string, data: any): Promise<void>;
|
|
51
49
|
|
|
52
50
|
/**
|
|
53
|
-
*
|
|
51
|
+
* Deletes a previously stored value by key.
|
|
54
52
|
*/
|
|
55
53
|
delete(key: string): Promise<void>;
|
|
56
54
|
}
|
|
57
55
|
|
|
58
56
|
/**
|
|
59
|
-
*
|
|
57
|
+
* Metadata about the running extension, including its API version, target,
|
|
58
|
+
* capabilities, and editor context. Use this to read configuration details or
|
|
59
|
+
* conditionally render content based on where the extension is running.
|
|
60
60
|
*/
|
|
61
61
|
export interface Extension<Target extends ExtensionTarget = ExtensionTarget> {
|
|
62
62
|
/**
|
|
@@ -67,27 +67,15 @@ export interface Extension<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
67
67
|
apiVersion: ApiVersion;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
* The allowed capabilities of the extension, defined
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
* * [`api_access`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#api-access): the extension can access the Storefront API.
|
|
74
|
-
*
|
|
75
|
-
* * [`network_access`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#network-access): the extension can make external network calls.
|
|
76
|
-
*
|
|
77
|
-
* * [`block_progress`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#block-progress): the extension can block a customer's progress and the merchant has allowed this blocking behavior.
|
|
78
|
-
*
|
|
79
|
-
* * [`collect_buyer_consent.sms_marketing`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#collect-buyer-consent): the extension can collect customer consent for SMS marketing.
|
|
80
|
-
*
|
|
81
|
-
* * [`collect_buyer_consent.customer_privacy`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#collect-buyer-consent): the extension can register customer consent decisions that will be honored on Shopify-managed services.
|
|
82
|
-
*
|
|
83
|
-
* * [`iframe.sources`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#iframe): the extension can embed an external URL in an iframe.
|
|
70
|
+
* The allowed capabilities of the extension, defined in your
|
|
71
|
+
* [`shopify.extension.toml`](/docs/api/checkout-ui-extensions/{API_VERSION}/configuration) file.
|
|
84
72
|
*/
|
|
85
73
|
capabilities: SubscribableSignalLike<Capability[]>;
|
|
86
74
|
|
|
87
75
|
/**
|
|
88
76
|
* Information about the editor where the extension is being rendered.
|
|
89
77
|
*
|
|
90
|
-
* If the value is undefined, then the extension
|
|
78
|
+
* If the value is undefined, then the extension isn't running in an editor.
|
|
91
79
|
*/
|
|
92
80
|
editor?: Editor;
|
|
93
81
|
|
|
@@ -95,7 +83,7 @@ export interface Extension<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
95
83
|
* A Boolean to show whether your extension is currently rendered to the screen.
|
|
96
84
|
*
|
|
97
85
|
* Shopify might render your extension before it's visible in the UI,
|
|
98
|
-
* typically to pre-render extensions that
|
|
86
|
+
* typically to pre-render extensions that appear on a later step of the
|
|
99
87
|
* checkout.
|
|
100
88
|
*
|
|
101
89
|
* Your extension might also continue to run after the customer has navigated away
|
|
@@ -110,12 +98,12 @@ export interface Extension<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
110
98
|
scriptUrl: string;
|
|
111
99
|
|
|
112
100
|
/**
|
|
113
|
-
* The identifier that specifies where in Shopify
|
|
114
|
-
* injected. This
|
|
115
|
-
* extension
|
|
101
|
+
* The identifier that specifies where in Shopify's UI your code is being
|
|
102
|
+
* injected. This is one of the targets you've included in your
|
|
103
|
+
* extension's configuration file.
|
|
116
104
|
*
|
|
117
105
|
* @example 'purchase.checkout.block.render'
|
|
118
|
-
* @see https://shopify.dev/docs/api/checkout-ui-extensions/
|
|
106
|
+
* @see https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/extension-targets-overview
|
|
119
107
|
* @see https://shopify.dev/docs/apps/app-extensions/configuration#targets
|
|
120
108
|
*/
|
|
121
109
|
target: Target;
|
|
@@ -125,93 +113,143 @@ export interface Extension<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
125
113
|
*
|
|
126
114
|
* For unpublished extensions, the value is `undefined`.
|
|
127
115
|
*
|
|
116
|
+
* Don't use this property as a stable identifier in development environments.
|
|
117
|
+
* It becomes available only after the extension is published.
|
|
118
|
+
*
|
|
128
119
|
* @example 3.0.10
|
|
129
120
|
*/
|
|
130
121
|
version?: string;
|
|
131
122
|
}
|
|
132
123
|
|
|
124
|
+
/**
|
|
125
|
+
* Information about the editor environment when an extension is rendered
|
|
126
|
+
* inside the checkout editor. The value is `undefined` when the extension
|
|
127
|
+
* is not rendering in an editor.
|
|
128
|
+
*/
|
|
133
129
|
export interface Editor {
|
|
134
130
|
/**
|
|
135
|
-
* Indicates whether the extension is rendering in the checkout editor.
|
|
131
|
+
* Indicates whether the extension is rendering in the [checkout editor](https://shopify.dev/docs/apps/checkout). Always `'checkout'`.
|
|
136
132
|
*/
|
|
137
133
|
type: 'checkout';
|
|
138
134
|
}
|
|
139
135
|
|
|
140
136
|
/**
|
|
141
|
-
* Metadata associated with the checkout.
|
|
137
|
+
* Metadata associated with the checkout. See the [metafields documentation](https://shopify.dev/docs/apps/build/custom-data/metafields) for more information on how metafields work.
|
|
142
138
|
*/
|
|
143
139
|
export interface Metafield {
|
|
144
140
|
/**
|
|
145
|
-
* The name of the metafield.
|
|
146
|
-
*
|
|
141
|
+
* The name of the metafield.
|
|
142
|
+
*
|
|
143
|
+
* @example 'delivery_instructions'
|
|
147
144
|
*/
|
|
148
145
|
key: string;
|
|
149
146
|
|
|
150
147
|
/**
|
|
151
148
|
* A container for a set of metafields. You need to define a custom
|
|
152
149
|
* namespace for your metafields to distinguish them from the metafields
|
|
153
|
-
* used by other apps.
|
|
150
|
+
* used by other apps.
|
|
151
|
+
*
|
|
152
|
+
* @example 'my_app'
|
|
154
153
|
*/
|
|
155
154
|
namespace: string;
|
|
156
155
|
|
|
157
156
|
/**
|
|
158
|
-
* The information to be stored as metadata.
|
|
157
|
+
* The information to be stored as metadata.
|
|
159
158
|
*/
|
|
160
159
|
value: string | number;
|
|
161
160
|
|
|
162
|
-
/**
|
|
161
|
+
/**
|
|
162
|
+
* The metafield's information type.
|
|
163
|
+
*
|
|
164
|
+
* - `'integer'`: A whole number value.
|
|
165
|
+
* - `'string'`: A plain text value.
|
|
166
|
+
* - `'json_string'`: A JSON-encoded string value.
|
|
167
|
+
*/
|
|
163
168
|
valueType: 'integer' | 'string' | 'json_string';
|
|
164
169
|
}
|
|
165
170
|
|
|
166
171
|
/**
|
|
167
|
-
* Represents a custom
|
|
172
|
+
* Represents a custom [metafield](https://shopify.dev/docs/apps/build/custom-data/metafields) attached to a resource such as a product, variant, customer, or shop.
|
|
168
173
|
*/
|
|
169
174
|
export interface AppMetafield {
|
|
170
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* The identifier for the metafield within its namespace, such as `'ingredients'` or `'shipping_weight'`.
|
|
177
|
+
*/
|
|
171
178
|
key: string;
|
|
172
179
|
|
|
173
180
|
/**
|
|
174
|
-
* The namespace
|
|
181
|
+
* The namespace that the metafield belongs to. Namespaces group related metafields and prevent naming collisions between different apps.
|
|
175
182
|
*
|
|
176
|
-
* App owned metafield namespaces are returned using the `$app` format. See [app owned metafields](/docs/apps/build/custom-data/ownership#reserved-prefixes) for more information.
|
|
183
|
+
* App owned metafield namespaces are returned using the `$app` format. See [app owned metafields](https://shopify.dev/docs/apps/build/custom-data/ownership#reserved-prefixes) for more information.
|
|
177
184
|
*/
|
|
178
185
|
namespace: string;
|
|
179
186
|
|
|
180
|
-
/**
|
|
187
|
+
/**
|
|
188
|
+
* The value of a metafield, stored as a string regardless of the underlying type. For JSON metafields, parse the string to access structured data.
|
|
189
|
+
*/
|
|
181
190
|
value: string;
|
|
182
191
|
|
|
183
|
-
/**
|
|
192
|
+
/**
|
|
193
|
+
* The metafield's information type.
|
|
194
|
+
*
|
|
195
|
+
* - `'boolean'`: A true or false value.
|
|
196
|
+
* - `'float'`: A decimal number value.
|
|
197
|
+
* - `'integer'`: A whole number value.
|
|
198
|
+
* - `'json_string'`: A JSON-encoded string value.
|
|
199
|
+
* - `'string'`: A plain text value.
|
|
200
|
+
*/
|
|
184
201
|
valueType: 'boolean' | 'float' | 'integer' | 'json_string' | 'string';
|
|
185
202
|
|
|
186
|
-
/**
|
|
203
|
+
/**
|
|
204
|
+
* The metafield's [type name](https://shopify.dev/docs/apps/build/custom-data/metafields/list-of-data-types), such as `'single_line_text_field'` or `'json'`. This is the full type identifier, whereas `valueType` is a simplified category.
|
|
205
|
+
*/
|
|
187
206
|
type: string;
|
|
188
207
|
}
|
|
189
208
|
|
|
190
209
|
/**
|
|
191
|
-
* Represents a custom metadata attached to a
|
|
210
|
+
* Represents a custom metadata attached to the cart. Unlike `AppMetafield`, cart metafield values are always strings and don't include a `valueType` discriminator.
|
|
211
|
+
*
|
|
212
|
+
* Cart [metafields](https://shopify.dev/docs/apps/build/custom-data/metafields) are set by extensions using `applyMetafieldChange()` and can be copied to order metafields at order creation time.
|
|
192
213
|
*/
|
|
193
214
|
export interface CartMetafield {
|
|
194
|
-
/**
|
|
215
|
+
/**
|
|
216
|
+
* The key name of a metafield, such as `'delivery_instructions'` or `'gift_message'`. Together with `namespace`, this uniquely identifies the metafield on the cart.
|
|
217
|
+
*/
|
|
195
218
|
key: string;
|
|
196
219
|
|
|
197
|
-
/**
|
|
220
|
+
/**
|
|
221
|
+
* The namespace for a metafield, such as `'custom'` or `'my_app'`. Together with `key`, this uniquely identifies the metafield on the cart.
|
|
222
|
+
*/
|
|
198
223
|
namespace: string;
|
|
199
224
|
|
|
200
|
-
/**
|
|
225
|
+
/**
|
|
226
|
+
* The string value stored in the cart metafield. Unlike `AppMetafield`, cart metafield values are always strings.
|
|
227
|
+
*/
|
|
201
228
|
value: string;
|
|
202
229
|
|
|
203
|
-
/**
|
|
230
|
+
/**
|
|
231
|
+
* The metafield's [type name](https://shopify.dev/docs/apps/build/custom-data/metafields/list-of-data-types), such as `'single_line_text_field'` or `'json'`.
|
|
232
|
+
*/
|
|
204
233
|
type: string;
|
|
205
234
|
}
|
|
206
235
|
|
|
207
236
|
/**
|
|
208
|
-
* The metafield
|
|
237
|
+
* The Shopify resource that a metafield is attached to. Each entry identifies a specific resource by its type and globally-unique ID, so you can trace where the data comes from.
|
|
209
238
|
*/
|
|
210
239
|
export interface AppMetafieldEntryTarget {
|
|
211
240
|
/**
|
|
212
|
-
* The
|
|
241
|
+
* The kind of Shopify resource this metafield belongs to:
|
|
213
242
|
*
|
|
214
|
-
*
|
|
243
|
+
* - `'customer'`: The customer who placed the order.
|
|
244
|
+
* - `'product'`: A product in the merchant's catalog.
|
|
245
|
+
* - `'shop'`: The merchant's shop.
|
|
246
|
+
* - `'shopUser'`: A staff member or collaborator account on the shop.
|
|
247
|
+
* - `'variant'`: A specific variant of a product.
|
|
248
|
+
* - `'company'`: A [B2B](https://shopify.dev/docs/apps/build/b2b) company associated with the order.
|
|
249
|
+
* - `'companyLocation'`: A location belonging to a [B2B](https://shopify.dev/docs/apps/build/b2b) company.
|
|
250
|
+
* - `'cart'`: The cart associated with the checkout.
|
|
251
|
+
*
|
|
252
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data) when the type is `customer`, `company` or `companyLocation`.
|
|
215
253
|
*/
|
|
216
254
|
type:
|
|
217
255
|
| 'customer'
|
|
@@ -223,22 +261,28 @@ export interface AppMetafieldEntryTarget {
|
|
|
223
261
|
| 'companyLocation'
|
|
224
262
|
| 'cart';
|
|
225
263
|
|
|
226
|
-
/**
|
|
264
|
+
/**
|
|
265
|
+
* The globally-unique identifier of the Shopify resource, in [GID](https://shopify.dev/docs/api/usage/gids) format. Use this value to match the metafield to a specific resource in your extension or when querying the [Storefront API](https://shopify.dev/docs/api/storefront).
|
|
266
|
+
*
|
|
267
|
+
* @example 'gid://shopify/Product/123'
|
|
268
|
+
*/
|
|
227
269
|
id: string;
|
|
228
270
|
}
|
|
229
271
|
|
|
230
272
|
/**
|
|
231
|
-
*
|
|
273
|
+
* An entry that pairs a Shopify resource with one of its [metafields](https://shopify.dev/docs/apps/build/custom-data/metafields). Each entry contains a `target` identifying which resource the metafield belongs to and a `metafield` object with the actual data.
|
|
232
274
|
*/
|
|
233
275
|
export interface AppMetafieldEntry {
|
|
234
276
|
/**
|
|
235
|
-
* The
|
|
277
|
+
* The Shopify resource that this metafield is attached to, including the resource type (such as `'product'` or `'customer'`) and its globally-unique ID.
|
|
236
278
|
*
|
|
237
|
-
* {% 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`.
|
|
279
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data) when the type is `customer`, `company` or `companyLocation`.
|
|
238
280
|
*/
|
|
239
281
|
target: AppMetafieldEntryTarget;
|
|
240
282
|
|
|
241
|
-
/**
|
|
283
|
+
/**
|
|
284
|
+
* The metafield data, including the namespace, key, value, and content type. Use the `namespace` and `key` together to uniquely identify the metafield within its resource.
|
|
285
|
+
*/
|
|
242
286
|
metafield: AppMetafield;
|
|
243
287
|
}
|
|
244
288
|
|
|
@@ -246,9 +290,9 @@ export type Version = string;
|
|
|
246
290
|
export type CheckoutToken = string;
|
|
247
291
|
|
|
248
292
|
/**
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
*
|
|
293
|
+
* Translates a key from your extension's locale files into a localized string.
|
|
294
|
+
* Supports interpolation with placeholder replacements and pluralization
|
|
295
|
+
* via the special `count` option.
|
|
252
296
|
*/
|
|
253
297
|
export interface I18nTranslate {
|
|
254
298
|
<ReplacementType = string>(
|
|
@@ -259,6 +303,11 @@ export interface I18nTranslate {
|
|
|
259
303
|
: (string | ReplacementType)[];
|
|
260
304
|
}
|
|
261
305
|
|
|
306
|
+
/**
|
|
307
|
+
* Utilities for translating strings, formatting currencies, numbers,
|
|
308
|
+
* and dates according to the buyer's locale. Use the I18n API alongside
|
|
309
|
+
* the Localization API to build fully localized extensions.
|
|
310
|
+
*/
|
|
262
311
|
export interface I18n {
|
|
263
312
|
/**
|
|
264
313
|
* Returns a localized number.
|
|
@@ -266,7 +315,7 @@ export interface I18n {
|
|
|
266
315
|
* This function behaves like the standard `Intl.NumberFormat()`
|
|
267
316
|
* with a style of `decimal` applied. It uses the buyer's locale by default.
|
|
268
317
|
*
|
|
269
|
-
* @param options.inExtensionLocale -
|
|
318
|
+
* @param options.inExtensionLocale - If true, uses the extension's locale.
|
|
270
319
|
*/
|
|
271
320
|
formatNumber: (
|
|
272
321
|
number: number | bigint,
|
|
@@ -279,7 +328,7 @@ export interface I18n {
|
|
|
279
328
|
* This function behaves like the standard `Intl.NumberFormat()`
|
|
280
329
|
* with a style of `currency` applied. It uses the buyer's locale by default.
|
|
281
330
|
*
|
|
282
|
-
* @param options.inExtensionLocale -
|
|
331
|
+
* @param options.inExtensionLocale - If true, uses the extension's locale.
|
|
283
332
|
*/
|
|
284
333
|
formatCurrency: (
|
|
285
334
|
number: number | bigint,
|
|
@@ -289,14 +338,11 @@ export interface I18n {
|
|
|
289
338
|
/**
|
|
290
339
|
* Returns a localized date value.
|
|
291
340
|
*
|
|
292
|
-
* This function behaves like the standard `Intl.
|
|
293
|
-
* the buyer's locale by default. Formatting options can be passed in as
|
|
341
|
+
* This function behaves like the standard [`Intl.DateTimeFormat()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) and uses
|
|
342
|
+
* the buyer's locale by default. Formatting [options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options) can be passed in as
|
|
294
343
|
* options.
|
|
295
344
|
*
|
|
296
|
-
* @
|
|
297
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options
|
|
298
|
-
*
|
|
299
|
-
* @param options.inExtensionLocale - if true, use the extension's locale
|
|
345
|
+
* @param options.inExtensionLocale - If true, uses the extension's locale.
|
|
300
346
|
*/
|
|
301
347
|
formatDate: (
|
|
302
348
|
date: Date,
|
|
@@ -317,89 +363,97 @@ export interface I18n {
|
|
|
317
363
|
|
|
318
364
|
export interface Language {
|
|
319
365
|
/**
|
|
320
|
-
* The BCP-47 language tag.
|
|
321
|
-
*
|
|
322
|
-
* @example 'en' for English, or 'en-US' for English local to United States.
|
|
323
|
-
* @see https://en.wikipedia.org/wiki/IETF_language_tag
|
|
324
|
-
* @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
|
|
366
|
+
* The [BCP-47](https://en.wikipedia.org/wiki/IETF_language_tag) language tag that identifies the language. This is a standardized code that might include a base language and an optional region subtag separated by a dash. For example, `'en'` represents English and `'en-US'` represents English as used in the United States. The region subtag follows the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) standard.
|
|
325
367
|
*/
|
|
326
368
|
isoCode: string;
|
|
327
369
|
}
|
|
328
370
|
|
|
329
371
|
export interface Currency {
|
|
330
372
|
/**
|
|
331
|
-
* The
|
|
332
|
-
* @see https://www.iso.org/iso-4217-currency-codes.html
|
|
373
|
+
* The three-letter currency code in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format, such as `'USD'`, `'EUR'`, or `'CAD'`.
|
|
333
374
|
*/
|
|
334
375
|
isoCode: CurrencyCode;
|
|
335
376
|
}
|
|
336
377
|
|
|
378
|
+
/**
|
|
379
|
+
* A [Shopify Market](https://shopify.dev/docs/apps/build/markets) that represents a group of one or more regions for international selling.
|
|
380
|
+
*/
|
|
337
381
|
export interface Market {
|
|
338
382
|
/**
|
|
339
|
-
* A globally-unique identifier for
|
|
383
|
+
* A globally-unique identifier for the market in the format `gid://shopify/Market/<id>`.
|
|
340
384
|
*/
|
|
341
385
|
id: string;
|
|
342
386
|
|
|
343
387
|
/**
|
|
344
|
-
* The human-readable, shop-scoped identifier for the market.
|
|
388
|
+
* The human-readable, shop-scoped identifier for the market, such as `'us'` or `'eu'`. Merchants define these handles when configuring [Shopify Markets](https://shopify.dev/docs/apps/build/markets).
|
|
345
389
|
*/
|
|
346
390
|
handle: string;
|
|
347
391
|
}
|
|
348
392
|
|
|
393
|
+
/**
|
|
394
|
+
* The buyer's language, country, currency, and timezone context. Use this
|
|
395
|
+
* to adapt your extension to the buyer's region and display localized content.
|
|
396
|
+
*/
|
|
349
397
|
export interface Localization {
|
|
350
398
|
/**
|
|
351
|
-
* The currency that the
|
|
399
|
+
* The currency that the buyer sees for money amounts in the checkout. Use this value to format prices and totals in the buyer's expected currency.
|
|
352
400
|
*/
|
|
353
401
|
currency: SubscribableSignalLike<Currency>;
|
|
354
402
|
|
|
355
403
|
/**
|
|
356
|
-
* The buyer
|
|
404
|
+
* The buyer's time zone, based on their browser or account settings. Use this value to format dates and times relative to the buyer's local time.
|
|
357
405
|
*/
|
|
358
406
|
timezone: SubscribableSignalLike<Timezone>;
|
|
359
407
|
|
|
360
408
|
/**
|
|
361
|
-
* The language the
|
|
409
|
+
* The language the buyer sees in the checkout. This reflects the language selected by the buyer or determined by their browser settings, and might differ from the languages your extension supports.
|
|
362
410
|
*/
|
|
363
411
|
language: SubscribableSignalLike<Language>;
|
|
364
412
|
|
|
365
413
|
/**
|
|
366
|
-
*
|
|
367
|
-
* If the customer's actual language is not supported by the extension,
|
|
368
|
-
* then this is the language that is used for translations.
|
|
369
|
-
*
|
|
370
|
-
* For example, if the customer's language is 'fr-CA' but your extension
|
|
371
|
-
* only supports translations for 'fr', then the `isoCode` for this
|
|
372
|
-
* language is 'fr'. If your extension does not provide french
|
|
373
|
-
* translations at all, then this value is the default locale for your
|
|
374
|
-
* extension (that is, the one matching your .default.json file).
|
|
414
|
+
* The best available language match for your extension based on the buyer's language. If the buyer's language is `'fr-CA'` but your extension supports only `'fr'`, this returns `'fr'`. If your extension doesn't support any variant of the buyer's language, this falls back to your extension's default locale (the `.default.json` translation file). Use this value to load the correct translation file for your extension.
|
|
375
415
|
*/
|
|
376
416
|
extensionLanguage: SubscribableSignalLike<Language>;
|
|
377
417
|
|
|
378
418
|
/**
|
|
379
|
-
* The country context of the checkout.
|
|
380
|
-
*
|
|
381
|
-
*
|
|
382
|
-
*
|
|
419
|
+
* The country context of the checkout, carried over from the cart. It updates when the buyer changes their shipping address country. Use this value to display region-specific content such as local support information or regional policies. The value is `undefined` if the buyer's country is unknown.
|
|
420
|
+
*
|
|
421
|
+
* Derived from the buyer's shipping address. Returns `undefined` until the
|
|
422
|
+
* buyer enters a shipping address.
|
|
383
423
|
*/
|
|
384
424
|
country: SubscribableSignalLike<Country | undefined>;
|
|
385
425
|
|
|
386
426
|
/**
|
|
387
|
-
* The [market](
|
|
388
|
-
*
|
|
389
|
-
*
|
|
390
|
-
* buyer changes the country of their
|
|
391
|
-
*
|
|
392
|
-
*
|
|
393
|
-
* > Caution: This field is deprecated and will be removed in a future version.
|
|
427
|
+
* The [market](/docs/apps/build/markets) context of the checkout,
|
|
428
|
+
* carried over from the cart context. Markets group countries and
|
|
429
|
+
* regions with shared pricing, languages, and domains. The market
|
|
430
|
+
* context updates when the buyer changes the country of their
|
|
431
|
+
* shipping address. The value is `undefined` if the market is unknown.
|
|
394
432
|
*
|
|
395
|
-
* @deprecated
|
|
433
|
+
* @deprecated Merchants now manage which extensions load for each
|
|
434
|
+
* market, so extensions no longer need to check this value.
|
|
396
435
|
*/
|
|
397
436
|
market: SubscribableSignalLike<Market | undefined>;
|
|
398
437
|
}
|
|
399
438
|
|
|
400
439
|
export interface LocalizedField {
|
|
440
|
+
/**
|
|
441
|
+
* The identifier for the localized field, indicating the type of information
|
|
442
|
+
* collected (for example, a tax credential or shipping credential for a
|
|
443
|
+
* specific country).
|
|
444
|
+
*/
|
|
401
445
|
key: LocalizedFieldKey;
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* The localized display label for the field, suitable for rendering in the UI.
|
|
449
|
+
*
|
|
450
|
+
* @example 'CPF/CNPJ' for a Brazilian tax credential
|
|
451
|
+
*/
|
|
402
452
|
title: string;
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* The current value entered by the buyer for this field.
|
|
456
|
+
*/
|
|
403
457
|
value: string;
|
|
404
458
|
}
|
|
405
459
|
|
|
@@ -411,31 +465,28 @@ export interface BuyerJourney {
|
|
|
411
465
|
* Installs a function for intercepting and preventing progress on checkout.
|
|
412
466
|
*
|
|
413
467
|
* This returns a promise that resolves to a teardown function. Calling the
|
|
414
|
-
* teardown function
|
|
468
|
+
* teardown function removes the interceptor.
|
|
415
469
|
*
|
|
416
|
-
* To block checkout progress, you must set the [block_progress](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#block-progress)
|
|
470
|
+
* To block checkout progress, you must set the [block_progress](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/configuration#block-progress)
|
|
417
471
|
* capability in your extension's configuration.
|
|
418
472
|
*
|
|
419
473
|
* If you do, then you're expected to inform the buyer why navigation was blocked,
|
|
420
474
|
* either by passing validation errors to the checkout UI or rendering the errors in your extension.
|
|
421
475
|
*
|
|
422
|
-
*
|
|
423
|
-
* to block checkout progress.
|
|
476
|
+
* If the merchant hasn't allowed your extension to block checkout progress, show a warning in the [checkout editor](https://shopify.dev/docs/apps/build/checkout/test-checkout-ui-extensions#test-the-extension-in-the-checkout-editor).
|
|
424
477
|
*/
|
|
425
478
|
intercept(interceptor: Interceptor): Promise<() => void>;
|
|
426
479
|
|
|
427
480
|
/**
|
|
428
|
-
*
|
|
429
|
-
*
|
|
430
|
-
* For example, when viewing the **Order status** page after submitting payment, the buyer will have completed their order.
|
|
481
|
+
* Whether the buyer has completed submitting their order. When `true`, the buyer is on the order status page after submitting payment. When `false`, the buyer is still in the checkout flow.
|
|
431
482
|
*/
|
|
432
483
|
completed: SubscribableSignalLike<boolean>;
|
|
433
484
|
/**
|
|
434
|
-
* All possible steps
|
|
485
|
+
* All possible steps the buyer can take to complete checkout. These steps vary depending on whether the checkout is one-page or three-page, and on the shop's configuration.
|
|
435
486
|
*/
|
|
436
487
|
steps: SubscribableSignalLike<BuyerJourneyStep[]>;
|
|
437
488
|
/**
|
|
438
|
-
*
|
|
489
|
+
* The step of checkout the buyer is currently on. The value is `undefined` if the current step can't be determined.
|
|
439
490
|
*/
|
|
440
491
|
activeStep: SubscribableSignalLike<BuyerJourneyStepReference | undefined>;
|
|
441
492
|
}
|
|
@@ -467,91 +518,108 @@ type BuyerJourneyStepHandle =
|
|
|
467
518
|
*/
|
|
468
519
|
interface BuyerJourneyStepReference {
|
|
469
520
|
/**
|
|
470
|
-
* The handle
|
|
521
|
+
* The handle identifying which step the buyer is on, such as `'information'`,
|
|
522
|
+
* `'shipping'`, or `'payment'`. See `BuyerJourneyStepHandle` for all values.
|
|
471
523
|
*/
|
|
472
524
|
handle: BuyerJourneyStepHandle;
|
|
473
525
|
}
|
|
474
526
|
|
|
475
527
|
export interface BuyerJourneyStep {
|
|
476
528
|
/**
|
|
477
|
-
* The handle that uniquely identifies the buyer journey step
|
|
529
|
+
* The handle that uniquely identifies the buyer journey step, such as `'information'`, `'shipping'`, or `'payment'`.
|
|
478
530
|
*/
|
|
479
531
|
handle: BuyerJourneyStepHandle;
|
|
480
532
|
/**
|
|
481
|
-
* The localized label of the buyer journey step.
|
|
533
|
+
* The localized label of the buyer journey step, suitable for rendering in navigation UI.
|
|
482
534
|
*/
|
|
483
535
|
label: string;
|
|
484
536
|
/**
|
|
485
|
-
* The
|
|
486
|
-
*
|
|
537
|
+
* The URL of the buyer journey step, using the `shopify:` protocol.
|
|
538
|
+
*
|
|
539
|
+
* @example 'shopify:cart'
|
|
540
|
+
* @example 'shopify:checkout/information'
|
|
487
541
|
*/
|
|
488
542
|
to: string;
|
|
489
543
|
/**
|
|
490
|
-
*
|
|
544
|
+
* Whether this step is disabled. When `true`, the buyer hasn't reached this step yet and can't navigate to it. When `false`, the step is accessible.
|
|
491
545
|
*
|
|
492
|
-
* For example, if the buyer
|
|
546
|
+
* For example, if the buyer hasn't reached the `shipping` step yet, then `shipping` is disabled.
|
|
493
547
|
*/
|
|
494
548
|
disabled: boolean;
|
|
495
549
|
}
|
|
496
550
|
|
|
551
|
+
/** @publicDocs */
|
|
497
552
|
export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
|
|
498
553
|
/**
|
|
499
|
-
*
|
|
554
|
+
* Tracks custom events and sends visitor information to
|
|
555
|
+
* [Web Pixels](https://shopify.dev/docs/apps/marketing). Use `publish()` to emit events
|
|
556
|
+
* and `visitor()` to submit buyer contact details.
|
|
500
557
|
*/
|
|
501
558
|
analytics: Analytics;
|
|
502
559
|
|
|
503
560
|
/**
|
|
504
|
-
*
|
|
561
|
+
* The gift cards that have been applied to the checkout. Each entry includes
|
|
562
|
+
* the last four characters of the gift card code, the amount used at
|
|
563
|
+
* checkout, and the card's remaining balance.
|
|
505
564
|
*/
|
|
506
565
|
appliedGiftCards: SubscribableSignalLike<AppliedGiftCard[]>;
|
|
507
566
|
|
|
508
567
|
/**
|
|
509
568
|
* The cart instructions used to create the checkout and possibly limit extension capabilities.
|
|
510
569
|
*
|
|
511
|
-
* These instructions should be checked
|
|
570
|
+
* These instructions should be checked before performing any actions that might be affected by them.
|
|
512
571
|
*
|
|
513
572
|
* For example, if you intend to add a discount code via the `applyDiscountCodeChange` method,
|
|
514
573
|
* check `discounts.canUpdateDiscountCodes` to ensure it's supported in this checkout.
|
|
515
574
|
*
|
|
516
|
-
* > Caution:
|
|
517
|
-
*
|
|
575
|
+
* > Caution: Check cart instructions before calling select APIs, as
|
|
576
|
+
* > some may not be available. See the
|
|
577
|
+
* > [Cart Instructions API](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/cart-instructions#examples)
|
|
578
|
+
* > for more information.
|
|
518
579
|
*
|
|
519
580
|
*/
|
|
520
581
|
instructions: SubscribableSignalLike<CartInstructions>;
|
|
521
582
|
|
|
522
583
|
/**
|
|
523
584
|
* The metafields requested in the
|
|
524
|
-
* [`shopify.extension.toml`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration)
|
|
585
|
+
* [`shopify.extension.toml`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/configuration)
|
|
525
586
|
* file. These metafields are updated when there's a change in the merchandise items
|
|
526
587
|
* being purchased by the customer.
|
|
527
588
|
*
|
|
528
|
-
* App owned metafields are supported and are returned using the `$app` format. The fully qualified reserved namespace format such as `app--{your-app-id}[--{optional-namespace}]`
|
|
589
|
+
* App owned metafields are supported and are returned using the `$app` format. The fully qualified reserved namespace format such as `app--{your-app-id}[--{optional-namespace}]` isn't supported. See [app owned metafields](https://shopify.dev/docs/apps/build/custom-data/ownership#reserved-prefixes) for more information.
|
|
529
590
|
*
|
|
530
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
591
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
531
592
|
*/
|
|
532
593
|
appMetafields: SubscribableSignalLike<AppMetafieldEntry[]>;
|
|
533
594
|
|
|
534
595
|
/**
|
|
535
|
-
* The custom attributes
|
|
596
|
+
* The custom key-value attributes attached to the cart or checkout. These are set by the buyer or by an extension using `applyAttributeChange()`. The list is empty if no attributes have been added.
|
|
536
597
|
*/
|
|
537
598
|
attributes: SubscribableSignalLike<Attribute[]>;
|
|
538
599
|
|
|
539
600
|
/**
|
|
540
|
-
* All available
|
|
601
|
+
* All payment options available to the buyer for this checkout, such as
|
|
602
|
+
* credit cards, wallets, and local payment methods. The list depends on
|
|
603
|
+
* the shop's payment configuration and the buyer's region.
|
|
604
|
+
*
|
|
605
|
+
* The set of payment options can change when the buyer updates their
|
|
606
|
+
* address or cart, so subscribe to changes rather than reading once
|
|
607
|
+
* during initialization. Each option exposes `handle` and `type` only.
|
|
608
|
+
* Provider names, logos, fees, and installment terms aren't available.
|
|
541
609
|
*/
|
|
542
610
|
availablePaymentOptions: SubscribableSignalLike<PaymentOption[]>;
|
|
543
611
|
|
|
544
612
|
/**
|
|
545
|
-
* Information about the buyer that
|
|
613
|
+
* Information about the buyer that's interacting with the checkout. The property is available only if the extension has access to protected customer data.
|
|
546
614
|
*
|
|
547
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
615
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
548
616
|
*/
|
|
549
617
|
buyerIdentity?: BuyerIdentity;
|
|
550
618
|
|
|
551
619
|
/**
|
|
552
|
-
* Provides details on the buyer's progression through the checkout.
|
|
620
|
+
* Provides details on the buyer's progression through the checkout and lets you intercept navigation to validate data before the buyer continues.
|
|
553
621
|
*
|
|
554
|
-
* Refer to [buyer journey](https://shopify.dev/docs/api/checkout-ui-extensions/apis/buyer-journey#examples)
|
|
622
|
+
* Refer to [buyer journey](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/buyer-journey#examples)
|
|
555
623
|
* examples for more information.
|
|
556
624
|
*/
|
|
557
625
|
buyerJourney: BuyerJourney;
|
|
@@ -564,68 +632,77 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
564
632
|
/**
|
|
565
633
|
* A stable ID that represents the current checkout.
|
|
566
634
|
*
|
|
635
|
+
* The value is `undefined` when the checkout hasn't been created on the server yet.
|
|
636
|
+
*
|
|
637
|
+
* Use this to correlate checkout sessions across your extension, web pixels, and backend systems.
|
|
638
|
+
*
|
|
567
639
|
* This matches the `data.checkout.token` field in a [checkout-related WebPixel event](https://shopify.dev/docs/api/web-pixels-api/standard-events/checkout_started#properties-propertydetail-data)
|
|
568
640
|
* and the `checkout_token` field in the [REST Admin API `Order` resource](https://shopify.dev/docs/api/admin-rest/unstable/resources/order#resource-object).
|
|
641
|
+
*
|
|
642
|
+
* Can be `undefined`. Handle the `undefined` state before using the value.
|
|
569
643
|
*/
|
|
570
644
|
checkoutToken: SubscribableSignalLike<CheckoutToken | undefined>;
|
|
571
645
|
|
|
572
646
|
/**
|
|
573
|
-
*
|
|
647
|
+
* The cost breakdown for the current checkout, including subtotal, shipping, tax, and total amounts. These values update as the buyer progresses through checkout and costs like shipping and tax are calculated.
|
|
574
648
|
*/
|
|
575
649
|
cost: CartCost;
|
|
576
650
|
|
|
577
651
|
/**
|
|
578
|
-
*
|
|
652
|
+
* The delivery groups for this checkout. Each group contains one or more cart lines and the available delivery options (shipping, pickup point, or pickup location) for those items.
|
|
653
|
+
*
|
|
654
|
+
* Empty until the buyer enters enough address information for Shopify to
|
|
655
|
+
* calculate shipping rates.
|
|
579
656
|
*/
|
|
580
657
|
deliveryGroups: SubscribableSignalLike<DeliveryGroup[]>;
|
|
581
658
|
|
|
582
659
|
/**
|
|
583
|
-
*
|
|
660
|
+
* The discount codes currently applied to the checkout. The list is empty if no discount codes have been applied. Use `applyDiscountCodeChange()` to add or remove codes.
|
|
584
661
|
*/
|
|
585
662
|
discountCodes: SubscribableSignalLike<CartDiscountCode[]>;
|
|
586
663
|
|
|
587
664
|
/**
|
|
588
|
-
*
|
|
665
|
+
* The discount allocations applied to the entire cart, including automatic discounts, code-based discounts, and custom discounts from [Shopify Functions](https://shopify.dev/docs/apps/build/functions). Each allocation indicates how much was discounted and how the discount was triggered.
|
|
589
666
|
*/
|
|
590
667
|
discountAllocations: SubscribableSignalLike<CartDiscountAllocation[]>;
|
|
591
668
|
|
|
592
669
|
/**
|
|
593
|
-
*
|
|
670
|
+
* Metadata about the running extension, including the current target, API version,
|
|
671
|
+
* capabilities, and editor context. Use this to conditionally render content
|
|
672
|
+
* based on where the extension is running.
|
|
594
673
|
*/
|
|
595
674
|
extension: Extension<Target>;
|
|
596
675
|
|
|
597
676
|
/**
|
|
598
|
-
* The identifier that specifies where in Shopify
|
|
599
|
-
* injected. This
|
|
600
|
-
* extension
|
|
677
|
+
* The identifier that specifies where in Shopify's UI your code is being
|
|
678
|
+
* injected. This is one of the targets you've included in your
|
|
679
|
+
* extension's configuration file.
|
|
601
680
|
*
|
|
602
681
|
* @example 'purchase.checkout.block.render'
|
|
603
|
-
* @see https://shopify.dev/docs/api/checkout-ui-extensions/
|
|
682
|
+
* @see https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/extension-targets-overview
|
|
604
683
|
* @see https://shopify.dev/docs/apps/app-extensions/configuration#targets
|
|
605
684
|
*
|
|
606
|
-
* @deprecated
|
|
685
|
+
* @deprecated Use `extension.target` instead.
|
|
607
686
|
*/
|
|
608
687
|
extensionPoint: Target;
|
|
609
688
|
|
|
610
689
|
/**
|
|
611
|
-
* Utilities for translating
|
|
612
|
-
*
|
|
613
|
-
*
|
|
614
|
-
*
|
|
615
|
-
* Refer to [`localization` examples](https://shopify.dev/docs/api/checkout-ui-extensions/apis/localization#examples)
|
|
616
|
-
* for more information.
|
|
690
|
+
* Utilities for translating strings, formatting currencies, numbers, and dates
|
|
691
|
+
* according to the buyer's locale. Use alongside
|
|
692
|
+
* [`localization`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/localization)
|
|
693
|
+
* to build fully localized extensions.
|
|
617
694
|
*/
|
|
618
695
|
i18n: I18n;
|
|
619
696
|
|
|
620
697
|
/**
|
|
621
|
-
*
|
|
698
|
+
* The list of line items the buyer intends to purchase. Each entry includes the merchandise, quantity, cost, and any custom attributes. Use `applyCartLinesChange()` to add, remove, or update line items.
|
|
622
699
|
*/
|
|
623
700
|
lines: SubscribableSignalLike<CartLine[]>;
|
|
624
701
|
|
|
625
702
|
/**
|
|
626
|
-
* The
|
|
627
|
-
*
|
|
628
|
-
* [`i18n`](https://shopify.dev/docs/api/checkout-ui-extensions/apis/localization#
|
|
703
|
+
* The buyer's language, country, currency, and timezone context. For
|
|
704
|
+
* formatting and translation helpers, use the
|
|
705
|
+
* [`i18n`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/localization#properties-propertydetail-i18n)
|
|
629
706
|
* object instead.
|
|
630
707
|
*/
|
|
631
708
|
localization: Localization;
|
|
@@ -648,13 +725,14 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
648
725
|
|
|
649
726
|
/**
|
|
650
727
|
* A note left by the customer to the merchant, either in their cart or during checkout.
|
|
728
|
+
*
|
|
729
|
+
* The value is `undefined` if the buyer hasn't entered a note. Use this to display or react to order-level instructions such as delivery preferences or gift messages.
|
|
651
730
|
*/
|
|
652
731
|
note: SubscribableSignalLike<string | undefined>;
|
|
653
732
|
|
|
654
733
|
/**
|
|
655
734
|
* The method used to query the Storefront GraphQL API with a prefetched token.
|
|
656
735
|
*
|
|
657
|
-
* Refer to [Storefront API access examples](https://shopify.dev/docs/api/checkout-ui-extensions/apis/storefront-api) for more information.
|
|
658
736
|
*/
|
|
659
737
|
query: <Data = unknown, Variables = Record<string, unknown>>(
|
|
660
738
|
query: string,
|
|
@@ -662,70 +740,74 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
662
740
|
) => Promise<{data?: Data; errors?: GraphQLError[]}>;
|
|
663
741
|
|
|
664
742
|
/**
|
|
665
|
-
*
|
|
743
|
+
* The payment options the buyer has currently selected. This updates as
|
|
744
|
+
* the buyer changes their payment method. The array can contain multiple
|
|
745
|
+
* entries when the buyer splits payment across methods (for example, a
|
|
746
|
+
* gift card and a credit card).
|
|
747
|
+
*
|
|
748
|
+
* Each option exposes `handle` and `type` only. Provider names, logos,
|
|
749
|
+
* fees, and installment terms aren't available.
|
|
666
750
|
*/
|
|
667
751
|
selectedPaymentOptions: SubscribableSignalLike<SelectedPaymentOption[]>;
|
|
668
752
|
|
|
669
753
|
/**
|
|
670
754
|
* The session token providing a set of claims as a signed JSON Web Token (JWT).
|
|
671
755
|
*
|
|
672
|
-
* The token has a TTL of
|
|
756
|
+
* The token has a TTL of five minutes.
|
|
673
757
|
*
|
|
674
|
-
* If the previous token expires, this value
|
|
758
|
+
* If the previous token expires, this value reflects a new session token with a new signature and expiry.
|
|
675
759
|
*
|
|
676
|
-
*
|
|
760
|
+
* Learn more about [session tokens](/docs/apps/build/authentication-authorization/session-tokens).
|
|
677
761
|
*/
|
|
678
762
|
sessionToken: SessionToken;
|
|
679
763
|
|
|
680
764
|
/**
|
|
681
765
|
* The settings matching the settings definition written in the
|
|
682
|
-
* [`shopify.extension.toml`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration) file.
|
|
766
|
+
* [`shopify.extension.toml`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/configuration) file.
|
|
683
767
|
*
|
|
684
|
-
* Refer to [settings examples](https://shopify.dev/docs/api/checkout-ui-extensions/apis/settings#examples) for more information.
|
|
768
|
+
* Refer to [settings examples](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/settings#examples) for more information.
|
|
685
769
|
*
|
|
686
|
-
* > Note: When an extension is being installed in the editor, the settings
|
|
687
|
-
* a merchant sets a value. In that case, this object
|
|
770
|
+
* > Note: When an extension is being installed in the editor, the settings are empty until
|
|
771
|
+
* a merchant sets a value. In that case, this object updates in real time as a merchant fills in the settings.
|
|
688
772
|
*/
|
|
689
773
|
settings: SubscribableSignalLike<ExtensionSettings>;
|
|
690
774
|
|
|
691
775
|
/**
|
|
692
776
|
* The proposed customer shipping address. During the information step, the address
|
|
693
777
|
* updates when the field is committed (on change) rather than every keystroke.
|
|
694
|
-
*
|
|
695
|
-
* subscribable value is undefined.
|
|
778
|
+
* The property is available only if the extension has access to protected customer
|
|
779
|
+
* data. When available, the subscribable value is `undefined` if delivery isn't required.
|
|
696
780
|
*
|
|
697
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
781
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
698
782
|
*/
|
|
699
783
|
shippingAddress?: SubscribableSignalLike<ShippingAddress | undefined>;
|
|
700
784
|
|
|
701
785
|
/**
|
|
702
786
|
* The proposed customer billing address. The address updates when the field is
|
|
703
|
-
* committed (on change) rather than every keystroke.
|
|
787
|
+
* committed (on change) rather than every keystroke. The property is available only
|
|
788
|
+
* if the extension has access to protected customer data. The subscribable value is
|
|
789
|
+
* `undefined` if the billing address hasn't been provided yet.
|
|
704
790
|
*
|
|
705
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
791
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
706
792
|
*/
|
|
707
793
|
billingAddress?: SubscribableSignalLike<MailingAddress | undefined>;
|
|
708
794
|
|
|
709
|
-
/**
|
|
795
|
+
/**
|
|
796
|
+
* The store where the checkout is taking place, including the shop name,
|
|
797
|
+
* storefront URL, `.myshopify.com` subdomain, and a globally-unique ID.
|
|
798
|
+
*/
|
|
710
799
|
shop: Shop;
|
|
711
800
|
|
|
712
801
|
/**
|
|
713
|
-
*
|
|
714
|
-
*
|
|
715
|
-
*
|
|
716
|
-
*
|
|
717
|
-
* > Caution: Data persistence isn't guaranteed and storage is reset when the customer starts a new checkout.
|
|
802
|
+
* Key-value storage that persists across page loads within the current checkout
|
|
803
|
+
* session. Data is shared across all activated targets associated with
|
|
804
|
+
* this extension.
|
|
718
805
|
*
|
|
719
|
-
*
|
|
720
|
-
*
|
|
806
|
+
* > Caution: Data persistence isn't guaranteed and storage is cleared when the
|
|
807
|
+
* buyer starts a new checkout.
|
|
721
808
|
*/
|
|
722
809
|
storage: Storage;
|
|
723
810
|
|
|
724
|
-
/**
|
|
725
|
-
* Methods to interact with the extension’s UI.
|
|
726
|
-
*/
|
|
727
|
-
ui: Ui;
|
|
728
|
-
|
|
729
811
|
/**
|
|
730
812
|
* The renderer version being used for the extension.
|
|
731
813
|
*
|
|
@@ -739,253 +821,252 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
739
821
|
customerPrivacy: SubscribableSignalLike<CustomerPrivacy>;
|
|
740
822
|
|
|
741
823
|
/**
|
|
742
|
-
*
|
|
824
|
+
* Enables setting and updating customer privacy consent settings and tracking consent metafields.
|
|
743
825
|
*
|
|
744
|
-
* > Note: Requires the [`
|
|
826
|
+
* > Note: Requires the [`collect_buyer_consent` capability](/docs/apps/build/customer-accounts/capabilities#collect-buyer-consent) to be set to `true`.
|
|
745
827
|
*
|
|
746
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
828
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
747
829
|
*/
|
|
748
830
|
applyTrackingConsentChange: ApplyTrackingConsentChangeType;
|
|
749
831
|
|
|
750
832
|
/**
|
|
751
|
-
* The
|
|
752
|
-
* For example, some countries require additional fields for customs information or tax identification numbers.
|
|
833
|
+
* Additional region-specific fields required during checkout, such as tax identification numbers (Brazil's CPF/CNPJ) or customs credentials. The property is available only if the extension has access to protected customer data. The array is empty if the current checkout doesn't require any localized fields.
|
|
753
834
|
*/
|
|
754
835
|
localizedFields?: SubscribableSignalLike<LocalizedField[]>;
|
|
755
836
|
}
|
|
756
837
|
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
/**
|
|
768
|
-
* Closes the overlay with the given ID.
|
|
769
|
-
*/
|
|
770
|
-
close(overlayId: string): void;
|
|
771
|
-
}
|
|
772
|
-
|
|
838
|
+
/**
|
|
839
|
+
* Authenticates requests between your extension and your app backend.
|
|
840
|
+
* Use session tokens to verify the identity of the buyer and the shop
|
|
841
|
+
* context when making server-side API calls. The token is a signed JWT
|
|
842
|
+
* that contains claims such as the customer ID, shop domain, and expiration.
|
|
843
|
+
*
|
|
844
|
+
* The `sub` claim in the decoded token is present only when the buyer is
|
|
845
|
+
* logged in and the app has permission to read customer accounts. Absent for
|
|
846
|
+
* anonymous buyers.
|
|
847
|
+
*/
|
|
773
848
|
export interface SessionToken {
|
|
774
849
|
/**
|
|
775
850
|
* Requests a session token that hasn't expired. You should call this method every
|
|
776
851
|
* time you need to make a request to your backend in order to get a valid token.
|
|
777
|
-
* This method
|
|
852
|
+
* This method returns cached tokens when possible, so you don't need to worry
|
|
778
853
|
* about storing these tokens yourself.
|
|
779
854
|
*/
|
|
780
855
|
get(): Promise<string>;
|
|
781
856
|
}
|
|
782
857
|
|
|
858
|
+
/**
|
|
859
|
+
* Information about the buyer who is completing the checkout.
|
|
860
|
+
*
|
|
861
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data). The `customer` and `purchasingCompany` properties require level 1 access. The `email` and `phone` properties require level 2 access.
|
|
862
|
+
*/
|
|
783
863
|
export interface BuyerIdentity {
|
|
784
864
|
/**
|
|
785
|
-
* The buyer's customer account. The value is undefined if the buyer isn
|
|
865
|
+
* The buyer's customer account, including their ID and whether they've accepted marketing. The value is `undefined` if the buyer isn't a
|
|
786
866
|
* known customer for this shop or if they haven't logged in yet.
|
|
787
867
|
*
|
|
788
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
868
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
789
869
|
*/
|
|
790
870
|
customer: SubscribableSignalLike<Customer | undefined>;
|
|
791
871
|
|
|
792
872
|
/**
|
|
793
|
-
* The email address
|
|
794
|
-
* The value is `undefined` if the app does not have access to customer data.
|
|
873
|
+
* The email address the buyer provided during checkout. The value is `undefined` if the app doesn't have access to customer data.
|
|
795
874
|
*
|
|
796
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
875
|
+
* {% 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).
|
|
797
876
|
*/
|
|
798
877
|
email: SubscribableSignalLike<string | undefined>;
|
|
799
878
|
|
|
800
879
|
/**
|
|
801
|
-
* The phone number
|
|
802
|
-
* The value is `undefined` if the app does not have access to customer data.
|
|
880
|
+
* The phone number the buyer provided during checkout. The value is `undefined` if no phone number was provided or the app doesn't have access to customer data.
|
|
803
881
|
*
|
|
804
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
882
|
+
* {% 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).
|
|
805
883
|
*/
|
|
806
884
|
phone: SubscribableSignalLike<string | undefined>;
|
|
807
885
|
|
|
808
886
|
/**
|
|
809
|
-
*
|
|
810
|
-
* This includes information that can be used to identify the company and the company location that the business
|
|
811
|
-
* customer belongs to.
|
|
887
|
+
* The company and company location that a B2B (business-to-business) customer is purchasing on behalf of. Use this to identify the business context of the order. The value is `undefined` if the buyer isn't a B2B customer.
|
|
812
888
|
*
|
|
813
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
889
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
814
890
|
*/
|
|
815
891
|
purchasingCompany: SubscribableSignalLike<PurchasingCompany | undefined>;
|
|
816
892
|
}
|
|
817
893
|
|
|
818
894
|
/**
|
|
819
|
-
* The
|
|
895
|
+
* The company and location that the [B2B](https://shopify.dev/docs/apps/build/b2b) customer is purchasing on behalf of. This is present only when the buyer is logged in as a business customer.
|
|
820
896
|
*/
|
|
821
897
|
export interface PurchasingCompany {
|
|
822
898
|
/**
|
|
823
|
-
*
|
|
899
|
+
* The company the B2B customer belongs to.
|
|
824
900
|
*
|
|
825
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
901
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
826
902
|
*/
|
|
827
903
|
company: Company;
|
|
828
904
|
/**
|
|
829
|
-
*
|
|
905
|
+
* The specific company location associated with this B2B purchase.
|
|
830
906
|
*
|
|
831
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
907
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
832
908
|
*/
|
|
833
909
|
location: CompanyLocation;
|
|
834
910
|
}
|
|
835
911
|
|
|
836
912
|
export interface Company {
|
|
837
913
|
/**
|
|
838
|
-
*
|
|
914
|
+
* A globally-unique identifier for the company in the format `gid://shopify/Company/<id>`.
|
|
839
915
|
*
|
|
840
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
916
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
917
|
+
*
|
|
918
|
+
* @example 'gid://shopify/Company/123'
|
|
841
919
|
*/
|
|
842
920
|
id: string;
|
|
843
921
|
/**
|
|
844
|
-
* The
|
|
922
|
+
* The company's display name.
|
|
845
923
|
*
|
|
846
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
924
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
847
925
|
*/
|
|
848
926
|
name: string;
|
|
849
927
|
/**
|
|
850
|
-
*
|
|
928
|
+
* A merchant-defined external identifier for the company. The value is `undefined` if the merchant hasn't set one.
|
|
851
929
|
*
|
|
852
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
930
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
853
931
|
*/
|
|
854
932
|
externalId?: string;
|
|
855
933
|
}
|
|
856
934
|
|
|
857
935
|
export interface CompanyLocation {
|
|
858
936
|
/**
|
|
859
|
-
*
|
|
937
|
+
* A globally-unique identifier for the company location in the format `gid://shopify/CompanyLocation/<id>`.
|
|
938
|
+
*
|
|
939
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
860
940
|
*
|
|
861
|
-
*
|
|
941
|
+
* @example 'gid://shopify/CompanyLocation/123'
|
|
862
942
|
*/
|
|
863
943
|
id: string;
|
|
864
944
|
/**
|
|
865
|
-
* The name of the company location.
|
|
945
|
+
* The display name of the company location.
|
|
866
946
|
*
|
|
867
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
947
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
868
948
|
*/
|
|
869
949
|
name: string;
|
|
870
950
|
/**
|
|
871
|
-
*
|
|
951
|
+
* A merchant-defined external identifier for the company location. The value is `undefined` if the merchant hasn't set one.
|
|
872
952
|
*
|
|
873
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
953
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
874
954
|
*/
|
|
875
955
|
externalId?: string;
|
|
876
956
|
}
|
|
877
957
|
|
|
878
958
|
export interface AppliedGiftCard {
|
|
879
959
|
/**
|
|
880
|
-
* The last four characters of the applied gift card's code.
|
|
960
|
+
* The last four characters of the applied gift card's code. The full code isn't exposed for security reasons. Use this value to display which card is applied.
|
|
881
961
|
*/
|
|
882
962
|
lastCharacters: string;
|
|
883
963
|
|
|
884
964
|
/**
|
|
885
|
-
* The amount of the applied gift card that
|
|
965
|
+
* The amount of the applied gift card that's used when the checkout is completed. This might be less than `balance` if the order total is lower than the card's remaining balance.
|
|
886
966
|
*/
|
|
887
967
|
amountUsed: Money;
|
|
888
968
|
|
|
889
969
|
/**
|
|
890
|
-
* The current balance of the applied gift card
|
|
970
|
+
* The current balance of the applied gift card before checkout completion. This reflects the full remaining value on the card, not just the amount being applied to this order.
|
|
891
971
|
*/
|
|
892
972
|
balance: Money;
|
|
893
973
|
}
|
|
894
974
|
|
|
975
|
+
/**
|
|
976
|
+
* Metadata about the merchant's store, including its name, storefront
|
|
977
|
+
* URL, `.myshopify.com` subdomain, and a globally-unique ID.
|
|
978
|
+
*/
|
|
895
979
|
export interface Shop {
|
|
896
980
|
/**
|
|
897
|
-
*
|
|
981
|
+
* A globally-unique identifier for the shop in the format `gid://shopify/Shop/<id>`.
|
|
982
|
+
*
|
|
898
983
|
* @example 'gid://shopify/Shop/123'
|
|
899
984
|
*/
|
|
900
985
|
id: string;
|
|
901
986
|
/**
|
|
902
|
-
* The name of the shop.
|
|
987
|
+
* The display name of the shop as configured by the merchant in Shopify admin.
|
|
903
988
|
*/
|
|
904
989
|
name: string;
|
|
905
990
|
/**
|
|
906
|
-
* The primary storefront URL.
|
|
907
|
-
*
|
|
908
|
-
* > Caution:
|
|
909
|
-
* > As of version `2024-04` this value will no longer have a trailing slash.
|
|
991
|
+
* The primary storefront URL for the shop, such as `'https://example.myshopify.com'`. Use this to build links back to the merchant's online store.
|
|
910
992
|
*/
|
|
911
993
|
storefrontUrl?: string;
|
|
912
994
|
/**
|
|
913
|
-
* The shop's myshopify.com domain.
|
|
995
|
+
* The shop's unique `.myshopify.com` subdomain, such as `'example.myshopify.com'`. This domain is permanent and doesn't change even if the merchant adds a custom domain.
|
|
914
996
|
*/
|
|
915
997
|
myshopifyDomain: string;
|
|
916
998
|
}
|
|
917
999
|
|
|
918
1000
|
export interface CartCost {
|
|
919
1001
|
/**
|
|
920
|
-
*
|
|
921
|
-
* step of checkout.
|
|
1002
|
+
* The sum of all line item prices at the current step of checkout, before shipping and taxes are applied. Use this value to display the base cost of the items the buyer purchased.
|
|
922
1003
|
*/
|
|
923
1004
|
subtotalAmount: SubscribableSignalLike<Money>;
|
|
924
1005
|
|
|
925
1006
|
/**
|
|
926
|
-
*
|
|
927
|
-
*
|
|
928
|
-
*
|
|
1007
|
+
* The total shipping cost after shipping discounts have been applied. The value is `undefined` if shipping hasn't been calculated yet, such as when the buyer is still on the information step.
|
|
1008
|
+
*
|
|
1009
|
+
* `undefined` until the buyer selects a shipping method (typically after the
|
|
1010
|
+
* information step).
|
|
929
1011
|
*/
|
|
930
1012
|
totalShippingAmount: SubscribableSignalLike<Money | undefined>;
|
|
931
1013
|
|
|
932
1014
|
/**
|
|
933
|
-
*
|
|
934
|
-
*
|
|
935
|
-
* undefined
|
|
1015
|
+
* The total tax the buyer can expect to pay, or the total tax already included in product and shipping prices (for tax-inclusive regions). The value is `undefined` if taxes haven't been calculated yet.
|
|
1016
|
+
*
|
|
1017
|
+
* `undefined` when taxes haven't been calculated or aren't available for the
|
|
1018
|
+
* buyer's region.
|
|
936
1019
|
*/
|
|
937
1020
|
totalTaxAmount: SubscribableSignalLike<Money | undefined>;
|
|
938
1021
|
|
|
939
1022
|
/**
|
|
940
|
-
*
|
|
941
|
-
* step of checkout. This value excludes amounts yet to be negotiated. For example,
|
|
942
|
-
* the information step might not have delivery costs calculated.
|
|
1023
|
+
* The minimum total at the current step of checkout. Costs not yet calculated, such as shipping on the information step, aren't included. Gift cards and store credits are excluded from this total.
|
|
943
1024
|
*/
|
|
944
1025
|
totalAmount: SubscribableSignalLike<Money>;
|
|
945
1026
|
}
|
|
946
1027
|
|
|
947
1028
|
export interface CartLine {
|
|
948
1029
|
/**
|
|
949
|
-
*
|
|
950
|
-
*
|
|
951
|
-
* ID before any call to `applyCartLinesChange` because you'll need the ID to
|
|
952
|
-
* create a `CartLineChange` object.
|
|
1030
|
+
* A unique identifier for the cart line in the format `gid://shopify/CartLine/<id>`. This ID isn't stable and can change after any cart operation, so avoid persisting it. Always look up the current ID before calling `applyCartLinesChange()`, because you'll need it to create a `CartLineChange` object.
|
|
1031
|
+
*
|
|
953
1032
|
* @example 'gid://shopify/CartLine/123'
|
|
954
1033
|
*/
|
|
955
1034
|
id: string;
|
|
956
1035
|
|
|
957
1036
|
/**
|
|
958
|
-
* The merchandise
|
|
1037
|
+
* The product variant or other merchandise associated with this line item. Use this to access product details such as the title, image, SKU, and selected options.
|
|
959
1038
|
*/
|
|
960
1039
|
merchandise: Merchandise;
|
|
961
1040
|
|
|
962
1041
|
/**
|
|
963
|
-
* The
|
|
1042
|
+
* The number of units of this merchandise that the buyer purchased.
|
|
964
1043
|
*/
|
|
965
1044
|
quantity: number;
|
|
966
1045
|
|
|
967
1046
|
/**
|
|
968
|
-
* The
|
|
1047
|
+
* The cost breakdown for this line item, including the total price after any line-level discounts have been applied.
|
|
969
1048
|
*/
|
|
970
1049
|
cost: CartLineCost;
|
|
971
1050
|
|
|
972
1051
|
/**
|
|
973
|
-
*
|
|
1052
|
+
* Custom key-value attributes attached to this cart line, such as gift messages or engraving text. Use `applyCartLinesChange()` to update these values.
|
|
974
1053
|
*/
|
|
975
1054
|
attributes: Attribute[];
|
|
976
1055
|
|
|
977
1056
|
/**
|
|
978
|
-
* Discounts applied to
|
|
1057
|
+
* Discounts applied to this cart line, including code-based, automatic, and custom discounts. Each allocation shows the discounted amount and how the discount was triggered.
|
|
979
1058
|
*/
|
|
980
1059
|
discountAllocations: CartDiscountAllocation[];
|
|
981
1060
|
|
|
982
1061
|
/**
|
|
983
|
-
*
|
|
1062
|
+
* The individual components of a [bundle](https://shopify.dev/docs/apps/build/product-merchandising/bundles) line item. Each component represents a separate product within the bundle. Returns an empty array if the line item isn't a bundle.
|
|
984
1063
|
*/
|
|
985
1064
|
lineComponents: CartLineComponentType[];
|
|
986
1065
|
|
|
987
1066
|
/**
|
|
988
|
-
* The
|
|
1067
|
+
* The parent line item that this line belongs to, or `null` if this is a
|
|
1068
|
+
* top-level line item. Used to identify lines added as children of a bundle
|
|
1069
|
+
* or other grouped product.
|
|
989
1070
|
*/
|
|
990
1071
|
parentRelationship: CartLineParentRelationship | null;
|
|
991
1072
|
}
|
|
@@ -996,8 +1077,8 @@ export interface CartLineParentRelationship {
|
|
|
996
1077
|
*/
|
|
997
1078
|
parent: {
|
|
998
1079
|
/**
|
|
999
|
-
* These line item IDs
|
|
1000
|
-
* any operations on the line items.
|
|
1080
|
+
* These line item IDs aren't stable at the moment, and they might change after
|
|
1081
|
+
* any operations on the line items. Always look up an updated
|
|
1001
1082
|
* ID before any call to `applyCartLinesChange` because you'll need the ID to
|
|
1002
1083
|
* create a `CartLineChange` object.
|
|
1003
1084
|
* @example 'gid://shopify/CartLine/123'
|
|
@@ -1008,35 +1089,39 @@ export interface CartLineParentRelationship {
|
|
|
1008
1089
|
|
|
1009
1090
|
type CartLineComponentType = CartBundleLineComponent;
|
|
1010
1091
|
|
|
1092
|
+
/**
|
|
1093
|
+
* An individual component within a bundled cart line. Each `CartLine` that represents a bundle has a `lineComponents` array containing these components.
|
|
1094
|
+
*/
|
|
1011
1095
|
export interface CartBundleLineComponent {
|
|
1096
|
+
/**
|
|
1097
|
+
* Identifies this as a bundle line component. This is currently the only component type.
|
|
1098
|
+
*/
|
|
1012
1099
|
type: 'bundle';
|
|
1013
1100
|
|
|
1014
1101
|
/**
|
|
1015
|
-
* A unique identifier for the bundle line
|
|
1016
|
-
*
|
|
1017
|
-
* This ID is not stable. If an operation updates the line items in any way, all IDs could change.
|
|
1102
|
+
* A unique identifier for this component within the bundle, in the format `gid://shopify/CartLineComponent/<id>`. This ID isn't stable and might change after any operation that updates the line items.
|
|
1018
1103
|
*
|
|
1019
1104
|
* @example 'gid://shopify/CartLineComponent/123'
|
|
1020
1105
|
*/
|
|
1021
1106
|
id: string;
|
|
1022
1107
|
|
|
1023
1108
|
/**
|
|
1024
|
-
* The
|
|
1109
|
+
* The product variant included in this bundle component. Use this to display product details for individual items within a bundle.
|
|
1025
1110
|
*/
|
|
1026
1111
|
merchandise: Merchandise;
|
|
1027
1112
|
|
|
1028
1113
|
/**
|
|
1029
|
-
* The
|
|
1114
|
+
* The number of units of this component included in the bundle.
|
|
1030
1115
|
*/
|
|
1031
1116
|
quantity: number;
|
|
1032
1117
|
|
|
1033
1118
|
/**
|
|
1034
|
-
* The cost
|
|
1119
|
+
* The cost breakdown for this bundle component, including the total amount after any per-item discounts.
|
|
1035
1120
|
*/
|
|
1036
1121
|
cost: CartLineCost;
|
|
1037
1122
|
|
|
1038
1123
|
/**
|
|
1039
|
-
*
|
|
1124
|
+
* Custom key-value pairs attached to this bundle component, such as personalization options specific to this item within the bundle.
|
|
1040
1125
|
*
|
|
1041
1126
|
* @example [{key: 'engraving', value: 'hello world'}]
|
|
1042
1127
|
*/
|
|
@@ -1045,19 +1130,19 @@ export interface CartBundleLineComponent {
|
|
|
1045
1130
|
|
|
1046
1131
|
export interface CartLineCost {
|
|
1047
1132
|
/**
|
|
1048
|
-
* The total
|
|
1049
|
-
* cart line.
|
|
1133
|
+
* The total price the buyer pays for this line item after all line-level discounts have been applied, but before order-level discounts, taxes, and shipping.
|
|
1050
1134
|
*/
|
|
1051
1135
|
totalAmount: Money;
|
|
1052
1136
|
}
|
|
1053
1137
|
|
|
1054
1138
|
export interface Money {
|
|
1055
1139
|
/**
|
|
1056
|
-
* The
|
|
1140
|
+
* The decimal amount of the price. For example, `29.99` represents twenty-nine dollars and ninety-nine cents.
|
|
1057
1141
|
*/
|
|
1058
1142
|
amount: number;
|
|
1059
1143
|
/**
|
|
1060
|
-
* The
|
|
1144
|
+
* The three-letter currency code in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format.
|
|
1145
|
+
*
|
|
1061
1146
|
* @example 'CAD' for Canadian dollar
|
|
1062
1147
|
*/
|
|
1063
1148
|
currencyCode: CurrencyCode;
|
|
@@ -1067,99 +1152,110 @@ export type Merchandise = ProductVariant;
|
|
|
1067
1152
|
|
|
1068
1153
|
export interface BaseMerchandise {
|
|
1069
1154
|
/**
|
|
1070
|
-
*
|
|
1155
|
+
* A globally unique identifier for the merchandise.
|
|
1156
|
+
*
|
|
1157
|
+
* @example 'gid://shopify/ProductVariant/123'
|
|
1071
1158
|
*/
|
|
1072
1159
|
id: string;
|
|
1073
1160
|
}
|
|
1074
1161
|
|
|
1075
1162
|
export interface ProductVariant extends BaseMerchandise {
|
|
1163
|
+
/**
|
|
1164
|
+
* Identifies the merchandise as a product variant. This is currently the only merchandise type in checkout.
|
|
1165
|
+
*/
|
|
1076
1166
|
type: 'variant';
|
|
1077
1167
|
|
|
1078
1168
|
/**
|
|
1079
|
-
* A globally-unique identifier
|
|
1169
|
+
* A globally-unique identifier for the product variant in the format `gid://shopify/ProductVariant/<id>`.
|
|
1170
|
+
*
|
|
1080
1171
|
* @example 'gid://shopify/ProductVariant/123'
|
|
1081
1172
|
*/
|
|
1082
1173
|
id: string;
|
|
1083
1174
|
|
|
1084
1175
|
/**
|
|
1085
|
-
* The product variant
|
|
1176
|
+
* The display title of the product variant, such as "Small" or "Red / Large". This is the variant-specific label, not the parent product title.
|
|
1086
1177
|
*/
|
|
1087
1178
|
title: string;
|
|
1088
1179
|
|
|
1089
1180
|
/**
|
|
1090
|
-
*
|
|
1181
|
+
* A secondary description for the variant that provides additional context, such as a color or size combination. The value is `undefined` if no subtitle is available.
|
|
1091
1182
|
*/
|
|
1092
1183
|
subtitle?: string;
|
|
1093
1184
|
|
|
1094
1185
|
/**
|
|
1095
|
-
*
|
|
1096
|
-
* image if no image is available.
|
|
1186
|
+
* The image associated with the product variant. Falls back to the product image if the variant doesn't have its own. The value is `undefined` if neither the variant nor the product has an image.
|
|
1097
1187
|
*/
|
|
1098
1188
|
image?: ImageDetails;
|
|
1099
1189
|
|
|
1100
1190
|
/**
|
|
1101
|
-
*
|
|
1191
|
+
* The product options applied to this variant, such as size, color, or material. Each entry contains the option name and the selected value.
|
|
1102
1192
|
*/
|
|
1103
1193
|
selectedOptions: SelectedOption[];
|
|
1104
1194
|
|
|
1105
1195
|
/**
|
|
1106
|
-
* The product
|
|
1196
|
+
* The parent product that this variant belongs to. Use this to access the product's ID, vendor, and type.
|
|
1107
1197
|
*/
|
|
1108
1198
|
product: Product;
|
|
1109
1199
|
|
|
1110
1200
|
/**
|
|
1111
|
-
* Whether
|
|
1201
|
+
* Whether this product variant requires physical shipping. When `true`, the buyer must provide a shipping address. Returns `false` for digital products, gift cards, and services.
|
|
1112
1202
|
*/
|
|
1113
1203
|
requiresShipping: boolean;
|
|
1114
1204
|
|
|
1115
1205
|
/**
|
|
1116
|
-
* The selling plan associated with the
|
|
1206
|
+
* The [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions) associated with this variant, such as a subscription or pre-order plan. The value is `undefined` if the item isn't being purchased through a selling plan.
|
|
1117
1207
|
*/
|
|
1118
1208
|
sellingPlan?: SellingPlan;
|
|
1119
1209
|
|
|
1120
1210
|
/**
|
|
1121
|
-
* The
|
|
1211
|
+
* The stock keeping unit (SKU) assigned to this variant by the merchant, used for inventory tracking. The value is `undefined` if no SKU has been set.
|
|
1122
1212
|
*/
|
|
1123
1213
|
sku?: string;
|
|
1124
1214
|
}
|
|
1125
1215
|
|
|
1126
1216
|
export interface Product {
|
|
1127
1217
|
/**
|
|
1128
|
-
* A globally-unique identifier
|
|
1218
|
+
* A globally-unique identifier for the product in the format `gid://shopify/Product/<id>`.
|
|
1219
|
+
*
|
|
1220
|
+
* @example 'gid://shopify/Product/123'
|
|
1129
1221
|
*/
|
|
1130
1222
|
id: string;
|
|
1131
1223
|
|
|
1132
1224
|
/**
|
|
1133
|
-
* The product
|
|
1225
|
+
* The name of the product's vendor or manufacturer, as set by the merchant in Shopify admin.
|
|
1134
1226
|
*/
|
|
1135
1227
|
vendor: string;
|
|
1136
1228
|
|
|
1137
1229
|
/**
|
|
1138
|
-
* A categorization
|
|
1230
|
+
* A merchant-defined categorization for the product, such as "Accessories" or "Clothing". Commonly used for filtering and organizing products in a storefront.
|
|
1139
1231
|
*/
|
|
1140
1232
|
productType: string;
|
|
1141
1233
|
}
|
|
1142
1234
|
|
|
1143
1235
|
export interface ImageDetails {
|
|
1144
1236
|
/**
|
|
1145
|
-
* The
|
|
1237
|
+
* The fully-qualified URL of the image. Use this to render the product or variant image in your extension.
|
|
1146
1238
|
*/
|
|
1147
1239
|
url: string;
|
|
1148
1240
|
|
|
1149
1241
|
/**
|
|
1150
|
-
* The alternative text for the image.
|
|
1242
|
+
* The alternative text for the image, used for accessibility. The value is `undefined` if the merchant hasn't provided alt text.
|
|
1151
1243
|
*/
|
|
1152
1244
|
altText?: string;
|
|
1153
1245
|
}
|
|
1154
1246
|
|
|
1155
1247
|
export interface SelectedOption {
|
|
1156
1248
|
/**
|
|
1157
|
-
* The name of the
|
|
1249
|
+
* The name of the product option, such as "Color" or "Size".
|
|
1250
|
+
*
|
|
1251
|
+
* @example 'Size'
|
|
1158
1252
|
*/
|
|
1159
1253
|
name: string;
|
|
1160
1254
|
|
|
1161
1255
|
/**
|
|
1162
|
-
* The value
|
|
1256
|
+
* The selected value for the product option, such as "Red" or "Large".
|
|
1257
|
+
*
|
|
1258
|
+
* @example 'Large'
|
|
1163
1259
|
*/
|
|
1164
1260
|
value: string;
|
|
1165
1261
|
}
|
|
@@ -1171,7 +1267,7 @@ export interface PaymentOption {
|
|
|
1171
1267
|
/**
|
|
1172
1268
|
* The type of the payment option.
|
|
1173
1269
|
*
|
|
1174
|
-
* Shops can be configured to support many different payment options. Some options are only
|
|
1270
|
+
* Shops can be configured to support many different payment options. Some options are available only to buyers in specific regions.
|
|
1175
1271
|
*
|
|
1176
1272
|
* | Type | Description |
|
|
1177
1273
|
* |---|---|
|
|
@@ -1181,10 +1277,10 @@ export interface PaymentOption {
|
|
|
1181
1277
|
* | `manualPayment` | A manual payment option such as an in-person retail transaction. |
|
|
1182
1278
|
* | `offsite` | A payment processed outside of Shopify's checkout, excluding integrated wallets. |
|
|
1183
1279
|
* | `other` | Another type of payment not defined here. |
|
|
1184
|
-
* | `paymentOnDelivery` | A payment
|
|
1280
|
+
* | `paymentOnDelivery` | A payment collected on delivery. |
|
|
1185
1281
|
* | `redeemable` | A redeemable payment option such as a gift card or store credit. |
|
|
1186
|
-
* | `wallet` | An integrated wallet such as PayPal, Google Pay, Apple Pay
|
|
1187
|
-
* | `customOnsite` | A custom payment option that
|
|
1282
|
+
* | `wallet` | An integrated wallet such as PayPal, Google Pay, or Apple Pay. |
|
|
1283
|
+
* | `customOnsite` | A custom payment option that's processed through a checkout extension with a payments app. |
|
|
1188
1284
|
*/
|
|
1189
1285
|
type:
|
|
1190
1286
|
| 'creditCard'
|
|
@@ -1199,21 +1295,29 @@ export interface PaymentOption {
|
|
|
1199
1295
|
| 'customOnsite';
|
|
1200
1296
|
|
|
1201
1297
|
/**
|
|
1202
|
-
*
|
|
1203
|
-
*
|
|
1204
|
-
* This is not a globally unique identifier. It may be an identifier specific to the given checkout session or the current shop.
|
|
1298
|
+
* A session-scoped identifier for this payment option. This handle isn't globally unique; it's specific to the current checkout session or the shop.
|
|
1205
1299
|
*/
|
|
1206
1300
|
handle: string;
|
|
1207
1301
|
}
|
|
1208
1302
|
|
|
1303
|
+
/**
|
|
1304
|
+
* A payment option that the buyer has actively selected. This is the same shape as `PaymentOption` and appears in `selectedPaymentOptions`.
|
|
1305
|
+
*/
|
|
1209
1306
|
export type SelectedPaymentOption = PaymentOption;
|
|
1210
1307
|
|
|
1211
1308
|
export interface CartDiscountCode {
|
|
1212
1309
|
/**
|
|
1213
|
-
* The code
|
|
1310
|
+
* The discount code string entered by the buyer during checkout or applied programmatically, such as `"SAVE10"` or `"FREESHIP"`. Use this to display which discount codes were applied.
|
|
1214
1311
|
*/
|
|
1215
1312
|
code: string;
|
|
1216
1313
|
}
|
|
1314
|
+
/**
|
|
1315
|
+
* A discount allocation applied to the cart. Use the `type` property to determine how the discount was triggered:
|
|
1316
|
+
*
|
|
1317
|
+
* - `CartCodeDiscountAllocation` (`type: 'code'`): Triggered by a discount code the buyer entered.
|
|
1318
|
+
* - `CartAutomaticDiscountAllocation` (`type: 'automatic'`): Applied automatically based on merchant-configured rules.
|
|
1319
|
+
* - `CartCustomDiscountAllocation` (`type: 'custom'`): Applied by a [Shopify Function](https://shopify.dev/docs/api/functions/latest/discount).
|
|
1320
|
+
*/
|
|
1217
1321
|
export type CartDiscountAllocation =
|
|
1218
1322
|
| CartCodeDiscountAllocation
|
|
1219
1323
|
| CartAutomaticDiscountAllocation
|
|
@@ -1221,19 +1325,19 @@ export type CartDiscountAllocation =
|
|
|
1221
1325
|
|
|
1222
1326
|
export interface CartDiscountAllocationBase {
|
|
1223
1327
|
/**
|
|
1224
|
-
* The
|
|
1328
|
+
* The monetary value that was deducted from the line item or order total by this discount allocation.
|
|
1225
1329
|
*/
|
|
1226
1330
|
discountedAmount: Money;
|
|
1227
1331
|
}
|
|
1228
1332
|
|
|
1229
1333
|
export interface CartCodeDiscountAllocation extends CartDiscountAllocationBase {
|
|
1230
1334
|
/**
|
|
1231
|
-
* The code
|
|
1335
|
+
* The discount code string that the buyer entered during checkout, such as `"SAVE10"` or `"FREESHIP"`.
|
|
1232
1336
|
*/
|
|
1233
1337
|
code: string;
|
|
1234
1338
|
|
|
1235
1339
|
/**
|
|
1236
|
-
*
|
|
1340
|
+
* Identifies this as a code-based discount, triggered by a discount code the buyer entered at checkout.
|
|
1237
1341
|
*/
|
|
1238
1342
|
type: 'code';
|
|
1239
1343
|
}
|
|
@@ -1241,12 +1345,12 @@ export interface CartCodeDiscountAllocation extends CartDiscountAllocationBase {
|
|
|
1241
1345
|
export interface CartAutomaticDiscountAllocation
|
|
1242
1346
|
extends CartDiscountAllocationBase {
|
|
1243
1347
|
/**
|
|
1244
|
-
* The title of the automatic discount
|
|
1348
|
+
* The merchant-defined title of the automatic discount as displayed to the buyer, such as "Summer Sale 10% Off".
|
|
1245
1349
|
*/
|
|
1246
1350
|
title: string;
|
|
1247
1351
|
|
|
1248
1352
|
/**
|
|
1249
|
-
*
|
|
1353
|
+
* Identifies this as an automatic discount, applied based on merchant-configured rules without a code.
|
|
1250
1354
|
*/
|
|
1251
1355
|
type: 'automatic';
|
|
1252
1356
|
}
|
|
@@ -1254,12 +1358,12 @@ export interface CartAutomaticDiscountAllocation
|
|
|
1254
1358
|
export interface CartCustomDiscountAllocation
|
|
1255
1359
|
extends CartDiscountAllocationBase {
|
|
1256
1360
|
/**
|
|
1257
|
-
* The title of the custom discount
|
|
1361
|
+
* The title of the custom discount, typically applied by a [Shopify Function](https://shopify.dev/docs/api/functions/latest/discount).
|
|
1258
1362
|
*/
|
|
1259
1363
|
title: string;
|
|
1260
1364
|
|
|
1261
1365
|
/**
|
|
1262
|
-
*
|
|
1366
|
+
* Identifies this as a custom discount applied by a [Shopify Function](https://shopify.dev/docs/api/functions/latest/discount).
|
|
1263
1367
|
*/
|
|
1264
1368
|
type: 'custom';
|
|
1265
1369
|
}
|
|
@@ -1276,7 +1380,7 @@ interface InterceptorResultAllow {
|
|
|
1276
1380
|
interface InterceptorResultBlock {
|
|
1277
1381
|
/**
|
|
1278
1382
|
* Indicates that some part of the checkout UI intercepted and prevented
|
|
1279
|
-
* the buyer
|
|
1383
|
+
* the buyer's progress. The buyer typically needs to take some action
|
|
1280
1384
|
* to resolve this issue and to move on to the next step.
|
|
1281
1385
|
*/
|
|
1282
1386
|
behavior: 'block';
|
|
@@ -1288,7 +1392,7 @@ export type InterceptorRequest =
|
|
|
1288
1392
|
|
|
1289
1393
|
interface InterceptorRequestAllow {
|
|
1290
1394
|
/**
|
|
1291
|
-
* Indicates that the interceptor
|
|
1395
|
+
* Indicates that the interceptor allows the buyer's journey to continue.
|
|
1292
1396
|
*/
|
|
1293
1397
|
behavior: 'allow';
|
|
1294
1398
|
|
|
@@ -1296,6 +1400,11 @@ interface InterceptorRequestAllow {
|
|
|
1296
1400
|
* This callback is called when all interceptors finish. We recommend
|
|
1297
1401
|
* setting errors or reasons for blocking at this stage, so that all the errors in
|
|
1298
1402
|
* the UI show up at once.
|
|
1403
|
+
*
|
|
1404
|
+
* Runs after all intercept results are collected. Use it for local state
|
|
1405
|
+
* updates such as setting an error flag. By the time it runs, the navigation
|
|
1406
|
+
* decision is final, so blocking logic belongs in the intercept handler
|
|
1407
|
+
* itself, not here.
|
|
1299
1408
|
* @param result InterceptorResult with behavior as either 'allow' or 'block'
|
|
1300
1409
|
*/
|
|
1301
1410
|
perform?(result: InterceptorResult): void | Promise<void>;
|
|
@@ -1303,13 +1412,13 @@ interface InterceptorRequestAllow {
|
|
|
1303
1412
|
// The reason is used for tracing and debugging purposes.
|
|
1304
1413
|
interface InterceptorRequestBlock {
|
|
1305
1414
|
/**
|
|
1306
|
-
* Indicates that the interceptor
|
|
1415
|
+
* Indicates that the interceptor blocks the buyer's journey from continuing.
|
|
1307
1416
|
*/
|
|
1308
1417
|
behavior: 'block';
|
|
1309
1418
|
|
|
1310
1419
|
/**
|
|
1311
1420
|
* The reason for blocking the interceptor request. This value isn't presented to
|
|
1312
|
-
* the buyer, so it doesn't need to be localized. The value is used only for Shopify
|
|
1421
|
+
* the buyer, so it doesn't need to be localized. The value is used only for Shopify's
|
|
1313
1422
|
* own internal debugging and metrics.
|
|
1314
1423
|
*/
|
|
1315
1424
|
reason: string;
|
|
@@ -1323,6 +1432,11 @@ interface InterceptorRequestBlock {
|
|
|
1323
1432
|
* This callback is called when all interceptors finish. We recommend
|
|
1324
1433
|
* setting errors or reasons for blocking at this stage, so that all the errors in
|
|
1325
1434
|
* the UI show up at once.
|
|
1435
|
+
*
|
|
1436
|
+
* Runs after all intercept results are collected. Use it for local state
|
|
1437
|
+
* updates such as setting an error flag. By the time it runs, the navigation
|
|
1438
|
+
* decision is final, so blocking logic belongs in the intercept handler
|
|
1439
|
+
* itself, not here.
|
|
1326
1440
|
* @param result InterceptorResult with behavior as either 'allow' or 'block'
|
|
1327
1441
|
*/
|
|
1328
1442
|
perform?(result: InterceptorResult): void | Promise<void>;
|
|
@@ -1330,8 +1444,7 @@ interface InterceptorRequestBlock {
|
|
|
1330
1444
|
|
|
1331
1445
|
export interface InterceptorProps {
|
|
1332
1446
|
/**
|
|
1333
|
-
* Whether the interceptor has the capability
|
|
1334
|
-
* checkout. This ability might be granted by a merchant in differing checkout contexts.
|
|
1447
|
+
* Whether the interceptor can block the buyer's progress through checkout. When `true`, the merchant has granted your extension the `block_progress` capability. When `false`, you can still validate but can't prevent the buyer from continuing.
|
|
1335
1448
|
*/
|
|
1336
1449
|
canBlockProgress: boolean;
|
|
1337
1450
|
}
|
|
@@ -1339,9 +1452,9 @@ export interface InterceptorProps {
|
|
|
1339
1452
|
/**
|
|
1340
1453
|
* A function for intercepting and preventing navigation on checkout. You can block
|
|
1341
1454
|
* navigation by returning an object with
|
|
1342
|
-
* `{behavior: 'block', reason:
|
|
1455
|
+
* `{behavior: 'block', reason: 'your reason here', errors?: ValidationError[]}`.
|
|
1343
1456
|
* If you do, then you're expected to also update some part of your UI to reflect the reason why navigation
|
|
1344
|
-
* was blocked, either by targeting checkout UI fields, passing errors to the page level or rendering the errors in your extension.
|
|
1457
|
+
* was blocked, either by targeting checkout UI fields, passing errors to the page level, or rendering the errors in your extension.
|
|
1345
1458
|
*/
|
|
1346
1459
|
export type Interceptor = (
|
|
1347
1460
|
interceptorProps: InterceptorProps,
|
|
@@ -1350,57 +1463,57 @@ export type Interceptor = (
|
|
|
1350
1463
|
/**
|
|
1351
1464
|
* Information about a customer who has previously purchased from this shop.
|
|
1352
1465
|
*
|
|
1353
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
1466
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
1354
1467
|
*/
|
|
1355
1468
|
export interface Customer {
|
|
1356
1469
|
/**
|
|
1357
|
-
* Customer
|
|
1470
|
+
* An identifier for the customer in the format `gid://shopify/Customer/<id>`. This value is unique per shop.
|
|
1358
1471
|
*
|
|
1359
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
1472
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
1360
1473
|
*
|
|
1361
1474
|
* @example 'gid://shopify/Customer/123'
|
|
1362
1475
|
*/
|
|
1363
1476
|
id: string;
|
|
1364
1477
|
/**
|
|
1365
|
-
* The email
|
|
1478
|
+
* The email address associated with the customer's account. The value is `undefined` if the app doesn't have the required access level.
|
|
1366
1479
|
*
|
|
1367
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
1480
|
+
* {% 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).
|
|
1368
1481
|
*/
|
|
1369
1482
|
email?: string;
|
|
1370
1483
|
/**
|
|
1371
|
-
* The phone number
|
|
1484
|
+
* The phone number associated with the customer's account. The value is `undefined` if no phone number is on file or the app doesn't have the required access level.
|
|
1372
1485
|
*
|
|
1373
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
1486
|
+
* {% 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).
|
|
1374
1487
|
*/
|
|
1375
1488
|
phone?: string;
|
|
1376
1489
|
/**
|
|
1377
|
-
* The full name of the
|
|
1490
|
+
* The customer's full name, typically a combination of first and last name. The value is `undefined` if the app doesn't have the required access level.
|
|
1378
1491
|
*
|
|
1379
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
1492
|
+
* {% 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).
|
|
1380
1493
|
*/
|
|
1381
1494
|
fullName?: string;
|
|
1382
1495
|
/**
|
|
1383
|
-
* The first name
|
|
1496
|
+
* The customer's first name. The value is `undefined` if the app doesn't have the required access level.
|
|
1384
1497
|
*
|
|
1385
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
1498
|
+
* {% 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).
|
|
1386
1499
|
*/
|
|
1387
1500
|
firstName?: string;
|
|
1388
1501
|
/**
|
|
1389
|
-
* The last name
|
|
1502
|
+
* The customer's last name. The value is `undefined` if the app doesn't have the required access level.
|
|
1390
1503
|
*
|
|
1391
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
1504
|
+
* {% 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).
|
|
1392
1505
|
*/
|
|
1393
1506
|
lastName?: string;
|
|
1394
1507
|
/**
|
|
1395
|
-
* The image
|
|
1508
|
+
* The customer's profile image, such as a Gravatar avatar. Use this to personalize the extension UI for the logged-in buyer.
|
|
1396
1509
|
*
|
|
1397
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
1510
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
1398
1511
|
*/
|
|
1399
1512
|
image: ImageDetails;
|
|
1400
1513
|
/**
|
|
1401
|
-
*
|
|
1514
|
+
* Whether the customer has opted in to receiving marketing communications from the merchant, such as email campaigns and promotional offers.
|
|
1402
1515
|
*
|
|
1403
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
1516
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
1404
1517
|
*
|
|
1405
1518
|
* > Caution: This field is deprecated and will be removed in a future version. Use `acceptsEmailMarketing` or `acceptsSmsMarketing` instead.
|
|
1406
1519
|
*
|
|
@@ -1408,29 +1521,29 @@ export interface Customer {
|
|
|
1408
1521
|
*/
|
|
1409
1522
|
acceptsMarketing: boolean;
|
|
1410
1523
|
/**
|
|
1411
|
-
*
|
|
1524
|
+
* Whether the customer has opted in to email marketing.
|
|
1412
1525
|
*
|
|
1413
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
1526
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
1414
1527
|
*/
|
|
1415
1528
|
acceptsEmailMarketing: boolean;
|
|
1416
1529
|
/**
|
|
1417
|
-
*
|
|
1530
|
+
* Whether the customer has opted in to SMS marketing.
|
|
1418
1531
|
*
|
|
1419
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
1532
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
1420
1533
|
*/
|
|
1421
1534
|
acceptsSmsMarketing: boolean;
|
|
1422
1535
|
/**
|
|
1423
|
-
* The
|
|
1536
|
+
* The store credit accounts owned by this customer that can be used as payment during checkout. Each account has a balance representing available store credit.
|
|
1424
1537
|
*
|
|
1425
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
1538
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
1426
1539
|
*
|
|
1427
1540
|
* @private
|
|
1428
1541
|
*/
|
|
1429
1542
|
storeCreditAccounts: StoreCreditAccount[];
|
|
1430
1543
|
/**
|
|
1431
|
-
* The number of
|
|
1544
|
+
* The number of orders the customer has previously placed with this shop.
|
|
1432
1545
|
*
|
|
1433
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
1546
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
1434
1547
|
*/
|
|
1435
1548
|
ordersCount: number;
|
|
1436
1549
|
}
|
|
@@ -1440,15 +1553,18 @@ export interface Customer {
|
|
|
1440
1553
|
*/
|
|
1441
1554
|
export interface CheckoutSettings {
|
|
1442
1555
|
/**
|
|
1443
|
-
* The type of order
|
|
1556
|
+
* The type of order created when the buyer completes checkout.
|
|
1557
|
+
*
|
|
1558
|
+
* - `'DRAFT_ORDER'`: The checkout creates a draft order that the merchant must manually confirm before fulfillment. Common for B2B checkouts with deferred payment terms.
|
|
1559
|
+
* - `'ORDER'`: The checkout creates a confirmed order immediately upon completion.
|
|
1444
1560
|
*/
|
|
1445
1561
|
orderSubmission: 'DRAFT_ORDER' | 'ORDER';
|
|
1446
1562
|
/**
|
|
1447
|
-
*
|
|
1563
|
+
* The payment terms configured by the merchant for B2B orders, such as net-30 or net-60. The value is `undefined` if no payment terms are configured.
|
|
1448
1564
|
*/
|
|
1449
1565
|
paymentTermsTemplate?: PaymentTermsTemplate;
|
|
1450
1566
|
/**
|
|
1451
|
-
* Settings
|
|
1567
|
+
* Settings that control how the shipping address behaves during checkout, such as whether the buyer can edit the address.
|
|
1452
1568
|
*/
|
|
1453
1569
|
shippingAddress: ShippingAddressSettings;
|
|
1454
1570
|
}
|
|
@@ -1458,45 +1574,47 @@ export interface CheckoutSettings {
|
|
|
1458
1574
|
*/
|
|
1459
1575
|
export interface ShippingAddressSettings {
|
|
1460
1576
|
/**
|
|
1461
|
-
*
|
|
1577
|
+
* Whether the buyer is allowed to edit the shipping address during checkout. When `false`, the shipping address is locked and can't be changed, which is common for B2B orders with a predefined ship-to address.
|
|
1462
1578
|
*/
|
|
1463
1579
|
isEditable: boolean;
|
|
1464
1580
|
}
|
|
1465
1581
|
|
|
1466
1582
|
/**
|
|
1467
|
-
*
|
|
1583
|
+
* A payment terms template configured by the merchant, defining when payment is due for B2B orders. Common examples include "Net 30" (due in 30 days) or "Due on receipt".
|
|
1468
1584
|
*/
|
|
1469
1585
|
export interface PaymentTermsTemplate {
|
|
1470
1586
|
/**
|
|
1471
|
-
* A globally-unique
|
|
1587
|
+
* A globally-unique identifier for the payment terms template in the format `gid://shopify/PaymentTermsTemplate/<id>`.
|
|
1588
|
+
*
|
|
1472
1589
|
* @example 'gid://shopify/PaymentTermsTemplate/1'
|
|
1473
1590
|
*/
|
|
1474
1591
|
id: string;
|
|
1475
1592
|
/**
|
|
1476
|
-
* The name of the payment terms translated to the buyer's current language
|
|
1593
|
+
* The name of the payment terms translated to the buyer's current language, such as "Net 30" or "Due on receipt".
|
|
1477
1594
|
*/
|
|
1478
1595
|
name: string;
|
|
1479
1596
|
/**
|
|
1480
|
-
* The due date for
|
|
1597
|
+
* The due date for payment in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:mm:ss.sssZ`). The value is `undefined` if the payment terms don't have a fixed due date.
|
|
1481
1598
|
*/
|
|
1482
1599
|
dueDate?: string;
|
|
1483
1600
|
/**
|
|
1484
|
-
* The number of days
|
|
1601
|
+
* The number of days the buyer has to pay after the order is placed, such as `30` for "Net 30" terms. The value is `undefined` if the payment terms aren't net-based.
|
|
1485
1602
|
*/
|
|
1486
1603
|
dueInDays?: number;
|
|
1487
1604
|
}
|
|
1488
1605
|
|
|
1489
1606
|
/**
|
|
1490
|
-
*
|
|
1607
|
+
* A store credit account owned by the customer. Store credit is a form of payment that merchants can issue to customers for returns, refunds, or promotional purposes.
|
|
1491
1608
|
*/
|
|
1492
1609
|
export interface StoreCreditAccount {
|
|
1493
1610
|
/**
|
|
1494
|
-
* A globally-unique identifier
|
|
1611
|
+
* A globally-unique identifier for the store credit account in the format `gid://shopify/StoreCreditAccount/<id>`.
|
|
1612
|
+
*
|
|
1495
1613
|
* @example 'gid://shopify/StoreCreditAccount/1'
|
|
1496
1614
|
*/
|
|
1497
1615
|
id: string;
|
|
1498
1616
|
/**
|
|
1499
|
-
* The
|
|
1617
|
+
* The remaining balance available in this store credit account. This reflects the amount that can still be applied toward purchases.
|
|
1500
1618
|
*/
|
|
1501
1619
|
balance: Money;
|
|
1502
1620
|
}
|
|
@@ -1509,14 +1627,24 @@ export type ExtensionSettings = Record<
|
|
|
1509
1627
|
string | number | boolean | undefined
|
|
1510
1628
|
>;
|
|
1511
1629
|
|
|
1630
|
+
/**
|
|
1631
|
+
* Tracks custom events and sends visitor information to
|
|
1632
|
+
* [Web Pixels](https://shopify.dev/docs/apps/marketing). Use `publish()` to emit events
|
|
1633
|
+
* and `visitor()` to submit buyer contact details.
|
|
1634
|
+
*/
|
|
1512
1635
|
export interface Analytics {
|
|
1513
1636
|
/**
|
|
1514
|
-
*
|
|
1637
|
+
* Publishes a custom event to [Web Pixels](https://shopify.dev/docs/apps/marketing).
|
|
1638
|
+
* Returns `true` when the event is successfully dispatched.
|
|
1639
|
+
*
|
|
1640
|
+
* The Promise resolves to `true` when the event was dispatched. The boolean
|
|
1641
|
+
* indicates dispatch confirmation only. It doesn't indicate whether any
|
|
1642
|
+
* specific web pixel processed the event.
|
|
1515
1643
|
*/
|
|
1516
1644
|
publish(name: string, data: Record<string, unknown>): Promise<boolean>;
|
|
1517
1645
|
|
|
1518
1646
|
/**
|
|
1519
|
-
*
|
|
1647
|
+
* Submits buyer contact details for attribution and analytics purposes.
|
|
1520
1648
|
*/
|
|
1521
1649
|
visitor(data: {email?: string; phone?: string}): Promise<VisitorResult>;
|
|
1522
1650
|
}
|
|
@@ -1541,78 +1669,88 @@ export interface VisitorSuccess {
|
|
|
1541
1669
|
export interface VisitorError {
|
|
1542
1670
|
/**
|
|
1543
1671
|
* Indicates that the visitor information is invalid and wasn't submitted.
|
|
1544
|
-
*
|
|
1672
|
+
* Common causes include using the wrong data type or omitting a required property.
|
|
1545
1673
|
*/
|
|
1546
1674
|
type: 'error';
|
|
1547
1675
|
|
|
1548
1676
|
/**
|
|
1549
1677
|
* A message that explains the error. This message is useful for debugging.
|
|
1550
|
-
* It'
|
|
1551
|
-
* to the buyer.
|
|
1678
|
+
* It isn't localized and shouldn't be displayed to the buyer.
|
|
1552
1679
|
*/
|
|
1553
1680
|
message: string;
|
|
1554
1681
|
}
|
|
1555
1682
|
|
|
1556
1683
|
/**
|
|
1557
|
-
*
|
|
1558
|
-
* more cart lines.
|
|
1684
|
+
* A group of cart lines that share the same set of delivery options. For example, physical items might form one delivery group while digital items form another.
|
|
1559
1685
|
*/
|
|
1560
1686
|
export interface DeliveryGroup {
|
|
1561
1687
|
/**
|
|
1562
|
-
*
|
|
1688
|
+
* A unique identifier for the delivery group. The value is `undefined` if the underlying delivery line doesn't have an ID assigned.
|
|
1563
1689
|
*/
|
|
1564
1690
|
id?: string;
|
|
1565
1691
|
/**
|
|
1566
|
-
* The cart
|
|
1692
|
+
* The cart lines that belong to this delivery group. Each reference contains the cart line's `id`, which you can match against `lines` to get the full cart line details.
|
|
1567
1693
|
*/
|
|
1568
1694
|
targetedCartLines: CartLineReference[];
|
|
1569
1695
|
|
|
1570
1696
|
/**
|
|
1571
|
-
* The delivery options available for
|
|
1697
|
+
* The delivery options available for this group, including shipping, pickup point, and pickup location options. The buyer selects one of these to determine how their items are delivered.
|
|
1572
1698
|
*/
|
|
1573
1699
|
deliveryOptions: DeliveryOption[];
|
|
1574
1700
|
|
|
1575
1701
|
/**
|
|
1576
|
-
* The
|
|
1702
|
+
* The delivery option the buyer has selected for this group. The value is `undefined` if the buyer hasn't selected a delivery option yet. Contains a `handle` you can match against `deliveryOptions` entries.
|
|
1577
1703
|
*/
|
|
1578
1704
|
selectedDeliveryOption?: DeliveryOptionReference;
|
|
1579
1705
|
|
|
1580
1706
|
/**
|
|
1581
|
-
*
|
|
1707
|
+
* Whether this group contains items for a one-time purchase or a subscription.
|
|
1708
|
+
* Subscription delivery groups might have different shipping options. See `DeliveryGroupType` for possible values.
|
|
1582
1709
|
*/
|
|
1583
1710
|
groupType: DeliveryGroupType;
|
|
1584
1711
|
|
|
1585
1712
|
/**
|
|
1586
|
-
* Whether delivery is required for the
|
|
1713
|
+
* Whether physical delivery is required for the items in this group.
|
|
1714
|
+
* Digital-only groups don't require delivery.
|
|
1587
1715
|
*/
|
|
1588
1716
|
isDeliveryRequired: boolean;
|
|
1589
1717
|
}
|
|
1590
1718
|
|
|
1591
1719
|
/**
|
|
1592
1720
|
* The possible types of a delivery group.
|
|
1721
|
+
*
|
|
1722
|
+
* - `'oneTimePurchase'`: Items bought as a single, non-recurring purchase.
|
|
1723
|
+
* - `'subscription'`: Items bought through a [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions) that results in recurring deliveries.
|
|
1593
1724
|
*/
|
|
1594
1725
|
export type DeliveryGroupType = 'oneTimePurchase' | 'subscription';
|
|
1595
1726
|
|
|
1596
1727
|
/**
|
|
1597
|
-
*
|
|
1728
|
+
* A reference to a cart line within a delivery group, identified by the cart line's ID.
|
|
1598
1729
|
*/
|
|
1599
1730
|
export interface CartLineReference {
|
|
1600
1731
|
/**
|
|
1601
|
-
* The unique identifier of the referenced cart line.
|
|
1732
|
+
* The unique identifier of the referenced cart line. Match this against `CartLine.id` from the `lines` property to get the full line item details.
|
|
1602
1733
|
*/
|
|
1603
1734
|
id: string;
|
|
1604
1735
|
}
|
|
1605
1736
|
|
|
1606
1737
|
/**
|
|
1607
|
-
*
|
|
1738
|
+
* A reference to the delivery option selected by the buyer for a delivery group.
|
|
1608
1739
|
*/
|
|
1609
1740
|
export interface DeliveryOptionReference {
|
|
1610
1741
|
/**
|
|
1611
|
-
* The unique identifier of the referenced delivery option.
|
|
1742
|
+
* The unique identifier of the referenced delivery option. Match this against `DeliveryOption.handle` from the `deliveryOptions` array to get the full option details.
|
|
1612
1743
|
*/
|
|
1613
1744
|
handle: string;
|
|
1614
1745
|
}
|
|
1615
1746
|
|
|
1747
|
+
/**
|
|
1748
|
+
* A delivery option available to the buyer. Use the `type` property to determine which kind of option it is:
|
|
1749
|
+
*
|
|
1750
|
+
* - `ShippingOption` (`type: 'shipping' | 'local'`): Items shipped by a carrier or delivered locally by the merchant.
|
|
1751
|
+
* - `PickupPointOption` (`type: 'pickupPoint'`): Items shipped to a third-party collection point for the buyer to pick up.
|
|
1752
|
+
* - `PickupLocationOption` (`type: 'pickup'`): Items picked up directly from a merchant's store or warehouse.
|
|
1753
|
+
*/
|
|
1616
1754
|
export type DeliveryOption =
|
|
1617
1755
|
| ShippingOption
|
|
1618
1756
|
| PickupPointOption
|
|
@@ -1623,129 +1761,136 @@ export type DeliveryOption =
|
|
|
1623
1761
|
*/
|
|
1624
1762
|
export interface DeliveryOptionBase {
|
|
1625
1763
|
/**
|
|
1626
|
-
* The unique identifier of the delivery option.
|
|
1764
|
+
* The unique identifier of the delivery option. Use this to match against `DeliveryOptionReference.handle` or `DeliverySelectionGroup` entries.
|
|
1627
1765
|
*/
|
|
1628
1766
|
handle: string;
|
|
1629
1767
|
|
|
1630
1768
|
/**
|
|
1631
|
-
* The
|
|
1769
|
+
* The merchant-facing or carrier-provided display name for the delivery
|
|
1770
|
+
* option, such as "Standard Shipping" or "Express".
|
|
1632
1771
|
*/
|
|
1633
1772
|
title?: string;
|
|
1634
1773
|
|
|
1635
1774
|
/**
|
|
1636
|
-
*
|
|
1775
|
+
* Additional details about the delivery option provided by the carrier
|
|
1776
|
+
* or merchant, such as estimated delivery windows or service level notes.
|
|
1637
1777
|
*/
|
|
1638
1778
|
description?: string;
|
|
1639
1779
|
|
|
1640
1780
|
/**
|
|
1641
|
-
* The code
|
|
1781
|
+
* The carrier service code or rate identifier for this delivery option.
|
|
1642
1782
|
*/
|
|
1643
1783
|
code: string;
|
|
1644
1784
|
|
|
1645
1785
|
/**
|
|
1646
|
-
*
|
|
1786
|
+
* Custom [metafields](https://shopify.dev/docs/apps/build/custom-data/metafields) attached to this delivery option by the carrier or a [Shopify Function](https://shopify.dev/docs/apps/build/functions). Use these to display additional information about the option.
|
|
1647
1787
|
*/
|
|
1648
1788
|
metafields: Metafield[];
|
|
1649
1789
|
}
|
|
1650
1790
|
|
|
1651
1791
|
/**
|
|
1652
|
-
* Represents a delivery option that
|
|
1792
|
+
* Represents a delivery option that's a shipping option.
|
|
1653
1793
|
*/
|
|
1654
1794
|
export interface ShippingOption extends DeliveryOptionBase {
|
|
1655
1795
|
/**
|
|
1656
|
-
*
|
|
1796
|
+
* Identifies the delivery method. `'shipping'` means items are shipped by a carrier. `'local'` means the merchant handles delivery themselves, for example same-day local delivery.
|
|
1657
1797
|
*/
|
|
1658
1798
|
type: 'shipping' | 'local';
|
|
1659
1799
|
|
|
1660
1800
|
/**
|
|
1661
|
-
* Information about the carrier.
|
|
1801
|
+
* Information about the carrier providing this shipping option, including the carrier's display name.
|
|
1662
1802
|
*/
|
|
1663
1803
|
carrier: ShippingOptionCarrier;
|
|
1664
1804
|
|
|
1665
1805
|
/**
|
|
1666
|
-
* The cost of
|
|
1806
|
+
* The cost of this delivery option before any shipping discounts are applied. Compare with `costAfterDiscounts` to show savings.
|
|
1667
1807
|
*/
|
|
1668
1808
|
cost: Money;
|
|
1669
1809
|
|
|
1670
1810
|
/**
|
|
1671
|
-
* The cost of
|
|
1811
|
+
* The cost of this delivery option after shipping discounts have been applied. This is the price the buyer actually pays for shipping.
|
|
1672
1812
|
*/
|
|
1673
1813
|
costAfterDiscounts: Money;
|
|
1674
1814
|
|
|
1675
1815
|
/**
|
|
1676
|
-
*
|
|
1816
|
+
* The estimated delivery time for this shipping option. Use the `timeInTransit` range to display an estimated arrival window to the buyer.
|
|
1677
1817
|
*/
|
|
1678
1818
|
deliveryEstimate: DeliveryEstimate;
|
|
1679
1819
|
}
|
|
1680
1820
|
|
|
1681
1821
|
export interface DeliveryEstimate {
|
|
1682
1822
|
/**
|
|
1683
|
-
* The estimated time in transit for the delivery
|
|
1823
|
+
* The estimated time in transit for the delivery, expressed as a range
|
|
1824
|
+
* in seconds. Undefined when the carrier doesn't provide an estimate.
|
|
1825
|
+
* When present, either the lower or upper bound of the range might still
|
|
1826
|
+
* be omitted.
|
|
1684
1827
|
*/
|
|
1685
1828
|
timeInTransit?: NumberRange;
|
|
1686
1829
|
}
|
|
1687
1830
|
|
|
1688
1831
|
export interface ShippingOptionCarrier {
|
|
1689
1832
|
/**
|
|
1690
|
-
* The name of the carrier.
|
|
1833
|
+
* The display name of the shipping carrier, such as "Canada Post" or "UPS". The value is `undefined` if the carrier name isn't available.
|
|
1691
1834
|
*/
|
|
1692
1835
|
name?: string;
|
|
1693
1836
|
}
|
|
1694
1837
|
|
|
1695
1838
|
export interface PickupPointOption extends DeliveryOptionBase {
|
|
1696
1839
|
/**
|
|
1697
|
-
*
|
|
1840
|
+
* Identifies this as a pickup point option, where items are shipped to a third-party collection point for the buyer to pick up.
|
|
1698
1841
|
*/
|
|
1699
1842
|
type: 'pickupPoint';
|
|
1700
1843
|
|
|
1701
1844
|
/**
|
|
1702
|
-
* Information about the carrier that ships to
|
|
1845
|
+
* Information about the carrier that ships items to this pickup point, including the carrier's name and code.
|
|
1703
1846
|
*/
|
|
1704
1847
|
carrier: PickupPointCarrier;
|
|
1705
1848
|
|
|
1706
1849
|
/**
|
|
1707
|
-
* The cost
|
|
1850
|
+
* The cost of this delivery option before any shipping discounts are applied. Compare with `costAfterDiscounts` to show savings.
|
|
1708
1851
|
*/
|
|
1709
1852
|
cost: Money;
|
|
1710
1853
|
|
|
1711
1854
|
/**
|
|
1712
|
-
* The cost
|
|
1855
|
+
* The cost of this delivery option after shipping discounts have been applied. This is the price the buyer actually pays for shipping.
|
|
1713
1856
|
*/
|
|
1714
1857
|
costAfterDiscounts: Money;
|
|
1715
1858
|
|
|
1716
1859
|
/**
|
|
1717
|
-
* The location
|
|
1860
|
+
* The physical location where the buyer picks up their order, including the address and display name of the collection point.
|
|
1718
1861
|
*/
|
|
1719
1862
|
location: PickupPointLocation;
|
|
1720
1863
|
}
|
|
1721
1864
|
|
|
1722
1865
|
export interface PickupLocationOption extends DeliveryOptionBase {
|
|
1723
1866
|
/**
|
|
1724
|
-
*
|
|
1867
|
+
* Identifies this as a pickup location option, where the buyer picks up items directly from a merchant's store or warehouse.
|
|
1725
1868
|
*/
|
|
1726
1869
|
type: 'pickup';
|
|
1727
1870
|
|
|
1728
1871
|
/**
|
|
1729
|
-
* The
|
|
1872
|
+
* The merchant's store or warehouse where the buyer picks up their order, including the address and display name.
|
|
1730
1873
|
*/
|
|
1731
1874
|
location: PickupLocation;
|
|
1732
1875
|
}
|
|
1733
1876
|
|
|
1734
1877
|
interface PickupLocation {
|
|
1735
1878
|
/**
|
|
1736
|
-
* The name of the pickup location
|
|
1879
|
+
* The merchant-defined display name of the pickup location, such as a
|
|
1880
|
+
* store name or warehouse label.
|
|
1737
1881
|
*/
|
|
1738
1882
|
name?: string;
|
|
1739
1883
|
|
|
1740
1884
|
/**
|
|
1741
|
-
* The address of the pickup location.
|
|
1885
|
+
* The physical address of the pickup location.
|
|
1742
1886
|
*/
|
|
1743
1887
|
address: MailingAddress;
|
|
1744
1888
|
}
|
|
1745
1889
|
|
|
1746
1890
|
interface PickupPointLocation {
|
|
1747
1891
|
/**
|
|
1748
|
-
* The name of the pickup point
|
|
1892
|
+
* The display name of the pickup point, such as the name of the locker
|
|
1893
|
+
* or collection point.
|
|
1749
1894
|
*/
|
|
1750
1895
|
name?: string;
|
|
1751
1896
|
|
|
@@ -1755,31 +1900,34 @@ interface PickupPointLocation {
|
|
|
1755
1900
|
handle: string;
|
|
1756
1901
|
|
|
1757
1902
|
/**
|
|
1758
|
-
* The address of the pickup point.
|
|
1903
|
+
* The physical address of the pickup point.
|
|
1759
1904
|
*/
|
|
1760
1905
|
address: MailingAddress;
|
|
1761
1906
|
}
|
|
1762
1907
|
|
|
1763
1908
|
interface PickupPointCarrier {
|
|
1764
1909
|
/**
|
|
1765
|
-
* The code
|
|
1910
|
+
* The carrier's unique identifier code, used to distinguish between
|
|
1911
|
+
* different carriers that deliver to pickup points.
|
|
1766
1912
|
*/
|
|
1767
1913
|
code?: string;
|
|
1768
1914
|
|
|
1769
1915
|
/**
|
|
1770
|
-
* The name of the carrier.
|
|
1916
|
+
* The display name of the carrier that delivers to this pickup point.
|
|
1771
1917
|
*/
|
|
1772
1918
|
name?: string;
|
|
1773
1919
|
}
|
|
1774
1920
|
|
|
1775
1921
|
export interface NumberRange {
|
|
1776
1922
|
/**
|
|
1777
|
-
* The lower bound of the
|
|
1923
|
+
* The lower bound of the range. Undefined if only an upper bound is
|
|
1924
|
+
* provided.
|
|
1778
1925
|
*/
|
|
1779
1926
|
lower?: number;
|
|
1780
1927
|
|
|
1781
1928
|
/**
|
|
1782
|
-
* The upper bound of the
|
|
1929
|
+
* The upper bound of the range. Undefined if only a lower bound is
|
|
1930
|
+
* provided.
|
|
1783
1931
|
*/
|
|
1784
1932
|
upper?: number;
|
|
1785
1933
|
}
|
|
@@ -1789,78 +1937,112 @@ export interface NumberRange {
|
|
|
1789
1937
|
*/
|
|
1790
1938
|
export interface DeliveryGroupDetails extends DeliveryGroup {
|
|
1791
1939
|
/**
|
|
1792
|
-
* The
|
|
1940
|
+
* The full delivery option the buyer has selected for this group, with all cost and carrier details included. The value is `undefined` if the buyer hasn't selected an option yet. Unlike `DeliveryGroup.selectedDeliveryOption`, which is a reference, this contains the complete `DeliveryOption` object.
|
|
1793
1941
|
*/
|
|
1794
1942
|
selectedDeliveryOption?: DeliveryOption;
|
|
1795
1943
|
|
|
1796
1944
|
/**
|
|
1797
|
-
* The cart
|
|
1945
|
+
* The full cart line objects associated with this delivery group, with all merchandise and cost details included. Unlike `DeliveryGroup.targetedCartLines`, which contains references, this contains the complete `CartLine` objects.
|
|
1798
1946
|
*/
|
|
1799
1947
|
targetedCartLines: CartLine[];
|
|
1800
1948
|
}
|
|
1801
1949
|
|
|
1802
1950
|
export interface AllowedProcessing {
|
|
1803
1951
|
/**
|
|
1804
|
-
*
|
|
1952
|
+
* Whether analytics data can be collected based on the visitor's consent,
|
|
1953
|
+
* the merchant's privacy configuration, and the visitor's region. Analytics
|
|
1954
|
+
* data includes how the shop was used and what interactions occurred.
|
|
1955
|
+
*
|
|
1956
|
+
* Whether analytics data can be collected right now. Combines the buyer's
|
|
1957
|
+
* consent, the merchant's privacy configuration, and the buyer's region into
|
|
1958
|
+
* a single boolean. Check this flag, not `visitorConsent.analytics`, before
|
|
1959
|
+
* calling `shopify.analytics.publish()`.
|
|
1805
1960
|
*/
|
|
1806
1961
|
analytics: boolean;
|
|
1807
1962
|
/**
|
|
1808
|
-
*
|
|
1963
|
+
* Whether marketing data can be collected based on the visitor's consent,
|
|
1964
|
+
* the merchant's privacy configuration, and the visitor's region. Marketing
|
|
1965
|
+
* data includes attribution and targeted advertising preferences.
|
|
1966
|
+
*
|
|
1967
|
+
* Whether marketing data can be collected right now. Combines the buyer's
|
|
1968
|
+
* consent, the merchant's privacy configuration, and the buyer's region into
|
|
1969
|
+
* a single boolean. Check this flag, not `visitorConsent.marketing`, before
|
|
1970
|
+
* performing marketing-related data collection.
|
|
1809
1971
|
*/
|
|
1810
1972
|
marketing: boolean;
|
|
1811
1973
|
/**
|
|
1812
|
-
*
|
|
1974
|
+
* Whether preference data can be collected based on the visitor's consent,
|
|
1975
|
+
* the merchant's privacy configuration, and the visitor's region. Preference
|
|
1976
|
+
* data includes language, currency, and sizing choices.
|
|
1977
|
+
*
|
|
1978
|
+
* Whether preference data can be collected right now. Combines the buyer's
|
|
1979
|
+
* consent, the merchant's privacy configuration, and the buyer's region into
|
|
1980
|
+
* a single boolean. Check this flag, not `visitorConsent.preferences`,
|
|
1981
|
+
* before storing or reading buyer preference data.
|
|
1813
1982
|
*/
|
|
1814
1983
|
preferences: boolean;
|
|
1815
1984
|
/**
|
|
1816
|
-
*
|
|
1985
|
+
* Whether data can be shared with third parties based on the visitor's
|
|
1986
|
+
* consent, the merchant's privacy configuration, and the visitor's region.
|
|
1987
|
+
* This typically applies to behavioral advertising data.
|
|
1988
|
+
*
|
|
1989
|
+
* Whether buyer data can be shared with or sold to third parties right now.
|
|
1990
|
+
* Combines the buyer's consent, the merchant's privacy configuration, and
|
|
1991
|
+
* the buyer's region into a single boolean. Check this flag, not
|
|
1992
|
+
* `visitorConsent.saleOfData`, before sharing or selling buyer data with
|
|
1993
|
+
* third parties.
|
|
1817
1994
|
*/
|
|
1818
1995
|
saleOfData: boolean;
|
|
1819
1996
|
}
|
|
1820
1997
|
|
|
1821
1998
|
export interface VisitorConsent {
|
|
1822
1999
|
/**
|
|
1823
|
-
*
|
|
2000
|
+
* The visitor's consent for analytics tracking. `true` means the visitor
|
|
2001
|
+
* actively granted consent, `false` means actively denied, and `undefined`
|
|
2002
|
+
* means no decision has been made yet.
|
|
1824
2003
|
*/
|
|
1825
2004
|
analytics?: boolean;
|
|
1826
2005
|
/**
|
|
1827
|
-
*
|
|
2006
|
+
* The visitor's consent for marketing and targeted advertising. `true` means
|
|
2007
|
+
* the visitor actively granted consent, `false` means actively denied, and
|
|
2008
|
+
* `undefined` means no decision has been made yet.
|
|
1828
2009
|
*/
|
|
1829
2010
|
marketing?: boolean;
|
|
1830
2011
|
/**
|
|
1831
|
-
*
|
|
2012
|
+
* The visitor's consent for storing preferences such as language and currency.
|
|
2013
|
+
* `true` means the visitor actively granted consent, `false` means actively
|
|
2014
|
+
* denied, and `undefined` means no decision has been made yet.
|
|
1832
2015
|
*/
|
|
1833
2016
|
preferences?: boolean;
|
|
1834
2017
|
/**
|
|
1835
|
-
*
|
|
2018
|
+
* The visitor's consent for the sale or sharing of their personal data with
|
|
2019
|
+
* third parties. `true` means the visitor actively granted consent, `false`
|
|
2020
|
+
* means actively denied, and `undefined` means no decision has been made yet.
|
|
1836
2021
|
*/
|
|
1837
2022
|
saleOfData?: boolean;
|
|
1838
2023
|
}
|
|
1839
2024
|
|
|
1840
2025
|
export interface TrackingConsentMetafield {
|
|
1841
2026
|
/**
|
|
1842
|
-
* The
|
|
1843
|
-
* length (inclusive).
|
|
2027
|
+
* The identifier for the tracking consent metafield, such as `'analyticsType'` or `'marketingType'`.
|
|
1844
2028
|
*/
|
|
1845
2029
|
key: string;
|
|
1846
2030
|
/**
|
|
1847
|
-
* The
|
|
1848
|
-
*
|
|
1849
|
-
* @example 'any string', '', or a stringified JSON object
|
|
2031
|
+
* The value stored in the tracking consent metafield, such as `'granular'` or a stringified JSON object.
|
|
1850
2032
|
*/
|
|
1851
2033
|
value: string;
|
|
1852
2034
|
}
|
|
1853
2035
|
|
|
1854
2036
|
export interface TrackingConsentMetafieldChange {
|
|
1855
2037
|
/**
|
|
1856
|
-
* The
|
|
1857
|
-
* length (inclusive).
|
|
2038
|
+
* The identifier for the tracking consent metafield to update.
|
|
1858
2039
|
*/
|
|
1859
2040
|
key: string;
|
|
1860
2041
|
/**
|
|
1861
|
-
* The
|
|
2042
|
+
* The new value to store in the metafield. Set to `null` to delete the metafield.
|
|
1862
2043
|
*
|
|
1863
|
-
*
|
|
2044
|
+
* Consent metafield values are strings, not booleans. Pass `null` to delete
|
|
2045
|
+
* a tracking consent metafield.
|
|
1864
2046
|
*/
|
|
1865
2047
|
value: string | null;
|
|
1866
2048
|
}
|
|
@@ -1869,11 +2051,14 @@ export interface VisitorConsentChange extends VisitorConsent {
|
|
|
1869
2051
|
/**
|
|
1870
2052
|
* Tracking consent metafield data to be saved.
|
|
1871
2053
|
*
|
|
1872
|
-
* If the value is `null`, the metafield
|
|
2054
|
+
* If the value is `null`, the metafield is deleted.
|
|
1873
2055
|
*
|
|
1874
2056
|
* @example `[{key: 'granularAnalytics', value: 'true'}, {key: 'granularMarketing', value: 'false'}]`
|
|
1875
2057
|
*/
|
|
1876
2058
|
metafields?: TrackingConsentMetafieldChange[];
|
|
2059
|
+
/**
|
|
2060
|
+
* Identifies this as a visitor consent change. This is the only supported change type for `applyTrackingConsentChange()`.
|
|
2061
|
+
*/
|
|
1877
2062
|
type: 'changeVisitorConsent';
|
|
1878
2063
|
}
|
|
1879
2064
|
|
|
@@ -1883,40 +2068,36 @@ export type ApplyTrackingConsentChangeType = (
|
|
|
1883
2068
|
|
|
1884
2069
|
export interface CustomerPrivacyRegion {
|
|
1885
2070
|
/**
|
|
1886
|
-
* The [ISO 3166
|
|
2071
|
+
* The buyer's country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. The value is `undefined` if geolocation failed.
|
|
1887
2072
|
*
|
|
1888
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
2073
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
1889
2074
|
*
|
|
1890
|
-
* @example 'CA' for Canada, 'US' for United States, 'GB' for Great Britain
|
|
2075
|
+
* @example 'CA' for Canada, 'US' for United States, 'GB' for Great Britain
|
|
1891
2076
|
*/
|
|
1892
2077
|
countryCode?: CountryCode;
|
|
1893
2078
|
/**
|
|
1894
|
-
* The buyer's province
|
|
2079
|
+
* The buyer's province, state, or region code in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) format. The value is `undefined` if geolocation failed or only the country was detected.
|
|
1895
2080
|
*
|
|
1896
|
-
*
|
|
2081
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
1897
2082
|
*
|
|
1898
|
-
*
|
|
1899
|
-
*
|
|
1900
|
-
* @example 'ON' for Ontario, 'ENG' for England, 'CA' for California, or undefined if geolocation failed or only the country was detected.
|
|
2083
|
+
* @example 'ON' for Ontario, 'ENG' for England, 'CA' for California
|
|
1901
2084
|
*/
|
|
1902
2085
|
provinceCode?: string;
|
|
1903
2086
|
}
|
|
1904
2087
|
|
|
1905
2088
|
export interface CustomerPrivacy {
|
|
1906
2089
|
/**
|
|
1907
|
-
*
|
|
2090
|
+
* Flags indicating whether each type of data processing is permitted, based on the visitor's consent, the merchant's privacy configuration, and the visitor's geographic location.
|
|
1908
2091
|
*/
|
|
1909
2092
|
allowedProcessing: AllowedProcessing;
|
|
1910
2093
|
/**
|
|
1911
|
-
*
|
|
2094
|
+
* The tracking consent metafields that have been stored for this visitor. These contain app-specific consent data beyond the standard categories.
|
|
1912
2095
|
*
|
|
1913
2096
|
* @example `[{key: 'analyticsType', value: 'granular'}, {key: 'marketingType', value: 'granular'}]`, or `[]`
|
|
1914
2097
|
*/
|
|
1915
2098
|
metafields: TrackingConsentMetafield[];
|
|
1916
2099
|
/**
|
|
1917
|
-
*
|
|
1918
|
-
* *
|
|
1919
|
-
* @example `true` — the customer has actively granted consent, `false` — the customer has actively denied consent, or `undefined` — the customer has not yet made a decision.
|
|
2100
|
+
* The visitor's current privacy consent settings. Each property represents a consent category and is `true` (actively granted), `false` (actively denied), or `undefined` (no decision made yet).
|
|
1920
2101
|
*/
|
|
1921
2102
|
visitorConsent: VisitorConsent;
|
|
1922
2103
|
/**
|
|
@@ -1926,15 +2107,15 @@ export interface CustomerPrivacy {
|
|
|
1926
2107
|
*/
|
|
1927
2108
|
shouldShowBanner: boolean;
|
|
1928
2109
|
/**
|
|
1929
|
-
* Whether the visitor is in a region
|
|
2110
|
+
* Whether the visitor is located in a region that requires an explicit opt-out option for the sale or sharing of personal data, such as California (CCPA) or other jurisdictions with similar regulations.
|
|
1930
2111
|
*/
|
|
1931
2112
|
saleOfDataRegion: boolean;
|
|
1932
2113
|
/**
|
|
1933
|
-
*
|
|
2114
|
+
* The visitor's geographic location, used to determine whether more granular consent controls should be displayed based on regional privacy regulations.
|
|
1934
2115
|
*
|
|
1935
2116
|
* @example `{countryCode: 'CA', provinceCode: 'ON'}` for a visitor in Ontario, Canada; `{countryCode: 'US', provinceCode: undefined}` for a visitor in the United States if geolocation fails to detect the state; or `undefined` if neither country nor province is detected or geolocation fails.
|
|
1936
2117
|
*
|
|
1937
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
2118
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
|
|
1938
2119
|
*/
|
|
1939
2120
|
region?: CustomerPrivacyRegion;
|
|
1940
2121
|
}
|
|
@@ -1948,7 +2129,7 @@ export type TrackingConsentChangeResult =
|
|
|
1948
2129
|
*/
|
|
1949
2130
|
export interface TrackingConsentChangeResultSuccess {
|
|
1950
2131
|
/**
|
|
1951
|
-
*
|
|
2132
|
+
* Indicates that the tracking consent update was applied successfully.
|
|
1952
2133
|
*/
|
|
1953
2134
|
type: 'success';
|
|
1954
2135
|
}
|
|
@@ -1959,105 +2140,123 @@ export interface TrackingConsentChangeResultSuccess {
|
|
|
1959
2140
|
*/
|
|
1960
2141
|
export interface TrackingConsentChangeResultError {
|
|
1961
2142
|
/**
|
|
1962
|
-
*
|
|
2143
|
+
* Indicates that the tracking consent update couldn't be applied. Check the `message` property for details.
|
|
1963
2144
|
*/
|
|
1964
2145
|
type: 'error';
|
|
1965
2146
|
|
|
1966
2147
|
/**
|
|
1967
2148
|
* A message that explains the error. This message is useful for debugging.
|
|
1968
|
-
* It
|
|
1969
|
-
* to the buyer.
|
|
2149
|
+
* It isn't localized and shouldn't be displayed to the buyer.
|
|
1970
2150
|
*/
|
|
1971
2151
|
message: string;
|
|
1972
2152
|
}
|
|
1973
2153
|
|
|
1974
2154
|
export interface CartInstructions {
|
|
1975
2155
|
/**
|
|
1976
|
-
*
|
|
2156
|
+
* Whether the extension can update custom attributes using `applyAttributeChange()`.
|
|
1977
2157
|
*/
|
|
1978
2158
|
attributes: AttributesCartInstructions;
|
|
1979
2159
|
|
|
1980
2160
|
/**
|
|
1981
|
-
*
|
|
2161
|
+
* Whether the extension can modify the shipping address using `applyShippingAddressChange()`.
|
|
1982
2162
|
*/
|
|
1983
2163
|
delivery: DeliveryCartInstructions;
|
|
1984
2164
|
|
|
1985
2165
|
/**
|
|
1986
|
-
*
|
|
2166
|
+
* Whether the extension can add or remove discount codes using `applyDiscountCodeChange()`.
|
|
1987
2167
|
*/
|
|
1988
2168
|
discounts: DiscountsCartInstructions;
|
|
1989
2169
|
|
|
1990
2170
|
/**
|
|
1991
|
-
*
|
|
2171
|
+
* Whether the extension can add, remove, or update cart lines using `applyCartLinesChange()`.
|
|
1992
2172
|
*/
|
|
1993
2173
|
lines: CartLinesCartInstructions;
|
|
1994
2174
|
|
|
1995
2175
|
/**
|
|
1996
|
-
*
|
|
2176
|
+
* Whether the extension can add, update, or delete cart metafields using `applyMetafieldChange()`.
|
|
1997
2177
|
*/
|
|
1998
2178
|
metafields: MetafieldsCartInstructions;
|
|
1999
2179
|
|
|
2000
2180
|
/**
|
|
2001
|
-
*
|
|
2181
|
+
* Whether the extension can update the order note using `applyNoteChange()`.
|
|
2002
2182
|
*/
|
|
2003
2183
|
notes: NotesCartInstructions;
|
|
2004
2184
|
}
|
|
2005
2185
|
|
|
2006
2186
|
export interface AttributesCartInstructions {
|
|
2007
2187
|
/**
|
|
2008
|
-
*
|
|
2188
|
+
* Whether attributes can be updated using `applyAttributeChange()`. When
|
|
2189
|
+
* `false`, the checkout configuration doesn't allow attribute changes.
|
|
2190
|
+
* Even when `true`, calls to `applyAttributeChange()` can still fail
|
|
2191
|
+
* during accelerated checkout (Apple Pay, Google Pay).
|
|
2009
2192
|
*/
|
|
2010
2193
|
canUpdateAttributes: boolean;
|
|
2011
2194
|
}
|
|
2012
2195
|
|
|
2013
2196
|
export interface DeliveryCartInstructions {
|
|
2014
2197
|
/**
|
|
2015
|
-
*
|
|
2016
|
-
*
|
|
2017
|
-
*
|
|
2198
|
+
* Whether the shipping address can be modified using
|
|
2199
|
+
* `applyShippingAddressChange()`. When `false`, the buyer is using an
|
|
2200
|
+
* accelerated checkout flow (Apple Pay, Google Pay) where the address
|
|
2201
|
+
* can't be changed.
|
|
2018
2202
|
*/
|
|
2019
2203
|
canSelectCustomAddress: boolean;
|
|
2020
2204
|
}
|
|
2021
2205
|
|
|
2022
2206
|
export interface DiscountsCartInstructions {
|
|
2023
2207
|
/**
|
|
2024
|
-
*
|
|
2208
|
+
* Whether discount codes can be updated using `applyDiscountCodeChange()`.
|
|
2209
|
+
* When `false`, the checkout configuration doesn't allow discount code
|
|
2210
|
+
* changes. Even when `true`, calls to `applyDiscountCodeChange()` can
|
|
2211
|
+
* still fail during accelerated checkout (Apple Pay, Google Pay).
|
|
2025
2212
|
*/
|
|
2026
2213
|
canUpdateDiscountCodes: boolean;
|
|
2027
2214
|
}
|
|
2028
2215
|
|
|
2029
2216
|
export interface CartLinesCartInstructions {
|
|
2030
2217
|
/**
|
|
2031
|
-
*
|
|
2218
|
+
* Whether new cart lines can be added using `applyCartLinesChange()`. When
|
|
2219
|
+
* `false`, the checkout configuration doesn't allow adding lines (for
|
|
2220
|
+
* example, draft orders). Even when `true`, calls can still fail during
|
|
2221
|
+
* accelerated checkout (Apple Pay, Google Pay).
|
|
2032
2222
|
*/
|
|
2033
2223
|
canAddCartLine: boolean;
|
|
2034
2224
|
|
|
2035
2225
|
/**
|
|
2036
|
-
*
|
|
2226
|
+
* Whether cart lines can be removed using `applyCartLinesChange()`. When
|
|
2227
|
+
* `false`, the checkout configuration doesn't allow removing lines.
|
|
2228
|
+
* Even when `true`, calls can still fail during accelerated checkout.
|
|
2037
2229
|
*/
|
|
2038
2230
|
canRemoveCartLine: boolean;
|
|
2039
2231
|
|
|
2040
2232
|
/**
|
|
2041
|
-
*
|
|
2233
|
+
* Whether cart lines can be updated using `applyCartLinesChange()`. When
|
|
2234
|
+
* `false`, the checkout configuration doesn't allow updating lines.
|
|
2235
|
+
* Even when `true`, calls can still fail during accelerated checkout.
|
|
2042
2236
|
*/
|
|
2043
2237
|
canUpdateCartLine: boolean;
|
|
2044
2238
|
}
|
|
2045
2239
|
|
|
2046
2240
|
export interface MetafieldsCartInstructions {
|
|
2047
2241
|
/**
|
|
2048
|
-
*
|
|
2242
|
+
* Whether the extension can add or update cart metafields using
|
|
2243
|
+
* `applyMetafieldChange()`.
|
|
2049
2244
|
*/
|
|
2050
2245
|
canSetCartMetafields: boolean;
|
|
2051
2246
|
|
|
2052
2247
|
/**
|
|
2053
|
-
*
|
|
2248
|
+
* Whether the extension can delete cart metafields using
|
|
2249
|
+
* `applyMetafieldChange()`.
|
|
2054
2250
|
*/
|
|
2055
2251
|
canDeleteCartMetafield: boolean;
|
|
2056
2252
|
}
|
|
2057
2253
|
|
|
2058
2254
|
export interface NotesCartInstructions {
|
|
2059
2255
|
/**
|
|
2060
|
-
*
|
|
2256
|
+
* Whether the order note can be updated using `applyNoteChange()`. When
|
|
2257
|
+
* `false`, the checkout configuration doesn't allow note changes. Even
|
|
2258
|
+
* when `true`, calls to `applyNoteChange()` can still fail during
|
|
2259
|
+
* accelerated checkout (Apple Pay, Google Pay).
|
|
2061
2260
|
*/
|
|
2062
2261
|
canUpdateNote: boolean;
|
|
2063
2262
|
}
|