@shopify/ui-extensions 2025.7.1 → 2025.7.3
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/point-of-sale/render/components/Badge/Badge.js +0 -7
- package/build/cjs/surfaces/point-of-sale/render/components/Banner/Banner.js +0 -9
- package/build/cjs/surfaces/point-of-sale/render/components/Button/Button.js +0 -8
- package/build/cjs/surfaces/point-of-sale/render/components/CameraScanner/CameraScanner.js +0 -6
- package/build/cjs/surfaces/point-of-sale/render/components/DatePicker/DatePicker.js +0 -8
- package/build/cjs/surfaces/point-of-sale/render/components/Dialog/Dialog.js +0 -12
- package/build/cjs/surfaces/point-of-sale/render/components/Image/Image.js +7 -2
- package/build/cjs/surfaces/point-of-sale/render/components/Navigator/Navigator.js +0 -4
- package/build/cjs/surfaces/point-of-sale/render/components/NumberField/NumberField.js +0 -6
- package/build/cjs/surfaces/point-of-sale/render/components/POSBlock/POSBlock.js +0 -6
- package/build/cjs/surfaces/point-of-sale/render/components/POSBlock/POSBlockRow.js +0 -4
- package/build/cjs/surfaces/point-of-sale/render/components/POSReceiptBlock/POSReceiptBlock.js +0 -5
- package/build/cjs/surfaces/point-of-sale/render/components/PinPad/PinPad.js +16 -20
- package/build/cjs/surfaces/point-of-sale/render/components/QRCode/QRCode.js +0 -5
- package/build/cjs/surfaces/point-of-sale/render/components/Screen/Screen.js +0 -22
- package/build/cjs/surfaces/point-of-sale/render/components/Section/Section.js +2 -8
- package/build/cjs/surfaces/point-of-sale/render/components/SegmentedControl/SegmentedControl.js +4 -0
- package/build/cjs/surfaces/point-of-sale/render/components/Stack/Stack.js +4 -0
- package/build/cjs/surfaces/point-of-sale/render/components/Text/Text.js +28 -0
- package/build/cjs/surfaces/point-of-sale/render/components/TextArea/TextArea.js +0 -6
- package/build/cjs/surfaces/point-of-sale/render/components/Tile/Tile.js +0 -10
- package/build/cjs/surfaces/point-of-sale/render/components/TimePicker/TimePicker.js +0 -9
- package/build/cjs/surfaces/point-of-sale/types/storage.js +3 -0
- package/build/esm/surfaces/point-of-sale/render/components/Badge/Badge.mjs +0 -7
- package/build/esm/surfaces/point-of-sale/render/components/Banner/Banner.mjs +0 -9
- package/build/esm/surfaces/point-of-sale/render/components/Button/Button.mjs +0 -8
- package/build/esm/surfaces/point-of-sale/render/components/CameraScanner/CameraScanner.mjs +0 -6
- package/build/esm/surfaces/point-of-sale/render/components/DatePicker/DatePicker.mjs +0 -8
- package/build/esm/surfaces/point-of-sale/render/components/Dialog/Dialog.mjs +0 -12
- package/build/esm/surfaces/point-of-sale/render/components/Image/Image.mjs +7 -2
- package/build/esm/surfaces/point-of-sale/render/components/Navigator/Navigator.mjs +0 -4
- package/build/esm/surfaces/point-of-sale/render/components/NumberField/NumberField.mjs +0 -6
- package/build/esm/surfaces/point-of-sale/render/components/POSBlock/POSBlock.mjs +0 -6
- package/build/esm/surfaces/point-of-sale/render/components/POSBlock/POSBlockRow.mjs +0 -4
- package/build/esm/surfaces/point-of-sale/render/components/POSReceiptBlock/POSReceiptBlock.mjs +0 -5
- package/build/esm/surfaces/point-of-sale/render/components/PinPad/PinPad.mjs +16 -20
- package/build/esm/surfaces/point-of-sale/render/components/QRCode/QRCode.mjs +0 -5
- package/build/esm/surfaces/point-of-sale/render/components/Screen/Screen.mjs +0 -22
- package/build/esm/surfaces/point-of-sale/render/components/Section/Section.mjs +2 -8
- package/build/esm/surfaces/point-of-sale/render/components/SegmentedControl/SegmentedControl.mjs +4 -0
- package/build/esm/surfaces/point-of-sale/render/components/Stack/Stack.mjs +4 -0
- package/build/esm/surfaces/point-of-sale/render/components/Text/Text.mjs +28 -0
- package/build/esm/surfaces/point-of-sale/render/components/TextArea/TextArea.mjs +0 -6
- package/build/esm/surfaces/point-of-sale/render/components/Tile/Tile.mjs +0 -10
- package/build/esm/surfaces/point-of-sale/render/components/TimePicker/TimePicker.mjs +0 -9
- package/build/esm/surfaces/point-of-sale/types/storage.mjs +3 -0
- package/build/esnext/surfaces/point-of-sale/render/components/Badge/Badge.esnext +0 -7
- package/build/esnext/surfaces/point-of-sale/render/components/Banner/Banner.esnext +0 -9
- package/build/esnext/surfaces/point-of-sale/render/components/Button/Button.esnext +0 -8
- package/build/esnext/surfaces/point-of-sale/render/components/CameraScanner/CameraScanner.esnext +0 -6
- package/build/esnext/surfaces/point-of-sale/render/components/DatePicker/DatePicker.esnext +0 -8
- package/build/esnext/surfaces/point-of-sale/render/components/Dialog/Dialog.esnext +0 -12
- package/build/esnext/surfaces/point-of-sale/render/components/Image/Image.esnext +7 -2
- package/build/esnext/surfaces/point-of-sale/render/components/Navigator/Navigator.esnext +0 -4
- package/build/esnext/surfaces/point-of-sale/render/components/NumberField/NumberField.esnext +0 -6
- package/build/esnext/surfaces/point-of-sale/render/components/POSBlock/POSBlock.esnext +0 -6
- package/build/esnext/surfaces/point-of-sale/render/components/POSBlock/POSBlockRow.esnext +0 -4
- package/build/esnext/surfaces/point-of-sale/render/components/POSReceiptBlock/POSReceiptBlock.esnext +0 -5
- package/build/esnext/surfaces/point-of-sale/render/components/PinPad/PinPad.esnext +16 -20
- package/build/esnext/surfaces/point-of-sale/render/components/QRCode/QRCode.esnext +0 -5
- package/build/esnext/surfaces/point-of-sale/render/components/Screen/Screen.esnext +0 -22
- package/build/esnext/surfaces/point-of-sale/render/components/Section/Section.esnext +2 -8
- package/build/esnext/surfaces/point-of-sale/render/components/SegmentedControl/SegmentedControl.esnext +4 -0
- package/build/esnext/surfaces/point-of-sale/render/components/Stack/Stack.esnext +4 -0
- package/build/esnext/surfaces/point-of-sale/render/components/Text/Text.esnext +28 -0
- package/build/esnext/surfaces/point-of-sale/render/components/TextArea/TextArea.esnext +0 -6
- package/build/esnext/surfaces/point-of-sale/render/components/Tile/Tile.esnext +0 -10
- package/build/esnext/surfaces/point-of-sale/render/components/TimePicker/TimePicker.esnext +0 -9
- package/build/esnext/surfaces/point-of-sale/types/storage.esnext +3 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +20 -6
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +2 -2
- package/build/ts/surfaces/checkout/targets.d.ts +2 -2
- package/build/ts/surfaces/checkout/targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout.d.ts +1 -1
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/announcement/announcement.d.ts +20 -6
- package/build/ts/surfaces/customer-account/api/announcement/announcement.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/docs.d.ts +2 -0
- package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +2 -0
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api.d.ts +1 -0
- package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets.d.ts +4 -4
- package/build/ts/surfaces/customer-account/targets.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +3 -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 +15 -0
- 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 +6 -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 +27 -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 +19 -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 +9 -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 +19 -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 +12 -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 +27 -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 +14 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/action-api/action-api.d.ts +3 -5
- package/build/ts/surfaces/point-of-sale/render/api/action-api/action-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/cart-api/cart-api.d.ts +37 -31
- package/build/ts/surfaces/point-of-sale/render/api/cart-api/cart-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/cart-line-item-api/cart-line-item-api.d.ts +2 -2
- package/build/ts/surfaces/point-of-sale/render/api/connectivity-api/connectivity-api.d.ts +6 -4
- package/build/ts/surfaces/point-of-sale/render/api/connectivity-api/connectivity-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/customer-api/customer-api.d.ts +4 -1
- package/build/ts/surfaces/point-of-sale/render/api/customer-api/customer-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/device-api/device-api.d.ts +4 -4
- package/build/ts/surfaces/point-of-sale/render/api/draft-order-api/draft-order-api.d.ts +6 -3
- package/build/ts/surfaces/point-of-sale/render/api/draft-order-api/draft-order-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/locale-api/locale-api.d.ts +3 -4
- package/build/ts/surfaces/point-of-sale/render/api/locale-api/locale-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/navigation-api/navigation-api.d.ts +9 -7
- package/build/ts/surfaces/point-of-sale/render/api/navigation-api/navigation-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/order-api/order-api.d.ts +5 -5
- package/build/ts/surfaces/point-of-sale/render/api/print-api/print-api.d.ts +7 -12
- package/build/ts/surfaces/point-of-sale/render/api/print-api/print-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/product-api/product-api.d.ts +5 -2
- package/build/ts/surfaces/point-of-sale/render/api/product-api/product-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/product-search-api/product-search-api.d.ts +24 -10
- package/build/ts/surfaces/point-of-sale/render/api/product-search-api/product-search-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/scanner-api/scanner-api.d.ts +22 -10
- package/build/ts/surfaces/point-of-sale/render/api/scanner-api/scanner-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/session-api/session-api.d.ts +3 -6
- package/build/ts/surfaces/point-of-sale/render/api/session-api/session-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/storage-api/storage-api.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/render/api/storage-api/storage-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/api/toast-api/toast-api.d.ts +11 -1
- package/build/ts/surfaces/point-of-sale/render/api/toast-api/toast-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Badge/Badge.d.ts +12 -9
- package/build/ts/surfaces/point-of-sale/render/components/Badge/Badge.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Banner/Banner.d.ts +13 -14
- package/build/ts/surfaces/point-of-sale/render/components/Banner/Banner.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Button/Button.d.ts +9 -15
- package/build/ts/surfaces/point-of-sale/render/components/Button/Button.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/CameraScanner/CameraScanner.d.ts +6 -8
- package/build/ts/surfaces/point-of-sale/render/components/CameraScanner/CameraScanner.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/DatePicker/DatePicker.d.ts +8 -11
- package/build/ts/surfaces/point-of-sale/render/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Dialog/Dialog.d.ts +13 -20
- package/build/ts/surfaces/point-of-sale/render/components/Dialog/Dialog.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Icon/Icon.d.ts +10 -8
- package/build/ts/surfaces/point-of-sale/render/components/Icon/Icon.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Image/Image.d.ts +10 -5
- package/build/ts/surfaces/point-of-sale/render/components/Image/Image.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/List/List.d.ts +30 -25
- package/build/ts/surfaces/point-of-sale/render/components/List/List.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Navigator/Navigator.d.ts +1 -4
- package/build/ts/surfaces/point-of-sale/render/components/Navigator/Navigator.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/NumberField/NumberField.d.ts +7 -7
- package/build/ts/surfaces/point-of-sale/render/components/NumberField/NumberField.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/POSBlock/POSBlock.d.ts +8 -10
- package/build/ts/surfaces/point-of-sale/render/components/POSBlock/POSBlock.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/POSBlock/POSBlockRow.d.ts +1 -4
- package/build/ts/surfaces/point-of-sale/render/components/POSBlock/POSBlockRow.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/POSReceiptBlock/POSReceiptBlock.d.ts +0 -4
- package/build/ts/surfaces/point-of-sale/render/components/POSReceiptBlock/POSReceiptBlock.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/PinPad/PinPad.d.ts +25 -28
- package/build/ts/surfaces/point-of-sale/render/components/PinPad/PinPad.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/PrintPreview/PrintPreview.d.ts +1 -11
- package/build/ts/surfaces/point-of-sale/render/components/PrintPreview/PrintPreview.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/QRCode/QRCode.d.ts +1 -5
- package/build/ts/surfaces/point-of-sale/render/components/QRCode/QRCode.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/RadioButtonList/RadioButtonList.d.ts +7 -5
- package/build/ts/surfaces/point-of-sale/render/components/RadioButtonList/RadioButtonList.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Screen/Screen.d.ts +13 -33
- package/build/ts/surfaces/point-of-sale/render/components/Screen/Screen.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/SearchBar/SearchBar.d.ts +7 -7
- package/build/ts/surfaces/point-of-sale/render/components/Section/Section.d.ts +6 -11
- package/build/ts/surfaces/point-of-sale/render/components/Section/Section.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/SectionHeader/SectionHeader.d.ts +9 -7
- package/build/ts/surfaces/point-of-sale/render/components/SectionHeader/SectionHeader.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/SegmentedControl/SegmentedControl.d.ts +9 -6
- package/build/ts/surfaces/point-of-sale/render/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Selectable/Selectable.d.ts +2 -2
- package/build/ts/surfaces/point-of-sale/render/components/Stack/Stack.d.ts +22 -22
- package/build/ts/surfaces/point-of-sale/render/components/Stack/Stack.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Stepper/Stepper.d.ts +8 -6
- package/build/ts/surfaces/point-of-sale/render/components/Stepper/Stepper.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Text/Text.d.ts +28 -2
- package/build/ts/surfaces/point-of-sale/render/components/Text/Text.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/TextArea/TextArea.d.ts +1 -6
- package/build/ts/surfaces/point-of-sale/render/components/TextArea/TextArea.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/TextField/TextField.d.ts +30 -0
- package/build/ts/surfaces/point-of-sale/render/components/TextField/TextField.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/Tile/Tile.d.ts +6 -15
- package/build/ts/surfaces/point-of-sale/render/components/Tile/Tile.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/TimeField/TimeField.d.ts +2 -1
- package/build/ts/surfaces/point-of-sale/render/components/TimeField/TimeField.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/TimePicker/TimePicker.d.ts +10 -14
- package/build/ts/surfaces/point-of-sale/render/components/TimePicker/TimePicker.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/shared/BaseTextField.d.ts +6 -14
- package/build/ts/surfaces/point-of-sale/render/components/shared/BaseTextField.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/shared/InputField.d.ts +16 -37
- package/build/ts/surfaces/point-of-sale/render/components/shared/InputField.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/shared/box.d.ts +31 -42
- package/build/ts/surfaces/point-of-sale/render/components/shared/box.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/shared/deprecated-types.d.ts +12 -0
- package/build/ts/surfaces/point-of-sale/render/components/shared/deprecated-types.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/shared/inner-layouts.d.ts +13 -7
- package/build/ts/surfaces/point-of-sale/render/components/shared/inner-layouts.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/render/components/shared/sizes.d.ts +3 -1
- package/build/ts/surfaces/point-of-sale/render/components/shared/sizes.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/targets.d.ts +138 -0
- package/build/ts/surfaces/point-of-sale/targets.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +39 -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 +281 -10
- 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 +3 -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 +6 -3
- 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 +3 -3
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts +11 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts +22 -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 -2
- 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 +18 -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 +2 -3
- 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 +15 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/product.d.ts +172 -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 +7 -5
- 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 +32 -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 +13 -11
- 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 +21 -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 +7 -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 +6 -1
- package/src/surfaces/checkout/api/announcement/announcement.ts +20 -6
- package/src/surfaces/checkout/api/checkout/checkout.ts +2 -2
- package/src/surfaces/checkout/targets.ts +2 -2
- package/src/surfaces/checkout.ts +1 -1
- package/src/surfaces/customer-account/api/announcement/announcement.ts +20 -6
- package/src/surfaces/customer-account/api/docs.ts +3 -0
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +2 -0
- package/src/surfaces/customer-account/api.ts +2 -0
- package/src/surfaces/customer-account/targets.ts +5 -4
- package/src/surfaces/point-of-sale/api.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/BaseApi.ts +3 -0
- package/src/surfaces/point-of-sale/event/data/BaseData.ts +15 -0
- package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +6 -0
- package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +27 -0
- package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +19 -0
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +9 -0
- package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +19 -0
- package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +12 -0
- package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +27 -0
- package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +14 -0
- package/src/surfaces/point-of-sale/render/api/action-api/action-api.ts +3 -5
- package/src/surfaces/point-of-sale/render/api/cart-api/cart-api.ts +37 -31
- package/src/surfaces/point-of-sale/render/api/cart-line-item-api/cart-line-item-api.ts +2 -2
- package/src/surfaces/point-of-sale/render/api/connectivity-api/connectivity-api.ts +6 -4
- package/src/surfaces/point-of-sale/render/api/customer-api/customer-api.ts +4 -1
- package/src/surfaces/point-of-sale/render/api/device-api/device-api.ts +4 -4
- package/src/surfaces/point-of-sale/render/api/draft-order-api/draft-order-api.ts +6 -3
- package/src/surfaces/point-of-sale/render/api/locale-api/locale-api.ts +3 -4
- package/src/surfaces/point-of-sale/render/api/navigation-api/navigation-api.ts +9 -7
- package/src/surfaces/point-of-sale/render/api/order-api/order-api.ts +5 -5
- package/src/surfaces/point-of-sale/render/api/print-api/print-api.ts +7 -12
- package/src/surfaces/point-of-sale/render/api/product-api/product-api.ts +5 -2
- package/src/surfaces/point-of-sale/render/api/product-search-api/product-search-api.ts +24 -10
- package/src/surfaces/point-of-sale/render/api/scanner-api/scanner-api.ts +22 -10
- package/src/surfaces/point-of-sale/render/api/session-api/session-api.ts +3 -6
- package/src/surfaces/point-of-sale/render/api/storage-api/storage-api.ts +7 -0
- package/src/surfaces/point-of-sale/render/api/toast-api/toast-api.ts +11 -1
- package/src/surfaces/point-of-sale/render/components/Badge/Badge.ts +12 -10
- package/src/surfaces/point-of-sale/render/components/Banner/Banner.ts +13 -14
- package/src/surfaces/point-of-sale/render/components/Button/Button.ts +9 -15
- package/src/surfaces/point-of-sale/render/components/CameraScanner/CameraScanner.ts +6 -8
- package/src/surfaces/point-of-sale/render/components/DatePicker/DatePicker.ts +8 -11
- package/src/surfaces/point-of-sale/render/components/Dialog/Dialog.ts +13 -20
- package/src/surfaces/point-of-sale/render/components/Icon/Icon.ts +254 -248
- package/src/surfaces/point-of-sale/render/components/Image/Image.ts +14 -5
- package/src/surfaces/point-of-sale/render/components/List/List.ts +30 -25
- package/src/surfaces/point-of-sale/render/components/Navigator/Navigator.ts +1 -4
- package/src/surfaces/point-of-sale/render/components/NumberField/NumberField.ts +7 -7
- package/src/surfaces/point-of-sale/render/components/POSBlock/POSBlock.ts +5 -9
- package/src/surfaces/point-of-sale/render/components/POSBlock/POSBlockRow.ts +1 -4
- package/src/surfaces/point-of-sale/render/components/POSReceiptBlock/POSReceiptBlock.ts +0 -4
- package/src/surfaces/point-of-sale/render/components/PinPad/PinPad.ts +25 -28
- package/src/surfaces/point-of-sale/render/components/PrintPreview/PrintPreview.ts +1 -11
- package/src/surfaces/point-of-sale/render/components/QRCode/QRCode.ts +1 -5
- package/src/surfaces/point-of-sale/render/components/RadioButtonList/RadioButtonList.ts +4 -4
- package/src/surfaces/point-of-sale/render/components/Screen/Screen.ts +13 -33
- package/src/surfaces/point-of-sale/render/components/SearchBar/SearchBar.ts +7 -7
- package/src/surfaces/point-of-sale/render/components/Section/Section.ts +6 -11
- package/src/surfaces/point-of-sale/render/components/SectionHeader/SectionHeader.ts +6 -6
- package/src/surfaces/point-of-sale/render/components/SegmentedControl/SegmentedControl.ts +9 -7
- package/src/surfaces/point-of-sale/render/components/Selectable/Selectable.ts +2 -2
- package/src/surfaces/point-of-sale/render/components/Stack/Stack.ts +27 -22
- package/src/surfaces/point-of-sale/render/components/Stepper/Stepper.ts +8 -6
- package/src/surfaces/point-of-sale/render/components/Text/Text.ts +28 -2
- package/src/surfaces/point-of-sale/render/components/TextArea/TextArea.ts +1 -6
- package/src/surfaces/point-of-sale/render/components/TextField/TextField.ts +30 -0
- package/src/surfaces/point-of-sale/render/components/Tile/Tile.ts +6 -15
- package/src/surfaces/point-of-sale/render/components/TimeField/TimeField.ts +2 -1
- package/src/surfaces/point-of-sale/render/components/TimePicker/TimePicker.ts +10 -14
- package/src/surfaces/point-of-sale/render/components/shared/BaseTextField.ts +6 -14
- package/src/surfaces/point-of-sale/render/components/shared/InputField.ts +16 -37
- package/src/surfaces/point-of-sale/render/components/shared/box.ts +33 -42
- package/src/surfaces/point-of-sale/render/components/shared/deprecated-types.ts +12 -0
- package/src/surfaces/point-of-sale/render/components/shared/inner-layouts.ts +14 -7
- package/src/surfaces/point-of-sale/render/components/shared/sizes.ts +3 -1
- package/src/surfaces/point-of-sale/targets.ts +139 -0
- package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +39 -0
- package/src/surfaces/point-of-sale/types/cart.ts +284 -10
- package/src/surfaces/point-of-sale/types/country-code.ts +3 -0
- package/src/surfaces/point-of-sale/types/device.ts +6 -3
- package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +3 -3
- package/src/surfaces/point-of-sale/types/discount-allocation.ts +11 -0
- package/src/surfaces/point-of-sale/types/money.ts +23 -0
- package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +1 -2
- package/src/surfaces/point-of-sale/types/order.ts +18 -0
- package/src/surfaces/point-of-sale/types/paginated-result.ts +2 -3
- package/src/surfaces/point-of-sale/types/payment.ts +16 -0
- package/src/surfaces/point-of-sale/types/product.ts +172 -0
- package/src/surfaces/point-of-sale/types/session.ts +7 -5
- package/src/surfaces/point-of-sale/types/shipping-line.ts +32 -0
- package/src/surfaces/point-of-sale/types/storage.ts +13 -11
- package/src/surfaces/point-of-sale/types/tax-line.ts +21 -0
- package/src/surfaces/point-of-sale/types/transaction-type.ts +7 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"targets.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/targets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,gCAAgC,EAChC,sCAAsC,EACtC,yCAAyC,EACzC,8BAA8B,EAC/B,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EA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@ -4,7 +4,7 @@ export type { RedeemableAttribute, RedeemableChange, RedeemableAddChange, Redeem
|
|
|
4
4
|
export type { AttributeChange, AttributeChangeResult, AttributeChangeResultError, AttributeChangeResultSuccess, CartLineChange, CartLineChangeResult, CartLineChangeResultError, CartLineChangeResultSuccess, CartLineAddChange, CartLineUpdateChange, CartLineRemoveChange, DiscountCodeAddChange, DiscountCodeRemoveChange, DiscountCodeChange, DiscountCodeChangeResult, DiscountCodeChangeResultError, DiscountCodeChangeResultSuccess, GiftCardAddChange, GiftCardChange, GiftCardChangeResult, GiftCardChangeResultSuccess, GiftCardRemoveChange, GiftCardChangeResultError, MetafieldChange, MetafieldChangeResultError, MetafieldChangeResultSuccess, MetafieldChangeResult, MetafieldRemoveChange, MetafieldRemoveCartChange, MetafieldUpdateChange, MetafieldUpdateCartChange, NoteChange, NoteChangeResult, NoteChangeResultSuccess, NoteChangeResultError, ShippingAddressChange, ShippingAddressChangeFieldError, ShippingAddressChangeResult, ShippingAddressChangeResultError, ShippingAddressChangeResultSuccess, CheckoutApi, } from './checkout/api/checkout/checkout';
|
|
5
5
|
export type { Order, OrderStatusApi, } from './checkout/api/order-status/order-status';
|
|
6
6
|
export type { OrderConfirmationApi } from './checkout/api/order-confirmation/order-confirmation';
|
|
7
|
-
export type {
|
|
7
|
+
export type { AnnouncementApi } from './checkout/api/announcement/announcement';
|
|
8
8
|
export type { CartLineItemApi } from './checkout/api/cart-line/cart-line-item';
|
|
9
9
|
export type { PickupLocationListApi } from './checkout/api/pickup/pickup-location-list';
|
|
10
10
|
export type { PickupPointListApi } from './checkout/api/pickup/pickup-point-list';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../src/surfaces/checkout.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,UAAU,EACV,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,QAAQ,EACR,aAAa,EACb,YAAY,EACZ,gBAAgB,EACh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B,EAC3B,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACxB,6BAA6B,EAC7B,+BAA+B,EAC/B,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,2BAA2B,EAC3B,oBAAoB,EACpB,yBAAyB,EACzB,eAAe,EACf,0BAA0B,EAC1B,4BAA4B,EAC5B,qBAAqB,EACrB,qBAAqB,EACrB,yBAAyB,EACzB,qBAAqB,EACrB,yBAAyB,EACzB,UAAU,EACV,gBAAgB,EAChB,uBAAuB,EACvB,qBAAqB,EACrB,qBAAqB,EACrB,+BAA+B,EAC/B,2BAA2B,EAC3B,gCAAgC,EAChC,kCAAkC,EAClC,WAAW,GACZ,MAAM,kCAAkC,CAAC;AAC1C,YAAY,EACV,KAAK,EACL,cAAc,GACf,MAAM,0CAA0C,CAAC;AAClD,YAAY,EAAC,oBAAoB,EAAC,MAAM,sDAAsD,CAAC;AAC/F,YAAY,EAAC,
|
|
1
|
+
{"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../src/surfaces/checkout.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,UAAU,EACV,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,QAAQ,EACR,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACN,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,YAAY,EACZ,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,KAAK,EACL,WAAW,EACX,OAAO,EACP,IAAI,EACJ,OAAO,EACP,SAAS,EACT,YAAY,EACZ,uBAAuB,EACvB,iBAAiB,EACjB,QAAQ,EACR,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,sBAAsB,EACtB,0BAA0B,EAC1B,+BAA+B,EAC/B,4BAA4B,EAC5B,eAAe,EACf,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,CAAC;AAChC,YAAY,EACV,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,qBAAqB,EACrB,+BAA+B,EAC/B,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAEhC,YAAY,EAAC,OAAO,EAAE,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAE5E,cAAc,oBAAoB,CAAC;AAEnC,cAAc,WAAW,CAAC"}
|
|
@@ -1,8 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* The API for interacting with the announcement bar.
|
|
3
|
+
*/
|
|
4
|
+
export interface AnnouncementApi {
|
|
5
|
+
announcement: Announcement;
|
|
7
6
|
}
|
|
7
|
+
interface Announcement {
|
|
8
|
+
/**
|
|
9
|
+
* Close the Announcement bar.
|
|
10
|
+
*/
|
|
11
|
+
close(): void;
|
|
12
|
+
/**
|
|
13
|
+
* Listen for events from the announcement bar.
|
|
14
|
+
*/
|
|
15
|
+
addEventListener(type: 'close', cb: () => void): void;
|
|
16
|
+
/**
|
|
17
|
+
* Remove a listener for events from the announcement bar.
|
|
18
|
+
*/
|
|
19
|
+
removeEventListener(type: 'close', cb: () => void): void;
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
8
22
|
//# sourceMappingURL=announcement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"announcement.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/api/announcement/announcement.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"announcement.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/api/announcement/announcement.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED,UAAU,YAAY;IACpB;;OAEG;IACH,KAAK,IAAI,IAAI,CAAC;IACd;;OAEG;IACH,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;IACtD;;OAEG;IACH,mBAAmB,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;CAC1D"}
|
|
@@ -45,6 +45,8 @@ export interface Docs_Standard_LocalizationApi extends Pick<StandardApi<any>, 'l
|
|
|
45
45
|
}
|
|
46
46
|
export interface Docs_Standard_SessionTokenApi extends Pick<StandardApi<any>, 'sessionToken'> {
|
|
47
47
|
}
|
|
48
|
+
export interface Docs_Standard_AnalyticsApi extends Pick<StandardApi<any>, 'analytics'> {
|
|
49
|
+
}
|
|
48
50
|
export interface Docs_Standard_SettingsApi extends Pick<StandardApi, 'settings'> {
|
|
49
51
|
}
|
|
50
52
|
export interface Docs_Standard_StorageApi extends Pick<StandardApi<any>, 'storage'> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/customer-account/api/docs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAC,WAAW,EAAC,MAAM,YAAY,CAAC;AACvC,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAE1C,MAAM,WAAW,8BACf,SAAQ,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,eAAe,GAAG,YAAY,CAAC;CAAG;AAEtE,MAAM,WAAW,8BACf,SAAQ,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,YAAY,CAAC;CAAG;AAEpD,MAAM,WAAW,iCACf,SAAQ,IAAI,CAAC,cAAc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U,GACV,oBAAoB,CACvB;CAAG;AACN,MAAM,WAAW,gCACf,SAAQ,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3C;;OAEG;IACH,kBAAkB,EAAE,WAAW,CAAC,oBAAoB,CAAC,CAAC;CACvD;AAED,MAAM,WAAW,+BACf,SAAQ,IAAI,CACV,WAAW,EACT,SAAS,GACT,SAAS,GACT,IAAI,GACJ,SAAS,GACT,cAAc,GACd,UAAU,GACV,oBAAoB,GACpB,MAAM,CACT;CAAG;AAEN,MAAM,WAAW,uBACf,SAAQ,IAAI,CACV,WAAW,EACX,MAAM,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,YAAY,GAAG,MAAM,CACtE;CAAG;AAEN,MAAM,WAAW,2BACf,SAAQ,IAAI,CACV,WAAW,EACT,SAAS,GACT,SAAS,GACT,cAAc,GACd,UAAU,GACV,oBAAoB,GACpB,YAAY,CACf;IACD;;;;OAIG;IACH,EAAE,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CACvB;AAED,MAAM,WAAW,+CACf,SAAQ,IAAI,CACV,WAAW,EACT,SAAS,GACT,SAAS,GACT,cAAc,GACd,UAAU,GACV,oBAAoB,GACpB,mBAAmB,CACtB;CAAG;AAEN,MAAM,WAAW,iDACf,SAAQ,IAAI,CACV,WAAW,EACX,SAAS,GAAG,SAAS,GAAG,cAAc,GAAG,UAAU,GAAG,oBAAoB,CAC3E;CAAG"}
|
|
1
|
+
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/customer-account/api/docs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAC,WAAW,EAAC,MAAM,YAAY,CAAC;AACvC,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe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;CAAG"}
|
|
@@ -58,6 +58,8 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
58
58
|
sessionToken: SessionToken;
|
|
59
59
|
/**
|
|
60
60
|
* Methods for interacting with [Web Pixels](https://shopify.dev/docs/apps/marketing), such as emitting an event.
|
|
61
|
+
*
|
|
62
|
+
* > Note: Requires to [connect a third-party domain](https://help.shopify.com/en/manual/domains/add-a-domain/connecting-domains/connect-domain-customer-account) to Shopify for your customer account pages.
|
|
61
63
|
*/
|
|
62
64
|
analytics: Analytics;
|
|
63
65
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standard-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/api/standard-api/standard-api.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,OAAO,EACP,oBAAoB,EACpB,YAAY,EACZ,oBAAoB,EACpB,EAAE,EACF,YAAY,EACZ,SAAS,EACT,eAAe,EACf,8BAA8B,EAC/B,MAAM,WAAW,CAAC;AAEnB,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AACnD,OAAO,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CACtD;AACD;;GAEG;AACH,MAAM,WAAW,WAAW,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe;IAC3E;;;;;;;;;;OAUG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,oBAAoB,EAAE,oBAAoB,CAAC;IAE3C;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,YAAY,EAAE,YAAY,CAAC;IAE3B;;;OAGG;IACH,IAAI,EAAE,IAAI,CAAC;IAEX;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;;;OAIG;IACH,YAAY,EAAE,YAAY,CAAC;IAE3B
|
|
1
|
+
{"version":3,"file":"standard-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/api/standard-api/standard-api.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,OAAO,EACP,oBAAoB,EACpB,YAAY,EACZ,oBAAoB,EACpB,EAAE,EACF,YAAY,EACZ,SAAS,EACT,eAAe,EACf,8BAA8B,EAC/B,MAAM,WAAW,CAAC;AAEnB,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AACnD,OAAO,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CACtD;AACD;;GAEG;AACH,MAAM,WAAW,WAAW,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe;IAC3E;;;;;;;;;;OAUG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,oBAAoB,EAAE,oBAAoB,CAAC;IAE3C;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,YAAY,EAAE,YAAY,CAAC;IAE3B;;;OAGG;IACH,IAAI,EAAE,IAAI,CAAC;IAEX;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;;;OAIG;IACH,YAAY,EAAE,YAAY,CAAC;IAE3B;;;;OAIG;IACH,SAAS,EAAE,SAAS,CAAC;IAErB;;;;;;;;OAQG;IACH,QAAQ,EAAE,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;IAExD;;OAEG;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rencyCode, Country, CountryCode, Timezone, GraphQLError, SellingPlan, StorefrontApiVersion, MailingAddress, ApiVersion, Capability, Editor, Extension, I18nTranslate, I18n, Language, Storage, AuthenticatedAccount, PurchasingCompany, Company, Customer, SessionToken, Analytics, ApplyTrackingConsentChangeType, CustomerPrivacy, TrackingConsentChangeResult, TrackingConsentChangeResultError, TrackingConsentMetafield, TrackingConsentMetafieldChange, VisitorConsent, VisitorConsentChange, VisitorResult, VisitorSuccess, VisitorError, } from './api/shared';
|
|
3
3
|
export type { CartLineItemApi } from './api/cart-line/cart-line-item';
|
|
4
4
|
export type { Version, StandardApi, FullExtensionNavigation, StandardExtensionNavigation, NavigationCurrentEntryChangeEvent, NavigationHistoryEntry, NavigationOptions, NavigationType, NavigateFunction, Localization, CompanyLocationApi, OrderApi, ExtensionSettings, } from './api/standard-api/standard-api';
|
|
5
|
+
export type { AnnouncementApi } from './api/announcement/announcement';
|
|
5
6
|
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/customer-account/api.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,QAAQ,EACR,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,WAAW,EACX,YAAY,EACZ,OAAO,EACP,cAAc,EACd,cAAc,EACd,KAAK,EACL,IAAI,EACJ,SAAS,EACT,YAAY,EACZ,uBAAuB,EACvB,iBAAiB,EACjB,QAAQ,EACR,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,sBAAsB,EACtB,0BAA0B,EAC1B,+BAA+B,EAC/B,4BAA4B,EAC5B,eAAe,EACf,QAAQ,EACR,MAAM,EACN,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,uBAAuB,EACvB,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,iBAAiB,EACjB,WAAW,EACX,KAAK,EACL,cAAc,EACd,kBAAkB,EAClB,uBAAuB,EACvB,4BAA4B,EAC5B,wBAAwB,EACxB,aAAa,EACb,mBAAmB,GACpB,MAAM,iCAAiC,CAAC;AACzC,YAAY,EACV,SAAS,EACT,YAAY,EACZ,OAAO,EACP,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,oBAAoB,EACpB,cAAc,EACd,UAAU,EACV,UAAU,EACV,MAAM,EACN,SAAS,EACT,aAAa,EACb,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,oBAAoB,EACpB,iBAAiB,EACjB,OAAO,EACP,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,8BAA8B,EAC9B,eAAe,EACf,2BAA2B,EAC3B,gCAAgC,EAChC,wBAAwB,EACxB,8BAA8B,EAC9B,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,cAAc,EACd,YAAY,GACb,MAAM,cAAc,CAAC;AAEtB,YAAY,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAEpE,YAAY,EACV,OAAO,EACP,WAAW,EACX,uBAAuB,EACvB,2BAA2B,EAC3B,iCAAiC,EACjC,sBAAsB,EACtB,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,QAAQ,EACR,iBAAiB,GAClB,MAAM,iCAAiC,CAAC"}
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/customer-account/api.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,QAAQ,EACR,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,WAAW,EACX,YAAY,EACZ,OAAO,EACP,cAAc,EACd,cAAc,EACd,KAAK,EACL,IAAI,EACJ,SAAS,EACT,YAAY,EACZ,uBAAuB,EACvB,iBAAiB,EACjB,QAAQ,EACR,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,sBAAsB,EACtB,0BAA0B,EAC1B,+BAA+B,EAC/B,4BAA4B,EAC5B,eAAe,EACf,QAAQ,EACR,MAAM,EACN,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,uBAAuB,EACvB,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,iBAAiB,EACjB,WAAW,EACX,KAAK,EACL,cAAc,EACd,kBAAkB,EAClB,uBAAuB,EACvB,4BAA4B,EAC5B,wBAAwB,EACxB,aAAa,EACb,mBAAmB,GACpB,MAAM,iCAAiC,CAAC;AACzC,YAAY,EACV,SAAS,EACT,YAAY,EACZ,OAAO,EACP,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,oBAAoB,EACpB,cAAc,EACd,UAAU,EACV,UAAU,EACV,MAAM,EACN,SAAS,EACT,aAAa,EACb,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,oBAAoB,EACpB,iBAAiB,EACjB,OAAO,EACP,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,8BAA8B,EAC9B,eAAe,EACf,2BAA2B,EAC3B,gCAAgC,EAChC,wBAAwB,EACxB,8BAA8B,EAC9B,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,cAAc,EACd,YAAY,GACb,MAAM,cAAc,CAAC;AAEtB,YAAY,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAEpE,YAAY,EACV,OAAO,EACP,WAAW,EACX,uBAAuB,EACvB,2BAA2B,EAC3B,iCAAiC,EACjC,sBAAsB,EACtB,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,QAAQ,EACR,iBAAiB,GAClB,MAAM,iCAAiC,CAAC;AAEzC,YAAY,EAAC,eAAe,EAAC,MAAM,iCAAiC,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { CartLineItemApi } from './api/cart-line/cart-line-item';
|
|
|
3
3
|
import type { OrderStatusApi } from './api/order-status/order-status';
|
|
4
4
|
import type { RenderExtension } from './extension';
|
|
5
5
|
import { StandardApi, FullExtensionNavigation, CompanyLocationApi, OrderApi, FulfillmentApi, ReturnApi } from './api/standard-api/standard-api';
|
|
6
|
-
import {
|
|
6
|
+
import { AnnouncementApi } from './api/announcement/announcement';
|
|
7
7
|
type Components = typeof import('./components');
|
|
8
8
|
type AllComponents = Components[keyof Components];
|
|
9
9
|
/**
|
|
@@ -46,7 +46,7 @@ export interface OrderStatusExtensionTargets {
|
|
|
46
46
|
/**
|
|
47
47
|
* A static extension target that renders an extension in a prominent and noticeable area of the **Order status** page.
|
|
48
48
|
*/
|
|
49
|
-
'customer-account.order-status.announcement.render': RenderExtension<OrderStatusApi<'customer-account.order-status.announcement.render'> & StandardApi<'customer-account.order-status.announcement.render'> &
|
|
49
|
+
'customer-account.order-status.announcement.render': RenderExtension<OrderStatusApi<'customer-account.order-status.announcement.render'> & StandardApi<'customer-account.order-status.announcement.render'> & AnnouncementApi, AnyComponent>;
|
|
50
50
|
'customer-account.order.page.render': RenderExtension<OrderStatusApi<'customer-account.order.page.render'> & Omit<StandardApi<'customer-account.order.page.render'>, 'navigation'> & FullPageApi, AllComponents>;
|
|
51
51
|
}
|
|
52
52
|
export type OrderStatusExtensionTarget = keyof OrderStatusExtensionTargets;
|
|
@@ -57,9 +57,9 @@ export interface CustomerAccountExtensionTargets {
|
|
|
57
57
|
name: string;
|
|
58
58
|
}, AllComponents>;
|
|
59
59
|
'customer-account.order-index.block.render': RenderExtension<StandardApi<'customer-account.order-index.block.render'>, AllComponents>;
|
|
60
|
-
'customer-account.order-index.announcement.render': RenderExtension<StandardApi<'customer-account.order-index.announcement.render'> &
|
|
60
|
+
'customer-account.order-index.announcement.render': RenderExtension<StandardApi<'customer-account.order-index.announcement.render'> & AnnouncementApi, AllComponents>;
|
|
61
61
|
'customer-account.profile.block.render': RenderExtension<StandardApi<'customer-account.profile.block.render'>, AllComponents>;
|
|
62
|
-
'customer-account.profile.announcement.render': RenderExtension<StandardApi<'customer-account.profile.announcement.render'> &
|
|
62
|
+
'customer-account.profile.announcement.render': RenderExtension<StandardApi<'customer-account.profile.announcement.render'> & AnnouncementApi, AllComponents>;
|
|
63
63
|
'customer-account.profile.addresses.render-after': RenderExtension<StandardApi<'customer-account.profile.addresses.render-after'>, AllComponents>;
|
|
64
64
|
'customer-account.footer.render-after': RenderExtension<StandardApi<'customer-account.footer.render-after'>, AllComponents>;
|
|
65
65
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"targets.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/customer-account/targets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,iCAAiC,CAAC;AACpE,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,kBAAkB,EAClB,QAAQ,EACR,cAAc,EACd,SAAS,EACV,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"targets.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/customer-account/targets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,iCAAiC,CAAC;AACpE,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,kBAAkB,EAClB,QAAQ,EACR,cAAc,EACd,SAAS,EACV,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAC,eAAe,EAAC,MAAM,iCAAiC,CAAC;AAEhE,KAAK,UAAU,GAAG,cAAc,cAAc,CAAC,CAAC;AAEhD,KAAK,aAAa,GAAG,UAAU,CAAC,MAAM,UAAU,CAAC,CAAC;AAElD;;;;;;;GAOG;AACH,MAAM,MAAM,gBAAgB,GAAG,2BA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AC"}
|
|
@@ -17,7 +17,7 @@ export type { ScannerSource, ScannerSubscriptionResult, ScannerApi, ScannerApiCo
|
|
|
17
17
|
export type { SessionApiContent, SessionApi, } from './render/api/session-api/session-api';
|
|
18
18
|
export type { StorageApi } from './render/api/storage-api/storage-api';
|
|
19
19
|
export type { ShowToastOptions, ToastApiContent, ToastApi, } from './render/api/toast-api/toast-api';
|
|
20
|
-
export type { Cart, CartUpdateInput, Customer, LineItem, Discount, SetLineItemPropertiesInput, SetLineItemDiscountInput, LineItemDiscount, CustomSale, Address, } from './types/cart';
|
|
20
|
+
export type { Cart, CartUpdateInput, Customer, LineItem, LineItemComponent, Discount, SetLineItemPropertiesInput, SetLineItemDiscountInput, LineItemDiscount, CustomSale, Address, } from './types/cart';
|
|
21
21
|
export type { OrderLineItem, LineItemRefund } from './types/order';
|
|
22
22
|
export type { DirectApiRequestBody } from './types/direct-api-request-body';
|
|
23
23
|
export type { ShippingLine, CalculatedShippingLine, CustomShippingLine, } from './types/shipping-line';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/point-of-sale/api.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,OAAO,EACP,gBAAgB,EAChB,cAAc,EACd,oBAAoB,GACrB,MAAM,gCAAgC,CAAC;AAExC,YAAY,EAAC,eAAe,EAAC,MAAM,oDAAoD,CAAC;AAExF,YAAY,EACV,SAAS,EACT,gBAAgB,GACjB,MAAM,oCAAoC,CAAC;AAE5C,YAAY,EAAC,WAAW,EAAC,MAAM,oCAAoC,CAAC;AACpE,YAAY,EAAC,eAAe,EAAC,MAAM,kDAAkD,CAAC;AAEtF,YAAY,EACV,yBAAyB,EACzB,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,GAChB,MAAM,gDAAgD,CAAC;AAExD,YAAY,EACV,WAAW,EACX,kBAAkB,GACnB,MAAM,wCAAwC,CAAC;AAEhD,YAAY,EACV,SAAS,EACT,gBAAgB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c,EACd,oBAAoB,EACpB,6BAA6B,EAC7B,aAAa,GACd,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAEtD,YAAY,EAAC,OAAO,EAAC,MAAM,iBAAiB,CAAC;AAC7C,YAAY,EAAC,OAAO,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { StorageApi } from '../../render/api/storage-api/storage-api';
|
|
2
|
+
/**
|
|
3
|
+
* Base API access provided to extension targets, currently providing access to persistent storage for saving and retrieving extension data across sessions.
|
|
4
|
+
*/
|
|
2
5
|
export type BaseApi = StorageApi;
|
|
3
6
|
//# sourceMappingURL=BaseApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseApi.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/BaseApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,0CAA0C,CAAC;AAEpE,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"BaseApi.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/BaseApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,0CAA0C,CAAC;AAEpE;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC"}
|
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
import type { ConnectivityState, Device, Session } from '../../../point-of-sale';
|
|
2
|
+
/**
|
|
3
|
+
* Base data object provided to all extension targets containing device information, session context, and connectivity state. This data is available at extension initialization and provides essential context about the runtime environment.
|
|
4
|
+
*/
|
|
2
5
|
export interface BaseData {
|
|
6
|
+
/**
|
|
7
|
+
* The current Internet connectivity state of the POS device. Indicates whether the device is connected to or disconnected from the Internet. This state updates in real-time as connectivity changes, allowing extensions to adapt behavior for offline scenarios, show connectivity warnings, or queue operations for when connectivity is restored.
|
|
8
|
+
*/
|
|
3
9
|
connectivity: ConnectivityState;
|
|
10
|
+
/**
|
|
11
|
+
* Comprehensive information about the physical POS device where the extension is currently running. Includes the device name, unique device ID, and form factor information (tablet vs other). This data is static for the session and helps extensions adapt to different device types, log device-specific information, or implement device-based configurations.
|
|
12
|
+
*/
|
|
4
13
|
device: Device;
|
|
14
|
+
/**
|
|
15
|
+
* The [IETF BCP 47](https://en.wikipedia.org/wiki/IETF_language_tag) locale string for the current POS session (for example, `"en-US"`, `"fr-CA"`, `"de-DE"`). This indicates the merchant's language and regional preferences. Commonly used for internationalization (i18n), locale-specific date/time/number formatting, translating UI text, and providing localized content. The locale remains constant for the session and reflects the language selected in POS settings.
|
|
16
|
+
*/
|
|
5
17
|
locale: string;
|
|
18
|
+
/**
|
|
19
|
+
* Comprehensive information about the current POS session including shop ID and domain, authenticated user, pinned staff member, active location, currency settings, and POS version. This session data remains constant for the session duration and provides critical context for business logic, permissions, API authentication, and transaction processing. Session data updates when users switch locations or change pinned staff members.
|
|
20
|
+
*/
|
|
6
21
|
session: Session;
|
|
7
22
|
}
|
|
8
23
|
//# sourceMappingURL=BaseData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseData.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/BaseData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAC,MAAM,wBAAwB,CAAC;AAE/E,MAAM,WAAW,QAAQ;IACvB,YAAY,EAAE,iBAAiB,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;CAClB"}
|
|
1
|
+
{"version":3,"file":"BaseData.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/BaseData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAC,MAAM,wBAAwB,CAAC;AAE/E;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,YAAY,EAAE,iBAAiB,CAAC;IAChC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { BaseData } from './BaseData';
|
|
2
2
|
import { Cart } from '../../api';
|
|
3
3
|
import { BaseApi } from './BaseApi';
|
|
4
|
+
/**
|
|
5
|
+
* The data object provided to cart update extension targets. Contains the current cart state along with device, session, and connectivity information. This data is passed to extensions whenever the cart changes, enabling real-time cart monitoring and cart-based business logic.
|
|
6
|
+
*/
|
|
4
7
|
export interface CartUpdateEventData extends BaseData, BaseApi {
|
|
8
|
+
/**
|
|
9
|
+
* The complete current `Cart` object containing all cart data including line items with products and quantities, pricing totals (subtotal, tax, grand total), associated customer information, applied discounts, custom properties, and editability state. This represents the cart's state at the moment the extension is triggered, reflecting all recent changes. The cart object is read-only in this context—modifications should be made through the Cart API methods.
|
|
10
|
+
*/
|
|
5
11
|
cart: Cart;
|
|
6
12
|
}
|
|
7
13
|
//# sourceMappingURL=CartUpdateEventData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CartUpdateEventData.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,MAAM,WAAW,mBAAoB,SAAQ,QAAQ,EAAE,OAAO;IAC5D,IAAI,EAAE,IAAI,CAAC;CACZ"}
|
|
1
|
+
{"version":3,"file":"CartUpdateEventData.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,QAAQ,EAAE,OAAO;IAC5D;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC;CACZ"}
|
|
@@ -1,15 +1,42 @@
|
|
|
1
1
|
import { BaseData } from './BaseData';
|
|
2
2
|
import { BaseApi } from './BaseApi';
|
|
3
|
+
/**
|
|
4
|
+
* The data object provided to cash tracking session start extension targets. Contains information about a newly opened cash tracking session along with device and session context.
|
|
5
|
+
*/
|
|
3
6
|
export interface CashTrackingSessionStartData extends BaseData, BaseApi {
|
|
7
|
+
/**
|
|
8
|
+
* The cash tracking session start data containing the session identifier and the time when the session began. Cash tracking sessions represent the period during which a cash drawer is open and being used for transactions, typically corresponding to a staff member's shift.
|
|
9
|
+
*/
|
|
4
10
|
cashTrackingSessionStart: {
|
|
11
|
+
/**
|
|
12
|
+
* The unique numeric identifier for this cash tracking session. This ID matches the ID from when the session was opened and can be used to correlate session start and end events, retrieve session-specific data, or link all transactions that occurred during this session.
|
|
13
|
+
*/
|
|
5
14
|
id: number;
|
|
15
|
+
/**
|
|
16
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp when the cash tracking session was opened and began (for example, `"2024-05-15T09:00:00Z"`). This marks the start of the session and can be compared with `closingTime` to calculate the total session duration or shift length.
|
|
17
|
+
*/
|
|
6
18
|
openingTime: string;
|
|
7
19
|
};
|
|
8
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* The data object provided to cash tracking session complete extension targets. Contains information about a completed cash tracking session including when it opened and closed, along with device and session context.
|
|
23
|
+
*/
|
|
9
24
|
export interface CashTrackingSessionCompleteData extends BaseData, BaseApi {
|
|
25
|
+
/**
|
|
26
|
+
* The cash tracking session complete data containing the session identifier, opening time, and closing time. This represents the full lifecycle of a cash drawer session from opening to closing.
|
|
27
|
+
*/
|
|
10
28
|
cashTrackingSessionComplete: {
|
|
29
|
+
/**
|
|
30
|
+
* The unique numeric identifier for this cash tracking session. This ID matches the ID from when the session was opened and can be used to correlate session start and end events, retrieve session-specific data, or link all transactions that occurred during this session.
|
|
31
|
+
*/
|
|
11
32
|
id: number;
|
|
33
|
+
/**
|
|
34
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp when the cash tracking session was opened and began (for example, `"2024-05-15T09:00:00Z"`). This marks the start of the session and can be compared with `closingTime` to calculate the total session duration or shift length.
|
|
35
|
+
*/
|
|
12
36
|
openingTime: string;
|
|
37
|
+
/**
|
|
38
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp when the cash tracking session was closed and ended (for example, `"2024-05-15T17:30:00Z"`). This marks when the staff member completed their shift, closed out the cash drawer, and finalized the session. The time between `openingTime` and `closingTime` represents the active session duration. Commonly used for shift reporting, calculating hours worked, or determining the timeframe for session-specific transactions.
|
|
39
|
+
*/
|
|
13
40
|
closingTime: string;
|
|
14
41
|
};
|
|
15
42
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CashTrackingSessionData.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,MAAM,WAAW,4BAA6B,SAAQ,QAAQ,EAAE,OAAO;IACrE,wBAAwB,EAAE;QACxB,EAAE,EAAE,MAAM,CAAC;QACX,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;CACH;AAED,MAAM,WAAW,+BAAgC,SAAQ,QAAQ,EAAE,OAAO;IACxE,2BAA2B,EAAE;QAC3B,EAAE,EAAE,MAAM,CAAC;QACX,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;CACH"}
|
|
1
|
+
{"version":3,"file":"CashTrackingSessionData.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,QAAQ,EAAE,OAAO;IACrE;;OAEG;IACH,wBAAwB,EAAE;QACxB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QACX;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,QAAQ,EAAE,OAAO;IACxE;;OAEG;IACH,2BAA2B,EAAE;QAC3B;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QACX;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QACpB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;CACH"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { BaseTransactionComplete } from '../../types/base-transaction-complete';
|
|
2
2
|
import { LineItem } from '../../types/cart';
|
|
3
|
+
/**
|
|
4
|
+
* Defines the data structure for completed exchange transactions.
|
|
5
|
+
*/
|
|
3
6
|
export interface ExchangeTransactionData extends BaseTransactionComplete {
|
|
7
|
+
/**
|
|
8
|
+
* The transaction type identifier, always 'Sale' for sale transactions.
|
|
9
|
+
*/
|
|
4
10
|
transactionType: 'Exchange';
|
|
11
|
+
/**
|
|
12
|
+
* The return ID for the completed return transaction.
|
|
13
|
+
*/
|
|
14
|
+
returnId?: number;
|
|
15
|
+
/**
|
|
16
|
+
* The exchange ID if the return is part of an exchange transaction.
|
|
17
|
+
*/
|
|
5
18
|
exchangeId?: number;
|
|
19
|
+
/**
|
|
20
|
+
* An array of line items added to the customer in the exchange.
|
|
21
|
+
*/
|
|
6
22
|
lineItemsAdded: LineItem[];
|
|
23
|
+
/**
|
|
24
|
+
* An array of line items removed from the customer in the exchange.
|
|
25
|
+
*/
|
|
7
26
|
lineItemsRemoved: LineItem[];
|
|
8
27
|
}
|
|
9
28
|
//# sourceMappingURL=ExchangeTransactionData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExchangeTransactionData.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAE1C,MAAM,WAAW,uBAAwB,SAAQ,uBAAuB;IACtE,eAAe,EAAE,UAAU,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,QAAQ,EAAE,CAAC;IAC3B,gBAAgB,EAAE,QAAQ,EAAE,CAAC;CAC9B"}
|
|
1
|
+
{"version":3,"file":"ExchangeTransactionData.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAE1C;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,uBAAuB;IACtE;;OAEG;IACH,eAAe,EAAE,UAAU,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,cAAc,EAAE,QAAQ,EAAE,CAAC;IAC3B;;OAEG;IACH,gBAAgB,EAAE,QAAQ,EAAE,CAAC;CAC9B"}
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { BaseTransactionComplete } from '../../types/base-transaction-complete';
|
|
2
2
|
import { OrderLineItem } from '../../types/order';
|
|
3
|
+
/**
|
|
4
|
+
* Defines the data structure for receipt reprint requests.
|
|
5
|
+
*/
|
|
3
6
|
export interface ReprintReceiptData extends BaseTransactionComplete {
|
|
7
|
+
/**
|
|
8
|
+
* The transaction type identifier, always 'Sale' for sale transactions.
|
|
9
|
+
*/
|
|
4
10
|
transactionType: 'Reprint';
|
|
11
|
+
/**
|
|
12
|
+
* An array of line items included in the sale transaction.
|
|
13
|
+
*/
|
|
5
14
|
lineItems: OrderLineItem[];
|
|
6
15
|
}
|
|
7
16
|
//# sourceMappingURL=ReprintReceiptData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReprintReceiptData.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAEhD,MAAM,WAAW,kBAAmB,SAAQ,uBAAuB;IACjE,eAAe,EAAE,SAAS,CAAC;IAC3B,SAAS,EAAE,aAAa,EAAE,CAAC;CAC5B"}
|
|
1
|
+
{"version":3,"file":"ReprintReceiptData.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,uBAAuB;IACjE;;OAEG;IACH,eAAe,EAAE,SAAS,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,aAAa,EAAE,CAAC;CAC5B"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { BaseTransactionComplete } from '../../types/base-transaction-complete';
|
|
2
2
|
import { LineItem } from '../../types/cart';
|
|
3
|
+
/**
|
|
4
|
+
* Defines the data structure for completed return transactions.
|
|
5
|
+
*/
|
|
3
6
|
export interface ReturnTransactionData extends BaseTransactionComplete {
|
|
7
|
+
/**
|
|
8
|
+
* The transaction type identifier, always 'Sale' for sale transactions.
|
|
9
|
+
*/
|
|
4
10
|
transactionType: 'Return';
|
|
11
|
+
/**
|
|
12
|
+
* The refund ID if a refund was issued for the return.
|
|
13
|
+
*/
|
|
14
|
+
refundId?: number;
|
|
15
|
+
/**
|
|
16
|
+
* The return ID for the completed return transaction.
|
|
17
|
+
*/
|
|
5
18
|
returnId?: number;
|
|
19
|
+
/**
|
|
20
|
+
* The exchange ID if the return is part of an exchange transaction.
|
|
21
|
+
*/
|
|
6
22
|
exchangeId?: number;
|
|
23
|
+
/**
|
|
24
|
+
* An array of line items included in the sale transaction.
|
|
25
|
+
*/
|
|
7
26
|
lineItems: LineItem[];
|
|
8
27
|
}
|
|
9
28
|
//# sourceMappingURL=ReturnTransactionData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReturnTransactionData.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAE1C,MAAM,WAAW,qBAAsB,SAAQ,uBAAuB;IACpE,eAAe,EAAE,QAAQ,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,QAAQ,EAAE,CAAC;CACvB"}
|
|
1
|
+
{"version":3,"file":"ReturnTransactionData.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAE1C;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,uBAAuB;IACpE;;OAEG;IACH,eAAe,EAAE,QAAQ,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,QAAQ,EAAE,CAAC;CACvB"}
|
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
import { BaseTransactionComplete } from '../../types/base-transaction-complete';
|
|
2
2
|
import { LineItem } from '../../types/cart';
|
|
3
|
+
/**
|
|
4
|
+
* Defines the data structure for completed sale transactions.
|
|
5
|
+
*/
|
|
3
6
|
export interface SaleTransactionData extends BaseTransactionComplete {
|
|
7
|
+
/**
|
|
8
|
+
* The transaction type identifier, always 'Sale' for sale transactions.
|
|
9
|
+
*/
|
|
4
10
|
transactionType: 'Sale';
|
|
11
|
+
/**
|
|
12
|
+
* The UUID of the draft checkout if the sale originated from a draft order.
|
|
13
|
+
*/
|
|
5
14
|
draftCheckoutUuid?: string;
|
|
15
|
+
/**
|
|
16
|
+
* An array of line items included in the sale transaction.
|
|
17
|
+
*/
|
|
6
18
|
lineItems: LineItem[];
|
|
7
19
|
}
|
|
8
20
|
//# sourceMappingURL=SaleTransactionData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SaleTransactionData.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/SaleTransactionData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAE1C,MAAM,WAAW,mBAAoB,SAAQ,uBAAuB;IAClE,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,EAAE,QAAQ,EAAE,CAAC;CACvB"}
|
|
1
|
+
{"version":3,"file":"SaleTransactionData.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/SaleTransactionData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAE1C;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,uBAAuB;IAClE;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,QAAQ,EAAE,CAAC;CACvB"}
|
|
@@ -4,10 +4,37 @@ import type { ExchangeTransactionData } from './ExchangeTransactionData';
|
|
|
4
4
|
import type { ReturnTransactionData } from './ReturnTransactionData';
|
|
5
5
|
import type { ReprintReceiptData } from './ReprintReceiptData';
|
|
6
6
|
import { BaseApi } from './BaseApi';
|
|
7
|
+
/**
|
|
8
|
+
* The data object provided to receipt targets containing transaction details.
|
|
9
|
+
*/
|
|
7
10
|
export interface TransactionCompleteData extends BaseData, BaseApi {
|
|
11
|
+
/**
|
|
12
|
+
* Provides access to persistent local storage methods for your POS UI extension. Use this to store, retrieve, and manage data that persists across sessions.
|
|
13
|
+
*/
|
|
14
|
+
storage: BaseApi['storage'];
|
|
15
|
+
/**
|
|
16
|
+
* The transaction data, which can be one of the following types:
|
|
17
|
+
* - `SaleTransactionData`: Defines the data structure for completed sale transactions.
|
|
18
|
+
* - `ReturnTransactionData`: Defines the data structure for completed return transactions.
|
|
19
|
+
* - `ExchangeTransactionData`: Defines the data structure for completed exchange transactions.
|
|
20
|
+
*/
|
|
8
21
|
transaction: SaleTransactionData | ReturnTransactionData | ExchangeTransactionData;
|
|
9
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* The data object provided to receipt targets containing transaction details and reprint information.
|
|
25
|
+
*/
|
|
10
26
|
export interface TransactionCompleteWithReprintData extends BaseData, BaseApi {
|
|
27
|
+
/**
|
|
28
|
+
* Provides access to persistent local storage methods for your POS UI extension. Use this to store, retrieve, and manage data that persists across sessions.
|
|
29
|
+
*/
|
|
30
|
+
storage: BaseApi['storage'];
|
|
31
|
+
/**
|
|
32
|
+
* The transaction data, which can be one of the following types:
|
|
33
|
+
* - `SaleTransactionData`: Defines the data structure for completed sale transactions.
|
|
34
|
+
* - `ReturnTransactionData`: Defines the data structure for completed return transactions.
|
|
35
|
+
* - `ExchangeTransactionData`: Defines the data structure for completed exchange transactions.
|
|
36
|
+
* - `ReprintReceiptData`: Defines the data structure for receipt reprint requests.
|
|
37
|
+
*/
|
|
11
38
|
transaction: SaleTransactionData | ReturnTransactionData | ExchangeTransactionData | ReprintReceiptData;
|
|
12
39
|
}
|
|
13
40
|
//# sourceMappingURL=TransactionCompleteData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionCompleteData.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAC,uBAAuB,EAAC,MAAM,2BAA2B,CAAC;AACvE,OAAO,KAAK,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,MAAM,WAAW,uBAAwB,SAAQ,QAAQ,EAAE,OAAO;IAChE,WAAW,EACP,mBAAmB,GACnB,qBAAqB,GACrB,uBAAuB,CAAC;CAC7B;AAED,MAAM,WAAW,kCAAmC,SAAQ,QAAQ,EAAE,OAAO;IAC3E,WAAW,EACP,mBAAmB,GACnB,qBAAqB,GACrB,uBAAuB,GACvB,kBAAkB,CAAC;CACxB"}
|
|
1
|
+
{"version":3,"file":"TransactionCompleteData.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAC,uBAAuB,EAAC,MAAM,2BAA2B,CAAC;AACvE,OAAO,KAAK,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,QAAQ,EAAE,OAAO;IAChE;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAC5B;;;;;OAKG;IACH,WAAW,EACP,mBAAmB,GACnB,qBAAqB,GACrB,uBAAuB,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,kCAAmC,SAAQ,QAAQ,EAAE,OAAO;IAC3E;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAC5B;;;;;;OAMG;IACH,WAAW,EACP,mBAAmB,GACnB,qBAAqB,GACrB,uBAAuB,GACvB,kBAAkB,CAAC;CACxB"}
|
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
interface ExtensionError extends Error {
|
|
2
|
+
/**
|
|
3
|
+
* The severity level of this error:
|
|
4
|
+
* - `'error'`: A critical error that prevents the extension from completing successfully. Errors typically block the user workflow and require resolution before proceeding.
|
|
5
|
+
* - `'warning'`: A non-critical issue that doesn't prevent extension execution but indicates a problem or unexpected condition. Warnings allow the workflow to continue but should be logged or displayed to users.
|
|
6
|
+
*/
|
|
2
7
|
level: 'error' | 'warning';
|
|
8
|
+
/**
|
|
9
|
+
* The human-readable error message describing what went wrong. This message should be clear and actionable, helping merchants understand the issue and how to resolve it (for example, "Product not found", "Invalid discount code", "Insufficient inventory"). The message may be displayed to users in the POS interface depending on the error severity and context.
|
|
10
|
+
*/
|
|
3
11
|
message: string;
|
|
4
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* Base output structure that extensions can return to communicate errors and warnings back to the POS system. Extensions populate this interface when they encounter issues during execution.
|
|
15
|
+
*/
|
|
5
16
|
export interface BaseOutput {
|
|
17
|
+
/**
|
|
18
|
+
* An array of errors or warnings encountered during extension execution. Each error includes a severity level (`'error'` or `'warning'`) and a descriptive message. Multiple errors can be reported simultaneously. Returns `undefined` or empty array when the extension executes successfully without issues. Critical errors may prevent transaction completion, while warnings allow the transaction to proceed but indicate issues that should be addressed.
|
|
19
|
+
*/
|
|
6
20
|
errors?: ExtensionError[];
|
|
7
21
|
}
|
|
8
22
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseOutput.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/output/BaseOutput.ts"],"names":[],"mappings":"AAAA,UAAU,cAAe,SAAQ,KAAK;IACpC,KAAK,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC;CAC3B"}
|
|
1
|
+
{"version":3,"file":"BaseOutput.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/event/output/BaseOutput.ts"],"names":[],"mappings":"AAAA,UAAU,cAAe,SAAQ,KAAK;IACpC;;;;OAIG;IACH,KAAK,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC;CAC3B"}
|