@shopify/ui-extensions 2026.4.0-rc.2 → 2026.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +2 -0
- package/build/cjs/surfaces/checkout/preact/market.js +1 -0
- package/build/cjs/surfaces/checkout/preact/metafields.js +1 -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 -16
- package/build/cjs/surfaces/checkout/style/style.js +1 -0
- package/build/cjs/surfaces/point-of-sale/types/storage.js +4 -0
- 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 +2 -0
- package/build/esm/surfaces/checkout/preact/market.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/metafields.mjs +1 -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 -16
- package/build/esm/surfaces/checkout/style/style.mjs +1 -0
- package/build/esm/surfaces/point-of-sale/types/storage.mjs +4 -0
- 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 +2 -0
- package/build/esnext/surfaces/checkout/preact/market.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/metafields.esnext +1 -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 -16
- package/build/esnext/surfaces/checkout/style/style.esnext +1 -0
- package/build/esnext/surfaces/point-of-sale/types/storage.esnext +4 -0
- package/build/ts/shared.d.ts +32 -12
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/action/action.d.ts +1 -0
- package/build/ts/surfaces/admin/api/action/action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/block/block.d.ts +2 -0
- 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 +7 -4
- 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 +13 -7
- 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 +1 -0
- 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 +3 -0
- 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 +1 -0
- 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 +7 -3
- 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 +13 -7
- package/build/ts/surfaces/admin/api/discount-function-settings/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/intents/intent-render.d.ts +24 -0
- package/build/ts/surfaces/admin/api/intents/intent-render.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/intents/intents.d.ts +44 -8
- 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 +5 -3
- 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 +8 -3
- 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 +1 -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 +15 -7
- 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 +1 -0
- 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 +4 -2
- 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 +4 -2
- 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 +1 -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 +36 -17
- package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/shared.d.ts +2 -0
- package/build/ts/surfaces/admin/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/standard-rendering.d.ts +3 -0
- package/build/ts/surfaces/admin/api/standard/standard-rendering.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +4 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/storage.d.ts +4 -0
- package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api.d.ts +1 -0
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +6 -0
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +6 -0
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +6 -0
- package/build/ts/surfaces/admin/components/Avatar.d.ts +9 -0
- package/build/ts/surfaces/admin/components/Badge.d.ts +10 -1
- package/build/ts/surfaces/admin/components/Banner.d.ts +11 -0
- package/build/ts/surfaces/admin/components/Box.d.ts +14 -0
- package/build/ts/surfaces/admin/components/Button.d.ts +15 -1
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +12 -1
- package/build/ts/surfaces/admin/components/Chip.d.ts +4 -2
- package/build/ts/surfaces/admin/components/Choice.d.ts +10 -2
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +12 -2
- package/build/ts/surfaces/admin/components/Clickable.d.ts +23 -11
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +11 -0
- package/build/ts/surfaces/admin/components/ColorField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +9 -0
- package/build/ts/surfaces/admin/components/DateField.d.ts +11 -0
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +10 -1
- package/build/ts/surfaces/admin/components/Divider.d.ts +7 -0
- package/build/ts/surfaces/admin/components/DropZone.d.ts +8 -4
- package/build/ts/surfaces/admin/components/EmailField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/Form.d.ts +10 -0
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +12 -0
- package/build/ts/surfaces/admin/components/Grid.d.ts +28 -12
- package/build/ts/surfaces/admin/components/GridItem.d.ts +22 -7
- package/build/ts/surfaces/admin/components/Heading.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Icon.d.ts +6 -3
- package/build/ts/surfaces/admin/components/Image.d.ts +22 -7
- package/build/ts/surfaces/admin/components/Link.d.ts +13 -3
- package/build/ts/surfaces/admin/components/ListItem.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Menu.d.ts +11 -0
- package/build/ts/surfaces/admin/components/Modal.d.ts +8 -4
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +13 -0
- package/build/ts/surfaces/admin/components/NumberField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/Option.d.ts +10 -2
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +10 -2
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Page.d.ts +4 -2
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +8 -0
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +8 -0
- package/build/ts/surfaces/admin/components/SearchField.d.ts +13 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +9 -0
- package/build/ts/surfaces/admin/components/Select.d.ts +14 -2
- package/build/ts/surfaces/admin/components/Spinner.d.ts +7 -0
- package/build/ts/surfaces/admin/components/Stack.d.ts +27 -11
- package/build/ts/surfaces/admin/components/Switch.d.ts +12 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +15 -0
- package/build/ts/surfaces/admin/components/TableBody.d.ts +8 -0
- package/build/ts/surfaces/admin/components/TableCell.d.ts +9 -0
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +9 -0
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +8 -0
- package/build/ts/surfaces/admin/components/TableRow.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Text.d.ts +19 -0
- package/build/ts/surfaces/admin/components/TextArea.d.ts +12 -0
- package/build/ts/surfaces/admin/components/TextField.d.ts +14 -1
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +9 -0
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +11 -0
- package/build/ts/surfaces/admin/components/URLField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +14 -0
- package/build/ts/surfaces/admin/components/shared.d.ts +267 -0
- package/build/ts/surfaces/admin/extension-targets.d.ts +8 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/admin/targets/admin.app.intent.render.d.ts +61 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts +2 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts +3 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +1 -0
- 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 +2 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +1 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +5 -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 +258 -122
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/docs.d.ts +33 -8
- package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +12 -5
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +7 -0
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +3 -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/redeemable/redeemable.d.ts +7 -0
- package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shared.d.ts +79 -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 +6 -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 +18 -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 +659 -443
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +38 -9
- package/build/ts/surfaces/checkout/components/Badge.d.ts +46 -3
- package/build/ts/surfaces/checkout/components/Banner.d.ts +64 -9
- package/build/ts/surfaces/checkout/components/Box.d.ts +52 -0
- package/build/ts/surfaces/checkout/components/Button.d.ts +16 -3
- package/build/ts/surfaces/checkout/components/Chat.d.ts +20 -0
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +17 -2
- package/build/ts/surfaces/checkout/components/Chip.d.ts +8 -0
- package/build/ts/surfaces/checkout/components/Choice.d.ts +8 -0
- package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +17 -2
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +37 -7
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +23 -5
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +16 -2
- package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +17 -2
- package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/DateField.d.ts +31 -6
- package/build/ts/surfaces/checkout/components/DatePicker.d.ts +28 -5
- package/build/ts/surfaces/checkout/components/Details.d.ts +14 -0
- package/build/ts/surfaces/checkout/components/Divider.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +22 -3
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/Form.d.ts +16 -1
- package/build/ts/surfaces/checkout/components/Grid.d.ts +139 -0
- package/build/ts/surfaces/checkout/components/GridItem.d.ts +57 -0
- package/build/ts/surfaces/checkout/components/Heading.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Icon.d.ts +49 -4
- package/build/ts/surfaces/checkout/components/Image.d.ts +43 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +16 -3
- package/build/ts/surfaces/checkout/components/ListItem.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Map.d.ts +68 -6
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +39 -8
- package/build/ts/surfaces/checkout/components/Modal.d.ts +52 -8
- package/build/ts/surfaces/checkout/components/MoneyField.d.ts +23 -8
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/Option.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/OrderedList.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Paragraph.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/Popover.d.ts +39 -22
- package/build/ts/surfaces/checkout/components/PressButton.d.ts +20 -6
- package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
- package/build/ts/surfaces/checkout/components/Progress.d.ts +29 -0
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +28 -3
- package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +57 -0
- package/build/ts/surfaces/checkout/components/Section.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Select.d.ts +21 -6
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +40 -13
- package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Spinner.d.ts +18 -0
- package/build/ts/surfaces/checkout/components/Stack.d.ts +112 -0
- package/build/ts/surfaces/checkout/components/Summary.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Switch.d.ts +17 -2
- package/build/ts/surfaces/checkout/components/Text.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +23 -8
- package/build/ts/surfaces/checkout/components/TextField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/Time.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Tooltip.d.ts +21 -2
- package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +616 -605
- package/build/ts/surfaces/checkout/components/components.d.ts +568 -288
- package/build/ts/surfaces/checkout/extension-targets.d.ts +13 -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 +2 -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/metafields.d.ts +1 -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 +11 -19
- 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 +20 -8
- package/build/ts/surfaces/checkout/style/types.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.chat.render.d.ts +2 -1
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.chat.render.d.ts +2 -1
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +3 -0
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/docs.d.ts +231 -3
- 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 +454 -295
- 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 +209 -137
- 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 +84 -68
- 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 -0
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +38 -9
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +43 -15
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +46 -3
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +64 -9
- package/build/ts/surfaces/customer-account/components/Box.d.ts +52 -0
- package/build/ts/surfaces/customer-account/components/Button.d.ts +16 -3
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/Chat.d.ts +20 -0
- package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +17 -2
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +8 -0
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +8 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +17 -2
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +37 -7
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +23 -5
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +16 -2
- package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +17 -2
- package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +31 -6
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +28 -5
- package/build/ts/surfaces/customer-account/components/Details.d.ts +14 -0
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +22 -3
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/Form.d.ts +16 -1
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +139 -0
- package/build/ts/surfaces/customer-account/components/GridItem.d.ts +57 -0
- package/build/ts/surfaces/customer-account/components/Heading.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +49 -4
- package/build/ts/surfaces/customer-account/components/Image.d.ts +43 -1
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +7 -2
- package/build/ts/surfaces/customer-account/components/Link.d.ts +16 -3
- package/build/ts/surfaces/customer-account/components/ListItem.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Map.d.ts +68 -6
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +39 -8
- package/build/ts/surfaces/customer-account/components/Menu.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +52 -8
- package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +23 -8
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/Option.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Page.d.ts +5 -5
- package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +17 -1
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +39 -22
- package/build/ts/surfaces/customer-account/components/PressButton.d.ts +20 -6
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +26 -1
- package/build/ts/surfaces/customer-account/components/Progress.d.ts +29 -0
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +28 -3
- package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +57 -0
- package/build/ts/surfaces/customer-account/components/Section.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Select.d.ts +21 -6
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +40 -13
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Spinner.d.ts +18 -0
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +112 -0
- package/build/ts/surfaces/customer-account/components/Summary.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Switch.d.ts +17 -2
- package/build/ts/surfaces/customer-account/components/Text.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +23 -8
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/Time.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +21 -2
- package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +616 -605
- package/build/ts/surfaces/customer-account/components/components.d.ts +568 -288
- 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/customer-account/extension-targets.d.ts +8 -0
- package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +4 -0
- 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/action-target-api/action-target-api.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/camera-api/camera-api.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/api/camera-api/camera-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +7 -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 +1 -0
- 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/cash-drawer-api/cash-drawer-api.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +9 -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 +5 -0
- 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 +5 -0
- 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 +5 -0
- 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 +9 -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 +2 -0
- 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 +5 -0
- 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 +2 -0
- 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 +5 -0
- 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 +10 -0
- 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 +12 -1
- 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 +5 -0
- 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/standard/standard-api.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +5 -0
- 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/Badge.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Box.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Button.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Divider.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/components/Embed.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/EmptyState.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Image.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/Link.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Page.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Section.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Spinner.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Switch.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Tab.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TabList.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TabPanel.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Tabs.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Text.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +135 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +3 -2
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +24 -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/ReturnTransactionData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/device.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/money.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/order.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/product.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/session.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/docs/shared/components/Abbreviation.ts +1 -1
- package/src/docs/shared/components/Announcement.ts +1 -1
- package/src/docs/shared/components/Avatar.ts +2 -2
- package/src/docs/shared/components/Badge.ts +2 -2
- package/src/docs/shared/components/Banner.ts +2 -2
- package/src/docs/shared/components/Box.ts +2 -2
- package/src/docs/shared/components/Button.ts +2 -2
- package/src/docs/shared/components/ButtonGroup.ts +2 -2
- package/src/docs/shared/components/Checkbox.ts +2 -2
- package/src/docs/shared/components/Chip.ts +2 -2
- package/src/docs/shared/components/Choice.ts +1 -1
- package/src/docs/shared/components/ChoiceList.ts +2 -2
- package/src/docs/shared/components/Clickable.ts +2 -2
- package/src/docs/shared/components/ClickableChip.ts +2 -2
- package/src/docs/shared/components/ClipboardItem.ts +1 -1
- package/src/docs/shared/components/ColorField.ts +2 -2
- package/src/docs/shared/components/ColorPicker.ts +2 -2
- package/src/docs/shared/components/ConsentCheckbox.ts +1 -1
- package/src/docs/shared/components/ConsentPhoneField.ts +1 -1
- package/src/docs/shared/components/DateField.ts +2 -2
- package/src/docs/shared/components/DatePicker.ts +2 -2
- package/src/docs/shared/components/Details.ts +1 -1
- package/src/docs/shared/components/Divider.ts +2 -2
- package/src/docs/shared/components/DropZone.ts +1 -1
- package/src/docs/shared/components/EmailField.ts +2 -2
- package/src/docs/shared/components/Form.ts +2 -2
- package/src/docs/shared/components/FunctionSettings.ts +2 -2
- package/src/docs/shared/components/Grid.ts +2 -2
- package/src/docs/shared/components/GridItem.ts +1 -1
- package/src/docs/shared/components/Heading.ts +2 -2
- package/src/docs/shared/components/Icon.ts +2 -2
- package/src/docs/shared/components/Image.ts +2 -2
- package/src/docs/shared/components/Link.ts +2 -2
- package/src/docs/shared/components/ListItem.ts +1 -1
- package/src/docs/shared/components/Map.ts +1 -1
- package/src/docs/shared/components/MapMarker.ts +1 -1
- package/src/docs/shared/components/Menu.ts +1 -1
- package/src/docs/shared/components/Modal.ts +1 -1
- package/src/docs/shared/components/MoneyField.ts +2 -2
- package/src/docs/shared/components/NumberField.ts +2 -2
- package/src/docs/shared/components/Option.ts +1 -1
- package/src/docs/shared/components/OptionGroup.ts +1 -1
- package/src/docs/shared/components/OrderedList.ts +2 -2
- package/src/docs/shared/components/Page.ts +2 -2
- package/src/docs/shared/components/Paragraph.ts +2 -2
- package/src/docs/shared/components/PasswordField.ts +2 -2
- package/src/docs/shared/components/PaymentIcon.ts +1 -1
- package/src/docs/shared/components/PhoneField.ts +1 -1
- package/src/docs/shared/components/Popover.ts +1 -1
- package/src/docs/shared/components/PressButton.ts +1 -1
- package/src/docs/shared/components/ProductThumbnail.ts +1 -1
- package/src/docs/shared/components/Progress.ts +1 -1
- package/src/docs/shared/components/QRCode.ts +1 -1
- package/src/docs/shared/components/QueryContainer.ts +1 -1
- package/src/docs/shared/components/ScrollBox.ts +1 -1
- package/src/docs/shared/components/SearchField.ts +2 -2
- package/src/docs/shared/components/Section.ts +2 -2
- package/src/docs/shared/components/Select.ts +2 -2
- package/src/docs/shared/components/Sheet.ts +1 -1
- package/src/docs/shared/components/SkeletonParagraph.ts +1 -1
- package/src/docs/shared/components/Spinner.ts +2 -2
- package/src/docs/shared/components/Stack.ts +2 -2
- package/src/docs/shared/components/Summary.ts +1 -1
- package/src/docs/shared/components/Switch.ts +2 -2
- package/src/docs/shared/components/Table.ts +1 -1
- package/src/docs/shared/components/TableBody.ts +1 -1
- package/src/docs/shared/components/TableCell.ts +1 -1
- package/src/docs/shared/components/TableHeader.ts +1 -1
- package/src/docs/shared/components/TableHeaderRow.ts +1 -1
- package/src/docs/shared/components/TableRow.ts +1 -1
- package/src/docs/shared/components/Text.ts +2 -2
- package/src/docs/shared/components/TextArea.ts +2 -2
- package/src/docs/shared/components/TextField.ts +2 -2
- package/src/docs/shared/components/Thumbnail.ts +2 -2
- package/src/docs/shared/components/Time.ts +1 -1
- package/src/docs/shared/components/Tooltip.ts +1 -1
- package/src/docs/shared/components/URLField.ts +2 -2
- package/src/docs/shared/components/UnorderedList.ts +2 -2
- package/src/shared.ts +32 -12
- package/src/surfaces/admin/api/action/action.ts +1 -0
- package/src/surfaces/admin/api/block/block.ts +2 -0
- package/src/surfaces/admin/api/checkout-rules/launch-options.ts +7 -3
- package/src/surfaces/admin/api/checkout-rules/metafields.ts +13 -6
- package/src/surfaces/admin/api/checkout-rules/validation-settings.ts +1 -0
- package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +3 -0
- package/src/surfaces/admin/api/discount-function-settings/discount-function-settings.ts +1 -0
- package/src/surfaces/admin/api/discount-function-settings/launch-options.ts +7 -2
- package/src/surfaces/admin/api/discount-function-settings/metafields.ts +13 -6
- package/src/surfaces/admin/api/intents/intent-render.ts +26 -0
- package/src/surfaces/admin/api/intents/intents.ts +49 -8
- package/src/surfaces/admin/api/order-routing-rule/data.ts +5 -2
- package/src/surfaces/admin/api/order-routing-rule/metafields.ts +8 -3
- package/src/surfaces/admin/api/order-routing-rule/order-routing-rule.ts +1 -0
- package/src/surfaces/admin/api/picker/picker.ts +15 -6
- package/src/surfaces/admin/api/print-action/print-action.ts +1 -0
- package/src/surfaces/admin/api/product-configuration/product-details-configuration.ts +4 -1
- package/src/surfaces/admin/api/product-configuration/product-variant-details-configuration.ts +4 -1
- package/src/surfaces/admin/api/purchase-options-card-action.ts +1 -0
- package/src/surfaces/admin/api/resource-picker/resource-picker.ts +36 -17
- package/src/surfaces/admin/api/shared.ts +2 -0
- package/src/surfaces/admin/api/standard/standard-rendering.ts +3 -0
- package/src/surfaces/admin/api/standard/standard.ts +4 -1
- package/src/surfaces/admin/api/standard/storage.ts +4 -0
- package/src/surfaces/admin/api.ts +1 -0
- package/src/surfaces/admin/components/AdminAction.d.ts +6 -0
- package/src/surfaces/admin/components/AdminBlock.d.ts +6 -0
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +6 -0
- package/src/surfaces/admin/components/Avatar.d.ts +9 -0
- package/src/surfaces/admin/components/Badge.d.ts +10 -1
- package/src/surfaces/admin/components/Banner.d.ts +11 -0
- package/src/surfaces/admin/components/Box.d.ts +14 -0
- package/src/surfaces/admin/components/Button.d.ts +15 -1
- package/src/surfaces/admin/components/ButtonGroup.d.ts +8 -0
- package/src/surfaces/admin/components/Checkbox.d.ts +12 -1
- package/src/surfaces/admin/components/Chip.d.ts +4 -2
- package/src/surfaces/admin/components/Choice.d.ts +10 -2
- package/src/surfaces/admin/components/ChoiceList.d.ts +12 -2
- package/src/surfaces/admin/components/Clickable.d.ts +23 -11
- package/src/surfaces/admin/components/ClickableChip.d.ts +11 -0
- package/src/surfaces/admin/components/ColorField.d.ts +12 -0
- package/src/surfaces/admin/components/ColorPicker.d.ts +9 -0
- package/src/surfaces/admin/components/DateField.d.ts +11 -0
- package/src/surfaces/admin/components/DatePicker.d.ts +10 -1
- package/src/surfaces/admin/components/Divider.d.ts +7 -0
- package/src/surfaces/admin/components/DropZone.d.ts +8 -4
- package/src/surfaces/admin/components/EmailField.d.ts +12 -0
- package/src/surfaces/admin/components/Form.d.ts +10 -0
- package/src/surfaces/admin/components/FunctionSettings.d.ts +12 -0
- package/src/surfaces/admin/components/Grid.d.ts +28 -12
- package/src/surfaces/admin/components/GridItem.d.ts +22 -7
- package/src/surfaces/admin/components/Heading.d.ts +8 -0
- package/src/surfaces/admin/components/Icon.d.ts +6 -3
- package/src/surfaces/admin/components/Image.d.ts +22 -7
- package/src/surfaces/admin/components/Link.d.ts +13 -3
- package/src/surfaces/admin/components/ListItem.d.ts +8 -0
- package/src/surfaces/admin/components/Menu.d.ts +11 -0
- package/src/surfaces/admin/components/Modal.d.ts +8 -4
- package/src/surfaces/admin/components/MoneyField.d.ts +13 -0
- package/src/surfaces/admin/components/NumberField.d.ts +12 -0
- package/src/surfaces/admin/components/Option.d.ts +10 -2
- package/src/surfaces/admin/components/OptionGroup.d.ts +10 -2
- package/src/surfaces/admin/components/OrderedList.d.ts +8 -0
- package/src/surfaces/admin/components/Page.d.ts +4 -2
- package/src/surfaces/admin/components/Paragraph.d.ts +8 -0
- package/src/surfaces/admin/components/PasswordField.d.ts +12 -0
- package/src/surfaces/admin/components/QueryContainer.d.ts +8 -0
- package/src/surfaces/admin/components/SearchField.d.ts +13 -1
- package/src/surfaces/admin/components/Section.d.ts +9 -0
- package/src/surfaces/admin/components/Select.d.ts +14 -2
- package/src/surfaces/admin/components/Spinner.d.ts +7 -0
- package/src/surfaces/admin/components/Stack.d.ts +27 -11
- package/src/surfaces/admin/components/Switch.d.ts +12 -1
- package/src/surfaces/admin/components/Table.d.ts +15 -0
- package/src/surfaces/admin/components/TableBody.d.ts +8 -0
- package/src/surfaces/admin/components/TableCell.d.ts +9 -0
- package/src/surfaces/admin/components/TableHeader.d.ts +9 -0
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +8 -0
- package/src/surfaces/admin/components/TableRow.d.ts +8 -0
- package/src/surfaces/admin/components/Text.d.ts +19 -0
- package/src/surfaces/admin/components/TextArea.d.ts +12 -0
- package/src/surfaces/admin/components/TextField.d.ts +14 -1
- package/src/surfaces/admin/components/Thumbnail.d.ts +9 -0
- package/src/surfaces/admin/components/Tooltip.d.ts +11 -0
- package/src/surfaces/admin/components/URLField.d.ts +12 -0
- package/src/surfaces/admin/components/UnorderedList.d.ts +14 -0
- package/src/surfaces/admin/components/shared.d.ts +267 -0
- package/src/surfaces/admin/components.d.ts +722 -22
- package/src/surfaces/admin/extension-targets.ts +12 -0
- package/src/surfaces/checkout/api/address-autocomplete/format-suggestion.ts +2 -0
- package/src/surfaces/checkout/api/address-autocomplete/shared.ts +3 -0
- package/src/surfaces/checkout/api/address-autocomplete/standard.ts +1 -0
- package/src/surfaces/checkout/api/address-autocomplete/suggest.ts +2 -0
- package/src/surfaces/checkout/api/announcement/announcement.ts +1 -0
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +5 -1
- package/src/surfaces/checkout/api/checkout/checkout.ts +258 -122
- package/src/surfaces/checkout/api/docs.ts +34 -3
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +12 -5
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +7 -0
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +3 -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/redeemable/redeemable.ts +7 -0
- package/src/surfaces/checkout/api/shared.ts +79 -31
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +6 -4
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +18 -12
- package/src/surfaces/checkout/api/standard/standard.ts +661 -446
- package/src/surfaces/checkout/components/Abbreviation.d.ts +4 -0
- package/src/surfaces/checkout/components/Announcement.d.ts +38 -9
- package/src/surfaces/checkout/components/Badge.d.ts +46 -3
- package/src/surfaces/checkout/components/Banner.d.ts +64 -9
- package/src/surfaces/checkout/components/Box.d.ts +52 -0
- package/src/surfaces/checkout/components/Button.d.ts +16 -3
- package/src/surfaces/checkout/components/Chat.d.ts +20 -0
- package/src/surfaces/checkout/components/Checkbox.d.ts +17 -2
- package/src/surfaces/checkout/components/Chip.d.ts +8 -0
- package/src/surfaces/checkout/components/Choice.d.ts +8 -0
- package/src/surfaces/checkout/components/ChoiceList.d.ts +17 -2
- package/src/surfaces/checkout/components/Clickable.d.ts +37 -7
- package/src/surfaces/checkout/components/ClickableChip.d.ts +23 -5
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +16 -2
- package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +17 -2
- package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +29 -10
- package/src/surfaces/checkout/components/DateField.d.ts +31 -6
- package/src/surfaces/checkout/components/DatePicker.d.ts +28 -5
- package/src/surfaces/checkout/components/Details.d.ts +14 -0
- package/src/surfaces/checkout/components/Divider.d.ts +1 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +22 -3
- package/src/surfaces/checkout/components/EmailField.d.ts +29 -10
- package/src/surfaces/checkout/components/Form.d.ts +16 -1
- package/src/surfaces/checkout/components/Grid.d.ts +139 -0
- package/src/surfaces/checkout/components/GridItem.d.ts +57 -0
- package/src/surfaces/checkout/components/Heading.d.ts +4 -0
- package/src/surfaces/checkout/components/Icon.d.ts +49 -4
- package/src/surfaces/checkout/components/Image.d.ts +43 -1
- package/src/surfaces/checkout/components/Link.d.ts +16 -3
- package/src/surfaces/checkout/components/ListItem.d.ts +4 -0
- package/src/surfaces/checkout/components/Map.d.ts +68 -6
- package/src/surfaces/checkout/components/MapMarker.d.ts +39 -8
- package/src/surfaces/checkout/components/Modal.d.ts +52 -8
- package/src/surfaces/checkout/components/MoneyField.d.ts +23 -8
- package/src/surfaces/checkout/components/NumberField.d.ts +29 -10
- package/src/surfaces/checkout/components/Option.d.ts +4 -0
- package/src/surfaces/checkout/components/OrderedList.d.ts +4 -0
- package/src/surfaces/checkout/components/Paragraph.d.ts +4 -0
- package/src/surfaces/checkout/components/PasswordField.d.ts +29 -10
- package/src/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
- package/src/surfaces/checkout/components/PhoneField.d.ts +29 -10
- package/src/surfaces/checkout/components/Popover.d.ts +39 -22
- package/src/surfaces/checkout/components/PressButton.d.ts +20 -6
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
- package/src/surfaces/checkout/components/Progress.d.ts +29 -0
- package/src/surfaces/checkout/components/QRCode.d.ts +28 -3
- package/src/surfaces/checkout/components/QueryContainer.d.ts +1 -0
- package/src/surfaces/checkout/components/ScrollBox.d.ts +57 -0
- package/src/surfaces/checkout/components/Section.d.ts +4 -0
- package/src/surfaces/checkout/components/Select.d.ts +21 -6
- package/src/surfaces/checkout/components/Sheet.d.ts +40 -13
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +4 -0
- package/src/surfaces/checkout/components/Spinner.d.ts +18 -0
- package/src/surfaces/checkout/components/Stack.d.ts +112 -0
- package/src/surfaces/checkout/components/Summary.d.ts +4 -0
- package/src/surfaces/checkout/components/Switch.d.ts +17 -2
- package/src/surfaces/checkout/components/Text.d.ts +4 -0
- package/src/surfaces/checkout/components/TextArea.d.ts +23 -8
- package/src/surfaces/checkout/components/TextField.d.ts +29 -10
- package/src/surfaces/checkout/components/Time.d.ts +4 -0
- package/src/surfaces/checkout/components/Tooltip.d.ts +21 -2
- package/src/surfaces/checkout/components/UnorderedList.d.ts +4 -0
- package/src/surfaces/checkout/components/UrlField.d.ts +29 -10
- package/src/surfaces/checkout/components/components-shared.d.ts +616 -605
- package/src/surfaces/checkout/components/components.d.ts +568 -288
- package/src/surfaces/checkout/extension-targets.ts +13 -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 +2 -0
- package/src/surfaces/checkout/preact/market.ts +1 -0
- package/src/surfaces/checkout/preact/metafields.ts +1 -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 +11 -21
- package/src/surfaces/checkout/style/style.ts +1 -0
- package/src/surfaces/checkout/style/types.ts +20 -7
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +3 -0
- package/src/surfaces/customer-account/api/docs.ts +236 -5
- package/src/surfaces/customer-account/api/order-status/order-status.ts +461 -295
- package/src/surfaces/customer-account/api/shared.ts +210 -137
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +84 -68
- package/src/surfaces/customer-account/components/Avatar.d.ts +43 -15
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +3 -3
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/src/surfaces/customer-account/components/ImageGroup.d.ts +7 -2
- package/src/surfaces/customer-account/components/Menu.d.ts +1 -1
- package/src/surfaces/customer-account/components/Page.d.ts +5 -5
- package/src/surfaces/customer-account/components/Section.d.ts +3 -7
- package/src/surfaces/customer-account/components/shared.ts +23 -5
- package/src/surfaces/customer-account/components.d.ts +93 -0
- package/src/surfaces/customer-account/extension-targets.ts +8 -0
- package/src/surfaces/point-of-sale/api/action-api/action-api.ts +4 -0
- package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +3 -0
- package/src/surfaces/point-of-sale/api/camera-api/camera-api.ts +4 -0
- package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +7 -0
- package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +1 -0
- package/src/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.ts +2 -0
- package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +9 -0
- package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/device-api/device-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +5 -0
- 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 +9 -0
- package/src/surfaces/point-of-sale/api/order-api/order-api.ts +2 -0
- package/src/surfaces/point-of-sale/api/pin-pad-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/print-api/print-api.ts +2 -0
- package/src/surfaces/point-of-sale/api/product-api/product-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +10 -0
- package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +12 -1
- package/src/surfaces/point-of-sale/api/session-api/session-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +3 -0
- package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +1 -0
- package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +5 -0
- package/src/surfaces/point-of-sale/components/Badge.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/Banner.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Box.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Button.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Choice.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Clickable.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/DateField.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/DatePicker.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Divider.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/EmailField.d.ts +8 -0
- package/src/surfaces/point-of-sale/components/Embed.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/EmptyState.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Heading.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/Icon.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Image.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/Link.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Modal.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/NumberField.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Page.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/PosBlock.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/QrCode.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Section.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Spinner.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Stack.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Switch.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Tab.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TabList.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TabPanel.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Tabs.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Text.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/TextArea.d.ts +8 -0
- package/src/surfaces/point-of-sale/components/TextField.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Tile.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TimeField.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TimePicker.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +135 -0
- package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components.d.ts +286 -0
- package/src/surfaces/point-of-sale/event/data/BaseApi.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/BaseData.ts +7 -2
- package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +2 -0
- package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +24 -2
- package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +2 -0
- package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +1 -0
- package/src/surfaces/point-of-sale/extension-targets.ts +18 -0
- package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +1 -0
- package/src/surfaces/point-of-sale/types/cart.ts +13 -0
- package/src/surfaces/point-of-sale/types/country-code.ts +1 -0
- package/src/surfaces/point-of-sale/types/device.ts +1 -0
- package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +1 -0
- package/src/surfaces/point-of-sale/types/discount-allocation.ts +1 -0
- package/src/surfaces/point-of-sale/types/money.ts +2 -0
- package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +1 -0
- package/src/surfaces/point-of-sale/types/order.ts +2 -0
- package/src/surfaces/point-of-sale/types/paginated-result.ts +1 -0
- package/src/surfaces/point-of-sale/types/payment.ts +2 -0
- package/src/surfaces/point-of-sale/types/pin-pad.ts +5 -0
- package/src/surfaces/point-of-sale/types/product.ts +5 -0
- package/src/surfaces/point-of-sale/types/session.ts +1 -0
- package/src/surfaces/point-of-sale/types/shipping-line.ts +3 -0
- package/src/surfaces/point-of-sale/types/storage.ts +4 -0
- package/src/surfaces/point-of-sale/types/tax-line.ts +1 -0
- package/src/surfaces/point-of-sale/types/transaction-type.ts +1 -0
|
@@ -2,547 +2,654 @@ import type { CurrencyCode, Country, Timezone, SellingPlan, Attribute, MailingAd
|
|
|
2
2
|
import type { ExtensionTarget } from '../../extension-targets';
|
|
3
3
|
import { Extension } from '../shared';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* A [metafield](/docs/apps/build/custom-data/metafields) attached to a Shopify resource, such as a product, variant, customer, or the shop. Metafields let merchants and apps store custom data beyond what Shopify provides by default.
|
|
6
|
+
* @publicDocs
|
|
6
7
|
*/
|
|
7
8
|
export interface AppMetafield {
|
|
8
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* The identifier for the metafield within its namespace, such as `'ingredients'` or `'shipping_weight'`.
|
|
11
|
+
*/
|
|
9
12
|
key: string;
|
|
10
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* The namespace that the metafield belongs to. Namespaces group related metafields and prevent naming collisions between different apps.
|
|
15
|
+
*/
|
|
11
16
|
namespace: string;
|
|
12
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* The data stored in the metafield. The format depends on the `valueType`: a string for `'string'`, a number for `'integer'` or `'float'`, a boolean for `'boolean'`, or a serialized JSON object for `'json_string'`.
|
|
19
|
+
*/
|
|
13
20
|
value: string | number | boolean;
|
|
14
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* The data type of the metafield value. Determines how to interpret the `value` field:
|
|
23
|
+
*
|
|
24
|
+
* - `'boolean'`: A `true` or `false` value.
|
|
25
|
+
* - `'float'`: A decimal number.
|
|
26
|
+
* - `'integer'`: A whole number.
|
|
27
|
+
* - `'json_string'`: A serialized JSON object or array.
|
|
28
|
+
* - `'string'`: A plain text value.
|
|
29
|
+
*/
|
|
15
30
|
valueType: 'boolean' | 'float' | 'integer' | 'json_string' | 'string';
|
|
16
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* The metafield's [content type](/docs/apps/build/custom-data/metafields/list-of-data-types), which provides more specific type information than `valueType`. For example, `'single_line_text_field'`, `'number_integer'`, or `'json'`.
|
|
33
|
+
*/
|
|
17
34
|
type: string;
|
|
18
35
|
}
|
|
19
36
|
/**
|
|
20
|
-
*
|
|
37
|
+
* A [metafield](/docs/apps/build/custom-data/metafields) attached to the cart. Cart metafields are temporary and only persist for the duration of the checkout session.
|
|
38
|
+
* @publicDocs
|
|
21
39
|
*/
|
|
22
40
|
export interface CartMetafield {
|
|
23
|
-
/**
|
|
41
|
+
/**
|
|
42
|
+
* The identifier for the metafield within its namespace.
|
|
43
|
+
*/
|
|
24
44
|
key: string;
|
|
25
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* The namespace that the metafield belongs to. Namespaces group related metafields and prevent naming collisions between different apps.
|
|
47
|
+
*/
|
|
26
48
|
namespace: string;
|
|
27
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* The string value stored in the cart metafield. Unlike `AppMetafield`, cart metafield values are always strings.
|
|
51
|
+
*/
|
|
28
52
|
value: string;
|
|
29
|
-
/**
|
|
53
|
+
/**
|
|
54
|
+
* The metafield's [content type](/docs/apps/build/custom-data/metafields/list-of-data-types), which describes the structure and validation of the value. For example, `'single_line_text_field'` or `'json'`.
|
|
55
|
+
*/
|
|
30
56
|
type: string;
|
|
31
57
|
}
|
|
32
58
|
/**
|
|
33
|
-
* The metafield
|
|
59
|
+
* The Shopify resource that a metafield is attached to. Each entry identifies a specific resource by its type and globally-unique ID, so your extension can determine where the metafield data originates.
|
|
60
|
+
* @publicDocs
|
|
34
61
|
*/
|
|
35
62
|
export interface AppMetafieldEntryTarget {
|
|
36
63
|
/**
|
|
37
|
-
* The
|
|
64
|
+
* The kind of Shopify resource this metafield belongs to:
|
|
65
|
+
*
|
|
66
|
+
* - `'customer'`: The customer who placed the order.
|
|
67
|
+
* - `'product'`: A product in the merchant's catalog.
|
|
68
|
+
* - `'shop'`: The merchant's shop.
|
|
69
|
+
* - `'variant'`: A specific variant of a product.
|
|
70
|
+
* - `'company'`: A B2B company associated with the order.
|
|
71
|
+
* - `'companyLocation'`: A location belonging to a B2B company.
|
|
72
|
+
* - `'cart'`: The cart associated with the order.
|
|
38
73
|
*
|
|
39
|
-
* {% 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
|
|
74
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data) when the type is `customer`, `company`, or `companyLocation`.
|
|
40
75
|
*/
|
|
41
76
|
type: 'customer' | 'product' | 'shop' | 'variant' | 'company' | 'companyLocation' | 'cart' | 'order';
|
|
42
|
-
/**
|
|
77
|
+
/**
|
|
78
|
+
* 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 GraphQL API.
|
|
79
|
+
*
|
|
80
|
+
* @example 'gid://shopify/Product/123'
|
|
81
|
+
*/
|
|
43
82
|
id: string;
|
|
44
83
|
}
|
|
45
84
|
/**
|
|
46
|
-
*
|
|
85
|
+
* An entry that pairs a Shopify resource with one of its [metafields](/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. Use `appMetafields` on the Order API to access these entries.
|
|
86
|
+
* @publicDocs
|
|
47
87
|
*/
|
|
48
88
|
export interface AppMetafieldEntry {
|
|
49
89
|
/**
|
|
50
|
-
* The
|
|
51
|
-
*
|
|
52
|
-
* {% 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`.
|
|
53
|
-
*/
|
|
90
|
+
* The Shopify resource that this metafield is attached to, including the resource type (such as `'product'` or `'customer'`) and its globally-unique ID.
|
|
91
|
+
* */
|
|
54
92
|
target: AppMetafieldEntryTarget;
|
|
55
|
-
/**
|
|
93
|
+
/**
|
|
94
|
+
* 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.
|
|
95
|
+
*/
|
|
56
96
|
metafield: AppMetafield;
|
|
57
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* @publicDocs
|
|
100
|
+
*/
|
|
58
101
|
export type Version = string;
|
|
102
|
+
/**
|
|
103
|
+
* @publicDocs
|
|
104
|
+
*/
|
|
59
105
|
export interface Currency {
|
|
60
106
|
/**
|
|
61
|
-
* The
|
|
62
|
-
* @see https://www.iso.org/iso-4217-currency-codes.html
|
|
107
|
+
* The three-letter currency code in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format, such as `'USD'`, `'EUR'`, or `'CAD'`.
|
|
63
108
|
*/
|
|
64
109
|
isoCode: CurrencyCode;
|
|
65
110
|
}
|
|
111
|
+
/**
|
|
112
|
+
* @publicDocs
|
|
113
|
+
*/
|
|
66
114
|
export interface Market {
|
|
67
115
|
/**
|
|
68
|
-
* A globally-unique identifier for
|
|
116
|
+
* A globally-unique identifier for the market in the format `gid://shopify/Market/<id>`.
|
|
69
117
|
*/
|
|
70
118
|
id: string;
|
|
71
119
|
/**
|
|
72
|
-
* The human-readable, shop-scoped identifier for the market.
|
|
120
|
+
* The human-readable, shop-scoped identifier for the market, such as `'us'` or `'eu'`. Merchants define these handles when configuring [Shopify Markets](/docs/apps/build/markets).
|
|
73
121
|
*/
|
|
74
122
|
handle: string;
|
|
75
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* @publicDocs
|
|
126
|
+
*/
|
|
76
127
|
export interface OrderStatusLocalization {
|
|
77
128
|
/**
|
|
78
|
-
* The currency
|
|
129
|
+
* The currency used to display money amounts on the **Order status** page. Use this value
|
|
130
|
+
* to format prices and totals in the buyer's expected currency.
|
|
79
131
|
*/
|
|
80
132
|
currency: SubscribableSignalLike<Currency>;
|
|
81
133
|
/**
|
|
82
|
-
* The buyer
|
|
134
|
+
* The buyer's time zone, derived from their browser or account settings. Use this value
|
|
135
|
+
* to format dates and times relative to the buyer's local time.
|
|
83
136
|
*/
|
|
84
137
|
timezone: SubscribableSignalLike<Timezone>;
|
|
85
138
|
/**
|
|
86
|
-
* The language the buyer sees
|
|
139
|
+
* The language the buyer sees on the **Order status** page. This reflects the language
|
|
140
|
+
* selected by the buyer or determined by their browser settings, and may differ from
|
|
141
|
+
* the languages your extension supports.
|
|
87
142
|
*/
|
|
88
143
|
language: SubscribableSignalLike<Language>;
|
|
89
144
|
/**
|
|
90
|
-
*
|
|
91
|
-
* If the buyer's
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
* only supports translations for 'fr', then the `isoCode` for this
|
|
96
|
-
* language is 'fr'. If your extension does not provide french
|
|
97
|
-
* translations at all, this value is the default locale for your
|
|
98
|
-
* extension (that is, the one matching your .default.json file).
|
|
145
|
+
* The best available language match for your extension based on the buyer's language.
|
|
146
|
+
* If the buyer's language is `fr-CA` but your extension only supports `fr`, this
|
|
147
|
+
* returns `fr`. If your extension doesn't support any variant of the buyer's language,
|
|
148
|
+
* this falls back to your extension's default locale (the `.default.json` translation file).
|
|
149
|
+
* Use this value to load the correct translation file for your extension.
|
|
99
150
|
*/
|
|
100
151
|
extensionLanguage: SubscribableSignalLike<Language>;
|
|
101
152
|
/**
|
|
102
|
-
* The country
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
153
|
+
* The country associated with the order, carried over from the cart context where it was
|
|
154
|
+
* used to contextualize the storefront experience. Use this value to display region-specific
|
|
155
|
+
* content such as local support information or regional policies. The value is `undefined`
|
|
156
|
+
* if the buyer's country is unknown.
|
|
106
157
|
*/
|
|
107
158
|
country: SubscribableSignalLike<Country | undefined>;
|
|
108
159
|
/**
|
|
109
|
-
* The [market](
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
* buyer changes the country of their shipping address. The value is undefined
|
|
113
|
-
* if unknown.
|
|
160
|
+
* The [market](/docs/apps/build/markets) associated with the order, carried
|
|
161
|
+
* over from the cart context. Markets group countries and regions with shared pricing,
|
|
162
|
+
* languages, and domains. The value is `undefined` if the market is unknown.
|
|
114
163
|
*/
|
|
115
164
|
market: SubscribableSignalLike<Market | undefined>;
|
|
116
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* The buyer's authentication status on the **Order status** page:
|
|
168
|
+
*
|
|
169
|
+
* - `'fully_authenticated'`: The buyer has logged in to their customer account.
|
|
170
|
+
* - `'pre_authenticated'`: The buyer accessed the page via a direct link, such as from an order confirmation email, without logging in.
|
|
171
|
+
* @publicDocs
|
|
172
|
+
*/
|
|
117
173
|
export type AuthenticationState = 'fully_authenticated' | 'pre_authenticated';
|
|
174
|
+
/**
|
|
175
|
+
* @publicDocs
|
|
176
|
+
*/
|
|
118
177
|
export interface OrderStatusApi<Target extends ExtensionTarget> {
|
|
119
178
|
/**
|
|
120
|
-
*
|
|
179
|
+
* The gift cards that were applied to the order. Each gift card includes the last four
|
|
180
|
+
* characters of the code, the amount used for this order, and the remaining balance.
|
|
121
181
|
*/
|
|
122
182
|
appliedGiftCards: SubscribableSignalLike<AppliedGiftCard[]>;
|
|
123
183
|
/**
|
|
124
|
-
* The metafields requested in the
|
|
125
|
-
* [`shopify.
|
|
126
|
-
* file.
|
|
127
|
-
*
|
|
184
|
+
* The [metafields](/docs/apps/build/custom-data/metafields) requested in the
|
|
185
|
+
* [`shopify.extension.toml`](/docs/api/customer-account-ui-extensions/latest#configuration)
|
|
186
|
+
* file. Metafields are custom data fields that store additional information on Shopify resources
|
|
187
|
+
* such as products, variants, customers, and the shop. These metafields are updated when there's
|
|
188
|
+
* a change in the merchandise items being purchased by the customer.
|
|
128
189
|
*
|
|
129
190
|
* 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}]` is not supported. See [app owned metafields](/docs/apps/build/custom-data/ownership#reserved-prefixes) for more information.
|
|
130
191
|
*
|
|
131
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
192
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data) when accessing metafields attached to `customer`, `company`, or `companyLocation` resources.
|
|
132
193
|
*/
|
|
133
194
|
appMetafields: SubscribableSignalLike<AppMetafieldEntry[]>;
|
|
134
195
|
/**
|
|
135
|
-
*
|
|
196
|
+
* The custom key-value pairs attached to the order by the customer or by other extensions
|
|
197
|
+
* during cart or checkout. These are commonly used for delivery instructions, gift messages,
|
|
198
|
+
* or other information the buyer provides. The value is `undefined` if no attributes were set.
|
|
136
199
|
*/
|
|
137
200
|
attributes: SubscribableSignalLike<Attribute[] | undefined>;
|
|
138
201
|
/**
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
202
|
+
* The buyer who placed the order, including their customer account, email, phone number, and B2B purchasing company. Use this to personalize the **Order status** page or identify B2B orders.
|
|
142
203
|
*/
|
|
143
204
|
buyerIdentity?: OrderStatusBuyerIdentity;
|
|
144
205
|
/**
|
|
145
|
-
*
|
|
206
|
+
* The checkout settings that were active when the buyer placed the order, such as
|
|
207
|
+
* whether order notes and login are enabled.
|
|
146
208
|
*/
|
|
147
209
|
checkoutSettings: SubscribableSignalLike<CheckoutSettings>;
|
|
148
210
|
/**
|
|
149
|
-
*
|
|
211
|
+
* A breakdown of the costs for the order, including the subtotal, shipping, tax, and total amounts.
|
|
150
212
|
*/
|
|
151
213
|
cost: CartCost;
|
|
152
214
|
/**
|
|
153
|
-
* A list of discount codes applied to the
|
|
215
|
+
* A list of discount codes that the buyer entered during checkout and that were applied to the order.
|
|
154
216
|
*/
|
|
155
217
|
discountCodes: SubscribableSignalLike<CartDiscountCode[]>;
|
|
156
218
|
/**
|
|
157
|
-
*
|
|
219
|
+
* The cart-level discount allocations applied to the order. A discount allocation represents
|
|
220
|
+
* how a discount is distributed across the order. Each allocation includes the discounted
|
|
221
|
+
* amount and one of the following types:
|
|
222
|
+
*
|
|
223
|
+
* - `CartCodeDiscountAllocation`: A discount the buyer applied by entering a code at checkout.
|
|
224
|
+
* - `CartAutomaticDiscountAllocation`: A discount the merchant configured in Shopify admin to apply automatically.
|
|
225
|
+
* - `CartCustomDiscountAllocation`: A discount created programmatically by a [Shopify Function](/docs/apps/build/functions).
|
|
158
226
|
*/
|
|
159
227
|
discountAllocations: SubscribableSignalLike<CartDiscountAllocation[]>;
|
|
160
228
|
/**
|
|
161
|
-
*
|
|
229
|
+
* Metadata about the current extension, including its target, API version, and capabilities.
|
|
162
230
|
*/
|
|
163
231
|
extension: Extension<Target>;
|
|
164
232
|
/**
|
|
165
|
-
* The identifier that specifies where in Shopify
|
|
166
|
-
* injected. This will be one of the targets you have included in your
|
|
167
|
-
* extension’s configuration file.
|
|
233
|
+
* The identifier that specifies where in Shopify's UI your code is being injected. This will be one of the targets you have included in your extension's configuration file.
|
|
168
234
|
*
|
|
169
235
|
* @example 'customer-account.order-status.block.render'
|
|
170
|
-
* @see
|
|
171
|
-
* @see
|
|
236
|
+
* @see /docs/api/customer-account-ui-extensions/extension-targets-overview
|
|
237
|
+
* @see /docs/apps/app-extensions/configuration#targets
|
|
172
238
|
*
|
|
173
239
|
* @deprecated Deprecated as of version `2023-07`, use `extension.target` instead.
|
|
174
240
|
*/
|
|
175
241
|
extensionPoint: Target;
|
|
176
242
|
/**
|
|
177
|
-
* A list of
|
|
243
|
+
* A list of line items in the order. Each line includes the merchandise, quantity, cost,
|
|
244
|
+
* custom attributes, and discount allocations.
|
|
178
245
|
*/
|
|
179
246
|
lines: SubscribableSignalLike<CartLine[]>;
|
|
180
247
|
/**
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
* [
|
|
184
|
-
*
|
|
248
|
+
* The buyer's locale, currency, time zone, country, and market context for the order.
|
|
249
|
+
* Use these values to adapt your extension's content to the buyer's region. For formatted
|
|
250
|
+
* dates, numbers, and translated strings, use the [Localization API](/docs/api/customer-account-ui-extensions/target-apis/platform-apis/localization-api)
|
|
251
|
+
* instead.
|
|
185
252
|
*/
|
|
186
253
|
localization: OrderStatusLocalization;
|
|
187
254
|
/**
|
|
188
255
|
* A note left by the customer to the merchant, either in their cart or during checkout.
|
|
256
|
+
* The value is `undefined` if no note was provided.
|
|
189
257
|
*/
|
|
190
258
|
note: SubscribableSignalLike<string | undefined>;
|
|
191
259
|
/**
|
|
192
|
-
*
|
|
260
|
+
* The order that was placed after checkout completion. Includes the order ID,
|
|
261
|
+
* display name, confirmation number, and timestamps for processing and cancellation.
|
|
262
|
+
* The value is `undefined` if the order hasn't been fully processed yet.
|
|
193
263
|
*/
|
|
194
264
|
order: SubscribableSignalLike<Order | undefined>;
|
|
195
265
|
/**
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
* and the `checkout_token` field in the [Admin REST API Order resource](
|
|
266
|
+
* The token that identifies the checkout session used to create the order. Use this value
|
|
267
|
+
* to correlate the order with analytics events or backend API calls. This matches the
|
|
268
|
+
* `token` field in the [WebPixel checkout payload](/docs/api/pixels/customer-events#checkout)
|
|
269
|
+
* and the `checkout_token` field in the [Admin REST API Order resource](/docs/api/admin-rest/unstable/resources/order#resource-object).
|
|
270
|
+
* The value is `undefined` if the checkout token is unavailable.
|
|
200
271
|
*/
|
|
201
272
|
checkoutToken: SubscribableSignalLike<CheckoutToken | undefined>;
|
|
202
273
|
/**
|
|
203
|
-
* The
|
|
204
|
-
*
|
|
205
|
-
*
|
|
274
|
+
* The shipping address that the buyer provided for the order. This is where physical goods
|
|
275
|
+
* are delivered. The value is `undefined` if the order contains only digital products or
|
|
276
|
+
* if a shipping address wasn't required.
|
|
206
277
|
*/
|
|
207
278
|
shippingAddress?: SubscribableSignalLike<MailingAddress | undefined>;
|
|
208
279
|
/**
|
|
209
|
-
* The
|
|
210
|
-
*
|
|
211
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
280
|
+
* The billing address associated with the buyer's payment method for the order. The value
|
|
281
|
+
* is `undefined` if the order doesn't have a billing address on file.
|
|
212
282
|
*/
|
|
213
283
|
billingAddress?: SubscribableSignalLike<MailingAddress | undefined>;
|
|
214
|
-
/**
|
|
284
|
+
/**
|
|
285
|
+
* The shop where the order was placed. Includes the shop ID, name, primary
|
|
286
|
+
* storefront URL, and myshopify.com domain.
|
|
287
|
+
*/
|
|
215
288
|
shop: Shop;
|
|
216
289
|
/**
|
|
217
|
-
* The
|
|
290
|
+
* The API version that the extension is using, such as `'2026-01'` or `'unstable'`. This corresponds to the version declared in your extension's configuration.
|
|
218
291
|
*
|
|
219
292
|
* @example 'unstable'
|
|
220
293
|
*/
|
|
221
294
|
version: Version;
|
|
222
295
|
/**
|
|
223
|
-
*
|
|
296
|
+
* Triggers a login prompt if the customer is viewing a pre-authenticated **Order status** page.
|
|
297
|
+
* Use this to require full authentication before displaying sensitive information in your extension.
|
|
224
298
|
*/
|
|
225
299
|
requireLogin: () => Promise<void>;
|
|
226
300
|
/**
|
|
227
|
-
* The authentication
|
|
301
|
+
* The buyer's current authentication level on the **Order status** page. Use this to determine whether to display sensitive information or prompt the buyer to log in.
|
|
228
302
|
*/
|
|
229
303
|
authenticationState: SubscribableSignalLike<AuthenticationState>;
|
|
230
304
|
}
|
|
305
|
+
/**
|
|
306
|
+
* Information about the buyer who placed the order.
|
|
307
|
+
*
|
|
308
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/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.
|
|
309
|
+
* @publicDocs
|
|
310
|
+
*/
|
|
231
311
|
export interface OrderStatusBuyerIdentity {
|
|
232
312
|
/**
|
|
233
|
-
* The buyer's customer account
|
|
234
|
-
*
|
|
235
|
-
*
|
|
236
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
313
|
+
* The buyer's customer account, including their ID and whether they have accepted marketing.
|
|
314
|
+
* The value is `undefined` if the buyer is a guest or hasn't logged in yet.
|
|
237
315
|
*/
|
|
238
316
|
customer: SubscribableSignalLike<OrderStatusCustomer | undefined>;
|
|
239
317
|
/**
|
|
240
|
-
* The email address
|
|
241
|
-
* The value is `undefined` if the app
|
|
242
|
-
*
|
|
243
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
318
|
+
* The email address associated with the order. This is the email the buyer provided during
|
|
319
|
+
* checkout for order confirmation and communication. The value is `undefined` if the app
|
|
320
|
+
* doesn't have access to customer data.
|
|
244
321
|
*/
|
|
245
322
|
email: SubscribableSignalLike<string | undefined>;
|
|
246
323
|
/**
|
|
247
|
-
* The phone number
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
324
|
+
* The phone number the buyer provided during checkout. The value is `undefined` if no phone
|
|
325
|
+
* number was provided or the app doesn't have access to customer data.
|
|
251
326
|
*/
|
|
252
327
|
phone: SubscribableSignalLike<string | undefined>;
|
|
253
328
|
/**
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
*
|
|
258
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
329
|
+
* The company and company location that a B2B (business-to-business) customer is purchasing
|
|
330
|
+
* on behalf of. Use this to identify the business context of the order. The value is
|
|
331
|
+
* `undefined` if the buyer isn't a B2B customer.
|
|
259
332
|
*/
|
|
260
333
|
purchasingCompany: SubscribableSignalLike<OrderStatusPurchasingCompany | undefined>;
|
|
261
334
|
}
|
|
262
335
|
/**
|
|
263
336
|
* Information about a company that the business customer is purchasing on behalf of.
|
|
337
|
+
*
|
|
338
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
339
|
+
* @publicDocs
|
|
264
340
|
*/
|
|
265
341
|
export interface OrderStatusPurchasingCompany {
|
|
266
342
|
/**
|
|
267
|
-
*
|
|
268
|
-
*
|
|
269
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
343
|
+
* The company that the B2B customer is purchasing on behalf of, including the company ID, name, and optional external ID.
|
|
270
344
|
*/
|
|
271
345
|
company: OrderStatusCompany;
|
|
272
346
|
/**
|
|
273
|
-
*
|
|
274
|
-
*
|
|
275
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
347
|
+
* The specific company location where the order is being placed, including the location ID, name, and optional external ID.
|
|
276
348
|
*/
|
|
277
349
|
location: OrderStatusCompanyLocation;
|
|
278
350
|
}
|
|
351
|
+
/**
|
|
352
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
353
|
+
* @publicDocs
|
|
354
|
+
*/
|
|
279
355
|
export interface OrderStatusCompany {
|
|
280
356
|
/**
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
357
|
+
* A globally-unique identifier for the company in the format `gid://shopify/Company/<id>`.
|
|
284
358
|
*/
|
|
285
359
|
id: string;
|
|
286
360
|
/**
|
|
287
|
-
* The name of the company.
|
|
288
|
-
*
|
|
289
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
361
|
+
* The registered business name of the company, as configured by the merchant in Shopify admin.
|
|
290
362
|
*/
|
|
291
363
|
name: string;
|
|
292
364
|
/**
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
365
|
+
* A merchant-defined external identifier for the company, often used to map to an ID in an external ERP or CRM system. The value is `undefined` if no external ID has been set.
|
|
296
366
|
*/
|
|
297
367
|
externalId?: string;
|
|
298
368
|
}
|
|
369
|
+
/**
|
|
370
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
371
|
+
* @publicDocs
|
|
372
|
+
*/
|
|
299
373
|
export interface OrderStatusCompanyLocation {
|
|
300
374
|
/**
|
|
301
|
-
*
|
|
302
|
-
*
|
|
303
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
375
|
+
* A globally-unique identifier for the company location in the format `gid://shopify/CompanyLocation/<id>`.
|
|
304
376
|
*/
|
|
305
377
|
id: string;
|
|
306
378
|
/**
|
|
307
|
-
* The name of the company location.
|
|
308
|
-
*
|
|
309
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
379
|
+
* The display name of the company location, such as a branch office or warehouse name.
|
|
310
380
|
*/
|
|
311
381
|
name: string;
|
|
312
382
|
/**
|
|
313
|
-
*
|
|
314
|
-
*
|
|
315
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
383
|
+
* A merchant-defined external identifier for the company location, often used to map to an ID in an external ERP or CRM system. The value is `undefined` if no external ID has been set.
|
|
316
384
|
*/
|
|
317
385
|
externalId?: string;
|
|
318
386
|
}
|
|
387
|
+
/**
|
|
388
|
+
* @publicDocs
|
|
389
|
+
*/
|
|
319
390
|
export interface AppliedGiftCard {
|
|
320
391
|
/**
|
|
321
|
-
* The last four characters of the applied gift card's code.
|
|
392
|
+
* The last four characters of the applied gift card's code. The full code isn't available for security reasons.
|
|
322
393
|
*/
|
|
323
394
|
lastCharacters: string;
|
|
324
395
|
/**
|
|
325
|
-
* The amount of the applied gift card that
|
|
396
|
+
* The amount of the applied gift card that was used for this order.
|
|
326
397
|
*/
|
|
327
398
|
amountUsed: Money;
|
|
328
399
|
/**
|
|
329
|
-
* The
|
|
400
|
+
* The remaining balance of the applied gift card after the order was placed.
|
|
330
401
|
*/
|
|
331
402
|
balance: Money;
|
|
332
403
|
}
|
|
404
|
+
/**
|
|
405
|
+
* @publicDocs
|
|
406
|
+
*/
|
|
333
407
|
export interface Shop {
|
|
334
408
|
/**
|
|
335
|
-
*
|
|
409
|
+
* A globally-unique identifier for the shop in the format `gid://shopify/Shop/<id>`.
|
|
410
|
+
*
|
|
336
411
|
* @example 'gid://shopify/Shop/123'
|
|
337
412
|
*/
|
|
338
413
|
id: string;
|
|
339
414
|
/**
|
|
340
|
-
* The name of the shop.
|
|
415
|
+
* The display name of the shop as configured by the merchant in Shopify admin.
|
|
341
416
|
*/
|
|
342
417
|
name: string;
|
|
343
418
|
/**
|
|
344
|
-
* The primary storefront URL.
|
|
345
|
-
*
|
|
346
|
-
* > Caution:
|
|
347
|
-
* As of version `2024-10` this value will no longer have a trailing slash.
|
|
419
|
+
* 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.
|
|
348
420
|
*/
|
|
349
421
|
storefrontUrl?: string;
|
|
350
422
|
/**
|
|
351
|
-
* The shop's myshopify.com domain.
|
|
423
|
+
* 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.
|
|
352
424
|
*/
|
|
353
425
|
myshopifyDomain: string;
|
|
354
426
|
}
|
|
427
|
+
/**
|
|
428
|
+
* @publicDocs
|
|
429
|
+
*/
|
|
355
430
|
export interface CartCost {
|
|
356
431
|
/**
|
|
357
|
-
*
|
|
358
|
-
*
|
|
432
|
+
* The sum of all line item prices before shipping and taxes are applied. Use this value
|
|
433
|
+
* to display the base cost of the items the buyer purchased.
|
|
359
434
|
*/
|
|
360
435
|
subtotalAmount: SubscribableSignalLike<Money>;
|
|
361
436
|
/**
|
|
362
|
-
*
|
|
363
|
-
*
|
|
364
|
-
*
|
|
437
|
+
* The total shipping cost for the order, after any shipping discounts have been applied.
|
|
438
|
+
* The value is `undefined` if shipping costs haven't been calculated or aren't applicable
|
|
439
|
+
* (for example, for digital-only orders).
|
|
365
440
|
*/
|
|
366
441
|
totalShippingAmount: SubscribableSignalLike<Money | undefined>;
|
|
367
442
|
/**
|
|
368
|
-
*
|
|
369
|
-
*
|
|
370
|
-
* undefined if
|
|
443
|
+
* The total tax charged for the order. This may represent taxes added on top of item prices
|
|
444
|
+
* or taxes already included in product and shipping prices, depending on the store's tax
|
|
445
|
+
* configuration. The value is `undefined` if tax information is unavailable.
|
|
371
446
|
*/
|
|
372
447
|
totalTaxAmount: SubscribableSignalLike<Money | undefined>;
|
|
373
448
|
/**
|
|
374
|
-
*
|
|
375
|
-
*
|
|
376
|
-
* the information step might not have delivery costs calculated.
|
|
449
|
+
* The final amount the buyer paid for the order, including all line items, shipping, taxes,
|
|
450
|
+
* and discounts. Gift cards and store credits are excluded from this total.
|
|
377
451
|
*/
|
|
378
452
|
totalAmount: SubscribableSignalLike<Money>;
|
|
379
453
|
}
|
|
454
|
+
/**
|
|
455
|
+
* @publicDocs
|
|
456
|
+
*/
|
|
380
457
|
export interface CartLine {
|
|
381
458
|
/**
|
|
382
|
-
*
|
|
383
|
-
*
|
|
384
|
-
* ID before any call to `applyCartLinesChange` because you'll need the ID to
|
|
385
|
-
* create a `CartLineChange` object.
|
|
459
|
+
* A unique identifier for the cart line in the format `gid://shopify/CartLine/<id>`. These IDs are not stable and may change after any operations on the line items, so avoid persisting them.
|
|
460
|
+
*
|
|
386
461
|
* @example 'gid://shopify/CartLine/123'
|
|
387
462
|
*/
|
|
388
463
|
id: string;
|
|
389
464
|
/**
|
|
390
|
-
* The merchandise
|
|
465
|
+
* 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.
|
|
391
466
|
*/
|
|
392
467
|
merchandise: Merchandise;
|
|
393
468
|
/**
|
|
394
|
-
* The
|
|
469
|
+
* The number of units of this merchandise that the buyer purchased.
|
|
395
470
|
*/
|
|
396
471
|
quantity: number;
|
|
397
472
|
/**
|
|
398
|
-
* The
|
|
473
|
+
* The cost breakdown for this line item, including the total price after any line-level discounts have been applied.
|
|
399
474
|
*/
|
|
400
475
|
cost: CartLineCost;
|
|
401
476
|
/**
|
|
402
|
-
*
|
|
477
|
+
* Custom key-value pairs attached to this line item, such as engraving text, gift messages, or personalization options set by the buyer or an app during checkout.
|
|
403
478
|
*/
|
|
404
479
|
attributes: Attribute[];
|
|
405
480
|
/**
|
|
406
|
-
*
|
|
481
|
+
* The list of discounts applied to this specific line item. Each allocation includes the discounted amount and the type of discount (`code`, `automatic`, or `custom`).
|
|
407
482
|
*/
|
|
408
483
|
discountAllocations: CartDiscountAllocation[];
|
|
409
484
|
/**
|
|
410
|
-
*
|
|
485
|
+
* The individual components of a [bundle](/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.
|
|
411
486
|
*/
|
|
412
487
|
lineComponents: CartLineComponentType[];
|
|
413
488
|
}
|
|
414
489
|
type CartLineComponentType = CartBundleLineComponent;
|
|
490
|
+
/**
|
|
491
|
+
* @publicDocs
|
|
492
|
+
*/
|
|
415
493
|
export interface CartBundleLineComponent {
|
|
494
|
+
/**
|
|
495
|
+
* The type of line component. Always `'bundle'` for bundle line components.
|
|
496
|
+
*/
|
|
416
497
|
type: 'bundle';
|
|
417
498
|
/**
|
|
418
|
-
* A unique identifier for the bundle line
|
|
419
|
-
*
|
|
420
|
-
* This ID is not stable. If an operation updates the line items in any way, all IDs could change.
|
|
499
|
+
* A unique identifier for this component within the bundle, in the format `gid://shopify/CartLineComponent/<id>`. This ID isn't stable and may change after any operation that updates the line items.
|
|
421
500
|
*
|
|
422
501
|
* @example 'gid://shopify/CartLineComponent/123'
|
|
423
502
|
*/
|
|
424
503
|
id: string;
|
|
425
504
|
/**
|
|
426
|
-
* The
|
|
505
|
+
* The product variant included in this bundle component. Use this to display product details for individual items within a bundle.
|
|
427
506
|
*/
|
|
428
507
|
merchandise: Merchandise;
|
|
429
508
|
/**
|
|
430
|
-
* The
|
|
509
|
+
* The number of units of this component included in the bundle.
|
|
431
510
|
*/
|
|
432
511
|
quantity: number;
|
|
433
512
|
/**
|
|
434
|
-
* The cost
|
|
513
|
+
* The cost breakdown for this bundle component, representing the portion of the bundle price attributed to this item.
|
|
435
514
|
*/
|
|
436
515
|
cost: CartLineCost;
|
|
437
516
|
/**
|
|
438
|
-
*
|
|
517
|
+
* Custom key-value pairs attached to this bundle component, such as personalization options specific to this item within the bundle.
|
|
439
518
|
*
|
|
440
519
|
* @example [{key: 'engraving', value: 'hello world'}]
|
|
441
520
|
*/
|
|
442
521
|
attributes: Attribute[];
|
|
443
522
|
}
|
|
523
|
+
/**
|
|
524
|
+
* @publicDocs
|
|
525
|
+
*/
|
|
444
526
|
export interface CartLineCost {
|
|
445
527
|
/**
|
|
446
|
-
* The total
|
|
447
|
-
* cart line.
|
|
528
|
+
* 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.
|
|
448
529
|
*/
|
|
449
530
|
totalAmount: Money;
|
|
450
531
|
}
|
|
532
|
+
/**
|
|
533
|
+
* @publicDocs
|
|
534
|
+
*/
|
|
451
535
|
export interface Money {
|
|
452
536
|
/**
|
|
453
|
-
* The
|
|
537
|
+
* The decimal amount of the price. For example, `29.99` represents twenty-nine dollars and ninety-nine cents.
|
|
454
538
|
*/
|
|
455
539
|
amount: number;
|
|
456
540
|
/**
|
|
457
|
-
* The
|
|
541
|
+
* The three-letter currency code in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format.
|
|
542
|
+
*
|
|
458
543
|
* @example 'CAD' for Canadian dollar
|
|
459
544
|
*/
|
|
460
545
|
currencyCode: CurrencyCode;
|
|
461
546
|
}
|
|
547
|
+
/**
|
|
548
|
+
* @publicDocs
|
|
549
|
+
*/
|
|
462
550
|
export type Merchandise = ProductVariant;
|
|
551
|
+
/**
|
|
552
|
+
* @publicDocs
|
|
553
|
+
*/
|
|
463
554
|
export interface BaseMerchandise {
|
|
464
555
|
/**
|
|
465
|
-
*
|
|
556
|
+
* A globally-unique identifier for the merchandise.
|
|
466
557
|
*/
|
|
467
558
|
id: string;
|
|
468
559
|
}
|
|
560
|
+
/**
|
|
561
|
+
* @publicDocs
|
|
562
|
+
*/
|
|
469
563
|
export interface ProductVariant extends BaseMerchandise {
|
|
564
|
+
/**
|
|
565
|
+
* The type of merchandise. Always `'variant'` for product variants.
|
|
566
|
+
*/
|
|
470
567
|
type: 'variant';
|
|
471
568
|
/**
|
|
472
|
-
* A globally-unique identifier
|
|
569
|
+
* A globally-unique identifier for the product variant in the format `gid://shopify/ProductVariant/<id>`.
|
|
570
|
+
*
|
|
473
571
|
* @example 'gid://shopify/ProductVariant/123'
|
|
474
572
|
*/
|
|
475
573
|
id: string;
|
|
476
574
|
/**
|
|
477
|
-
* The product variant
|
|
575
|
+
* The display title of the product variant, such as "Small" or "Red / Large". This is the variant-specific label, not the parent product title.
|
|
478
576
|
*/
|
|
479
577
|
title: string;
|
|
480
578
|
/**
|
|
481
|
-
* The
|
|
579
|
+
* 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.
|
|
482
580
|
*/
|
|
483
581
|
sku?: string;
|
|
484
582
|
/**
|
|
485
|
-
*
|
|
583
|
+
* 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.
|
|
486
584
|
*/
|
|
487
585
|
subtitle?: string;
|
|
488
586
|
/**
|
|
489
|
-
*
|
|
490
|
-
* image if no image is available.
|
|
587
|
+
* The image associated with this product variant. Falls back to the parent product's featured image if the variant doesn't have its own image.
|
|
491
588
|
*/
|
|
492
589
|
image?: ImageDetails;
|
|
493
590
|
/**
|
|
494
|
-
*
|
|
591
|
+
* The list of product options that define this variant, such as size and color. Each entry contains the option name and the selected value.
|
|
495
592
|
*/
|
|
496
593
|
selectedOptions: SelectedOption[];
|
|
497
594
|
/**
|
|
498
|
-
* The product
|
|
595
|
+
* The parent product that this variant belongs to. Use this to access the product title, vendor, and type.
|
|
499
596
|
*/
|
|
500
597
|
product: Product;
|
|
501
598
|
/**
|
|
502
|
-
* Whether
|
|
599
|
+
* Whether this product variant requires physical shipping. Returns `false` for digital products, gift cards, and services.
|
|
503
600
|
*/
|
|
504
601
|
requiresShipping: boolean;
|
|
505
602
|
/**
|
|
506
|
-
* The selling plan associated with
|
|
603
|
+
* The selling plan associated with this merchandise, such as a subscription or pre-order plan. The value is `undefined` if the item was purchased without a selling plan.
|
|
507
604
|
*/
|
|
508
605
|
sellingPlan?: SellingPlan;
|
|
509
606
|
}
|
|
607
|
+
/**
|
|
608
|
+
* @publicDocs
|
|
609
|
+
*/
|
|
510
610
|
export interface Product {
|
|
511
611
|
/**
|
|
512
|
-
* A globally-unique identifier
|
|
612
|
+
* A globally-unique identifier for the product in the format `gid://shopify/Product/<id>`.
|
|
513
613
|
*/
|
|
514
614
|
id: string;
|
|
515
615
|
/**
|
|
516
|
-
* The product
|
|
616
|
+
* The name of the product's vendor or manufacturer, as set by the merchant in Shopify admin.
|
|
517
617
|
*/
|
|
518
618
|
vendor: string;
|
|
519
619
|
/**
|
|
520
|
-
* A categorization
|
|
620
|
+
* A merchant-defined categorization for the product, such as "Accessories" or "Clothing". Commonly used for filtering and organizing products in a storefront.
|
|
521
621
|
*/
|
|
522
622
|
productType: string;
|
|
523
623
|
}
|
|
624
|
+
/**
|
|
625
|
+
* @publicDocs
|
|
626
|
+
*/
|
|
524
627
|
export interface ImageDetails {
|
|
525
628
|
/**
|
|
526
|
-
* The
|
|
629
|
+
* The fully-qualified URL of the image. Use this to render the product or variant image in your extension.
|
|
527
630
|
*/
|
|
528
631
|
url: string;
|
|
529
632
|
/**
|
|
530
|
-
* The alternative text for the image.
|
|
633
|
+
* The alternative text description of the image, used for accessibility. The value is `undefined` if the merchant hasn't set alt text for the image.
|
|
531
634
|
*/
|
|
532
635
|
altText?: string;
|
|
533
636
|
}
|
|
637
|
+
/**
|
|
638
|
+
* @publicDocs
|
|
639
|
+
*/
|
|
534
640
|
export interface SelectedOption {
|
|
535
641
|
/**
|
|
536
|
-
* The name of the
|
|
642
|
+
* The name of the product option, such as "Size", "Color", or "Material".
|
|
537
643
|
*/
|
|
538
644
|
name: string;
|
|
539
645
|
/**
|
|
540
|
-
* The value
|
|
646
|
+
* The selected value for this option, such as "Medium", "Blue", or "Cotton".
|
|
541
647
|
*/
|
|
542
648
|
value: string;
|
|
543
649
|
}
|
|
544
650
|
/**
|
|
545
651
|
* A payment option presented to the buyer.
|
|
652
|
+
* @publicDocs
|
|
546
653
|
*/
|
|
547
654
|
export interface PaymentOption {
|
|
548
655
|
/**
|
|
@@ -561,404 +668,456 @@ export interface PaymentOption {
|
|
|
561
668
|
* | `paymentOnDelivery` | A payment that will be collected on delivery. |
|
|
562
669
|
* | `redeemable` | A redeemable payment option such as a gift card or store credit. |
|
|
563
670
|
* | `wallet` | An integrated wallet such as PayPal, Google Pay, Apple Pay, etc. |
|
|
564
|
-
* | `customOnsite` | A custom payment option that
|
|
671
|
+
* | `customOnsite` | A custom payment option that's processed through a checkout extension with a payments app. |
|
|
565
672
|
*/
|
|
566
673
|
type: 'creditCard' | 'deferred' | 'local' | 'manualPayment' | 'offsite' | 'other' | 'paymentOnDelivery' | 'redeemable' | 'wallet' | 'customOnsite';
|
|
567
674
|
/**
|
|
568
|
-
*
|
|
569
|
-
*
|
|
570
|
-
* This is not a globally unique identifier. It may be an identifier specific to the given checkout session or the current shop.
|
|
675
|
+
* A session-scoped identifier for this payment option. This handle isn't globally unique — it is specific to the current checkout session or the shop.
|
|
571
676
|
*/
|
|
572
677
|
handle: string;
|
|
573
678
|
}
|
|
574
679
|
/**
|
|
575
680
|
* A payment option selected by the buyer.
|
|
681
|
+
* @publicDocs
|
|
576
682
|
*/
|
|
577
683
|
export interface SelectedPaymentOption {
|
|
578
684
|
/**
|
|
579
|
-
* The
|
|
685
|
+
* The handle of the payment option the buyer selected, corresponding to a `PaymentOption.handle` value.
|
|
580
686
|
*
|
|
581
|
-
* See [availablePaymentOptions](
|
|
687
|
+
* See [availablePaymentOptions](/docs/api/checkout-ui-extensions/apis/payments#standardapi-propertydetail-selectedpaymentoptions).
|
|
582
688
|
*/
|
|
583
689
|
handle: string;
|
|
584
690
|
}
|
|
691
|
+
/**
|
|
692
|
+
* @publicDocs
|
|
693
|
+
*/
|
|
585
694
|
export interface CartDiscountCode {
|
|
586
695
|
/**
|
|
587
|
-
* The code
|
|
696
|
+
* The discount code string that the buyer entered during checkout, such as "SAVE10" or "FREESHIP". Use this to display which discount codes were applied to the order.
|
|
588
697
|
*/
|
|
589
698
|
code: string;
|
|
590
699
|
}
|
|
700
|
+
/**
|
|
701
|
+
* A discount allocation represents a single discount applied to a specific line item or the overall order.
|
|
702
|
+
* When a discount applies to an order, Shopify splits the total discount amount across the affected line items
|
|
703
|
+
* as individual allocations. For example, a "10% off your order" discount is distributed proportionally across
|
|
704
|
+
* each line item rather than appearing as one lump sum.
|
|
705
|
+
*
|
|
706
|
+
* There are three types of discount allocations:
|
|
707
|
+
* - `CartCodeDiscountAllocation`: A discount applied using a code the buyer entered at checkout (for example, "SAVE10").
|
|
708
|
+
* - `CartAutomaticDiscountAllocation`: A discount the merchant configured in Shopify admin to apply automatically without a code.
|
|
709
|
+
* - `CartCustomDiscountAllocation`: A discount created programmatically by a [Shopify Function](/docs/apps/build/functions).
|
|
710
|
+
* @publicDocs
|
|
711
|
+
*/
|
|
591
712
|
export type CartDiscountAllocation = CartCodeDiscountAllocation | CartAutomaticDiscountAllocation | CartCustomDiscountAllocation;
|
|
713
|
+
/**
|
|
714
|
+
* The base properties shared by all discount allocation types.
|
|
715
|
+
* @publicDocs
|
|
716
|
+
*/
|
|
592
717
|
export interface CartDiscountAllocationBase {
|
|
593
718
|
/**
|
|
594
|
-
* The
|
|
719
|
+
* The monetary value that was deducted from the line item or order total by this discount allocation.
|
|
595
720
|
*/
|
|
596
721
|
discountedAmount: Money;
|
|
597
722
|
}
|
|
723
|
+
/**
|
|
724
|
+
* A discount allocation for a discount that was applied using a code the buyer entered at checkout.
|
|
725
|
+
* @publicDocs
|
|
726
|
+
*/
|
|
598
727
|
export interface CartCodeDiscountAllocation extends CartDiscountAllocationBase {
|
|
599
728
|
/**
|
|
600
|
-
* The code
|
|
729
|
+
* The discount code string that the buyer entered during checkout, such as "SAVE10" or "FREESHIP".
|
|
601
730
|
*/
|
|
602
731
|
code: string;
|
|
603
732
|
/**
|
|
604
|
-
* The type of
|
|
733
|
+
* The type of this discount allocation. Always `'code'` for discounts applied using a code entered by the buyer.
|
|
605
734
|
*/
|
|
606
735
|
type: 'code';
|
|
607
736
|
}
|
|
737
|
+
/**
|
|
738
|
+
* A discount allocation for a discount that the merchant configured to apply automatically in Shopify admin, without the buyer needing to enter a code.
|
|
739
|
+
* @publicDocs
|
|
740
|
+
*/
|
|
608
741
|
export interface CartAutomaticDiscountAllocation extends CartDiscountAllocationBase {
|
|
609
742
|
/**
|
|
610
|
-
* The title of the automatic discount
|
|
743
|
+
* The merchant-defined title of the automatic discount as displayed to the buyer, such as "Summer Sale 10% Off".
|
|
611
744
|
*/
|
|
612
745
|
title: string;
|
|
613
746
|
/**
|
|
614
|
-
* The type of
|
|
747
|
+
* The type of this discount allocation. Always `'automatic'` for discounts configured to apply automatically without a code.
|
|
615
748
|
*/
|
|
616
749
|
type: 'automatic';
|
|
617
750
|
}
|
|
751
|
+
/**
|
|
752
|
+
* A discount allocation for a discount created by a [Shopify Function](/docs/apps/build/functions), such as a custom discount logic app.
|
|
753
|
+
* @publicDocs
|
|
754
|
+
*/
|
|
618
755
|
export interface CartCustomDiscountAllocation extends CartDiscountAllocationBase {
|
|
619
756
|
/**
|
|
620
|
-
* The title of the custom discount
|
|
757
|
+
* The title of the custom discount as defined by the Shopify Function that created it.
|
|
621
758
|
*/
|
|
622
759
|
title: string;
|
|
623
760
|
/**
|
|
624
|
-
* The type of
|
|
761
|
+
* The type of this discount allocation. Always `'custom'` for discounts created by a Shopify Function.
|
|
625
762
|
*/
|
|
626
763
|
type: 'custom';
|
|
627
764
|
}
|
|
628
765
|
/**
|
|
629
766
|
* Information about a customer who has previously purchased from this shop.
|
|
630
767
|
*
|
|
631
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
768
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data). The `id`, `image`, `acceptsMarketing`, and `storeCreditAccounts` properties require level 1 access. The `email`, `phone`, `fullName`, `firstName`, and `lastName` properties require level 2 access.
|
|
769
|
+
* @publicDocs
|
|
632
770
|
*/
|
|
633
771
|
export interface OrderStatusCustomer {
|
|
634
772
|
/**
|
|
635
|
-
* Customer
|
|
636
|
-
*
|
|
637
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
638
|
-
*
|
|
639
|
-
* @example 'gid://shopify/Customer/123'
|
|
773
|
+
* A globally-unique identifier for the customer in the format `gid://shopify/Customer/<id>`. 'gid://shopify/Customer/123'
|
|
640
774
|
*/
|
|
641
775
|
id: string;
|
|
642
776
|
/**
|
|
643
|
-
* The email
|
|
644
|
-
*
|
|
645
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
777
|
+
* The email address associated with the customer's account. The value is `undefined` if the app doesn't have the required access level.
|
|
646
778
|
*/
|
|
647
779
|
email?: string;
|
|
648
780
|
/**
|
|
649
|
-
* The phone number
|
|
650
|
-
*
|
|
651
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
781
|
+
* 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.
|
|
652
782
|
*/
|
|
653
783
|
phone?: string;
|
|
654
784
|
/**
|
|
655
|
-
* The full name of the
|
|
656
|
-
*
|
|
657
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
785
|
+
* 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.
|
|
658
786
|
*/
|
|
659
787
|
fullName?: string;
|
|
660
788
|
/**
|
|
661
|
-
* The first name
|
|
662
|
-
*
|
|
663
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
789
|
+
* The customer's first name. The value is `undefined` if the app doesn't have the required access level.
|
|
664
790
|
*/
|
|
665
791
|
firstName?: string;
|
|
666
792
|
/**
|
|
667
|
-
* The last name
|
|
668
|
-
*
|
|
669
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
793
|
+
* The customer's last name. The value is `undefined` if the app doesn't have the required access level.
|
|
670
794
|
*/
|
|
671
795
|
lastName?: string;
|
|
672
796
|
/**
|
|
673
|
-
* The image
|
|
674
|
-
*
|
|
675
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
797
|
+
* The customer's profile image, such as a Gravatar avatar. Use this to personalize the extension UI for the logged-in buyer.
|
|
676
798
|
*/
|
|
677
799
|
image: ImageDetails;
|
|
678
800
|
/**
|
|
679
|
-
*
|
|
680
|
-
*
|
|
681
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
801
|
+
* Whether the customer has opted in to receiving marketing communications from the merchant, such as email campaigns and promotional offers.
|
|
682
802
|
*/
|
|
683
803
|
acceptsMarketing: boolean;
|
|
684
804
|
/**
|
|
685
|
-
* The
|
|
686
|
-
*
|
|
687
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
805
|
+
* 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.
|
|
688
806
|
*
|
|
689
807
|
* @private
|
|
690
808
|
*/
|
|
691
809
|
storeCreditAccounts: StoreCreditAccount[];
|
|
692
810
|
}
|
|
811
|
+
/**
|
|
812
|
+
* A string token that uniquely identifies the checkout session used to create the order.
|
|
813
|
+
* @publicDocs
|
|
814
|
+
*/
|
|
693
815
|
export type CheckoutToken = string;
|
|
694
816
|
/**
|
|
695
817
|
* Settings describing the behavior of the buyer's checkout.
|
|
818
|
+
* @publicDocs
|
|
696
819
|
*/
|
|
697
820
|
export interface CheckoutSettings {
|
|
698
821
|
/**
|
|
699
|
-
* The type of order
|
|
822
|
+
* The type of order created when checkout is completed:
|
|
823
|
+
*
|
|
824
|
+
* - `'DRAFT_ORDER'`: A draft order that must be manually reviewed and finalized by the merchant before it is processed.
|
|
825
|
+
* - `'ORDER'`: A standard order that's immediately processed and visible in Shopify admin.
|
|
700
826
|
*/
|
|
701
827
|
orderSubmission: 'DRAFT_ORDER' | 'ORDER';
|
|
702
828
|
/**
|
|
703
|
-
*
|
|
829
|
+
* 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.
|
|
704
830
|
*/
|
|
705
831
|
paymentTermsTemplate?: PaymentTermsTemplate;
|
|
706
832
|
/**
|
|
707
|
-
* Settings
|
|
833
|
+
* Settings that control how the shipping address behaves during checkout, such as whether the buyer can edit the address.
|
|
708
834
|
*/
|
|
709
835
|
shippingAddress: ShippingAddressSettings;
|
|
710
836
|
}
|
|
711
837
|
/**
|
|
712
838
|
* Settings describing the behavior of the shipping address.
|
|
839
|
+
* @publicDocs
|
|
713
840
|
*/
|
|
714
841
|
export interface ShippingAddressSettings {
|
|
715
842
|
/**
|
|
716
|
-
*
|
|
843
|
+
* 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.
|
|
717
844
|
*/
|
|
718
845
|
isEditable: boolean;
|
|
719
846
|
}
|
|
720
847
|
/**
|
|
721
|
-
*
|
|
848
|
+
* 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".
|
|
849
|
+
* @publicDocs
|
|
722
850
|
*/
|
|
723
851
|
export interface PaymentTermsTemplate {
|
|
724
852
|
/**
|
|
725
|
-
* A globally-unique
|
|
853
|
+
* A globally-unique identifier for the payment terms template in the format `gid://shopify/PaymentTermsTemplate/<id>`.
|
|
726
854
|
* @example 'gid://shopify/PaymentTermsTemplate/1'
|
|
727
855
|
*/
|
|
728
856
|
id: string;
|
|
729
857
|
/**
|
|
730
|
-
* The name of the payment terms translated to the buyer's current language. See [localization.language](
|
|
858
|
+
* The name of the payment terms translated to the buyer's current language, such as "Net 30" or "Due on receipt". See [localization.language](/docs/api/customer-account-ui-extensions/apis/localization#standardapi-propertydetail-localization).
|
|
731
859
|
*/
|
|
732
860
|
name: string;
|
|
733
861
|
/**
|
|
734
|
-
* The due date for
|
|
862
|
+
* 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.
|
|
735
863
|
*/
|
|
736
864
|
dueDate?: string;
|
|
737
865
|
/**
|
|
738
|
-
* The number of days
|
|
866
|
+
* 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 are not net-based.
|
|
739
867
|
*/
|
|
740
868
|
dueInDays?: number;
|
|
741
869
|
}
|
|
742
870
|
/**
|
|
743
|
-
*
|
|
871
|
+
* 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.
|
|
872
|
+
* @publicDocs
|
|
744
873
|
*/
|
|
745
874
|
export interface StoreCreditAccount {
|
|
746
875
|
/**
|
|
747
|
-
* A globally-unique identifier
|
|
876
|
+
* A globally-unique identifier for the store credit account in the format `gid://shopify/StoreCreditAccount/<id>`.
|
|
748
877
|
* @example 'gid://shopify/StoreCreditAccount/1'
|
|
749
878
|
*/
|
|
750
879
|
id: string;
|
|
751
880
|
/**
|
|
752
|
-
* The
|
|
881
|
+
* The remaining balance available in this store credit account. This reflects the amount that can still be applied toward purchases.
|
|
753
882
|
*/
|
|
754
883
|
balance: Money;
|
|
755
884
|
}
|
|
756
885
|
/**
|
|
757
|
-
*
|
|
758
|
-
*
|
|
886
|
+
* A group of cart lines that share the same set of delivery options. For example, physical items may form one delivery group while digital items form another.
|
|
887
|
+
* @publicDocs
|
|
759
888
|
*/
|
|
760
889
|
export interface DeliveryGroup {
|
|
761
890
|
/**
|
|
762
|
-
* The cart
|
|
891
|
+
* The cart lines included in this delivery group. Each reference contains the ID of the associated cart line.
|
|
763
892
|
*/
|
|
764
893
|
targetedCartLines: CartLineReference[];
|
|
765
894
|
/**
|
|
766
|
-
* The delivery options
|
|
895
|
+
* The list of delivery options the buyer can choose from for this group, such as standard shipping, express shipping, or local pickup.
|
|
767
896
|
*/
|
|
768
897
|
deliveryOptions: DeliveryOption[];
|
|
769
898
|
/**
|
|
770
|
-
* The
|
|
899
|
+
* The delivery option that the buyer selected for this group. The value is `undefined` if no option has been selected yet.
|
|
771
900
|
*/
|
|
772
901
|
selectedDeliveryOption?: DeliveryOptionReference;
|
|
773
902
|
/**
|
|
774
|
-
* The type
|
|
903
|
+
* The purchase type for this delivery group. `'oneTimePurchase'` for standard orders, or `'subscription'` for items on a recurring delivery schedule.
|
|
775
904
|
*/
|
|
776
905
|
groupType: DeliveryGroupType;
|
|
777
906
|
/**
|
|
778
|
-
* Whether delivery is required for the
|
|
907
|
+
* Whether physical delivery is required for the items in this group. Returns `false` for digital products, services, or other items that don't need shipping.
|
|
779
908
|
*/
|
|
780
909
|
isDeliveryRequired: boolean;
|
|
781
910
|
}
|
|
782
911
|
/**
|
|
783
|
-
* The
|
|
912
|
+
* The purchase type for a delivery group: `'oneTimePurchase'` for standard orders or `'subscription'` for recurring deliveries.
|
|
913
|
+
* @publicDocs
|
|
784
914
|
*/
|
|
785
915
|
export type DeliveryGroupType = 'oneTimePurchase' | 'subscription';
|
|
786
916
|
/**
|
|
787
|
-
*
|
|
917
|
+
* A reference to a cart line within a delivery group, identified by the cart line's ID.
|
|
918
|
+
* @publicDocs
|
|
788
919
|
*/
|
|
789
920
|
export interface CartLineReference {
|
|
790
921
|
/**
|
|
791
|
-
* The
|
|
922
|
+
* The ID of the cart line that belongs to this delivery group, matching a `CartLine.id` value.
|
|
792
923
|
*/
|
|
793
924
|
id: string;
|
|
794
925
|
}
|
|
795
926
|
/**
|
|
796
|
-
*
|
|
927
|
+
* A reference to the delivery option selected by the buyer for a delivery group.
|
|
928
|
+
* @publicDocs
|
|
797
929
|
*/
|
|
798
930
|
export interface DeliveryOptionReference {
|
|
799
931
|
/**
|
|
800
|
-
* The
|
|
932
|
+
* The handle of the selected delivery option, matching a `DeliveryOption.handle` value.
|
|
801
933
|
*/
|
|
802
934
|
handle: string;
|
|
803
935
|
}
|
|
804
936
|
/**
|
|
805
|
-
*
|
|
937
|
+
* The base properties shared by all delivery option types, including shipping, local pickup, and pickup point options.
|
|
938
|
+
* @publicDocs
|
|
806
939
|
*/
|
|
807
940
|
export interface DeliveryOption {
|
|
808
941
|
/**
|
|
809
|
-
*
|
|
942
|
+
* A unique identifier for this delivery option within the checkout session. Use this handle to match against `DeliveryOptionReference.handle`.
|
|
810
943
|
*/
|
|
811
944
|
handle: string;
|
|
812
945
|
/**
|
|
813
|
-
* The
|
|
946
|
+
* The display name of the delivery option shown to the buyer, such as "Standard Shipping" or "Express Delivery". The value is `undefined` if no title is set.
|
|
814
947
|
*/
|
|
815
948
|
title?: string;
|
|
816
949
|
/**
|
|
817
|
-
*
|
|
950
|
+
* Additional details about the delivery option, such as estimated delivery time or service level. The value is `undefined` if no description is set.
|
|
818
951
|
*/
|
|
819
952
|
description?: string;
|
|
820
953
|
}
|
|
821
954
|
/**
|
|
822
|
-
*
|
|
955
|
+
* A delivery option where items are shipped to the buyer's address, either via a carrier (`'shipping'`) or through a local delivery service (`'local'`).
|
|
956
|
+
* @publicDocs
|
|
823
957
|
*/
|
|
824
958
|
export interface ShippingOption extends DeliveryOption {
|
|
825
959
|
/**
|
|
826
|
-
* The
|
|
960
|
+
* The delivery method. `'shipping'` for carrier-based delivery to the buyer's address, or `'local'` for same-day or local courier delivery.
|
|
827
961
|
*/
|
|
828
962
|
type: 'shipping' | 'local';
|
|
829
963
|
/**
|
|
830
|
-
*
|
|
964
|
+
* The shipping carrier responsible for delivering the items, such as USPS, FedEx, or a custom carrier.
|
|
831
965
|
*/
|
|
832
966
|
carrier: ShippingOptionCarrier;
|
|
833
967
|
/**
|
|
834
|
-
* The cost
|
|
968
|
+
* The original shipping cost before any discounts are applied.
|
|
835
969
|
*/
|
|
836
970
|
cost: Money;
|
|
837
971
|
/**
|
|
838
|
-
* The cost
|
|
972
|
+
* The final shipping cost after any shipping discounts have been applied. Compare with `cost` to determine the discount amount.
|
|
839
973
|
*/
|
|
840
974
|
costAfterDiscounts: Money;
|
|
841
975
|
/**
|
|
842
|
-
*
|
|
976
|
+
* The estimated delivery timeline, including the expected time in transit.
|
|
843
977
|
*/
|
|
844
978
|
deliveryEstimate: DeliveryEstimate;
|
|
845
979
|
}
|
|
980
|
+
/**
|
|
981
|
+
* @publicDocs
|
|
982
|
+
*/
|
|
846
983
|
export interface DeliveryEstimate {
|
|
847
984
|
/**
|
|
848
|
-
* The estimated time
|
|
985
|
+
* The estimated transit time for the delivery, expressed as a range in seconds. For example, a range of `259200` to `432000` represents 3 to 5 days.
|
|
849
986
|
*/
|
|
850
987
|
timeInTransit?: NumberRange;
|
|
851
988
|
}
|
|
989
|
+
/**
|
|
990
|
+
* @publicDocs
|
|
991
|
+
*/
|
|
852
992
|
export interface ShippingOptionCarrier {
|
|
853
993
|
/**
|
|
854
|
-
* The name of the carrier.
|
|
994
|
+
* The display name of the shipping carrier, such as "USPS", "FedEx", or "Canada Post". The value is `undefined` if the carrier name is unavailable.
|
|
855
995
|
*/
|
|
856
996
|
name?: string;
|
|
857
997
|
}
|
|
998
|
+
/**
|
|
999
|
+
* @publicDocs
|
|
1000
|
+
*/
|
|
858
1001
|
export interface PickupPointOption extends DeliveryOption {
|
|
859
1002
|
/**
|
|
860
|
-
* The
|
|
1003
|
+
* The delivery method. Always `'pickupPoint'` for pickup point options.
|
|
861
1004
|
*/
|
|
862
1005
|
type: 'pickupPoint';
|
|
863
1006
|
/**
|
|
864
|
-
*
|
|
1007
|
+
* The carrier responsible for shipping items to the pickup point location.
|
|
865
1008
|
*/
|
|
866
1009
|
carrier: PickupPointCarrier;
|
|
867
1010
|
/**
|
|
868
|
-
* The cost to ship to this pickup point.
|
|
1011
|
+
* The original cost to ship items to this pickup point before any discounts.
|
|
869
1012
|
*/
|
|
870
1013
|
cost: Money;
|
|
871
1014
|
/**
|
|
872
|
-
* The cost to ship to this pickup point
|
|
1015
|
+
* The final cost to ship to this pickup point after discounts have been applied.
|
|
873
1016
|
*/
|
|
874
1017
|
costAfterDiscounts: Money;
|
|
875
1018
|
/**
|
|
876
|
-
* The location
|
|
1019
|
+
* The physical location of the pickup point, including its name, address, and unique handle.
|
|
877
1020
|
*/
|
|
878
1021
|
location: PickupPointLocation;
|
|
879
1022
|
}
|
|
1023
|
+
/**
|
|
1024
|
+
* @publicDocs
|
|
1025
|
+
*/
|
|
880
1026
|
export interface PickupLocationOption extends DeliveryOption {
|
|
881
1027
|
/**
|
|
882
|
-
* The
|
|
1028
|
+
* The delivery method. Always `'pickup'` for merchant pickup location options.
|
|
883
1029
|
*/
|
|
884
1030
|
type: 'pickup';
|
|
885
1031
|
/**
|
|
886
|
-
* The location
|
|
1032
|
+
* The physical location where the buyer can pick up their order, including the store name and address.
|
|
887
1033
|
*/
|
|
888
1034
|
location: PickupLocation;
|
|
889
1035
|
}
|
|
890
|
-
|
|
1036
|
+
/**
|
|
1037
|
+
* @publicDocs
|
|
1038
|
+
*/
|
|
1039
|
+
export interface PickupLocation {
|
|
891
1040
|
/**
|
|
892
|
-
* The name of the pickup location.
|
|
1041
|
+
* The display name of the pickup location, such as the store or warehouse name. The value is `undefined` if no name is set.
|
|
893
1042
|
*/
|
|
894
1043
|
name?: string;
|
|
895
1044
|
/**
|
|
896
|
-
* The address of the pickup location.
|
|
1045
|
+
* The physical mailing address of the pickup location where the buyer collects their order.
|
|
897
1046
|
*/
|
|
898
1047
|
address: MailingAddress;
|
|
899
1048
|
}
|
|
900
|
-
|
|
1049
|
+
/**
|
|
1050
|
+
* @publicDocs
|
|
1051
|
+
*/
|
|
1052
|
+
export interface PickupPointLocation {
|
|
901
1053
|
/**
|
|
902
|
-
* The name of the pickup point.
|
|
1054
|
+
* The display name of the pickup point, such as a locker location or partner store name. The value is `undefined` if no name is set.
|
|
903
1055
|
*/
|
|
904
1056
|
name?: string;
|
|
905
1057
|
/**
|
|
906
|
-
*
|
|
1058
|
+
* A unique identifier for this pickup point within the carrier's network.
|
|
907
1059
|
*/
|
|
908
1060
|
handle: string;
|
|
909
1061
|
/**
|
|
910
|
-
* The address of the pickup point.
|
|
1062
|
+
* The physical mailing address of the pickup point.
|
|
911
1063
|
*/
|
|
912
1064
|
address: MailingAddress;
|
|
913
1065
|
}
|
|
914
|
-
|
|
1066
|
+
/**
|
|
1067
|
+
* @publicDocs
|
|
1068
|
+
*/
|
|
1069
|
+
export interface PickupPointCarrier {
|
|
915
1070
|
/**
|
|
916
|
-
*
|
|
1071
|
+
* A code that uniquely identifies the carrier within Shopify's system, such as a SCAC code. The value is `undefined` if no code is available.
|
|
917
1072
|
*/
|
|
918
1073
|
code?: string;
|
|
919
1074
|
/**
|
|
920
|
-
* The name of the carrier.
|
|
1075
|
+
* The display name of the carrier that operates this pickup point network. The value is `undefined` if the carrier name is unavailable.
|
|
921
1076
|
*/
|
|
922
1077
|
name?: string;
|
|
923
1078
|
}
|
|
1079
|
+
/**
|
|
1080
|
+
* @publicDocs
|
|
1081
|
+
*/
|
|
924
1082
|
export interface NumberRange {
|
|
925
1083
|
/**
|
|
926
|
-
* The
|
|
1084
|
+
* The minimum value of the range. The value is `undefined` if there's no lower bound.
|
|
927
1085
|
*/
|
|
928
1086
|
lower?: number;
|
|
929
1087
|
/**
|
|
930
|
-
* The
|
|
1088
|
+
* The maximum value of the range. The value is `undefined` if there's no upper bound.
|
|
931
1089
|
*/
|
|
932
1090
|
upper?: number;
|
|
933
1091
|
}
|
|
934
1092
|
/**
|
|
935
1093
|
* Information about an order that was placed.
|
|
1094
|
+
* @publicDocs
|
|
936
1095
|
*/
|
|
937
1096
|
export interface Order {
|
|
938
1097
|
/**
|
|
939
|
-
* A globally-unique identifier.
|
|
1098
|
+
* A globally-unique identifier for the order in the format `gid://shopify/Order/<id>`. Use this to reference the order in the [GraphQL Admin API](/docs/api/admin-graphql).
|
|
1099
|
+
*
|
|
940
1100
|
* @example 'gid://shopify/Order/1'
|
|
941
1101
|
*/
|
|
942
1102
|
id: string;
|
|
943
1103
|
/**
|
|
944
|
-
*
|
|
1104
|
+
* The merchant-facing order number prefixed with `#`, such as `#1001`. This is the human-readable identifier displayed to both the merchant in Shopify admin and the buyer on the **Order status** page and in email confirmations.
|
|
1105
|
+
*
|
|
945
1106
|
* @example '#1000'
|
|
946
1107
|
*/
|
|
947
1108
|
name: string;
|
|
948
1109
|
/**
|
|
949
|
-
*
|
|
1110
|
+
* The date and time when the order was cancelled, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. The value is `undefined` if the order hasn't been cancelled. Use this to conditionally display cancellation details to the buyer.
|
|
950
1111
|
*/
|
|
951
1112
|
cancelledAt?: string;
|
|
952
1113
|
/**
|
|
953
|
-
*
|
|
954
|
-
* Processing happens after the checkout has completed, and indicates that the order is available in the admin.
|
|
1114
|
+
* A randomly generated alphanumeric identifier for the order that the buyer can use when contacting the merchant about their purchase. This is always present for orders created in 2024 and onwards. For older orders, this value may be `undefined`.
|
|
955
1115
|
*/
|
|
956
|
-
|
|
1116
|
+
confirmationNumber?: string;
|
|
957
1117
|
/**
|
|
958
|
-
*
|
|
959
|
-
* For orders created in 2024 and onwards, the number will always be present. For orders created before that date, the number might not be present.
|
|
1118
|
+
* The date and time when the order was processed, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. An order is processed after the buyer completes checkout and the payment is captured, at which point the order becomes visible in Shopify admin.
|
|
960
1119
|
*/
|
|
961
|
-
|
|
1120
|
+
processedAt?: string;
|
|
962
1121
|
}
|
|
963
1122
|
export {};
|
|
964
1123
|
//# sourceMappingURL=order-status.d.ts.map
|