@rokt/dcui-orchestrator 0.0.4-rc.8 → 0.1.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 (94) hide show
  1. package/dist/index.cjs +23 -23
  2. package/dist/index.js +23 -23
  3. package/dist/libraries/dcui-components/src/components/button-state-trigger/button-state-trigger.d.ts +6 -0
  4. package/dist/libraries/dcui-components/src/components/button-state-trigger/factory.d.ts +2 -0
  5. package/dist/libraries/dcui-components/src/components/button-state-trigger/index.d.ts +2 -0
  6. package/dist/libraries/dcui-components/src/contexts/browser-support-context.d.ts +7 -0
  7. package/dist/libraries/dcui-components/src/contexts/index.d.ts +1 -0
  8. package/dist/libraries/dcui-components/src/contexts/root-element-context.d.ts +2 -2
  9. package/dist/libraries/domain/src/behaviors/offer-engagement.d.ts +6 -0
  10. package/dist/libraries/domain/src/behaviors/send-partner.d.ts +8 -3
  11. package/dist/libraries/domain/src/models/index.d.ts +1 -0
  12. package/dist/libraries/domain/src/models/layout/layout-conversion-type.d.ts +2 -1
  13. package/dist/libraries/domain/src/models/layout/layout-creative-response-action-type.d.ts +1 -1
  14. package/dist/libraries/domain/src/models/layout/layout-creative-response-option.d.ts +3 -1
  15. package/dist/libraries/domain/src/models/partner-event.d.ts +1 -1
  16. package/dist/libraries/domain/src/models/plugin/plugin-conversion-type.d.ts +2 -1
  17. package/dist/libraries/domain/src/models/plugin/plugin-creative-response-action-type.d.ts +1 -1
  18. package/dist/libraries/domain/src/models/plugin/plugin-creative-response-option.d.ts +7 -1
  19. package/dist/libraries/domain/src/models/purchase.d.ts +37 -0
  20. package/dist/libraries/domain/src/models/signals.d.ts +8 -2
  21. package/dist/libraries/module-connector/src/models/module-attributes.d.ts +1 -0
  22. package/dist/libraries/module-connector/src/models/module-connector-builder.d.ts +1 -0
  23. package/dist/libraries/orchestrator/src/components/slot/slot.d.ts +1 -0
  24. package/dist/libraries/orchestrator/src/models/state/global-offer-data-state.d.ts +1 -6
  25. package/dist/libraries/orchestrator/src/selectors/global-offer-data-state/selectors.d.ts +3 -0
  26. package/dist/libraries/plugin-utils/src/error-codes.d.ts +1 -0
  27. package/dist/libraries/plugin-utils/src/translate-config.d.ts +2 -1
  28. package/dist/modules/add-to-cart/src/models/state/appSettingsOfferState.d.ts +8 -0
  29. package/dist/modules/add-to-cart/src/models/state/index.d.ts +1 -0
  30. package/dist/modules/add-to-cart/src/reducers/cart/index.d.ts +1 -0
  31. package/dist/modules/add-to-cart/src/reducers/cart/reducer.d.ts +2 -2
  32. package/dist/modules/add-to-cart/src/reducers/index.d.ts +1 -0
  33. package/dist/modules/instant-purchase/src/actions/catalog-selection.d.ts +7 -2
  34. package/dist/modules/instant-purchase/src/actions/checkout-lifecycle.d.ts +21 -0
  35. package/dist/modules/instant-purchase/src/actions/index.d.ts +1 -0
  36. package/dist/modules/instant-purchase/src/actions/instant-purchase.d.ts +34 -1
  37. package/dist/modules/instant-purchase/src/channels/channel.d.ts +7 -1
  38. package/dist/modules/instant-purchase/src/components/catalog-combined-collection/catalog-combined-collection.d.ts +1 -19
  39. package/dist/modules/instant-purchase/src/components/catalog-combined-collection/factory.d.ts +2 -0
  40. package/dist/modules/instant-purchase/src/components/catalog-combined-collection/index.d.ts +2 -0
  41. package/dist/modules/instant-purchase/src/components/{image-gallery/image-gallery.d.ts → catalog-image-gallery/catalog-image-gallery.d.ts} +10 -11
  42. package/dist/modules/instant-purchase/src/components/checkout-state-button-trigger/checkout-state-button-trigger.d.ts +68 -0
  43. package/dist/modules/instant-purchase/src/components/loading-spinner/loading-spinner.d.ts +36 -0
  44. package/dist/modules/instant-purchase/src/components/offer-lifecycle-timer/offer-lifecycle-timer.d.ts +24 -0
  45. package/dist/modules/instant-purchase/src/reducers/index.d.ts +3 -1
  46. package/dist/modules/instant-purchase/src/sagas/checkout-lifecycle/index.d.ts +1 -0
  47. package/dist/modules/instant-purchase/src/sagas/checkout-lifecycle/sagas.d.ts +4 -0
  48. package/dist/modules/instant-purchase/src/sagas/error-codes.d.ts +8 -3
  49. package/dist/modules/instant-purchase/src/sagas/index.d.ts +2 -1
  50. package/dist/modules/instant-purchase/src/sagas/instant-purchase/sagas.d.ts +44 -5
  51. package/dist/modules/instant-purchase/src/selectors/catalogItems/index.d.ts +1 -0
  52. package/dist/modules/instant-purchase/src/selectors/catalogItems/selectors.d.ts +4 -0
  53. package/dist/modules/instant-purchase/src/selectors/index.d.ts +1 -0
  54. package/dist/modules/standard-marketing/src/sagas/offer-engagement/sagas.d.ts +1 -1
  55. package/node_modules/@rokt/dcui-layout-schema/dist/schema.d.ts +190 -7
  56. package/node_modules/@rokt/dcui-layout-schema/dist/schema.js +1 -1
  57. package/node_modules/@rokt/dcui-layout-schema/dist/tsconfig.tsbuildinfo +1 -1
  58. package/node_modules/@rokt/dcui-layout-schema/package.json +1 -1
  59. package/node_modules/@rokt/dcui-layout-schema/v0.1/index.js +1 -1
  60. package/node_modules/@rokt/dcui-layout-schema/v0.10/index.js +1 -1
  61. package/node_modules/@rokt/dcui-layout-schema/v0.11/index.js +1 -1
  62. package/node_modules/@rokt/dcui-layout-schema/v0.12/index.js +1 -1
  63. package/node_modules/@rokt/dcui-layout-schema/v0.13/index.js +1 -1
  64. package/node_modules/@rokt/dcui-layout-schema/v0.14/index.js +1 -1
  65. package/node_modules/@rokt/dcui-layout-schema/v0.15/index.js +1 -1
  66. package/node_modules/@rokt/dcui-layout-schema/v0.16/index.js +1 -1
  67. package/node_modules/@rokt/dcui-layout-schema/v0.17/index.js +1 -1
  68. package/node_modules/@rokt/dcui-layout-schema/v0.18/index.js +1 -1
  69. package/node_modules/@rokt/dcui-layout-schema/v0.19/index.js +1 -1
  70. package/node_modules/@rokt/dcui-layout-schema/v0.2/index.js +1 -1
  71. package/node_modules/@rokt/dcui-layout-schema/v0.20/index.js +1 -1
  72. package/node_modules/@rokt/dcui-layout-schema/v0.21/index.js +1 -1
  73. package/node_modules/@rokt/dcui-layout-schema/v0.22/index.js +1 -1
  74. package/node_modules/@rokt/dcui-layout-schema/v0.23/index.js +1 -1
  75. package/node_modules/@rokt/dcui-layout-schema/v0.3/index.js +1 -1
  76. package/node_modules/@rokt/dcui-layout-schema/v0.4/index.js +1 -1
  77. package/node_modules/@rokt/dcui-layout-schema/v0.5/index.js +1 -1
  78. package/node_modules/@rokt/dcui-layout-schema/v0.6/index.js +1 -1
  79. package/node_modules/@rokt/dcui-layout-schema/v0.7/index.js +1 -1
  80. package/node_modules/@rokt/dcui-layout-schema/v0.8/index.js +1 -1
  81. package/node_modules/@rokt/dcui-layout-schema/v0.9/index.js +1 -1
  82. package/node_modules/@rokt/dcui-layout-schema/v1.0/index.js +1 -1
  83. package/node_modules/@rokt/dcui-layout-schema/v1.1/index.js +1 -1
  84. package/node_modules/@rokt/dcui-layout-schema/v1.2/index.js +1 -1
  85. package/node_modules/@rokt/dcui-layout-schema/v1.3/index.js +1 -1
  86. package/node_modules/@rokt/dcui-layout-schema/v1.4/index.js +1 -1
  87. package/node_modules/@rokt/dcui-layout-schema/v1.5/index.js +1 -1
  88. package/node_modules/@rokt/dcui-layout-schema/v1.6/index.js +1 -1
  89. package/node_modules/@rokt/dcui-layout-schema/v1.7/index.d.ts +2218 -0
  90. package/node_modules/@rokt/dcui-layout-schema/v1.7/index.js +4 -0
  91. package/package.json +2 -2
  92. package/dist/modules/instant-purchase/src/components/button-state-trigger/button-state-trigger.d.ts +0 -9
  93. package/dist/modules/instant-purchase/src/hooks/index.d.ts +0 -1
  94. package/dist/modules/instant-purchase/src/hooks/use-image-mapper.d.ts +0 -2
