@shopify/ui-extensions 2024.1.1 → 2024.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/admin/components/FunctionSettings/FunctionSettings.js +9 -0
- package/build/cjs/surfaces/admin/components/Section/Section.js +9 -0
- package/build/cjs/surfaces/admin.js +6 -2
- package/build/cjs/surfaces/checkout/components/Badge/Badge.js +12 -0
- package/build/cjs/surfaces/checkout/components/Disclosure/Disclosure.js +1 -2
- package/build/cjs/surfaces/checkout/components/Modal/Modal.js +1 -2
- package/build/cjs/surfaces/checkout/components/Popover/Popover.js +1 -2
- package/build/cjs/surfaces/checkout/components/Tooltip/Tooltip.js +2 -2
- package/build/cjs/surfaces/checkout.js +6 -4
- package/build/cjs/surfaces/customer-account.js +10 -4
- package/build/cjs/surfaces/point-of-sale/components/Actiontem/ActionItem.js +9 -0
- package/build/cjs/surfaces/point-of-sale/components/SectionHeader/SectionHeader.js +9 -0
- package/build/cjs/surfaces/point-of-sale.js +4 -0
- package/build/esm/surfaces/admin/components/FunctionSettings/FunctionSettings.mjs +5 -0
- package/build/esm/surfaces/admin/components/Section/Section.mjs +5 -0
- package/build/esm/surfaces/admin.mjs +3 -1
- package/build/esm/surfaces/checkout/components/Badge/Badge.mjs +8 -0
- package/build/esm/surfaces/checkout/components/Disclosure/Disclosure.mjs +1 -2
- package/build/esm/surfaces/checkout/components/Modal/Modal.mjs +1 -2
- package/build/esm/surfaces/checkout/components/Popover/Popover.mjs +1 -2
- package/build/esm/surfaces/checkout/components/Tooltip/Tooltip.mjs +2 -2
- package/build/esm/surfaces/checkout.mjs +2 -1
- package/build/esm/surfaces/customer-account.mjs +4 -1
- package/build/esm/surfaces/point-of-sale/components/Actiontem/ActionItem.mjs +5 -0
- package/build/esm/surfaces/point-of-sale/components/SectionHeader/SectionHeader.mjs +5 -0
- package/build/esm/surfaces/point-of-sale.mjs +2 -0
- package/build/esnext/surfaces/admin/components/FunctionSettings/FunctionSettings.esnext +5 -0
- package/build/esnext/surfaces/admin/components/Section/Section.esnext +5 -0
- package/build/esnext/surfaces/admin.esnext +3 -1
- package/build/esnext/surfaces/checkout/components/Badge/Badge.esnext +8 -0
- package/build/esnext/surfaces/checkout/components/Disclosure/Disclosure.esnext +1 -2
- package/build/esnext/surfaces/checkout/components/Modal/Modal.esnext +1 -2
- package/build/esnext/surfaces/checkout/components/Popover/Popover.esnext +1 -2
- package/build/esnext/surfaces/checkout/components/Tooltip/Tooltip.esnext +2 -2
- package/build/esnext/surfaces/checkout.esnext +2 -1
- package/build/esnext/surfaces/customer-account.esnext +4 -1
- package/build/esnext/surfaces/point-of-sale/components/Actiontem/ActionItem.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale/components/SectionHeader/SectionHeader.esnext +5 -0
- package/build/esnext/surfaces/point-of-sale.esnext +2 -0
- package/build/ts/api.d.ts +1 -3
- package/build/ts/api.d.ts.map +1 -1
- package/build/ts/extension.d.ts +3 -0
- package/build/ts/extension.d.ts.map +1 -1
- package/build/ts/shared.d.ts +18 -1
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/block/block.d.ts +13 -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 +33 -0
- package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts +26 -0
- package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts +12 -0
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +0 -10
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api.d.ts +3 -1
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.d.ts +47 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Heading/Heading.d.ts +6 -1
- package/build/ts/surfaces/admin/components/Heading/Heading.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Section/Section.d.ts +33 -0
- package/build/ts/surfaces/admin/components/Section/Section.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components.d.ts +5 -1
- package/build/ts/surfaces/admin/components.d.ts.map +1 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts +81 -14
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/address-autocomplete.d.ts +76 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/address-autocomplete.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +1 -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 +3 -3
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/docs.d.ts +6 -1
- package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +21 -0
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/order-status/order-status.d.ts +6 -1
- package/build/ts/surfaces/checkout/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +1 -1
- 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 +13 -0
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/shared.d.ts +1 -18
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +1 -1
- 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 +2 -2
- 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 +166 -17
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Badge/Badge.d.ts +43 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.d.ts +2 -7
- package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Choice/Choice.d.ts +1 -4
- package/build/ts/surfaces/checkout/components/Choice/Choice.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Choice/Choice.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Choice/Choice.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/DateField/DateField.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/DateField/DateField.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.d.ts +2 -3
- package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/GridItem/GridItem.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/GridItem/GridItem.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/HeadingGroup/HeadingGroup.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/HeadingGroup/HeadingGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Image/Image.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/Image/Image.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/List/List.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/List/List.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/List/List.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/List/List.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ListItem/ListItem.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ListItem/ListItem.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/MapMarker/MapMarker.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/MapMarker/MapMarker.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.d.ts +1 -4
- package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Modal/Modal.d.ts +1 -2
- package/build/ts/surfaces/checkout/components/Modal/Modal.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.d.ts +3 -3
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Popover/Popover.d.ts +1 -2
- package/build/ts/surfaces/checkout/components/Popover/Popover.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Select/Select.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Select/Select.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.d.ts +4 -2
- package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stepper/Stepper.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Stepper/Stepper.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stepper/Stepper.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Stepper/Stepper.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Tag/Tag.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Tag/Tag.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Tag/Tag.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Tag/Tag.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextField/TextField.d.ts +3 -3
- package/build/ts/surfaces/checkout/components/TextField/TextField.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ToggleButton/ToggleButton.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ToggleButton/ToggleButton.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/View/View.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/View/View.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/View/View.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/View/View.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/shared.d.ts +7 -7
- package/build/ts/surfaces/checkout/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components.d.ts +2 -0
- package/build/ts/surfaces/checkout/components.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/helper.docs.d.ts +3 -4
- package/build/ts/surfaces/checkout/helper.docs.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +3 -4
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/isEqual.d.ts +1 -3
- package/build/ts/surfaces/checkout/style/isEqual.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/style.d.ts +1 -1
- package/build/ts/surfaces/checkout/style/style.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/style.doc.d.ts +1 -1
- package/build/ts/surfaces/checkout/style/style.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/types.d.ts +3 -3
- package/build/ts/surfaces/checkout/style/types.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets.d.ts +68 -20
- package/build/ts/surfaces/checkout/targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout.d.ts +17 -2
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +22 -0
- 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 +2 -17
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets.d.ts +1 -1
- package/build/ts/surfaces/customer-account.d.ts +2 -1
- package/build/ts/surfaces/customer-account.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +8 -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/order-api/order-api.d.ts +24 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +19 -10
- 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/smartgrid-api/smartgrid-api.d.ts +6 -1
- package/build/ts/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +1 -2
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/types/cart.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/api/types/cart.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts +3 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Actiontem/ActionItem.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/components/Actiontem/ActionItem.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/CameraScanner/CameraScanner.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/CameraScanner/CameraScanner.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.d.ts +2 -2
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/List/List.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/List/List.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.d.ts +2 -2
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/SectionHeader/SectionHeader.d.ts +33 -0
- package/build/ts/surfaces/point-of-sale/components/SectionHeader/SectionHeader.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.d.ts +2 -2
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/shared/InputField.d.ts +1 -15
- package/build/ts/surfaces/point-of-sale/components/shared/InputField.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components.d.ts +5 -1
- package/build/ts/surfaces/point-of-sale/components.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/targets.d.ts +8 -4
- package/build/ts/surfaces/point-of-sale/targets.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/api.ts +1 -1
- package/src/extension.ts +4 -0
- package/src/shared.ts +835 -0
- package/src/surfaces/admin/api/action/action.doc.ts +1 -1
- package/src/surfaces/admin/api/block/block.ts +15 -0
- package/src/surfaces/admin/api/checkout-rules/launch-options.ts +34 -0
- package/src/surfaces/admin/api/checkout-rules/metafields.ts +76 -0
- package/src/surfaces/admin/api/checkout-rules/validation-settings.doc.ts +25 -0
- package/src/surfaces/admin/api/checkout-rules/validation-settings.ts +15 -0
- package/src/surfaces/admin/api/standard/standard.ts +0 -12
- package/src/surfaces/admin/api.ts +3 -1
- package/src/surfaces/admin/components/AdminAction/AdminAction.doc.ts +1 -1
- package/src/surfaces/admin/components/Badge/Badge.doc.ts +2 -2
- package/src/surfaces/admin/components/Banner/Banner.doc.ts +2 -2
- package/src/surfaces/admin/components/BlockStack/BlockStack.doc.ts +2 -2
- package/src/surfaces/admin/components/Box/Box.doc.ts +2 -2
- package/src/surfaces/admin/components/Button/Button.doc.ts +2 -2
- package/src/surfaces/admin/components/Checkbox/Checkbox.doc.ts +2 -2
- package/src/surfaces/admin/components/ChoiceList/ChoiceList.doc.ts +2 -2
- package/src/surfaces/admin/components/ColorPicker/ColorPicker.doc.ts +2 -2
- package/src/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.doc.ts +2 -2
- package/src/surfaces/admin/components/DateField/DateField.doc.ts +3 -3
- package/src/surfaces/admin/components/Divider/Divider.doc.ts +2 -2
- package/src/surfaces/admin/components/EmailField/EmailField.doc.ts +2 -2
- package/src/surfaces/admin/components/Form/Form.doc.ts +2 -2
- package/src/surfaces/admin/components/FunctionSettings/FunctionSettings.doc.ts +57 -0
- package/src/surfaces/admin/components/FunctionSettings/FunctionSettings.ts +52 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/basic-functionsettings.example.ts +47 -0
- package/src/surfaces/admin/components/Heading/Heading.doc.ts +2 -2
- package/src/surfaces/admin/components/Heading/Heading.ts +6 -1
- package/src/surfaces/admin/components/HeadingGroup/HeadingGroup.doc.ts +2 -2
- package/src/surfaces/admin/components/Icon/Icon.doc.ts +2 -2
- package/src/surfaces/admin/components/Image/Image.doc.ts +2 -2
- package/src/surfaces/admin/components/MoneyField/MoneyField.doc.ts +2 -2
- package/src/surfaces/admin/components/NumberField/NumberField.doc.ts +2 -2
- package/src/surfaces/admin/components/Paragraph/Paragraph.doc.ts +1 -1
- package/src/surfaces/admin/components/PasswordField/PasswordField.doc.ts +2 -2
- package/src/surfaces/admin/components/ProgressIndicator/ProgressIndicator.doc.ts +2 -2
- package/src/surfaces/admin/components/Section/README.md +95 -0
- package/src/surfaces/admin/components/Section/Section.doc.ts +41 -0
- package/src/surfaces/admin/components/Section/Section.ts +35 -0
- package/src/surfaces/admin/components/Section/examples/basic-Section.example.ts +19 -0
- package/src/surfaces/admin/components/Select/Select.doc.ts +2 -2
- package/src/surfaces/admin/components/Text/Text.doc.ts +2 -2
- package/src/surfaces/admin/components/TextArea/TextArea.doc.ts +2 -2
- package/src/surfaces/admin/components/TextField/TextField.doc.ts +2 -2
- package/src/surfaces/admin/components/URLField/URLField.doc.ts +2 -2
- package/src/surfaces/admin/components.ts +8 -1
- package/src/surfaces/admin/extension-targets.ts +125 -13
- package/src/surfaces/checkout/api/address-autocomplete/address-autocomplete.ts +87 -0
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +1 -1
- package/src/surfaces/checkout/api/checkout/checkout.ts +3 -3
- package/src/surfaces/checkout/api/docs.ts +7 -6
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +22 -0
- package/src/surfaces/checkout/api/order-status/order-status.ts +6 -1
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +1 -1
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +15 -0
- package/src/surfaces/checkout/api/shared.ts +1 -833
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +1 -1
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +2 -2
- package/src/surfaces/checkout/api/standard/standard.ts +203 -15
- package/src/surfaces/checkout/components/Badge/Badge.doc.ts +76 -0
- package/src/surfaces/checkout/components/Badge/Badge.ts +42 -0
- package/src/surfaces/checkout/components/Badge/content/guidelines.md +8 -0
- package/src/surfaces/checkout/components/Badge/examples/basic-badge.example.ts +7 -0
- package/src/surfaces/checkout/components/Badge/examples/status-badge.example.ts +39 -0
- package/src/surfaces/checkout/components/Banner/Banner.doc.ts +1 -1
- package/src/surfaces/checkout/components/BlockLayout/BlockLayout.doc.ts +1 -1
- package/src/surfaces/checkout/components/BlockLayout/BlockLayout.ts +1 -1
- package/src/surfaces/checkout/components/BlockSpacer/BlockSpacer.doc.ts +1 -1
- package/src/surfaces/checkout/components/BlockSpacer/BlockSpacer.ts +2 -2
- package/src/surfaces/checkout/components/BlockStack/BlockStack.doc.ts +1 -1
- package/src/surfaces/checkout/components/BlockStack/BlockStack.ts +1 -1
- package/src/surfaces/checkout/components/Button/Button.doc.ts +1 -1
- package/src/surfaces/checkout/components/Checkbox/Checkbox.doc.ts +1 -1
- package/src/surfaces/checkout/components/Checkbox/Checkbox.ts +1 -1
- package/src/surfaces/checkout/components/Choice/Choice.doc.ts +1 -1
- package/src/surfaces/checkout/components/Choice/Choice.ts +2 -1
- package/src/surfaces/checkout/components/ChoiceList/ChoiceList.doc.ts +1 -1
- package/src/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.ts +1 -1
- package/src/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.ts +1 -1
- package/src/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.ts +1 -1
- package/src/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.ts +1 -1
- package/src/surfaces/checkout/components/DateField/DateField.doc.ts +1 -1
- package/src/surfaces/checkout/components/DateField/DateField.ts +2 -2
- package/src/surfaces/checkout/components/DatePicker/DatePicker.doc.ts +1 -1
- package/src/surfaces/checkout/components/Disclosure/Disclosure.doc.ts +2 -2
- package/src/surfaces/checkout/components/Disclosure/Disclosure.ts +2 -3
- package/src/surfaces/checkout/components/Divider/Divider.doc.ts +1 -1
- package/src/surfaces/checkout/components/Form/Form.doc.ts +1 -1
- package/src/surfaces/checkout/components/Grid/Grid.doc.ts +1 -1
- package/src/surfaces/checkout/components/Grid/Grid.ts +1 -1
- package/src/surfaces/checkout/components/GridItem/GridItem.doc.ts +1 -1
- package/src/surfaces/checkout/components/GridItem/GridItem.ts +1 -1
- package/src/surfaces/checkout/components/Heading/Heading.doc.ts +1 -1
- package/src/surfaces/checkout/components/HeadingGroup/HeadingGroup.doc.ts +1 -1
- package/src/surfaces/checkout/components/Icon/Icon.doc.ts +1 -1
- package/src/surfaces/checkout/components/Icon/Icon.ts +3 -0
- package/src/surfaces/checkout/components/Image/Image.doc.ts +1 -1
- package/src/surfaces/checkout/components/Image/Image.ts +2 -2
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.ts +1 -2
- package/src/surfaces/checkout/components/InlineLayout/InlineLayout.doc.ts +1 -1
- package/src/surfaces/checkout/components/InlineLayout/InlineLayout.ts +1 -1
- package/src/surfaces/checkout/components/InlineSpacer/InlineSpacer.doc.ts +1 -1
- package/src/surfaces/checkout/components/InlineSpacer/InlineSpacer.ts +1 -1
- package/src/surfaces/checkout/components/InlineStack/InlineStack.doc.ts +1 -1
- package/src/surfaces/checkout/components/InlineStack/InlineStack.ts +1 -1
- package/src/surfaces/checkout/components/Link/Link.doc.ts +1 -1
- package/src/surfaces/checkout/components/List/List.doc.ts +1 -1
- package/src/surfaces/checkout/components/List/List.ts +1 -1
- package/src/surfaces/checkout/components/ListItem/ListItem.doc.ts +1 -1
- package/src/surfaces/checkout/components/Map/Map.doc.ts +1 -1
- package/src/surfaces/checkout/components/MapMarker/MapMarker.doc.ts +1 -1
- package/src/surfaces/checkout/components/MapPopover/MapPopover.doc.ts +1 -1
- package/src/surfaces/checkout/components/MapPopover/MapPopover.ts +1 -1
- package/src/surfaces/checkout/components/Modal/Modal.doc.ts +2 -2
- package/src/surfaces/checkout/components/Modal/Modal.ts +1 -2
- package/src/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.ts +1 -1
- package/src/surfaces/checkout/components/PhoneField/PhoneField.doc.ts +1 -1
- package/src/surfaces/checkout/components/PhoneField/PhoneField.ts +4 -3
- package/src/surfaces/checkout/components/Popover/Popover.doc.ts +2 -2
- package/src/surfaces/checkout/components/Popover/Popover.ts +1 -2
- package/src/surfaces/checkout/components/Pressable/Pressable.doc.ts +1 -1
- package/src/surfaces/checkout/components/Pressable/Pressable.ts +1 -1
- package/src/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.ts +1 -1
- package/src/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.ts +5 -2
- package/src/surfaces/checkout/components/ScrollView/ScrollView.doc.ts +1 -1
- package/src/surfaces/checkout/components/ScrollView/ScrollView.ts +1 -1
- package/src/surfaces/checkout/components/Select/Select.doc.ts +1 -1
- package/src/surfaces/checkout/components/Select/Select.ts +1 -1
- package/src/surfaces/checkout/components/SkeletonImage/SkeletonImage.doc.ts +1 -1
- package/src/surfaces/checkout/components/SkeletonImage/SkeletonImage.ts +1 -1
- package/src/surfaces/checkout/components/SkeletonText/SkeletonText.doc.ts +1 -1
- package/src/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.doc.ts +1 -1
- package/src/surfaces/checkout/components/Spinner/Spinner.doc.ts +1 -1
- package/src/surfaces/checkout/components/Stepper/Stepper.doc.ts +1 -1
- package/src/surfaces/checkout/components/Stepper/Stepper.ts +1 -1
- package/src/surfaces/checkout/components/Tag/Tag.doc.ts +1 -1
- package/src/surfaces/checkout/components/Tag/Tag.ts +1 -1
- package/src/surfaces/checkout/components/Text/Text.doc.ts +1 -1
- package/src/surfaces/checkout/components/TextBlock/TextBlock.doc.ts +1 -1
- package/src/surfaces/checkout/components/TextField/TextField.doc.ts +1 -1
- package/src/surfaces/checkout/components/TextField/TextField.ts +4 -3
- package/src/surfaces/checkout/components/ToggleButton/ToggleButton.doc.ts +1 -1
- package/src/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.ts +1 -1
- package/src/surfaces/checkout/components/Tooltip/Tooltip.doc.ts +2 -2
- package/src/surfaces/checkout/components/Tooltip/Tooltip.ts +2 -2
- package/src/surfaces/checkout/components/View/View.doc.ts +1 -1
- package/src/surfaces/checkout/components/View/View.ts +1 -1
- package/src/surfaces/checkout/components/shared.ts +10 -7
- package/src/surfaces/checkout/components.ts +3 -0
- package/src/surfaces/checkout/helper.docs.ts +5 -4
- package/src/surfaces/checkout/shared.ts +3 -3
- package/src/surfaces/checkout/style/isEqual.ts +3 -3
- package/src/surfaces/checkout/style/style.doc.ts +1 -1
- package/src/surfaces/checkout/style/style.ts +1 -1
- package/src/surfaces/checkout/style/types.ts +3 -3
- package/src/surfaces/checkout/targets.ts +102 -36
- package/src/surfaces/checkout.ts +174 -2
- package/src/surfaces/customer-account/api/order-status/order-status.ts +25 -0
- package/src/surfaces/customer-account/api/shared.ts +18 -831
- package/src/surfaces/customer-account/components/shared-checkout-components.ts +6 -0
- package/src/surfaces/customer-account/targets.ts +1 -1
- package/src/surfaces/customer-account.ts +2 -1
- package/src/surfaces/point-of-sale/api/action-api/action-api.ts +15 -0
- package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +10 -0
- package/src/surfaces/point-of-sale/api/order-api/order-api.tsx +26 -0
- package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +24 -10
- package/src/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.ts +6 -1
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +0 -2
- package/src/surfaces/point-of-sale/api/types/cart.ts +1 -0
- package/src/surfaces/point-of-sale/api.ts +5 -0
- package/src/surfaces/point-of-sale/components/Actiontem/ActionItem.ts +10 -0
- package/src/surfaces/point-of-sale/components/CameraScanner/CameraScanner.ts +9 -1
- package/src/surfaces/point-of-sale/components/EmailField/EmailField.ts +2 -2
- package/src/surfaces/point-of-sale/components/List/List.ts +5 -1
- package/src/surfaces/point-of-sale/components/NumberField/NumberField.ts +2 -2
- package/src/surfaces/point-of-sale/components/SectionHeader/SectionHeader.ts +34 -0
- package/src/surfaces/point-of-sale/components/TextArea/TextArea.ts +2 -2
- package/src/surfaces/point-of-sale/components/shared/InputField.ts +1 -17
- package/src/surfaces/point-of-sale/components.ts +5 -5
- package/src/surfaces/point-of-sale/targets.ts +24 -4
- package/build/ts/surfaces/checkout/api.d.ts +0 -12
- package/build/ts/surfaces/checkout/api.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/style/index.d.ts +0 -3
- package/build/ts/surfaces/checkout/style/index.d.ts.map +0 -1
- package/build/ts/surfaces/checkout/style.d.ts +0 -3
- package/build/ts/surfaces/checkout/style.d.ts.map +0 -1
- package/src/surfaces/admin/components/CustomerSegmentTemplate/examples/CustomerSegmentTemplate.example.tsx +0 -15
- package/src/surfaces/checkout/api.ts +0 -141
- package/src/surfaces/checkout/style/index.ts +0 -16
- package/src/surfaces/checkout/style.ts +0 -16
- /package/src/surfaces/admin/components/Badge/examples/{basic-Badge.example.ts → basic-badge.example.ts} +0 -0
- /package/src/surfaces/admin/components/Banner/examples/{basic-Banner.example.ts → basic-banner.example.ts} +0 -0
- /package/src/surfaces/admin/components/ChoiceList/examples/{basic-ChoiceList.example.ts → basic-choicelist.example.ts} +0 -0
- /package/src/surfaces/admin/components/ColorPicker/examples/{basic-ColorPicker.example.ts → basic-colorpicker.example.ts} +0 -0
- /package/src/surfaces/admin/components/CustomerSegmentTemplate/examples/{CustomerSegmentTemplate.example.ts → customersegmenttemplate.example.ts} +0 -0
- /package/src/surfaces/admin/components/InternalCustomerSegmentTemplate/examples/{InternalCustomerSegmentTemplate.example.ts → internalcustomersegmenttemplate.example.ts} +0 -0
- /package/src/surfaces/admin/components/ProgressIndicator/examples/{basic-ProgressIndicator.example.ts → basic-progressindicator.example.ts} +0 -0
- /package/src/surfaces/admin/components/ResourceItem/examples/{basic-ResourceItem.example.ts → basic-resourceitem.example.ts} +0 -0
- /package/src/surfaces/admin/components/ResourceList/examples/{basic-ResourceList.example.ts → basic-resourcelist.example.ts} +0 -0
- /package/src/surfaces/admin/components/Thumbnail/examples/{basic-Thumbnail.example.ts → basic-thumbnail.example.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { RenderExtension } from '../../extension';
|
|
2
2
|
import type { Components } from './shared';
|
|
3
|
-
import type { StandardApi, CustomerSegmentTemplateApi, ActionExtensionApi, BlockExtensionApi, ProductDetailsConfigurationApi, ProductVariantDetailsConfigurationApi, OrderRoutingRuleApi } from './api';
|
|
3
|
+
import type { StandardApi, CustomerSegmentTemplateApi, ActionExtensionApi, BlockExtensionApi, ProductDetailsConfigurationApi, ProductVariantDetailsConfigurationApi, OrderRoutingRuleApi, ValidationSettingsApi } from './api';
|
|
4
4
|
import { AnyComponentBuilder } from '../../shared';
|
|
5
5
|
type CustomerSegmentTemplateComponent = AnyComponentBuilder<Pick<Components, 'CustomerSegmentTemplate' | 'InternalCustomerSegmentTemplate'>>;
|
|
6
6
|
type ProductConfigurationComponents = AnyComponentBuilder<Pick<Components, 'Box' | 'InlineStack' | 'BlockStack' | 'Divider' | 'HeadingGroup' | 'Heading' | 'Text' | 'Link' | 'Image' | 'Icon' | 'ResourceList' | 'ResourceItem' | 'Thumbnail'>>;
|
|
@@ -37,75 +37,136 @@ export interface ExtensionTargets {
|
|
|
37
37
|
*/
|
|
38
38
|
'admin.customer-details.block.render': RenderExtension<BlockExtensionApi<'admin.customer-details.block.render'>, AllComponents>;
|
|
39
39
|
/**
|
|
40
|
-
* Renders an
|
|
40
|
+
* Renders an admin action extension in the product details page. Open this extension from the "More Actions" menu.
|
|
41
41
|
*
|
|
42
42
|
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
43
43
|
*/
|
|
44
44
|
'admin.product-details.action.render': RenderExtension<ActionExtensionApi<'admin.product-details.action.render'>, AllComponents>;
|
|
45
45
|
/**
|
|
46
|
-
* Renders an
|
|
46
|
+
* Renders an admin action extension in the order details page. Open this extension from the "More Actions" menu.
|
|
47
47
|
*
|
|
48
48
|
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
49
49
|
*/
|
|
50
50
|
'admin.order-details.action.render': RenderExtension<ActionExtensionApi<'admin.order-details.action.render'>, AllComponents>;
|
|
51
51
|
/**
|
|
52
|
-
* Renders an
|
|
52
|
+
* Renders an admin action extension in the customer details page. Open this extension from the "More Actions" menu.
|
|
53
53
|
*
|
|
54
54
|
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
55
55
|
*/
|
|
56
56
|
'admin.customer-details.action.render': RenderExtension<ActionExtensionApi<'admin.customer-details.action.render'>, AllComponents>;
|
|
57
57
|
/**
|
|
58
|
-
* Renders an
|
|
58
|
+
* Renders an admin action extension in the customer segment details page. Open this extension from the "Use segment" button.
|
|
59
59
|
*
|
|
60
60
|
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
61
61
|
*/
|
|
62
62
|
'admin.customer-segment-details.action.render': RenderExtension<ActionExtensionApi<'admin.customer-segment-details.action.render'>, AllComponents>;
|
|
63
63
|
/**
|
|
64
|
-
* Renders an
|
|
64
|
+
* Renders an admin action extension in the product index page. Open this extension from the "More Actions" menu.
|
|
65
65
|
*
|
|
66
66
|
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
67
67
|
*/
|
|
68
68
|
'admin.product-index.action.render': RenderExtension<ActionExtensionApi<'admin.product-index.action.render'>, AllComponents>;
|
|
69
69
|
/**
|
|
70
|
-
* Renders an
|
|
70
|
+
* Renders an admin action extension in the order index page. Open this extension from the "More Actions" menu.
|
|
71
71
|
*
|
|
72
72
|
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
73
73
|
*/
|
|
74
74
|
'admin.order-index.action.render': RenderExtension<ActionExtensionApi<'admin.order-index.action.render'>, AllComponents>;
|
|
75
75
|
/**
|
|
76
|
-
* Renders an
|
|
76
|
+
* Renders an admin action extension in the customer index page. Open this extension from the "More Actions" menu.
|
|
77
77
|
*
|
|
78
78
|
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
79
79
|
*/
|
|
80
80
|
'admin.customer-index.action.render': RenderExtension<ActionExtensionApi<'admin.customer-index.action.render'>, AllComponents>;
|
|
81
81
|
/**
|
|
82
|
-
* Renders an
|
|
82
|
+
* Renders an admin action extension in the discount index page. Open this extension from the "More Actions" menu.
|
|
83
|
+
*
|
|
84
|
+
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
85
|
+
*/
|
|
86
|
+
'admin.discount-index.action.render': RenderExtension<ActionExtensionApi<'admin.discount-index.action.render'>, AllComponents>;
|
|
87
|
+
/**
|
|
88
|
+
* Renders an admin action extension in the collection details page. Open this extension from the "More Actions" menu.
|
|
89
|
+
*
|
|
90
|
+
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
91
|
+
*/
|
|
92
|
+
'admin.collection-details.action.render': RenderExtension<ActionExtensionApi<'admin.collection-details.action.render'>, AllComponents>;
|
|
93
|
+
/**
|
|
94
|
+
* Renders an admin action extension in the collection index page. Open this extension from the "More Actions" menu.
|
|
95
|
+
*
|
|
96
|
+
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
97
|
+
*/
|
|
98
|
+
'admin.collection-index.action.render': RenderExtension<ActionExtensionApi<'admin.collection-index.action.render'>, AllComponents>;
|
|
99
|
+
/**
|
|
100
|
+
* Renders an admin action extension in the abandonded checkout page. Open this extension from the "More Actions" menu.
|
|
101
|
+
*
|
|
102
|
+
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
103
|
+
*/
|
|
104
|
+
'admin.abandoned-checkout-details.action.render': RenderExtension<ActionExtensionApi<'admin.abandoned-checkout-details.action.render'>, AllComponents>;
|
|
105
|
+
/**
|
|
106
|
+
* Renders an admin action extension in the product variant details page. Open this extension from the "More Actions" menu.
|
|
107
|
+
*
|
|
108
|
+
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
109
|
+
*/
|
|
110
|
+
'admin.product-variant-details.action.render': RenderExtension<ActionExtensionApi<'admin.product-variant-details.action.render'>, AllComponents>;
|
|
111
|
+
/**
|
|
112
|
+
* Renders an admin action extension in the draft order details page. Open this extension from the "More Actions" menu.
|
|
113
|
+
*
|
|
114
|
+
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
115
|
+
*/
|
|
116
|
+
'admin.draft-order-details.action.render': RenderExtension<ActionExtensionApi<'admin.draft-order-details.action.render'>, AllComponents>;
|
|
117
|
+
/**
|
|
118
|
+
* Renders an admin action extension in the draft orders page. Open this extension from the "More Actions" menu.
|
|
119
|
+
*
|
|
120
|
+
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
121
|
+
*/
|
|
122
|
+
'admin.draft-order-index.action.render': RenderExtension<ActionExtensionApi<'admin.draft-order-index.action.render'>, AllComponents>;
|
|
123
|
+
/**
|
|
124
|
+
* Renders an admin action extension in the discount details page. Open this extension from the "More Actions" menu.
|
|
125
|
+
*
|
|
126
|
+
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
127
|
+
*/
|
|
128
|
+
'admin.discount-details.action.render': RenderExtension<ActionExtensionApi<'admin.discount-details.action.render'>, AllComponents>;
|
|
129
|
+
/**
|
|
130
|
+
* Renders an admin action extension in the order fulfilled card. Open this extension from the "3-dot" menu inside the order fulfilled card.
|
|
131
|
+
* Note: This extension will only be visible on orders which were fulfilled by your app.
|
|
132
|
+
*
|
|
133
|
+
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
134
|
+
*/
|
|
135
|
+
'admin.order-fulfilled-card.action.render': RenderExtension<ActionExtensionApi<'admin.order-fulfilled-card.action.render'>, AllComponents>;
|
|
136
|
+
/**
|
|
137
|
+
* Renders an admin action extension in the product index page when multiple resources are selected. Open this extension from the "More Actions" menu of the resource list. The resource ids are available to this extension at runtime.
|
|
83
138
|
*
|
|
84
139
|
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
85
140
|
*/
|
|
86
141
|
'admin.product-index.selection-action.render': RenderExtension<ActionExtensionApi<'admin.product-index.selection-action.render'>, AllComponents>;
|
|
87
142
|
/**
|
|
88
|
-
* Renders an
|
|
143
|
+
* Renders an admin action extension in the order index page when multiple resources are selected. Open this extension from the "More Actions" menu of the resource list. The resource ids are available to this extension at runtime.
|
|
89
144
|
*
|
|
90
145
|
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
91
146
|
*/
|
|
92
147
|
'admin.order-index.selection-action.render': RenderExtension<ActionExtensionApi<'admin.order-index.selection-action.render'>, AllComponents>;
|
|
93
148
|
/**
|
|
94
|
-
* Renders an
|
|
149
|
+
* Renders an admin action extension in the customer index page when multiple resources are selected. Open this extension from the "More Actions" menu of the resource list. The resource ids are available to this extension at runtime.
|
|
95
150
|
*
|
|
96
151
|
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
97
152
|
*/
|
|
98
153
|
'admin.customer-index.selection-action.render': RenderExtension<ActionExtensionApi<'admin.customer-index.selection-action.render'>, AllComponents>;
|
|
154
|
+
/**
|
|
155
|
+
* Renders an admin action extension in the draft order page when multiple resources are selected. Open this extension from the "3-dot" menu.
|
|
156
|
+
*
|
|
157
|
+
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
158
|
+
*/
|
|
159
|
+
'admin.draft-order-index.selection-action.render': RenderExtension<ActionExtensionApi<'admin.draft-order-index.selection-action.render'>, AllComponents>;
|
|
99
160
|
/**
|
|
100
161
|
* Renders Product Configuration on product details and product variant details
|
|
101
162
|
*
|
|
102
|
-
* See the [tutorial](docs/apps/selling-strategies/bundles/product-config) for more information
|
|
163
|
+
* See the [tutorial](/docs/apps/selling-strategies/bundles/product-config) for more information
|
|
103
164
|
*/
|
|
104
165
|
'admin.product-details.configuration.render': RenderExtension<ProductDetailsConfigurationApi<'admin.product-details.configuration.render'>, ProductConfigurationComponents>;
|
|
105
166
|
/**
|
|
106
167
|
* Renders Product Configuration on product details and product variant details
|
|
107
168
|
*
|
|
108
|
-
* See the [tutorial](docs/apps/selling-strategies/bundles/product-config) for more information
|
|
169
|
+
* See the [tutorial](/docs/apps/selling-strategies/bundles/product-config) for more information
|
|
109
170
|
*/
|
|
110
171
|
'admin.product-variant-details.configuration.render': RenderExtension<ProductVariantDetailsConfigurationApi<'admin.product-variant-details.configuration.render'>, ProductConfigurationComponents>;
|
|
111
172
|
/**
|
|
@@ -115,6 +176,12 @@ export interface ExtensionTargets {
|
|
|
115
176
|
*/
|
|
116
177
|
'admin.settings.internal-order-routing-rule.render': RenderExtension<OrderRoutingRuleApi<'admin.settings.internal-order-routing-rule.render'>, AllComponents | OrderRoutingComponents>;
|
|
117
178
|
'admin.settings.order-routing-rule.render': RenderExtension<OrderRoutingRuleApi<'admin.settings.order-routing-rule.render'>, AllComponents>;
|
|
179
|
+
/**
|
|
180
|
+
* Renders Validation Settings within a given validation's add and edit views.
|
|
181
|
+
*
|
|
182
|
+
* See the [list of available components](/docs/api/admin-extensions/components).
|
|
183
|
+
*/
|
|
184
|
+
'admin.settings.validation.render': RenderExtension<ValidationSettingsApi<'admin.settings.validation.render'>, AllComponents>;
|
|
118
185
|
}
|
|
119
186
|
export type ExtensionTarget = keyof ExtensionTargets;
|
|
120
187
|
export type ExtensionForExtensionTarget<T extends ExtensionTarget> = ExtensionTargets[T];
|
|
@@ -130,7 +197,7 @@ export type ReturnTypeForExtension<ID extends keyof ExtensionTargets> = ReturnTy
|
|
|
130
197
|
export type ArgumentsForExtension<ID extends keyof ExtensionTargets> = Parameters<ExtensionTargets[ID]>;
|
|
131
198
|
/**
|
|
132
199
|
* A union type containing all of the extension targets that follow the pattern of
|
|
133
|
-
* accepting a [`@remote-ui/core` `RemoteRoot`](https://github.com/Shopify/remote-
|
|
200
|
+
* accepting a [`@remote-ui/core` `RemoteRoot`](https://github.com/Shopify/remote-dom/tree/remote-ui/packages/core)
|
|
134
201
|
* and an additional `api` argument, and using those arguments to render
|
|
135
202
|
* UI.
|
|
136
203
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension-targets.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/admin/extension-targets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,iBAAiB,CAAC;AAErD,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,UAAU,CAAC;AACzC,OAAO,KAAK,EACV,WAAW,EACX,0BAA0B,EAC1B,kBAAkB,EAClB,iBAAiB,EACjB,8BAA8B,EAC9B,qCAAqC,EACrC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"extension-targets.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/admin/extension-targets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,iBAAiB,CAAC;AAErD,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,UAAU,CAAC;AACzC,OAAO,KAAK,EACV,WAAW,EACX,0BAA0B,EAC1B,kBAAkB,EAClB,iBAAiB,EACjB,8BAA8B,EAC9B,qCAAqC,EACrC,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,OAAO,CAAC;AACf,OAAO,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AAEjD,KAAK,gCAAgC,GAAG,mBAAmB,CACzD,IAAI,CACF,UAAU,EACV,yBAAyB,GAAG,iCAAiC,CAC9D,CACF,CAAC;AAEF,KAAK,8BAA8B,GAAG,mBAAmB,CACvD,IAAI,CACF,UAAU,EACR,KAAK,GACL,aAAa,GACb,YAAY,GACZ,SAAS,GACT,cAAc,GACd,SAAS,GACT,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,cAAc,GACd,cAAc,GACd,WAAW,CACd,CACF,CAAC;AAEF,KAAK,sBAAsB,GAAG,mBAAmB,CAC/C,IAAI,CAAC,UAAU,EAAE,sBAAsB,CAAC,CACzC,CAAC;AAEF;;GAEG;AACH,KAAK,aAAa,GAAG,mBAAmB,CACtC,IAAI,CACF,UAAU,EACR,yBAAyB,GACzB,iCAAiC,GACjC,sBAAsB,CACzB,CACF,CAAC;AAEF,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,UAAU,EAAE,eAAe,CAAC,WAAW,CAAC,YAAY,C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,IAAI,CAAC,SAAS,eAAe,CACjE,MAAM,GAAG,EACT,GAAG,CACJ,GACG,GAAG,GACH,KAAK,CAAC;AAEV,KAAK,6CAA6C,CAAC,CAAC,IAClD,CAAC,SAAS,eAAe,CAAC,GAAG,EAAE,MAAM,UAAU,CAAC,GAAG,UAAU,GAAG,KAAK,CAAC;AAExE;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,CAAC,EAAE,SAAS,MAAM,gBAAgB,IACjE,+BAA+B,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC,CAAC;AAExD;;;GAGG;AACH,MAAM,MAAM,mCAAmC,CAC7C,EAAE,SAAS,MAAM,gBAAgB,IAC/B,6CAA6C,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import type { MailingAddress } from '../shared';
|
|
2
|
+
export interface AddressAutocompleteSuggestApi {
|
|
3
|
+
target: {
|
|
4
|
+
/**
|
|
5
|
+
* The input that the user has typed so far into the address field.
|
|
6
|
+
*
|
|
7
|
+
* @example "123 M"
|
|
8
|
+
*/
|
|
9
|
+
value: string;
|
|
10
|
+
/**
|
|
11
|
+
* The address field that the buyer is interacting with.
|
|
12
|
+
*
|
|
13
|
+
* @example "address1"
|
|
14
|
+
*/
|
|
15
|
+
field: AutocompleteAddress;
|
|
16
|
+
/**
|
|
17
|
+
* An AbortSignal that may be used to cancel in-flight network requests.
|
|
18
|
+
* This signal is sent when the buyer has stopped interacting with the address field.
|
|
19
|
+
*/
|
|
20
|
+
signal: AbortSignal;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export interface AddressAutocompleteSuggestion {
|
|
24
|
+
/**
|
|
25
|
+
* The human-readable autocomplete suggestion text. This text is
|
|
26
|
+
* shown to the buyer as-is. No attempts will be made to parse it.
|
|
27
|
+
*
|
|
28
|
+
* @example "123 Main St, Toronto, ON, CA"
|
|
29
|
+
*/
|
|
30
|
+
description: string;
|
|
31
|
+
/**
|
|
32
|
+
* Optional.
|
|
33
|
+
*
|
|
34
|
+
* A textual identifier that uniquely identifies an autocomplete suggestion
|
|
35
|
+
* or address. This identifier may be used to search for a formatted address.
|
|
36
|
+
*
|
|
37
|
+
* @example "35ef8d55-dceb-4ed8-847b-2f2fc7472f14"
|
|
38
|
+
*/
|
|
39
|
+
id?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Optional.
|
|
42
|
+
*
|
|
43
|
+
* If provided, this will be used to highlight the substrings
|
|
44
|
+
* of the suggestions that matched the original search query.
|
|
45
|
+
*
|
|
46
|
+
* @example [{offset: 0, length: 4}]
|
|
47
|
+
*/
|
|
48
|
+
matchedSubstrings?: MatchedSubstring[];
|
|
49
|
+
/**
|
|
50
|
+
* Optional.
|
|
51
|
+
*
|
|
52
|
+
* If an extension returns this along with a suggestion, the autocomplete
|
|
53
|
+
* field will use this value to auto-fill the remaining address fields.
|
|
54
|
+
*
|
|
55
|
+
* If this value is returned for every suggestion, there is no need to implement
|
|
56
|
+
* the `purchase.address-autocomplete.format-suggestion` extension target.
|
|
57
|
+
*/
|
|
58
|
+
formattedAddress?: AutocompleteAddress;
|
|
59
|
+
}
|
|
60
|
+
interface MatchedSubstring {
|
|
61
|
+
/**
|
|
62
|
+
* The start location of the matched substring in the suggestion description text.
|
|
63
|
+
*/
|
|
64
|
+
offset: number;
|
|
65
|
+
/**
|
|
66
|
+
* The length of the matched substring in the suggestion description text.
|
|
67
|
+
*/
|
|
68
|
+
length: number;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* A partial mailing address with only fields relevant to address autocomplete.
|
|
72
|
+
* All fields are optional
|
|
73
|
+
*/
|
|
74
|
+
type AutocompleteAddress = Partial<Pick<MailingAddress, 'address1' | 'address2' | 'city' | 'provinceCode' | 'zip' | 'countryCode'>>;
|
|
75
|
+
export {};
|
|
76
|
+
//# sourceMappingURL=address-autocomplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"address-autocomplete.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/address-autocomplete/address-autocomplete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,WAAW,CAAC;AAE9C,MAAM,WAAW,6BAA6B;IAC5C,MAAM,EAAE;QACN;;;;WAIG;QACH,KAAK,EAAE,MAAM,CAAC;QAEd;;;;WAIG;QACH,KAAK,EAAE,mBAAmB,CAAC;QAE3B;;;WAGG;QACH,MAAM,EAAE,WAAW,CAAC;KACrB,CAAC;CACH;AACD,MAAM,WAAW,6BAA6B;IAC5C;;;;;OAKG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;;;;OAOG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;;;;;OAOG;IACH,iBAAiB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAEvC;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,mBAAmB,CAAC;CACxC;AAED,UAAU,gBAAgB;IACxB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,KAAK,mBAAmB,GAAG,OAAO,CAChC,IAAI,CACF,cAAc,EACd,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,cAAc,GAAG,KAAK,GAAG,aAAa,CAC1E,CACF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { StatefulRemoteSubscribable } from '@remote-ui/async-subscription';
|
|
2
|
-
import { CartLine } from '../standard/standard';
|
|
2
|
+
import type { CartLine } from '../standard/standard';
|
|
3
3
|
export interface CartLineItemApi {
|
|
4
4
|
/**
|
|
5
5
|
* The cart line the extension is attached to. Until version `2023-04`, this property was a `StatefulRemoteSubscribable<PresentmentCartLine>`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart-line-item.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/cart-line/cart-line-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAE9E,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"cart-line-item.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/cart-line/cart-line-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAE9E,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAEnD,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,MAAM,EAAE,0BAA0B,CAAC,QAAQ,CAAC,CAAC;CAC9C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Attribute, SellingPlan, MailingAddress } from '../shared';
|
|
1
|
+
import type { Attribute, SellingPlan, MailingAddress } from '../shared';
|
|
2
2
|
/**
|
|
3
3
|
* Removes a note
|
|
4
4
|
*/
|
|
@@ -183,7 +183,7 @@ export interface DiscountCodeAddChange {
|
|
|
183
183
|
*/
|
|
184
184
|
type: 'addDiscountCode';
|
|
185
185
|
/**
|
|
186
|
-
* The code for the discount
|
|
186
|
+
* The code for the discount (case-sensitive)
|
|
187
187
|
*/
|
|
188
188
|
code: string;
|
|
189
189
|
}
|
|
@@ -193,7 +193,7 @@ export interface DiscountCodeRemoveChange {
|
|
|
193
193
|
*/
|
|
194
194
|
type: 'removeDiscountCode';
|
|
195
195
|
/**
|
|
196
|
-
* The code for the discount
|
|
196
|
+
* The code for the discount (case-sensitive)
|
|
197
197
|
*/
|
|
198
198
|
code: string;
|
|
199
199
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/checkout/checkout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,WAAW,EAAE,cAAc,EAAC,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/checkout/checkout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAE,WAAW,EAAE,cAAc,EAAC,MAAM,WAAW,CAAC;AAEtE;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,YAAY,CAAC;CACpB;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,YAAY,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,MAAM,UAAU,GAAG,gBAAgB,GAAG,gBAAgB,CAAC;AAE7D,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IAEd;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,gBAAgB,GAAG,uBAAuB,GAAG,qBAAqB,CAAC;AAE/E;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,iBAAiB,CAAC;IAExB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IAEd;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,qBAAqB,GAC7B,4BAA4B,GAC5B,0BA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5B,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import { StandardApi
|
|
1
|
+
import type { StandardApi } from './standard/standard';
|
|
2
|
+
import type { CheckoutApi } from './checkout/checkout';
|
|
3
|
+
import type { CartLineItemApi } from './cart-line/cart-line-item';
|
|
4
|
+
import type { OrderStatusApi } from './order-status/order-status';
|
|
2
5
|
/**
|
|
3
6
|
* These types are used to generate the documentation for the API and decipher which properties are available for which APIs.
|
|
4
7
|
* If you are adding a new property and you'd like it to be documented in the API section, then you'll need to specify the property in the appropriate interface below.
|
|
@@ -67,4 +70,6 @@ export interface Docs_Standard_QueryApi extends Pick<StandardApi, 'query'> {
|
|
|
67
70
|
}
|
|
68
71
|
export interface Docs_Standard_AnalyticsApi extends Pick<StandardApi, 'analytics'> {
|
|
69
72
|
}
|
|
73
|
+
export interface Docs_Standard_CustomerPrivacyApi extends Pick<StandardApi, 'customerPrivacy' | 'applyTrackingConsentChange'> {
|
|
74
|
+
}
|
|
70
75
|
//# sourceMappingURL=docs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/checkout/api/docs.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/checkout/api/docs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,6BAA6B,CAAC;AAEhE;;;;;GAKG;AAEH,MAAM,WAAW,wBACf,SAAQ,IAAI,CAAC,WAAW,EAAE,iBAAiB,GAAG,gBAAgB,CAAC;CAAG;A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scribable } from '@remote-ui/async-subscription';
|
|
2
|
+
export interface OrderConfirmation {
|
|
3
|
+
order: {
|
|
4
|
+
/**
|
|
5
|
+
* The globally-uniqueID of the OrderConfirmation. This will be the ID of the Order once successfully created.
|
|
6
|
+
*/
|
|
7
|
+
id: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* A randomly generated alpha-numeric identifier for the order.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
number?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface OrderConfirmationApi {
|
|
16
|
+
/**
|
|
17
|
+
* Order information that's available post-checkout.
|
|
18
|
+
*/
|
|
19
|
+
orderConfirmation: StatefulRemoteSubscribable<OrderConfirmation>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=order-confirmation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order-confirmation.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/order-confirmation/order-confirmation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAE9E,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE;QACL;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC;IACF;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,iBAAiB,EAAE,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;CAClE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StatefulRemoteSubscribable } from '@remote-ui/async-subscription';
|
|
1
|
+
import type { StatefulRemoteSubscribable } from '@remote-ui/async-subscription';
|
|
2
2
|
/**
|
|
3
3
|
* Information about an order that was placed.
|
|
4
4
|
*/
|
|
@@ -17,6 +17,11 @@ export interface Order {
|
|
|
17
17
|
* If cancelled, the time at which the order was cancelled.
|
|
18
18
|
*/
|
|
19
19
|
cancelledAt?: string;
|
|
20
|
+
/**
|
|
21
|
+
* A randomly generated alpha-numeric identifier for the order.
|
|
22
|
+
* 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.
|
|
23
|
+
*/
|
|
24
|
+
confirmationNumber?: string;
|
|
20
25
|
}
|
|
21
26
|
export interface OrderStatusApi {
|
|
22
27
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order-status.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/order-status/order-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"order-status.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/order-status/order-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAE9E;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,KAAK,EAAE,0BAA0B,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC;CACtD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StatefulRemoteSubscribable } from '@remote-ui/async-subscription';
|
|
1
|
+
import type { StatefulRemoteSubscribable } from '@remote-ui/async-subscription';
|
|
2
2
|
export type PaymentMethodAttributesResult = PaymentMethodAttributesResultSuccess | PaymentMethodAttributesResultError;
|
|
3
3
|
export interface PaymentMethodAttributesResultSuccess {
|
|
4
4
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-option-item.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/payment/payment-option-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"payment-option-item.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/payment/payment-option-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAE9E,MAAM,MAAM,6BAA6B,GACrC,oCAAoC,GACpC,kCAAkC,CAAC;AAEvC,MAAM,WAAW,oCAAoC;IACnD;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,MAAM,WAAW,kCAAkC;IACjD;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IAEd;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;CAClC;AAED,MAAM,MAAM,6BAA6B,GAAG,mCAAmC,CAAC;AAEhF,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,IAAI,EAAE,+BAA+B,CAAC;IAEtC;;OAEG;IACH,UAAU,EAAE,sBAAsB,EAAE,CAAC;CACtC;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,kCAAkC,CAChC,MAAM,EAAE,6BAA6B,GACpC,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC1C,uBAAuB,CAAC,EAAE,0BAA0B,CAClD,sBAAsB,EAAE,GAAG,SAAS,CACrC,CAAC;IACF,YAAY,CAAC,EAAE,0BAA0B,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC/D"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { StatefulRemoteSubscribable } from '@remote-ui/async-subscription';
|
|
2
|
+
import type { PickupLocationOption } from '../standard/standard';
|
|
3
|
+
export interface PickupLocationItemApi {
|
|
4
|
+
/**
|
|
5
|
+
* The pickup location the extension is attached to.
|
|
6
|
+
*/
|
|
7
|
+
target: StatefulRemoteSubscribable<PickupLocationOption>;
|
|
8
|
+
/**
|
|
9
|
+
* Whether the pickup location is currently selected.
|
|
10
|
+
*/
|
|
11
|
+
isTargetSelected: StatefulRemoteSubscribable<boolean>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=pickup-location-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pickup-location-item.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/pickup/pickup-location-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAE9E,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,sBAAsB,CAAC;AAE/D,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,MAAM,EAAE,0BAA0B,CAAC,oBAAoB,CAAC,CAAC;IAEzD;;OAEG;IACH,gBAAgB,EAAE,0BAA0B,CAAC,OAAO,CAAC,CAAC;CACvD"}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export type CurrencyCode = 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BOV' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHE' | 'CHF' | 'CHW' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'COU' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MXV' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'USN' | 'UYI' | 'UYU' | 'UYW' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XSU' | 'XTS' | 'XUA' | 'XXX' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL';
|
|
3
|
-
export type Timezone = 'Africa/Abidjan' | 'Africa/Algiers' | 'Africa/Bissau' | 'Africa/Cairo' | 'Africa/Casablanca' | 'Africa/Ceuta' | 'Africa/El_Aaiun' | 'Africa/Johannesburg' | 'Africa/Juba' | 'Africa/Khartoum' | 'Africa/Lagos' | 'Africa/Maputo' | 'Africa/Monrovia' | 'Africa/Nairobi' | 'Africa/Ndjamena' | 'Africa/Sao_Tome' | 'Africa/Tripoli' | 'Africa/Tunis' | 'Africa/Windhoek' | 'America/Adak' | 'America/Anchorage' | 'America/Araguaina' | 'America/Argentina/Buenos_Aires' | 'America/Argentina/Catamarca' | 'America/Argentina/Cordoba' | 'America/Argentina/Jujuy' | 'America/Argentina/La_Rioja' | 'America/Argentina/Mendoza' | 'America/Argentina/Rio_Gallegos' | 'America/Argentina/Salta' | 'America/Argentina/San_Juan' | 'America/Argentina/San_Luis' | 'America/Argentina/Tucuman' | 'America/Argentina/Ushuaia' | 'America/Asuncion' | 'America/Bahia' | 'America/Bahia_Banderas' | 'America/Barbados' | 'America/Belem' | 'America/Belize' | 'America/Boa_Vista' | 'America/Bogota' | 'America/Boise' | 'America/Cambridge_Bay' | 'America/Campo_Grande' | 'America/Cancun' | 'America/Caracas' | 'America/Cayenne' | 'America/Chicago' | 'America/Chihuahua' | 'America/Costa_Rica' | 'America/Cuiaba' | 'America/Danmarkshavn' | 'America/Dawson' | 'America/Dawson_Creek' | 'America/Denver' | 'America/Detroit' | 'America/Edmonton' | 'America/Eirunepe' | 'America/El_Salvador' | 'America/Fort_Nelson' | 'America/Fortaleza' | 'America/Glace_Bay' | 'America/Goose_Bay' | 'America/Grand_Turk' | 'America/Guatemala' | 'America/Guayaquil' | 'America/Guyana' | 'America/Halifax' | 'America/Havana' | 'America/Hermosillo' | 'America/Indiana/Indianapolis' | 'America/Indiana/Knox' | 'America/Indiana/Marengo' | 'America/Indiana/Petersburg' | 'America/Indiana/Tell_City' | 'America/Indiana/Vevay' | 'America/Indiana/Vincennes' | 'America/Indiana/Winamac' | 'America/Inuvik' | 'America/Iqaluit' | 'America/Jamaica' | 'America/Juneau' | 'America/Kentucky/Louisville' | 'America/Kentucky/Monticello' | 'America/La_Paz' | 'America/Lima' | 'America/Los_Angeles' | 'America/Maceio' | 'America/Managua' | 'America/Manaus' | 'America/Martinique' | 'America/Matamoros' | 'America/Mazatlan' | 'America/Menominee' | 'America/Merida' | 'America/Metlakatla' | 'America/Mexico_City' | 'America/Miquelon' | 'America/Moncton' | 'America/Monterrey' | 'America/Montevideo' | 'America/New_York' | 'America/Nipigon' | 'America/Nome' | 'America/Noronha' | 'America/North_Dakota/Beulah' | 'America/North_Dakota/Center' | 'America/North_Dakota/New_Salem' | 'America/Nuuk' | 'America/Ojinaga' | 'America/Panama' | 'America/Pangnirtung' | 'America/Paramaribo' | 'America/Phoenix' | 'America/Port-au-Prince' | 'America/Porto_Velho' | 'America/Puerto_Rico' | 'America/Punta_Arenas' | 'America/Rainy_River' | 'America/Rankin_Inlet' | 'America/Recife' | 'America/Regina' | 'America/Resolute' | 'America/Rio_Branco' | 'America/Santarem' | 'America/Santiago' | 'America/Santo_Domingo' | 'America/Sao_Paulo' | 'America/Scoresbysund' | 'America/Sitka' | 'America/St_Johns' | 'America/Swift_Current' | 'America/Tegucigalpa' | 'America/Thule' | 'America/Thunder_Bay' | 'America/Tijuana' | 'America/Toronto' | 'America/Vancouver' | 'America/Whitehorse' | 'America/Winnipeg' | 'America/Yakutat' | 'America/Yellowknife' | 'Antarctica/Casey' | 'Antarctica/Davis' | 'Antarctica/Macquarie' | 'Antarctica/Mawson' | 'Antarctica/Palmer' | 'Antarctica/Rothera' | 'Antarctica/Troll' | 'Antarctica/Vostok' | 'Asia/Almaty' | 'Asia/Amman' | 'Asia/Anadyr' | 'Asia/Aqtau' | 'Asia/Aqtobe' | 'Asia/Ashgabat' | 'Asia/Atyrau' | 'Asia/Baghdad' | 'Asia/Baku' | 'Asia/Bangkok' | 'Asia/Barnaul' | 'Asia/Beirut' | 'Asia/Bishkek' | 'Asia/Brunei' | 'Asia/Chita' | 'Asia/Choibalsan' | 'Asia/Colombo' | 'Asia/Damascus' | 'Asia/Dhaka' | 'Asia/Dili' | 'Asia/Dubai' | 'Asia/Dushanbe' | 'Asia/Famagusta' | 'Asia/Gaza' | 'Asia/Hebron' | 'Asia/Ho_Chi_Minh' | 'Asia/Hong_Kong' | 'Asia/Hovd' | 'Asia/Irkutsk' | 'Asia/Jakarta' | 'Asia/Jayapura' | 'Asia/Jerusalem' | 'Asia/Kabul' | 'Asia/Kamchatka' | 'Asia/Karachi' | 'Asia/Kathmandu' | 'Asia/Khandyga' | 'Asia/Kolkata' | 'Asia/Krasnoyarsk' | 'Asia/Kuala_Lumpur' | 'Asia/Kuching' | 'Asia/Macau' | 'Asia/Magadan' | 'Asia/Makassar' | 'Asia/Manila' | 'Asia/Nicosia' | 'Asia/Novokuznetsk' | 'Asia/Novosibirsk' | 'Asia/Omsk' | 'Asia/Oral' | 'Asia/Pontianak' | 'Asia/Pyongyang' | 'Asia/Qatar' | 'Asia/Qostanay' | 'Asia/Qyzylorda' | 'Asia/Riyadh' | 'Asia/Sakhalin' | 'Asia/Samarkand' | 'Asia/Seoul' | 'Asia/Shanghai' | 'Asia/Singapore' | 'Asia/Srednekolymsk' | 'Asia/Taipei' | 'Asia/Tashkent' | 'Asia/Tbilisi' | 'Asia/Tehran' | 'Asia/Thimphu' | 'Asia/Tokyo' | 'Asia/Tomsk' | 'Asia/Ulaanbaatar' | 'Asia/Urumqi' | 'Asia/Ust-Nera' | 'Asia/Vladivostok' | 'Asia/Yakutsk' | 'Asia/Yangon' | 'Asia/Yekaterinburg' | 'Asia/Yerevan' | 'Atlantic/Azores' | 'Atlantic/Bermuda' | 'Atlantic/Canary' | 'Atlantic/Cape_Verde' | 'Atlantic/Faroe' | 'Atlantic/Madeira' | 'Atlantic/Reykjavik' | 'Atlantic/South_Georgia' | 'Atlantic/Stanley' | 'Australia/Adelaide' | 'Australia/Brisbane' | 'Australia/Broken_Hill' | 'Australia/Darwin' | 'Australia/Eucla' | 'Australia/Hobart' | 'Australia/Lindeman' | 'Australia/Lord_Howe' | 'Australia/Melbourne' | 'Australia/Perth' | 'Australia/Sydney' | 'CET' | 'CST6CDT' | 'EET' | 'EST' | 'EST5EDT' | 'Etc/GMT' | 'Etc/GMT-1' | 'Etc/GMT-10' | 'Etc/GMT-11' | 'Etc/GMT-12' | 'Etc/GMT-13' | 'Etc/GMT-14' | 'Etc/GMT-2' | 'Etc/GMT-3' | 'Etc/GMT-4' | 'Etc/GMT-5' | 'Etc/GMT-6' | 'Etc/GMT-7' | 'Etc/GMT-8' | 'Etc/GMT-9' | 'Etc/GMT+1' | 'Etc/GMT+10' | 'Etc/GMT+11' | 'Etc/GMT+12' | 'Etc/GMT+2' | 'Etc/GMT+3' | 'Etc/GMT+4' | 'Etc/GMT+5' | 'Etc/GMT+6' | 'Etc/GMT+7' | 'Etc/GMT+8' | 'Etc/GMT+9' | 'Etc/UTC' | 'Europe/Amsterdam' | 'Europe/Andorra' | 'Europe/Astrakhan' | 'Europe/Athens' | 'Europe/Belgrade' | 'Europe/Berlin' | 'Europe/Brussels' | 'Europe/Bucharest' | 'Europe/Budapest' | 'Europe/Chisinau' | 'Europe/Copenhagen' | 'Europe/Dublin' | 'Europe/Gibraltar' | 'Europe/Helsinki' | 'Europe/Istanbul' | 'Europe/Kaliningrad' | 'Europe/Kiev' | 'Europe/Kirov' | 'Europe/Lisbon' | 'Europe/London' | 'Europe/Luxembourg' | 'Europe/Madrid' | 'Europe/Malta' | 'Europe/Minsk' | 'Europe/Monaco' | 'Europe/Moscow' | 'Europe/Oslo' | 'Europe/Paris' | 'Europe/Prague' | 'Europe/Riga' | 'Europe/Rome' | 'Europe/Samara' | 'Europe/Saratov' | 'Europe/Simferopol' | 'Europe/Sofia' | 'Europe/Stockholm' | 'Europe/Tallinn' | 'Europe/Tirane' | 'Europe/Ulyanovsk' | 'Europe/Uzhgorod' | 'Europe/Vienna' | 'Europe/Vilnius' | 'Europe/Volgograd' | 'Europe/Warsaw' | 'Europe/Zaporozhye' | 'Europe/Zurich' | 'HST' | 'Indian/Chagos' | 'Indian/Christmas' | 'Indian/Cocos' | 'Indian/Kerguelen' | 'Indian/Mahe' | 'Indian/Maldives' | 'Indian/Mauritius' | 'Indian/Reunion' | 'MET' | 'MST' | 'MST7MDT' | 'Pacific/Apia' | 'Pacific/Auckland' | 'Pacific/Bougainville' | 'Pacific/Chatham' | 'Pacific/Chuuk' | 'Pacific/Easter' | 'Pacific/Efate' | 'Pacific/Fakaofo' | 'Pacific/Fiji' | 'Pacific/Funafuti' | 'Pacific/Galapagos' | 'Pacific/Gambier' | 'Pacific/Guadalcanal' | 'Pacific/Guam' | 'Pacific/Honolulu' | 'Pacific/Kanton' | 'Pacific/Kiritimati' | 'Pacific/Kosrae' | 'Pacific/Kwajalein' | 'Pacific/Majuro' | 'Pacific/Marquesas' | 'Pacific/Nauru' | 'Pacific/Niue' | 'Pacific/Norfolk' | 'Pacific/Noumea' | 'Pacific/Pago_Pago' | 'Pacific/Palau' | 'Pacific/Pitcairn' | 'Pacific/Pohnpei' | 'Pacific/Port_Moresby' | 'Pacific/Rarotonga' | 'Pacific/Tahiti' | 'Pacific/Tarawa' | 'Pacific/Tongatapu' | 'Pacific/Wake' | 'Pacific/Wallis' | 'PST8PDT' | 'WET';
|
|
4
|
-
export type CountryCode = 'AC' | 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AN' | 'AO' | 'AR' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CC' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CU' | 'CV' | 'CW' | 'CX' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GW' | 'GY' | 'HK' | 'HM' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IR' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KP' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NF' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PS' | 'PT' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SY' | 'SZ' | 'TA' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'UM' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VN' | 'VU' | 'WF' | 'WS' | 'XK' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW' | 'ZZ';
|
|
5
|
-
/**
|
|
6
|
-
* Union of supported storefront API versions
|
|
7
|
-
*/
|
|
8
|
-
export type StorefrontApiVersion = '2022-04' | '2022-07' | '2022-10' | '2023-01' | '2023-04' | '2023-07' | 'unstable';
|
|
9
|
-
/**
|
|
10
|
-
* GraphQL error returned by the Shopify Storefront APIs.
|
|
11
|
-
*/
|
|
12
|
-
export interface GraphQLError {
|
|
13
|
-
message: string;
|
|
14
|
-
extensions: {
|
|
15
|
-
requestId: string;
|
|
16
|
-
code: string;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
1
|
+
import type { CountryCode } from '../../../shared';
|
|
19
2
|
export interface ValidationError {
|
|
20
3
|
/**
|
|
21
4
|
* Error message to be displayed to the buyer.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/checkout/api/shared.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,CAAC,SAAS,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;AAGhF,MAAM,MAAM,YAAY,GACpB,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL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AAC;IAEZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,cAAc;IAC7B;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { StatefulRemoteSubscribable } from '@remote-ui/async-subscription';
|
|
2
|
-
import { ShippingOption } from '../standard/standard';
|
|
2
|
+
import type { ShippingOption } from '../standard/standard';
|
|
3
3
|
export interface ShippingOptionItemApi {
|
|
4
4
|
/**
|
|
5
5
|
* The shipping option the extension is attached to.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shipping-option-item.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/shipping/shipping-option-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAE9E,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"shipping-option-item.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/shipping/shipping-option-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAE9E,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AAEzD,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,MAAM,EAAE,0BAA0B,CAAC,cAAc,CAAC,CAAC;IAEnD;;OAEG;IACH,gBAAgB,EAAE,0BAA0B,CAAC,OAAO,CAAC,CAAC;CACvD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { StatefulRemoteSubscribable } from '@remote-ui/async-subscription';
|
|
2
|
-
import { DeliveryGroup } from '../standard/standard';
|
|
1
|
+
import type { StatefulRemoteSubscribable } from '@remote-ui/async-subscription';
|
|
2
|
+
import type { DeliveryGroup } from '../standard/standard';
|
|
3
3
|
export interface ShippingOptionListApi {
|
|
4
4
|
/**
|
|
5
5
|
* The delivery group the extension is attached to. The target will be undefined if the group is not available.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shipping-option-list.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/shipping/shipping-option-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"shipping-option-list.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/shipping/shipping-option-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAE9E,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,sBAAsB,CAAC;AAExD,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,MAAM,EAAE,0BAA0B,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;CAC/D"}
|