@rokt/dcui-orchestrator 0.2.1-rc.9 → 0.3.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 (557) hide show
  1. package/dist/extensions/address-form/src/actions/forms.d.ts +11 -0
  2. package/dist/extensions/address-form/src/actions/index.d.ts +1 -0
  3. package/dist/extensions/address-form/src/components/address-form.d.ts +96 -0
  4. package/dist/extensions/address-form/src/components/edit-address-form-view.d.ts +23 -0
  5. package/dist/extensions/address-form/src/components/form-button.d.ts +15 -0
  6. package/dist/extensions/address-form/src/components/input-field.d.ts +34 -0
  7. package/dist/extensions/address-form/src/index.d.ts +3 -0
  8. package/dist/extensions/address-form/src/models/form-state.d.ts +1 -0
  9. package/dist/extensions/address-form/src/models/index.d.ts +1 -0
  10. package/dist/extensions/address-form/src/reducers/forms.d.ts +4 -0
  11. package/dist/extensions/address-form/src/reducers/index.d.ts +1 -0
  12. package/dist/extensions/address-form/src/sagas/cart-service/index.d.ts +1 -0
  13. package/dist/extensions/address-form/src/sagas/cart-service/sagas.d.ts +9 -0
  14. package/dist/extensions/address-form/src/sagas/index.d.ts +2 -0
  15. package/dist/extensions/address-form/src/types.d.ts +63 -0
  16. package/dist/extensions/address-form/src/utils.d.ts +15 -0
  17. package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/bottom-sheet.d.ts +2 -0
  18. package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/factory.d.ts +1 -0
  19. package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/hooks.d.ts +2 -1
  20. package/dist/extensions/minimized-bottomsheet/src/components/bottomsheet-wrapper/overlay-wrapper.d.ts +2 -2
  21. package/dist/extensions/shimmer-background/src/index.d.ts +10 -0
  22. package/dist/extensions/shimmer-background/src/shimmer-background.d.ts +11 -0
  23. package/dist/index.cjs +97 -46
  24. package/dist/index.js +102 -51
  25. package/dist/libraries/dcui-components/src/components/action-button/action-button.d.ts +24 -0
  26. package/dist/libraries/dcui-components/src/components/action-button/factory.d.ts +2 -0
  27. package/dist/libraries/dcui-components/src/components/action-button/index.d.ts +2 -0
  28. package/dist/libraries/dcui-components/src/components/catalog-carousel-collection/hooks.d.ts +7 -0
  29. package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/factory.d.ts +1 -1
  30. package/dist/libraries/dcui-components/src/components/data-image-carousel/carousel-indicators.d.ts +20 -0
  31. package/dist/libraries/dcui-components/src/components/data-image-carousel/data-image-carousel.d.ts +100 -0
  32. package/dist/libraries/dcui-components/src/components/data-image-carousel/factory.d.ts +2 -0
  33. package/dist/libraries/dcui-components/src/components/data-image-carousel/index.d.ts +2 -0
  34. package/dist/libraries/dcui-components/src/components/data-mapper/form-state-projection.d.ts +31 -0
  35. package/dist/libraries/dcui-components/src/components/data-mapper/index.d.ts +1 -0
  36. package/dist/libraries/dcui-components/src/components/extension/context.d.ts +2 -1
  37. package/dist/libraries/dcui-components/src/components/extension/models.d.ts +2 -1
  38. package/dist/libraries/dcui-components/src/components/form/factory.d.ts +2 -0
  39. package/dist/libraries/dcui-components/src/components/form/form.d.ts +24 -0
  40. package/dist/libraries/dcui-components/src/components/form/index.d.ts +2 -0
  41. package/dist/libraries/dcui-components/src/components/icon-group/factory.d.ts +2 -0
  42. package/dist/libraries/dcui-components/src/components/icon-group/icon-group.d.ts +36 -0
  43. package/dist/libraries/dcui-components/src/components/icon-group/index.d.ts +2 -0
  44. package/dist/libraries/dcui-components/src/components/index.d.ts +5 -0
  45. package/dist/libraries/dcui-components/src/components/layout-timer/index.d.ts +5 -0
  46. package/dist/libraries/dcui-components/src/components/layout-timer/layout-timer.d.ts +7 -0
  47. package/dist/libraries/dcui-components/src/components/layout-timer/timer-countdown-provider.d.ts +8 -0
  48. package/dist/libraries/dcui-components/src/components/layout-timer/use-layout-timer.d.ts +11 -0
  49. package/dist/libraries/dcui-components/src/components/layout-timer/use-timer-action-dispatch.d.ts +9 -0
  50. package/dist/libraries/dcui-components/src/components/rich-text/rich-text.d.ts +2 -0
  51. package/dist/libraries/dcui-components/src/components/scrollable-column/scrollable-column.d.ts +1 -1
  52. package/dist/libraries/dcui-components/src/components/scrollable-row/scrollable-row.d.ts +1 -1
  53. package/dist/libraries/dcui-components/src/components/style-mapper/get-css-writer.d.ts +1 -0
  54. package/dist/libraries/dcui-components/src/components/style-mapper/transformers/index.d.ts +1 -0
  55. package/dist/libraries/dcui-components/src/components/style-mapper/transformers/scroll-mask-transformer.d.ts +8 -0
  56. package/dist/libraries/dcui-components/src/components/style-mapper/types.d.ts +2 -2
  57. package/dist/libraries/dcui-components/src/components/text-input/factory.d.ts +2 -0
  58. package/dist/libraries/dcui-components/src/components/text-input/index.d.ts +2 -0
  59. package/dist/libraries/dcui-components/src/components/text-input/text-input.d.ts +23 -0
  60. package/dist/libraries/dcui-components/src/components/when/form-state.d.ts +9 -0
  61. package/dist/libraries/dcui-components/src/contexts/form-context.d.ts +15 -0
  62. package/dist/libraries/dcui-components/src/contexts/index.d.ts +2 -0
  63. package/dist/libraries/dcui-components/src/contexts/minimizable-context.d.ts +2 -0
  64. package/dist/libraries/dcui-components/src/contexts/offer-data-context.d.ts +1 -0
  65. package/dist/libraries/dcui-components/src/failure-codes.d.ts +1 -0
  66. package/dist/libraries/dcui-components/src/utils/get-scroll-mask-config.d.ts +20 -0
  67. package/dist/libraries/dcui-components/src/utils/index.d.ts +2 -0
  68. package/dist/libraries/dcui-components/src/utils/use-scroll-mask-visibility.d.ts +22 -0
  69. package/dist/libraries/dcui-schema/src/models/nodes/close-button.d.ts +3 -1
  70. package/dist/libraries/domain/src/behaviors/cart-item-event.d.ts +44 -0
  71. package/dist/libraries/domain/src/behaviors/dismiss-overlay.d.ts +9 -0
  72. package/dist/libraries/domain/src/behaviors/domain-states.d.ts +2 -2
  73. package/dist/libraries/domain/src/behaviors/form-state.d.ts +66 -0
  74. package/dist/libraries/domain/src/behaviors/global-actions.d.ts +17 -1
  75. package/dist/libraries/domain/src/behaviors/index.d.ts +6 -0
  76. package/dist/libraries/domain/src/behaviors/layout-events.d.ts +17 -0
  77. package/dist/libraries/domain/src/behaviors/offer-engagement.d.ts +3 -1
  78. package/dist/libraries/domain/src/behaviors/report-error.d.ts +26 -0
  79. package/dist/libraries/domain/src/behaviors/send-partner.d.ts +40 -3
  80. package/dist/libraries/domain/src/behaviors/trigger-action.d.ts +19 -0
  81. package/dist/libraries/domain/src/models/domain-state-keys.d.ts +5 -0
  82. package/dist/libraries/domain/src/models/form-state.d.ts +85 -0
  83. package/dist/libraries/domain/src/models/global-state.d.ts +4 -1
  84. package/dist/libraries/domain/src/models/index.d.ts +3 -0
  85. package/dist/libraries/domain/src/models/layout/index.d.ts +1 -0
  86. package/dist/libraries/domain/src/models/layout/layout-catalog-item.d.ts +2 -0
  87. package/dist/libraries/domain/src/models/layout/layout-child-config.d.ts +2 -0
  88. package/dist/libraries/domain/src/models/layout/layout-config.d.ts +2 -2
  89. package/dist/libraries/domain/src/models/layout/layout-offer.d.ts +2 -0
  90. package/dist/libraries/domain/src/models/layout/layout-signal-type.d.ts +3 -1
  91. package/dist/libraries/domain/src/models/layout/layout-transaction-data.d.ts +31 -0
  92. package/dist/libraries/domain/src/models/partner-event.d.ts +2 -2
  93. package/dist/libraries/domain/src/models/plugin/index.d.ts +2 -0
  94. package/dist/libraries/domain/src/models/plugin/plugin-catalog-item-group.d.ts +17 -0
  95. package/dist/libraries/domain/src/models/plugin/plugin-catalog-item.d.ts +8 -0
  96. package/dist/libraries/domain/src/models/plugin/plugin-child-layout-model.d.ts +2 -0
  97. package/dist/libraries/domain/src/models/plugin/plugin-model.d.ts +3 -3
  98. package/dist/libraries/domain/src/models/plugin/plugin-offer.d.ts +4 -0
  99. package/dist/libraries/domain/src/models/plugin/plugin-signal-type.d.ts +4 -1
  100. package/dist/libraries/domain/src/models/plugin/plugin-transaction-data.d.ts +31 -0
  101. package/dist/libraries/domain/src/models/purchase.d.ts +54 -0
  102. package/dist/libraries/domain/src/models/shipping.d.ts +25 -0
  103. package/dist/libraries/domain/src/models/signals.d.ts +19 -5
  104. package/dist/libraries/layout-renderer-utils/src/actions/domain-states.d.ts +14 -0
  105. package/dist/libraries/layout-renderer-utils/src/actions/form-states.d.ts +37 -0
  106. package/dist/libraries/layout-renderer-utils/src/actions/index.d.ts +15 -3
  107. package/dist/libraries/layout-renderer-utils/src/actions/overlay.d.ts +15 -8
  108. package/dist/libraries/layout-renderer-utils/src/actions/settings.d.ts +10 -3
  109. package/dist/libraries/layout-renderer-utils/src/components/index.d.ts +4 -1
  110. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/connector.d.ts +2 -0
  111. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/drag-handle.d.ts +7 -0
  112. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/extract-border-styles.d.ts +25 -0
  113. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/factory.d.ts +13 -0
  114. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/hooks.d.ts +23 -0
  115. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/index.d.ts +2 -0
  116. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/minimizable-bottomsheet-wrapper.d.ts +12 -0
  117. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/minimizable-bottomsheet.d.ts +27 -0
  118. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/sheet-gesture.d.ts +18 -0
  119. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/types.d.ts +63 -0
  120. package/dist/libraries/layout-renderer-utils/src/components/minimize-button/factory.d.ts +2 -0
  121. package/dist/libraries/layout-renderer-utils/src/components/minimize-button/index.d.ts +2 -0
  122. package/dist/libraries/layout-renderer-utils/src/components/minimize-button/minimize-button.d.ts +12 -0
  123. package/dist/libraries/layout-renderer-utils/src/components/overlay/overlay.d.ts +1 -0
  124. package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/attached-overlay-wrapper.d.ts +19 -0
  125. package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/index.d.ts +1 -0
  126. package/dist/libraries/layout-renderer-utils/src/components/utils.d.ts +1 -0
  127. package/dist/libraries/layout-renderer-utils/src/constant.d.ts +1 -1
  128. package/dist/libraries/layout-renderer-utils/src/hooks/useEscToClose.d.ts +1 -0
  129. package/dist/libraries/layout-renderer-utils/src/models/state/fired-events.d.ts +17 -0
  130. package/dist/libraries/layout-renderer-utils/src/models/state/form-states.d.ts +11 -0
  131. package/dist/libraries/layout-renderer-utils/src/models/state/index.d.ts +9 -2
  132. package/dist/libraries/layout-renderer-utils/src/models/state/layout.d.ts +2 -1
  133. package/dist/libraries/layout-renderer-utils/src/models/state/settings.d.ts +6 -0
  134. package/dist/libraries/layout-renderer-utils/src/reducers/fired-events/index.d.ts +1 -0
  135. package/dist/libraries/layout-renderer-utils/src/reducers/fired-events/reducer.d.ts +5 -0
  136. package/dist/libraries/layout-renderer-utils/src/reducers/form-states/index.d.ts +1 -0
  137. package/dist/libraries/layout-renderer-utils/src/reducers/form-states/reducer.d.ts +4 -0
  138. package/dist/libraries/layout-renderer-utils/src/reducers/index.d.ts +6 -0
  139. package/dist/libraries/layout-renderer-utils/src/reducers/settings/reducer.d.ts +3 -3
  140. package/dist/libraries/layout-renderer-utils/src/sagas/error/error-codes.d.ts +2 -0
  141. package/dist/libraries/layout-renderer-utils/src/sagas/form-states/index.d.ts +1 -0
  142. package/dist/libraries/layout-renderer-utils/src/sagas/form-states/sagas.d.ts +16 -0
  143. package/dist/libraries/layout-renderer-utils/src/sagas/index.d.ts +2 -0
  144. package/dist/libraries/layout-renderer-utils/src/sagas/plugin/attached-bottomsheet.d.ts +18 -0
  145. package/dist/libraries/layout-renderer-utils/src/sagas/plugin/display.d.ts +7 -13
  146. package/dist/libraries/layout-renderer-utils/src/sagas/plugin/sagas.d.ts +1 -1
  147. package/dist/libraries/layout-renderer-utils/src/sagas/trigger-action/index.d.ts +1 -0
  148. package/dist/libraries/layout-renderer-utils/src/sagas/trigger-action/sagas.d.ts +12 -0
  149. package/dist/libraries/layout-renderer-utils/src/selectors/fired-events/selectors.d.ts +7 -0
  150. package/dist/libraries/layout-renderer-utils/src/selectors/form-state/index.d.ts +1 -0
  151. package/dist/libraries/layout-renderer-utils/src/selectors/form-state/selectors.d.ts +8 -0
  152. package/dist/libraries/layout-renderer-utils/src/selectors/index.d.ts +2 -0
  153. package/dist/libraries/layout-renderer-utils/src/utils/signals.d.ts +2 -2
  154. package/dist/libraries/module-connector/src/main.d.ts +1 -1
  155. package/dist/libraries/module-connector/src/models/gateway.d.ts +4 -3
  156. package/dist/libraries/module-connector/src/models/module-connector-builder.d.ts +4 -1
  157. package/dist/libraries/module-utils/src/actions/child-layouts.d.ts +11 -0
  158. package/dist/libraries/module-utils/src/actions/dynamic-data.d.ts +7 -0
  159. package/dist/libraries/module-utils/src/actions/index.d.ts +2 -0
  160. package/dist/libraries/module-utils/src/index.d.ts +5 -0
  161. package/dist/libraries/module-utils/src/models/index.d.ts +1 -0
  162. package/dist/libraries/module-utils/src/models/state/child-layouts.d.ts +4 -0
  163. package/dist/libraries/module-utils/src/models/state/dynamic-data.d.ts +3 -0
  164. package/dist/libraries/module-utils/src/models/state/index.d.ts +3 -0
  165. package/dist/libraries/module-utils/src/models/state/static-data.d.ts +6 -0
  166. package/dist/libraries/module-utils/src/reducers/child-layouts/index.d.ts +1 -0
  167. package/dist/libraries/module-utils/src/reducers/child-layouts/reducer.d.ts +5 -0
  168. package/dist/libraries/module-utils/src/reducers/dynamic-data/index.d.ts +1 -0
  169. package/dist/libraries/module-utils/src/reducers/dynamic-data/reducer.d.ts +4 -0
  170. package/dist/libraries/module-utils/src/reducers/index.d.ts +3 -0
  171. package/dist/libraries/module-utils/src/reducers/static-data/index.d.ts +1 -0
  172. package/dist/libraries/module-utils/src/reducers/static-data/reducer.d.ts +4 -0
  173. package/dist/libraries/module-utils/src/sagas/child-layouts/index.d.ts +1 -0
  174. package/dist/libraries/module-utils/src/sagas/child-layouts/sagas.d.ts +5 -0
  175. package/dist/libraries/module-utils/src/sagas/error-codes.d.ts +1 -0
  176. package/dist/libraries/module-utils/src/sagas/index.d.ts +1 -0
  177. package/dist/libraries/module-utils/src/selectors/child-layouts/index.d.ts +1 -0
  178. package/dist/libraries/module-utils/src/selectors/child-layouts/selectors.d.ts +4 -0
  179. package/dist/libraries/module-utils/src/selectors/dynamic-data/index.d.ts +1 -0
  180. package/dist/libraries/module-utils/src/selectors/dynamic-data/selectors.d.ts +4 -0
  181. package/dist/libraries/module-utils/src/selectors/index.d.ts +3 -0
  182. package/dist/libraries/module-utils/src/selectors/static-data/index.d.ts +1 -0
  183. package/dist/libraries/module-utils/src/selectors/static-data/selectors.d.ts +7 -0
  184. package/dist/libraries/orchestrator/src/actions/domain-states.d.ts +2 -2
  185. package/dist/libraries/orchestrator/src/actions/index.d.ts +14 -4
  186. package/dist/libraries/orchestrator/src/actions/trigger-action.d.ts +2 -0
  187. package/dist/libraries/orchestrator/src/global-store-proxy.d.ts +2 -0
  188. package/dist/libraries/orchestrator/src/models/index.d.ts +1 -1
  189. package/dist/libraries/orchestrator/src/models/state/domain-states.d.ts +2 -2
  190. package/dist/libraries/orchestrator/src/models/state/index.d.ts +0 -2
  191. package/dist/libraries/orchestrator/src/reducers/domain-states/reducer.d.ts +2 -1
  192. package/dist/libraries/orchestrator/src/reducers/index.d.ts +3 -1
  193. package/dist/libraries/orchestrator/src/sagas/plugin/config-transformer.d.ts +2 -2
  194. package/dist/libraries/orchestrator/src/sagas/plugin/migrate-schema.d.ts +2 -2
  195. package/dist/libraries/orchestrator/src/sagas/plugin/migrations/migration-mapper.d.ts +3 -3
  196. package/dist/libraries/orchestrator/src/sagas/plugin/migrations/v1.0.d.ts +2 -2
  197. package/dist/libraries/orchestrator/src/sagas/plugin/sagas.d.ts +2 -2
  198. package/dist/libraries/orchestrator/src/sagas/progression/sagas.d.ts +2 -1
  199. package/dist/libraries/orchestrator/src/sagas/trigger-action/index.d.ts +1 -0
  200. package/dist/libraries/orchestrator/src/sagas/trigger-action/sagas.d.ts +3 -0
  201. package/dist/libraries/orchestrator/src/selectors/domain-state/selectors.d.ts +2 -2
  202. package/dist/libraries/orchestrator/src/selectors/index.d.ts +1 -1
  203. package/dist/libraries/plugin-utils/src/translate-config.d.ts +5 -1
  204. package/dist/libraries/saga-utils/src/sagas/handle-variant-action.d.ts +12 -0
  205. package/dist/libraries/saga-utils/src/sagas/index.d.ts +1 -0
  206. package/dist/libraries/saga-utils/src/utils/catalog-translator.d.ts +1 -0
  207. package/dist/modules/add-to-cart/src/components/escape-hatch/factory.d.ts +1 -1
  208. package/dist/modules/add-to-cart/src/components/mapped-icons/icon-registry-data.d.ts +10 -0
  209. package/dist/modules/add-to-cart/src/components/mapped-icons/icon-registry.d.ts +9 -0
  210. package/dist/modules/add-to-cart/src/components/mapped-icons/mapped-icon.d.ts +15 -0
  211. package/dist/modules/add-to-cart/src/components/read-more-text/read-more-text.d.ts +29 -0
  212. package/dist/modules/add-to-cart/src/components/read-more-text-container/read-more-text-container.d.ts +34 -0
  213. package/dist/modules/add-to-cart/src/components/scroll-to-target/scroll-to-target.d.ts +56 -0
  214. package/dist/modules/add-to-cart/src/components/tooltip/tooltip.d.ts +42 -0
  215. package/dist/modules/add-to-cart/src/components/when-catalog-quantity/when-catalog-quantity.d.ts +22 -0
  216. package/dist/modules/add-to-cart/src/reducers/index.d.ts +1 -1
  217. package/dist/modules/add-to-cart/src/sagas/cart-service-response/index.d.ts +1 -0
  218. package/dist/modules/add-to-cart/src/sagas/cart-service-response/sagas.d.ts +11 -0
  219. package/dist/modules/add-to-cart/src/sagas/index.d.ts +11 -0
  220. package/dist/modules/add-to-cart/src/selectors/catalogItems/selectors.d.ts +2 -0
  221. package/dist/modules/add-to-cart/src/selectors/creative/index.d.ts +1 -0
  222. package/dist/modules/add-to-cart/src/selectors/creative/selectors.d.ts +3 -0
  223. package/dist/modules/add-to-cart/src/selectors/index.d.ts +2 -1
  224. package/dist/modules/add-to-cart/src/selectors/offerDataState/index.d.ts +1 -0
  225. package/dist/modules/add-to-cart/src/selectors/{globalOfferDataState → offerDataState}/selectors.d.ts +1 -1
  226. package/dist/modules/instant-purchase/src/actions/device-pay.d.ts +60 -0
  227. package/dist/modules/instant-purchase/src/actions/index.d.ts +2 -0
  228. package/dist/modules/instant-purchase/src/actions/instant-purchase.d.ts +52 -2
  229. package/dist/modules/instant-purchase/src/actions/paypal.d.ts +35 -0
  230. package/dist/modules/instant-purchase/src/channels/channel.d.ts +5 -1
  231. package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/apple-pay-button.d.ts +36 -0
  232. package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/catalog-device-pay-button.d.ts +59 -0
  233. package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/factory.d.ts +2 -0
  234. package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/retryable-device-pay-error.d.ts +1 -0
  235. package/dist/modules/instant-purchase/src/components/catalog-discount-callout-tag/catalog-discount-callout-tag.d.ts +90 -0
  236. package/dist/modules/instant-purchase/src/components/catalog-dropdown/catalog-dropdown.d.ts +6 -0
  237. package/dist/modules/instant-purchase/src/components/catalog-dropdown/dropdown-options-context.d.ts +17 -0
  238. package/dist/modules/instant-purchase/src/components/catalog-dropdown/factory.d.ts +2 -0
  239. package/dist/modules/instant-purchase/src/components/catalog-imagegallery/catalog-gallery-index.d.ts +1 -0
  240. package/dist/modules/instant-purchase/src/components/catalog-imagegallery/catalog-image-gallery.d.ts +6 -0
  241. package/dist/modules/instant-purchase/src/components/catalog-imagegallery/factory.d.ts +2 -0
  242. package/dist/modules/instant-purchase/src/components/catalog-selectors-stacked/catalog-selectors-stacked.d.ts +6 -0
  243. package/dist/modules/instant-purchase/src/components/catalog-selectors-stacked/factory.d.ts +2 -0
  244. package/dist/modules/instant-purchase/src/components/catalog-thumbnail-gallery/catalog-thumbnail-gallery.d.ts +6 -0
  245. package/dist/modules/instant-purchase/src/components/catalog-thumbnail-gallery/factory.d.ts +2 -0
  246. package/dist/modules/instant-purchase/src/components/checkbox/checkbox.d.ts +1 -0
  247. package/dist/modules/instant-purchase/src/components/checkout-state-button-trigger/checkout-state-button-trigger.d.ts +2 -0
  248. package/dist/modules/instant-purchase/src/components/custom-state-validation-trigger-button/custom-state-validation-trigger-button.d.ts +28 -0
  249. package/dist/modules/instant-purchase/src/components/dismiss-instant-purchase-button/dismiss-instant-purchase-button.d.ts +1 -0
  250. package/dist/modules/instant-purchase/src/components/escape-hatch/factory.d.ts +1 -1
  251. package/dist/modules/instant-purchase/src/components/escape-hatch/index.d.ts +1 -0
  252. package/dist/modules/instant-purchase/src/components/{catalog-drop-down → escapehatch-catalog-drop-down}/catalog-drop-down.d.ts +2 -0
  253. package/dist/modules/instant-purchase/src/components/{catalog-image-gallery → escapehatch-catalog-image-gallery}/catalog-image-gallery.d.ts +15 -4
  254. package/dist/modules/instant-purchase/src/components/escapehatch-catalog-image-gallery/constants.d.ts +9 -0
  255. package/dist/modules/instant-purchase/src/components/inline-container/factory.d.ts +2 -0
  256. package/dist/modules/instant-purchase/src/components/inline-container/inline-container.d.ts +55 -0
  257. package/dist/modules/instant-purchase/src/components/loading-spinner/loading-spinner.d.ts +2 -1
  258. package/dist/modules/instant-purchase/src/components/offer-lifecycle-timer/offer-lifecycle-timer.d.ts +2 -0
  259. package/dist/modules/instant-purchase/src/components/read-more-text-container/read-more-text-container.d.ts +1 -0
  260. package/dist/modules/instant-purchase/src/components/rich-text/factory.d.ts +2 -0
  261. package/dist/modules/instant-purchase/src/components/rich-text/rich-text.d.ts +64 -0
  262. package/dist/modules/instant-purchase/src/components/snackbar/snackbar.d.ts +25 -0
  263. package/dist/modules/instant-purchase/src/constants/device-pay-error.d.ts +4 -0
  264. package/dist/modules/instant-purchase/src/constants/device-pay-providers.d.ts +26 -0
  265. package/dist/modules/instant-purchase/src/constants/index.d.ts +2 -0
  266. package/dist/modules/instant-purchase/src/models/state/device-pay-availability.d.ts +5 -0
  267. package/dist/modules/instant-purchase/src/models/state/index.d.ts +1 -0
  268. package/dist/modules/instant-purchase/src/models/state/instant-purchase.d.ts +70 -2
  269. package/dist/modules/instant-purchase/src/reducers/device-pay-availability/index.d.ts +1 -0
  270. package/dist/modules/instant-purchase/src/reducers/device-pay-availability/reducer.d.ts +4 -0
  271. package/dist/modules/instant-purchase/src/reducers/index.d.ts +17 -2
  272. package/dist/modules/instant-purchase/src/reducers/instant-purchase/index.d.ts +3 -0
  273. package/dist/modules/instant-purchase/src/reducers/instant-purchase/offer-lifecycle-event/index.d.ts +1 -0
  274. package/dist/modules/instant-purchase/src/reducers/instant-purchase/offer-lifecycle-event/reducer.d.ts +4 -0
  275. package/dist/modules/instant-purchase/src/reducers/instant-purchase/purchase-id/index.d.ts +1 -0
  276. package/dist/modules/instant-purchase/src/reducers/instant-purchase/purchase-id/reducer.d.ts +4 -0
  277. package/dist/modules/instant-purchase/src/reducers/instant-purchase/tax-and-shipping-data-cache/index.d.ts +1 -0
  278. package/dist/modules/instant-purchase/src/reducers/instant-purchase/tax-and-shipping-data-cache/reducer.d.ts +4 -0
  279. package/dist/modules/instant-purchase/src/reducers/paypal-purchase-context/index.d.ts +2 -0
  280. package/dist/modules/instant-purchase/src/reducers/paypal-purchase-context/reducer.d.ts +5 -0
  281. package/dist/modules/instant-purchase/src/reducers/paypal-transaction-details/index.d.ts +2 -0
  282. package/dist/modules/instant-purchase/src/reducers/paypal-transaction-details/reducer.d.ts +5 -0
  283. package/dist/modules/instant-purchase/src/sagas/checkout-lifecycle/sagas.d.ts +1 -1
  284. package/dist/modules/instant-purchase/src/sagas/device-pay/index.d.ts +1 -0
  285. package/dist/modules/instant-purchase/src/sagas/device-pay/sagas.d.ts +116 -0
  286. package/dist/modules/instant-purchase/src/sagas/dismiss-overlay/index.d.ts +1 -0
  287. package/dist/modules/instant-purchase/src/sagas/dismiss-overlay/sagas.d.ts +7 -0
  288. package/dist/modules/instant-purchase/src/sagas/error-codes.d.ts +14 -0
  289. package/dist/modules/instant-purchase/src/sagas/index.d.ts +16 -1
  290. package/dist/modules/instant-purchase/src/sagas/instant-purchase/sagas.d.ts +20 -72
  291. package/dist/modules/instant-purchase/src/sagas/instant-purchase-signals.d.ts +4 -0
  292. package/dist/modules/instant-purchase/src/sagas/layout-events.d.ts +9 -0
  293. package/dist/modules/instant-purchase/src/sagas/offer-engagement.d.ts +3 -0
  294. package/dist/modules/instant-purchase/src/sagas/paypal/index.d.ts +1 -0
  295. package/dist/modules/instant-purchase/src/sagas/paypal/sagas.d.ts +83 -0
  296. package/dist/modules/instant-purchase/src/sagas/tax-and-shipping/index.d.ts +1 -0
  297. package/dist/modules/instant-purchase/src/sagas/tax-and-shipping/sagas.d.ts +50 -0
  298. package/dist/modules/instant-purchase/src/sagas/variant-action-overrides.d.ts +11 -0
  299. package/dist/modules/instant-purchase/src/selectors/creative/index.d.ts +1 -0
  300. package/dist/modules/instant-purchase/src/selectors/creative/selectors.d.ts +5 -0
  301. package/dist/modules/instant-purchase/src/selectors/device-pay-availability/index.d.ts +1 -0
  302. package/dist/modules/instant-purchase/src/selectors/device-pay-availability/selectors.d.ts +13 -0
  303. package/dist/modules/instant-purchase/src/selectors/index.d.ts +4 -0
  304. package/dist/modules/instant-purchase/src/selectors/paypal-transaction-details/index.d.ts +1 -0
  305. package/dist/modules/instant-purchase/src/selectors/paypal-transaction-details/selectors.d.ts +3 -0
  306. package/dist/modules/instant-purchase/src/selectors/tax-and-shipping/index.d.ts +1 -0
  307. package/dist/modules/instant-purchase/src/selectors/tax-and-shipping/selectors.d.ts +3 -0
  308. package/dist/modules/instant-purchase/src/utils/create-tax-and-shipping-cache-key.d.ts +4 -0
  309. package/dist/modules/layouts-xp-sandbox/src/reducers/index.d.ts +1 -1
  310. package/dist/modules/layouts-xp-sandbox/src/sagas/index.d.ts +11 -0
  311. package/dist/modules/layouts-xp-sandbox/src/sagas/offer-engagement/sagas.d.ts +1 -1
  312. package/dist/modules/standard-marketing/src/components/escape-hatch/factory.d.ts +2 -0
  313. package/dist/modules/standard-marketing/src/components/escape-hatch-checkbox/escape-hatch-checkbox.d.ts +28 -0
  314. package/dist/modules/standard-marketing/src/reducers/index.d.ts +1 -1
  315. package/dist/modules/standard-marketing/src/sagas/index.d.ts +11 -0
  316. package/dist/modules/standard-marketing/src/sagas/offer-engagement/channels.d.ts +4 -1
  317. package/dist/modules/standard-marketing/src/sagas/offer-engagement/sagas.d.ts +3 -3
  318. package/node_modules/@rokt/dcui-layout-schema/dist/schema.d.ts +4694 -117
  319. package/node_modules/@rokt/dcui-layout-schema/dist/schema.js +1 -1
  320. package/node_modules/@rokt/dcui-layout-schema/dist/tsconfig.tsbuildinfo +1 -1
  321. package/node_modules/@rokt/dcui-layout-schema/package.json +1 -1
  322. package/node_modules/@rokt/dcui-layout-schema/v0.1/index.d.ts +953 -29
  323. package/node_modules/@rokt/dcui-layout-schema/v0.1/index.js +1 -1
  324. package/node_modules/@rokt/dcui-layout-schema/v0.10/index.d.ts +1087 -35
  325. package/node_modules/@rokt/dcui-layout-schema/v0.10/index.js +1 -1
  326. package/node_modules/@rokt/dcui-layout-schema/v0.11/index.d.ts +1143 -35
  327. package/node_modules/@rokt/dcui-layout-schema/v0.11/index.js +1 -1
  328. package/node_modules/@rokt/dcui-layout-schema/v0.12/index.d.ts +1147 -35
  329. package/node_modules/@rokt/dcui-layout-schema/v0.12/index.js +1 -1
  330. package/node_modules/@rokt/dcui-layout-schema/v0.13/index.d.ts +1218 -35
  331. package/node_modules/@rokt/dcui-layout-schema/v0.13/index.js +1 -1
  332. package/node_modules/@rokt/dcui-layout-schema/v0.14/index.d.ts +1258 -37
  333. package/node_modules/@rokt/dcui-layout-schema/v0.14/index.js +1 -1
  334. package/node_modules/@rokt/dcui-layout-schema/v0.15/index.d.ts +1272 -38
  335. package/node_modules/@rokt/dcui-layout-schema/v0.15/index.js +1 -1
  336. package/node_modules/@rokt/dcui-layout-schema/v0.16/index.d.ts +1334 -38
  337. package/node_modules/@rokt/dcui-layout-schema/v0.16/index.js +1 -1
  338. package/node_modules/@rokt/dcui-layout-schema/v0.17/index.d.ts +1353 -39
  339. package/node_modules/@rokt/dcui-layout-schema/v0.17/index.js +1 -1
  340. package/node_modules/@rokt/dcui-layout-schema/v0.18/index.d.ts +1406 -39
  341. package/node_modules/@rokt/dcui-layout-schema/v0.18/index.js +1 -1
  342. package/node_modules/@rokt/dcui-layout-schema/v0.19/index.d.ts +1407 -39
  343. package/node_modules/@rokt/dcui-layout-schema/v0.19/index.js +1 -1
  344. package/node_modules/@rokt/dcui-layout-schema/v0.2/index.d.ts +1013 -33
  345. package/node_modules/@rokt/dcui-layout-schema/v0.2/index.js +1 -1
  346. package/node_modules/@rokt/dcui-layout-schema/v0.20/index.d.ts +1439 -39
  347. package/node_modules/@rokt/dcui-layout-schema/v0.20/index.js +1 -1
  348. package/node_modules/@rokt/dcui-layout-schema/v0.21/index.d.ts +1482 -39
  349. package/node_modules/@rokt/dcui-layout-schema/v0.21/index.js +1 -1
  350. package/node_modules/@rokt/dcui-layout-schema/v0.22/index.d.ts +1512 -39
  351. package/node_modules/@rokt/dcui-layout-schema/v0.22/index.js +1 -1
  352. package/node_modules/@rokt/dcui-layout-schema/v0.23/index.d.ts +1522 -40
  353. package/node_modules/@rokt/dcui-layout-schema/v0.23/index.js +1 -1
  354. package/node_modules/@rokt/dcui-layout-schema/v0.3/index.d.ts +1013 -33
  355. package/node_modules/@rokt/dcui-layout-schema/v0.3/index.js +1 -1
  356. package/node_modules/@rokt/dcui-layout-schema/v0.4/index.d.ts +1041 -33
  357. package/node_modules/@rokt/dcui-layout-schema/v0.4/index.js +1 -1
  358. package/node_modules/@rokt/dcui-layout-schema/v0.5/index.d.ts +1065 -33
  359. package/node_modules/@rokt/dcui-layout-schema/v0.5/index.js +1 -1
  360. package/node_modules/@rokt/dcui-layout-schema/v0.6/index.d.ts +1065 -33
  361. package/node_modules/@rokt/dcui-layout-schema/v0.6/index.js +1 -1
  362. package/node_modules/@rokt/dcui-layout-schema/v0.7/index.d.ts +1066 -33
  363. package/node_modules/@rokt/dcui-layout-schema/v0.7/index.js +1 -1
  364. package/node_modules/@rokt/dcui-layout-schema/v0.8/index.d.ts +1069 -33
  365. package/node_modules/@rokt/dcui-layout-schema/v0.8/index.js +1 -1
  366. package/node_modules/@rokt/dcui-layout-schema/v0.9/index.d.ts +1070 -33
  367. package/node_modules/@rokt/dcui-layout-schema/v0.9/index.js +1 -1
  368. package/node_modules/@rokt/dcui-layout-schema/v1.0/index.d.ts +1827 -59
  369. package/node_modules/@rokt/dcui-layout-schema/v1.0/index.js +1 -1
  370. package/node_modules/@rokt/dcui-layout-schema/v1.1/index.d.ts +1851 -59
  371. package/node_modules/@rokt/dcui-layout-schema/v1.1/index.js +1 -1
  372. package/node_modules/@rokt/dcui-layout-schema/v1.10/index.d.ts +5322 -0
  373. package/node_modules/@rokt/dcui-layout-schema/v1.10/index.js +4 -0
  374. package/node_modules/@rokt/dcui-layout-schema/v1.11/index.d.ts +5486 -0
  375. package/node_modules/@rokt/dcui-layout-schema/v1.11/index.js +4 -0
  376. package/node_modules/@rokt/dcui-layout-schema/v1.12/index.d.ts +5496 -0
  377. package/node_modules/@rokt/dcui-layout-schema/v1.12/index.js +4 -0
  378. package/node_modules/@rokt/dcui-layout-schema/v1.13/index.d.ts +5498 -0
  379. package/node_modules/@rokt/dcui-layout-schema/v1.13/index.js +4 -0
  380. package/node_modules/@rokt/dcui-layout-schema/v1.14/index.d.ts +5828 -0
  381. package/node_modules/@rokt/dcui-layout-schema/v1.14/index.js +4 -0
  382. package/node_modules/@rokt/dcui-layout-schema/v1.15/index.d.ts +6085 -0
  383. package/node_modules/@rokt/dcui-layout-schema/v1.15/index.js +4 -0
  384. package/node_modules/@rokt/dcui-layout-schema/v1.16/index.d.ts +6324 -0
  385. package/node_modules/@rokt/dcui-layout-schema/v1.16/index.js +4 -0
  386. package/node_modules/@rokt/dcui-layout-schema/v1.17/index.d.ts +6439 -0
  387. package/node_modules/@rokt/dcui-layout-schema/v1.17/index.js +4 -0
  388. package/node_modules/@rokt/dcui-layout-schema/v1.18/index.d.ts +6439 -0
  389. package/node_modules/@rokt/dcui-layout-schema/v1.18/index.js +4 -0
  390. package/node_modules/@rokt/dcui-layout-schema/v1.19/index.d.ts +6439 -0
  391. package/node_modules/@rokt/dcui-layout-schema/v1.19/index.js +4 -0
  392. package/node_modules/@rokt/dcui-layout-schema/v1.2/index.d.ts +1861 -59
  393. package/node_modules/@rokt/dcui-layout-schema/v1.2/index.js +1 -1
  394. package/node_modules/@rokt/dcui-layout-schema/v1.20/index.d.ts +6558 -0
  395. package/node_modules/@rokt/dcui-layout-schema/v1.20/index.js +4 -0
  396. package/node_modules/@rokt/dcui-layout-schema/v1.3/index.d.ts +1948 -59
  397. package/node_modules/@rokt/dcui-layout-schema/v1.3/index.js +1 -1
  398. package/node_modules/@rokt/dcui-layout-schema/v1.4/index.d.ts +2115 -60
  399. package/node_modules/@rokt/dcui-layout-schema/v1.4/index.js +1 -1
  400. package/node_modules/@rokt/dcui-layout-schema/v1.5/index.d.ts +2137 -60
  401. package/node_modules/@rokt/dcui-layout-schema/v1.5/index.js +1 -1
  402. package/node_modules/@rokt/dcui-layout-schema/v1.6/index.d.ts +2308 -60
  403. package/node_modules/@rokt/dcui-layout-schema/v1.6/index.js +1 -1
  404. package/node_modules/@rokt/dcui-layout-schema/v1.7/index.d.ts +2578 -68
  405. package/node_modules/@rokt/dcui-layout-schema/v1.7/index.js +1 -1
  406. package/node_modules/@rokt/dcui-layout-schema/v1.8/index.d.ts +2680 -68
  407. package/node_modules/@rokt/dcui-layout-schema/v1.8/index.js +1 -1
  408. package/node_modules/@rokt/dcui-layout-schema/v1.9/index.d.ts +5222 -0
  409. package/node_modules/@rokt/dcui-layout-schema/v1.9/index.js +4 -0
  410. package/node_modules/@rokt/partner-integration/README.md +85 -0
  411. package/node_modules/@rokt/partner-integration/dist/cart/index.barrel.d.ts +2 -0
  412. package/node_modules/@rokt/partner-integration/dist/cart/index.d.ts +3 -0
  413. package/node_modules/@rokt/partner-integration/dist/cart/v1/delete-alert-partner-message-body.d.ts +7 -0
  414. package/node_modules/@rokt/partner-integration/dist/cart/v1/events.d.ts +23 -0
  415. package/node_modules/@rokt/partner-integration/dist/cart/v1/index.d.ts +5 -0
  416. package/node_modules/@rokt/partner-integration/dist/cart/v1/update-cart-item.d.ts +48 -0
  417. package/node_modules/@rokt/partner-integration/dist/cart/v1/upsert-alert-partner-message-body.d.ts +15 -0
  418. package/node_modules/@rokt/partner-integration/dist/cart/v1/upsert-delivery-details-message-body.d.ts +12 -0
  419. package/node_modules/@rokt/partner-integration/dist/cart/v2/cart-item-updated-placement-message-body.d.ts +48 -0
  420. package/node_modules/@rokt/partner-integration/dist/cart/v2/index.d.ts +4 -0
  421. package/node_modules/@rokt/partner-integration/dist/cart/v2/partner-message.d.ts +8 -0
  422. package/node_modules/@rokt/partner-integration/dist/cart/v2/placement-message.d.ts +10 -0
  423. package/node_modules/@rokt/partner-integration/dist/cart/v2/update-cart-item-partner-message-body.d.ts +4 -0
  424. package/node_modules/@rokt/partner-integration/dist/core/events.d.ts +45 -0
  425. package/node_modules/@rokt/partner-integration/dist/core/index.d.ts +1 -0
  426. package/node_modules/@rokt/partner-integration/dist/delivery-details/delivery-details.d.ts +20 -0
  427. package/node_modules/@rokt/partner-integration/dist/delivery-details/index.barrel.d.ts +2 -0
  428. package/node_modules/@rokt/partner-integration/dist/delivery-details/index.d.ts +2 -0
  429. package/node_modules/@rokt/partner-integration/dist/delivery-details/placement-message.d.ts +10 -0
  430. package/node_modules/@rokt/partner-integration/dist/extensions/extension-mapping.d.ts +9 -0
  431. package/node_modules/@rokt/partner-integration/dist/extensions/extension.d.ts +6 -0
  432. package/node_modules/@rokt/partner-integration/dist/extensions/index.barrel.d.ts +2 -0
  433. package/node_modules/@rokt/partner-integration/dist/extensions/index.d.ts +2 -0
  434. package/node_modules/@rokt/partner-integration/dist/index.d.ts +11 -0
  435. package/node_modules/@rokt/partner-integration/dist/index.js +1 -0
  436. package/node_modules/@rokt/partner-integration/dist/instant-purchase/cart-item-instant-purchase-message-body.d.ts +6 -0
  437. package/node_modules/@rokt/partner-integration/dist/instant-purchase/cart-item-instant-purchase-response-message-body.d.ts +11 -0
  438. package/node_modules/@rokt/partner-integration/dist/instant-purchase/index.barrel.d.ts +5 -0
  439. package/node_modules/@rokt/partner-integration/dist/instant-purchase/index.d.ts +2 -0
  440. package/node_modules/@rokt/partner-integration/dist/instant-purchase/partner-message.d.ts +8 -0
  441. package/node_modules/@rokt/partner-integration/dist/instant-purchase/placement-message.d.ts +9 -0
  442. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/index.barrel.d.ts +5 -0
  443. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/index.d.ts +1 -0
  444. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/partner-message.d.ts +8 -0
  445. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/placement-message.d.ts +9 -0
  446. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item-instant-purchase-message-body.d.ts +8 -0
  447. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item-instant-purchase-response-message-body.d.ts +11 -0
  448. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item.d.ts +26 -0
  449. package/node_modules/@rokt/partner-integration/dist/journey/index.barrel.d.ts +1 -0
  450. package/node_modules/@rokt/partner-integration/dist/journey/index.d.ts +2 -0
  451. package/node_modules/@rokt/partner-integration/dist/journey/journey-extension.d.ts +39 -0
  452. package/node_modules/@rokt/partner-integration/dist/link-navigation/index.d.ts +2 -0
  453. package/node_modules/@rokt/partner-integration/dist/link-navigation/link-navigation-message.d.ts +9 -0
  454. package/node_modules/@rokt/partner-integration/dist/link-navigation/link-navigation-request-body.d.ts +3 -0
  455. package/node_modules/@rokt/partner-integration/dist/partner-validation/events.d.ts +17 -0
  456. package/node_modules/@rokt/partner-integration/dist/partner-validation/index.barrel.d.ts +4 -0
  457. package/node_modules/@rokt/partner-integration/dist/partner-validation/index.d.ts +2 -0
  458. package/node_modules/@rokt/partner-integration/dist/partner-validation/partner-validation-extension.d.ts +7 -0
  459. package/node_modules/@rokt/partner-integration/dist/partner-validation/partner-validation-status.d.ts +10 -0
  460. package/node_modules/@rokt/partner-integration/dist/partner-validation/set-partner-validation-status.d.ts +12 -0
  461. package/node_modules/@rokt/partner-integration/dist/promotions-extension/index.d.ts +2 -0
  462. package/node_modules/@rokt/partner-integration/dist/promotions-extension/realtime-conversion-promotion-events.d.ts +6 -0
  463. package/node_modules/@rokt/partner-integration/dist/promotions-extension/realtime-conversion-promotion-payload.d.ts +1 -0
  464. package/node_modules/@rokt/partner-integration/dist/thank-you-page/index.barrel.d.ts +1 -0
  465. package/node_modules/@rokt/partner-integration/dist/thank-you-page/index.d.ts +2 -0
  466. package/node_modules/@rokt/partner-integration/dist/thank-you-page/thank-you-page-extension.d.ts +22 -0
  467. package/node_modules/@rokt/partner-integration/dist/upsells-offers/index.barrel.d.ts +5 -0
  468. package/node_modules/@rokt/partner-integration/dist/upsells-offers/index.d.ts +2 -0
  469. package/node_modules/@rokt/partner-integration/dist/upsells-offers/partner-message.d.ts +9 -0
  470. package/node_modules/@rokt/partner-integration/dist/upsells-offers/placement-message.d.ts +21 -0
  471. package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsell-creative-sent-message-body.d.ts +14 -0
  472. package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsells-offer.d.ts +35 -0
  473. package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsells-offers-sent-body.d.ts +11 -0
  474. package/node_modules/@rokt/partner-integration/dist/user-action/index.barrel.d.ts +2 -0
  475. package/node_modules/@rokt/partner-integration/dist/user-action/index.d.ts +2 -0
  476. package/node_modules/@rokt/partner-integration/dist/user-action/user-action-event.d.ts +11 -0
  477. package/node_modules/@rokt/partner-integration/dist/user-action/user-action-extension.d.ts +4 -0
  478. package/node_modules/@rokt/partner-integration/package.json +34 -0
  479. package/node_modules/@rokt/plugin/bootstrap/bootstrap.d.ts +1 -2
  480. package/node_modules/@rokt/plugin/bootstrap/bootstrap.js +5 -30
  481. package/node_modules/@rokt/plugin/interface/context.d.ts +1 -0
  482. package/node_modules/@rokt/plugin/interface/display.d.ts +1 -0
  483. package/node_modules/@rokt/plugin/lib/index.barrel.d.ts +1 -14
  484. package/node_modules/@rokt/plugin/lib/index.barrel.js +1 -14
  485. package/node_modules/@rokt/plugin/lib/is-preload-frame.d.ts +1 -1
  486. package/node_modules/@rokt/plugin/lib/is-preload-frame.js +3 -1
  487. package/node_modules/@rokt/plugin/lib/plugin-instance.d.ts +13 -27
  488. package/node_modules/@rokt/plugin/lib/plugin-instance.js +1 -99
  489. package/node_modules/@rokt/plugin/package.json +15 -16
  490. package/node_modules/@rokt/plugin/standalone/standalone.d.ts +14 -2
  491. package/node_modules/@rokt/plugin/standalone/standalone.js +1 -0
  492. package/node_modules/@rokt/plugin/testing/mock-child-plugin-factory.d.ts +1 -1
  493. package/node_modules/@rokt/plugin/testing/mock-child-plugin-factory.js +2 -1
  494. package/node_modules/@rokt/plugin/testing/mock-child-plugin.d.ts +5 -5
  495. package/node_modules/@rokt/plugin/testing/mock-child-plugin.js +6 -5
  496. package/node_modules/@rokt/plugin/testing/mock-context.d.ts +18 -17
  497. package/node_modules/@rokt/plugin/testing/mock-context.js +19 -17
  498. package/node_modules/@rokt/plugin/testing/mock-display.d.ts +1 -1
  499. package/node_modules/@rokt/plugin/testing/mock-display.js +2 -1
  500. package/node_modules/@rokt/plugin/testing/mock-engine.d.ts +1 -2
  501. package/node_modules/@rokt/plugin/testing/mock-error.d.ts +1 -1
  502. package/node_modules/@rokt/plugin/testing/mock-error.js +2 -1
  503. package/node_modules/@rokt/plugin/testing/mock-function.d.ts +1 -0
  504. package/node_modules/@rokt/plugin/testing/mock-function.js +31 -0
  505. package/node_modules/@rokt/plugin/testing/mock-metrics.d.ts +4 -4
  506. package/node_modules/@rokt/plugin/testing/mock-metrics.js +5 -4
  507. package/node_modules/@rokt/plugin/testing/mock-parent-interaction.d.ts +2 -2
  508. package/node_modules/@rokt/plugin/testing/mock-parent-interaction.js +3 -2
  509. package/node_modules/@rokt/plugin/testing/mock-partner-interaction.d.ts +2 -2
  510. package/node_modules/@rokt/plugin/testing/mock-partner-interaction.js +3 -2
  511. package/node_modules/@rokt/plugin/testing/mock-rdn.d.ts +3 -3
  512. package/node_modules/@rokt/plugin/testing/mock-rdn.js +4 -3
  513. package/node_modules/@rokt/plugin/types/library-loaded.d.ts +0 -2
  514. package/node_modules/@rokt/plugin/types/library-loaded.js +0 -2
  515. package/package.json +8 -7
  516. package/dist/modules/instant-purchase/src/components/catalog-variation-selection-button/catalog-variation-selection-button.d.ts +0 -28
  517. package/node_modules/@rokt/plugin/lib/bootstrap-v1.d.ts +0 -3
  518. package/node_modules/@rokt/plugin/lib/bootstrap-v1.js +0 -9
  519. package/node_modules/@rokt/plugin/lib/child-plugin-factory.d.ts +0 -14
  520. package/node_modules/@rokt/plugin/lib/child-plugin-factory.js +0 -12
  521. package/node_modules/@rokt/plugin/lib/child-plugin.d.ts +0 -26
  522. package/node_modules/@rokt/plugin/lib/child-plugin.js +0 -81
  523. package/node_modules/@rokt/plugin/lib/context.d.ts +0 -23
  524. package/node_modules/@rokt/plugin/lib/context.js +0 -95
  525. package/node_modules/@rokt/plugin/lib/debug.d.ts +0 -19
  526. package/node_modules/@rokt/plugin/lib/debug.js +0 -36
  527. package/node_modules/@rokt/plugin/lib/display.d.ts +0 -13
  528. package/node_modules/@rokt/plugin/lib/display.js +0 -81
  529. package/node_modules/@rokt/plugin/lib/error.d.ts +0 -9
  530. package/node_modules/@rokt/plugin/lib/error.js +0 -35
  531. package/node_modules/@rokt/plugin/lib/is-inside-plugin-container.d.ts +0 -8
  532. package/node_modules/@rokt/plugin/lib/is-inside-plugin-container.js +0 -6
  533. package/node_modules/@rokt/plugin/lib/metrics.d.ts +0 -13
  534. package/node_modules/@rokt/plugin/lib/metrics.js +0 -55
  535. package/node_modules/@rokt/plugin/lib/parent-interaction.d.ts +0 -13
  536. package/node_modules/@rokt/plugin/lib/parent-interaction.js +0 -46
  537. package/node_modules/@rokt/plugin/lib/partner-interaction.d.ts +0 -11
  538. package/node_modules/@rokt/plugin/lib/partner-interaction.js +0 -35
  539. package/node_modules/@rokt/plugin/lib/plugin-runtime-connection.d.ts +0 -6
  540. package/node_modules/@rokt/plugin/lib/plugin-runtime-connection.js +0 -35
  541. package/node_modules/@rokt/plugin/lib/private-context.d.ts +0 -39
  542. package/node_modules/@rokt/plugin/lib/private-context.js +0 -76
  543. package/node_modules/@rokt/plugin/lib/rdn.d.ts +0 -15
  544. package/node_modules/@rokt/plugin/lib/rdn.js +0 -58
  545. package/node_modules/@rokt/plugin/lib/sender-receiver.d.ts +0 -5
  546. package/node_modules/@rokt/plugin/lib/sender-receiver.js +0 -1
  547. package/node_modules/@rokt/plugin/lib/theme.d.ts +0 -8
  548. package/node_modules/@rokt/plugin/lib/theme.js +0 -8
  549. package/node_modules/@rokt/plugin/lib/to-observable.d.ts +0 -4
  550. package/node_modules/@rokt/plugin/lib/to-observable.js +0 -12
  551. package/node_modules/@rokt/plugin/lib/unsafe.d.ts +0 -3
  552. package/node_modules/@rokt/plugin/lib/unsafe.js +0 -2
  553. package/node_modules/@rokt/plugin/lib/with-error-reporting.d.ts +0 -2
  554. package/node_modules/@rokt/plugin/lib/with-error-reporting.js +0 -22
  555. /package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/close-button.d.ts +0 -0
  556. /package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/index.d.ts +0 -0
  557. /package/dist/{modules/add-to-cart/src/selectors/globalOfferDataState → libraries/layout-renderer-utils/src/selectors/fired-events}/index.d.ts +0 -0
