@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,2218 @@
1
+ export interface ThemeUrl {
2
+ light: string;
3
+ dark?: null | string;
4
+ }
5
+ export type BackgroundImagePosition = "top" | "right" | "bottom" | "left" | "center" | "top-right" | "top-left" | "bottom-left" | "bottom-right";
6
+ export type BackgroundImageScale = "crop" | "fit" | "fill";
7
+ export interface BackgroundImage {
8
+ url: ThemeUrl;
9
+ position?: null | BackgroundImagePosition;
10
+ scale?: null | BackgroundImageScale;
11
+ }
12
+ export interface ThemeColor {
13
+ light: string;
14
+ dark?: null | string;
15
+ }
16
+ export interface BackgroundStylingProperties {
17
+ backgroundColor?: null | ThemeColor;
18
+ backgroundImage?: null | BackgroundImage;
19
+ }
20
+ export interface BasicStateStylingBlock<StyleProperties> {
21
+ default: StyleProperties;
22
+ pressed?: null | StyleProperties;
23
+ hovered?: null | StyleProperties;
24
+ focussed?: null | StyleProperties;
25
+ disabled?: null | StyleProperties;
26
+ }
27
+ export type DimensionWidthValue = {
28
+ type: "fixed";
29
+ value: number;
30
+ } | {
31
+ type: "percentage";
32
+ value: number;
33
+ } | {
34
+ type: "fit";
35
+ value: DimensionWidthFitValue;
36
+ };
37
+ export type DimensionHeightValue = {
38
+ type: "fixed";
39
+ value: number;
40
+ } | {
41
+ type: "percentage";
42
+ value: number;
43
+ } | {
44
+ type: "fit";
45
+ value: DimensionHeightFitValue;
46
+ };
47
+ export interface DimensionStylingProperties {
48
+ minWidth?: null | number;
49
+ maxWidth?: null | number;
50
+ width?: null | DimensionWidthValue;
51
+ minHeight?: null | number;
52
+ maxHeight?: null | number;
53
+ height?: null | DimensionHeightValue;
54
+ rotateZ?: null | number;
55
+ }
56
+ export type FlexAlignment = "center" | "flex-start" | "flex-end" | "stretch";
57
+ export interface FlexChildStylingProperties {
58
+ weight?: null | number;
59
+ order?: null | number;
60
+ alignSelf?: null | FlexAlignment;
61
+ }
62
+ export interface SpacingStylingProperties {
63
+ padding?: null | string;
64
+ margin?: null | string;
65
+ offset?: null | string;
66
+ }
67
+ export type FontWeight = "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
68
+ export type FontJustification = "left" | "right" | "center" | "start" | "end" | "justify";
69
+ export type FontBaselineAlignment = "super" | "sub" | "baseline";
70
+ export type FontStyle = "normal" | "italic";
71
+ export type TextTransform = "capitalize" | "uppercase" | "lowercase" | "none";
72
+ export type TextDecoration = "underline" | "strike-through" | "none";
73
+ export interface TextStylingProperties {
74
+ textColor?: null | ThemeColor;
75
+ fontSize?: null | number;
76
+ fontFamily?: null | string;
77
+ fontWeight?: null | FontWeight;
78
+ lineHeight?: null | number;
79
+ horizontalTextAlign?: null | FontJustification;
80
+ baselineTextAlign?: null | FontBaselineAlignment;
81
+ fontStyle?: null | FontStyle;
82
+ textTransform?: null | TextTransform;
83
+ letterSpacing?: null | number;
84
+ textDecoration?: null | TextDecoration;
85
+ lineLimit?: null | number;
86
+ }
87
+ export interface BasicTextStyle {
88
+ dimension?: null | DimensionStylingProperties;
89
+ flexChild?: null | FlexChildStylingProperties;
90
+ spacing?: null | SpacingStylingProperties;
91
+ background?: null | BackgroundStylingProperties;
92
+ text?: null | TextStylingProperties;
93
+ }
94
+ export interface BasicTextElements {
95
+ own: BasicStateStylingBlock<BasicTextStyle>[];
96
+ }
97
+ export interface LayoutStyle<ElementsStyles, ConditionalTransitionsStyles> {
98
+ elements?: null | ElementsStyles;
99
+ conditionalTransitions?: null | ConditionalTransitionsStyles;
100
+ }
101
+ export interface ConditionalStyleTransition<Styles, Predicates> {
102
+ predicates: Predicates[];
103
+ duration: number;
104
+ value: Styles;
105
+ }
106
+ export interface BasicTextModel<Predicates> {
107
+ styles?: null | LayoutStyle<BasicTextElements, ConditionalStyleTransition<BasicTextTransitions, Predicates>>;
108
+ value: string;
109
+ }
110
+ export interface BasicTextTransitions {
111
+ own?: null | BasicTextStyle;
112
+ }
113
+ export type BorderStyle = "solid" | "dashed";
114
+ export interface BorderStylingProperties {
115
+ borderRadius?: null | number;
116
+ borderColor?: null | ThemeColor;
117
+ borderWidth?: null | string;
118
+ borderStyle?: null | BorderStyle;
119
+ }
120
+ export type FlexJustification = "center" | "flex-start" | "flex-end";
121
+ export interface Shadow {
122
+ offsetX?: null | number;
123
+ offsetY?: null | number;
124
+ blurRadius?: null | number;
125
+ spreadRadius?: null | number;
126
+ color: ThemeColor;
127
+ }
128
+ export type Overflow = "hidden" | "visible";
129
+ export interface ContainerStylingProperties {
130
+ justifyContent?: null | FlexJustification;
131
+ alignItems?: null | FlexAlignment;
132
+ shadow?: null | Shadow;
133
+ overflow?: null | Overflow;
134
+ gap?: null | number;
135
+ blur?: null | number;
136
+ opacity?: null | number;
137
+ }
138
+ export interface BottomSheetStyles {
139
+ container?: null | ContainerStylingProperties;
140
+ background?: null | BackgroundStylingProperties;
141
+ border?: null | BorderStylingProperties;
142
+ dimension?: null | DimensionStylingProperties;
143
+ flexChild?: null | FlexChildStylingProperties;
144
+ spacing?: null | SpacingStylingProperties;
145
+ }
146
+ export interface BottomSheetWrapperStyles {
147
+ container?: null | ContainerStylingProperties;
148
+ background?: null | BackgroundStylingProperties;
149
+ }
150
+ export interface BottomSheetElements {
151
+ own: BasicStateStylingBlock<BottomSheetStyles>[];
152
+ wrapper: BasicStateStylingBlock<BottomSheetWrapperStyles>[];
153
+ }
154
+ export interface BottomSheetModel<Children, Predicates> {
155
+ allowBackdropToClose: boolean;
156
+ a11yLabel?: null | string;
157
+ styles?: null | LayoutStyle<BottomSheetElements, ConditionalStyleTransition<BottomSheetTransitions, Predicates>>;
158
+ children: Children[];
159
+ }
160
+ export interface BottomSheetTransitions {
161
+ own?: null | BottomSheetStyles;
162
+ wrapper?: null | BottomSheetWrapperStyles;
163
+ }
164
+ export type OrderableWhenCondition = "is" | "is-not" | "is-below" | "is-above";
165
+ export interface BreakpointPredicate {
166
+ condition: OrderableWhenCondition;
167
+ value: string;
168
+ }
169
+ export interface StatelessStylingBlock<StyleProperties> {
170
+ default: StyleProperties;
171
+ }
172
+ export interface CarouselDistributionStyles {
173
+ container?: null | ContainerStylingProperties;
174
+ background?: null | BackgroundStylingProperties;
175
+ border?: null | BorderStylingProperties;
176
+ dimension?: null | DimensionStylingProperties;
177
+ flexChild?: null | FlexChildStylingProperties;
178
+ spacing?: null | SpacingStylingProperties;
179
+ }
180
+ export interface CarouselDistributionElements {
181
+ own: StatelessStylingBlock<CarouselDistributionStyles>[];
182
+ }
183
+ export type PeekThroughSize = {
184
+ type: "Fixed";
185
+ value: number;
186
+ } | {
187
+ type: "Percentage";
188
+ value: number;
189
+ };
190
+ export interface CarouselDistributionModel<Predicates> {
191
+ viewableItems: number[];
192
+ peekThroughSize: PeekThroughSize[];
193
+ styles?: null | LayoutStyle<CarouselDistributionElements, ConditionalStyleTransition<CarouselDistributionTransitions, Predicates>>;
194
+ }
195
+ export interface CarouselDistributionTransitions {
196
+ own?: null | CarouselDistributionStyles;
197
+ }
198
+ export interface CatalogQuantityButtonStyles {
199
+ container?: null | ContainerStylingProperties;
200
+ background?: null | BackgroundStylingProperties;
201
+ border?: null | BorderStylingProperties;
202
+ dimension?: null | DimensionStylingProperties;
203
+ flexChild?: null | FlexChildStylingProperties;
204
+ spacing?: null | SpacingStylingProperties;
205
+ }
206
+ export interface CatalogQuantityCounterButtons<Node> {
207
+ increment: Node;
208
+ decrement: Node;
209
+ a11yIncrementLabel?: null | string;
210
+ a11yDecrementLabel?: null | string;
211
+ }
212
+ export interface CatalogQuantityCounterStyles {
213
+ container?: null | ContainerStylingProperties;
214
+ background?: null | BackgroundStylingProperties;
215
+ border?: null | BorderStylingProperties;
216
+ dimension?: null | DimensionStylingProperties;
217
+ flexChild?: null | FlexChildStylingProperties;
218
+ spacing?: null | SpacingStylingProperties;
219
+ }
220
+ export interface CatalogQuantityInputStyles {
221
+ container?: null | ContainerStylingProperties;
222
+ background?: null | BackgroundStylingProperties;
223
+ border?: null | BorderStylingProperties;
224
+ dimension?: null | DimensionStylingProperties;
225
+ flexChild?: null | FlexChildStylingProperties;
226
+ spacing?: null | SpacingStylingProperties;
227
+ text?: null | TextStylingProperties;
228
+ }
229
+ export interface CatalogQuantityCounterElements {
230
+ own: BasicStateStylingBlock<CatalogQuantityCounterStyles>[];
231
+ input?: null | BasicStateStylingBlock<CatalogQuantityInputStyles>[];
232
+ decrementButton?: null | BasicStateStylingBlock<CatalogQuantityButtonStyles>[];
233
+ incrementButton?: null | BasicStateStylingBlock<CatalogQuantityButtonStyles>[];
234
+ }
235
+ export interface CatalogQuantityCounterModel<Node, Predicates> {
236
+ styles?: null | LayoutStyle<CatalogQuantityCounterElements, ConditionalStyleTransition<CatalogQuantityCounterTransitions, Predicates>>;
237
+ showInputField: boolean;
238
+ a11yInputLabel?: null | string;
239
+ forcedUpsellText?: null | BasicTextModel<Predicates>;
240
+ buttons?: null | CatalogQuantityCounterButtons<Node>;
241
+ }
242
+ export interface CatalogQuantityCounterTransitions {
243
+ own?: null | CatalogQuantityCounterStyles;
244
+ input?: null | CatalogQuantityInputStyles;
245
+ decrementButton?: null | CatalogQuantityButtonStyles;
246
+ incrementButton?: null | CatalogQuantityButtonStyles;
247
+ }
248
+ export interface CatalogQuantityStyles {
249
+ container?: null | ContainerStylingProperties;
250
+ background?: null | BackgroundStylingProperties;
251
+ border?: null | BorderStylingProperties;
252
+ dimension?: null | DimensionStylingProperties;
253
+ flexChild?: null | FlexChildStylingProperties;
254
+ spacing?: null | SpacingStylingProperties;
255
+ }
256
+ export interface CatalogQuantityOptionElements {
257
+ own: BasicStateStylingBlock<CatalogQuantityStyles>[];
258
+ active?: null | BasicStateStylingBlock<CatalogQuantityStyles>[];
259
+ passive?: null | BasicStateStylingBlock<CatalogQuantityStyles>[];
260
+ }
261
+ export interface CatalogQuantityOptionModel<NodeTemplate, Predicates> {
262
+ a11yLabel?: null | string;
263
+ quantity: number;
264
+ template: NodeTemplate;
265
+ styles?: null | LayoutStyle<CatalogQuantityOptionElements, ConditionalStyleTransition<CatalogQuantityOptionTransitions, Predicates>>;
266
+ }
267
+ export interface CatalogQuantityOptionTransitions {
268
+ own?: null | CatalogQuantityStyles;
269
+ active?: null | CatalogQuantityStyles;
270
+ passive?: null | CatalogQuantityStyles;
271
+ }
272
+ export interface CatalogRadioGroupStyles {
273
+ container?: null | ContainerStylingProperties;
274
+ background?: null | BackgroundStylingProperties;
275
+ border?: null | BorderStylingProperties;
276
+ dimension?: null | DimensionStylingProperties;
277
+ flexChild?: null | FlexChildStylingProperties;
278
+ spacing?: null | SpacingStylingProperties;
279
+ }
280
+ export interface OptionContainerStyles {
281
+ container?: null | ContainerStylingProperties;
282
+ background?: null | BackgroundStylingProperties;
283
+ border?: null | BorderStylingProperties;
284
+ dimension?: null | DimensionStylingProperties;
285
+ flexChild?: null | FlexChildStylingProperties;
286
+ spacing?: null | SpacingStylingProperties;
287
+ }
288
+ export interface RadioOuterStyles {
289
+ container?: null | ContainerStylingProperties;
290
+ background?: null | BackgroundStylingProperties;
291
+ border?: null | BorderStylingProperties;
292
+ dimension?: null | DimensionStylingProperties;
293
+ flexChild?: null | FlexChildStylingProperties;
294
+ spacing?: null | SpacingStylingProperties;
295
+ }
296
+ export interface RadioInnerStyles {
297
+ background?: null | BackgroundStylingProperties;
298
+ border?: null | BorderStylingProperties;
299
+ flexChild?: null | FlexChildStylingProperties;
300
+ }
301
+ export interface CatalogRadioGroupElements {
302
+ own: BasicStateStylingBlock<CatalogRadioGroupStyles>[];
303
+ optionContainer?: null | BasicStateStylingBlock<OptionContainerStyles>[];
304
+ radioButtonOuter?: null | BasicStateStylingBlock<RadioOuterStyles>[];
305
+ radioButtonOuterChecked?: null | BasicStateStylingBlock<RadioOuterStyles>[];
306
+ radioButtonInner?: null | BasicStateStylingBlock<RadioInnerStyles>[];
307
+ radioButtonInnerChecked?: null | BasicStateStylingBlock<RadioInnerStyles>[];
308
+ }
309
+ export type InputValidation = {
310
+ type: "Required";
311
+ value: InputRequiredValidation;
312
+ };
313
+ export interface CatalogRadioGroupModel<NodeOptionTemplate, Predicates> {
314
+ a11yLabel?: null | string;
315
+ styles?: null | LayoutStyle<CatalogRadioGroupElements, ConditionalStyleTransition<CatalogRadioGroupTransitions, Predicates>>;
316
+ validations: InputValidation[];
317
+ options: CatalogQuantityOptionModel<NodeOptionTemplate, Predicates>[];
318
+ }
319
+ export interface CatalogRadioGroupTransitions {
320
+ own?: null | CatalogRadioGroupStyles;
321
+ option_container?: null | OptionContainerStyles;
322
+ radio_button_outer?: null | RadioOuterStyles;
323
+ radio_button_outer_checked?: null | RadioOuterStyles;
324
+ radio_button_inner?: null | RadioInnerStyles;
325
+ radio_button_inner_checked?: null | RadioInnerStyles;
326
+ }
327
+ export interface CatalogResponseButtonStyles {
328
+ container?: null | ContainerStylingProperties;
329
+ background?: null | BackgroundStylingProperties;
330
+ border?: null | BorderStylingProperties;
331
+ dimension?: null | DimensionStylingProperties;
332
+ flexChild?: null | FlexChildStylingProperties;
333
+ spacing?: null | SpacingStylingProperties;
334
+ }
335
+ export interface CatalogResponseButtonElements {
336
+ own: BasicStateStylingBlock<CatalogResponseButtonStyles>[];
337
+ }
338
+ export interface CatalogResponseButtonModel<Children, Predicates> {
339
+ a11y_label?: null | string;
340
+ styles?: null | LayoutStyle<CatalogResponseButtonElements, ConditionalStyleTransition<CatalogResponseButtonTransitions, Predicates>>;
341
+ children: Children[];
342
+ }
343
+ export interface CatalogResponseButtonTransitions {
344
+ own?: null | CatalogResponseButtonStyles;
345
+ }
346
+ export interface CatalogStackedCollectionStyles {
347
+ container?: null | ContainerStylingProperties;
348
+ background?: null | BackgroundStylingProperties;
349
+ border?: null | BorderStylingProperties;
350
+ dimension?: null | DimensionStylingProperties;
351
+ flexChild?: null | FlexChildStylingProperties;
352
+ spacing?: null | SpacingStylingProperties;
353
+ }
354
+ export interface CatalogStackedCollectionElements {
355
+ own: StatelessStylingBlock<CatalogStackedCollectionStyles>[];
356
+ }
357
+ export interface CatalogStackedCollectionModel<NodeTemplate, Predicates> {
358
+ styles?: null | LayoutStyle<CatalogStackedCollectionElements, ConditionalStyleTransition<CatalogStackedCollectionTransitions, Predicates>>;
359
+ template: NodeTemplate;
360
+ }
361
+ export interface CatalogStackedCollectionTransitions {
362
+ own?: null | CatalogStackedCollectionStyles;
363
+ }
364
+ export interface ChildRootSchemaModel<Layout, Display, Settings, Predicates> {
365
+ breakpoints: Record<string, number>;
366
+ layout: Layout;
367
+ settings?: null | Settings;
368
+ display?: null | Display;
369
+ predicates: Predicates[];
370
+ }
371
+ export interface CloseButtonStyles {
372
+ container?: null | ContainerStylingProperties;
373
+ background?: null | BackgroundStylingProperties;
374
+ border?: null | BorderStylingProperties;
375
+ dimension?: null | DimensionStylingProperties;
376
+ flexChild?: null | FlexChildStylingProperties;
377
+ spacing?: null | SpacingStylingProperties;
378
+ }
379
+ export interface CloseButtonElements {
380
+ own: BasicStateStylingBlock<CloseButtonStyles>[];
381
+ }
382
+ export interface CloseButtonModel<Children, Predicates> {
383
+ a11yLabel?: null | string;
384
+ styles?: null | LayoutStyle<CloseButtonElements, ConditionalStyleTransition<CloseButtonTransitions, Predicates>>;
385
+ children: Children[];
386
+ dismissalMethod?: null | string;
387
+ }
388
+ export interface CloseButtonTransitions {
389
+ own?: null | CloseButtonStyles;
390
+ }
391
+ export interface ColumnStyle {
392
+ container?: null | ContainerStylingProperties;
393
+ background?: null | BackgroundStylingProperties;
394
+ border?: null | BorderStylingProperties;
395
+ dimension?: null | DimensionStylingProperties;
396
+ flexChild?: null | FlexChildStylingProperties;
397
+ spacing?: null | SpacingStylingProperties;
398
+ }
399
+ export interface ColumnElements {
400
+ own: BasicStateStylingBlock<ColumnStyle>[];
401
+ }
402
+ export interface ColumnModel<Children, Predicates> {
403
+ a11yLabel?: null | string;
404
+ styles?: null | LayoutStyle<ColumnElements, ConditionalStyleTransition<ColumnTransitions, Predicates>>;
405
+ children: Children[];
406
+ }
407
+ export interface ColumnTransitions {
408
+ own?: null | ColumnStyle;
409
+ }
410
+ export interface CopyToClipboardButtonStyles {
411
+ container?: null | ContainerStylingProperties;
412
+ background?: null | BackgroundStylingProperties;
413
+ border?: null | BorderStylingProperties;
414
+ dimension?: null | DimensionStylingProperties;
415
+ flexChild?: null | FlexChildStylingProperties;
416
+ spacing?: null | SpacingStylingProperties;
417
+ }
418
+ export interface CopyToClipboardButtonElements {
419
+ own: BasicStateStylingBlock<CopyToClipboardButtonStyles>[];
420
+ }
421
+ export interface CopyToClipboardButtonModel<Children, Predicates> {
422
+ a11yLabel?: null | string;
423
+ value: string;
424
+ customStateKey: string;
425
+ styles?: null | LayoutStyle<CopyToClipboardButtonElements, ConditionalStyleTransition<CopyToClipboardButtonTransitions, Predicates>>;
426
+ children: Children[];
427
+ }
428
+ export interface CopyToClipboardButtonTransitions {
429
+ own?: null | CopyToClipboardButtonStyles;
430
+ }
431
+ export type ExistenceWhenCondition = "exists" | "not-exists";
432
+ export interface CreativeCopyPredicate {
433
+ condition: ExistenceWhenCondition;
434
+ value: string;
435
+ }
436
+ export interface CreativeResponseStyles {
437
+ container?: null | ContainerStylingProperties;
438
+ background?: null | BackgroundStylingProperties;
439
+ border?: null | BorderStylingProperties;
440
+ dimension?: null | DimensionStylingProperties;
441
+ flexChild?: null | FlexChildStylingProperties;
442
+ spacing?: null | SpacingStylingProperties;
443
+ }
444
+ export interface CreativeResponseElements {
445
+ own: BasicStateStylingBlock<CreativeResponseStyles>[];
446
+ }
447
+ export type LinkOpenTarget = "internally" | "externally";
448
+ export interface CreativeResponseModel<Children, Predicates> {
449
+ a11yLabel?: null | string;
450
+ responseKey: string;
451
+ styles?: null | LayoutStyle<CreativeResponseElements, ConditionalStyleTransition<CreativeResponseTransitions, Predicates>>;
452
+ openLinks?: null | LinkOpenTarget;
453
+ children: Children[];
454
+ }
455
+ export interface CreativeResponseTransitions {
456
+ own?: null | CreativeResponseStyles;
457
+ }
458
+ export interface CustomStatePredicate {
459
+ key: string;
460
+ condition: OrderableWhenCondition;
461
+ value: number;
462
+ }
463
+ export type EqualityWhenCondition = "is" | "is-not";
464
+ export interface DarkModePredicate {
465
+ condition: EqualityWhenCondition;
466
+ value: boolean;
467
+ }
468
+ export interface DataIconStyles {
469
+ text?: null | TextStylingProperties;
470
+ dimension?: null | DimensionStylingProperties;
471
+ flexChild?: null | FlexChildStylingProperties;
472
+ spacing?: null | SpacingStylingProperties;
473
+ background?: null | BackgroundStylingProperties;
474
+ border?: null | BorderStylingProperties;
475
+ }
476
+ export interface DataIconElements {
477
+ own: BasicStateStylingBlock<DataIconStyles>[];
478
+ }
479
+ export interface DataIconModel<Predicates> {
480
+ styles?: null | LayoutStyle<DataIconElements, ConditionalStyleTransition<DataIconTransitions, Predicates>>;
481
+ iconKey: string;
482
+ }
483
+ export interface DataIconTransitions {
484
+ own?: null | DataIconStyles;
485
+ }
486
+ export interface DataImageStyles {
487
+ background?: null | BackgroundStylingProperties;
488
+ border?: null | BorderStylingProperties;
489
+ dimension?: null | DimensionStylingProperties;
490
+ flexChild?: null | FlexChildStylingProperties;
491
+ spacing?: null | SpacingStylingProperties;
492
+ }
493
+ export interface DataImageElements {
494
+ own: BasicStateStylingBlock<DataImageStyles>[];
495
+ }
496
+ export interface DataImageModel<Predicates> {
497
+ styles?: null | LayoutStyle<DataImageElements, ConditionalStyleTransition<DataImageTransitions, Predicates>>;
498
+ imageKey: string;
499
+ }
500
+ export interface DataImageTransitions {
501
+ own?: null | DataImageStyles;
502
+ }
503
+ export type DomainStateKey = "offerComplete" | "checkout";
504
+ export interface DomainStatePredicate<DomainStateKey> {
505
+ key: DomainStateKey;
506
+ condition: OrderableWhenCondition;
507
+ value: number;
508
+ }
509
+ export interface DynamicIntegerPredicate {
510
+ condition: OrderableWhenCondition;
511
+ input: string;
512
+ value: number;
513
+ }
514
+ export type StringWhenCondition = "is" | "is-not" | "exists" | "not-exists";
515
+ export interface DynamicStringPredicate {
516
+ condition: StringWhenCondition;
517
+ input: string;
518
+ value: string;
519
+ }
520
+ export interface EscapeHatchModel {
521
+ data: string;
522
+ }
523
+ export interface FadeInOutTransitionSettings {
524
+ duration: number;
525
+ }
526
+ export interface FadeInTransitionSettings {
527
+ duration: number;
528
+ }
529
+ export interface FadeOutTransitionSettings {
530
+ duration: number;
531
+ }
532
+ export interface FlowRowStyle {
533
+ container?: null | ContainerStylingProperties;
534
+ background?: null | BackgroundStylingProperties;
535
+ border?: null | BorderStylingProperties;
536
+ dimension?: null | DimensionStylingProperties;
537
+ flexChild?: null | FlexChildStylingProperties;
538
+ spacing?: null | SpacingStylingProperties;
539
+ }
540
+ export interface FlowRowElements {
541
+ own: BasicStateStylingBlock<FlowRowStyle>[];
542
+ }
543
+ export interface FlowRowModel<Children, Predicates> {
544
+ a11yLabel?: null | string;
545
+ styles?: null | LayoutStyle<FlowRowElements, ConditionalStyleTransition<FlowRowTransitions, Predicates>>;
546
+ children: Children[];
547
+ }
548
+ export interface FlowRowTransitions {
549
+ own?: null | FlowRowStyle;
550
+ }
551
+ export interface GroupedDistributionStyles {
552
+ container?: null | ContainerStylingProperties;
553
+ background?: null | BackgroundStylingProperties;
554
+ border?: null | BorderStylingProperties;
555
+ dimension?: null | DimensionStylingProperties;
556
+ flexChild?: null | FlexChildStylingProperties;
557
+ spacing?: null | SpacingStylingProperties;
558
+ }
559
+ export interface GroupedDistributionElements {
560
+ own: StatelessStylingBlock<GroupedDistributionStyles>[];
561
+ }
562
+ export type Transition = {
563
+ type: "FadeInOut";
564
+ settings: FadeInOutTransitionSettings;
565
+ };
566
+ export interface GroupedDistributionModel<Predicates> {
567
+ viewableItems: number[];
568
+ transition: Transition;
569
+ styles?: null | LayoutStyle<GroupedDistributionElements, ConditionalStyleTransition<GroupedDistributionTransitions, Predicates>>;
570
+ }
571
+ export interface GroupedDistributionTransitions {
572
+ own?: null | GroupedDistributionStyles;
573
+ }
574
+ export interface InlineTextStylingProperties {
575
+ textColor?: null | ThemeColor;
576
+ fontSize?: null | number;
577
+ fontFamily?: null | string;
578
+ fontWeight?: null | FontWeight;
579
+ baselineTextAlign?: null | FontBaselineAlignment;
580
+ fontStyle?: null | FontStyle;
581
+ textTransform?: null | TextTransform;
582
+ letterSpacing?: null | number;
583
+ textDecoration?: null | TextDecoration;
584
+ }
585
+ export interface InLineTextStyle {
586
+ text: InlineTextStylingProperties;
587
+ }
588
+ export interface IndicatorStyles {
589
+ container?: null | ContainerStylingProperties;
590
+ background?: null | BackgroundStylingProperties;
591
+ border?: null | BorderStylingProperties;
592
+ dimension?: null | DimensionStylingProperties;
593
+ flexChild?: null | FlexChildStylingProperties;
594
+ spacing?: null | SpacingStylingProperties;
595
+ text?: null | TextStylingProperties;
596
+ }
597
+ export interface InlineSpacingStylingProperties {
598
+ padding?: null | string;
599
+ margin?: null | string;
600
+ }
601
+ export interface InlineBasicTextStyle {
602
+ spacing?: null | InlineSpacingStylingProperties;
603
+ background?: null | BackgroundStylingProperties;
604
+ text?: null | InlineTextStylingProperties;
605
+ }
606
+ export interface InlineBasicTextElements {
607
+ own: BasicStateStylingBlock<InlineBasicTextStyle>[];
608
+ }
609
+ export interface InlineBasicTextModel<Predicates> {
610
+ styles?: null | LayoutStyle<InlineBasicTextElements, ConditionalStyleTransition<InlineBasicTextTransitions, Predicates>>;
611
+ value: string;
612
+ }
613
+ export interface InlineBasicTextTransitions {
614
+ own?: null | InlineBasicTextStyle;
615
+ }
616
+ export interface InlineContainerStyles {
617
+ container?: null | ContainerStylingProperties;
618
+ background?: null | BackgroundStylingProperties;
619
+ border?: null | BorderStylingProperties;
620
+ dimension?: null | DimensionStylingProperties;
621
+ flexChild?: null | FlexChildStylingProperties;
622
+ spacing?: null | SpacingStylingProperties;
623
+ }
624
+ export interface InlineContainerElements {
625
+ own: BasicStateStylingBlock<InlineContainerStyles>[];
626
+ }
627
+ export interface InlineContainerModel<Children, Predicates> {
628
+ a11yLabel?: null | string;
629
+ styles?: null | LayoutStyle<InlineContainerElements, ConditionalStyleTransition<InlineContainerTransitions, Predicates>>;
630
+ children: Children[];
631
+ }
632
+ export interface InlineContainerStylingProperties {
633
+ shadow?: null | Shadow;
634
+ blur?: null | number;
635
+ opacity?: null | number;
636
+ }
637
+ export interface InlineContainerTransitions {
638
+ own?: null | InlineContainerStyles;
639
+ }
640
+ export interface InlineStaticLinkStyles {
641
+ container?: null | InlineContainerStylingProperties;
642
+ background?: null | BackgroundStylingProperties;
643
+ border?: null | BorderStylingProperties;
644
+ spacing?: null | InlineSpacingStylingProperties;
645
+ }
646
+ export interface InlineStaticLinkElements {
647
+ own: BasicStateStylingBlock<InlineStaticLinkStyles>[];
648
+ }
649
+ export interface InlineStaticLinkModel<Children, Predicates> {
650
+ a11yLabel?: null | string;
651
+ src: string;
652
+ open: LinkOpenTarget;
653
+ styles?: null | LayoutStyle<InlineStaticLinkElements, ConditionalStyleTransition<InlineStaticLinkTransitions, Predicates>>;
654
+ children: Children[];
655
+ }
656
+ export interface InlineStaticLinkTransitions {
657
+ own?: null | InlineStaticLinkStyles;
658
+ }
659
+ export interface InlineToggleButtonStateTriggerStyle {
660
+ container?: null | InlineContainerStylingProperties;
661
+ background?: null | BackgroundStylingProperties;
662
+ border?: null | BorderStylingProperties;
663
+ spacing?: null | InlineSpacingStylingProperties;
664
+ }
665
+ export interface InlineToggleButtonStateTriggerElements {
666
+ own: BasicStateStylingBlock<InlineToggleButtonStateTriggerStyle>[];
667
+ }
668
+ export interface InlineToggleButtonStateTriggerModel<Children, Predicates> {
669
+ a11yLabel?: null | string;
670
+ styles?: null | LayoutStyle<InlineToggleButtonStateTriggerElements, ConditionalStyleTransition<InlineToggleButtonStateTriggerTransitions, Predicates>>;
671
+ children: Children[];
672
+ customStateKey: string;
673
+ }
674
+ export interface InlineToggleButtonStateTriggerTransitions {
675
+ own?: null | InlineToggleButtonStateTriggerStyle;
676
+ }
677
+ export interface InputRequiredValidation {
678
+ message: string;
679
+ }
680
+ export interface LayoutSchemaDomainStatePredicate {
681
+ key: DomainStateKey;
682
+ condition: OrderableWhenCondition;
683
+ value: number;
684
+ }
685
+ export interface LayoutSettings {
686
+ closeOnComplete?: null | boolean;
687
+ enablePartnerValidation?: null | boolean;
688
+ }
689
+ export interface OneByOneDistributionStyles {
690
+ container?: null | ContainerStylingProperties;
691
+ background?: null | BackgroundStylingProperties;
692
+ border?: null | BorderStylingProperties;
693
+ dimension?: null | DimensionStylingProperties;
694
+ flexChild?: null | FlexChildStylingProperties;
695
+ spacing?: null | SpacingStylingProperties;
696
+ }
697
+ export interface OneByOneDistributionElements {
698
+ own: StatelessStylingBlock<OneByOneDistributionStyles>[];
699
+ }
700
+ export interface OneByOneDistributionModel<Predicates> {
701
+ styles?: null | LayoutStyle<OneByOneDistributionElements, ConditionalStyleTransition<OneByOneDistributionTransitions, Predicates>>;
702
+ transition: Transition;
703
+ }
704
+ export interface OneByOneDistributionTransitions {
705
+ own?: null | OneByOneDistributionStyles;
706
+ }
707
+ export interface OverlayStyles {
708
+ container?: null | ContainerStylingProperties;
709
+ background?: null | BackgroundStylingProperties;
710
+ border?: null | BorderStylingProperties;
711
+ dimension?: null | DimensionStylingProperties;
712
+ flexChild?: null | FlexChildStylingProperties;
713
+ spacing?: null | SpacingStylingProperties;
714
+ }
715
+ export interface OverlayWrapperStyles {
716
+ container?: null | ContainerStylingProperties;
717
+ background?: null | BackgroundStylingProperties;
718
+ }
719
+ export interface OverlayElements {
720
+ own: BasicStateStylingBlock<OverlayStyles>[];
721
+ wrapper: BasicStateStylingBlock<OverlayWrapperStyles>[];
722
+ }
723
+ export interface OverlayModel<Children, Predicates> {
724
+ allowBackdropToClose: boolean;
725
+ a11yLabel?: null | string;
726
+ styles?: null | LayoutStyle<OverlayElements, ConditionalStyleTransition<OverlayTransitions, Predicates>>;
727
+ children: Children[];
728
+ }
729
+ export interface OverlayTransitions {
730
+ own?: null | OverlayStyles;
731
+ wrapper?: null | OverlayWrapperStyles;
732
+ }
733
+ export interface PartnerEventButtonTriggerStyle {
734
+ container?: null | ContainerStylingProperties;
735
+ background?: null | BackgroundStylingProperties;
736
+ border?: null | BorderStylingProperties;
737
+ dimension?: null | DimensionStylingProperties;
738
+ flexChild?: null | FlexChildStylingProperties;
739
+ spacing?: null | SpacingStylingProperties;
740
+ }
741
+ export interface PartnerEventButtonTriggerElements {
742
+ own: BasicStateStylingBlock<PartnerEventButtonTriggerStyle>[];
743
+ }
744
+ export type DomainPartnerEvent = {
745
+ type: "UPSELL_CREATIVE_SENT";
746
+ data: UpsellCreativeSentEventData;
747
+ };
748
+ export interface PartnerEventButtonTriggerModel<Children, Predicates> {
749
+ a11yLabel?: null | string;
750
+ styles?: null | LayoutStyle<PartnerEventButtonTriggerElements, ConditionalStyleTransition<PartnerEventButtonTriggerTransitions, Predicates>>;
751
+ children: Children[];
752
+ event: DomainPartnerEvent;
753
+ }
754
+ export interface PartnerEventButtonTriggerTransitions {
755
+ own?: null | PartnerEventButtonTriggerStyle;
756
+ }
757
+ export interface PositionPredicate {
758
+ condition: OrderableWhenCondition;
759
+ value: string;
760
+ }
761
+ export interface ProgressControlStyle {
762
+ container?: null | ContainerStylingProperties;
763
+ background?: null | BackgroundStylingProperties;
764
+ border?: null | BorderStylingProperties;
765
+ dimension?: null | DimensionStylingProperties;
766
+ flexChild?: null | FlexChildStylingProperties;
767
+ spacing?: null | SpacingStylingProperties;
768
+ }
769
+ export interface ProgressControlElements {
770
+ own: BasicStateStylingBlock<ProgressControlStyle>[];
771
+ }
772
+ export type ProgressionDirection = "Forward" | "Backward";
773
+ export interface ProgressControlModel<Children, Predicates> {
774
+ a11yLabel?: null | string;
775
+ styles?: null | LayoutStyle<ProgressControlElements, ConditionalStyleTransition<ProgressControlTransitions, Predicates>>;
776
+ direction: ProgressionDirection;
777
+ children: Children[];
778
+ }
779
+ export interface ProgressControlTransitions {
780
+ own?: null | ProgressControlStyle;
781
+ }
782
+ export interface ProgressIndicatorStyles {
783
+ container?: null | ContainerStylingProperties;
784
+ background?: null | BackgroundStylingProperties;
785
+ border?: null | BorderStylingProperties;
786
+ dimension?: null | DimensionStylingProperties;
787
+ flexChild?: null | FlexChildStylingProperties;
788
+ spacing?: null | SpacingStylingProperties;
789
+ }
790
+ export interface ProgressIndicatorElements {
791
+ own: BasicStateStylingBlock<ProgressIndicatorStyles>[];
792
+ indicator: BasicStateStylingBlock<IndicatorStyles>[];
793
+ activeIndicator?: null | BasicStateStylingBlock<IndicatorStyles>[];
794
+ seenIndicator?: null | BasicStateStylingBlock<IndicatorStyles>[];
795
+ }
796
+ export interface ProgressIndicatorModel<Predicates> {
797
+ styles?: null | LayoutStyle<ProgressIndicatorElements, ConditionalStyleTransition<ProgressIndicatorTransitions, Predicates>>;
798
+ indicator: string;
799
+ startPosition?: null | number;
800
+ accessibilityHidden?: null | boolean;
801
+ }
802
+ export interface ProgressIndicatorTransitions {
803
+ own?: null | ProgressIndicatorStyles;
804
+ indicator?: null | IndicatorStyles;
805
+ activeIndicator?: null | IndicatorStyles;
806
+ seenIndicator?: null | IndicatorStyles;
807
+ }
808
+ export interface ProgressionPredicate {
809
+ condition: OrderableWhenCondition;
810
+ value: string;
811
+ }
812
+ export interface RichTextStyle {
813
+ dimension?: null | DimensionStylingProperties;
814
+ flexChild?: null | FlexChildStylingProperties;
815
+ spacing?: null | SpacingStylingProperties;
816
+ background?: null | BackgroundStylingProperties;
817
+ text?: null | TextStylingProperties;
818
+ }
819
+ export interface RichTextElements {
820
+ own: BasicStateStylingBlock<RichTextStyle>[];
821
+ link?: null | BasicStateStylingBlock<InLineTextStyle>[];
822
+ }
823
+ export interface RichTextModel<Predicates> {
824
+ styles?: null | LayoutStyle<RichTextElements, ConditionalStyleTransition<RichTextTransitions, Predicates>>;
825
+ openLinks?: null | LinkOpenTarget;
826
+ value: string;
827
+ }
828
+ export interface RichTextTransitions {
829
+ own?: null | RichTextStyle;
830
+ link?: null | InLineTextStyle;
831
+ }
832
+ export interface RootSchemaModel<Layout, Display, Settings> {
833
+ breakpoints: Record<string, number>;
834
+ layout: Layout;
835
+ settings?: null | Settings;
836
+ display?: null | Display;
837
+ }
838
+ export interface RowStyle {
839
+ container?: null | ContainerStylingProperties;
840
+ background?: null | BackgroundStylingProperties;
841
+ border?: null | BorderStylingProperties;
842
+ dimension?: null | DimensionStylingProperties;
843
+ flexChild?: null | FlexChildStylingProperties;
844
+ spacing?: null | SpacingStylingProperties;
845
+ }
846
+ export interface RowElements {
847
+ own: BasicStateStylingBlock<RowStyle>[];
848
+ }
849
+ export interface RowModel<Children, Predicates> {
850
+ a11yLabel?: null | string;
851
+ styles?: null | LayoutStyle<RowElements, ConditionalStyleTransition<RowTransitions, Predicates>>;
852
+ children: Children[];
853
+ }
854
+ export interface RowTransitions {
855
+ own?: null | RowStyle;
856
+ }
857
+ export interface ScrollableColumnStyle {
858
+ container?: null | ContainerStylingProperties;
859
+ background?: null | BackgroundStylingProperties;
860
+ border?: null | BorderStylingProperties;
861
+ dimension?: null | DimensionStylingProperties;
862
+ flexChild?: null | FlexChildStylingProperties;
863
+ spacing?: null | SpacingStylingProperties;
864
+ }
865
+ export interface ScrollableColumnElements {
866
+ own: BasicStateStylingBlock<ScrollableColumnStyle>[];
867
+ }
868
+ export interface ScrollableColumnModel<Children, Predicates> {
869
+ a11yLabel?: null | string;
870
+ styles?: null | LayoutStyle<ScrollableColumnElements, ConditionalStyleTransition<ScrollableColumnTransitions, Predicates>>;
871
+ children: Children[];
872
+ }
873
+ export interface ScrollableColumnTransitions {
874
+ own?: null | ScrollableColumnStyle;
875
+ }
876
+ export interface ScrollableRowStyle {
877
+ container?: null | ContainerStylingProperties;
878
+ background?: null | BackgroundStylingProperties;
879
+ border?: null | BorderStylingProperties;
880
+ dimension?: null | DimensionStylingProperties;
881
+ flexChild?: null | FlexChildStylingProperties;
882
+ spacing?: null | SpacingStylingProperties;
883
+ }
884
+ export interface ScrollableRowElements {
885
+ own: BasicStateStylingBlock<ScrollableRowStyle>[];
886
+ }
887
+ export interface ScrollableRowModel<Children, Predicates> {
888
+ a11yLabel?: null | string;
889
+ styles?: null | LayoutStyle<ScrollableRowElements, ConditionalStyleTransition<ScrollableRowTransitions, Predicates>>;
890
+ children: Children[];
891
+ }
892
+ export interface ScrollableRowTransitions {
893
+ own?: null | ScrollableRowStyle;
894
+ }
895
+ export interface SlideStateTriggerOwnStyles {
896
+ container?: null | ContainerStylingProperties;
897
+ background?: null | BackgroundStylingProperties;
898
+ border?: null | BorderStylingProperties;
899
+ dimension?: null | DimensionStylingProperties;
900
+ flexChild?: null | FlexChildStylingProperties;
901
+ spacing?: null | SpacingStylingProperties;
902
+ }
903
+ export interface SlideStateTriggerThumbStyles {
904
+ text?: null | TextStylingProperties;
905
+ background?: null | BackgroundStylingProperties;
906
+ border?: null | BorderStylingProperties;
907
+ dimension?: null | DimensionStylingProperties;
908
+ flexChild?: null | FlexChildStylingProperties;
909
+ spacing?: null | SpacingStylingProperties;
910
+ }
911
+ export interface SlideStateTriggerLabelStyles {
912
+ text?: null | TextStylingProperties;
913
+ spacing?: null | SpacingStylingProperties;
914
+ }
915
+ export interface SlideStateTriggerFillStyles {
916
+ background?: null | BackgroundStylingProperties;
917
+ border?: null | BorderStylingProperties;
918
+ }
919
+ export interface SlideStateTriggerElements {
920
+ own: StatelessStylingBlock<SlideStateTriggerOwnStyles>[];
921
+ thumb?: null | StatelessStylingBlock<SlideStateTriggerThumbStyles>[];
922
+ label?: null | StatelessStylingBlock<SlideStateTriggerLabelStyles>[];
923
+ fill?: null | StatelessStylingBlock<SlideStateTriggerFillStyles>[];
924
+ }
925
+ export interface SlideStateTriggerLabel {
926
+ value?: null | string;
927
+ }
928
+ export interface SlideStateTriggerThumb {
929
+ icon?: null | string;
930
+ }
931
+ export interface SlideStateTriggerModel<Predicates> {
932
+ a11yLabel?: null | string;
933
+ styles?: null | LayoutStyle<SlideStateTriggerElements, ConditionalStyleTransition<SlideStateTriggerTransitions, Predicates>>;
934
+ thumb?: null | SlideStateTriggerThumb;
935
+ label?: null | SlideStateTriggerLabel;
936
+ customStateKey: string;
937
+ customStateValue?: null | number;
938
+ }
939
+ export interface SlideStateTriggerTransitions {
940
+ own?: null | SlideStateTriggerOwnStyles;
941
+ thumb?: null | SlideStateTriggerThumbStyles;
942
+ label?: null | SlideStateTriggerLabelStyles;
943
+ fill?: null | SlideStateTriggerFillStyles;
944
+ }
945
+ export interface StackedDistributionStyles {
946
+ container?: null | ContainerStylingProperties;
947
+ background?: null | BackgroundStylingProperties;
948
+ border?: null | BorderStylingProperties;
949
+ dimension?: null | DimensionStylingProperties;
950
+ flexChild?: null | FlexChildStylingProperties;
951
+ spacing?: null | SpacingStylingProperties;
952
+ }
953
+ export interface StackedDistributionElements {
954
+ own: StatelessStylingBlock<StackedDistributionStyles>[];
955
+ }
956
+ export interface StackedViewableItem<Predicates> {
957
+ when: Predicates[];
958
+ value?: null | number;
959
+ }
960
+ export interface StackedDistributionModel<Predicates> {
961
+ styles?: null | LayoutStyle<StackedDistributionElements, ConditionalStyleTransition<StackedDistributionTransitions, Predicates>>;
962
+ viewableItems?: null | StackedViewableItem<Predicates>[];
963
+ }
964
+ export interface StackedDistributionTransitions {
965
+ own?: null | StackedDistributionStyles;
966
+ }
967
+ export type BooleanWhenCondition = "is-true" | "is-false";
968
+ export interface StaticBooleanPredicate {
969
+ condition: BooleanWhenCondition;
970
+ value: boolean;
971
+ }
972
+ export interface StaticIconStyles {
973
+ text?: null | TextStylingProperties;
974
+ dimension?: null | DimensionStylingProperties;
975
+ flexChild?: null | FlexChildStylingProperties;
976
+ spacing?: null | SpacingStylingProperties;
977
+ background?: null | BackgroundStylingProperties;
978
+ border?: null | BorderStylingProperties;
979
+ }
980
+ export interface StaticIconElements {
981
+ own: BasicStateStylingBlock<StaticIconStyles>[];
982
+ }
983
+ export interface StaticIconModel<Predicates> {
984
+ styles?: null | LayoutStyle<StaticIconElements, ConditionalStyleTransition<StaticIconTransitions, Predicates>>;
985
+ name: string;
986
+ description?: null | string;
987
+ }
988
+ export interface StaticIconTransitions {
989
+ own?: null | StaticIconStyles;
990
+ }
991
+ export interface StaticImageStyles {
992
+ background?: null | BackgroundStylingProperties;
993
+ border?: null | BorderStylingProperties;
994
+ dimension?: null | DimensionStylingProperties;
995
+ flexChild?: null | FlexChildStylingProperties;
996
+ spacing?: null | SpacingStylingProperties;
997
+ }
998
+ export interface StaticImageElements {
999
+ own: BasicStateStylingBlock<StaticImageStyles>[];
1000
+ }
1001
+ export interface StaticImageUrl {
1002
+ light: string;
1003
+ dark?: null | string;
1004
+ }
1005
+ export interface StaticImageModel<Predicates> {
1006
+ styles?: null | LayoutStyle<StaticImageElements, ConditionalStyleTransition<StaticImageTransitions, Predicates>>;
1007
+ alt?: null | string;
1008
+ title?: null | string;
1009
+ url: StaticImageUrl;
1010
+ }
1011
+ export interface StaticImageTransitions {
1012
+ own?: null | StaticImageStyles;
1013
+ }
1014
+ export interface StaticLinkStyles {
1015
+ container?: null | ContainerStylingProperties;
1016
+ background?: null | BackgroundStylingProperties;
1017
+ border?: null | BorderStylingProperties;
1018
+ dimension?: null | DimensionStylingProperties;
1019
+ flexChild?: null | FlexChildStylingProperties;
1020
+ spacing?: null | SpacingStylingProperties;
1021
+ }
1022
+ export interface StaticLinkElements {
1023
+ own: BasicStateStylingBlock<StaticLinkStyles>[];
1024
+ }
1025
+ export interface StaticLinkModel<Children, Predicates> {
1026
+ a11yLabel?: null | string;
1027
+ src: string;
1028
+ open: LinkOpenTarget;
1029
+ styles?: null | LayoutStyle<StaticLinkElements, ConditionalStyleTransition<StaticLinkTransitions, Predicates>>;
1030
+ children: Children[];
1031
+ }
1032
+ export interface StaticLinkTransitions {
1033
+ own?: null | StaticLinkStyles;
1034
+ }
1035
+ export interface StaticStringPredicate {
1036
+ input: string;
1037
+ condition: EqualityWhenCondition;
1038
+ value: string;
1039
+ }
1040
+ export interface TimerStateTriggerModel {
1041
+ customStateKey: string;
1042
+ delay?: null | number;
1043
+ value?: null | number;
1044
+ }
1045
+ export interface ToggleButtonStateTriggerStyle {
1046
+ container?: null | ContainerStylingProperties;
1047
+ background?: null | BackgroundStylingProperties;
1048
+ border?: null | BorderStylingProperties;
1049
+ dimension?: null | DimensionStylingProperties;
1050
+ flexChild?: null | FlexChildStylingProperties;
1051
+ spacing?: null | SpacingStylingProperties;
1052
+ }
1053
+ export interface ToggleButtonStateTriggerElements {
1054
+ own: BasicStateStylingBlock<ToggleButtonStateTriggerStyle>[];
1055
+ }
1056
+ export interface ToggleButtonStateTriggerModel<Children, Predicates> {
1057
+ a11yLabel?: null | string;
1058
+ styles?: null | LayoutStyle<ToggleButtonStateTriggerElements, ConditionalStyleTransition<ToggleButtonStateTriggerTransitions, Predicates>>;
1059
+ children: Children[];
1060
+ customStateKey: string;
1061
+ }
1062
+ export interface ToggleButtonStateTriggerTransitions {
1063
+ own?: null | ToggleButtonStateTriggerStyle;
1064
+ }
1065
+ export interface UpsellCreativeSentEventData {
1066
+ providerOfferId: string;
1067
+ title: string;
1068
+ description: string;
1069
+ }
1070
+ export type InTransition = {
1071
+ type: "FadeIn";
1072
+ settings: FadeInTransitionSettings;
1073
+ };
1074
+ export type OutTransition = {
1075
+ type: "FadeOut";
1076
+ settings: FadeOutTransitionSettings;
1077
+ };
1078
+ export interface WhenTransition {
1079
+ inTransition?: null | InTransition[];
1080
+ outTransition?: null | OutTransition[];
1081
+ }
1082
+ export type WhenHidden = "visually" | "functionally";
1083
+ export interface WhenModel<Children, Predicates> {
1084
+ predicates: Predicates[];
1085
+ children: Children[];
1086
+ transition?: null | WhenTransition;
1087
+ hide?: null | WhenHidden;
1088
+ }
1089
+ export interface ZStackContainerStylingProperties {
1090
+ justifyContent?: null | FlexJustification;
1091
+ alignItems?: null | FlexAlignment;
1092
+ shadow?: null | Shadow;
1093
+ overflow?: null | Overflow;
1094
+ blur?: null | number;
1095
+ opacity?: null | number;
1096
+ }
1097
+ export interface ZStackStyle {
1098
+ container?: null | ZStackContainerStylingProperties;
1099
+ background?: null | BackgroundStylingProperties;
1100
+ border?: null | BorderStylingProperties;
1101
+ dimension?: null | DimensionStylingProperties;
1102
+ flexChild?: null | FlexChildStylingProperties;
1103
+ spacing?: null | SpacingStylingProperties;
1104
+ }
1105
+ export interface ZStackElements {
1106
+ own: BasicStateStylingBlock<ZStackStyle>[];
1107
+ }
1108
+ export interface ZStackModel<Children, Predicates> {
1109
+ a11yLabel?: null | string;
1110
+ styles?: null | LayoutStyle<ZStackElements, ConditionalStyleTransition<ZStackTransitions, Predicates>>;
1111
+ children: Children[];
1112
+ }
1113
+ export interface ZStackTransitions {
1114
+ own?: null | ZStackStyle;
1115
+ }
1116
+ export type CatalogStackedCollectionTemplateNode = {
1117
+ type: "Row";
1118
+ node: RowModel<CatalogStackedCollectionTemplateNodeChildren, LayoutVariantWhenPredicate>;
1119
+ } | {
1120
+ type: "Column";
1121
+ node: ColumnModel<CatalogStackedCollectionTemplateNodeChildren, LayoutVariantWhenPredicate>;
1122
+ };
1123
+ export type CatalogStackedCollectionTemplateNodeChildren = {
1124
+ type: "Row";
1125
+ node: RowModel<CatalogStackedCollectionTemplateNodeChildren, LayoutVariantWhenPredicate>;
1126
+ } | {
1127
+ type: "Column";
1128
+ node: ColumnModel<CatalogStackedCollectionTemplateNodeChildren, LayoutVariantWhenPredicate>;
1129
+ } | {
1130
+ type: "StaticImage";
1131
+ node: StaticImageModel<LayoutVariantWhenPredicate>;
1132
+ } | {
1133
+ type: "StaticIcon";
1134
+ node: StaticIconModel<LayoutVariantWhenPredicate>;
1135
+ } | {
1136
+ type: "ZStack";
1137
+ node: ZStackModel<CatalogStackedCollectionTemplateNodeChildren, LayoutVariantWhenPredicate>;
1138
+ } | {
1139
+ type: "FlowRow";
1140
+ node: FlowRowModel<CatalogStackedCollectionTemplateNodeChildren, LayoutVariantWhenPredicate>;
1141
+ } | {
1142
+ type: "RichText";
1143
+ node: RichTextModel<LayoutVariantWhenPredicate>;
1144
+ } | {
1145
+ type: "BasicText";
1146
+ node: BasicTextModel<LayoutVariantWhenPredicate>;
1147
+ } | {
1148
+ type: "DataImage";
1149
+ node: DataImageModel<LayoutVariantWhenPredicate>;
1150
+ } | {
1151
+ type: "DataIcon";
1152
+ node: DataIconModel<LayoutVariantWhenPredicate>;
1153
+ } | {
1154
+ type: "When";
1155
+ node: WhenModel<CatalogStackedCollectionTemplateNodeChildren, LayoutVariantWhenPredicate>;
1156
+ } | {
1157
+ type: "StaticLink";
1158
+ node: StaticLinkModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1159
+ } | {
1160
+ type: "SlideStateTrigger";
1161
+ node: SlideStateTriggerModel<LayoutVariantWhenPredicate>;
1162
+ } | {
1163
+ type: "TimerStateTrigger";
1164
+ node: TimerStateTriggerModel;
1165
+ } | {
1166
+ type: "ToggleButtonStateTrigger";
1167
+ node: ToggleButtonStateTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1168
+ } | {
1169
+ type: "CopyToClipboardButton";
1170
+ node: CopyToClipboardButtonModel<NonInteractableChildren, WhenPredicate>;
1171
+ } | {
1172
+ type: "CatalogResponseButton";
1173
+ node: CatalogResponseButtonModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1174
+ } | {
1175
+ type: "CatalogRadioGroup";
1176
+ node: CatalogRadioGroupModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1177
+ } | {
1178
+ type: "CatalogQuantityCounter";
1179
+ node: CatalogQuantityCounterModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1180
+ } | {
1181
+ type: "EscapeHatch";
1182
+ node: EscapeHatchModel;
1183
+ } | {
1184
+ type: "InlineContainer";
1185
+ node: InlineContainerModel<LayoutVariantInlineChildren, LayoutVariantWhenPredicate>;
1186
+ };
1187
+ export type DimensionHeightFitValue = "wrap-content" | "fit-height";
1188
+ export type DimensionWidthFitValue = "wrap-content" | "fit-width";
1189
+ export type InlineChildren = {
1190
+ type: "BasicText";
1191
+ node: InlineBasicTextModel<WhenPredicate>;
1192
+ } | {
1193
+ type: "PartnerEventButtonTrigger";
1194
+ node: PartnerEventButtonTriggerModel<NonInteractableInlineChildren, WhenPredicate>;
1195
+ } | {
1196
+ type: "StaticLink";
1197
+ node: InlineStaticLinkModel<NonInteractableInlineChildren, WhenPredicate>;
1198
+ } | {
1199
+ type: "ToggleButtonStateTrigger";
1200
+ node: InlineToggleButtonStateTriggerModel<NonInteractableInlineChildren, WhenPredicate>;
1201
+ };
1202
+ export type LayoutDisplayPreset = "FULLSCREEN" | "EMBEDDED" | "ATTACHED";
1203
+ export type LayoutSchemaModel = {
1204
+ type: "Row";
1205
+ node: RowModel<LayoutSchemaModel, WhenPredicate>;
1206
+ } | {
1207
+ type: "FlowRow";
1208
+ node: FlowRowModel<LayoutSchemaModel, WhenPredicate>;
1209
+ } | {
1210
+ type: "Column";
1211
+ node: ColumnModel<LayoutSchemaModel, WhenPredicate>;
1212
+ } | {
1213
+ type: "ScrollableColumn";
1214
+ node: ScrollableColumnModel<ScrollableChildren, WhenPredicate>;
1215
+ } | {
1216
+ type: "ScrollableRow";
1217
+ node: ScrollableRowModel<ScrollableChildren, WhenPredicate>;
1218
+ } | {
1219
+ type: "ZStack";
1220
+ node: ZStackModel<LayoutSchemaModel, WhenPredicate>;
1221
+ } | {
1222
+ type: "StaticImage";
1223
+ node: StaticImageModel<WhenPredicate>;
1224
+ } | {
1225
+ type: "DataImage";
1226
+ node: DataImageModel<WhenPredicate>;
1227
+ } | {
1228
+ type: "RichText";
1229
+ node: RichTextModel<WhenPredicate>;
1230
+ } | {
1231
+ type: "BasicText";
1232
+ node: BasicTextModel<WhenPredicate>;
1233
+ } | {
1234
+ type: "ProgressIndicator";
1235
+ node: ProgressIndicatorModel<WhenPredicate>;
1236
+ } | {
1237
+ type: "CreativeResponse";
1238
+ node: CreativeResponseModel<NonInteractableChildren, WhenPredicate>;
1239
+ } | {
1240
+ type: "OneByOneDistribution";
1241
+ node: OneByOneDistributionModel<WhenPredicate>;
1242
+ } | {
1243
+ type: "Overlay";
1244
+ node: OverlayModel<ModalChildren, WhenPredicate>;
1245
+ } | {
1246
+ type: "BottomSheet";
1247
+ node: BottomSheetModel<ModalChildren, WhenPredicate>;
1248
+ } | {
1249
+ type: "When";
1250
+ node: WhenModel<LayoutSchemaModel, WhenPredicate>;
1251
+ } | {
1252
+ type: "StaticLink";
1253
+ node: StaticLinkModel<NonInteractableChildren, WhenPredicate>;
1254
+ } | {
1255
+ type: "CloseButton";
1256
+ node: CloseButtonModel<NonInteractableChildren, WhenPredicate>;
1257
+ } | {
1258
+ type: "StackedDistribution";
1259
+ node: StackedDistributionModel<WhenPredicate>;
1260
+ } | {
1261
+ type: "CarouselDistribution";
1262
+ node: CarouselDistributionModel<WhenPredicate>;
1263
+ } | {
1264
+ type: "PartnerEventButtonTrigger";
1265
+ node: PartnerEventButtonTriggerModel<LayoutVariantNonInteractableChildren, WhenPredicate>;
1266
+ } | {
1267
+ type: "ProgressControl";
1268
+ node: ProgressControlModel<NonInteractableChildren, WhenPredicate>;
1269
+ } | {
1270
+ type: "GroupedDistribution";
1271
+ node: GroupedDistributionModel<WhenPredicate>;
1272
+ } | {
1273
+ type: "DataIcon";
1274
+ node: DataIconModel<WhenPredicate>;
1275
+ } | {
1276
+ type: "StaticIcon";
1277
+ node: StaticIconModel<WhenPredicate>;
1278
+ } | {
1279
+ type: "SlideStateTrigger";
1280
+ node: SlideStateTriggerModel<WhenPredicate>;
1281
+ } | {
1282
+ type: "ToggleButtonStateTrigger";
1283
+ node: ToggleButtonStateTriggerModel<NonInteractableChildren, WhenPredicate>;
1284
+ } | {
1285
+ type: "TimerStateTrigger";
1286
+ node: TimerStateTriggerModel;
1287
+ } | {
1288
+ type: "CopyToClipboardButton";
1289
+ node: CopyToClipboardButtonModel<NonInteractableChildren, WhenPredicate>;
1290
+ } | {
1291
+ type: "CatalogStackedCollection";
1292
+ node: CatalogStackedCollectionModel<CatalogStackedCollectionTemplateNode, WhenPredicate>;
1293
+ } | {
1294
+ type: "CatalogResponseButton";
1295
+ node: CatalogResponseButtonModel<LayoutVariantNonInteractableChildren, WhenPredicate>;
1296
+ } | {
1297
+ type: "CatalogQuantityOption";
1298
+ node: CatalogQuantityOptionModel<LayoutVariantNonInteractableChildren, WhenPredicate>;
1299
+ } | {
1300
+ type: "CatalogRadioGroup";
1301
+ node: CatalogRadioGroupModel<LayoutVariantNonInteractableChildren, WhenPredicate>;
1302
+ } | {
1303
+ type: "CatalogQuantityCounter";
1304
+ node: CatalogQuantityCounterModel<LayoutVariantNonInteractableChildren, WhenPredicate>;
1305
+ } | {
1306
+ type: "EscapeHatch";
1307
+ node: EscapeHatchModel;
1308
+ } | {
1309
+ type: "InlineContainer";
1310
+ node: InlineContainerModel<InlineChildren, WhenPredicate>;
1311
+ };
1312
+ export type LayoutVariantChildren = {
1313
+ type: "Row";
1314
+ node: RowModel<LayoutVariantChildren, LayoutVariantWhenPredicate>;
1315
+ } | {
1316
+ type: "FlowRow";
1317
+ node: FlowRowModel<LayoutVariantChildren, LayoutVariantWhenPredicate>;
1318
+ } | {
1319
+ type: "Column";
1320
+ node: ColumnModel<LayoutVariantChildren, LayoutVariantWhenPredicate>;
1321
+ } | {
1322
+ type: "ScrollableColumn";
1323
+ node: ScrollableColumnModel<ScrollableLayoutVariantChildren, LayoutVariantWhenPredicate>;
1324
+ } | {
1325
+ type: "ScrollableRow";
1326
+ node: ScrollableRowModel<ScrollableLayoutVariantChildren, LayoutVariantWhenPredicate>;
1327
+ } | {
1328
+ type: "ZStack";
1329
+ node: ZStackModel<LayoutVariantChildren, LayoutVariantWhenPredicate>;
1330
+ } | {
1331
+ type: "StaticImage";
1332
+ node: StaticImageModel<LayoutVariantWhenPredicate>;
1333
+ } | {
1334
+ type: "DataImage";
1335
+ node: DataImageModel<LayoutVariantWhenPredicate>;
1336
+ } | {
1337
+ type: "RichText";
1338
+ node: RichTextModel<LayoutVariantWhenPredicate>;
1339
+ } | {
1340
+ type: "BasicText";
1341
+ node: BasicTextModel<LayoutVariantWhenPredicate>;
1342
+ } | {
1343
+ type: "CreativeResponse";
1344
+ node: CreativeResponseModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1345
+ } | {
1346
+ type: "When";
1347
+ node: WhenModel<LayoutVariantChildren, LayoutVariantWhenPredicate>;
1348
+ } | {
1349
+ type: "StaticLink";
1350
+ node: StaticLinkModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1351
+ } | {
1352
+ type: "DataIcon";
1353
+ node: DataIconModel<LayoutVariantWhenPredicate>;
1354
+ } | {
1355
+ type: "StaticIcon";
1356
+ node: StaticIconModel<LayoutVariantWhenPredicate>;
1357
+ } | {
1358
+ type: "SlideStateTrigger";
1359
+ node: SlideStateTriggerModel<LayoutVariantWhenPredicate>;
1360
+ } | {
1361
+ type: "TimerStateTrigger";
1362
+ node: TimerStateTriggerModel;
1363
+ } | {
1364
+ type: "ToggleButtonStateTrigger";
1365
+ node: ToggleButtonStateTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1366
+ } | {
1367
+ type: "CopyToClipboardButton";
1368
+ node: CopyToClipboardButtonModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1369
+ } | {
1370
+ type: "CatalogStackedCollection";
1371
+ node: CatalogStackedCollectionModel<CatalogStackedCollectionTemplateNode, LayoutVariantWhenPredicate>;
1372
+ } | {
1373
+ type: "EscapeHatch";
1374
+ node: EscapeHatchModel;
1375
+ } | {
1376
+ type: "InlineContainer";
1377
+ node: InlineContainerModel<LayoutVariantInlineChildren, LayoutVariantWhenPredicate>;
1378
+ } | {
1379
+ type: "PartnerEventButtonTrigger";
1380
+ node: PartnerEventButtonTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1381
+ };
1382
+ export type LayoutVariantDomainStateKey = "offerComplete" | "checkout";
1383
+ export type LayoutVariantInlineChildren = {
1384
+ type: "BasicText";
1385
+ node: InlineBasicTextModel<LayoutVariantWhenPredicate>;
1386
+ } | {
1387
+ type: "PartnerEventButtonTrigger";
1388
+ node: PartnerEventButtonTriggerModel<LayoutVariantNonInteractableInlineChildren, WhenPredicate>;
1389
+ } | {
1390
+ type: "StaticLink";
1391
+ node: InlineStaticLinkModel<LayoutVariantNonInteractableInlineChildren, LayoutVariantWhenPredicate>;
1392
+ } | {
1393
+ type: "ToggleButtonStateTrigger";
1394
+ node: InlineToggleButtonStateTriggerModel<LayoutVariantNonInteractableInlineChildren, LayoutVariantWhenPredicate>;
1395
+ };
1396
+ export type LayoutVariantNonInteractableChildren = {
1397
+ type: "Row";
1398
+ node: RowModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1399
+ } | {
1400
+ type: "FlowRow";
1401
+ node: FlowRowModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1402
+ } | {
1403
+ type: "Column";
1404
+ node: ColumnModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1405
+ } | {
1406
+ type: "ZStack";
1407
+ node: ZStackModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1408
+ } | {
1409
+ type: "BasicText";
1410
+ node: BasicTextModel<LayoutVariantWhenPredicate>;
1411
+ } | {
1412
+ type: "StaticImage";
1413
+ node: StaticImageModel<LayoutVariantWhenPredicate>;
1414
+ } | {
1415
+ type: "DataImage";
1416
+ node: DataImageModel<LayoutVariantWhenPredicate>;
1417
+ } | {
1418
+ type: "When";
1419
+ node: WhenModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1420
+ } | {
1421
+ type: "DataIcon";
1422
+ node: DataIconModel<LayoutVariantWhenPredicate>;
1423
+ } | {
1424
+ type: "StaticIcon";
1425
+ node: StaticIconModel<LayoutVariantWhenPredicate>;
1426
+ } | {
1427
+ type: "EscapeHatch";
1428
+ node: EscapeHatchModel;
1429
+ } | {
1430
+ type: "InlineContainer";
1431
+ node: InlineContainerModel<LayoutVariantInlineChildren, LayoutVariantWhenPredicate>;
1432
+ };
1433
+ export type LayoutVariantNonInteractableInlineChildren = {
1434
+ type: "BasicText";
1435
+ node: InlineBasicTextModel<LayoutVariantWhenPredicate>;
1436
+ };
1437
+ export type LayoutVariantSchemaModel = {
1438
+ type: "Row";
1439
+ node: RowModel<LayoutVariantChildren, LayoutVariantWhenPredicate>;
1440
+ } | {
1441
+ type: "FlowRow";
1442
+ node: FlowRowModel<LayoutVariantChildren, LayoutVariantWhenPredicate>;
1443
+ } | {
1444
+ type: "Column";
1445
+ node: ColumnModel<LayoutVariantChildren, LayoutVariantWhenPredicate>;
1446
+ } | {
1447
+ type: "ScrollableColumn";
1448
+ node: ScrollableColumnModel<ScrollableLayoutVariantChildren, LayoutVariantWhenPredicate>;
1449
+ } | {
1450
+ type: "ScrollableRow";
1451
+ node: ScrollableRowModel<ScrollableLayoutVariantChildren, LayoutVariantWhenPredicate>;
1452
+ } | {
1453
+ type: "ZStack";
1454
+ node: ZStackModel<LayoutVariantChildren, LayoutVariantWhenPredicate>;
1455
+ } | {
1456
+ type: "StaticImage";
1457
+ node: StaticImageModel<LayoutVariantWhenPredicate>;
1458
+ } | {
1459
+ type: "DataImage";
1460
+ node: DataImageModel<LayoutVariantWhenPredicate>;
1461
+ } | {
1462
+ type: "RichText";
1463
+ node: RichTextModel<LayoutVariantWhenPredicate>;
1464
+ } | {
1465
+ type: "BasicText";
1466
+ node: BasicTextModel<LayoutVariantWhenPredicate>;
1467
+ } | {
1468
+ type: "CreativeResponse";
1469
+ node: CreativeResponseModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1470
+ } | {
1471
+ type: "When";
1472
+ node: WhenModel<LayoutVariantChildren, LayoutVariantWhenPredicate>;
1473
+ } | {
1474
+ type: "StaticLink";
1475
+ node: StaticLinkModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1476
+ } | {
1477
+ type: "DataIcon";
1478
+ node: DataIconModel<LayoutVariantWhenPredicate>;
1479
+ } | {
1480
+ type: "StaticIcon";
1481
+ node: StaticIconModel<LayoutVariantWhenPredicate>;
1482
+ } | {
1483
+ type: "SlideStateTrigger";
1484
+ node: SlideStateTriggerModel<LayoutVariantWhenPredicate>;
1485
+ } | {
1486
+ type: "TimerStateTrigger";
1487
+ node: TimerStateTriggerModel;
1488
+ } | {
1489
+ type: "ToggleButtonStateTrigger";
1490
+ node: ToggleButtonStateTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1491
+ } | {
1492
+ type: "CopyToClipboardButton";
1493
+ node: CopyToClipboardButtonModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1494
+ } | {
1495
+ type: "CatalogStackedCollection";
1496
+ node: CatalogStackedCollectionModel<CatalogStackedCollectionTemplateNode, LayoutVariantWhenPredicate>;
1497
+ } | {
1498
+ type: "EscapeHatch";
1499
+ node: EscapeHatchModel;
1500
+ } | {
1501
+ type: "InlineContainer";
1502
+ node: InlineContainerModel<LayoutVariantInlineChildren, LayoutVariantWhenPredicate>;
1503
+ } | {
1504
+ type: "PartnerEventButtonTrigger";
1505
+ node: PartnerEventButtonTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
1506
+ };
1507
+ export type LayoutVariantWhenPredicate = {
1508
+ type: "Breakpoint";
1509
+ predicate: BreakpointPredicate;
1510
+ } | {
1511
+ type: "Position";
1512
+ predicate: PositionPredicate;
1513
+ } | {
1514
+ type: "Progression";
1515
+ predicate: ProgressionPredicate;
1516
+ } | {
1517
+ type: "DarkMode";
1518
+ predicate: DarkModePredicate;
1519
+ } | {
1520
+ type: "CreativeCopy";
1521
+ predicate: CreativeCopyPredicate;
1522
+ } | {
1523
+ type: "StaticBoolean";
1524
+ predicate: StaticBooleanPredicate;
1525
+ } | {
1526
+ type: "CustomState";
1527
+ predicate: CustomStatePredicate;
1528
+ } | {
1529
+ type: "DomainState";
1530
+ predicate: DomainStatePredicate<LayoutVariantDomainStateKey>;
1531
+ } | {
1532
+ type: "StaticString";
1533
+ predicate: StaticStringPredicate;
1534
+ } | {
1535
+ type: "Placeholder";
1536
+ predicate: PlaceholderPredicate;
1537
+ };
1538
+ export type ModalChildren = {
1539
+ type: "Row";
1540
+ node: RowModel<ModalChildren, WhenPredicate>;
1541
+ } | {
1542
+ type: "FlowRow";
1543
+ node: FlowRowModel<ModalChildren, WhenPredicate>;
1544
+ } | {
1545
+ type: "ScrollableColumn";
1546
+ node: ScrollableColumnModel<ScrollableChildren, WhenPredicate>;
1547
+ } | {
1548
+ type: "ScrollableRow";
1549
+ node: ScrollableRowModel<ScrollableChildren, WhenPredicate>;
1550
+ } | {
1551
+ type: "Column";
1552
+ node: ColumnModel<ModalChildren, WhenPredicate>;
1553
+ } | {
1554
+ type: "ZStack";
1555
+ node: ZStackModel<ModalChildren, WhenPredicate>;
1556
+ } | {
1557
+ type: "StaticImage";
1558
+ node: StaticImageModel<WhenPredicate>;
1559
+ } | {
1560
+ type: "RichText";
1561
+ node: RichTextModel<WhenPredicate>;
1562
+ } | {
1563
+ type: "BasicText";
1564
+ node: BasicTextModel<WhenPredicate>;
1565
+ } | {
1566
+ type: "ProgressIndicator";
1567
+ node: ProgressIndicatorModel<WhenPredicate>;
1568
+ } | {
1569
+ type: "OneByOneDistribution";
1570
+ node: OneByOneDistributionModel<WhenPredicate>;
1571
+ } | {
1572
+ type: "When";
1573
+ node: WhenModel<ModalChildren, WhenPredicate>;
1574
+ } | {
1575
+ type: "StaticLink";
1576
+ node: StaticLinkModel<NonInteractableChildren, WhenPredicate>;
1577
+ } | {
1578
+ type: "StackedDistribution";
1579
+ node: StackedDistributionModel<WhenPredicate>;
1580
+ } | {
1581
+ type: "CloseButton";
1582
+ node: CloseButtonModel<NonInteractableChildren, WhenPredicate>;
1583
+ } | {
1584
+ type: "CarouselDistribution";
1585
+ node: CarouselDistributionModel<WhenPredicate>;
1586
+ } | {
1587
+ type: "ProgressControl";
1588
+ node: ProgressControlModel<NonInteractableChildren, WhenPredicate>;
1589
+ } | {
1590
+ type: "GroupedDistribution";
1591
+ node: GroupedDistributionModel<WhenPredicate>;
1592
+ } | {
1593
+ type: "StaticIcon";
1594
+ node: StaticIconModel<WhenPredicate>;
1595
+ } | {
1596
+ type: "SlideStateTrigger";
1597
+ node: SlideStateTriggerModel<WhenPredicate>;
1598
+ } | {
1599
+ type: "TimerStateTrigger";
1600
+ node: TimerStateTriggerModel;
1601
+ } | {
1602
+ type: "ToggleButtonStateTrigger";
1603
+ node: ToggleButtonStateTriggerModel<NonInteractableChildren, WhenPredicate>;
1604
+ } | {
1605
+ type: "CopyToClipboardButton";
1606
+ node: CopyToClipboardButtonModel<NonInteractableChildren, WhenPredicate>;
1607
+ } | {
1608
+ type: "EscapeHatch";
1609
+ node: EscapeHatchModel;
1610
+ } | {
1611
+ type: "InlineContainer";
1612
+ node: InlineContainerModel<InlineChildren, WhenPredicate>;
1613
+ };
1614
+ export type ModalOuterChildren = {
1615
+ type: "Row";
1616
+ node: RowModel<ModalOuterChildren, OuterLayoutWhenPredicate>;
1617
+ } | {
1618
+ type: "FlowRow";
1619
+ node: FlowRowModel<ModalOuterChildren, OuterLayoutWhenPredicate>;
1620
+ } | {
1621
+ type: "ScrollableColumn";
1622
+ node: ScrollableColumnModel<ScrollableOuterLayoutChildren, OuterLayoutWhenPredicate>;
1623
+ } | {
1624
+ type: "ScrollableRow";
1625
+ node: ScrollableRowModel<ScrollableOuterLayoutChildren, OuterLayoutWhenPredicate>;
1626
+ } | {
1627
+ type: "Column";
1628
+ node: ColumnModel<ModalOuterChildren, OuterLayoutWhenPredicate>;
1629
+ } | {
1630
+ type: "ZStack";
1631
+ node: ZStackModel<ModalOuterChildren, OuterLayoutWhenPredicate>;
1632
+ } | {
1633
+ type: "StaticImage";
1634
+ node: StaticImageModel<OuterLayoutWhenPredicate>;
1635
+ } | {
1636
+ type: "RichText";
1637
+ node: RichTextModel<OuterLayoutWhenPredicate>;
1638
+ } | {
1639
+ type: "BasicText";
1640
+ node: BasicTextModel<OuterLayoutWhenPredicate>;
1641
+ } | {
1642
+ type: "ProgressIndicator";
1643
+ node: ProgressIndicatorModel<OuterLayoutWhenPredicate>;
1644
+ } | {
1645
+ type: "OneByOneDistribution";
1646
+ node: OneByOneDistributionModel<OuterLayoutWhenPredicate>;
1647
+ } | {
1648
+ type: "When";
1649
+ node: WhenModel<ModalOuterChildren, OuterLayoutWhenPredicate>;
1650
+ } | {
1651
+ type: "StaticLink";
1652
+ node: StaticLinkModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1653
+ } | {
1654
+ type: "StackedDistribution";
1655
+ node: StackedDistributionModel<OuterLayoutWhenPredicate>;
1656
+ } | {
1657
+ type: "CloseButton";
1658
+ node: CloseButtonModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1659
+ } | {
1660
+ type: "CarouselDistribution";
1661
+ node: CarouselDistributionModel<OuterLayoutWhenPredicate>;
1662
+ } | {
1663
+ type: "ProgressControl";
1664
+ node: ProgressControlModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1665
+ } | {
1666
+ type: "GroupedDistribution";
1667
+ node: GroupedDistributionModel<OuterLayoutWhenPredicate>;
1668
+ } | {
1669
+ type: "StaticIcon";
1670
+ node: StaticIconModel<OuterLayoutWhenPredicate>;
1671
+ } | {
1672
+ type: "SlideStateTrigger";
1673
+ node: SlideStateTriggerModel<OuterLayoutWhenPredicate>;
1674
+ } | {
1675
+ type: "TimerStateTrigger";
1676
+ node: TimerStateTriggerModel;
1677
+ } | {
1678
+ type: "ToggleButtonStateTrigger";
1679
+ node: ToggleButtonStateTriggerModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1680
+ } | {
1681
+ type: "CopyToClipboardButton";
1682
+ node: CopyToClipboardButtonModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1683
+ } | {
1684
+ type: "EscapeHatch";
1685
+ node: EscapeHatchModel;
1686
+ } | {
1687
+ type: "InlineContainer";
1688
+ node: InlineContainerModel<OuterLayoutInlineChildren, OuterLayoutWhenPredicate>;
1689
+ };
1690
+ export type NonInteractableChildren = {
1691
+ type: "Row";
1692
+ node: RowModel<NonInteractableChildren, WhenPredicate>;
1693
+ } | {
1694
+ type: "FlowRow";
1695
+ node: FlowRowModel<NonInteractableChildren, WhenPredicate>;
1696
+ } | {
1697
+ type: "Column";
1698
+ node: ColumnModel<NonInteractableChildren, WhenPredicate>;
1699
+ } | {
1700
+ type: "ZStack";
1701
+ node: ZStackModel<NonInteractableChildren, WhenPredicate>;
1702
+ } | {
1703
+ type: "BasicText";
1704
+ node: BasicTextModel<WhenPredicate>;
1705
+ } | {
1706
+ type: "StaticImage";
1707
+ node: StaticImageModel<WhenPredicate>;
1708
+ } | {
1709
+ type: "DataImage";
1710
+ node: DataImageModel<WhenPredicate>;
1711
+ } | {
1712
+ type: "When";
1713
+ node: WhenModel<NonInteractableChildren, WhenPredicate>;
1714
+ } | {
1715
+ type: "DataIcon";
1716
+ node: DataIconModel<WhenPredicate>;
1717
+ } | {
1718
+ type: "StaticIcon";
1719
+ node: StaticIconModel<WhenPredicate>;
1720
+ } | {
1721
+ type: "EscapeHatch";
1722
+ node: EscapeHatchModel;
1723
+ } | {
1724
+ type: "InlineContainer";
1725
+ node: InlineContainerModel<InlineChildren, WhenPredicate>;
1726
+ };
1727
+ export type NonInteractableInlineChildren = {
1728
+ type: "BasicText";
1729
+ node: InlineBasicTextModel<WhenPredicate>;
1730
+ };
1731
+ export type OuterLayoutChildren = {
1732
+ type: "Row";
1733
+ node: RowModel<OuterLayoutChildren, OuterLayoutWhenPredicate>;
1734
+ } | {
1735
+ type: "FlowRow";
1736
+ node: FlowRowModel<OuterLayoutChildren, OuterLayoutWhenPredicate>;
1737
+ } | {
1738
+ type: "Column";
1739
+ node: ColumnModel<OuterLayoutChildren, OuterLayoutWhenPredicate>;
1740
+ } | {
1741
+ type: "ScrollableColumn";
1742
+ node: ScrollableColumnModel<ScrollableOuterLayoutChildren, OuterLayoutWhenPredicate>;
1743
+ } | {
1744
+ type: "ScrollableRow";
1745
+ node: ScrollableRowModel<ScrollableOuterLayoutChildren, OuterLayoutWhenPredicate>;
1746
+ } | {
1747
+ type: "ZStack";
1748
+ node: ZStackModel<OuterLayoutChildren, OuterLayoutWhenPredicate>;
1749
+ } | {
1750
+ type: "StaticImage";
1751
+ node: StaticImageModel<OuterLayoutWhenPredicate>;
1752
+ } | {
1753
+ type: "RichText";
1754
+ node: RichTextModel<OuterLayoutWhenPredicate>;
1755
+ } | {
1756
+ type: "BasicText";
1757
+ node: BasicTextModel<OuterLayoutWhenPredicate>;
1758
+ } | {
1759
+ type: "ProgressIndicator";
1760
+ node: ProgressIndicatorModel<OuterLayoutWhenPredicate>;
1761
+ } | {
1762
+ type: "OneByOneDistribution";
1763
+ node: OneByOneDistributionModel<OuterLayoutWhenPredicate>;
1764
+ } | {
1765
+ type: "When";
1766
+ node: WhenModel<OuterLayoutChildren, OuterLayoutWhenPredicate>;
1767
+ } | {
1768
+ type: "StaticLink";
1769
+ node: StaticLinkModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1770
+ } | {
1771
+ type: "CloseButton";
1772
+ node: CloseButtonModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1773
+ } | {
1774
+ type: "StackedDistribution";
1775
+ node: StackedDistributionModel<OuterLayoutWhenPredicate>;
1776
+ } | {
1777
+ type: "CarouselDistribution";
1778
+ node: CarouselDistributionModel<OuterLayoutWhenPredicate>;
1779
+ } | {
1780
+ type: "ProgressControl";
1781
+ node: ProgressControlModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1782
+ } | {
1783
+ type: "GroupedDistribution";
1784
+ node: GroupedDistributionModel<OuterLayoutWhenPredicate>;
1785
+ } | {
1786
+ type: "StaticIcon";
1787
+ node: StaticIconModel<OuterLayoutWhenPredicate>;
1788
+ } | {
1789
+ type: "SlideStateTrigger";
1790
+ node: SlideStateTriggerModel<OuterLayoutWhenPredicate>;
1791
+ } | {
1792
+ type: "TimerStateTrigger";
1793
+ node: TimerStateTriggerModel;
1794
+ } | {
1795
+ type: "ToggleButtonStateTrigger";
1796
+ node: ToggleButtonStateTriggerModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1797
+ } | {
1798
+ type: "CopyToClipboardButton";
1799
+ node: CopyToClipboardButtonModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1800
+ } | {
1801
+ type: "EscapeHatch";
1802
+ node: EscapeHatchModel;
1803
+ } | {
1804
+ type: "InlineContainer";
1805
+ node: InlineContainerModel<OuterLayoutInlineChildren, OuterLayoutWhenPredicate>;
1806
+ };
1807
+ export type OuterLayoutInlineChildren = {
1808
+ type: "BasicText";
1809
+ node: InlineBasicTextModel<OuterLayoutWhenPredicate>;
1810
+ } | {
1811
+ type: "StaticLink";
1812
+ node: InlineStaticLinkModel<OuterLayoutNonInteractableInlineChildren, OuterLayoutWhenPredicate>;
1813
+ } | {
1814
+ type: "ToggleButtonStateTrigger";
1815
+ node: InlineToggleButtonStateTriggerModel<OuterLayoutNonInteractableInlineChildren, OuterLayoutWhenPredicate>;
1816
+ };
1817
+ export type OuterLayoutNonInteractableChildren = {
1818
+ type: "Row";
1819
+ node: RowModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1820
+ } | {
1821
+ type: "FlowRow";
1822
+ node: FlowRowModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1823
+ } | {
1824
+ type: "Column";
1825
+ node: ColumnModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1826
+ } | {
1827
+ type: "ZStack";
1828
+ node: ZStackModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1829
+ } | {
1830
+ type: "StaticImage";
1831
+ node: StaticImageModel<OuterLayoutWhenPredicate>;
1832
+ } | {
1833
+ type: "BasicText";
1834
+ node: BasicTextModel<OuterLayoutWhenPredicate>;
1835
+ } | {
1836
+ type: "When";
1837
+ node: WhenModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1838
+ } | {
1839
+ type: "StaticIcon";
1840
+ node: StaticIconModel<OuterLayoutWhenPredicate>;
1841
+ } | {
1842
+ type: "EscapeHatch";
1843
+ node: EscapeHatchModel;
1844
+ } | {
1845
+ type: "InlineContainer";
1846
+ node: InlineContainerModel<OuterLayoutInlineChildren, OuterLayoutWhenPredicate>;
1847
+ };
1848
+ export type OuterLayoutNonInteractableInlineChildren = {
1849
+ type: "BasicText";
1850
+ node: InlineBasicTextModel<OuterLayoutWhenPredicate>;
1851
+ };
1852
+ export type OuterLayoutSchemaModel = {
1853
+ type: "Row";
1854
+ node: RowModel<OuterLayoutChildren, OuterLayoutWhenPredicate>;
1855
+ } | {
1856
+ type: "FlowRow";
1857
+ node: FlowRowModel<OuterLayoutChildren, OuterLayoutWhenPredicate>;
1858
+ } | {
1859
+ type: "Column";
1860
+ node: ColumnModel<OuterLayoutChildren, OuterLayoutWhenPredicate>;
1861
+ } | {
1862
+ type: "ScrollableColumn";
1863
+ node: ScrollableColumnModel<ScrollableOuterLayoutChildren, OuterLayoutWhenPredicate>;
1864
+ } | {
1865
+ type: "ScrollableRow";
1866
+ node: ScrollableRowModel<ScrollableOuterLayoutChildren, OuterLayoutWhenPredicate>;
1867
+ } | {
1868
+ type: "ZStack";
1869
+ node: ZStackModel<OuterLayoutChildren, OuterLayoutWhenPredicate>;
1870
+ } | {
1871
+ type: "StaticImage";
1872
+ node: StaticImageModel<OuterLayoutWhenPredicate>;
1873
+ } | {
1874
+ type: "RichText";
1875
+ node: RichTextModel<OuterLayoutWhenPredicate>;
1876
+ } | {
1877
+ type: "BasicText";
1878
+ node: BasicTextModel<OuterLayoutWhenPredicate>;
1879
+ } | {
1880
+ type: "ProgressIndicator";
1881
+ node: ProgressIndicatorModel<OuterLayoutWhenPredicate>;
1882
+ } | {
1883
+ type: "OneByOneDistribution";
1884
+ node: OneByOneDistributionModel<OuterLayoutWhenPredicate>;
1885
+ } | {
1886
+ type: "Overlay";
1887
+ node: OverlayModel<ModalOuterChildren, OuterLayoutWhenPredicate>;
1888
+ } | {
1889
+ type: "BottomSheet";
1890
+ node: BottomSheetModel<ModalOuterChildren, OuterLayoutWhenPredicate>;
1891
+ } | {
1892
+ type: "When";
1893
+ node: WhenModel<OuterLayoutChildren, OuterLayoutWhenPredicate>;
1894
+ } | {
1895
+ type: "StaticLink";
1896
+ node: StaticLinkModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1897
+ } | {
1898
+ type: "CloseButton";
1899
+ node: CloseButtonModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1900
+ } | {
1901
+ type: "StackedDistribution";
1902
+ node: StackedDistributionModel<OuterLayoutWhenPredicate>;
1903
+ } | {
1904
+ type: "CarouselDistribution";
1905
+ node: CarouselDistributionModel<OuterLayoutWhenPredicate>;
1906
+ } | {
1907
+ type: "ProgressControl";
1908
+ node: ProgressControlModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1909
+ } | {
1910
+ type: "GroupedDistribution";
1911
+ node: GroupedDistributionModel<OuterLayoutWhenPredicate>;
1912
+ } | {
1913
+ type: "StaticIcon";
1914
+ node: StaticIconModel<OuterLayoutWhenPredicate>;
1915
+ } | {
1916
+ type: "SlideStateTrigger";
1917
+ node: SlideStateTriggerModel<OuterLayoutWhenPredicate>;
1918
+ } | {
1919
+ type: "TimerStateTrigger";
1920
+ node: TimerStateTriggerModel;
1921
+ } | {
1922
+ type: "ToggleButtonStateTrigger";
1923
+ node: ToggleButtonStateTriggerModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1924
+ } | {
1925
+ type: "CopyToClipboardButton";
1926
+ node: CopyToClipboardButtonModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
1927
+ } | {
1928
+ type: "EscapeHatch";
1929
+ node: EscapeHatchModel;
1930
+ } | {
1931
+ type: "InlineContainer";
1932
+ node: InlineContainerModel<OuterLayoutInlineChildren, OuterLayoutWhenPredicate>;
1933
+ };
1934
+ export type OuterLayoutWhenPredicate = {
1935
+ type: "Breakpoint";
1936
+ predicate: BreakpointPredicate;
1937
+ } | {
1938
+ type: "Progression";
1939
+ predicate: ProgressionPredicate;
1940
+ } | {
1941
+ type: "DarkMode";
1942
+ predicate: DarkModePredicate;
1943
+ } | {
1944
+ type: "StaticBoolean";
1945
+ predicate: StaticBooleanPredicate;
1946
+ } | {
1947
+ type: "CustomState";
1948
+ predicate: CustomStatePredicate;
1949
+ } | {
1950
+ type: "StaticString";
1951
+ predicate: StaticStringPredicate;
1952
+ } | {
1953
+ type: "Placeholder";
1954
+ predicate: PlaceholderPredicate;
1955
+ };
1956
+ export type PlaceholderPredicate = {
1957
+ type: "TextValue";
1958
+ content: DynamicStringPredicate;
1959
+ } | {
1960
+ type: "TextLength";
1961
+ content: DynamicIntegerPredicate;
1962
+ } | {
1963
+ type: "Numeric";
1964
+ content: DynamicIntegerPredicate;
1965
+ };
1966
+ export type ScrollableChildren = {
1967
+ type: "Row";
1968
+ node: RowModel<ScrollableChildren, WhenPredicate>;
1969
+ } | {
1970
+ type: "FlowRow";
1971
+ node: FlowRowModel<ScrollableChildren, WhenPredicate>;
1972
+ } | {
1973
+ type: "Column";
1974
+ node: ColumnModel<ScrollableChildren, WhenPredicate>;
1975
+ } | {
1976
+ type: "ZStack";
1977
+ node: ZStackModel<ScrollableChildren, WhenPredicate>;
1978
+ } | {
1979
+ type: "StaticImage";
1980
+ node: StaticImageModel<WhenPredicate>;
1981
+ } | {
1982
+ type: "DataImage";
1983
+ node: DataImageModel<WhenPredicate>;
1984
+ } | {
1985
+ type: "RichText";
1986
+ node: RichTextModel<WhenPredicate>;
1987
+ } | {
1988
+ type: "BasicText";
1989
+ node: BasicTextModel<WhenPredicate>;
1990
+ } | {
1991
+ type: "ProgressIndicator";
1992
+ node: ProgressIndicatorModel<WhenPredicate>;
1993
+ } | {
1994
+ type: "CreativeResponse";
1995
+ node: CreativeResponseModel<LayoutVariantNonInteractableChildren, WhenPredicate>;
1996
+ } | {
1997
+ type: "OneByOneDistribution";
1998
+ node: OneByOneDistributionModel<WhenPredicate>;
1999
+ } | {
2000
+ type: "When";
2001
+ node: WhenModel<ScrollableChildren, WhenPredicate>;
2002
+ } | {
2003
+ type: "StaticLink";
2004
+ node: StaticLinkModel<NonInteractableChildren, WhenPredicate>;
2005
+ } | {
2006
+ type: "CloseButton";
2007
+ node: CloseButtonModel<OuterLayoutNonInteractableChildren, WhenPredicate>;
2008
+ } | {
2009
+ type: "StackedDistribution";
2010
+ node: StackedDistributionModel<WhenPredicate>;
2011
+ } | {
2012
+ type: "CarouselDistribution";
2013
+ node: CarouselDistributionModel<WhenPredicate>;
2014
+ } | {
2015
+ type: "PartnerEventButtonTrigger";
2016
+ node: PartnerEventButtonTriggerModel<LayoutVariantNonInteractableChildren, WhenPredicate>;
2017
+ } | {
2018
+ type: "ProgressControl";
2019
+ node: ProgressControlModel<OuterLayoutNonInteractableChildren, WhenPredicate>;
2020
+ } | {
2021
+ type: "GroupedDistribution";
2022
+ node: GroupedDistributionModel<WhenPredicate>;
2023
+ } | {
2024
+ type: "DataIcon";
2025
+ node: DataIconModel<WhenPredicate>;
2026
+ } | {
2027
+ type: "StaticIcon";
2028
+ node: StaticIconModel<WhenPredicate>;
2029
+ } | {
2030
+ type: "SlideStateTrigger";
2031
+ node: SlideStateTriggerModel<WhenPredicate>;
2032
+ } | {
2033
+ type: "TimerStateTrigger";
2034
+ node: TimerStateTriggerModel;
2035
+ } | {
2036
+ type: "ToggleButtonStateTrigger";
2037
+ node: ToggleButtonStateTriggerModel<NonInteractableChildren, WhenPredicate>;
2038
+ } | {
2039
+ type: "CopyToClipboardButton";
2040
+ node: CopyToClipboardButtonModel<NonInteractableChildren, WhenPredicate>;
2041
+ } | {
2042
+ type: "CatalogStackedCollection";
2043
+ node: CatalogStackedCollectionModel<CatalogStackedCollectionTemplateNode, WhenPredicate>;
2044
+ } | {
2045
+ type: "CatalogResponseButton";
2046
+ node: CatalogResponseButtonModel<LayoutVariantNonInteractableChildren, WhenPredicate>;
2047
+ } | {
2048
+ type: "EscapeHatch";
2049
+ node: EscapeHatchModel;
2050
+ } | {
2051
+ type: "InlineContainer";
2052
+ node: InlineContainerModel<InlineChildren, WhenPredicate>;
2053
+ };
2054
+ export type ScrollableLayoutVariantChildren = {
2055
+ type: "Row";
2056
+ node: RowModel<ScrollableLayoutVariantChildren, LayoutVariantWhenPredicate>;
2057
+ } | {
2058
+ type: "FlowRow";
2059
+ node: FlowRowModel<ScrollableLayoutVariantChildren, LayoutVariantWhenPredicate>;
2060
+ } | {
2061
+ type: "Column";
2062
+ node: ColumnModel<ScrollableLayoutVariantChildren, LayoutVariantWhenPredicate>;
2063
+ } | {
2064
+ type: "ZStack";
2065
+ node: ZStackModel<ScrollableLayoutVariantChildren, LayoutVariantWhenPredicate>;
2066
+ } | {
2067
+ type: "StaticImage";
2068
+ node: StaticImageModel<LayoutVariantWhenPredicate>;
2069
+ } | {
2070
+ type: "DataImage";
2071
+ node: DataImageModel<LayoutVariantWhenPredicate>;
2072
+ } | {
2073
+ type: "RichText";
2074
+ node: RichTextModel<LayoutVariantWhenPredicate>;
2075
+ } | {
2076
+ type: "BasicText";
2077
+ node: BasicTextModel<LayoutVariantWhenPredicate>;
2078
+ } | {
2079
+ type: "CreativeResponse";
2080
+ node: CreativeResponseModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
2081
+ } | {
2082
+ type: "When";
2083
+ node: WhenModel<ScrollableLayoutVariantChildren, LayoutVariantWhenPredicate>;
2084
+ } | {
2085
+ type: "StaticLink";
2086
+ node: StaticLinkModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
2087
+ } | {
2088
+ type: "DataIcon";
2089
+ node: DataIconModel<LayoutVariantWhenPredicate>;
2090
+ } | {
2091
+ type: "StaticIcon";
2092
+ node: StaticIconModel<LayoutVariantWhenPredicate>;
2093
+ } | {
2094
+ type: "SlideStateTrigger";
2095
+ node: SlideStateTriggerModel<LayoutVariantWhenPredicate>;
2096
+ } | {
2097
+ type: "TimerStateTrigger";
2098
+ node: TimerStateTriggerModel;
2099
+ } | {
2100
+ type: "ToggleButtonStateTrigger";
2101
+ node: ToggleButtonStateTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
2102
+ } | {
2103
+ type: "CopyToClipboardButton";
2104
+ node: CopyToClipboardButtonModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
2105
+ } | {
2106
+ type: "CatalogStackedCollection";
2107
+ node: CatalogStackedCollectionModel<CatalogStackedCollectionTemplateNode, LayoutVariantWhenPredicate>;
2108
+ } | {
2109
+ type: "EscapeHatch";
2110
+ node: EscapeHatchModel;
2111
+ } | {
2112
+ type: "InlineContainer";
2113
+ node: InlineContainerModel<LayoutVariantInlineChildren, LayoutVariantWhenPredicate>;
2114
+ } | {
2115
+ type: "PartnerEventButtonTrigger";
2116
+ node: PartnerEventButtonTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
2117
+ };
2118
+ export type ScrollableOuterLayoutChildren = {
2119
+ type: "Row";
2120
+ node: RowModel<ScrollableOuterLayoutChildren, OuterLayoutWhenPredicate>;
2121
+ } | {
2122
+ type: "FlowRow";
2123
+ node: FlowRowModel<ScrollableOuterLayoutChildren, OuterLayoutWhenPredicate>;
2124
+ } | {
2125
+ type: "Column";
2126
+ node: ColumnModel<ScrollableOuterLayoutChildren, OuterLayoutWhenPredicate>;
2127
+ } | {
2128
+ type: "ZStack";
2129
+ node: ZStackModel<ScrollableOuterLayoutChildren, OuterLayoutWhenPredicate>;
2130
+ } | {
2131
+ type: "StaticImage";
2132
+ node: StaticImageModel<OuterLayoutWhenPredicate>;
2133
+ } | {
2134
+ type: "RichText";
2135
+ node: RichTextModel<OuterLayoutWhenPredicate>;
2136
+ } | {
2137
+ type: "BasicText";
2138
+ node: BasicTextModel<OuterLayoutWhenPredicate>;
2139
+ } | {
2140
+ type: "ProgressIndicator";
2141
+ node: ProgressIndicatorModel<OuterLayoutWhenPredicate>;
2142
+ } | {
2143
+ type: "OneByOneDistribution";
2144
+ node: OneByOneDistributionModel<OuterLayoutWhenPredicate>;
2145
+ } | {
2146
+ type: "When";
2147
+ node: WhenModel<ScrollableOuterLayoutChildren, OuterLayoutWhenPredicate>;
2148
+ } | {
2149
+ type: "StaticLink";
2150
+ node: StaticLinkModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
2151
+ } | {
2152
+ type: "CloseButton";
2153
+ node: CloseButtonModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
2154
+ } | {
2155
+ type: "StackedDistribution";
2156
+ node: StackedDistributionModel<OuterLayoutWhenPredicate>;
2157
+ } | {
2158
+ type: "CarouselDistribution";
2159
+ node: CarouselDistributionModel<OuterLayoutWhenPredicate>;
2160
+ } | {
2161
+ type: "ProgressControl";
2162
+ node: ProgressControlModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
2163
+ } | {
2164
+ type: "GroupedDistribution";
2165
+ node: GroupedDistributionModel<OuterLayoutWhenPredicate>;
2166
+ } | {
2167
+ type: "StaticIcon";
2168
+ node: StaticIconModel<OuterLayoutWhenPredicate>;
2169
+ } | {
2170
+ type: "SlideStateTrigger";
2171
+ node: SlideStateTriggerModel<OuterLayoutWhenPredicate>;
2172
+ } | {
2173
+ type: "TimerStateTrigger";
2174
+ node: TimerStateTriggerModel;
2175
+ } | {
2176
+ type: "ToggleButtonStateTrigger";
2177
+ node: ToggleButtonStateTriggerModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
2178
+ } | {
2179
+ type: "CopyToClipboardButton";
2180
+ node: CopyToClipboardButtonModel<OuterLayoutNonInteractableChildren, OuterLayoutWhenPredicate>;
2181
+ } | {
2182
+ type: "EscapeHatch";
2183
+ node: EscapeHatchModel;
2184
+ } | {
2185
+ type: "InlineContainer";
2186
+ node: InlineContainerModel<OuterLayoutInlineChildren, OuterLayoutWhenPredicate>;
2187
+ };
2188
+ export type WhenPredicate = {
2189
+ type: "Breakpoint";
2190
+ predicate: BreakpointPredicate;
2191
+ } | {
2192
+ type: "Position";
2193
+ predicate: PositionPredicate;
2194
+ } | {
2195
+ type: "Progression";
2196
+ predicate: ProgressionPredicate;
2197
+ } | {
2198
+ type: "DarkMode";
2199
+ predicate: DarkModePredicate;
2200
+ } | {
2201
+ type: "CreativeCopy";
2202
+ predicate: CreativeCopyPredicate;
2203
+ } | {
2204
+ type: "StaticBoolean";
2205
+ predicate: StaticBooleanPredicate;
2206
+ } | {
2207
+ type: "CustomState";
2208
+ predicate: CustomStatePredicate;
2209
+ } | {
2210
+ type: "DomainState";
2211
+ predicate: LayoutSchemaDomainStatePredicate;
2212
+ } | {
2213
+ type: "StaticString";
2214
+ predicate: StaticStringPredicate;
2215
+ } | {
2216
+ type: "Placeholder";
2217
+ predicate: PlaceholderPredicate;
2218
+ };