@shopify/ui-extensions 2026.7.0-rc.6 → 2026.7.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.
Files changed (137) hide show
  1. package/build/cjs/surfaces/checkout/preact/buyer-journey.js +3 -0
  2. package/build/cjs/surfaces/point-of-sale/events.js +1 -1
  3. package/build/esm/surfaces/checkout/preact/buyer-journey.mjs +3 -0
  4. package/build/esm/surfaces/point-of-sale/events.mjs +1 -1
  5. package/build/esnext/surfaces/checkout/preact/buyer-journey.esnext +3 -0
  6. package/build/esnext/surfaces/point-of-sale/events.esnext +1 -1
  7. package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts +21 -0
  8. package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts.map +1 -1
  9. package/build/ts/surfaces/admin/api/intents/intents.d.ts +11 -4
  10. package/build/ts/surfaces/admin/api/intents/intents.d.ts.map +1 -1
  11. package/build/ts/surfaces/admin/components/Badge.d.ts +1 -1
  12. package/build/ts/surfaces/admin/components/Button.d.ts +1 -1
  13. package/build/ts/surfaces/admin/components/Clickable.d.ts +7 -7
  14. package/build/ts/surfaces/admin/components/Grid.d.ts +12 -12
  15. package/build/ts/surfaces/admin/components/GridItem.d.ts +7 -7
  16. package/build/ts/surfaces/admin/components/Image.d.ts +7 -7
  17. package/build/ts/surfaces/admin/components/Stack.d.ts +11 -11
  18. package/build/ts/surfaces/admin/components/TextField.d.ts +1 -1
  19. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +5 -0
  20. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
  21. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +3 -3
  22. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  23. package/build/ts/surfaces/checkout/components/Chat.d.ts +101 -3
  24. package/build/ts/surfaces/checkout/components/Section.d.ts +1 -1
  25. package/build/ts/surfaces/checkout/components/components.d.ts +1 -1
  26. package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts +3 -0
  27. package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts.map +1 -1
  28. package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts +3 -0
  29. package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts.map +1 -1
  30. package/build/ts/surfaces/customer-account/components/Chat.d.ts +101 -3
  31. package/build/ts/surfaces/customer-account/components/Section.d.ts +1 -1
  32. package/build/ts/surfaces/customer-account/components/components.d.ts +1 -1
  33. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +5 -2
  34. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -1
  35. package/build/ts/surfaces/point-of-sale/api/docs.d.ts +8 -0
  36. package/build/ts/surfaces/point-of-sale/api/docs.d.ts.map +1 -0
  37. package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +4 -0
  38. package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -1
  39. package/build/ts/surfaces/point-of-sale/api/printing-api/printing-api.d.ts +100 -0
  40. package/build/ts/surfaces/point-of-sale/api/printing-api/printing-api.d.ts.map +1 -0
  41. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +2 -1
  42. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -1
  43. package/build/ts/surfaces/point-of-sale/api.d.ts +3 -1
  44. package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
  45. package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +1 -1
  46. package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +1 -1
  47. package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +1 -1
  48. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +1 -1
  49. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -1
  50. package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +2 -1
  51. package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -1
  52. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +2 -1
  53. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -1
  54. package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +2 -1
  55. package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -1
  56. package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +2 -1
  57. package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -1
  58. package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +2 -18
  59. package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -1
  60. package/build/ts/surfaces/point-of-sale/event/data.d.ts +1 -3
  61. package/build/ts/surfaces/point-of-sale/event/data.d.ts.map +1 -1
  62. package/build/ts/surfaces/point-of-sale/events/cash-tracking-session-events.d.ts +1 -1
  63. package/build/ts/surfaces/point-of-sale/events/cash-tracking-session-events.d.ts.map +1 -1
  64. package/build/ts/surfaces/point-of-sale/events/transaction-complete-event.d.ts +1 -1
  65. package/build/ts/surfaces/point-of-sale/events/transaction-complete-event.d.ts.map +1 -1
  66. package/build/ts/surfaces/point-of-sale/events.d.ts +7 -1
  67. package/build/ts/surfaces/point-of-sale/events.d.ts.map +1 -1
  68. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +17 -49
  69. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -1
  70. package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +0 -1
  71. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +0 -1
  72. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +0 -1
  73. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +0 -1
  74. package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +0 -1
  75. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +0 -1
  76. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +0 -1
  77. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +0 -1
  78. package/build/ts/surfaces/point-of-sale/targets/pos.register-details.action.render.d.ts +0 -1
  79. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +0 -1
  80. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +2 -1
  81. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -1
  82. package/build/ts/surfaces/point-of-sale/types/cart.d.ts +14 -0
  83. package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -1
  84. package/build/tsconfig.tsbuildinfo +1 -1
  85. package/package.json +1 -1
  86. package/src/surfaces/admin/api/discount-function-settings/launch-options.ts +22 -0
  87. package/src/surfaces/admin/api/intents/intents.ts +11 -3
  88. package/src/surfaces/admin/components/Badge.d.ts +1 -1
  89. package/src/surfaces/admin/components/Button.d.ts +1 -1
  90. package/src/surfaces/admin/components/Clickable.d.ts +7 -7
  91. package/src/surfaces/admin/components/Grid.d.ts +12 -12
  92. package/src/surfaces/admin/components/GridItem.d.ts +7 -7
  93. package/src/surfaces/admin/components/Image.d.ts +7 -7
  94. package/src/surfaces/admin/components/Stack.d.ts +11 -11
  95. package/src/surfaces/admin/components/TextField.d.ts +1 -1
  96. package/src/surfaces/admin/components.d.ts +22 -22
  97. package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +5 -0
  98. package/src/surfaces/checkout/api/standard/standard.ts +3 -3
  99. package/src/surfaces/checkout/components/Chat.d.ts +101 -3
  100. package/src/surfaces/checkout/components/Section.d.ts +1 -1
  101. package/src/surfaces/checkout/components/components.d.ts +1 -1
  102. package/src/surfaces/checkout/preact/buyer-journey.ts +3 -0
  103. package/src/surfaces/checkout/preact/shipping-option-target.ts +3 -0
  104. package/src/surfaces/customer-account/components/Section.d.ts +13 -0
  105. package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +9 -1
  106. package/src/surfaces/point-of-sale/api/docs.ts +11 -0
  107. package/src/surfaces/point-of-sale/api/print-api/print-api.ts +4 -0
  108. package/src/surfaces/point-of-sale/api/printing-api/printing-api.ts +105 -0
  109. package/src/surfaces/point-of-sale/api/standard/standard-api.ts +4 -0
  110. package/src/surfaces/point-of-sale/api.ts +10 -0
  111. package/src/surfaces/point-of-sale/components/QrCode.d.ts +1 -1
  112. package/src/surfaces/point-of-sale/components/components-shared.d.ts +1 -1
  113. package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +1 -1
  114. package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +0 -2
  115. package/src/surfaces/point-of-sale/components.d.ts +1 -0
  116. package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +2 -1
  117. package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +2 -1
  118. package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +2 -1
  119. package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +2 -1
  120. package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +2 -22
  121. package/src/surfaces/point-of-sale/event/data.ts +1 -11
  122. package/src/surfaces/point-of-sale/events/cash-tracking-session-events.ts +1 -1
  123. package/src/surfaces/point-of-sale/events/transaction-complete-event.ts +1 -1
  124. package/src/surfaces/point-of-sale/events.ts +7 -1
  125. package/src/surfaces/point-of-sale/extension-targets.ts +16 -68
  126. package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +2 -1
  127. package/src/surfaces/point-of-sale/types/cart.ts +15 -0
  128. package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +0 -16
  129. package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +0 -1
  130. package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +0 -51
  131. package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +0 -1
  132. package/build/ts/surfaces/point-of-sale/targets/pos.cart-update.event.observe.d.ts +0 -8
  133. package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-complete.event.observe.d.ts +0 -8
  134. package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-start.event.observe.d.ts +0 -8
  135. package/build/ts/surfaces/point-of-sale/targets/pos.transaction-complete.event.observe.d.ts +0 -8
  136. package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +0 -16
  137. package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +0 -52
