@shopify/ui-extensions 2026.4.0-rc.3 → 2026.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/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/generated/generated.d.ts +62 -0
- package/build/ts/surfaces/admin/api/generated/generated.d.ts.map +1 -0
- 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 +2 -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 +9 -0
- 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 +14 -0
- 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 +16 -4
- 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 +16 -0
- package/build/ts/surfaces/admin/components/GridItem.d.ts +15 -0
- 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 +15 -0
- 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 +16 -0
- 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 +13 -0
- 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 +2 -1
- 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 -6
- 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 -425
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +34 -9
- package/build/ts/surfaces/checkout/components/Badge.d.ts +44 -3
- package/build/ts/surfaces/checkout/components/Banner.d.ts +60 -9
- package/build/ts/surfaces/checkout/components/Box.d.ts +50 -0
- package/build/ts/surfaces/checkout/components/Button.d.ts +10 -3
- package/build/ts/surfaces/checkout/components/Chat.d.ts +20 -0
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +10 -2
- package/build/ts/surfaces/checkout/components/Chip.d.ts +3 -3
- package/build/ts/surfaces/checkout/components/Choice.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +10 -2
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +31 -7
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +15 -8
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +10 -2
- package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +16 -2
- package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +24 -10
- package/build/ts/surfaces/checkout/components/DateField.d.ts +24 -6
- package/build/ts/surfaces/checkout/components/DatePicker.d.ts +21 -5
- package/build/ts/surfaces/checkout/components/Details.d.ts +13 -8
- package/build/ts/surfaces/checkout/components/Divider.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +15 -3
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/Form.d.ts +9 -1
- package/build/ts/surfaces/checkout/components/Grid.d.ts +137 -0
- package/build/ts/surfaces/checkout/components/GridItem.d.ts +55 -0
- package/build/ts/surfaces/checkout/components/Heading.d.ts +1 -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 +10 -3
- package/build/ts/surfaces/checkout/components/ListItem.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Map.d.ts +68 -6
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +36 -8
- package/build/ts/surfaces/checkout/components/Modal.d.ts +52 -8
- package/build/ts/surfaces/checkout/components/MoneyField.d.ts +16 -8
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/Option.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/OrderedList.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Paragraph.d.ts +12 -0
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/Popover.d.ts +39 -22
- package/build/ts/surfaces/checkout/components/PressButton.d.ts +14 -6
- package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
- package/build/ts/surfaces/checkout/components/Progress.d.ts +27 -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 +55 -0
- package/build/ts/surfaces/checkout/components/Section.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Select.d.ts +14 -6
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +40 -13
- package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Spinner.d.ts +16 -0
- package/build/ts/surfaces/checkout/components/Stack.d.ts +110 -0
- package/build/ts/surfaces/checkout/components/Summary.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Switch.d.ts +10 -2
- package/build/ts/surfaces/checkout/components/Text.d.ts +18 -1
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +16 -8
- package/build/ts/surfaces/checkout/components/TextField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/Time.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Tooltip.d.ts +21 -2
- package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +728 -718
- package/build/ts/surfaces/checkout/components/components.d.ts +575 -297
- 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 +239 -17
- 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 +453 -296
- 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 -138
- 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 +1 -0
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +34 -9
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +43 -15
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +44 -3
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +60 -9
- package/build/ts/surfaces/customer-account/components/Box.d.ts +50 -0
- package/build/ts/surfaces/customer-account/components/Button.d.ts +10 -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 +10 -2
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +2 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +10 -2
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +31 -7
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +15 -8
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +10 -2
- package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +16 -2
- package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +24 -10
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +24 -6
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +21 -5
- package/build/ts/surfaces/customer-account/components/Details.d.ts +13 -8
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +15 -3
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/Form.d.ts +9 -1
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +137 -0
- package/build/ts/surfaces/customer-account/components/GridItem.d.ts +55 -0
- package/build/ts/surfaces/customer-account/components/Heading.d.ts +1 -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 +10 -3
- package/build/ts/surfaces/customer-account/components/ListItem.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Map.d.ts +68 -6
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +36 -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 +16 -8
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/Option.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Page.d.ts +5 -5
- package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +12 -0
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +17 -1
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +39 -22
- package/build/ts/surfaces/customer-account/components/PressButton.d.ts +14 -6
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +26 -1
- package/build/ts/surfaces/customer-account/components/Progress.d.ts +27 -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 +55 -0
- package/build/ts/surfaces/customer-account/components/Section.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Select.d.ts +14 -6
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +40 -13
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Spinner.d.ts +16 -0
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +110 -0
- package/build/ts/surfaces/customer-account/components/Summary.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Switch.d.ts +10 -2
- package/build/ts/surfaces/customer-account/components/Text.d.ts +18 -1
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +16 -8
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/Time.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +21 -2
- package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +728 -718
- package/build/ts/surfaces/customer-account/components/components.d.ts +575 -297
- 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 +1 -0
- 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/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/generated/generated.ts +76 -0
- 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 +7 -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 +9 -0
- 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 +14 -0
- 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 +16 -4
- 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 +16 -0
- package/src/surfaces/admin/components/GridItem.d.ts +15 -0
- 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 +15 -0
- 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 +16 -0
- 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 +13 -0
- 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 +700 -0
- 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 +2 -1
- 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 -1
- 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 -425
- package/src/surfaces/checkout/components/Abbreviation.d.ts +1 -0
- package/src/surfaces/checkout/components/Announcement.d.ts +34 -9
- package/src/surfaces/checkout/components/Badge.d.ts +44 -3
- package/src/surfaces/checkout/components/Banner.d.ts +60 -9
- package/src/surfaces/checkout/components/Box.d.ts +50 -0
- package/src/surfaces/checkout/components/Button.d.ts +10 -3
- package/src/surfaces/checkout/components/Chat.d.ts +20 -0
- package/src/surfaces/checkout/components/Checkbox.d.ts +10 -2
- package/src/surfaces/checkout/components/Chip.d.ts +3 -3
- package/src/surfaces/checkout/components/Choice.d.ts +2 -0
- package/src/surfaces/checkout/components/ChoiceList.d.ts +10 -2
- package/src/surfaces/checkout/components/Clickable.d.ts +31 -7
- package/src/surfaces/checkout/components/ClickableChip.d.ts +15 -8
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +10 -2
- package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +16 -2
- package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +24 -10
- package/src/surfaces/checkout/components/DateField.d.ts +24 -6
- package/src/surfaces/checkout/components/DatePicker.d.ts +21 -5
- package/src/surfaces/checkout/components/Details.d.ts +13 -8
- package/src/surfaces/checkout/components/Divider.d.ts +1 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +15 -3
- package/src/surfaces/checkout/components/EmailField.d.ts +18 -10
- package/src/surfaces/checkout/components/Form.d.ts +9 -1
- package/src/surfaces/checkout/components/Grid.d.ts +137 -0
- package/src/surfaces/checkout/components/GridItem.d.ts +55 -0
- package/src/surfaces/checkout/components/Heading.d.ts +1 -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 +10 -3
- package/src/surfaces/checkout/components/ListItem.d.ts +1 -0
- package/src/surfaces/checkout/components/Map.d.ts +68 -6
- package/src/surfaces/checkout/components/MapMarker.d.ts +36 -8
- package/src/surfaces/checkout/components/Modal.d.ts +52 -8
- package/src/surfaces/checkout/components/MoneyField.d.ts +16 -8
- package/src/surfaces/checkout/components/NumberField.d.ts +18 -10
- package/src/surfaces/checkout/components/Option.d.ts +1 -0
- package/src/surfaces/checkout/components/OrderedList.d.ts +1 -0
- package/src/surfaces/checkout/components/Paragraph.d.ts +12 -0
- package/src/surfaces/checkout/components/PasswordField.d.ts +18 -10
- package/src/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
- package/src/surfaces/checkout/components/PhoneField.d.ts +18 -10
- package/src/surfaces/checkout/components/Popover.d.ts +39 -22
- package/src/surfaces/checkout/components/PressButton.d.ts +14 -6
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
- package/src/surfaces/checkout/components/Progress.d.ts +27 -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 +55 -0
- package/src/surfaces/checkout/components/Section.d.ts +4 -0
- package/src/surfaces/checkout/components/Select.d.ts +14 -6
- package/src/surfaces/checkout/components/Sheet.d.ts +40 -13
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +1 -0
- package/src/surfaces/checkout/components/Spinner.d.ts +16 -0
- package/src/surfaces/checkout/components/Stack.d.ts +110 -0
- package/src/surfaces/checkout/components/Summary.d.ts +1 -0
- package/src/surfaces/checkout/components/Switch.d.ts +10 -2
- package/src/surfaces/checkout/components/Text.d.ts +18 -1
- package/src/surfaces/checkout/components/TextArea.d.ts +16 -8
- package/src/surfaces/checkout/components/TextField.d.ts +18 -10
- package/src/surfaces/checkout/components/Time.d.ts +1 -0
- package/src/surfaces/checkout/components/Tooltip.d.ts +21 -2
- package/src/surfaces/checkout/components/UnorderedList.d.ts +1 -0
- package/src/surfaces/checkout/components/UrlField.d.ts +18 -10
- package/src/surfaces/checkout/components/components-shared.d.ts +728 -718
- package/src/surfaces/checkout/components/components.d.ts +575 -297
- 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 +244 -19
- package/src/surfaces/customer-account/api/order-status/order-status.ts +460 -296
- package/src/surfaces/customer-account/api/shared.ts +210 -138
- 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 +1 -0
- 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,652 @@ 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/apps/build/customer-accounts/metafields#create-the-metafield-definition)
|
|
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
|
-
* 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/
|
|
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/metafields#app-owned-metafields) 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
|
-
*
|
|
171
|
-
* @see https://shopify.dev/docs/apps/app-extensions/configuration#targets
|
|
236
|
+
* Learn more about [targets](/docs/api/customer-account-ui-extensions/{API_VERSION}/targets) and [target configuration](/docs/api/customer-account-ui-extensions/{API_VERSION}#configuration).
|
|
172
237
|
*
|
|
173
238
|
* @deprecated Deprecated as of version `2023-07`, use `extension.target` instead.
|
|
174
239
|
*/
|
|
175
240
|
extensionPoint: Target;
|
|
176
241
|
/**
|
|
177
|
-
* A list of
|
|
242
|
+
* A list of line items in the order. Each line includes the merchandise, quantity, cost,
|
|
243
|
+
* custom attributes, and discount allocations.
|
|
178
244
|
*/
|
|
179
245
|
lines: SubscribableSignalLike<CartLine[]>;
|
|
180
246
|
/**
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
* [
|
|
184
|
-
*
|
|
247
|
+
* The buyer's locale, currency, time zone, country, and market context for the order.
|
|
248
|
+
* Use these values to adapt your extension's content to the buyer's region. For formatted
|
|
249
|
+
* dates, numbers, and translated strings, use the [Localization API](/docs/api/customer-account-ui-extensions/{API_VERSION}/target-apis/platform-apis/localization-api)
|
|
250
|
+
* instead.
|
|
185
251
|
*/
|
|
186
252
|
localization: OrderStatusLocalization;
|
|
187
253
|
/**
|
|
188
254
|
* A note left by the customer to the merchant, either in their cart or during checkout.
|
|
255
|
+
* The value is `undefined` if no note was provided.
|
|
189
256
|
*/
|
|
190
257
|
note: SubscribableSignalLike<string | undefined>;
|
|
191
258
|
/**
|
|
192
|
-
*
|
|
259
|
+
* The order that was placed after checkout completion. Includes the order ID,
|
|
260
|
+
* display name, confirmation number, and timestamps for processing and cancellation.
|
|
261
|
+
* The value is `undefined` if the order hasn't been fully processed yet.
|
|
193
262
|
*/
|
|
194
263
|
order: SubscribableSignalLike<Order | undefined>;
|
|
195
264
|
/**
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
265
|
+
* The token that identifies the checkout session used to create the order. Use this value
|
|
266
|
+
* to correlate the order with analytics events or backend API calls. This matches the
|
|
267
|
+
* `token` field in the [WebPixel checkout payload](/docs/api/pixels/customer-events#checkout).
|
|
268
|
+
* The value is `undefined` if the checkout token is unavailable.
|
|
200
269
|
*/
|
|
201
270
|
checkoutToken: SubscribableSignalLike<CheckoutToken | undefined>;
|
|
202
271
|
/**
|
|
203
|
-
* The
|
|
204
|
-
*
|
|
205
|
-
*
|
|
272
|
+
* The shipping address that the buyer provided for the order. This is where physical goods
|
|
273
|
+
* are delivered. The value is `undefined` if the order contains only digital products or
|
|
274
|
+
* if a shipping address wasn't required.
|
|
206
275
|
*/
|
|
207
276
|
shippingAddress?: SubscribableSignalLike<MailingAddress | undefined>;
|
|
208
277
|
/**
|
|
209
|
-
* The
|
|
210
|
-
*
|
|
211
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
278
|
+
* The billing address associated with the buyer's payment method for the order. The value
|
|
279
|
+
* is `undefined` if the order doesn't have a billing address on file.
|
|
212
280
|
*/
|
|
213
281
|
billingAddress?: SubscribableSignalLike<MailingAddress | undefined>;
|
|
214
|
-
/**
|
|
282
|
+
/**
|
|
283
|
+
* The shop where the order was placed. Includes the shop ID, name, primary
|
|
284
|
+
* storefront URL, and myshopify.com domain.
|
|
285
|
+
*/
|
|
215
286
|
shop: Shop;
|
|
216
287
|
/**
|
|
217
|
-
* The
|
|
288
|
+
* 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
289
|
*
|
|
219
290
|
* @example 'unstable'
|
|
220
291
|
*/
|
|
221
292
|
version: Version;
|
|
222
293
|
/**
|
|
223
|
-
*
|
|
294
|
+
* Triggers a login prompt if the customer is viewing a pre-authenticated **Order status** page.
|
|
295
|
+
* Use this to require full authentication before displaying sensitive information in your extension.
|
|
224
296
|
*/
|
|
225
297
|
requireLogin: () => Promise<void>;
|
|
226
298
|
/**
|
|
227
|
-
* The authentication
|
|
299
|
+
* 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
300
|
*/
|
|
229
301
|
authenticationState: SubscribableSignalLike<AuthenticationState>;
|
|
230
302
|
}
|
|
303
|
+
/**
|
|
304
|
+
* Information about the buyer who placed the order.
|
|
305
|
+
*
|
|
306
|
+
* {% 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.
|
|
307
|
+
* @publicDocs
|
|
308
|
+
*/
|
|
231
309
|
export interface OrderStatusBuyerIdentity {
|
|
232
310
|
/**
|
|
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).
|
|
311
|
+
* The buyer's customer account, including their ID and whether they have accepted marketing.
|
|
312
|
+
* The value is `undefined` if the buyer is a guest or hasn't logged in yet.
|
|
237
313
|
*/
|
|
238
314
|
customer: SubscribableSignalLike<OrderStatusCustomer | undefined>;
|
|
239
315
|
/**
|
|
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).
|
|
316
|
+
* The email address associated with the order. This is the email the buyer provided during
|
|
317
|
+
* checkout for order confirmation and communication. The value is `undefined` if the app
|
|
318
|
+
* doesn't have access to customer data.
|
|
244
319
|
*/
|
|
245
320
|
email: SubscribableSignalLike<string | undefined>;
|
|
246
321
|
/**
|
|
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).
|
|
322
|
+
* The phone number the buyer provided during checkout. The value is `undefined` if no phone
|
|
323
|
+
* number was provided or the app doesn't have access to customer data.
|
|
251
324
|
*/
|
|
252
325
|
phone: SubscribableSignalLike<string | undefined>;
|
|
253
326
|
/**
|
|
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).
|
|
327
|
+
* The company and company location that a B2B (business-to-business) customer is purchasing
|
|
328
|
+
* on behalf of. Use this to identify the business context of the order. The value is
|
|
329
|
+
* `undefined` if the buyer isn't a B2B customer.
|
|
259
330
|
*/
|
|
260
331
|
purchasingCompany: SubscribableSignalLike<OrderStatusPurchasingCompany | undefined>;
|
|
261
332
|
}
|
|
262
333
|
/**
|
|
263
334
|
* Information about a company that the business customer is purchasing on behalf of.
|
|
335
|
+
*
|
|
336
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
337
|
+
* @publicDocs
|
|
264
338
|
*/
|
|
265
339
|
export interface OrderStatusPurchasingCompany {
|
|
266
340
|
/**
|
|
267
|
-
*
|
|
268
|
-
*
|
|
269
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
341
|
+
* The company that the B2B customer is purchasing on behalf of, including the company ID, name, and optional external ID.
|
|
270
342
|
*/
|
|
271
343
|
company: OrderStatusCompany;
|
|
272
344
|
/**
|
|
273
|
-
*
|
|
274
|
-
*
|
|
275
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
345
|
+
* The specific company location where the order is being placed, including the location ID, name, and optional external ID.
|
|
276
346
|
*/
|
|
277
347
|
location: OrderStatusCompanyLocation;
|
|
278
348
|
}
|
|
349
|
+
/**
|
|
350
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
351
|
+
* @publicDocs
|
|
352
|
+
*/
|
|
279
353
|
export interface OrderStatusCompany {
|
|
280
354
|
/**
|
|
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).
|
|
355
|
+
* A globally-unique identifier for the company in the format `gid://shopify/Company/<id>`.
|
|
284
356
|
*/
|
|
285
357
|
id: string;
|
|
286
358
|
/**
|
|
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).
|
|
359
|
+
* The registered business name of the company, as configured by the merchant in Shopify admin.
|
|
290
360
|
*/
|
|
291
361
|
name: string;
|
|
292
362
|
/**
|
|
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).
|
|
363
|
+
* 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
364
|
*/
|
|
297
365
|
externalId?: string;
|
|
298
366
|
}
|
|
367
|
+
/**
|
|
368
|
+
* {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
369
|
+
* @publicDocs
|
|
370
|
+
*/
|
|
299
371
|
export interface OrderStatusCompanyLocation {
|
|
300
372
|
/**
|
|
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).
|
|
373
|
+
* A globally-unique identifier for the company location in the format `gid://shopify/CompanyLocation/<id>`.
|
|
304
374
|
*/
|
|
305
375
|
id: string;
|
|
306
376
|
/**
|
|
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).
|
|
377
|
+
* The display name of the company location, such as a branch office or warehouse name.
|
|
310
378
|
*/
|
|
311
379
|
name: string;
|
|
312
380
|
/**
|
|
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).
|
|
381
|
+
* 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
382
|
*/
|
|
317
383
|
externalId?: string;
|
|
318
384
|
}
|
|
385
|
+
/**
|
|
386
|
+
* @publicDocs
|
|
387
|
+
*/
|
|
319
388
|
export interface AppliedGiftCard {
|
|
320
389
|
/**
|
|
321
|
-
* The last four characters of the applied gift card's code.
|
|
390
|
+
* The last four characters of the applied gift card's code. The full code isn't available for security reasons.
|
|
322
391
|
*/
|
|
323
392
|
lastCharacters: string;
|
|
324
393
|
/**
|
|
325
|
-
* The amount of the applied gift card that
|
|
394
|
+
* The amount of the applied gift card that was used for this order.
|
|
326
395
|
*/
|
|
327
396
|
amountUsed: Money;
|
|
328
397
|
/**
|
|
329
|
-
* The
|
|
398
|
+
* The remaining balance of the applied gift card after the order was placed.
|
|
330
399
|
*/
|
|
331
400
|
balance: Money;
|
|
332
401
|
}
|
|
402
|
+
/**
|
|
403
|
+
* @publicDocs
|
|
404
|
+
*/
|
|
333
405
|
export interface Shop {
|
|
334
406
|
/**
|
|
335
|
-
*
|
|
407
|
+
* A globally-unique identifier for the shop in the format `gid://shopify/Shop/<id>`.
|
|
408
|
+
*
|
|
336
409
|
* @example 'gid://shopify/Shop/123'
|
|
337
410
|
*/
|
|
338
411
|
id: string;
|
|
339
412
|
/**
|
|
340
|
-
* The name of the shop.
|
|
413
|
+
* The display name of the shop as configured by the merchant in Shopify admin.
|
|
341
414
|
*/
|
|
342
415
|
name: string;
|
|
343
416
|
/**
|
|
344
|
-
* The primary storefront URL.
|
|
345
|
-
*
|
|
346
|
-
* > Caution:
|
|
347
|
-
* As of version `2024-10` this value will no longer have a trailing slash.
|
|
417
|
+
* 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
418
|
*/
|
|
349
419
|
storefrontUrl?: string;
|
|
350
420
|
/**
|
|
351
|
-
* The shop's myshopify.com domain.
|
|
421
|
+
* 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
422
|
*/
|
|
353
423
|
myshopifyDomain: string;
|
|
354
424
|
}
|
|
425
|
+
/**
|
|
426
|
+
* @publicDocs
|
|
427
|
+
*/
|
|
355
428
|
export interface CartCost {
|
|
356
429
|
/**
|
|
357
|
-
*
|
|
358
|
-
*
|
|
430
|
+
* The sum of all line item prices before shipping and taxes are applied. Use this value
|
|
431
|
+
* to display the base cost of the items the buyer purchased.
|
|
359
432
|
*/
|
|
360
433
|
subtotalAmount: SubscribableSignalLike<Money>;
|
|
361
434
|
/**
|
|
362
|
-
*
|
|
363
|
-
*
|
|
364
|
-
*
|
|
435
|
+
* The total shipping cost for the order, after any shipping discounts have been applied.
|
|
436
|
+
* The value is `undefined` if shipping costs haven't been calculated or aren't applicable
|
|
437
|
+
* (for example, for digital-only orders).
|
|
365
438
|
*/
|
|
366
439
|
totalShippingAmount: SubscribableSignalLike<Money | undefined>;
|
|
367
440
|
/**
|
|
368
|
-
*
|
|
369
|
-
*
|
|
370
|
-
* undefined if
|
|
441
|
+
* The total tax charged for the order. This may represent taxes added on top of item prices
|
|
442
|
+
* or taxes already included in product and shipping prices, depending on the store's tax
|
|
443
|
+
* configuration. The value is `undefined` if tax information is unavailable.
|
|
371
444
|
*/
|
|
372
445
|
totalTaxAmount: SubscribableSignalLike<Money | undefined>;
|
|
373
446
|
/**
|
|
374
|
-
*
|
|
375
|
-
*
|
|
376
|
-
* the information step might not have delivery costs calculated.
|
|
447
|
+
* The final amount the buyer paid for the order, including all line items, shipping, taxes,
|
|
448
|
+
* and discounts. Gift cards and store credits are excluded from this total.
|
|
377
449
|
*/
|
|
378
450
|
totalAmount: SubscribableSignalLike<Money>;
|
|
379
451
|
}
|
|
452
|
+
/**
|
|
453
|
+
* @publicDocs
|
|
454
|
+
*/
|
|
380
455
|
export interface CartLine {
|
|
381
456
|
/**
|
|
382
|
-
*
|
|
383
|
-
*
|
|
384
|
-
* ID before any call to `applyCartLinesChange` because you'll need the ID to
|
|
385
|
-
* create a `CartLineChange` object.
|
|
457
|
+
* 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.
|
|
458
|
+
*
|
|
386
459
|
* @example 'gid://shopify/CartLine/123'
|
|
387
460
|
*/
|
|
388
461
|
id: string;
|
|
389
462
|
/**
|
|
390
|
-
* The merchandise
|
|
463
|
+
* 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
464
|
*/
|
|
392
465
|
merchandise: Merchandise;
|
|
393
466
|
/**
|
|
394
|
-
* The
|
|
467
|
+
* The number of units of this merchandise that the buyer purchased.
|
|
395
468
|
*/
|
|
396
469
|
quantity: number;
|
|
397
470
|
/**
|
|
398
|
-
* The
|
|
471
|
+
* The cost breakdown for this line item, including the total price after any line-level discounts have been applied.
|
|
399
472
|
*/
|
|
400
473
|
cost: CartLineCost;
|
|
401
474
|
/**
|
|
402
|
-
*
|
|
475
|
+
* 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
476
|
*/
|
|
404
477
|
attributes: Attribute[];
|
|
405
478
|
/**
|
|
406
|
-
*
|
|
479
|
+
* 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
480
|
*/
|
|
408
481
|
discountAllocations: CartDiscountAllocation[];
|
|
409
482
|
/**
|
|
410
|
-
*
|
|
483
|
+
* 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
484
|
*/
|
|
412
485
|
lineComponents: CartLineComponentType[];
|
|
413
486
|
}
|
|
414
487
|
type CartLineComponentType = CartBundleLineComponent;
|
|
488
|
+
/**
|
|
489
|
+
* @publicDocs
|
|
490
|
+
*/
|
|
415
491
|
export interface CartBundleLineComponent {
|
|
492
|
+
/**
|
|
493
|
+
* The type of line component. Always `'bundle'` for bundle line components.
|
|
494
|
+
*/
|
|
416
495
|
type: 'bundle';
|
|
417
496
|
/**
|
|
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.
|
|
497
|
+
* 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
498
|
*
|
|
422
499
|
* @example 'gid://shopify/CartLineComponent/123'
|
|
423
500
|
*/
|
|
424
501
|
id: string;
|
|
425
502
|
/**
|
|
426
|
-
* The
|
|
503
|
+
* The product variant included in this bundle component. Use this to display product details for individual items within a bundle.
|
|
427
504
|
*/
|
|
428
505
|
merchandise: Merchandise;
|
|
429
506
|
/**
|
|
430
|
-
* The
|
|
507
|
+
* The number of units of this component included in the bundle.
|
|
431
508
|
*/
|
|
432
509
|
quantity: number;
|
|
433
510
|
/**
|
|
434
|
-
* The cost
|
|
511
|
+
* The cost breakdown for this bundle component, representing the portion of the bundle price attributed to this item.
|
|
435
512
|
*/
|
|
436
513
|
cost: CartLineCost;
|
|
437
514
|
/**
|
|
438
|
-
*
|
|
515
|
+
* Custom key-value pairs attached to this bundle component, such as personalization options specific to this item within the bundle.
|
|
439
516
|
*
|
|
440
517
|
* @example [{key: 'engraving', value: 'hello world'}]
|
|
441
518
|
*/
|
|
442
519
|
attributes: Attribute[];
|
|
443
520
|
}
|
|
521
|
+
/**
|
|
522
|
+
* @publicDocs
|
|
523
|
+
*/
|
|
444
524
|
export interface CartLineCost {
|
|
445
525
|
/**
|
|
446
|
-
* The total
|
|
447
|
-
* cart line.
|
|
526
|
+
* 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
527
|
*/
|
|
449
528
|
totalAmount: Money;
|
|
450
529
|
}
|
|
530
|
+
/**
|
|
531
|
+
* @publicDocs
|
|
532
|
+
*/
|
|
451
533
|
export interface Money {
|
|
452
534
|
/**
|
|
453
|
-
* The
|
|
535
|
+
* The decimal amount of the price. For example, `29.99` represents twenty-nine dollars and ninety-nine cents.
|
|
454
536
|
*/
|
|
455
537
|
amount: number;
|
|
456
538
|
/**
|
|
457
|
-
* The
|
|
539
|
+
* The three-letter currency code in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format.
|
|
540
|
+
*
|
|
458
541
|
* @example 'CAD' for Canadian dollar
|
|
459
542
|
*/
|
|
460
543
|
currencyCode: CurrencyCode;
|
|
461
544
|
}
|
|
545
|
+
/**
|
|
546
|
+
* @publicDocs
|
|
547
|
+
*/
|
|
462
548
|
export type Merchandise = ProductVariant;
|
|
549
|
+
/**
|
|
550
|
+
* @publicDocs
|
|
551
|
+
*/
|
|
463
552
|
export interface BaseMerchandise {
|
|
464
553
|
/**
|
|
465
|
-
*
|
|
554
|
+
* A globally-unique identifier for the merchandise.
|
|
466
555
|
*/
|
|
467
556
|
id: string;
|
|
468
557
|
}
|
|
558
|
+
/**
|
|
559
|
+
* @publicDocs
|
|
560
|
+
*/
|
|
469
561
|
export interface ProductVariant extends BaseMerchandise {
|
|
562
|
+
/**
|
|
563
|
+
* The type of merchandise. Always `'variant'` for product variants.
|
|
564
|
+
*/
|
|
470
565
|
type: 'variant';
|
|
471
566
|
/**
|
|
472
|
-
* A globally-unique identifier
|
|
567
|
+
* A globally-unique identifier for the product variant in the format `gid://shopify/ProductVariant/<id>`.
|
|
568
|
+
*
|
|
473
569
|
* @example 'gid://shopify/ProductVariant/123'
|
|
474
570
|
*/
|
|
475
571
|
id: string;
|
|
476
572
|
/**
|
|
477
|
-
* The product variant
|
|
573
|
+
* 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
574
|
*/
|
|
479
575
|
title: string;
|
|
480
576
|
/**
|
|
481
|
-
* The
|
|
577
|
+
* 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
578
|
*/
|
|
483
579
|
sku?: string;
|
|
484
580
|
/**
|
|
485
|
-
*
|
|
581
|
+
* 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
582
|
*/
|
|
487
583
|
subtitle?: string;
|
|
488
584
|
/**
|
|
489
|
-
*
|
|
490
|
-
* image if no image is available.
|
|
585
|
+
* 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
586
|
*/
|
|
492
587
|
image?: ImageDetails;
|
|
493
588
|
/**
|
|
494
|
-
*
|
|
589
|
+
* 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
590
|
*/
|
|
496
591
|
selectedOptions: SelectedOption[];
|
|
497
592
|
/**
|
|
498
|
-
* The product
|
|
593
|
+
* The parent product that this variant belongs to. Use this to access the product title, vendor, and type.
|
|
499
594
|
*/
|
|
500
595
|
product: Product;
|
|
501
596
|
/**
|
|
502
|
-
* Whether
|
|
597
|
+
* Whether this product variant requires physical shipping. Returns `false` for digital products, gift cards, and services.
|
|
503
598
|
*/
|
|
504
599
|
requiresShipping: boolean;
|
|
505
600
|
/**
|
|
506
|
-
* The selling plan associated with
|
|
601
|
+
* 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
602
|
*/
|
|
508
603
|
sellingPlan?: SellingPlan;
|
|
509
604
|
}
|
|
605
|
+
/**
|
|
606
|
+
* @publicDocs
|
|
607
|
+
*/
|
|
510
608
|
export interface Product {
|
|
511
609
|
/**
|
|
512
|
-
* A globally-unique identifier
|
|
610
|
+
* A globally-unique identifier for the product in the format `gid://shopify/Product/<id>`.
|
|
513
611
|
*/
|
|
514
612
|
id: string;
|
|
515
613
|
/**
|
|
516
|
-
* The product
|
|
614
|
+
* The name of the product's vendor or manufacturer, as set by the merchant in Shopify admin.
|
|
517
615
|
*/
|
|
518
616
|
vendor: string;
|
|
519
617
|
/**
|
|
520
|
-
* A categorization
|
|
618
|
+
* A merchant-defined categorization for the product, such as "Accessories" or "Clothing". Commonly used for filtering and organizing products in a storefront.
|
|
521
619
|
*/
|
|
522
620
|
productType: string;
|
|
523
621
|
}
|
|
622
|
+
/**
|
|
623
|
+
* @publicDocs
|
|
624
|
+
*/
|
|
524
625
|
export interface ImageDetails {
|
|
525
626
|
/**
|
|
526
|
-
* The
|
|
627
|
+
* The fully-qualified URL of the image. Use this to render the product or variant image in your extension.
|
|
527
628
|
*/
|
|
528
629
|
url: string;
|
|
529
630
|
/**
|
|
530
|
-
* The alternative text for the image.
|
|
631
|
+
* 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
632
|
*/
|
|
532
633
|
altText?: string;
|
|
533
634
|
}
|
|
635
|
+
/**
|
|
636
|
+
* @publicDocs
|
|
637
|
+
*/
|
|
534
638
|
export interface SelectedOption {
|
|
535
639
|
/**
|
|
536
|
-
* The name of the
|
|
640
|
+
* The name of the product option, such as "Size", "Color", or "Material".
|
|
537
641
|
*/
|
|
538
642
|
name: string;
|
|
539
643
|
/**
|
|
540
|
-
* The value
|
|
644
|
+
* The selected value for this option, such as "Medium", "Blue", or "Cotton".
|
|
541
645
|
*/
|
|
542
646
|
value: string;
|
|
543
647
|
}
|
|
544
648
|
/**
|
|
545
649
|
* A payment option presented to the buyer.
|
|
650
|
+
* @publicDocs
|
|
546
651
|
*/
|
|
547
652
|
export interface PaymentOption {
|
|
548
653
|
/**
|
|
@@ -561,404 +666,456 @@ export interface PaymentOption {
|
|
|
561
666
|
* | `paymentOnDelivery` | A payment that will be collected on delivery. |
|
|
562
667
|
* | `redeemable` | A redeemable payment option such as a gift card or store credit. |
|
|
563
668
|
* | `wallet` | An integrated wallet such as PayPal, Google Pay, Apple Pay, etc. |
|
|
564
|
-
* | `customOnsite` | A custom payment option that
|
|
669
|
+
* | `customOnsite` | A custom payment option that's processed through a checkout extension with a payments app. |
|
|
565
670
|
*/
|
|
566
671
|
type: 'creditCard' | 'deferred' | 'local' | 'manualPayment' | 'offsite' | 'other' | 'paymentOnDelivery' | 'redeemable' | 'wallet' | 'customOnsite';
|
|
567
672
|
/**
|
|
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.
|
|
673
|
+
* 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
674
|
*/
|
|
572
675
|
handle: string;
|
|
573
676
|
}
|
|
574
677
|
/**
|
|
575
678
|
* A payment option selected by the buyer.
|
|
679
|
+
* @publicDocs
|
|
576
680
|
*/
|
|
577
681
|
export interface SelectedPaymentOption {
|
|
578
682
|
/**
|
|
579
|
-
* The
|
|
683
|
+
* The handle of the payment option the buyer selected, corresponding to a `PaymentOption.handle` value.
|
|
580
684
|
*
|
|
581
|
-
* See [availablePaymentOptions](
|
|
685
|
+
* See [availablePaymentOptions](/docs/api/customer-account-ui-extensions/{API_VERSION}/target-apis/order-apis/payments-api).
|
|
582
686
|
*/
|
|
583
687
|
handle: string;
|
|
584
688
|
}
|
|
689
|
+
/**
|
|
690
|
+
* @publicDocs
|
|
691
|
+
*/
|
|
585
692
|
export interface CartDiscountCode {
|
|
586
693
|
/**
|
|
587
|
-
* The code
|
|
694
|
+
* 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
695
|
*/
|
|
589
696
|
code: string;
|
|
590
697
|
}
|
|
698
|
+
/**
|
|
699
|
+
* A discount allocation represents a single discount applied to a specific line item or the overall order.
|
|
700
|
+
* When a discount applies to an order, Shopify splits the total discount amount across the affected line items
|
|
701
|
+
* as individual allocations. For example, a "10% off your order" discount is distributed proportionally across
|
|
702
|
+
* each line item rather than appearing as one lump sum.
|
|
703
|
+
*
|
|
704
|
+
* There are three types of discount allocations:
|
|
705
|
+
* - `CartCodeDiscountAllocation`: A discount applied using a code the buyer entered at checkout (for example, "SAVE10").
|
|
706
|
+
* - `CartAutomaticDiscountAllocation`: A discount the merchant configured in Shopify admin to apply automatically without a code.
|
|
707
|
+
* - `CartCustomDiscountAllocation`: A discount created programmatically by a [Shopify Function](/docs/apps/build/functions).
|
|
708
|
+
* @publicDocs
|
|
709
|
+
*/
|
|
591
710
|
export type CartDiscountAllocation = CartCodeDiscountAllocation | CartAutomaticDiscountAllocation | CartCustomDiscountAllocation;
|
|
711
|
+
/**
|
|
712
|
+
* The base properties shared by all discount allocation types.
|
|
713
|
+
* @publicDocs
|
|
714
|
+
*/
|
|
592
715
|
export interface CartDiscountAllocationBase {
|
|
593
716
|
/**
|
|
594
|
-
* The
|
|
717
|
+
* The monetary value that was deducted from the line item or order total by this discount allocation.
|
|
595
718
|
*/
|
|
596
719
|
discountedAmount: Money;
|
|
597
720
|
}
|
|
721
|
+
/**
|
|
722
|
+
* A discount allocation for a discount that was applied using a code the buyer entered at checkout.
|
|
723
|
+
* @publicDocs
|
|
724
|
+
*/
|
|
598
725
|
export interface CartCodeDiscountAllocation extends CartDiscountAllocationBase {
|
|
599
726
|
/**
|
|
600
|
-
* The code
|
|
727
|
+
* The discount code string that the buyer entered during checkout, such as "SAVE10" or "FREESHIP".
|
|
601
728
|
*/
|
|
602
729
|
code: string;
|
|
603
730
|
/**
|
|
604
|
-
* The type of
|
|
731
|
+
* The type of this discount allocation. Always `'code'` for discounts applied using a code entered by the buyer.
|
|
605
732
|
*/
|
|
606
733
|
type: 'code';
|
|
607
734
|
}
|
|
735
|
+
/**
|
|
736
|
+
* A discount allocation for a discount that the merchant configured to apply automatically in Shopify admin, without the buyer needing to enter a code.
|
|
737
|
+
* @publicDocs
|
|
738
|
+
*/
|
|
608
739
|
export interface CartAutomaticDiscountAllocation extends CartDiscountAllocationBase {
|
|
609
740
|
/**
|
|
610
|
-
* The title of the automatic discount
|
|
741
|
+
* The merchant-defined title of the automatic discount as displayed to the buyer, such as "Summer Sale 10% Off".
|
|
611
742
|
*/
|
|
612
743
|
title: string;
|
|
613
744
|
/**
|
|
614
|
-
* The type of
|
|
745
|
+
* The type of this discount allocation. Always `'automatic'` for discounts configured to apply automatically without a code.
|
|
615
746
|
*/
|
|
616
747
|
type: 'automatic';
|
|
617
748
|
}
|
|
749
|
+
/**
|
|
750
|
+
* A discount allocation for a discount created by a [Shopify Function](/docs/apps/build/functions), such as a custom discount logic app.
|
|
751
|
+
* @publicDocs
|
|
752
|
+
*/
|
|
618
753
|
export interface CartCustomDiscountAllocation extends CartDiscountAllocationBase {
|
|
619
754
|
/**
|
|
620
|
-
* The title of the custom discount
|
|
755
|
+
* The title of the custom discount as defined by the Shopify Function that created it.
|
|
621
756
|
*/
|
|
622
757
|
title: string;
|
|
623
758
|
/**
|
|
624
|
-
* The type of
|
|
759
|
+
* The type of this discount allocation. Always `'custom'` for discounts created by a Shopify Function.
|
|
625
760
|
*/
|
|
626
761
|
type: 'custom';
|
|
627
762
|
}
|
|
628
763
|
/**
|
|
629
764
|
* Information about a customer who has previously purchased from this shop.
|
|
630
765
|
*
|
|
631
|
-
* {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
|
|
766
|
+
* {% 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.
|
|
767
|
+
* @publicDocs
|
|
632
768
|
*/
|
|
633
769
|
export interface OrderStatusCustomer {
|
|
634
770
|
/**
|
|
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'
|
|
771
|
+
* A globally-unique identifier for the customer in the format `gid://shopify/Customer/<id>`. 'gid://shopify/Customer/123'
|
|
640
772
|
*/
|
|
641
773
|
id: string;
|
|
642
774
|
/**
|
|
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).
|
|
775
|
+
* The email address associated with the customer's account. The value is `undefined` if the app doesn't have the required access level.
|
|
646
776
|
*/
|
|
647
777
|
email?: string;
|
|
648
778
|
/**
|
|
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).
|
|
779
|
+
* 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
780
|
*/
|
|
653
781
|
phone?: string;
|
|
654
782
|
/**
|
|
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).
|
|
783
|
+
* 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
784
|
*/
|
|
659
785
|
fullName?: string;
|
|
660
786
|
/**
|
|
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).
|
|
787
|
+
* The customer's first name. The value is `undefined` if the app doesn't have the required access level.
|
|
664
788
|
*/
|
|
665
789
|
firstName?: string;
|
|
666
790
|
/**
|
|
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).
|
|
791
|
+
* The customer's last name. The value is `undefined` if the app doesn't have the required access level.
|
|
670
792
|
*/
|
|
671
793
|
lastName?: string;
|
|
672
794
|
/**
|
|
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).
|
|
795
|
+
* The customer's profile image, such as a Gravatar avatar. Use this to personalize the extension UI for the logged-in buyer.
|
|
676
796
|
*/
|
|
677
797
|
image: ImageDetails;
|
|
678
798
|
/**
|
|
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).
|
|
799
|
+
* Whether the customer has opted in to receiving marketing communications from the merchant, such as email campaigns and promotional offers.
|
|
682
800
|
*/
|
|
683
801
|
acceptsMarketing: boolean;
|
|
684
802
|
/**
|
|
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).
|
|
803
|
+
* 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
804
|
*
|
|
689
805
|
* @private
|
|
690
806
|
*/
|
|
691
807
|
storeCreditAccounts: StoreCreditAccount[];
|
|
692
808
|
}
|
|
809
|
+
/**
|
|
810
|
+
* A string token that uniquely identifies the checkout session used to create the order.
|
|
811
|
+
* @publicDocs
|
|
812
|
+
*/
|
|
693
813
|
export type CheckoutToken = string;
|
|
694
814
|
/**
|
|
695
815
|
* Settings describing the behavior of the buyer's checkout.
|
|
816
|
+
* @publicDocs
|
|
696
817
|
*/
|
|
697
818
|
export interface CheckoutSettings {
|
|
698
819
|
/**
|
|
699
|
-
* The type of order
|
|
820
|
+
* The type of order created when checkout is completed:
|
|
821
|
+
*
|
|
822
|
+
* - `'DRAFT_ORDER'`: A draft order that must be manually reviewed and finalized by the merchant before it is processed.
|
|
823
|
+
* - `'ORDER'`: A standard order that's immediately processed and visible in Shopify admin.
|
|
700
824
|
*/
|
|
701
825
|
orderSubmission: 'DRAFT_ORDER' | 'ORDER';
|
|
702
826
|
/**
|
|
703
|
-
*
|
|
827
|
+
* 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
828
|
*/
|
|
705
829
|
paymentTermsTemplate?: PaymentTermsTemplate;
|
|
706
830
|
/**
|
|
707
|
-
* Settings
|
|
831
|
+
* Settings that control how the shipping address behaves during checkout, such as whether the buyer can edit the address.
|
|
708
832
|
*/
|
|
709
833
|
shippingAddress: ShippingAddressSettings;
|
|
710
834
|
}
|
|
711
835
|
/**
|
|
712
836
|
* Settings describing the behavior of the shipping address.
|
|
837
|
+
* @publicDocs
|
|
713
838
|
*/
|
|
714
839
|
export interface ShippingAddressSettings {
|
|
715
840
|
/**
|
|
716
|
-
*
|
|
841
|
+
* 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
842
|
*/
|
|
718
843
|
isEditable: boolean;
|
|
719
844
|
}
|
|
720
845
|
/**
|
|
721
|
-
*
|
|
846
|
+
* 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".
|
|
847
|
+
* @publicDocs
|
|
722
848
|
*/
|
|
723
849
|
export interface PaymentTermsTemplate {
|
|
724
850
|
/**
|
|
725
|
-
* A globally-unique
|
|
851
|
+
* A globally-unique identifier for the payment terms template in the format `gid://shopify/PaymentTermsTemplate/<id>`.
|
|
726
852
|
* @example 'gid://shopify/PaymentTermsTemplate/1'
|
|
727
853
|
*/
|
|
728
854
|
id: string;
|
|
729
855
|
/**
|
|
730
|
-
* The name of the payment terms translated to the buyer's current language. See [localization.language](
|
|
856
|
+
* The name of the payment terms translated to the buyer's current language, such as "Net 30" or "Due on receipt". See [localization.language](/docs/api/customer-account-ui-extensions/{API_VERSION}/apis/localization#standardapi-propertydetail-localization).
|
|
731
857
|
*/
|
|
732
858
|
name: string;
|
|
733
859
|
/**
|
|
734
|
-
* The due date for
|
|
860
|
+
* 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
861
|
*/
|
|
736
862
|
dueDate?: string;
|
|
737
863
|
/**
|
|
738
|
-
* The number of days
|
|
864
|
+
* 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
865
|
*/
|
|
740
866
|
dueInDays?: number;
|
|
741
867
|
}
|
|
742
868
|
/**
|
|
743
|
-
*
|
|
869
|
+
* 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.
|
|
870
|
+
* @publicDocs
|
|
744
871
|
*/
|
|
745
872
|
export interface StoreCreditAccount {
|
|
746
873
|
/**
|
|
747
|
-
* A globally-unique identifier
|
|
874
|
+
* A globally-unique identifier for the store credit account in the format `gid://shopify/StoreCreditAccount/<id>`.
|
|
748
875
|
* @example 'gid://shopify/StoreCreditAccount/1'
|
|
749
876
|
*/
|
|
750
877
|
id: string;
|
|
751
878
|
/**
|
|
752
|
-
* The
|
|
879
|
+
* The remaining balance available in this store credit account. This reflects the amount that can still be applied toward purchases.
|
|
753
880
|
*/
|
|
754
881
|
balance: Money;
|
|
755
882
|
}
|
|
756
883
|
/**
|
|
757
|
-
*
|
|
758
|
-
*
|
|
884
|
+
* 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.
|
|
885
|
+
* @publicDocs
|
|
759
886
|
*/
|
|
760
887
|
export interface DeliveryGroup {
|
|
761
888
|
/**
|
|
762
|
-
* The cart
|
|
889
|
+
* The cart lines included in this delivery group. Each reference contains the ID of the associated cart line.
|
|
763
890
|
*/
|
|
764
891
|
targetedCartLines: CartLineReference[];
|
|
765
892
|
/**
|
|
766
|
-
* The delivery options
|
|
893
|
+
* The list of delivery options the buyer can choose from for this group, such as standard shipping, express shipping, or local pickup.
|
|
767
894
|
*/
|
|
768
895
|
deliveryOptions: DeliveryOption[];
|
|
769
896
|
/**
|
|
770
|
-
* The
|
|
897
|
+
* The delivery option that the buyer selected for this group. The value is `undefined` if no option has been selected yet.
|
|
771
898
|
*/
|
|
772
899
|
selectedDeliveryOption?: DeliveryOptionReference;
|
|
773
900
|
/**
|
|
774
|
-
* The type
|
|
901
|
+
* The purchase type for this delivery group. `'oneTimePurchase'` for standard orders, or `'subscription'` for items on a recurring delivery schedule.
|
|
775
902
|
*/
|
|
776
903
|
groupType: DeliveryGroupType;
|
|
777
904
|
/**
|
|
778
|
-
* Whether delivery is required for the
|
|
905
|
+
* 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
906
|
*/
|
|
780
907
|
isDeliveryRequired: boolean;
|
|
781
908
|
}
|
|
782
909
|
/**
|
|
783
|
-
* The
|
|
910
|
+
* The purchase type for a delivery group: `'oneTimePurchase'` for standard orders or `'subscription'` for recurring deliveries.
|
|
911
|
+
* @publicDocs
|
|
784
912
|
*/
|
|
785
913
|
export type DeliveryGroupType = 'oneTimePurchase' | 'subscription';
|
|
786
914
|
/**
|
|
787
|
-
*
|
|
915
|
+
* A reference to a cart line within a delivery group, identified by the cart line's ID.
|
|
916
|
+
* @publicDocs
|
|
788
917
|
*/
|
|
789
918
|
export interface CartLineReference {
|
|
790
919
|
/**
|
|
791
|
-
* The
|
|
920
|
+
* The ID of the cart line that belongs to this delivery group, matching a `CartLine.id` value.
|
|
792
921
|
*/
|
|
793
922
|
id: string;
|
|
794
923
|
}
|
|
795
924
|
/**
|
|
796
|
-
*
|
|
925
|
+
* A reference to the delivery option selected by the buyer for a delivery group.
|
|
926
|
+
* @publicDocs
|
|
797
927
|
*/
|
|
798
928
|
export interface DeliveryOptionReference {
|
|
799
929
|
/**
|
|
800
|
-
* The
|
|
930
|
+
* The handle of the selected delivery option, matching a `DeliveryOption.handle` value.
|
|
801
931
|
*/
|
|
802
932
|
handle: string;
|
|
803
933
|
}
|
|
804
934
|
/**
|
|
805
|
-
*
|
|
935
|
+
* The base properties shared by all delivery option types, including shipping, local pickup, and pickup point options.
|
|
936
|
+
* @publicDocs
|
|
806
937
|
*/
|
|
807
938
|
export interface DeliveryOption {
|
|
808
939
|
/**
|
|
809
|
-
*
|
|
940
|
+
* A unique identifier for this delivery option within the checkout session. Use this handle to match against `DeliveryOptionReference.handle`.
|
|
810
941
|
*/
|
|
811
942
|
handle: string;
|
|
812
943
|
/**
|
|
813
|
-
* The
|
|
944
|
+
* 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
945
|
*/
|
|
815
946
|
title?: string;
|
|
816
947
|
/**
|
|
817
|
-
*
|
|
948
|
+
* Additional details about the delivery option, such as estimated delivery time or service level. The value is `undefined` if no description is set.
|
|
818
949
|
*/
|
|
819
950
|
description?: string;
|
|
820
951
|
}
|
|
821
952
|
/**
|
|
822
|
-
*
|
|
953
|
+
* A delivery option where items are shipped to the buyer's address, either via a carrier (`'shipping'`) or through a local delivery service (`'local'`).
|
|
954
|
+
* @publicDocs
|
|
823
955
|
*/
|
|
824
956
|
export interface ShippingOption extends DeliveryOption {
|
|
825
957
|
/**
|
|
826
|
-
* The
|
|
958
|
+
* The delivery method. `'shipping'` for carrier-based delivery to the buyer's address, or `'local'` for same-day or local courier delivery.
|
|
827
959
|
*/
|
|
828
960
|
type: 'shipping' | 'local';
|
|
829
961
|
/**
|
|
830
|
-
*
|
|
962
|
+
* The shipping carrier responsible for delivering the items, such as USPS, FedEx, or a custom carrier.
|
|
831
963
|
*/
|
|
832
964
|
carrier: ShippingOptionCarrier;
|
|
833
965
|
/**
|
|
834
|
-
* The cost
|
|
966
|
+
* The original shipping cost before any discounts are applied.
|
|
835
967
|
*/
|
|
836
968
|
cost: Money;
|
|
837
969
|
/**
|
|
838
|
-
* The cost
|
|
970
|
+
* The final shipping cost after any shipping discounts have been applied. Compare with `cost` to determine the discount amount.
|
|
839
971
|
*/
|
|
840
972
|
costAfterDiscounts: Money;
|
|
841
973
|
/**
|
|
842
|
-
*
|
|
974
|
+
* The estimated delivery timeline, including the expected time in transit.
|
|
843
975
|
*/
|
|
844
976
|
deliveryEstimate: DeliveryEstimate;
|
|
845
977
|
}
|
|
978
|
+
/**
|
|
979
|
+
* @publicDocs
|
|
980
|
+
*/
|
|
846
981
|
export interface DeliveryEstimate {
|
|
847
982
|
/**
|
|
848
|
-
* The estimated time
|
|
983
|
+
* 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
984
|
*/
|
|
850
985
|
timeInTransit?: NumberRange;
|
|
851
986
|
}
|
|
987
|
+
/**
|
|
988
|
+
* @publicDocs
|
|
989
|
+
*/
|
|
852
990
|
export interface ShippingOptionCarrier {
|
|
853
991
|
/**
|
|
854
|
-
* The name of the carrier.
|
|
992
|
+
* 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
993
|
*/
|
|
856
994
|
name?: string;
|
|
857
995
|
}
|
|
996
|
+
/**
|
|
997
|
+
* @publicDocs
|
|
998
|
+
*/
|
|
858
999
|
export interface PickupPointOption extends DeliveryOption {
|
|
859
1000
|
/**
|
|
860
|
-
* The
|
|
1001
|
+
* The delivery method. Always `'pickupPoint'` for pickup point options.
|
|
861
1002
|
*/
|
|
862
1003
|
type: 'pickupPoint';
|
|
863
1004
|
/**
|
|
864
|
-
*
|
|
1005
|
+
* The carrier responsible for shipping items to the pickup point location.
|
|
865
1006
|
*/
|
|
866
1007
|
carrier: PickupPointCarrier;
|
|
867
1008
|
/**
|
|
868
|
-
* The cost to ship to this pickup point.
|
|
1009
|
+
* The original cost to ship items to this pickup point before any discounts.
|
|
869
1010
|
*/
|
|
870
1011
|
cost: Money;
|
|
871
1012
|
/**
|
|
872
|
-
* The cost to ship to this pickup point
|
|
1013
|
+
* The final cost to ship to this pickup point after discounts have been applied.
|
|
873
1014
|
*/
|
|
874
1015
|
costAfterDiscounts: Money;
|
|
875
1016
|
/**
|
|
876
|
-
* The location
|
|
1017
|
+
* The physical location of the pickup point, including its name, address, and unique handle.
|
|
877
1018
|
*/
|
|
878
1019
|
location: PickupPointLocation;
|
|
879
1020
|
}
|
|
1021
|
+
/**
|
|
1022
|
+
* @publicDocs
|
|
1023
|
+
*/
|
|
880
1024
|
export interface PickupLocationOption extends DeliveryOption {
|
|
881
1025
|
/**
|
|
882
|
-
* The
|
|
1026
|
+
* The delivery method. Always `'pickup'` for merchant pickup location options.
|
|
883
1027
|
*/
|
|
884
1028
|
type: 'pickup';
|
|
885
1029
|
/**
|
|
886
|
-
* The location
|
|
1030
|
+
* The physical location where the buyer can pick up their order, including the store name and address.
|
|
887
1031
|
*/
|
|
888
1032
|
location: PickupLocation;
|
|
889
1033
|
}
|
|
890
|
-
|
|
1034
|
+
/**
|
|
1035
|
+
* @publicDocs
|
|
1036
|
+
*/
|
|
1037
|
+
export interface PickupLocation {
|
|
891
1038
|
/**
|
|
892
|
-
* The name of the pickup location.
|
|
1039
|
+
* The display name of the pickup location, such as the store or warehouse name. The value is `undefined` if no name is set.
|
|
893
1040
|
*/
|
|
894
1041
|
name?: string;
|
|
895
1042
|
/**
|
|
896
|
-
* The address of the pickup location.
|
|
1043
|
+
* The physical mailing address of the pickup location where the buyer collects their order.
|
|
897
1044
|
*/
|
|
898
1045
|
address: MailingAddress;
|
|
899
1046
|
}
|
|
900
|
-
|
|
1047
|
+
/**
|
|
1048
|
+
* @publicDocs
|
|
1049
|
+
*/
|
|
1050
|
+
export interface PickupPointLocation {
|
|
901
1051
|
/**
|
|
902
|
-
* The name of the pickup point.
|
|
1052
|
+
* 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
1053
|
*/
|
|
904
1054
|
name?: string;
|
|
905
1055
|
/**
|
|
906
|
-
*
|
|
1056
|
+
* A unique identifier for this pickup point within the carrier's network.
|
|
907
1057
|
*/
|
|
908
1058
|
handle: string;
|
|
909
1059
|
/**
|
|
910
|
-
* The address of the pickup point.
|
|
1060
|
+
* The physical mailing address of the pickup point.
|
|
911
1061
|
*/
|
|
912
1062
|
address: MailingAddress;
|
|
913
1063
|
}
|
|
914
|
-
|
|
1064
|
+
/**
|
|
1065
|
+
* @publicDocs
|
|
1066
|
+
*/
|
|
1067
|
+
export interface PickupPointCarrier {
|
|
915
1068
|
/**
|
|
916
|
-
*
|
|
1069
|
+
* 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
1070
|
*/
|
|
918
1071
|
code?: string;
|
|
919
1072
|
/**
|
|
920
|
-
* The name of the carrier.
|
|
1073
|
+
* The display name of the carrier that operates this pickup point network. The value is `undefined` if the carrier name is unavailable.
|
|
921
1074
|
*/
|
|
922
1075
|
name?: string;
|
|
923
1076
|
}
|
|
1077
|
+
/**
|
|
1078
|
+
* @publicDocs
|
|
1079
|
+
*/
|
|
924
1080
|
export interface NumberRange {
|
|
925
1081
|
/**
|
|
926
|
-
* The
|
|
1082
|
+
* The minimum value of the range. The value is `undefined` if there's no lower bound.
|
|
927
1083
|
*/
|
|
928
1084
|
lower?: number;
|
|
929
1085
|
/**
|
|
930
|
-
* The
|
|
1086
|
+
* The maximum value of the range. The value is `undefined` if there's no upper bound.
|
|
931
1087
|
*/
|
|
932
1088
|
upper?: number;
|
|
933
1089
|
}
|
|
934
1090
|
/**
|
|
935
1091
|
* Information about an order that was placed.
|
|
1092
|
+
* @publicDocs
|
|
936
1093
|
*/
|
|
937
1094
|
export interface Order {
|
|
938
1095
|
/**
|
|
939
|
-
* A globally-unique identifier.
|
|
1096
|
+
* 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).
|
|
1097
|
+
*
|
|
940
1098
|
* @example 'gid://shopify/Order/1'
|
|
941
1099
|
*/
|
|
942
1100
|
id: string;
|
|
943
1101
|
/**
|
|
944
|
-
*
|
|
1102
|
+
* 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.
|
|
1103
|
+
*
|
|
945
1104
|
* @example '#1000'
|
|
946
1105
|
*/
|
|
947
1106
|
name: string;
|
|
948
1107
|
/**
|
|
949
|
-
*
|
|
1108
|
+
* 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
1109
|
*/
|
|
951
1110
|
cancelledAt?: string;
|
|
952
1111
|
/**
|
|
953
|
-
*
|
|
954
|
-
* Processing happens after the checkout has completed, and indicates that the order is available in the admin.
|
|
1112
|
+
* 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
1113
|
*/
|
|
956
|
-
|
|
1114
|
+
confirmationNumber?: string;
|
|
957
1115
|
/**
|
|
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.
|
|
1116
|
+
* 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
1117
|
*/
|
|
961
|
-
|
|
1118
|
+
processedAt?: string;
|
|
962
1119
|
}
|
|
963
1120
|
export {};
|
|
964
1121
|
//# sourceMappingURL=order-status.d.ts.map
|