@@ -0,0 +1,24 @@
1
+ import { WhenPredicate, StatelessStylingBlock, DimensionStylingProperties, FlexChildStylingProperties, SpacingStylingProperties, BackgroundStylingProperties, TextStylingProperties, LayoutStyle, ConditionalStyleTransition } from '@rokt/dcui-layout-schema';
2
+ export interface OfferLifecycleTimerStyles {
3
+ dimension?: DimensionStylingProperties;
4
+ flexChild?: FlexChildStylingProperties;
5
+ spacing?: SpacingStylingProperties;
6
+ background?: BackgroundStylingProperties;
7
+ text?: TextStylingProperties;
8
+ }
9
+ export interface OfferLifecycleTimerElements {
10
+ own: StatelessStylingBlock<OfferLifecycleTimerStyles>[];
11
+ }
12
+ export interface OfferLifecycleTimerTransitions {
13
+ own?: OfferLifecycleTimerStyles;
14
+ }
15
+ export interface OfferLifecycleTimerModel<Predicates> {
16
+ durationInSeconds: number;
17
+ format?: 'M:SS' | 'S';
18
+ styles?: LayoutStyle<OfferLifecycleTimerElements, ConditionalStyleTransition<OfferLifecycleTimerTransitions, Predicates>>;
19
+ }
20
+ export interface OfferLifecycleTimerProps {
21
+ schema: OfferLifecycleTimerModel<WhenPredicate>;
22
+ testId?: string;
23
+ }
24
+ export declare function OfferLifecycleTimer(props: OfferLifecycleTimerProps): import("react/jsx-runtime").JSX.Element;
@@ -1,15 +1,17 @@
1
1
  import { GlobalActions } from '../../../../libraries/domain/src/behaviors';