@@ -16,16 +16,18 @@ export type { OrderApiContent, OrderApi } from './api/order-api/order-api';
16
16
  export type { ProductApi, ProductApiContent, } from './api/product-api/product-api';
17
17
  export type { DraftOrderApi, DraftOrderApiContent, } from './api/draft-order-api/draft-order-api';
18
18
  export type { PrintApi, PrintApiContent } from './api/print-api/print-api';
19
+ export type { PrintingApi, PrintingApiContent, PrintOptions, Printer, } from './api/printing-api/printing-api';
19
20
  export type { PaginationParams, ProductSortType, ProductSearchParams, ProductSearchApi, ProductSearchApiContent, } from './api/product-search-api/product-search-api';
20
21
  export type { ScannerSource, ScannerSubscriptionResult, ScannerApi, ScannerApiContent, } from './api/scanner-api/scanner-api';
21
22
  export type { SessionApiContent, SessionApi, } from './api/session-api/session-api';
22
23
  export type { StorageApi } from './api/storage-api/storage-api';
23
24
  export type { ToastApiContent, ToastApi } from './api/toast-api/toast-api';
24
- export type { Cart, CartUpdateInput, Customer, LineItem, LineItemComponent, Discount, SetLineItemPropertiesInput, SetLineItemDiscountInput, LineItemDiscount, CustomSale, Address, SellingPlan, SetLineItemSellingPlanInput, } from './types/cart';
25
+ export type { AddLineItemOptions, Cart, CartUpdateInput, Customer, LineItem, LineItemComponent, Discount, SetLineItemPropertiesInput, SetLineItemDiscountInput, LineItemDiscount, CustomSale, Address, SellingPlan, SetLineItemSellingPlanInput, } from './types/cart';
25
26
  export type { OrderLineItem, LineItemRefund } from './types/order';
26
27
  export type { DirectApiRequestBody } from './types/direct-api-request-body';
27
28
  export type { ShippingLine, CalculatedShippingLine, CustomShippingLine, } from './types/shipping-line';
28
29
  export type { TaxLine } from './types/tax-line';
30
+ export type { DiscountAllocation } from './types/discount-allocation';
29
31
  export type { PaymentMethod, Payment } from './types/payment';
30
32
  export type { MultipleResourceResult } from './types/multiple-resource-result';
31
33
  export type { PaginatedResult } from './types/paginated-result';
@@ -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,EACpB,eAAe,EACf,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EAAC,eAAe,EAAC,MAAM,6CAA6C,CAAC;AAEjF,YAAY,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AAEzE,YAAY,EAAC,SAAS,EAAE,gBAAgB,EAAC,MAAM,6BAA6B,CAAC;AAE7E,YAAY,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AAC7D,YAAY,EACV,YAAY,EACZ,mBAAmB,GACpB,MAAM,mCAAmC,CAAC;AAC3C,YAAY,EAAC,eAAe,EAAC,MAAM,2CAA2C,CAAC;AAC/E,YAAY,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACzE,YAAY,EACV,wBAAwB,EACxB,6BAA6B,EAC7B,gCAAgC,EAChC,eAAe,GAChB,MAAM,UAAU,CAAC;AAElB,YAAY,EACV,SAAS,EACT,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,6BAA6B,CAAC;AAErC,YAAY,EACV,yBAAyB,EACzB,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,GAChB,MAAM,yCAAyC,CAAC;AAEj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ropsWithChildren<TClass = HTMLElement>
45
45
  export type IntrinsicElementProps<T> = T & BaseElementPropsWithChildren<T & HTMLElement>;
46
46
 
47
47
  declare const tagName = 's-qr-code';
48
- /** @publicDocs */
48
+ /** @private */
49
49
  export interface QrCodeJSXProps extends Pick<QRCodeProps, 'id' | 'content'> {}
