@rokt/dcui-orchestrator 0.0.2-rc.0 → 0.0.2-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/README.md +14 -0
  2. package/dist/extensions/loading/src/skeleton.d.ts +1 -0
  3. package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/connector.d.ts +1 -1
  4. package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/factory.d.ts +4 -3
  5. package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/hooks.d.ts +1 -0
  6. package/dist/extensions/minimized-bottomsheet/src/components/overlay/connector.d.ts +1 -1
  7. package/dist/extensions/minimized-bottomsheet/src/components/overlay/factory.d.ts +3 -2
  8. package/dist/index.cjs +22 -22
  9. package/dist/index.js +27 -27
  10. package/dist/libraries/dcui-components/src/components/basic-text/factory.d.ts +1 -0
  11. package/dist/libraries/dcui-components/src/components/catalog-quantity-option/factory.d.ts +1 -0
  12. package/dist/libraries/dcui-components/src/components/catalog-stacked-collection/factory.d.ts +1 -0
  13. package/dist/libraries/dcui-components/src/components/column/column.d.ts +1 -0
  14. package/dist/libraries/dcui-components/src/components/column/factory.d.ts +1 -0
  15. package/dist/libraries/dcui-components/src/components/creative-response/factory.d.ts +1 -0
  16. package/dist/libraries/dcui-components/src/components/data-icon/factory.d.ts +1 -0
  17. package/dist/libraries/dcui-components/src/components/data-image/factory.d.ts +1 -0
  18. package/dist/libraries/dcui-components/src/components/data-mapper/data-mapper.d.ts +2 -2
  19. package/dist/libraries/dcui-components/src/components/escape-hatch/factory.d.ts +1 -0
  20. package/dist/libraries/dcui-components/src/components/extension/escape-hatch.d.ts +1 -0
  21. package/dist/libraries/dcui-components/src/components/extension/models.d.ts +1 -0
  22. package/dist/libraries/dcui-components/src/components/flow-row/factory.d.ts +1 -0
  23. package/dist/libraries/dcui-components/src/components/flow-row/flow-row.d.ts +1 -0
  24. package/dist/libraries/dcui-components/src/components/inline-container/factory.d.ts +1 -0
  25. package/dist/libraries/dcui-components/src/components/inline-container/inline-container.d.ts +1 -0
  26. package/dist/libraries/dcui-components/src/components/node-mapper/node-mapper.d.ts +1 -1
  27. package/dist/libraries/dcui-components/src/components/rich-text/factory.d.ts +1 -0
  28. package/dist/libraries/dcui-components/src/components/row/factory.d.ts +1 -0
  29. package/dist/libraries/dcui-components/src/components/row/row.d.ts +1 -0
  30. package/dist/libraries/dcui-components/src/components/scrollable-column/factory.d.ts +1 -0
  31. package/dist/libraries/dcui-components/src/components/scrollable-column/scrollable-column.d.ts +1 -0
  32. package/dist/libraries/dcui-components/src/components/scrollable-row/factory.d.ts +1 -0
  33. package/dist/libraries/dcui-components/src/components/scrollable-row/scrollable-row.d.ts +1 -0
  34. package/dist/libraries/dcui-components/src/components/slide-state-trigger/factory.d.ts +1 -0
  35. package/dist/libraries/dcui-components/src/components/static-data-mapper/static-data-mapper.d.ts +2 -2
  36. package/dist/libraries/dcui-components/src/components/static-icon/factory.d.ts +1 -0
  37. package/dist/libraries/dcui-components/src/components/static-image/factory.d.ts +1 -0
  38. package/dist/libraries/dcui-components/src/components/static-link/factory.d.ts +1 -0
  39. package/dist/libraries/dcui-components/src/components/style-mapper/style-consumer.d.ts +2 -1
  40. package/dist/libraries/dcui-components/src/components/style-mapper/style-mapper.d.ts +2 -2
  41. package/dist/libraries/dcui-components/src/components/style-mapper/transformers/dimension-value-transformer.d.ts +9 -2
  42. package/dist/libraries/dcui-components/src/components/style-mapper/transformers/mapped-value-transformer.d.ts +9 -2
  43. package/dist/libraries/dcui-components/src/components/style-mapper/transformers/rotate-transformer.d.ts +9 -2
  44. package/dist/libraries/dcui-components/src/components/timer-state-trigger/factory.d.ts +1 -0
  45. package/dist/libraries/dcui-components/src/components/toggle-button-state-trigger/factory.d.ts +1 -0
  46. package/dist/libraries/dcui-components/src/components/when/factory.d.ts +1 -0
  47. package/dist/libraries/dcui-components/src/components/zstack/factory.d.ts +1 -0
  48. package/dist/libraries/dcui-components/src/components/zstack/zstack.d.ts +1 -0
  49. package/dist/libraries/dcui-components/src/contexts/data-mapper-context.d.ts +9 -8
  50. package/dist/libraries/dcui-components/src/contexts/global-actions-context.d.ts +1 -0
  51. package/dist/libraries/dcui-components/src/contexts/global-state-context.d.ts +1 -0
  52. package/dist/libraries/dcui-components/src/contexts/interactivity-context.d.ts +1 -0
  53. package/dist/libraries/dcui-components/src/contexts/layout-schema-type-context.d.ts +1 -0
  54. package/dist/libraries/dcui-components/src/contexts/plugin-id-context.d.ts +1 -0
  55. package/dist/libraries/dcui-components/src/contexts/position-context.d.ts +1 -0
  56. package/dist/libraries/dcui-components/src/contexts/root-element-context.d.ts +1 -0
  57. package/dist/libraries/dcui-components/src/contexts/static-data-context.d.ts +13 -12
  58. package/dist/libraries/dcui-components/src/utils/node-factories.d.ts +1 -0
  59. package/dist/libraries/domain/src/behaviors/offer-engagement.d.ts +11 -4
  60. package/dist/libraries/domain/src/behaviors/send-partner.d.ts +11 -3
  61. package/dist/libraries/domain/src/models/layout/layout-creative.d.ts +1 -1
  62. package/dist/libraries/domain/src/models/layout/layout-offer.d.ts +2 -2
  63. package/dist/libraries/domain/src/models/partner-event.d.ts +1 -1
  64. package/dist/libraries/domain/src/models/plugin/index.d.ts +1 -0
  65. package/dist/libraries/domain/src/models/plugin/plugin-conversion-type.d.ts +4 -0
  66. package/dist/libraries/domain/src/models/plugin/plugin-creative-response-option.d.ts +22 -5
  67. package/dist/libraries/domain/src/models/plugin/plugin-creative.d.ts +1 -1
  68. package/dist/libraries/domain/src/models/plugin/plugin-offer.d.ts +2 -2
  69. package/dist/libraries/layout-renderer-utils/src/actions/active.d.ts +15 -0
  70. package/dist/libraries/layout-renderer-utils/src/actions/breakpoint.d.ts +22 -0
  71. package/dist/libraries/layout-renderer-utils/src/actions/custom-states.d.ts +11 -0
  72. package/dist/libraries/layout-renderer-utils/src/actions/error.d.ts +6 -0
  73. package/dist/libraries/layout-renderer-utils/src/actions/fonts.d.ts +7 -0
  74. package/dist/libraries/layout-renderer-utils/src/actions/index.d.ts +53 -0
  75. package/dist/libraries/layout-renderer-utils/src/actions/layout.d.ts +7 -0
  76. package/dist/libraries/layout-renderer-utils/src/actions/log.d.ts +13 -0
  77. package/dist/libraries/layout-renderer-utils/src/actions/overlay.d.ts +8 -0
  78. package/dist/libraries/layout-renderer-utils/src/actions/plugin.d.ts +9 -0
  79. package/dist/libraries/layout-renderer-utils/src/actions/serializable-cache.d.ts +22 -0
  80. package/dist/libraries/layout-renderer-utils/src/actions/settings.d.ts +7 -0
  81. package/dist/libraries/layout-renderer-utils/src/actions/signal.d.ts +17 -0
  82. package/dist/libraries/layout-renderer-utils/src/components/bottom-sheet/bottom-sheet.d.ts +17 -0
  83. package/dist/libraries/layout-renderer-utils/src/components/bottom-sheet/connector.d.ts +2 -0
  84. package/dist/libraries/layout-renderer-utils/src/components/bottom-sheet/factory.d.ts +10 -0
  85. package/dist/libraries/layout-renderer-utils/src/components/bottom-sheet/index.d.ts +2 -0
  86. package/dist/libraries/layout-renderer-utils/src/components/bottom-sheet/types.d.ts +44 -0
  87. package/dist/libraries/layout-renderer-utils/src/components/close-button/close-button.d.ts +46 -0
  88. package/dist/libraries/layout-renderer-utils/src/components/close-button/factory.d.ts +3 -0
  89. package/dist/libraries/layout-renderer-utils/src/components/close-button/index.d.ts +2 -0
  90. package/dist/libraries/layout-renderer-utils/src/components/fonts-stylesheet/fonts-stylesheet.d.ts +4 -0
  91. package/dist/libraries/layout-renderer-utils/src/components/fonts-stylesheet/index.d.ts +1 -0
  92. package/dist/libraries/layout-renderer-utils/src/components/fonts-stylesheet/load-fonts.d.ts +8 -0
  93. package/dist/libraries/layout-renderer-utils/src/components/index.d.ts +4 -0
  94. package/dist/libraries/layout-renderer-utils/src/components/overlay/connector.d.ts +2 -0
  95. package/dist/libraries/layout-renderer-utils/src/components/overlay/factory.d.ts +10 -0
  96. package/dist/libraries/layout-renderer-utils/src/components/overlay/index.d.ts +2 -0
  97. package/dist/libraries/layout-renderer-utils/src/components/overlay/overlay.d.ts +19 -0
  98. package/dist/libraries/layout-renderer-utils/src/components/overlay/types.d.ts +44 -0
  99. package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/index.d.ts +1 -0
  100. package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/overlay-wrapper.d.ts +10 -0
  101. package/dist/libraries/layout-renderer-utils/src/constant.d.ts +2 -0
  102. package/dist/libraries/layout-renderer-utils/src/environment.d.ts +7 -0
  103. package/dist/libraries/layout-renderer-utils/src/index.d.ts +9 -0
  104. package/dist/libraries/layout-renderer-utils/src/models/index.d.ts +1 -0
  105. package/dist/libraries/layout-renderer-utils/src/models/state/active.d.ts +1 -0
  106. package/dist/libraries/layout-renderer-utils/src/models/state/breakpoint.d.ts +5 -0
  107. package/dist/libraries/layout-renderer-utils/src/models/state/custom-states.d.ts +5 -0
  108. package/dist/libraries/layout-renderer-utils/src/models/state/fonts.d.ts +2 -0
  109. package/dist/libraries/layout-renderer-utils/src/models/state/index.d.ts +25 -0
  110. package/dist/libraries/layout-renderer-utils/src/models/state/layout.d.ts +7 -0
  111. package/dist/libraries/layout-renderer-utils/src/models/state/serializable-cache.d.ts +1 -0
  112. package/dist/libraries/layout-renderer-utils/src/models/state/signals.d.ts +14 -0
  113. package/dist/libraries/layout-renderer-utils/src/reducers/active/index.d.ts +1 -0
  114. package/dist/libraries/layout-renderer-utils/src/reducers/active/reducer.d.ts +4 -0
  115. package/dist/libraries/layout-renderer-utils/src/reducers/breakpoint/index.d.ts +1 -0
  116. package/dist/libraries/layout-renderer-utils/src/reducers/breakpoint/reducer.d.ts +10 -0
  117. package/dist/libraries/layout-renderer-utils/src/reducers/custom-states/index.d.ts +1 -0
  118. package/dist/libraries/layout-renderer-utils/src/reducers/custom-states/reducer.d.ts +5 -0
  119. package/dist/libraries/layout-renderer-utils/src/reducers/fonts/index.d.ts +1 -0
  120. package/dist/libraries/layout-renderer-utils/src/reducers/fonts/reducer.d.ts +9 -0
  121. package/dist/libraries/layout-renderer-utils/src/reducers/index.d.ts +28 -0
  122. package/dist/libraries/layout-renderer-utils/src/reducers/layout/index.d.ts +1 -0
  123. package/dist/libraries/layout-renderer-utils/src/reducers/layout/reducer.d.ts +4 -0
  124. package/dist/libraries/layout-renderer-utils/src/reducers/serializable-cache/index.d.ts +1 -0
  125. package/dist/libraries/layout-renderer-utils/src/reducers/serializable-cache/reducer.d.ts +4 -0
  126. package/dist/libraries/layout-renderer-utils/src/reducers/settings/index.d.ts +1 -0
  127. package/dist/libraries/layout-renderer-utils/src/reducers/settings/reducer.d.ts +4 -0
  128. package/dist/libraries/layout-renderer-utils/src/reducers/signal/index.d.ts +1 -0
  129. package/dist/libraries/layout-renderer-utils/src/reducers/signal/reducer.d.ts +4 -0
  130. package/dist/libraries/layout-renderer-utils/src/sagas/breakpoint/index.d.ts +1 -0
  131. package/dist/libraries/layout-renderer-utils/src/sagas/breakpoint/sagas.d.ts +4 -0
  132. package/dist/libraries/layout-renderer-utils/src/sagas/custom-states/index.d.ts +1 -0
  133. package/dist/libraries/layout-renderer-utils/src/sagas/custom-states/sagas.d.ts +3 -0
  134. package/dist/libraries/layout-renderer-utils/src/sagas/error/error-codes.d.ts +17 -0
  135. package/dist/libraries/layout-renderer-utils/src/sagas/error/index.d.ts +2 -0
  136. package/dist/libraries/layout-renderer-utils/src/sagas/error/sagas.d.ts +6 -0
  137. package/dist/libraries/layout-renderer-utils/src/sagas/index.d.ts +11 -0
  138. package/dist/libraries/layout-renderer-utils/src/sagas/log/index.d.ts +1 -0
  139. package/dist/libraries/layout-renderer-utils/src/sagas/log/sagas.d.ts +4 -0
  140. package/dist/libraries/layout-renderer-utils/src/sagas/metric/index.d.ts +1 -0
  141. package/dist/libraries/layout-renderer-utils/src/sagas/metric/sagas.d.ts +5 -0
  142. package/dist/libraries/layout-renderer-utils/src/sagas/open-link/index.d.ts +1 -0
  143. package/dist/libraries/layout-renderer-utils/src/sagas/open-link/sagas.d.ts +8 -0
  144. package/dist/libraries/layout-renderer-utils/src/sagas/overlay/index.d.ts +1 -0
  145. package/dist/libraries/layout-renderer-utils/src/sagas/overlay/sagas.d.ts +3 -0
  146. package/dist/libraries/layout-renderer-utils/src/sagas/plugin/channels.d.ts +5 -0
  147. package/dist/libraries/layout-renderer-utils/src/sagas/plugin/index.d.ts +2 -0
  148. package/dist/libraries/layout-renderer-utils/src/sagas/plugin/sagas.d.ts +16 -0
  149. package/dist/libraries/layout-renderer-utils/src/sagas/signal/index.d.ts +1 -0
  150. package/dist/libraries/layout-renderer-utils/src/sagas/signal/sagas.d.ts +8 -0
  151. package/dist/libraries/layout-renderer-utils/src/sagas/utils/errors.d.ts +2 -0
  152. package/dist/libraries/layout-renderer-utils/src/sagas/utils/index.d.ts +16 -0
  153. package/dist/libraries/layout-renderer-utils/src/sagas/utils/links.d.ts +12 -0
  154. package/dist/libraries/layout-renderer-utils/src/sagas/utils/window.d.ts +4 -0
  155. package/dist/libraries/layout-renderer-utils/src/selectors/breakpoint/index.d.ts +1 -0
  156. package/dist/libraries/layout-renderer-utils/src/selectors/breakpoint/selectors.d.ts +16 -0
  157. package/dist/libraries/layout-renderer-utils/src/selectors/custom-state/index.d.ts +1 -0
  158. package/dist/libraries/layout-renderer-utils/src/selectors/custom-state/selectors.d.ts +7 -0
  159. package/dist/libraries/layout-renderer-utils/src/selectors/index.d.ts +3 -0
  160. package/dist/libraries/layout-renderer-utils/src/selectors/signal/index.d.ts +1 -0
  161. package/dist/libraries/layout-renderer-utils/src/selectors/signal/selectors.d.ts +4 -0
  162. package/dist/libraries/layout-renderer-utils/src/utils/index.d.ts +2 -0
  163. package/dist/libraries/layout-renderer-utils/src/utils/signals.d.ts +3 -0
  164. package/dist/libraries/layout-renderer-utils/src/utils/store-test-utils.d.ts +11 -0
  165. package/dist/libraries/orchestrator/src/components/carousel-distribution/factory.d.ts +1 -0
  166. package/dist/libraries/orchestrator/src/components/escape-hatch/factory.d.ts +1 -0
  167. package/dist/libraries/orchestrator/src/components/grouped-distribution/factory.d.ts +1 -0
  168. package/dist/libraries/orchestrator/src/components/one-by-one-distribution/factory.d.ts +1 -0
  169. package/dist/libraries/orchestrator/src/components/progress-control/factory.d.ts +1 -0
  170. package/dist/libraries/orchestrator/src/components/progress-indicator/connector.d.ts +1 -1
  171. package/dist/libraries/orchestrator/src/components/progress-indicator/factory.d.ts +1 -0
  172. package/dist/libraries/orchestrator/src/components/stacked-distribution/factory.d.ts +1 -0
  173. package/dist/libraries/orchestrator/src/global-store-proxy.d.ts +1 -1
  174. package/dist/libraries/orchestrator/src/models/state/index.d.ts +1 -1
  175. package/dist/libraries/orchestrator/src/reducers/index.d.ts +8 -8
  176. package/dist/libraries/orchestrator/src/sagas/offer-engagement/sagas.d.ts +2 -2
  177. package/dist/libraries/orchestrator/src/sagas/utils/index.d.ts +1 -1
  178. package/dist/libraries/orchestrator/src/store.d.ts +2 -2
  179. package/dist/libraries/plugin-utils/src/plugin-service/error.d.ts +1 -1
  180. package/dist/libraries/plugin-utils/src/plugin-service/rdn.d.ts +1 -1
  181. package/dist/libraries/plugin-utils/src/plugin-service/theme.d.ts +2 -2
  182. package/dist/libraries/saga-utils/src/sagas/forward-global-actions-excluding.d.ts +1 -2
  183. package/dist/libraries/saga-utils/src/utils/index.d.ts +1 -0
  184. package/dist/libraries/saga-utils/src/utils/is-realtime-fulfillment-referral.d.ts +4 -0
  185. package/dist/modules/add-to-cart/src/components/catalog-quantity-counter/factory.d.ts +1 -0
  186. package/dist/modules/add-to-cart/src/components/catalog-radio-group/factory.d.ts +1 -0
  187. package/dist/modules/add-to-cart/src/components/catalog-response-button/factory.d.ts +1 -0
  188. package/dist/modules/add-to-cart/src/components/escape-hatch/factory.d.ts +1 -0
  189. package/dist/modules/add-to-cart/src/store.d.ts +2 -2
  190. package/dist/modules/instant-purchase/src/components/catalog-response-button/factory.d.ts +1 -0
  191. package/dist/modules/instant-purchase/src/components/escape-hatch/factory.d.ts +1 -0
  192. package/dist/modules/instant-purchase/src/store.d.ts +2 -2
  193. package/dist/modules/layouts-xp-sandbox/src/components/escape-hatch/factory.d.ts +1 -0
  194. package/dist/modules/layouts-xp-sandbox/src/components/product-catalog-carousel/navigation.d.ts +2 -2
  195. package/dist/modules/layouts-xp-sandbox/src/reducers/mock/reducer.d.ts +1 -1
  196. package/dist/modules/layouts-xp-sandbox/src/store.d.ts +2 -2
  197. package/dist/modules/standard-marketing/src/reducers/mock/reducer.d.ts +1 -1
  198. package/dist/modules/standard-marketing/src/store.d.ts +2 -2
  199. package/package.json +9 -8
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeBasicText(schema: LayoutSchemaModel, testId?: string, isInline?: boolean): JSX.Element | void;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeCatalogQuantityOption(schema: LayoutSchemaModel): JSX.Element | void;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeCatalogStackedCollection(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ColumnModel, LayoutSchemaModel, WhenPredicate } from '@rokt/dcui-layout-schema';
2
3
  export interface ColumnProps<Child extends LayoutSchemaModel> {
3
4
  /**
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeColumn(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeCreativeResponse(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeDataIcon(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeDataImage(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -8,6 +8,6 @@ export type StateOnlyObject = {
8
8
  export type ExtendableDataMapper = ReturnType<typeof createDataMapper>;
9
9
  export declare function createDataMapper(data: object, namespace?: string): {
10
10
  (template: string): string;
11
- (stateObj: StateOnlyObject, namespace?: string): /*elided*/ any;
12
- (dataObj: DataObject, namespace: string): /*elided*/ any;
11
+ (stateObj: StateOnlyObject, namespace?: string): any;
12
+ (dataObj: DataObject, namespace: string): any;
13
13
  };
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeExtensionEscapeHatch(schema: LayoutSchemaModel, _testId?: string): JSX.Element | void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export type ExtensionEscapeHatchProps = {
2
3
  data: string;
3
4
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export type AppExtension = {
2
3
  name: string;
3
4
  componentFactory: (body: null | object) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeFlowRow(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FlowRowModel, LayoutSchemaModel, WhenPredicate } from '@rokt/dcui-layout-schema';
2
3
  export interface FlowRowProps<Child extends LayoutSchemaModel> {
3
4
  /**
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeInlineContainer(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InlineContainerModel, LayoutSchemaModel, WhenPredicate } from '@rokt/dcui-layout-schema';
2
3
  interface InlineContainerProps<Children extends LayoutSchemaModel> {
3
4
  /**
@@ -1,3 +1,3 @@
1
1
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
2
  import { Log } from '../../../../domain/src/models';
3
- export declare function createNodeMapper(reporter?: (log: Log) => void): (node: LayoutSchemaModel, overrides?: Partial<Record<LayoutSchemaModel["type"], (schema: LayoutSchemaModel, testId?: string) => JSX.Element | void>>, testId?: string) => JSX.Element;
3
+ export declare function createNodeMapper(reporter?: (log: Log) => void): (node: LayoutSchemaModel, overrides?: Partial<Record<"Row" | "InlineContainer" | "FlowRow" | "Column" | "ScrollableColumn" | "ScrollableRow" | "ZStack" | "StaticImage" | "DataImage" | "RichText" | "BasicText" | "ProgressIndicator" | "CreativeResponse" | "OneByOneDistribution" | "Overlay" | "BottomSheet" | "When" | "StaticLink" | "CloseButton" | "StackedDistribution" | "CarouselDistribution" | "ProgressControl" | "GroupedDistribution" | "DataIcon" | "StaticIcon" | "SlideStateTrigger" | "ToggleButtonStateTrigger" | "TimerStateTrigger" | "CatalogStackedCollection" | "CatalogResponseButton" | "CatalogQuantityOption" | "CatalogRadioGroup" | "CatalogQuantityCounter" | "EscapeHatch", (schema: LayoutSchemaModel, testId?: string) => JSX.Element | void>> | undefined, testId?: string) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeRichText(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeRow(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { RowModel, LayoutSchemaModel, WhenPredicate } from '@rokt/dcui-layout-schema';
2
3
  export interface RowProps<Child extends LayoutSchemaModel> {
3
4
  /**
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeScrollableColumn(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ScrollableChildren, ScrollableColumnModel, WhenPredicate } from '@rokt/dcui-layout-schema';
2
3
  export interface ScrollableColumnProps {
3
4
  /**
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeScrollableRow(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ScrollableChildren, ScrollableRowModel, WhenPredicate } from '@rokt/dcui-layout-schema';
2
3
  export interface ScrollableRowProps {
3
4
  /**
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeSlideStateTrigger(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -14,6 +14,6 @@ export type StaticDataValues<Obj extends {
14
14
  }, Namespace extends keyof Obj, Key extends keyof Obj[Namespace] = keyof Obj[Namespace]> = Obj[Namespace][Key];
15
15
  export type ExtendableStaticDataMapper = ReturnType<typeof createStaticDataMapper>;
16
16
  export declare function createStaticDataMapper(data: Partial<StaticDataObject>): {
17
- <Namespace extends keyof StaticDataObject>(dataKey: string, namespace: Namespace): StaticDataValues<StaticDataObject, Namespace> | undefined;
18
- (data: Partial<StaticDataObject>): /*elided*/ any;
17
+ <Namespace extends keyof StaticDataObject>(dataKey: string, namespace: Namespace): StaticDataValues<StaticDataObject, Namespace, keyof StaticDataObject[Namespace]> | undefined;
18
+ (data: Partial<StaticDataObject>): any;
19
19
  };
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeStaticIcon(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeStaticImage(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeStaticLink(schema: LayoutSchemaModel, testId?: string, isInline?: boolean): JSX.Element | void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DCUIScopeableStylingMapper } from './style-mapper';
2
3
  import { AnyStyleProperty, StyleBlockDefinition, StylesFor } from './types';
3
4
  import { ConditionalStyleTransition, LayoutStyle, WhenPredicate } from '@rokt/dcui-layout-schema';
@@ -10,7 +11,7 @@ type Styles<NodeStyles extends StyleTypeConstraint> = {
10
11
  classnames: undefined | StylesFor<NodeStyles>;
11
12
  mapperRef: DCUIScopeableStylingMapper;
12
13
  };
13
- export declare const StyleConsumer: <NodeStyles extends StyleTypeConstraint>(props: {
14
+ export declare const StyleConsumer: <NodeStyles extends StyleTypeConstraint<object>>(props: {
14
15
  styles: NodeStyles;
15
16
  children: (styles: Styles<NodeStyles>) => JSX.Element;
16
17
  }) => JSX.Element;
@@ -6,7 +6,7 @@ type StylingProperties<NodeStyles> = {
6
6
  };
7
7
  export declare const memoCreateStylingMapper: typeof createStylingMapper;
8
8
  export declare function createStylingMapper(breakpoints: Array<number>, pluginId: string, uniqueIndex?: number, container?: Node): {
9
- (scopeClass: string): /*elided*/ any;
10
- <ElementStyles extends StylingProperties<AnyStyleProperty>, TransitionStyles extends object>(schema: LayoutStyle<ElementStyles, TransitionStyles>, useOwnStates?: boolean): Record<keyof LayoutStyle<ElementStyles, TransitionStyles>["elements"], string>;
9
+ (scopeClass: string): any;
10
+ <ElementStyles extends StylingProperties<AnyStyleProperty>, TransitionStyles extends object>(schema: LayoutStyle<ElementStyles, TransitionStyles>, useOwnStates?: boolean): Record<never, string>;
11
11
  };
12
12
  export {};
@@ -1,3 +1,10 @@
1
1
  import { DimensionHeightFitValue, DimensionHeightValue, DimensionWidthFitValue, DimensionWidthValue } from '@rokt/dcui-layout-schema';
2
- import { AllCategoryStylingProperties, AllStylingProperties } from '../types';
3
- export declare function dimensionValueTransformer(allowedFitValues: Array<DimensionWidthFitValue | DimensionHeightFitValue>): <K extends keyof AllStylingProperties, K2 extends keyof AllCategoryStylingProperties<K>>(categoryKey: K, propertyKey: K2, dimensionValue: DimensionHeightValue | DimensionWidthValue | undefined | null) => string;
2
+ export declare function dimensionValueTransformer(allowedFitValues: Array<DimensionWidthFitValue | DimensionHeightFitValue>): <K extends keyof import("../types").AnyStyleProperty, K2 extends keyof Required<{
3
+ dimension?: import("@rokt/dcui-layout-schema").DimensionStylingProperties | undefined;
4
+ flexChild?: import("@rokt/dcui-layout-schema").FlexChildStylingProperties | undefined;
5
+ spacing?: import("@rokt/dcui-layout-schema").SpacingStylingProperties | undefined;
6
+ background?: import("@rokt/dcui-layout-schema").BackgroundStylingProperties | undefined;
7
+ text?: import("@rokt/dcui-layout-schema").TextStylingProperties | undefined;
8
+ border?: import("@rokt/dcui-layout-schema").BorderStylingProperties | undefined;
9
+ container?: import("@rokt/dcui-layout-schema").ContainerStylingProperties | undefined;
10
+ }>[K]>(categoryKey: K, propertyKey: K2, dimensionValue: DimensionHeightValue | DimensionWidthValue | undefined | null) => string;
@@ -1,2 +1,9 @@
1
- import { AllCategoryStylingProperties, AllStylingProperties } from '../types';
2
- export declare function mappedValueTransformer<T extends object>(valueMap: T): <K extends keyof AllStylingProperties, K2 extends keyof AllCategoryStylingProperties<K>>(categoryKey: K, propertyKey: K2, val?: keyof T | null | undefined) => string;
1
+ export declare function mappedValueTransformer<T extends object>(valueMap: T): <K extends keyof import("../types").AnyStyleProperty, K2 extends keyof Required<{
2
+ dimension?: import("@rokt/dcui-layout-schema").DimensionStylingProperties | undefined;
3
+ flexChild?: import("@rokt/dcui-layout-schema").FlexChildStylingProperties | undefined;
4
+ spacing?: import("@rokt/dcui-layout-schema").SpacingStylingProperties | undefined;
5
+ background?: import("@rokt/dcui-layout-schema").BackgroundStylingProperties | undefined;
6
+ text?: import("@rokt/dcui-layout-schema").TextStylingProperties | undefined;
7
+ border?: import("@rokt/dcui-layout-schema").BorderStylingProperties | undefined;
8
+ container?: import("@rokt/dcui-layout-schema").ContainerStylingProperties | undefined;
9
+ }>[K]>(categoryKey: K, propertyKey: K2, val?: keyof T | null | undefined) => string;
@@ -1,3 +1,10 @@
1
- import { AllCategoryStylingProperties, AllStylingProperties } from '../types';
2
1
  export type Axis = 'X' | 'Y' | 'Z';
3
- export declare function rotateTransformer(axis: Axis): <K extends keyof AllStylingProperties, K2 extends keyof AllCategoryStylingProperties<K>>(categoryKey: K, propertyKey: K2, value: unknown) => string;
2
+ export declare function rotateTransformer(axis: Axis): <K extends keyof import("../types").AnyStyleProperty, K2 extends keyof Required<{
3
+ dimension?: import("@rokt/dcui-layout-schema").DimensionStylingProperties | undefined;
4
+ flexChild?: import("@rokt/dcui-layout-schema").FlexChildStylingProperties | undefined;
5
+ spacing?: import("@rokt/dcui-layout-schema").SpacingStylingProperties | undefined;
6
+ background?: import("@rokt/dcui-layout-schema").BackgroundStylingProperties | undefined;
7
+ text?: import("@rokt/dcui-layout-schema").TextStylingProperties | undefined;
8
+ border?: import("@rokt/dcui-layout-schema").BorderStylingProperties | undefined;
9
+ container?: import("@rokt/dcui-layout-schema").ContainerStylingProperties | undefined;
10
+ }>[K]>(categoryKey: K, propertyKey: K2, value: unknown) => string;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeTimerStateTrigger(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeToggleButtonStateTrigger(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeWhen(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function tryMakeZStack(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel, WhenPredicate, ZStackModel } from '@rokt/dcui-layout-schema';
2
3
  export interface ZStackProps<Child extends LayoutSchemaModel> {
3
4
  /**
@@ -1,20 +1,21 @@
1
+ /// <reference types="react" />
1
2
  export declare const DataMapperContext: import("react").Context<{
2
3
  (template: string): string;
3
- (stateObj: import("..").StateOnlyObject, namespace?: string): /*elided*/ any;
4
- (dataObj: import("..").DataObject, namespace: string): /*elided*/ any;
4
+ (stateObj: import("../components/data-mapper/data-mapper").StateOnlyObject, namespace?: string | undefined): any;
5
+ (dataObj: import("../components/data-mapper/data-mapper").DataObject, namespace: string): any;
5
6
  }>;
6
7
  export declare const DataMapperConsumer: import("react").Consumer<{
7
8
  (template: string): string;
8
- (stateObj: import("..").StateOnlyObject, namespace?: string): /*elided*/ any;
9
- (dataObj: import("..").DataObject, namespace: string): /*elided*/ any;
9
+ (stateObj: import("../components/data-mapper/data-mapper").StateOnlyObject, namespace?: string | undefined): any;
10
+ (dataObj: import("../components/data-mapper/data-mapper").DataObject, namespace: string): any;
10
11
  }>;
11
12
  export declare const DataMapperProvider: import("react").Provider<{
12
13
  (template: string): string;
13
- (stateObj: import("..").StateOnlyObject, namespace?: string): /*elided*/ any;
14
- (dataObj: import("..").DataObject, namespace: string): /*elided*/ any;
14
+ (stateObj: import("../components/data-mapper/data-mapper").StateOnlyObject, namespace?: string | undefined): any;
15
+ (dataObj: import("../components/data-mapper/data-mapper").DataObject, namespace: string): any;
15
16
  }>;
16
17
  export declare const useDataMapper: () => {
17
18
  (template: string): string;
18
- (stateObj: import("..").StateOnlyObject, namespace?: string): /*elided*/ any;
19
- (dataObj: import("..").DataObject, namespace: string): /*elided*/ any;
19
+ (stateObj: import("../components/data-mapper/data-mapper").StateOnlyObject, namespace?: string | undefined): any;
20
+ (dataObj: import("../components/data-mapper/data-mapper").DataObject, namespace: string): any;
20
21
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GlobalActions } from '../../../domain/src/behaviors';
2
3
  export declare const GlobalActionsContext: import("react").Context<(action: GlobalActions) => void>;
3
4
  export declare const useGlobalActions: () => (action: GlobalActions) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GlobalState } from '../../../domain/src/models';
2
3
  type StateProvider = GlobalState | null;
3
4
  export declare const GlobalStateContext: import("react").Context<StateProvider>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Interactivity } from '../../../domain/src/models';
2
3
  export declare const InteractivityContext: import("react").Context<Interactivity>;
3
4
  export declare const useInteractivity: () => Interactivity;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type LayoutSchemaType = 'OUTER' | 'CHILD' | 'VARIANT';
2
3
  export declare const LayoutSchemaTypeContext: import("react").Context<LayoutSchemaType>;
3
4
  export declare const useIsOuterLayout: () => boolean;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  export declare const PluginIdContext: import("react").Context<string>;
2
3
  export declare const usePluginId: () => string;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  export declare const PositionContext: import("react").Context<number | undefined>;
2
3
  export declare const usePositionContext: () => number | undefined;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  export declare const RootElementContext: import("react").Context<Node | null>;
2
3
  export declare const useRootElementContext: () => Node | null;
@@ -1,21 +1,22 @@
1
+ /// <reference types="react" />
1
2
  export declare const StaticDataMapperContext: import("react").Context<{
2
- <Namespace extends keyof import("..").StaticDataObject>(dataKey: string, namespace: Namespace): import("..").StaticDataValues<import("..").StaticDataObject, Namespace> | undefined;
3
- (data: Partial<import("..").StaticDataObject>): /*elided*/ any;
3
+ <Namespace extends keyof import("../components/static-data-mapper/static-data-mapper").StaticDataObject>(dataKey: string, namespace: Namespace): import("../components/static-data-mapper/static-data-mapper").StaticDataValues<import("../components/static-data-mapper/static-data-mapper").StaticDataObject, Namespace, keyof import("../components/static-data-mapper/static-data-mapper").StaticDataObject[Namespace]> | undefined;
4
+ (data: Partial<import("../components/static-data-mapper/static-data-mapper").StaticDataObject>): any;
4
5
  }>;
5
6
  export declare const StaticDataMapperConsumer: import("react").Consumer<{
6
- <Namespace extends keyof import("..").StaticDataObject>(dataKey: string, namespace: Namespace): import("..").StaticDataValues<import("..").StaticDataObject, Namespace> | undefined;
7
- (data: Partial<import("..").StaticDataObject>): /*elided*/ any;
7
+ <Namespace extends keyof import("../components/static-data-mapper/static-data-mapper").StaticDataObject>(dataKey: string, namespace: Namespace): import("../components/static-data-mapper/static-data-mapper").StaticDataValues<import("../components/static-data-mapper/static-data-mapper").StaticDataObject, Namespace, keyof import("../components/static-data-mapper/static-data-mapper").StaticDataObject[Namespace]> | undefined;
8
+ (data: Partial<import("../components/static-data-mapper/static-data-mapper").StaticDataObject>): any;
8
9
  }>;
9
10
  export declare const StaticDataMapperProvider: import("react").Provider<{
10
- <Namespace extends keyof import("..").StaticDataObject>(dataKey: string, namespace: Namespace): import("..").StaticDataValues<import("..").StaticDataObject, Namespace> | undefined;
11
- (data: Partial<import("..").StaticDataObject>): /*elided*/ any;
11
+ <Namespace extends keyof import("../components/static-data-mapper/static-data-mapper").StaticDataObject>(dataKey: string, namespace: Namespace): import("../components/static-data-mapper/static-data-mapper").StaticDataValues<import("../components/static-data-mapper/static-data-mapper").StaticDataObject, Namespace, keyof import("../components/static-data-mapper/static-data-mapper").StaticDataObject[Namespace]> | undefined;
12
+ (data: Partial<import("../components/static-data-mapper/static-data-mapper").StaticDataObject>): any;
12
13
  }>;
13
- export declare const useImageMapper: (imageKey: string) => import("../../../domain/src/models").PluginImage | undefined;
14
- export declare const useIconMapper: (iconKey: string) => import("../../../domain/src/models").PluginCreativeIcon | undefined;
15
- export declare const useLinkMapper: (linkKey: string) => import("../../../domain/src/models").PluginCreativeLink | undefined;
14
+ export declare const useImageMapper: (imageKey: string) => import("@rokt/domain/src/models").PluginImage | undefined;
15
+ export declare const useIconMapper: (iconKey: string) => import("@rokt/domain/src/models").PluginCreativeIcon | undefined;
16
+ export declare const useLinkMapper: (linkKey: string) => import("@rokt/domain/src/models").PluginCreativeLink | undefined;
16
17
  export declare const useCopyMapper: (copyKey: string) => string | undefined;
17
- export declare const useResponseOptionsMapper: (responseOptionKey: string) => import("../../../domain/src/models").PluginCreativeResponseOption | undefined;
18
+ export declare const useResponseOptionsMapper: (responseOptionKey: string) => import("@rokt/domain/src/models").PluginCreativeResponseOption | undefined;
18
19
  export declare const useStaticDataMapper: () => {
19
- <Namespace extends keyof import("..").StaticDataObject>(dataKey: string, namespace: Namespace): import("..").StaticDataValues<import("..").StaticDataObject, Namespace> | undefined;
20
- (data: Partial<import("..").StaticDataObject>): /*elided*/ any;
20
+ <Namespace extends keyof import("../components/static-data-mapper/static-data-mapper").StaticDataObject>(dataKey: string, namespace: Namespace): import("../components/static-data-mapper/static-data-mapper").StaticDataValues<import("../components/static-data-mapper/static-data-mapper").StaticDataObject, Namespace, keyof import("../components/static-data-mapper/static-data-mapper").StaticDataObject[Namespace]> | undefined;
21
+ (data: Partial<import("../components/static-data-mapper/static-data-mapper").StaticDataObject>): any;
21
22
  };
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
3
  export declare function combineNodeFactories(factories: Array<(schema: LayoutSchemaModel) => JSX.Element | void>): (schema: LayoutSchemaModel) => JSX.Element | void;
@@ -1,4 +1,4 @@
1
- import { Fulfillment, PluginCreativeCommonResponseOption, PluginCreativeFulfillmentResponseOption, PluginCreativeExternalResponseOption } from '../models';
1
+ import { Fulfillment, PluginCreativeFulfillmentResponseOption, PluginCreativeExternalResponseOption, PluginCreativeCaptureOnlyResponseOption, PluginCreativeUrlResponseOption } from '../models';
2
2
  export declare const OFFER_ENGAGEMENT = "GLOBAL/OFFER_ENGAGEMENT";
3
3
  export interface OfferEngagement {
4
4
  type: typeof OFFER_ENGAGEMENT;
@@ -12,9 +12,16 @@ export interface OfferEngagementFulfillmentPayload {
12
12
  responseOption: PluginCreativeFulfillmentResponseOption;
13
13
  fulfillment: Fulfillment;
14
14
  }
15
- export type OfferEngagementCommonPayload = PluginCreativeCommonResponseOption;
15
+ export interface OfferEngagementUrlPayload extends PluginCreativeUrlResponseOption {
16
+ accountID: string;
17
+ referralCreativeID?: string;
18
+ }
19
+ export type OfferEngagementCaptureOnlyPayload = PluginCreativeCaptureOnlyResponseOption;
16
20
  export type OfferEngagementExternalPayload = PluginCreativeExternalResponseOption;
17
- export type OfferEngagementPayload = OfferEngagementFulfillmentPayload | OfferEngagementCommonPayload | OfferEngagementExternalPayload;
21
+ export type OfferEngagementPayload = OfferEngagementFulfillmentPayload | OfferEngagementUrlPayload | OfferEngagementCaptureOnlyPayload | OfferEngagementExternalPayload;
18
22
  export declare function isFulfillmentPayload(value: unknown): value is OfferEngagementFulfillmentPayload;
19
23
  export declare function isExternalPayload(value: unknown): value is OfferEngagementExternalPayload;
20
- export declare function isCommonPayload(value: unknown): value is OfferEngagementCommonPayload;
24
+ export declare function isUrlPayload(value: unknown): value is OfferEngagementUrlPayload;
25
+ export declare function isCaptureOnlyPayload(value: unknown): value is OfferEngagementCaptureOnlyPayload;
26
+ export declare function makeCaptureOnlyOfferEngagementPayload(offerPayload?: Partial<OfferEngagementCaptureOnlyPayload>): OfferEngagementCaptureOnlyPayload;
27
+ export declare function makeUrlOfferEngagementPayload(offerPayload?: Partial<OfferEngagementUrlPayload>): OfferEngagementUrlPayload;
@@ -4,13 +4,21 @@ export type OutboundInstantPurchaseEventPayload = {
4
4
  name: 'CART_ITEM_INSTANT_PURCHASE';
5
5
  body: Record<string, PluginCartItem | null>;
6
6
  };
7
+ export type OutboundRealtimeOfferFulfillmentReferralEventPayload = {
8
+ name: 'REALTIME_OFFER_FULFILLMENT_REFERRAL';
9
+ body: {
10
+ rclid: string;
11
+ accountID: string;
12
+ referralCreativeID: string;
13
+ };
14
+ };
7
15
  export type OutboundUpdateCartEventPayload = {
8
16
  name: 'V2_CART_ITEM_UPDATED';
9
17
  body: Record<string, PluginCartItem | null>;
10
18
  };
11
- export interface OutboundPartnerEventPayload<EventType extends OutboundPartnerEvent> {
12
- name: Exclude<EventType, 'V2_CART_ITEM_UPDATED' | 'CART_ITEM_INSTANT_PURCHASE'>;
13
- }
19
+ export type OutboundPartnerEventPayload<EventType extends OutboundPartnerEvent> = EventType extends 'REALTIME_OFFER_FULFILLMENT_REFERRAL' ? OutboundRealtimeOfferFulfillmentReferralEventPayload : EventType extends 'V2_CART_ITEM_UPDATED' | 'CART_ITEM_INSTANT_PURCHASE' ? never : {
20
+ name: EventType;
21
+ };
14
22
  export type SendPartner<EventType extends OutboundPartnerEvent> = {
15
23
  type: typeof SEND_PARTNER;
16
24
  payload: OutboundPartnerEventPayload<EventType> | OutboundUpdateCartEventPayload | OutboundInstantPurchaseEventPayload;
@@ -5,7 +5,7 @@ import { LayoutCreativeLink } from './layout-creative-link';
5
5
  import { LayoutCreativeResponseOption } from './layout-creative-response-option';
6
6
  export interface LayoutCreative {
7
7
  instanceGuid: string;
8
- referralCreativeId?: number;
8
+ referralCreativeId?: string;
9
9
  icons: Record<string, LayoutCreativeIcon>;
10
10
  responseOptionsMap: Record<string, LayoutCreativeResponseOption>;
11
11
  copy: Record<string, string>;
@@ -1,8 +1,8 @@
1
1
  import { LayoutCreative } from './layout-creative';
2
2
  import { LayoutCatalogItem } from './layout-catalog-item';
3
3
  export interface LayoutOffer {
4
- campaignId: number;
5
- accountId: number;
4
+ campaignId: string;
5
+ accountId: string;
6
6
  maxTotalItemsQtyInOffer: number;
7
7
  creative: LayoutCreative;
8
8
  metadata: Record<string, string>;
@@ -1,5 +1,5 @@
1
1
  export type CatalogOutboundPartnerEvent = 'V2_CART_ITEM_UPDATED' | 'CART_ITEM_INSTANT_PURCHASE';
2
- export type OfferOutboundPartnerEvent = CatalogOutboundPartnerEvent | 'OFFER_ENGAGEMENT' | 'POSITIVE_ENGAGEMENT';
2
+ export type OfferOutboundPartnerEvent = CatalogOutboundPartnerEvent | 'OFFER_ENGAGEMENT' | 'POSITIVE_ENGAGEMENT' | 'REALTIME_OFFER_FULFILLMENT_REFERRAL';
3
3
  export type OutboundPartnerEvent = OfferOutboundPartnerEvent | 'PLACEMENT_CLOSED' | 'PLACEMENT_COMPLETED' | 'PLACEMENT_INTERACTIVE' | 'PLACEMENT_FAILURE';
4
4
  export declare function isOutboundPartnerEvent(value: unknown): value is OutboundPartnerEvent;
5
5
  export declare function isOfferOutboundPartnerEvent(value: unknown): value is OfferOutboundPartnerEvent;
@@ -14,3 +14,4 @@ export * from './plugin-catalog-item';
14
14
  export * from './plugin-cart-item';
15
15
  export * from './plugin-static-data';
16
16
  export * from './plugin-child-layout-model';
17
+ export * from './plugin-conversion-type';
@@ -0,0 +1,4 @@
1
+ export declare const enum PluginConversionType {
2
+ Default = "Default",
3
+ RealTime = "RealTime"
4
+ }
@@ -1,7 +1,8 @@
1
+ import { PluginConversionType } from './plugin-conversion-type';
1
2
  import { PluginCreativeResponseActionType } from './plugin-creative-response-action-type';
2
3
  import { PluginSignalType } from './plugin-signal-type';
3
4
  import { PluginUrlBehavior } from './plugin-url-behavior';
4
- export type PluginCreativeResponseOption = PluginCreativeFulfillmentResponseOption | PluginCreativeCommonResponseOption | PluginCreativeExternalResponseOption;
5
+ export type PluginCreativeResponseOption = PluginCreativeFulfillmentResponseOption | PluginCreativeUrlResponseOption | PluginCreativeCaptureOnlyResponseOption | PluginCreativeExternalResponseOption;
5
6
  export interface PluginCreativeFulfillmentResponseOption {
6
7
  id: string;
7
8
  action: PluginCreativeResponseActionType.Fulfillment;
@@ -14,9 +15,23 @@ export interface PluginCreativeFulfillmentResponseOption {
14
15
  url?: string;
15
16
  urlBehavior?: PluginUrlBehavior;
16
17
  }
17
- export interface PluginCreativeCommonResponseOption {
18
+ export interface PluginCreativeUrlResponseOption {
18
19
  id: string;
19
- action: PluginCreativeResponseActionType.CaptureOnly | PluginCreativeResponseActionType.Url;
20
+ action: PluginCreativeResponseActionType.Url;
21
+ instanceGuid: string;
22
+ signalType: PluginSignalType;
23
+ shortLabel: string;
24
+ longLabel?: string;
25
+ shortSuccessLabel?: string;
26
+ isPositive: boolean;
27
+ url?: string;
28
+ urlBehavior?: PluginUrlBehavior;
29
+ conversionType?: PluginConversionType;
30
+ rclid?: string;
31
+ }
32
+ export interface PluginCreativeCaptureOnlyResponseOption {
33
+ id: string;
34
+ action: PluginCreativeResponseActionType.CaptureOnly;
20
35
  instanceGuid: string;
21
36
  signalType: PluginSignalType;
22
37
  shortLabel: string;
@@ -35,10 +50,12 @@ export interface PluginCreativeExternalResponseOption {
35
50
  externalKey?: string;
36
51
  }
37
52
  export declare function makePluginResponseOption(data?: Partial<PluginCreativeResponseOption>): PluginCreativeResponseOption;
38
- export declare function makeCommonPluginResponseOption(data?: Partial<PluginCreativeCommonResponseOption>): PluginCreativeCommonResponseOption;
53
+ export declare function makeUrlPluginResponseOption(data?: Partial<PluginCreativeUrlResponseOption>): PluginCreativeUrlResponseOption;
54
+ export declare function makeCaptureOnlyPluginResponseOption(data?: Partial<PluginCreativeCaptureOnlyResponseOption>): PluginCreativeCaptureOnlyResponseOption;
39
55
  export declare function makeFulfillmentPluginResponseOption(data?: Partial<PluginCreativeFulfillmentResponseOption>): PluginCreativeFulfillmentResponseOption;
40
56
  export declare function makeExternalPluginResponseOption(data?: Partial<PluginCreativeExternalResponseOption>): PluginCreativeExternalResponseOption;
41
57
  export declare function isResponse(value: unknown): value is PluginCreativeResponseOption;
42
58
  export declare function isFulfillmentResponseOption(value: unknown): value is PluginCreativeFulfillmentResponseOption;
43
- export declare function isCommonResponseOption(value: unknown): value is PluginCreativeCommonResponseOption;
59
+ export declare function isUrlResponseOption(value: unknown): value is PluginCreativeUrlResponseOption;
60
+ export declare function isCaptureOnlyResponseOption(value: unknown): value is PluginCreativeCaptureOnlyResponseOption;
44
61
  export declare function isExternalResponseOption(value: unknown): value is PluginCreativeExternalResponseOption;
@@ -5,7 +5,7 @@ import { PluginCreativeLink } from './plugin-creative-link';
5
5
  import { PluginCreativeResponseOption } from './plugin-creative-response-option';
6
6
  export interface PluginCreative {
7
7
  instanceGuid: string;
8
- referralCreativeId?: number;
8
+ referralCreativeId?: string;
9
9
  icons: Record<string, PluginCreativeIcon>;
10
10
  responseOptionsMap: Record<string, PluginCreativeResponseOption>;
11
11
  copy: Record<string, string>;
@@ -1,8 +1,8 @@
1
1
  import { PluginCreative } from './plugin-creative';
2
2
  import { PluginCatalogItem } from './plugin-catalog-item';
3
3
  export interface PluginOffer {
4
- campaignId: number;
5
- accountId: number;
4
+ campaignId: string;
5
+ accountId: string;
6
6
  maxTotalItemsQtyInOffer: number;
7
7
  creative: PluginCreative;
8
8
  metadata: Record<string, string>;
@@ -0,0 +1,15 @@
1
+ export declare const ACTIVE_ADD: "ACTIVE/ADD";
2
+ export type ActiveAddAction = {
3
+ type: typeof ACTIVE_ADD;
4
+ payload: {
5
+ id: string;
6
+ };
7
+ };
8
+ export declare const ACTIVE_DELETE: "ACTIVE/DELETE";
9
+ export type ActiveDeleteAction = {
10
+ type: typeof ACTIVE_DELETE;
11
+ payload: {
12
+ id: string;
13
+ };
14
+ };
15
+ export type ActiveStateActions = ActiveAddAction | ActiveDeleteAction;