2
- import { ChildLayoutActions, childLayoutsReducer, ChildLayoutsState, StaticData, staticDataReducer } from '@rokt/module-utils';
2
+ import { ChildLayoutActions, childLayoutsReducer, ChildLayoutsState, StaticData, staticDataReducer, DynamicData, dynamicDataReducer } from '@rokt/module-utils';
3
3
  import { CatalogSelectionState } from '../models/state/catalog-selection';
4
4
  export type AppState = {
5
5
  staticData: StaticData;
6
6
  selectedItem: CatalogSelectionState;
7
+ dynamicData: DynamicData;
7
8
  childLayouts: ChildLayoutsState;
8
9
  };
9
10
  export type StateActions = GlobalActions | ChildLayoutActions;
10
11
  export declare const appReducers: {
11
12
  staticData: typeof staticDataReducer;
12
13
  selectedItem: (state: CatalogSelectionState | undefined, action: import("redux").AnyAction) => CatalogSelectionState;
14
+ dynamicData: typeof dynamicDataReducer;
13
15
  childLayouts: typeof childLayoutsReducer;
14
16
  };
15
17
  export declare function makeAppInitialState(data?: Partial<AppState>): AppState;
@@ -0,0 +1 @@
1
+ export * from './sagas';
@@ -0,0 +1,4 @@
1
+ import { PutEffect, CallEffect } from 'redux-saga/effects';
2
+ import { CheckoutLifecycle } from '../../actions/checkout-lifecycle';
3
+ import { Log } from '../../../../../libraries/domain/src/models';
4
+ export declare function handleCheckoutLifecycle(logger: (log: Log) => void, action: CheckoutLifecycle): Generator<PutEffect | CallEffect, void, never>;
@@ -1,6 +1,11 @@
1
1
  export declare const INVALID_RESPONSE_OBJECT = "INVALID_RESPONSE_OBJECT";
2
2
  export declare const MISSING_STATIC_DATA_IN_INSTANT_PURCHASE_MODULE = "MISSING_STATIC_DATA_IN_INSTANT_PURCHASE_MODULE";
3
3
  export declare const MISSING_CATALOG_ITEMS = "MISSING_CATALOG_ITEMS";