@@ -0,0 +1,4 @@
1
+ /*
2
+ Generated by typeshare 1.13.4
3
+ */
4
+ export {};
@@ -0,0 +1,85 @@
1
+ # Partner Integration
2
+
3
+ ## Style guide
4
+
5
+ ### Messages naming
6
+
7
+ #### Namespacing by feature
8
+
9
+ There is no need to namespace messages by the feature as extensions provide namespacing.
10
+
11
+ ```
12
+ ✓ UPDATE_CART_ITEM
13
+
14
+ ✘ CART_UPDATE_CART_ITEM
15
+ ```
16
+
17
+ #### Versioning
18
+
19
+ Provide version name as part of a message name. There is no need to provide version number for the initial version as other versions may never be required.
20
+
21
+ ```
22
+ ✓ UPDATE_CART_ITEM
23
+ ✓ V2_UPDATE_CART_ITEM
24
+ ✓ V3_UPDATE_CART_ITEM
25
+
26
+ ✘ V1_UPDATE_CART_ITEM
27
+ ```
28
+
29
+ #### Events vs commands
30
+
31
+ Messages should generally be split into commands and events:
32
+ - Commands ask for action to be taken. They should use the present tense.
33
+ - Events notify about the changed that occurred. They should use the past tense.
34
+
35
+ ```
36
+ // Command
37
+ ✓ UPDATE_CART_ITEM
38
+ // Event
39
+ ✓ CART_ITEM_UPDATED
40
+ ```
41
+
42
+ ### Package import structure
43
+
44
+ #### Expose messages to partners
45
+
46
+ Expose enumeration of messages for others to consume. Use message as it can contain both commands and events in one enumeration.
47
+
48
+ ```
49
+ ✓ enum PartnerMessage { (...) }
50
+ ✘ enum PartnerEvent { (...) }
51
+ ✘ enum PartnerCommand { (...) }
52
+ ```
53
+
54
+ #### Split into partner and placement
55
+
56
+ Split your messages into enumeration of partner messages (from a partner to a placement) and Placement messages (from a placement to a partner).
57
+
58
+ ```
59
+ ✓ enum PartnerMessage { (...) } for any messages generated by a partner.
60
+ ✓ enum PlacementMessage { (...) } for any messages generated by a placement.
61
+ ✘ enum PluginMessage { (...) }
62
+ ✘ enum CustomerMessage { (...) }
63
+ ```
64
+
65
+ #### Group exports by version name
66
+
67
+ ```
68
+ Package namespace
69
+ ✓ Cart.PartnerMessage.UpdateCartItem
70
+ ✓ Cart.V2.PartnerMessage.UpdateCartItem
71
+ ```
72
+
73
+ #### Provide a meaningful payload type name
74
+
75
+ Message payload name should allow to clearly identify what message it belongs to and if it is generated by a partner or a placement.
76
+
77
+ ```
78
+ // For UpdateCartItem message
79
+
80
+ ✓ type UpdateCartItemPartnerMessageBody
81
+ ✓ type UpdateCartItemPlacementMessageBody
82
+
83
+ ✘ type UpdateCartItemCustomerMessageBody
84
+ ✘ type UpdateItemPartnerMessageBody
85
+ ```
@@ -0,0 +1,2 @@
1
+ export * as V1 from './v1';
2
+ export * as V2 from './v2';
@@ -0,0 +1,3 @@
1
+ export * from './v1';
2
+ import * as Cart from './index.barrel';
3
+ export { Cart };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * DeleteAlertPartnerMessageBody is the payload for the DELETE_ALERT message sent by the Partner to the Placement.
3
+ * It is used by the Partner to delete an alert.
4
+ */
5
+ export type DeleteAlertPartnerMessageBody = {
6
+ id: string;
7
+ };
@@ -0,0 +1,23 @@
1
+ export type CartEvent = (typeof CartEvent)[keyof typeof CartEvent];
2
+ export declare const CartEvent: {
3
+ /**
4
+ * UPDATE_CART_ITEM_MESSAGE is sent to partner in case of integrating with their cart.
5
+ * Used by in-transaction placements.
6
+ */
7
+ readonly UPDATE_CART_ITEM_MESSAGE: "UPDATE_CART_ITEM_MESSAGE";
8
+ /**
9
+ * UPSERT_ALERT is a message sent by the Partner to the Placement.
10
+ * It is used by the Partner to create or update an alert.
11
+ */
12
+ readonly UPSERT_ALERT: "UPSERT_ALERT";
13
+ /**
14
+ * DELETE_ALERT is a message sent by the Partner to the Placement.
15
+ * It is used by the Partner to delete an alert.
16
+ */
17
+ readonly DELETE_ALERT: "DELETE_ALERT";
18
+ /**
19
+ * UPSERT_DELIVERY_DETAILS is a message sent by the Partner to the Placement.
20
+ * It is used by the Partner to disable an offer when an offer does not match countryCode passed from this message.
21
+ */
22
+ readonly UPSERT_DELIVERY_DETAILS: "UPSERT_DELIVERY_DETAILS";
23
+ };
@@ -0,0 +1,5 @@
1
+ export * from './events';
2
+ export * from './update-cart-item';
3
+ export * from './upsert-alert-partner-message-body';
4
+ export * from './delete-alert-partner-message-body';
5
+ export * from './upsert-delivery-details-message-body';
@@ -0,0 +1,48 @@
1
+ export type UpdateCartItemBody = {
2
+ cartItem: CartItem;
3
+ oldCartItem: CartItem;
4
+ };
5
+ export type CartItem = {
6
+ /**
7
+ * Globally unique identifier (GUID) of a cart item. This ID is unique per fresh impression of a catalog item.
8
+ * As such **it can change** on subsequent visits to the up-sale page where Rokt SDK presents items to a user.
9
+ * As usual in the case of a change to cart item Rokt will trigger [[Cart.onUpdateItem]], however in this particular case
10
+ * an updated item and an old item may have a different [[CartItem.cartItemId]].
11
+ * Please be mindful of this behaviour if you use [[CartItem.cartItemId]] value to correlate items in your cart
12
+ * to the ones provided in [[Cart.onUpdateItem]] callback.
13
+ */
14
+ cartItemId: string;
15
+ /**
16
+ * Unique identifier of a catalog item. The same catalog item is presented to different users and contrary to [[CartItem.cartItemId]]
17
+ * its value does not change between fresh impression of a catalog item. This can be thought of as SKU of a product.
18
+ */
19
+ catalogItemId: string;
20
+ /**
21
+ * Name of an item.
22
+ */
23
+ name: string;
24
+ /**
25
+ * Description of an item.
26
+ */
27
+ description: string;
28
+ /**
29
+ * Quantity of requested items.
30
+ */
31
+ quantity: number;
32
+ /**
33
+ * Price per item.
34
+ */
35
+ unitPrice: number;
36
+ /**
37
+ * Total price.
38
+ */
39
+ totalPrice: number;
40
+ /**
41
+ * ISO 4217 compliant currency code.
42
+ */
43
+ currency: string;
44
+ /**
45
+ * A JSON string containing arbitrary data provided by the item provider to pass through to the Partner.
46
+ */
47
+ providerData: string;
48
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * UpsertAlertPartnerMessageBody is the payload for the UPSERT_ALERT message sent by the Partner to the Placement.
3
+ * It is used by the Partner to create or update an alert. An optional filter can be supplied which limits when the alert is displayed.
4
+ */
5
+ export type UpsertAlertPartnerMessageBody = {
6
+ id: string;
7
+ filter?: {
8
+ cartItemIds?: Array<string>;
9
+ };
10
+ message: {
11
+ type: string;
12
+ title: string;
13
+ body: string;
14
+ };
15
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * UpsertDeliveryDetailsMessageBody is the payload for the UPSERT_DELIVERY_DETAILS message sent by the Partner to the Placement.
3
+ * It is used by the Partner to enable or disable an offer. An optional alertMessage can be supplied which shows an alert if needed
4
+ */
5
+ export type UpsertDeliveryDetailsMessageBody = {
6
+ countryCode: string;
7
+ alertMessage?: {
8
+ type: string;
9
+ title: string;
10
+ body: string;
11
+ };
12
+ };
@@ -0,0 +1,48 @@
1
+ export type UpdateCartItemPlacementMessageBody = {
2
+ cartItem: CartItem;
3
+ oldCartItem: CartItem;
4
+ };
5
+ export type CartItem = {
6
+ /**
7
+ * Globally unique identifier (GUID) of a cart item. This ID is unique per fresh impression of a catalog item.
8
+ * As such **it can change** on subsequent visits to the up-sale page where Rokt SDK presents items to a user.
9
+ * As usual in the case of a change to cart item Rokt will trigger [[Cart.onUpdateItem]], however in this particular case
10
+ * an updated item and an old item may have a different [[CartItem.cartItemId]].
11
+ * Please be mindful of this behaviour if you use [[CartItem.cartItemId]] value to correlate items in your cart
12
+ * to the ones provided in [[Cart.onUpdateItem]] callback.
13
+ */
14
+ cartItemId: string;
15
+ /**
16
+ * Unique identifier of a catalog item. The same catalog item is presented to different users and contrary to [[CartItem.cartItemId]]
17
+ * its value does not change between fresh impression of a catalog item. This can be thought of as SKU of a product.
18
+ */
19
+ catalogItemId: string;
20
+ /**
21
+ * Name of an item.
22
+ */
23
+ name: string;
24
+ /**
25
+ * Description of an item.
26
+ */
27
+ description: string;
28
+ /**
29
+ * Quantity of requested items.
30
+ */
31
+ quantity: number;
32
+ /**
33
+ * Price per item.
34
+ */
35
+ unitPrice: number;
36
+ /**
37
+ * Total price.
38
+ */
39
+ totalPrice: number;
40
+ /**
41
+ * ISO 4217 compliant currency code.
42
+ */
43
+ currency: string;
44
+ /**
45
+ * A JSON string containing arbitrary data provided by the item provider to pass through to the Partner.
46
+ */
47
+ providerData: string;
48
+ };
@@ -0,0 +1,4 @@
1
+ export * from './partner-message';
2
+ export * from './placement-message';
3
+ export * from './update-cart-item-partner-message-body';
4
+ export * from './cart-item-updated-placement-message-body';
@@ -0,0 +1,8 @@
1
+ export type PartnerMessage = (typeof PartnerMessage)[keyof typeof PartnerMessage];
2
+ export declare const PartnerMessage: {
3
+ /**
4
+ * V2_UPDATE_CART_ITEM is a message sent by the Partner to the Placement.
5
+ * It is used by the Partner to request a Placement's state synchronisation, based on the payload of the message.
6
+ */
7
+ readonly UpdateCartItem: "V2_UPDATE_CART_ITEM";
8
+ };
@@ -0,0 +1,10 @@
1
+ export type PlacementMessage = (typeof PlacementMessage)[keyof typeof PlacementMessage];
2
+ export declare const PlacementMessage: {
3
+ /**
4
+ * V2_CART_ITEM_UPDATED is a message sent by the Placement to the Partner.
5
+ * It is used by the Placement to share with the Partner that the user has changed the Placement cart's state.
6
+ * Used by in-transaction placements.
7
+ * Works the same way as event.UPDATE_CART_ITEM_MESSAGE
8
+ */
9
+ readonly CartItemUpdated: "V2_CART_ITEM_UPDATED";
10
+ };
@@ -0,0 +1,4 @@
1
+ export type UpdateCartItemPartnerMessageBody = {
2
+ cartItemId: string;
3
+ quantity: number;
4
+ };
@@ -0,0 +1,45 @@
1
+ export type CoreEvent = (typeof CoreEvent)[keyof typeof CoreEvent];
2
+ export declare const CoreEvent: {
3
+ /**
4
+ * OFFER_ENGAGEMENT describes user engaging positively or negatively with an offer.
5
+ */
6
+ readonly OFFER_ENGAGEMENT: "OFFER_ENGAGEMENT";
7
+ /**
8
+ * POSITIVE_ENGAGEMENT describes user engaging positively with an offer or catalog item..
9
+ */
10
+ readonly POSITIVE_ENGAGEMENT: "POSITIVE_ENGAGEMENT";
11
+ readonly OFFER_POSITIVE_ENGAGEMENT: "OFFER_POSITIVE_ENGAGEMENT";
12
+ /**
13
+ * PLACEMENT_CLOSED is raised when placement closes, duh.
14
+ */
15
+ readonly PLACEMENT_CLOSED: "PLACEMENT_CLOSED";
16
+ /**
17
+ * PLACEMENT_COMPLETED describes user completing journey through a single placement.
18
+ * The event may make sense only for certain layouts, e.g. One by One progression
19
+ * where it describes user seeing all offers
20
+ */
21
+ readonly PLACEMENT_COMPLETED: "PLACEMENT_COMPLETED";
22
+ /**
23
+ * PLACEMENT_INTERACTIVE describes the moment when placement has rendered and user can interact with it.
24
+ * Placement may be still loading assets at this point, e.g. images or fonts, but user can already see placement
25
+ * and interact with it.
26
+ */
27
+ readonly PLACEMENT_INTERACTIVE: "PLACEMENT_INTERACTIVE";
28
+ /**
29
+ * PLACEMENT_READY describes the moment when placement is ready to display but it has not
30
+ * rendered the content yet.
31
+ */
32
+ readonly PLACEMENT_READY: "PLACEMENT_READY";
33
+ /**
34
+ * PLACEMENT_RESIZE is raised whenever placements resizes so partner may react to
35
+ * change of the size of the placement.
36
+ *
37
+ * As native resize events it may be issued quite frequently during resize.
38
+ */
39
+ readonly PLACEMENT_RESIZE: "PLACEMENT_RESIZE";
40
+ /**
41
+ * PLACEMENT_FAILURE is raised whenever a placement encounters an error it cannot
42
+ * recover from. The placement will close thereafter.
43
+ */
44
+ readonly PLACEMENT_FAILURE: "PLACEMENT_FAILURE";
45
+ };
@@ -0,0 +1 @@
1
+ export * from './events';
@@ -0,0 +1,20 @@
1
+ export interface DeliveryDetailsData {
2
+ shipping?: Shipping;
3
+ itemDetail?: ItemDetail;
4
+ }
5
+ export interface Shipping {
6
+ firstName: string;
7
+ lastName: string;
8
+ address1: string;
9
+ address2?: string;
10
+ city: string;
11
+ state: string;
12
+ postalCode: string;
13
+ phoneNumber: string;
14
+ }
15
+ export interface ItemDetail {
16
+ cartItemId: string;
17
+ currency: string;
18
+ totalPrice: number;
19
+ providerData: string;
20
+ }
@@ -0,0 +1,2 @@
1
+ export * from './delivery-details';
2
+ export * from './placement-message';
@@ -0,0 +1,2 @@
1
+ import * as DeliveryDetails from './index.barrel';
2
+ export { DeliveryDetails };
@@ -0,0 +1,10 @@
1
+ export type PlacementMessage = typeof PlacementMessage;
2
+ export declare const PlacementMessage: {
3
+ /**
4
+ * DELIVERY_DETAILS_SENT is a message sent by the Placement to the Partner.
5
+ * It is emitted as a response to a SEND_DELIVERY_DETAILS event.
6
+ * It is emitted as a response to delivery details form submission.
7
+ * It carries a payload with the delivery details data.
8
+ */
9
+ readonly DELIVERY_DETAILS_SENT: "DELIVERY_DETAILS_SENT";
10
+ };
@@ -0,0 +1,9 @@
1
+ import { UserAction } from '../user-action';
2
+ import { PartnerValidation } from '../partner-validation';
3
+ import { ThankYouPage } from '../thank-you-page';
4
+ import { Extension } from './extension';
5
+ export type ExtensionMapping = {
6
+ [Extension.PartnerValidation]: PartnerValidation.PartnerValidationExtension;
7
+ [Extension.ThankYouPageJourney]: ThankYouPage.ThankYouPageExtension;
8
+ [Extension.UserAction]: UserAction.IUserActionExtension;
9
+ };
@@ -0,0 +1,6 @@
1
+ export type Extension = (typeof Extension)[keyof typeof Extension];
2
+ export declare const Extension: {
3
+ readonly PartnerValidation: "PartnerValidation";
4
+ readonly ThankYouPageJourney: "ThankYouPageJourney";
5
+ readonly UserAction: "UserAction";
6
+ };
@@ -0,0 +1,2 @@
1
+ export * from './extension';
2
+ export * from './extension-mapping';
@@ -0,0 +1,2 @@
1
+ import * as Extensions from './index.barrel';
2
+ export { Extensions };
@@ -0,0 +1,11 @@
1
+ export * from './cart';
2
+ export * from './core';
3
+ export * from './delivery-details';
4
+ export * from './extensions';
5
+ export * from './instant-purchase';
6
+ export * from './partner-validation';
7
+ export * from './user-action';
8
+ export * from './thank-you-page';
9
+ export * from './upsells-offers';
10
+ export * from './link-navigation';
11
+ export * from './promotions-extension';
@@ -0,0 +1 @@
1
+ const E={UPDATE_CART_ITEM_MESSAGE:"UPDATE_CART_ITEM_MESSAGE",UPSERT_ALERT:"UPSERT_ALERT",DELETE_ALERT:"DELETE_ALERT",UPSERT_DELIVERY_DETAILS:"UPSERT_DELIVERY_DETAILS"};var _=Object.freeze({__proto__:null,CartEvent:E});var T=Object.freeze({__proto__:null,PartnerMessage:{UpdateCartItem:"V2_UPDATE_CART_ITEM"},PlacementMessage:{CartItemUpdated:"V2_CART_ITEM_UPDATED"}}),A=Object.freeze({__proto__:null,V1:_,V2:T});const L={OFFER_ENGAGEMENT:"OFFER_ENGAGEMENT",POSITIVE_ENGAGEMENT:"POSITIVE_ENGAGEMENT",OFFER_POSITIVE_ENGAGEMENT:"OFFER_POSITIVE_ENGAGEMENT",PLACEMENT_CLOSED:"PLACEMENT_CLOSED",PLACEMENT_COMPLETED:"PLACEMENT_COMPLETED",PLACEMENT_INTERACTIVE:"PLACEMENT_INTERACTIVE",PLACEMENT_READY:"PLACEMENT_READY",PLACEMENT_RESIZE:"PLACEMENT_RESIZE",PLACEMENT_FAILURE:"PLACEMENT_FAILURE"};var e=Object.freeze({__proto__:null,PlacementMessage:{DELIVERY_DETAILS_SENT:"DELIVERY_DETAILS_SENT"}});var I=Object.freeze({__proto__:null,Extension:{PartnerValidation:"PartnerValidation",ThankYouPageJourney:"ThankYouPageJourney",UserAction:"UserAction"}});var a=Object.freeze({__proto__:null,PartnerMessage:{UpsellItemInstantPurchaseResponse:"UPSELL_ITEM_INSTANT_PURCHASE_RESPONSE"},PlacementMessage:{UpsellItemInstantPurchase:"UPSELL_ITEM_INSTANT_PURCHASE"}}),t=Object.freeze({__proto__:null,V2:a,PartnerMessage:{CartItemInstantPurchaseResponse:"CART_ITEM_INSTANT_PURCHASE_RESPONSE"},PlacementMessage:{CartItemInstantPurchase:"CART_ITEM_INSTANT_PURCHASE"}});var N=Object.freeze({__proto__:null,PartnerValidationEvent:{SET_PARTNER_VALIDATION_STATUS:"SET_PARTNER_VALIDATION_STATUS",OPT_IN_TO_PARTNER_VALIDATION:"OPT_IN_TO_PARTNER_VALIDATION",SHOW_PARTNER_VALIDATION_STATUS:"SHOW_PARTNER_VALIDATION_STATUS"}}),R=Object.freeze({__proto__:null});var S=Object.freeze({__proto__:null,ThankYouPageStages:{Waiting:"Waiting",ThankYouPage:"ThankYouPage",ConfirmationPage:"ConfirmationPage"}});var P=Object.freeze({__proto__:null,PartnerMessage:{SEND_UPSELLS:"SEND_UPSELLS"},PlacementMessage:{UPSELL_ENGAGEMENT:"UPSELL_ENGAGEMENT",UPSELLS_SENT:"UPSELLS_SENT",UPSELL_CREATIVE_SENT:"UPSELL_CREATIVE_SENT"}});const n={LINK_NAVIGATION_REQUEST:"LINK_NAVIGATION_REQUEST"},M={REALTIME_OFFER_FULFILLMENT_REFERRAL:"REALTIME_OFFER_FULFILLMENT_REFERRAL",REALTIME_OFFER_FULFILLMENT_CONVERSION:"REALTIME_OFFER_FULFILLMENT_CONVERSION",REALTIME_OFFER_FULFILLMENT_SUCCESS:"REALTIME_OFFER_FULFILLMENT_SUCCESS",REALTIME_OFFER_FULFILLMENT_FAILURE:"REALTIME_OFFER_FULFILLMENT_FAILURE"};export{A as Cart,E as CartEvent,L as CoreEvent,e as DeliveryDetails,I as Extensions,t as InstantPurchase,n as LinkNavigationMessage,N as PartnerValidation,M as RealtimeConversionPromotionEvents,S as ThankYouPage,P as UpsellsOffers,R as UserAction};
@@ -0,0 +1,6 @@
1
+ import { CartItem } from '../cart/v2';
2
+ export type CartItemInstantPurchaseMessageBody = {
3
+ upsellItems: Array<CartItem>;
4
+ totalUpsellPrice: number;
5
+ currency: string;
6
+ };
@@ -0,0 +1,11 @@
1
+ import { CartItem } from '../cart/v2';
2
+ export type CartItemInstantPurchaseResponseMessageBody = {
3
+ upsellItems: Array<CartItem>;
4
+ totalUpsellPrice: number;
5
+ currency: string;
6
+ paid: boolean;
7
+ orderConfirmationId?: string;
8
+ upsellConfirmationId?: string;
9
+ success: boolean;
10
+ reason?: string;
11
+ };
@@ -0,0 +1,5 @@
1
+ export * from './partner-message';
2
+ export * from './placement-message';
3
+ export * from './cart-item-instant-purchase-message-body';
4
+ export * from './cart-item-instant-purchase-response-message-body';
5
+ export * as V2 from './v2/index.barrel';
@@ -0,0 +1,2 @@
1
+ import * as InstantPurchase from './index.barrel';
2
+ export { InstantPurchase };
@@ -0,0 +1,8 @@
1
+ export type PartnerMessage = (typeof PartnerMessage)[keyof typeof PartnerMessage];
2
+ export declare const PartnerMessage: {
3
+ /**
4
+ * CART_ITEM_INSTANT_PURCHASE_RESPONSE is a message sent by the Partner which the Placement will subscribe to.
5
+ * It is used by the Partner to indicate a completed instant purchase transaction, succeeded or failed.
6
+ */
7
+ readonly CartItemInstantPurchaseResponse: "CART_ITEM_INSTANT_PURCHASE_RESPONSE";
8
+ };
@@ -0,0 +1,9 @@
1
+ export type PlacementMessage = (typeof PlacementMessage)[keyof typeof PlacementMessage];
2
+ export declare const PlacementMessage: {
3
+ /**
4
+ * CART_ITEM_INSTANT_PURCHASE is a message sent by the Placement which the Partner will subscribe to.
5
+ * It is used by the Placement to share with the Partner that the user has requested to purchase the
6
+ * cart item in the offer.
7
+ */
8
+ readonly CartItemInstantPurchase: "CART_ITEM_INSTANT_PURCHASE";
9
+ };
@@ -0,0 +1,5 @@
1
+ export * from './partner-message';
2
+ export * from './placement-message';
3
+ export * from './upsell-item';
4
+ export * from './upsell-item-instant-purchase-message-body';
5
+ export * from './upsell-item-instant-purchase-response-message-body';
@@ -0,0 +1 @@
1
+ export * from './index.barrel';
@@ -0,0 +1,8 @@
1
+ export type PartnerMessage = (typeof PartnerMessage)[keyof typeof PartnerMessage];
2
+ export declare const PartnerMessage: {
3
+ /**
4
+ * UPSELL_ITEM_INSTANT_PURCHASE_RESPONSE is a message sent by the Partner which the Placement will subscribe to.
5
+ * It is used by the Partner to indicate a completed instant purchase transaction, succeeded or failed.
6
+ */
7
+ readonly UpsellItemInstantPurchaseResponse: "UPSELL_ITEM_INSTANT_PURCHASE_RESPONSE";
8
+ };
@@ -0,0 +1,9 @@
1
+ export type PlacementMessage = (typeof PlacementMessage)[keyof typeof PlacementMessage];
2
+ export declare const PlacementMessage: {
3
+ /**
4
+ * UPSELL_ITEM_INSTANT_PURCHASE is a message sent by the Placement which the Partner will subscribe to.
5
+ * It is used by the Placement to share with the Partner that the user has requested to purchase the
6
+ * upsell item in the offer.
7
+ */
8
+ readonly UpsellItemInstantPurchase: "UPSELL_ITEM_INSTANT_PURCHASE";
9
+ };
@@ -0,0 +1,8 @@
1
+ import { UpsellItem } from './upsell-item';
2
+ export type UpsellItemInstantPurchaseMessageBody = {
3
+ upsellItems: Array<UpsellItem>;
4
+ totalPrice: number;
5
+ currency: string;
6
+ orderConfirmationId: string;
7
+ partnerData?: Record<string, unknown>;
8
+ };
@@ -0,0 +1,11 @@
1
+ import { UpsellItem } from './upsell-item';
2
+ export type UpsellItemInstantPurchaseResponseMessageBody = {
3
+ upsellItems: Array<UpsellItem>;
4
+ totalPrice: number;
5
+ currency: string;
6
+ paid: boolean;
7
+ orderConfirmationId?: string;
8
+ upsellConfirmationId?: string;
9
+ success: boolean;
10
+ reason?: string;
11
+ };
@@ -0,0 +1,26 @@
1
+ export type UpsellItem = {
2
+ /**
3
+ * Seller-side identifier for purchased item.
4
+ */
5
+ sku: string;
6
+ /**
7
+ * Quantity of purchased items.
8
+ */
9
+ quantity: number;
10
+ /**
11
+ * Price per item.
12
+ */
13
+ unitPrice: number;
14
+ /**
15
+ * Total price (unit price * quantity).
16
+ */
17
+ totalPrice: number;
18
+ /**
19
+ * ISO 4217 compliant currency code.
20
+ */
21
+ currency: string;
22
+ /**
23
+ * Optional additional data specific to given partner.
24
+ */
25
+ partnerData?: Record<string, unknown>;
26
+ };
@@ -0,0 +1 @@
1
+ export { JourneyExtension, JourneyError } from './journey-extension';
@@ -0,0 +1,2 @@
1
+ import * as Journey from './index.barrel';
2
+ export { Journey };
@@ -0,0 +1,39 @@
1
+ export type JourneyError = {
2
+ code: string;
3
+ message?: string;
4
+ };
5
+ /**
6
+ * This is the base interface for journeys. It is meant to be extended with proper Stages.
7
+ */
8
+ export interface JourneyExtension<S extends Readonly<string>> {
9
+ /**
10
+ * Indicates the extension to change to the given stage in the journey.
11
+ *
12
+ * @param stageName (Optional) Name of the journey's stage to change to.
13
+ *
14
+ * If no stageName is provided, the journey will change to the first stage in the journey path if any.
15
+ *
16
+ * @returns Promise that resolves immediately.
17
+ *
18
+ * @throws JourneyError in case the stageName is not part of the journey sequence.
19
+ */
20
+ changeToStage(stageName?: S): Promise<void>;
21
+ /**
22
+ * Add listener to changes in the journey's stage.
23
+ *
24
+ * @param stageName Name of the journey's stage
25
+ *
26
+ * @param callback Function to be executed when the stage changes
27
+ *
28
+ * When the journey changes its stage, if a callback is registered for that
29
+ * stage, it will be executed.
30
+ *
31
+ * The callback must resolve once all necessary preparations are complete to
32
+ * move to that stage.
33
+ *
34
+ * In case there is no callbacks registered for a given stage of the journey, it
35
+ * is assumed that no preparations are required for those stages,
36
+ * proceeding without waiting.
37
+ */
38
+ onStageChange(stageName: S, callback: (previousStage?: S) => Promise<boolean>): Promise<void>;
39
+ }
@@ -0,0 +1,2 @@
1
+ export * from './link-navigation-request-body';
2
+ export * from './link-navigation-message';
@@ -0,0 +1,9 @@
1
+ export type LinkNavigationMessage = typeof LinkNavigationMessage;
2
+ export declare const LinkNavigationMessage: {
3
+ /**
4
+ * LINK_NAVIGATION_REQUEST is a message sent by the plugin to the Partner
5
+ * It is only emitted when a partner sets the `overrideLinkNavigation` to true
6
+ * It carries a payload with the url for partner to navigate to
7
+ * */
8
+ readonly LINK_NAVIGATION_REQUEST: "LINK_NAVIGATION_REQUEST";
9
+ };
@@ -0,0 +1,3 @@
1
+ export type LinkNavigationRequestBody = {
2
+ url: string;
3
+ };