50
50
  declare global {
51
51
  interface HTMLElementTagNameMap {
@@ -2814,7 +2814,7 @@ export interface POSBlockProps
2814
2814
  */
2815
2815
  secondaryActions?: ComponentChildren;
2816
2816
  }
2817
- /** @publicDocs */
2817
+ /** @private */
2818
2818
  export interface QRCodeProps extends GlobalProps {
2819
2819
  /**
2820
2820
  * Set the border of the QR code.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @publicDocs
2
+ * @private
3
3
  */
4
4
  export type ReceiptComponents = 'PosBlock' | 'Text' | 'QrCode';
5
5
  //# sourceMappingURL=ReceiptComponents.d.ts.map
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @publicDocs
3
3
  */
4
- export type StandardComponents = 'Badge' | 'Banner' | 'Box' | 'Button' | 'Choice' | 'ChoiceList' | 'Clickable' | 'DateField' | 'DatePicker' | 'DateSpinner' | 'Divider' | 'EmailField' | 'Embed' | 'EmptyState' | 'Heading' | 'Icon' | 'Image' | 'Link' | 'Modal' | 'NumberField' | 'Page' | 'POSBlock' | 'PosBlock' | 'QRCode' | 'QrCode' | 'Route' | 'Router' | 'ScrollBox' | 'SearchField' | 'Section' | 'Spinner' | 'Stack' | 'Switch' | 'Tab' | 'TabList' | 'TabPanel' | 'Tabs' | 'Text' | 'TextArea' | 'TextField' | 'Tile' | 'TimeField' | 'TimePicker';
4
+ export type StandardComponents = 'Badge' | 'Banner' | 'Box' | 'Button' | 'Choice' | 'ChoiceList' | 'Clickable' | 'DateField' | 'DatePicker' | 'DateSpinner' | 'Divider' | 'EmailField' | 'Embed' | 'EmptyState' | 'Heading' | 'Icon' | 'Image' | 'Link' | 'Modal' | 'NumberField' | 'Page' | 'POSBlock' | 'PosBlock' | 'Route' | 'Router' | 'ScrollBox' | 'SearchField' | 'Section' | 'Spinner' | 'Stack' | 'Switch' | 'Tab' | 'TabList' | 'TabPanel' | 'Tabs' | 'Text' | 'TextArea' | 'TextField' | 'Tile' | 'TimeField' | 'TimePicker';
5
5
  export default StandardComponents;
6
6
  //# sourceMappingURL=StandardComponents.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StandardComponents.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/components/targets/StandardComponents.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC1B,OAAO,GACP,QAAQ,GACR,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,YAAY,GACZ,WAAW,GACX,WAAW,GACX,YAAY,GACZ,aAAa,GACb,SAAS,GACT,YAAY,GACZ,OAAO,GACP,YAAY,GACZ,SAAS,GACT,MAAM,GACN,OAAO,GACP,MAAM,GACN,OAAO,GACP,aAAa,GACb,MAAM,GACN,UAAU,GACV,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,WAAW,GACX,aAAa,GACb,SAAS,GACT,SAAS,GACT,OAAO,GACP,QAAQ,GACR,KAAK,GACL,SAAS,GACT,UAAU,GACV,MAAM,GACN,MAAM,GACN,UAAU,GACV,WAAW,GACX,MAAM,GACN,WAAW,GACX,YAAY,CAAC;AAEjB,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"StandardComponents.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/components/targets/StandardComponents.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC1B,OAAO,GACP,QAAQ,GACR,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,YAAY,GACZ,WAAW,GACX,WAAW,GACX,YAAY,GACZ,aAAa,GACb,SAAS,GACT,YAAY,GACZ,OAAO,GACP,YAAY,GACZ,SAAS,GACT,MAAM,GACN,OAAO,GACP,MAAM,GACN,OAAO,GACP,aAAa,GACb,MAAM,GACN,UAAU,GACV,UAAU,GACV,OAAO,GACP,QAAQ,GACR,WAAW,GACX,aAAa,GACb,SAAS,GACT,SAAS,GACT,OAAO,GACP,QAAQ,GACR,KAAK,GACL,SAAS,GACT,UAAU,GACV,MAAM,GACN,MAAM,GACN,UAAU,GACV,WAAW,GACX,MAAM,GACN,WAAW,GACX,YAAY,CAAC;AAEjB,eAAe,kBAAkB,CAAC"}
@@ -2,7 +2,8 @@ import { BaseTransactionComplete } from '../../types/base-transaction-complete';
2
2
  import { LineItem } from '../../types/cart';
3
3
  /**
4
4
  * Defines the data structure for completed exchange transactions.
5
- * @publicDocs
5
+ *
6
+ * @private
6
7
  */
7
8
  export interface ExchangeTransactionData extends BaseTransactionComplete {
8
9
  /**
@@ -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;;;GAGG;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
+ {"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;;;;GAIG;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"}
@@ -3,7 +3,8 @@ import { LineItem } from '../../types/cart';
3
3
  import { OrderLineItem } from '../../types/order';
4
4
  /**
5
5
  * Defines the data structure for receipt reprint requests.
6
- * @publicDocs
6
+ *
7
+ * @private
7
8
  */
8
9
  export interface ReprintReceiptData extends BaseTransactionComplete {
9
10
  /**
@@ -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,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAEhD;;;GAGG;AACH,MAAM,WAAW,kBAAmB,SAAQ,uBAAuB;IACjE;;OAEG;IACH,eAAe,EAAE,SAAS,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,aAAa,EAAE,CAAC;IAC3B;;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,cAAc,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC5B;;OAEG;IACH,gBAAgB,CAAC,EAAE,QAAQ,EAAE,CAAC;CAC/B"}
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,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,WAAW,kBAAmB,SAAQ,uBAAuB;IACjE;;OAEG;IACH,eAAe,EAAE,SAAS,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,aAAa,EAAE,CAAC;IAC3B;;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,cAAc,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC5B;;OAEG;IACH,gBAAgB,CAAC,EAAE,QAAQ,EAAE,CAAC;CAC/B"}
@@ -2,7 +2,8 @@ import { BaseTransactionComplete } from '../../types/base-transaction-complete';
2
2
  import { LineItem } from '../../types/cart';
3
3
  /**
4
4
  * Defines the data structure for completed return transactions.
5
- * @publicDocs
5
+ *
6
+ * @private
6
7
  */
7
8
  export interface ReturnTransactionData extends BaseTransactionComplete {
8
9
  /**
@@ -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;;;GAGG;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
+ {"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;;;;GAIG;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"}
@@ -2,7 +2,8 @@ import { BaseTransactionComplete } from '../../types/base-transaction-complete';
2
2
  import { LineItem } from '../../types/cart';
3
3
  /**
4
4
  * Defines the data structure for completed sale transactions.
5
- * @publicDocs
5
+ *
6
+ * @private
6
7
  */
7
8
  export interface SaleTransactionData extends BaseTransactionComplete {
8
9
  /**
@@ -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;;;GAGG;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"}
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;;;;GAIG;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,26 +4,10 @@ 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
- * @publicDocs
10
- */
11
- export interface TransactionCompleteData extends BaseData, BaseApi {
12
- /**
13
- * Provides access to persistent local storage methods for your POS UI extension. Use this to store, retrieve, and manage data that persists across sessions.
14
- */
15
- storage: BaseApi['storage'];
16
- /**
17
- * The transaction data, which can be one of the following types:
18
- * - `SaleTransactionData`: Defines the data structure for completed sale transactions.
19
- * - `ReturnTransactionData`: Defines the data structure for completed return transactions.
20
- * - `ExchangeTransactionData`: Defines the data structure for completed exchange transactions.
21
- */
22
- transaction: SaleTransactionData | ReturnTransactionData | ExchangeTransactionData;
23
- }
24
7
  /**
25
8
  * The data object provided to receipt targets containing transaction details and reprint information.
26
- * @publicDocs
9
+ *
10
+ * @private
27
11
  */
28
12
  export interface TransactionCompleteWithReprintData extends BaseData, BaseApi {
29
13
  /**
@@ -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;;;GAGG;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;;;GAGG;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
+ {"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;;;;GAIG;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,9 +1,7 @@
1
1
  export type { BaseData } from './data/BaseData';
2
2
  export type { BaseApi } from './data/BaseApi';
3
3
  export type { ReprintReceiptData } from './data/ReprintReceiptData';
4
- export type { TransactionCompleteData, TransactionCompleteWithReprintData, } from './data/TransactionCompleteData';
5
- export type { CashTrackingSessionCompleteData, CashTrackingSessionStartData, } from './data/CashTrackingSessionData';
6
- export type { CartUpdateEventData } from './data/CartUpdateEventData';
4
+ export type { TransactionCompleteWithReprintData } from './data/TransactionCompleteData';
7
5
  export type { SaleTransactionData } from './data/SaleTransactionData';
8
6
  export type { ReturnTransactionData } from './data/ReturnTransactionData';
9
7
  export type { ExchangeTransactionData } from './data/ExchangeTransactionData';
@@ -1 +1 @@
1
- {"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/event/data.ts"],"names":[],"mappings":"AAAA,YAAY,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAC9C,YAAY,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAC5C,YAAY,EAAC,kBAAkB,EAAC,MAAM,2BAA2B,CAAC;AAClE,YAAY,EACV,uBAAuB,EACvB,kCAAkC,GACnC,MAAM,gCAAgC,CAAC;AACxC,YAAY,EACV,+BAA+B,EAC/B,4BAA4B,GAC7B,MAAM,gCAAgC,CAAC;AAExC,YAAY,EAAC,mBAAmB,EAAC,MAAM,4BAA4B,CAAC;AAEpE,YAAY,EAAC,mBAAmB,EAAC,MAAM,4BAA4B,CAAC;AACpE,YAAY,EAAC,qBAAqB,EAAC,MAAM,8BAA8B,CAAC;AACxE,YAAY,EAAC,uBAAuB,EAAC,MAAM,gCAAgC,CAAC;AAE5E,YAAY,EAAC,MAAM,EAAC,MAAM,iBAAiB,CAAC;AAC5C,YAAY,EAAC,KAAK,EAAC,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/event/data.ts"],"names":[],"mappings":"AAAA,YAAY,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAC9C,YAAY,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAC5C,YAAY,EAAC,kBAAkB,EAAC,MAAM,2BAA2B,CAAC;AAClE,YAAY,EAAC,kCAAkC,EAAC,MAAM,gCAAgC,CAAC;AACvF,YAAY,EAAC,mBAAmB,EAAC,MAAM,4BAA4B,CAAC;AACpE,YAAY,EAAC,qBAAqB,EAAC,MAAM,8BAA8B,CAAC;AACxE,YAAY,EAAC,uBAAuB,EAAC,MAAM,gCAAgC,CAAC;AAE5E,YAAY,EAAC,MAAM,EAAC,MAAM,iBAAiB,CAAC;AAC5C,YAAY,EAAC,KAAK,EAAC,MAAM,gBAAgB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Shared fields for every cash tracking session event.
3
3
  */
4
- interface CashTrackingSessionEvent extends Event {
4
+ interface CashTrackingSessionEvent {
5
5
  /** The numeric identifier for the cash tracking session. */
6
6
  readonly id: number;
7
7
  /** ISO 8601 timestamp when the session was opened. */
@@ -1 +1 @@
1
- {"version":3,"file":"cash-tracking-session-events.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/events/cash-tracking-session-events.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,UAAU,wBAAyB,SAAQ,KAAK;IAC9C,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,sDAAsD;IACtD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,WAAW,6BACf,SAAQ,wBAAwB;CAAG;AAErC;;;;GAIG;AACH,MAAM,WAAW,gCACf,SAAQ,wBAAwB;IAChC,sDAAsD;IACtD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B"}
1
+ {"version":3,"file":"cash-tracking-session-events.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/events/cash-tracking-session-events.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,UAAU,wBAAwB;IAChC,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,sDAAsD;IACtD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,WAAW,6BACf,SAAQ,wBAAwB;CAAG;AAErC;;;;GAIG;AACH,MAAM,WAAW,gCACf,SAAQ,wBAAwB;IAChC,sDAAsD;IACtD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B"}
@@ -7,7 +7,7 @@ import type { TaxLine } from '../types/tax-line';
7
7
  * Shared fields on every transaction-complete event, available regardless of
8
8
  * `transactionType`.
9
9
  */
10
- interface BaseTransactionCompleteEvent extends Event {
10
+ interface BaseTransactionCompleteEvent {
11
11
  /**
12
12
  * The transaction type identifier indicating which kind of transaction was completed (for example, `'Sale'` for new purchases, `'Return'` for refunds, `'Exchange'` for item swaps). Narrow on this field to access transaction-type-specific properties.
13
13
  */
@@ -1 +1 @@
1
- {"version":3,"file":"transaction-complete-event.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/events/transaction-complete-event.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAC,MAAM,eAAe,CAAC;AAChE,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,gBAAgB,CAAC;A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AAE,MAAM,CAAC;IACpC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,QAAQ,EAAE,CAAC;CAChC;AAED;;GAEG;AACH,UAAU,mBAAoB,SAAQ,4BAA4B;IAChE,QAAQ,CAAC,eAAe,EAAE,QAAQ,CAAC;IACnC;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,QAAQ,EAAE,CAAC;CAChC;AAED;;GAEG;AACH,UAAU,qBAAsB,SAAQ,4BAA4B;IAClE,QAAQ,CAAC,eAAe,EAAE,UAAU,CAAC;IACrC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,QAAQ,EAAE,CAAC;IACpC;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,QAAQ,EAAE,CAAC;CACvC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,wBAAwB,GAChC,iBAAiB,GACjB,mBAAmB,GACnB,qBAAqB,CAAC"}
1
+ {"version":3,"file":"transaction-complete-event.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/events/transaction-complete-event.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAC,MAAM,eAAe,CAAC;AAChE,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,wB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,SAAQ,4BAA4B;IAChE,QAAQ,CAAC,eAAe,EAAE,QAAQ,CAAC;IACnC;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,QAAQ,EAAE,CAAC;CAChC;AAED;;GAEG;AACH,UAAU,qBAAsB,SAAQ,4BAA4B;IAClE,QAAQ,CAAC,eAAe,EAAE,UAAU,CAAC;IACrC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,QAAQ,EAAE,CAAC;IACpC;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,QAAQ,EAAE,CAAC;CACvC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,wBAAwB,GAChC,iBAAiB,GACjB,mBAAmB,GACnB,qBAAqB,CAAC"}
@@ -12,7 +12,7 @@ export declare const POS_EVENT_NAMES: {
12
12
  readonly CASH_TRACKING_SESSION_COMPLETE: "cashtrackingsessioncomplete";
13
13
  };
14
14
  /**
15
- * Maps Shopify POS event names to their corresponding `Event` subclass types.
15
+ * Maps Shopify POS event names to their corresponding payload types.
16
16
  *
17
17
  * Used as the generic type parameter for `shopify.addEventListener` and
18
18
  * `shopify.removeEventListener`.
@@ -20,8 +20,14 @@ export declare const POS_EVENT_NAMES: {
20
20
  * @publicDocs
21
21
  */
22
22
  export interface ShopifyEventMap {
23
+ /**
24
+ * Dispatched when a sale, return, or exchange transaction completes.
25
+ * Narrow on `transactionType` to access per-type fields.
26
+ */
23
27
  [POS_EVENT_NAMES.TRANSACTION_COMPLETE]: TransactionCompleteEvent;
28
+ /** Dispatched when a cash tracking session opens. */
24
29
  [POS_EVENT_NAMES.CASH_TRACKING_SESSION_START]: CashTrackingSessionStartEvent;
30
+ /** Dispatched when a cash tracking session closes after reconciliation. */
25
31
  [POS_EVENT_NAMES.CASH_TRACKING_SESSION_COMPLETE]: CashTrackingSessionCompleteEvent;
26
32
  }
27
33
  export type { TransactionCompleteEvent, CashTrackingSessionStartEvent, CashTrackingSessionCompleteEvent, };
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/point-of-sale/events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,qCAAqC,CAAC;AAClF,OAAO,KAAK,EACV,6BAA6B,EAC7B,gCAAgC,EACjC,MAAM,uCAAuC,CAAC;AAE/C;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;;CAIlB,CAAC;AAEX;;;;;;;GAOG;AACH,MAAM,WAAW,eAAe;IAC9B,CAAC,eAAe,CAAC,oBAAoB,CAAC,EAAE,wBAAwB,CAAC;IACjE,CAAC,eAAe,CAAC,2BAA2B,CAAC,EAAE,6BAA6B,CAAC;IAC7E,CAAC,eAAe,CAAC,8BAA8B,CAAC,EAAE,gCAAgC,CAAC;CACpF;AAED,YAAY,EACV,wBAAwB,EACxB,6BAA6B,EAC7B,gCAAgC,GACjC,CAAC"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/point-of-sale/events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,qCAAqC,CAAC;AAClF,OAAO,KAAK,EACV,6BAA6B,EAC7B,gCAAgC,EACjC,MAAM,uCAAuC,CAAC;AAE/C;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;;CAIlB,CAAC;AAEX;;;;;;;GAOG;AACH,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,CAAC,eAAe,CAAC,oBAAoB,CAAC,EAAE,wBAAwB,CAAC;IACjE,qDAAqD;IACrD,CAAC,eAAe,CAAC,2BAA2B,CAAC,EAAE,6BAA6B,CAAC;IAC7E,2EAA2E;IAC3E,CAAC,eAAe,CAAC,8BAA8B,CAAC,EAAE,gCAAgC,CAAC;CACpF;AAED,YAAY,EACV,wBAAwB,EACxB,6BAA6B,EAC7B,gCAAgC,GACjC,CAAC"}
@@ -1,7 +1,3 @@
1
- import { BaseOutput } from './event/output';
2
- import { CashTrackingSessionStartData, CashTrackingSessionCompleteData } from './event/data/CashTrackingSessionData';
3
- import { TransactionCompleteData } from './event/data/TransactionCompleteData';
4
- import { CartUpdateEventData } from './event/data/CartUpdateEventData';
5
1
  import type { RenderExtension, RunnableExtension } from '../../extension';
6
2
  import type { DataTargetApi } from './api/data-target-api/data-target-api';
7
3
  import type { StandardApi, ActionApi, ActionTargetApi, CartApi, CartLineItemApi, CustomerApi, DraftOrderApi, ProductApi, OrderApi, StorageApi, CashDrawerApi } from './api';
@@ -11,46 +7,6 @@ import type { SmartGridComponents } from './components/targets/SmartGridComponen
11
7
  import type { ReceiptComponents } from './components/targets/ReceiptComponents';
12
8
  import type { BasicComponents } from './components/targets/BasicComponents';
13
9
  import type { TransactionCompleteWithReprintData } from './event/data';
14
- /**
15
- * @publicDocs
16
- */
17
- export interface EventExtensionTargets {
18
- /**
19
- * Fires when a transaction completes successfully.
20
- *
21
- * @deprecated Deprecated as of version `2026-07`. Use the
22
- * [`pos.app.ready.data` target](/docs/api/pos-ui-extensions/{API_VERSION}/targets/pos-app-ready-data) with
23
- * `shopify.addEventListener('transactioncomplete', callback)` instead.
24
- * @private
25
- */
26
- 'pos.transaction-complete.event.observe': (data: TransactionCompleteData) => Promise<BaseOutput>;
27
- /**
28
- * Fires when a cash tracking session starts.
29
- *
30
- * @deprecated Deprecated as of version `2026-07`. Use the
31
- * [`pos.app.ready.data` target](/docs/api/pos-ui-extensions/{API_VERSION}/targets/pos-app-ready-data) with
32
- * `shopify.addEventListener('cashtrackingsessionstart', callback)` instead.
33
- * @private
34
- */
35
- 'pos.cash-tracking-session-start.event.observe': (data: CashTrackingSessionStartData) => Promise<BaseOutput>;
36
- /**
37
- * Fires when a cash tracking session completes.
38
- *
39
- * @deprecated Deprecated as of version `2026-07`. Use the
40
- * [`pos.app.ready.data` target](/docs/api/pos-ui-extensions/{API_VERSION}/targets/pos-app-ready-data) with
41
- * `shopify.addEventListener('cashtrackingsessioncomplete', callback)` instead.
42
- * @private
43
- */
44
- 'pos.cash-tracking-session-complete.event.observe': (data: CashTrackingSessionCompleteData) => Promise<BaseOutput>;
45
- /**
46
- * Fires when the cart is updated.
47
- *
48
- * @deprecated Deprecated as of version `2026-07`. Use `api.cart.current.subscribe()` on the
49
- * [`pos.app.ready.data` target](/docs/api/pos-ui-extensions/{API_VERSION}/targets/pos-app-ready-data) instead.
50
- * @private
51
- */
52
- 'pos.cart-update.event.observe': (data: CartUpdateEventData) => Promise<BaseOutput>;
53
- }
54
10
  /**
55
11
  * @publicDocs
56
12
  */
@@ -82,36 +38,48 @@ export interface RenderExtensionTargets {
82
38
  * Renders a single interactive button component as a menu item in the post-return action menu. Use this target for post-return operations like generating return receipts, processing restocking workflows, or collecting return feedback.
83
39
  *
84
40
  * Extensions at this target can access the order identifier through the Order API to perform return-specific operations. Menu items typically invoke `shopify.action.presentModal()` to launch the companion modal for complete post-return workflows.
41
+ *
42
+ * @private
85
43
  */
86
44
  'pos.return.post.action.menu-item.render': RenderExtension<StandardApi<'pos.return.post.action.menu-item.render'> & ActionApi & OrderApi, ActionExtensionComponents>;
87
45
  /**
88
46
  * Renders a full-screen modal interface launched from post-return menu items. Use this target for complex post-return workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide.
89
47
  *
90
48
  * Extensions at this target have access to order data through the Order API and support workflows with multiple screens, navigation, and interactive components.
49
+ *
50
+ * @private
91
51
  */
92
52
  'pos.return.post.action.render': RenderExtension<ActionTargetApi<'pos.return.post.action.render'> & OrderApi, BasicComponents>;
93
53
  /**
94
54
  * Renders a custom information section within the post-return screen. Use this target for displaying supplementary return data like completion status, refund confirmations, or follow-up workflows alongside standard return details.
95
55
  *
96
56
  * Extensions at this target appear as persistent blocks within the post-return interface and support interactive elements that can launch modal workflows using `shopify.action.presentModal()` for more complex post-return operations.
57
+ *
58
+ * @private
97
59
  */
98
60
  'pos.return.post.block.render': RenderExtension<StandardApi<'pos.return.post.block.render'> & OrderApi & ActionApi, BlockExtensionComponents>;
99
61
  /**
100
62
  * Renders a single interactive button component as a menu item in the post-exchange action menu. Use this target for post-exchange operations like generating exchange receipts, processing restocking workflows, or collecting exchange feedback.
101
63
  *
102
64
  * Extensions at this target can access the order identifier through the Order API to perform exchange-specific operations. Menu items typically invoke `shopify.action.presentModal()` to launch the companion modal for complete post-exchange workflows.
65
+ *
66
+ * @private
103
67
  */
104
68
  'pos.exchange.post.action.menu-item.render': RenderExtension<StandardApi<'pos.exchange.post.action.menu-item.render'> & ActionApi & OrderApi, ActionExtensionComponents>;
105
69
  /**
106
70
  * Renders a full-screen modal interface launched from post-exchange menu items. Use this target for complex post-exchange workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide.
107
71
  *
108
72
  * Extensions at this target have access to order data through the Order API and support workflows with multiple screens, navigation, and interactive components.
73
+ *
74
+ * @private
109
75
  */
110
76
  'pos.exchange.post.action.render': RenderExtension<ActionTargetApi<'pos.exchange.post.action.render'> & OrderApi, BasicComponents>;
111
77
  /**
112
78
  * Renders a custom information section within the post-exchange screen. Use this target for displaying supplementary exchange data like completion status, payment adjustments, or follow-up workflows alongside standard exchange details.
113
79
  *
114
80
  * Extensions at this target appear as persistent blocks within the post-exchange interface and support interactive elements that can launch modal workflows using `shopify.action.presentModal()` for more complex post-exchange operations.
81
+ *
82
+ * @private
115
83
  */
116
84
  'pos.exchange.post.block.render': RenderExtension<StandardApi<'pos.exchange.post.block.render'> & OrderApi & ActionApi, BlockExtensionComponents>;
117
85
  /**
@@ -220,6 +188,8 @@ export interface RenderExtensionTargets {
220
188
  * Renders a custom section in the footer of printed receipts. Use this target for adding contact details, return policies, social media links, or customer engagement elements like survey links or marketing campaigns at the bottom of receipts.
221
189
  *
222
190
  * Extensions at this target appear in the receipt footer area and support limited components optimized for print formatting, including text content for information display.
191
+ *
192
+ * @private
223
193
  */
224
194
  'pos.receipt-footer.block.render': RenderExtension<{
225
195
  [key: string]: any;
@@ -228,6 +198,8 @@ export interface RenderExtensionTargets {
228
198
  * Renders a custom section in the header of printed receipts. Use this target for adding custom branding, logos, promotional messages, or store-specific information at the top of receipts.
229
199
  *
230
200
  * Extensions at this target appear in the receipt header area and support limited components optimized for print formatting, including text content for information display.
201
+ *
202
+ * @private
231
203
  */
232
204
  'pos.receipt-header.block.render': RenderExtension<{
233
205
  [key: string]: any;
@@ -254,16 +226,12 @@ export interface RenderExtensionTargets {
254
226
  /**
255
227
  * @publicDocs
256
228
  */
257
- export interface ExtensionTargets extends RenderExtensionTargets, EventExtensionTargets, DataExtensionTargets {
229
+ export interface ExtensionTargets extends RenderExtensionTargets, DataExtensionTargets {
258
230
  }
259
231
  /**
260
232
  * @publicDocs
261
233
  */
262
234
  export type RenderExtensionTarget = keyof RenderExtensionTargets;
263
- /**
264
- * @publicDocs
265
- */
266
- export type EventExtensionTarget = keyof EventExtensionTargets;
267
235
  /**
268
236
  * @publicDocs
269
237
  */
@@ -1 +1 @@
1
- {"version":3,"file":"extension-targets.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/point-of-sale/extension-targets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAEL,4BAA4B,EAE5B,+BAA+B,EAChC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAC,uBAAuB,EAAC,MAAM,sCAAsC,CAAC;AAE7E,OAAO,EAAC,mBAAmB,EAAC,MAAM,kCAAkC,CAAC;AAErE,OAAO,KAAK,EAAC,eAAe,EAAE,iBAAiB,EAAC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,WAAW,CAAC,mCAAmC,CAAC,GAC9C,SAAS,GACT,aAAa,EACf,wBAAwB,CACzB,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,gBACf,SAAQ,sBAAsB,EAC5B,qBAAqB,EACrB,oBAAoB;CAAG;AAE3B;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,sBAAsB,CAAC;AACjE;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,MAAM,qBAAqB,CAAC;AAC/D;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,oBAAoB,CAAC;AAC7D;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"extension-targets.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/point-of-sale/extension-targets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAE,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAExE,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AAEzE,OAAO,KAAK,EACV,WAAW,EACX,SAAS,EACT,eAAe,EACf,OAAO,EACP,eAAe,EACf,WAAW,EACX,aAAa,EACb,UAAU,EACV,QAAQ,EACR,UAAU,EACV,aAAa,EACd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAC,yBAAyB,EAAC,MAAM,gDAAgD,CAAC;AAC9F,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,+CAA+C,CAAC;AAC5F,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,0CAA0C,CAAC;AAClF,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,wCAAwC,CAAC;AAC9E,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,sCAAsC,CAAC;AAC1E,OAAO,KAAK,EAAC,kCAAkC,EAAC,MAAM,cAAc,CAAC;AAErE;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,oBAAo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G;IACH,oCAAoC,EAAE,eAAe,CACnD,eAAe,CAAC,oCAAoC,CAAC,GAAG,aAAa,EACrE,eAAe,CAChB,CAAC;IACF;;;;OAIG;IACH,mCAAmC,EAAE,eAAe,CAClD,WAAW,CAAC,mCAAmC,CAAC,GAC9C,SAAS,GACT,aAAa,EACf,wBAAwB,CACzB,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,gBACf,SAAQ,sBAAsB,EAC5B,oBAAoB;CAAG;AAE3B;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,sBAAsB,CAAC;AACjE;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,oBAAoB,CAAC;AAC7D;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,gBAAgB,CAAC"}
@@ -20,7 +20,6 @@ import "../components/Modal.d.ts";
20
20
  import "../components/NumberField.d.ts";
21
21
  import "../components/Page.d.ts";
22
22
  import "../components/PosBlock.d.ts";
23
- import "../components/QrCode.d.ts";
24
23
  import "../components/ScrollBox.d.ts";
25
24
  import "../components/SearchField.d.ts";
26
25
  import "../components/Section.d.ts";
@@ -20,7 +20,6 @@ import "../components/Modal.d.ts";
20
20
  import "../components/NumberField.d.ts";
21
21
  import "../components/Page.d.ts";
22
22
  import "../components/PosBlock.d.ts";
23
- import "../components/QrCode.d.ts";
24
23
  import "../components/ScrollBox.d.ts";
25
24
  import "../components/SearchField.d.ts";
26
25
  import "../components/Section.d.ts";
@@ -20,7 +20,6 @@ import "../components/Modal.d.ts";
20
20
  import "../components/NumberField.d.ts";
21
21
  import "../components/Page.d.ts";
22
22
  import "../components/PosBlock.d.ts";
23
- import "../components/QrCode.d.ts";
24
23
  import "../components/ScrollBox.d.ts";
25
24
  import "../components/SearchField.d.ts";
26
25
  import "../components/Section.d.ts";
@@ -20,7 +20,6 @@ import "../components/Modal.d.ts";
20
20
  import "../components/NumberField.d.ts";
21
21
  import "../components/Page.d.ts";
22
22
  import "../components/PosBlock.d.ts";
23
- import "../components/QrCode.d.ts";
24
23
  import "../components/ScrollBox.d.ts";
25
24
  import "../components/SearchField.d.ts";
26
25
  import "../components/Section.d.ts";
@@ -20,7 +20,6 @@ import "../components/Modal.d.ts";
20
20
  import "../components/NumberField.d.ts";
21
21
  import "../components/Page.d.ts";
22
22
  import "../components/PosBlock.d.ts";
23
- import "../components/QrCode.d.ts";
24
23
  import "../components/ScrollBox.d.ts";
25
24
  import "../components/SearchField.d.ts";
26
25
  import "../components/Section.d.ts";
@@ -20,7 +20,6 @@ import "../components/Modal.d.ts";
20
20
  import "../components/NumberField.d.ts";
21
21
  import "../components/Page.d.ts";
22
22
  import "../components/PosBlock.d.ts";
23
- import "../components/QrCode.d.ts";
24
23
  import "../components/ScrollBox.d.ts";
25
24
  import "../components/SearchField.d.ts";
26
25
  import "../components/Section.d.ts";
@@ -20,7 +20,6 @@ import "../components/Modal.d.ts";
20
20
  import "../components/NumberField.d.ts";
21
21
  import "../components/Page.d.ts";
22
22
  import "../components/PosBlock.d.ts";
23
- import "../components/QrCode.d.ts";
24
23
  import "../components/ScrollBox.d.ts";
25
24
  import "../components/SearchField.d.ts";
26
25
  import "../components/Section.d.ts";
@@ -20,7 +20,6 @@ import "../components/Modal.d.ts";
20
20
  import "../components/NumberField.d.ts";
21
21
  import "../components/Page.d.ts";
22
22
  import "../components/PosBlock.d.ts";
23
- import "../components/QrCode.d.ts";
24
23
  import "../components/ScrollBox.d.ts";
25
24
  import "../components/SearchField.d.ts";
26
25
  import "../components/Section.d.ts";
@@ -20,7 +20,6 @@ import "../components/Modal.d.ts";
20
20
  import "../components/NumberField.d.ts";
21
21
  import "../components/Page.d.ts";
22
22
  import "../components/PosBlock.d.ts";
23
- import "../components/QrCode.d.ts";
24
23
  import "../components/ScrollBox.d.ts";
25
24
  import "../components/SearchField.d.ts";
26
25
  import "../components/Section.d.ts";
@@ -20,7 +20,6 @@ import "../components/Modal.d.ts";
20
20
  import "../components/NumberField.d.ts";
21
21
  import "../components/Page.d.ts";
22
22
  import "../components/PosBlock.d.ts";
23
- import "../components/QrCode.d.ts";
24
23
  import "../components/ScrollBox.d.ts";
25
24
  import "../components/SearchField.d.ts";
26
25
  import "../components/Section.d.ts";
@@ -6,7 +6,8 @@ import type { TaxLine } from './tax-line';
6
6
  import type { TransactionType } from './transaction-type';
7
7
  /**
8
8
  * Base interface for completed transaction data shared across all transaction types.
9
- * @publicDocs
9
+ *
10
+ * @private
10
11
  */
11
12
  export interface BaseTransactionComplete {
12
13
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"base-transaction-complete.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/base-transaction-complete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,QAAQ,EAAE,QAAQ,EAAC,MAAM,QAAQ,CAAC;AAC/C,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AACvC,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AACxC,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AAExD;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,eAAe,EAAE,eAAe,CAAC;IACjC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,OAAO,EAAE,CAAC;IAC1B;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB;;OAEG;IACH,sBAAsB,CAAC,EAAE,KAAK,CAAC;CAChC"}
1
+ {"version":3,"file":"base-transaction-complete.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/base-transaction-complete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,QAAQ,EAAE,QAAQ,EAAC,MAAM,QAAQ,CAAC;AAC/C,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AACvC,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AACxC,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,eAAe,EAAE,eAAe,CAAC;IACjC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,OAAO,EAAE,CAAC;IAC1B;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB;;OAEG;IACH,sBAAsB,CAAC,EAAE,KAAK,CAAC;CAChC"}
@@ -196,6 +196,10 @@ export interface LineItemComponent {
196
196
  * An array of tax lines applied to this component.
197
197
  */
198
198
  taxLines: TaxLine[];
199
+ /**
200
+ * An array of discount allocations applied to this component, providing a detailed breakdown of how discounts are distributed across bundle components. Returns `undefined` if no allocations exist.
201
+ */
202
+ discountAllocations?: DiscountAllocation[];
199
203
  /**
200
204
  * The unique numeric identifier for the product variant this component represents, if applicable.
201
205
  */
@@ -253,6 +257,16 @@ export interface Discount {
253
257
  */
254
258
  type?: string;
255
259
  }
260
+ /**
261
+ * Optional configuration for `addLineItem`. Lets a single call create a line item and decorate it with line-item properties, avoiding the extra native call and cart sync of a separate `addLineItemProperties` call.
262
+ * @publicDocs
263
+ */
264
+ export interface AddLineItemOptions {
265
+ /**
266
+ * Custom key-value properties to attach to the newly created line item. Equivalent to calling `addLineItemProperties` with the returned `UUID`, but applied in the same operation.
267
+ */
268
+ properties?: Record<string, string>;
269
+ }
256
270
  /**
257
271
  * Specifies the parameters for adding custom properties to line items. Properties are key-value pairs used for storing metadata, tracking information, or integration data.
258
272
  * @publicDocs