4
- export declare const MALFORMED_PARTNER_DATA = "MALFORMED_PARTNER_DATA";
5
- export declare const INSTANT_PURCHASE_RESPONSE_TIMEOUT = "INSTANT_PURCHASE_RESPONSE_TIMEOUT";
6
- export declare const INSTANT_PURCHASE_CHANNEL_ERROR = "INSTANT_PURCHASE_CHANNEL_ERROR";
4
+ export declare const MALFORMED_INSTANT_PURCHASE_PARTNER_DATA = "MALFORMED_INSTANT_PURCHASE_PARTNER_DATA";
5
+ export declare const MALFORMED_INSTANT_PURCHASE_WSDK_DATA = "MALFORMED_INSTANT_PURCHASE_WSDK_DATA";
6
+ export declare const INSTANT_PURCHASE_PARTNER_RESPONSE_TIMEOUT = "INSTANT_PURCHASE_PARTNER_RESPONSE_TIMEOUT";
7
+ export declare const INSTANT_PURCHASE_WSDK_RESPONSE_TIMEOUT = "INSTANT_PURCHASE_WSDK_RESPONSE_TIMEOUT";
8
+ export declare const INSTANT_PURCHASE_PARTNER_CHANNEL_ERROR = "INSTANT_PURCHASE_PARTNER_CHANNEL_ERROR";
9
+ export declare const INSTANT_PURCHASE_WSDK_CHANNEL_ERROR = "INSTANT_PURCHASE_WSDK_CHANNEL_ERROR";
10
+ export declare const CHECKOUT_BUTTON_INVALID_OFFERLIFECYCLE = "CHECKOUT_BUTTON_INVALID_OFFERLIFECYCLE";
11
+ export declare const CHECKOUT_BUTTON_UNKNOWN_EVENT = "CHECKOUT_BUTTON_UNKNOWN_EVENT";
@@ -3,6 +3,7 @@ import { Log } from '../../../../libraries/domain/src/models';
3
3
  export declare const sagaActionTypes: {
4
4
  readonly INITIATE_INSTANT_PURCHASE: "INSTANT_PURCHASE/INITIATE";
5
5
  readonly INSTANT_PURCHASE_PARTNER_RESPONSE: "INSTANT_PURCHASE/PARTNER_RESPONSE";
6
+ readonly INSTANT_PURCHASE_WSDK_RESPONSE: "INSTANT_PURCAHSE/WSDK_RESPONSE";
6
7
  readonly RAISE_METRIC: "GLOBAL/RAISE_METRIC";
7
8
  readonly PREPARE_SIGNAL: "GLOBAL/PREPARE_SIGNAL";
8
9
  readonly OFFER_ENGAGEMENT: "GLOBAL/OFFER_ENGAGEMENT";
@@ -16,4 +17,4 @@ export declare const sagaActionTypes: {
16
17
  readonly SET_GLOBAL_OFFER_DATA_CART: "GLOBAL/SET_GLOBAL_OFFER_DATA_CART";
17
18
  readonly LAUNCH_CHILD_LAYOUT: "GLOBAL/LAUNCH_CHILD_LAYOUT";
18
19
  };
19
- export declare function appSagas(gateway: GlobalGateway, logger: (log: Log) => void): Generator<import("redux-saga/effects").AllEffect<import("redux-saga/effects").ForkEffect<never>>, void, unknown>;
20
+ export declare function appSagas(gateway: GlobalGateway, logger: (log: Log) => void): Generator<import("redux-saga/effects").AllEffect<import("redux-saga/effects").ForkEffect<void>>, void, unknown>;
@@ -1,10 +1,20 @@
1
1
  import { SelectEffect, PutEffect, CallEffect } from 'redux-saga/effects';
2
- import { Log } from '../../../../../libraries/domain/src/models';
3
- import { InitiateInstantPurchase, InstantPurchasePartnerResponse } from '../../actions/instant-purchase';
2
+ import { DismissalReason } from '../../../../../libraries/domain/src/behaviors';
3
+ import { InstantPurchaseWsdkPayload, Log, PluginCartItem, PluginCatalogItem } from '../../../../../libraries/domain/src/models';
4
4
  import { GlobalGateway } from '../../../../../libraries/module-connector/src/main';
5
5
  import { StaticData } from '@rokt/module-utils';
6
+ import { InitiateInstantPurchase, InstantPurchasePartnerResponse } from '../../actions/instant-purchase';
7
+ import { TriggerSelectItemAction, InstantPurchaseWsdkResponse } from '../../actions';
6
8
  export declare const INSTANT_PURCHASE_RESPONSE_TTL = 60000;
9
+ export declare function processSelectFirstCatalogItem(): Generator<SelectEffect | PutEffect, void, PluginCatalogItem | undefined>;
10
+ export declare function processSelectCatalogItem(action: TriggerSelectItemAction): Generator<PutEffect, void, PluginCatalogItem | undefined>;
7
11
  export declare function processInstantPurchaseCartItem(gateway: GlobalGateway, logger: (log: Log) => void, action: InitiateInstantPurchase): Generator<CallEffect<void> | import("redux-saga/effects").ForkEffect<void> | PutEffect<{
12
+ type: string;
13
+ payload: {
14
+ key: string;
15
+ value: number;
16
+ };
17
+ }> | PutEffect<{
8
18
  type: string;
9
19
  payload: {
10
20
  name: string;
@@ -14,25 +24,54 @@ export declare function processInstantPurchaseCartItem(gateway: GlobalGateway, l
14
24
  quantity: number;
15
25
  };
16
26
  };
27
+ }> | PutEffect<{
28
+ type: string;
29
+ payload: {
30
+ name: string;
31
+ body: InstantPurchaseWsdkPayload;
32
+ };
17
33
  }> | PutEffect<{
18
34
  type: string;
19
35
  payload: {
20
36
  name: string;
21
37
  body: {
22
- upsellItems: import("../../../../../libraries/domain/src/models").PluginCartItem[];
38
+ upsellItems: PluginCartItem[];
23
39
  totalUpsellPrice: number;
24
40
  currency: string;
25
41
  };
26
42
  };
27
43
  }>, void, unknown>;
28
44
  export declare function handleInstantPurchasePartnerResponse(logger: (log: Log) => void, action: InstantPurchasePartnerResponse): Generator<SelectEffect | PutEffect | CallEffect, void, StaticData | undefined>;
45
+ export declare function handleInstantPurchaseWsdkResponse(action: InstantPurchaseWsdkResponse): Generator<PutEffect<{
46
+ type: string;
47
+ payload: {
48
+ key: string;
49
+ value: number;
50
+ };
51
+ }>, void, unknown>;
29
52
  /** Visible for testing */
30
- export declare function initiateInstantPurchaseResponseListening(gateway: GlobalGateway, logger: (log: Log) => void): Generator<CallEffect<void> | import("redux-saga/effects").RaceEffect<CallEffect<void> | CallEffect<true>> | PutEffect<{
53
+ export declare function initiatePartnerResponseListening(gateway: GlobalGateway, logger: (log: Log) => void): Generator<CallEffect<void> | PutEffect<{
54
+ type: string;
55
+ payload: {
56
+ key: string;
57
+ value: number;
58
+ };
59
+ }> | import("redux-saga/effects").RaceEffect<CallEffect<void> | CallEffect<true>> | PutEffect<{
31
60
  type: string;
32
61
  payload: {
33
62
  event: string;
34
- dismissalReason: string;
63
+ dismissalReason: DismissalReason;
35
64
  };
36
65
  }>, void, {
37
66
  timeout: any;
38
67
  }>;
68
+ /** Visible for testing */
69
+ export declare function initiateWsdkResponseListening(gateway: GlobalGateway, logger: (log: Log) => void): Generator<CallEffect<void> | PutEffect<{
70
+ type: string;
71
+ payload: {
72
+ key: string;
73
+ value: number;
74
+ };
75
+ }> | import("redux-saga/effects").RaceEffect<CallEffect<void> | CallEffect<true>>, void, {
76
+ timeout: any;
77
+ }>;
@@ -0,0 +1 @@
1
+ export * from './selectors';
@@ -0,0 +1,4 @@
1
+ import { AppState } from '../../reducers';
2
+ import { PluginCatalogItem } from '../../../../../libraries/domain/src/models';
3
+ export declare function getCatalogItems(state: AppState): Array<PluginCatalogItem>;
4
+ export declare function getFirstCatalogItem(state: AppState): PluginCatalogItem | undefined;
@@ -0,0 +1 @@
1
+ export * from './catalogItems';
@@ -6,7 +6,7 @@ import { ChildPluginFactoryInterface } from '@rokt/plugin';
6
6
  import { ChildPluginResult, RealtimeFulfillmentEvent } from './channels';
7
7
  import { EventChannel } from 'redux-saga';
8
8
  type ChildPlugin = ReturnType<ChildPluginFactoryInterface['create']>;
9
- export declare function listenToChildPluginChannel(channel: EventChannel<ChildPluginResult>, dispatch: (action: GlobalActions) => void, isRealtimeConversion: boolean, realtimeSuccessCallback?: () => Generator<CallEffect<void> | PutEffect, void, void>): Generator<CallEffect<void> | ChannelTakeEffect<"SUCCESS" | "UNSPECIFIED" | "CLOSED">, void, ChildPluginResult>;
9
+ export declare function listenToChildPluginChannel(channel: EventChannel<ChildPluginResult>, dispatch: (action: GlobalActions) => void, isRealtimeConversion: boolean, isRealTimeReferralOnly: boolean, realtimeSuccessCallback?: () => Generator<CallEffect<void> | PutEffect, void, void>): Generator<CallEffect<void> | ChannelTakeEffect<"SUCCESS" | "UNSPECIFIED" | "CLOSED">, void, ChildPluginResult>;
10
10
  export declare function getRealtimeFulfillmentSuccessCallback(gateway: GlobalGateway, logger: (log: Log) => void, payload: OfferEngagementFulfillmentPayload, childPlugin: Pick<ChildPlugin, 'close'>): (() => Generator<CallEffect<void> | PutEffect<{
11
11
  type: string;
12
12
  payload: {
@@ -166,6 +166,27 @@ export interface BreakpointPredicate {
166
166
  condition: OrderableWhenCondition;
167
167
  value: string;
168
168
  }
169
+ export interface ButtonStateTriggerStyle {
170
+ container?: null | ContainerStylingProperties;
171
+ background?: null | BackgroundStylingProperties;
172
+ border?: null | BorderStylingProperties;
173
+ dimension?: null | DimensionStylingProperties;
174
+ flexChild?: null | FlexChildStylingProperties;
175
+ spacing?: null | SpacingStylingProperties;
176
+ }
177
+ export interface ButtonStateTriggerElements {
178
+ own: BasicStateStylingBlock<ButtonStateTriggerStyle>[];
179
+ }
180
+ export interface ButtonStateTriggerModel<Children, Predicates> {
181
+ a11yLabel?: null | string;
182
+ styles?: null | LayoutStyle<ButtonStateTriggerElements, ConditionalStyleTransition<ButtonStateTriggerTransitions, Predicates>>;
183
+ children: Children[];
184
+ customStateKey: string;
185
+ value: number;
186
+ }
187
+ export interface ButtonStateTriggerTransitions {
188
+ own?: null | ButtonStateTriggerStyle;
189
+ }
169
190
  export interface StatelessStylingBlock<StyleProperties> {
170
191
  default: StyleProperties;
171
192
  }
@@ -195,6 +216,24 @@ export interface CarouselDistributionModel<Predicates> {
195
216
  export interface CarouselDistributionTransitions {
196
217
  own?: null | CarouselDistributionStyles;
197
218
  }
219
+ export interface CatalogCombinedCollectionStyles {
220
+ container?: null | ContainerStylingProperties;
221
+ background?: null | BackgroundStylingProperties;
222
+ border?: null | BorderStylingProperties;
223
+ dimension?: null | DimensionStylingProperties;
224
+ flexChild?: null | FlexChildStylingProperties;
225
+ spacing?: null | SpacingStylingProperties;
226
+ }
227
+ export interface CatalogCombinedCollectionElements {
228
+ own: StatelessStylingBlock<CatalogCombinedCollectionStyles>[];
229
+ }
230
+ export interface CatalogCombinedCollectionModel<NodeTemplate, Predicates> {
231
+ styles?: null | LayoutStyle<CatalogCombinedCollectionElements, ConditionalStyleTransition<CatalogCombinedCollectionTransitions, Predicates>>;
232
+ template: NodeTemplate;
233
+ }
234
+ export interface CatalogCombinedCollectionTransitions {
235
+ own?: null | CatalogCombinedCollectionStyles;
236
+ }
198
237
  export interface CatalogQuantityButtonStyles {
199
238
  container?: null | ContainerStylingProperties;
200
239
  background?: null | BackgroundStylingProperties;
@@ -500,7 +539,7 @@ export interface DataImageModel<Predicates> {
500
539
  export interface DataImageTransitions {
501
540
  own?: null | DataImageStyles;
502
541
  }
503
- export type DomainStateKey = "offerComplete";
542
+ export type DomainStateKey = "offerComplete" | "checkout";
504
543
  export interface DomainStatePredicate<DomainStateKey> {
505
544
  key: DomainStateKey;
506
545
  condition: OrderableWhenCondition;
@@ -613,6 +652,30 @@ export interface InlineBasicTextModel<Predicates> {
613
652
  export interface InlineBasicTextTransitions {
614
653
  own?: null | InlineBasicTextStyle;
615
654
  }
655
+ export interface InlineContainerStylingProperties {
656
+ shadow?: null | Shadow;
657
+ blur?: null | number;
658
+ opacity?: null | number;
659
+ }
660
+ export interface InlineButtonStateTriggerStyle {
661
+ container?: null | InlineContainerStylingProperties;
662
+ background?: null | BackgroundStylingProperties;
663
+ border?: null | BorderStylingProperties;
664
+ spacing?: null | InlineSpacingStylingProperties;
665
+ }
666
+ export interface InlineButtonStateTriggerElements {
667
+ own: BasicStateStylingBlock<InlineButtonStateTriggerStyle>[];
668
+ }
669
+ export interface InlineButtonStateTriggerModel<Children, Predicates> {
670
+ a11yLabel?: null | string;
671
+ styles?: null | LayoutStyle<InlineButtonStateTriggerElements, ConditionalStyleTransition<InlineButtonStateTriggerTransitions, Predicates>>;
672
+ children: Children[];
673
+ customStateKey: string;
674
+ value: number;
675
+ }
676
+ export interface InlineButtonStateTriggerTransitions {
677
+ own?: null | InlineButtonStateTriggerStyle;
678
+ }
616
679
  export interface InlineContainerStyles {
617
680
  container?: null | ContainerStylingProperties;
618
681
  background?: null | BackgroundStylingProperties;
@@ -629,11 +692,6 @@ export interface InlineContainerModel<Children, Predicates> {
629
692
  styles?: null | LayoutStyle<InlineContainerElements, ConditionalStyleTransition<InlineContainerTransitions, Predicates>>;
630
693
  children: Children[];
631
694
  }
632
- export interface InlineContainerStylingProperties {
633
- shadow?: null | Shadow;
634
- blur?: null | number;
635
- opacity?: null | number;
636
- }
637
695
  export interface InlineContainerTransitions {
638
696
  own?: null | InlineContainerStyles;
639
697
  }
@@ -1113,6 +1171,74 @@ export interface ZStackModel<Children, Predicates> {
1113
1171
  export interface ZStackTransitions {
1114
1172
  own?: null | ZStackStyle;
1115
1173
  }
1174
+ export type CatalogCombinedCollectionTemplateNode = {
1175
+ type: "Row";
1176
+ node: RowModel<CatalogCombinedCollectionTemplateNodeChildren, LayoutVariantWhenPredicate>;
1177
+ } | {
1178
+ type: "Column";
1179
+ node: ColumnModel<CatalogCombinedCollectionTemplateNodeChildren, LayoutVariantWhenPredicate>;
1180
+ };
1181
+ export type CatalogCombinedCollectionTemplateNodeChildren = {
1182
+ type: "Row";
1183
+ node: RowModel<CatalogCombinedCollectionTemplateNodeChildren, LayoutVariantWhenPredicate>;
1184
+ } | {
1185
+ type: "Column";
1186
+ node: ColumnModel<CatalogCombinedCollectionTemplateNodeChildren, LayoutVariantWhenPredicate>;
1187
+ } | {
1188
+ type: "StaticImage";
1189
+ node: StaticImageModel<LayoutVariantWhenPredicate>;
1190
+ } | {
1191
+ type: "StaticIcon";
1192
+ node: StaticIconModel<LayoutVariantWhenPredicate>;
1193
+ } | {
1194
+ type: "ZStack";
1195
+ node: ZStackModel<CatalogCombinedCollectionTemplateNodeChildren, LayoutVariantWhenPredicate>;
1196
+ } | {
1197
+ type: "FlowRow";
1198
+ node: FlowRowModel<CatalogCombinedCollectionTemplateNodeChildren, LayoutVariantWhenPredicate>;
1199
+ } | {
1200
+ type: "RichText";
1201
+ node: RichTextModel<LayoutVariantWhenPredicate>;
1202
+ } | {
1203
+ type: "BasicText";
1204
+ node: BasicTextModel<LayoutVariantWhenPredicate>;
1205
+ } | {
1206
+ type: "DataImage";
1207
+ node: DataImageModel<LayoutVariantWhenPredicate>;
1208
+ } | {
1209
+ type: "DataIcon";
1210
+ node: DataIconModel<LayoutVariantWhenPredicate>;
1211
+ } | {
1212
+ type: "When";
1213
+ node: WhenModel<CatalogCombinedCollectionTemplateNodeChildren, LayoutVariantWhenPredicate>;
1214
+ } | {
1215
+ type: "StaticLink";
1216
+ node: StaticLinkModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1217
+ } | {
1218
+ type: "SlideStateTrigger";
1219
+ node: SlideStateTriggerModel<LayoutVariantWhenPredicate>;
1220
+ } | {
1221
+ type: "TimerStateTrigger";
1222
+ node: TimerStateTriggerModel;
1223
+ } | {
1224
+ type: "ToggleButtonStateTrigger";
1225
+ node: ToggleButtonStateTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1226
+ } | {
1227
+ type: "ButtonStateTrigger";
1228
+ node: ButtonStateTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1229
+ } | {
1230
+ type: "CopyToClipboardButton";
1231
+ node: CopyToClipboardButtonModel<NonInteractableChildren, WhenPredicate>;
1232
+ } | {
1233
+ type: "CatalogResponseButton";
1234
+ node: CatalogResponseButtonModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1235
+ } | {
1236
+ type: "EscapeHatch";
1237
+ node: EscapeHatchModel;
1238
+ } | {
1239
+ type: "InlineContainer";
1240
+ node: InlineContainerModel<LayoutVariantInlineChildren, LayoutVariantWhenPredicate>;
1241
+ };
1116
1242
  export type CatalogStackedCollectionTemplateNode = {
1117
1243
  type: "Row";
1118
1244
  node: RowModel<CatalogStackedCollectionTemplateNodeChildren, LayoutVariantWhenPredicate>;
@@ -1165,6 +1291,9 @@ export type CatalogStackedCollectionTemplateNodeChildren = {
1165
1291
  } | {
1166
1292
  type: "ToggleButtonStateTrigger";
1167
1293
  node: ToggleButtonStateTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1294
+ } | {
1295
+ type: "ButtonStateTrigger";
1296
+ node: ButtonStateTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1168
1297
  } | {
1169
1298
  type: "CopyToClipboardButton";
1170
1299
  node: CopyToClipboardButtonModel<NonInteractableChildren, WhenPredicate>;
@@ -1198,6 +1327,9 @@ export type InlineChildren = {
1198
1327
  } | {
1199
1328
  type: "ToggleButtonStateTrigger";
1200
1329
  node: InlineToggleButtonStateTriggerModel<NonInteractableInlineChildren, WhenPredicate>;
1330
+ } | {
1331
+ type: "ButtonStateTrigger";
1332
+ node: InlineButtonStateTriggerModel<NonInteractableInlineChildren, WhenPredicate>;
1201
1333
  };
1202
1334
  export type LayoutDisplayPreset = "FULLSCREEN" | "EMBEDDED" | "ATTACHED";
1203
1335
  export type LayoutSchemaModel = {
@@ -1281,6 +1413,9 @@ export type LayoutSchemaModel = {
1281
1413
  } | {
1282
1414
  type: "ToggleButtonStateTrigger";
1283
1415
  node: ToggleButtonStateTriggerModel<NonInteractableChildren, WhenPredicate>;
1416
+ } | {
1417
+ type: "ButtonStateTrigger";
1418
+ node: ButtonStateTriggerModel<NonInteractableChildren, WhenPredicate>;
1284
1419
  } | {
1285
1420
  type: "TimerStateTrigger";
1286
1421
  node: TimerStateTriggerModel;
@@ -1290,6 +1425,9 @@ export type LayoutSchemaModel = {
1290
1425
  } | {
1291
1426
  type: "CatalogStackedCollection";
1292
1427
  node: CatalogStackedCollectionModel<CatalogStackedCollectionTemplateNode, WhenPredicate>;
1428
+ } | {
1429
+ type: "CatalogCombinedCollection";
1430
+ node: CatalogCombinedCollectionModel<CatalogCombinedCollectionTemplateNode, WhenPredicate>;
1293
1431
  } | {
1294
1432
  type: "CatalogResponseButton";
1295
1433
  node: CatalogResponseButtonModel<LayoutVariantNonInteractableChildren, WhenPredicate>;
@@ -1363,12 +1501,18 @@ export type LayoutVariantChildren = {
1363
1501
  } | {
1364
1502
  type: "ToggleButtonStateTrigger";
1365
1503
  node: ToggleButtonStateTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1504
+ } | {
1505
+ type: "ButtonStateTrigger";
1506
+ node: ButtonStateTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1366
1507
  } | {
1367
1508
  type: "CopyToClipboardButton";
1368
1509
  node: CopyToClipboardButtonModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1369
1510
  } | {
1370
1511
  type: "CatalogStackedCollection";
1371
1512
  node: CatalogStackedCollectionModel<CatalogStackedCollectionTemplateNode, LayoutVariantWhenPredicate>;
1513
+ } | {
1514
+ type: "CatalogCombinedCollection";
1515
+ node: CatalogCombinedCollectionModel<CatalogCombinedCollectionTemplateNode, LayoutVariantWhenPredicate>;
1372
1516
  } | {
1373
1517
  type: "EscapeHatch";
1374
1518
  node: EscapeHatchModel;
@@ -1379,7 +1523,7 @@ export type LayoutVariantChildren = {
1379
1523
  type: "PartnerEventButtonTrigger";
1380
1524
  node: PartnerEventButtonTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1381
1525
  };
1382
- export type LayoutVariantDomainStateKey = "offerComplete";
1526
+ export type LayoutVariantDomainStateKey = "offerComplete" | "checkout";
1383
1527
  export type LayoutVariantInlineChildren = {
1384
1528
  type: "BasicText";
1385
1529
  node: InlineBasicTextModel<LayoutVariantWhenPredicate>;
@@ -1392,6 +1536,9 @@ export type LayoutVariantInlineChildren = {
1392
1536
  } | {
1393
1537
  type: "ToggleButtonStateTrigger";
1394
1538
  node: InlineToggleButtonStateTriggerModel<LayoutVariantNonInteractableInlineChildren, LayoutVariantWhenPredicate>;
1539
+ } | {
1540
+ type: "ButtonStateTrigger";
1541
+ node: InlineButtonStateTriggerModel<LayoutVariantNonInteractableInlineChildren, LayoutVariantWhenPredicate>;
1395
1542
  };
1396
1543
  export type LayoutVariantNonInteractableChildren = {
1397
1544
  type: "Row";
@@ -1488,12 +1635,18 @@ export type LayoutVariantSchemaModel = {
1488
1635
  } | {
1489
1636
  type: "ToggleButtonStateTrigger";
1490
1637
  node: ToggleButtonStateTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1638
+ } | {
1639
+ type: "ButtonStateTrigger";
1640
+ node: ButtonStateTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1491
1641
  } | {
1492
1642
  type: "CopyToClipboardButton";
1493
1643
  node: CopyToClipboardButtonModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1494
1644
  } | {
1495
1645
  type: "CatalogStackedCollection";
1496
1646
  node: CatalogStackedCollectionModel<CatalogStackedCollectionTemplateNode, LayoutVariantWhenPredicate>;
1647
+ } | {
1648
+ type: "CatalogCombinedCollection";
1649
+ node: CatalogCombinedCollectionModel<CatalogCombinedCollectionTemplateNode, LayoutVariantWhenPredicate>;
1497
1650
  } | {
1498
1651
  type: "EscapeHatch";
1499
1652
  node: EscapeHatchModel;
@@ -1601,6 +1754,9 @@ export type ModalChildren = {
1601
1754
  } | {
1602
1755
  type: "ToggleButtonStateTrigger";
1603
1756
  node: ToggleButtonStateTriggerModel<NonInteractableChildren, WhenPredicate>;
1757
+ } | {
1758
+ type: "ButtonStateTrigger";
1759
+ node: ButtonStateTriggerModel<NonInteractableChildren, WhenPredicate>;
1604
1760
  } | {
1605
1761
  type: "CopyToClipboardButton";
1606
1762
  node: CopyToClipboardButtonModel<NonInteractableChildren, WhenPredicate>;
@@ -1677,6 +1833,9 @@ export type ModalOuterChildren = {
1677
1833
  } | {
1678
1834
  type: "ToggleButtonStateTrigger";
1679
1835
  node: ToggleButtonStateTriggerModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1836
+ } | {
1837
+ type: "ButtonStateTrigger";
1838
+ node: ButtonStateTriggerModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1680
1839
  } | {
1681
1840
  type: "CopyToClipboardButton";
1682
1841
  node: CopyToClipboardButtonModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
@@ -1794,6 +1953,9 @@ export type OuterLayoutChildren = {
1794
1953
  } | {
1795
1954
  type: "ToggleButtonStateTrigger";
1796
1955
  node: ToggleButtonStateTriggerModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1956
+ } | {
1957
+ type: "ButtonStateTrigger";
1958
+ node: ButtonStateTriggerModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1797
1959
  } | {
1798
1960
  type: "CopyToClipboardButton";
1799
1961
  node: CopyToClipboardButtonModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
@@ -1813,6 +1975,9 @@ export type OuterLayoutInlineChildren = {
1813
1975
  } | {
1814
1976
  type: "ToggleButtonStateTrigger";
1815
1977
  node: InlineToggleButtonStateTriggerModel<OuterLayoutNonInteractableInlineChildren, OuterLayoutWhenPredicate>;
1978
+ } | {
1979
+ type: "ButtonStateTrigger";
1980
+ node: InlineButtonStateTriggerModel<LayoutVariantNonInteractableInlineChildren, LayoutVariantWhenPredicate>;
1816
1981
  };
1817
1982
  export type OuterLayoutNonInteractableChildren = {
1818
1983
  type: "Row";
@@ -1921,6 +2086,9 @@ export type OuterLayoutSchemaModel = {
1921
2086
  } | {
1922
2087
  type: "ToggleButtonStateTrigger";
1923
2088
  node: ToggleButtonStateTriggerModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
2089
+ } | {
2090
+ type: "ButtonStateTrigger";
2091
+ node: ButtonStateTriggerModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1924
2092
  } | {
1925
2093
  type: "CopyToClipboardButton";
1926
2094
  node: CopyToClipboardButtonModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
@@ -2035,12 +2203,18 @@ export type ScrollableChildren = {
2035
2203
  } | {
2036
2204
  type: "ToggleButtonStateTrigger";
2037
2205
  node: ToggleButtonStateTriggerModel<NonInteractableChildren, WhenPredicate>;
2206
+ } | {
2207
+ type: "ButtonStateTrigger";
2208
+ node: ButtonStateTriggerModel<NonInteractableChildren, WhenPredicate>;
2038
2209
  } | {
2039
2210
  type: "CopyToClipboardButton";
2040
2211
  node: CopyToClipboardButtonModel<NonInteractableChildren, WhenPredicate>;
2041
2212
  } | {
2042
2213
  type: "CatalogStackedCollection";
2043
2214
  node: CatalogStackedCollectionModel<CatalogStackedCollectionTemplateNode, WhenPredicate>;
2215
+ } | {
2216
+ type: "CatalogCombinedCollection";
2217
+ node: CatalogCombinedCollectionModel<CatalogCombinedCollectionTemplateNode, WhenPredicate>;
2044
2218
  } | {
2045
2219
  type: "CatalogResponseButton";
2046
2220
  node: CatalogResponseButtonModel<LayoutVariantNonInteractableChildren, WhenPredicate>;
@@ -2099,12 +2273,18 @@ export type ScrollableLayoutVariantChildren = {
2099
2273
  } | {
2100
2274
  type: "ToggleButtonStateTrigger";
2101
2275
  node: ToggleButtonStateTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
2276
+ } | {
2277
+ type: "ButtonStateTrigger";
2278
+ node: ButtonStateTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
2102
2279
  } | {
2103
2280
  type: "CopyToClipboardButton";
2104
2281
  node: CopyToClipboardButtonModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
2105
2282
  } | {
2106
2283
  type: "CatalogStackedCollection";
2107
2284
  node: CatalogStackedCollectionModel<CatalogStackedCollectionTemplateNode, LayoutVariantWhenPredicate>;
2285
+ } | {
2286
+ type: "CatalogCombinedCollection";
2287
+ node: CatalogCombinedCollectionModel<CatalogCombinedCollectionTemplateNode, WhenPredicate>;
2108
2288
  } | {
2109
2289
  type: "EscapeHatch";
2110
2290
  node: EscapeHatchModel;
@@ -2175,6 +2355,9 @@ export type ScrollableOuterLayoutChildren = {
2175
2355
  } | {
2176
2356
  type: "ToggleButtonStateTrigger";
2177
2357
  node: ToggleButtonStateTriggerModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
2358
+ } | {
2359
+ type: "ButtonStateTrigger";
2360
+ node: ButtonStateTriggerModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
2178
2361
  } | {
2179
2362
  type: "CopyToClipboardButton";
2180
2363
  node: CopyToClipboardButtonModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
@@ -1,4 +1,4 @@
1
1
  /*
2
- Generated by typeshare 1.13.2
2
+ Generated by typeshare 1.13.3
3
3
  */
4
4
  export {};