@guardian/support-dotcom-components 1.1.1 → 1.1.2

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.
@@ -19,15 +19,552 @@ export interface EpicProps extends EmotionJSX.IntrinsicAttributes {
19
19
  hasConsentForArticleCount?: boolean;
20
20
  stage?: Stage;
21
21
  }
22
+ export declare const variantSchema: z.ZodObject<{
23
+ name: z.ZodString;
24
+ heading: z.ZodOptional<z.ZodString>;
25
+ paragraphs: z.ZodArray<z.ZodString, "many">;
26
+ highlightedText: z.ZodOptional<z.ZodString>;
27
+ tickerSettings: z.ZodOptional<z.ZodObject<{
28
+ endType: z.ZodNativeEnum<typeof import("./shared").TickerEndType>;
29
+ countType: z.ZodNativeEnum<typeof import("./shared").TickerCountType>;
30
+ currencySymbol: z.ZodString;
31
+ copy: z.ZodObject<{
32
+ countLabel: z.ZodString;
33
+ goalReachedPrimary: z.ZodString;
34
+ goalReachedSecondary: z.ZodString;
35
+ }, "strip", z.ZodTypeAny, {
36
+ countLabel: string;
37
+ goalReachedPrimary: string;
38
+ goalReachedSecondary: string;
39
+ }, {
40
+ countLabel: string;
41
+ goalReachedPrimary: string;
42
+ goalReachedSecondary: string;
43
+ }>;
44
+ name: z.ZodEnum<["US", "AU"]>;
45
+ tickerData: z.ZodOptional<z.ZodObject<{
46
+ total: z.ZodNumber;
47
+ goal: z.ZodNumber;
48
+ }, "strip", z.ZodTypeAny, {
49
+ total: number;
50
+ goal: number;
51
+ }, {
52
+ total: number;
53
+ goal: number;
54
+ }>>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ name: "US" | "AU";
57
+ copy: {
58
+ countLabel: string;
59
+ goalReachedPrimary: string;
60
+ goalReachedSecondary: string;
61
+ };
62
+ endType: import("./shared").TickerEndType;
63
+ countType: import("./shared").TickerCountType;
64
+ currencySymbol: string;
65
+ tickerData?: {
66
+ total: number;
67
+ goal: number;
68
+ } | undefined;
69
+ }, {
70
+ name: "US" | "AU";
71
+ copy: {
72
+ countLabel: string;
73
+ goalReachedPrimary: string;
74
+ goalReachedSecondary: string;
75
+ };
76
+ endType: import("./shared").TickerEndType;
77
+ countType: import("./shared").TickerCountType;
78
+ currencySymbol: string;
79
+ tickerData?: {
80
+ total: number;
81
+ goal: number;
82
+ } | undefined;
83
+ }>>;
84
+ cta: z.ZodOptional<z.ZodObject<{
85
+ text: z.ZodString;
86
+ baseUrl: z.ZodString;
87
+ }, "strip", z.ZodTypeAny, {
88
+ text: string;
89
+ baseUrl: string;
90
+ }, {
91
+ text: string;
92
+ baseUrl: string;
93
+ }>>;
94
+ secondaryCta: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
95
+ type: z.ZodLiteral<import("./shared").SecondaryCtaType.Custom>;
96
+ cta: z.ZodObject<{
97
+ text: z.ZodString;
98
+ baseUrl: z.ZodString;
99
+ }, "strip", z.ZodTypeAny, {
100
+ text: string;
101
+ baseUrl: string;
102
+ }, {
103
+ text: string;
104
+ baseUrl: string;
105
+ }>;
106
+ }, "strip", z.ZodTypeAny, {
107
+ type: import("./shared").SecondaryCtaType.Custom;
108
+ cta: {
109
+ text: string;
110
+ baseUrl: string;
111
+ };
112
+ }, {
113
+ type: import("./shared").SecondaryCtaType.Custom;
114
+ cta: {
115
+ text: string;
116
+ baseUrl: string;
117
+ };
118
+ }>, z.ZodObject<{
119
+ type: z.ZodLiteral<import("./shared").SecondaryCtaType.ContributionsReminder>;
120
+ }, "strip", z.ZodTypeAny, {
121
+ type: import("./shared").SecondaryCtaType.ContributionsReminder;
122
+ }, {
123
+ type: import("./shared").SecondaryCtaType.ContributionsReminder;
124
+ }>]>>;
125
+ footer: z.ZodOptional<z.ZodString>;
126
+ image: z.ZodOptional<z.ZodObject<{
127
+ mainUrl: z.ZodString;
128
+ mobileUrl: z.ZodOptional<z.ZodString>;
129
+ tabletUrl: z.ZodOptional<z.ZodString>;
130
+ desktopUrl: z.ZodOptional<z.ZodString>;
131
+ leftColUrl: z.ZodOptional<z.ZodString>;
132
+ wideUrl: z.ZodOptional<z.ZodString>;
133
+ altText: z.ZodString;
134
+ }, "strip", z.ZodTypeAny, {
135
+ mainUrl: string;
136
+ altText: string;
137
+ mobileUrl?: string | undefined;
138
+ tabletUrl?: string | undefined;
139
+ desktopUrl?: string | undefined;
140
+ leftColUrl?: string | undefined;
141
+ wideUrl?: string | undefined;
142
+ }, {
143
+ mainUrl: string;
144
+ altText: string;
145
+ mobileUrl?: string | undefined;
146
+ tabletUrl?: string | undefined;
147
+ desktopUrl?: string | undefined;
148
+ leftColUrl?: string | undefined;
149
+ wideUrl?: string | undefined;
150
+ }>>;
151
+ showReminderFields: z.ZodOptional<z.ZodObject<{
152
+ reminderCta: z.ZodString;
153
+ reminderLabel: z.ZodString;
154
+ reminderPeriod: z.ZodString;
155
+ }, "strip", z.ZodTypeAny, {
156
+ reminderCta: string;
157
+ reminderLabel: string;
158
+ reminderPeriod: string;
159
+ }, {
160
+ reminderCta: string;
161
+ reminderLabel: string;
162
+ reminderPeriod: string;
163
+ }>>;
164
+ separateArticleCount: z.ZodOptional<z.ZodObject<{
165
+ type: z.ZodLiteral<"above">;
166
+ copy: z.ZodOptional<z.ZodString>;
167
+ }, "strip", z.ZodTypeAny, {
168
+ type: "above";
169
+ copy?: string | undefined;
170
+ }, {
171
+ type: "above";
172
+ copy?: string | undefined;
173
+ }>>;
174
+ maxViews: z.ZodOptional<z.ZodObject<{
175
+ maxViewsCount: z.ZodNumber;
176
+ maxViewsDays: z.ZodNumber;
177
+ minDaysBetweenViews: z.ZodNumber;
178
+ }, "strip", z.ZodTypeAny, {
179
+ maxViewsCount: number;
180
+ maxViewsDays: number;
181
+ minDaysBetweenViews: number;
182
+ }, {
183
+ maxViewsCount: number;
184
+ maxViewsDays: number;
185
+ minDaysBetweenViews: number;
186
+ }>>;
187
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
188
+ bylineWithImage: z.ZodOptional<z.ZodObject<{
189
+ name: z.ZodString;
190
+ description: z.ZodOptional<z.ZodString>;
191
+ headshot: z.ZodOptional<z.ZodObject<{
192
+ mainUrl: z.ZodString;
193
+ mobileUrl: z.ZodOptional<z.ZodString>;
194
+ tabletUrl: z.ZodOptional<z.ZodString>;
195
+ desktopUrl: z.ZodOptional<z.ZodString>;
196
+ leftColUrl: z.ZodOptional<z.ZodString>;
197
+ wideUrl: z.ZodOptional<z.ZodString>;
198
+ altText: z.ZodString;
199
+ }, "strip", z.ZodTypeAny, {
200
+ mainUrl: string;
201
+ altText: string;
202
+ mobileUrl?: string | undefined;
203
+ tabletUrl?: string | undefined;
204
+ desktopUrl?: string | undefined;
205
+ leftColUrl?: string | undefined;
206
+ wideUrl?: string | undefined;
207
+ }, {
208
+ mainUrl: string;
209
+ altText: string;
210
+ mobileUrl?: string | undefined;
211
+ tabletUrl?: string | undefined;
212
+ desktopUrl?: string | undefined;
213
+ leftColUrl?: string | undefined;
214
+ wideUrl?: string | undefined;
215
+ }>>;
216
+ }, "strip", z.ZodTypeAny, {
217
+ name: string;
218
+ description?: string | undefined;
219
+ headshot?: {
220
+ mainUrl: string;
221
+ altText: string;
222
+ mobileUrl?: string | undefined;
223
+ tabletUrl?: string | undefined;
224
+ desktopUrl?: string | undefined;
225
+ leftColUrl?: string | undefined;
226
+ wideUrl?: string | undefined;
227
+ } | undefined;
228
+ }, {
229
+ name: string;
230
+ description?: string | undefined;
231
+ headshot?: {
232
+ mainUrl: string;
233
+ altText: string;
234
+ mobileUrl?: string | undefined;
235
+ tabletUrl?: string | undefined;
236
+ desktopUrl?: string | undefined;
237
+ leftColUrl?: string | undefined;
238
+ wideUrl?: string | undefined;
239
+ } | undefined;
240
+ }>>;
241
+ showChoiceCards: z.ZodOptional<z.ZodBoolean>;
242
+ choiceCardAmounts: z.ZodOptional<z.ZodObject<{
243
+ testName: z.ZodString;
244
+ variantName: z.ZodString;
245
+ defaultContributionType: z.ZodEnum<["ONE_OFF", "MONTHLY", "ANNUAL"]>;
246
+ displayContributionType: z.ZodArray<z.ZodEnum<["ONE_OFF", "MONTHLY", "ANNUAL"]>, "many">;
247
+ amountsCardData: z.ZodObject<{
248
+ ONE_OFF: z.ZodObject<{
249
+ amounts: z.ZodArray<z.ZodNumber, "many">;
250
+ defaultAmount: z.ZodNumber;
251
+ hideChooseYourAmount: z.ZodOptional<z.ZodBoolean>;
252
+ }, "strip", z.ZodTypeAny, {
253
+ amounts: number[];
254
+ defaultAmount: number;
255
+ hideChooseYourAmount?: boolean | undefined;
256
+ }, {
257
+ amounts: number[];
258
+ defaultAmount: number;
259
+ hideChooseYourAmount?: boolean | undefined;
260
+ }>;
261
+ MONTHLY: z.ZodObject<{
262
+ amounts: z.ZodArray<z.ZodNumber, "many">;
263
+ defaultAmount: z.ZodNumber;
264
+ hideChooseYourAmount: z.ZodOptional<z.ZodBoolean>;
265
+ }, "strip", z.ZodTypeAny, {
266
+ amounts: number[];
267
+ defaultAmount: number;
268
+ hideChooseYourAmount?: boolean | undefined;
269
+ }, {
270
+ amounts: number[];
271
+ defaultAmount: number;
272
+ hideChooseYourAmount?: boolean | undefined;
273
+ }>;
274
+ ANNUAL: z.ZodObject<{
275
+ amounts: z.ZodArray<z.ZodNumber, "many">;
276
+ defaultAmount: z.ZodNumber;
277
+ hideChooseYourAmount: z.ZodOptional<z.ZodBoolean>;
278
+ }, "strip", z.ZodTypeAny, {
279
+ amounts: number[];
280
+ defaultAmount: number;
281
+ hideChooseYourAmount?: boolean | undefined;
282
+ }, {
283
+ amounts: number[];
284
+ defaultAmount: number;
285
+ hideChooseYourAmount?: boolean | undefined;
286
+ }>;
287
+ }, "strip", z.ZodTypeAny, {
288
+ ONE_OFF: {
289
+ amounts: number[];
290
+ defaultAmount: number;
291
+ hideChooseYourAmount?: boolean | undefined;
292
+ };
293
+ MONTHLY: {
294
+ amounts: number[];
295
+ defaultAmount: number;
296
+ hideChooseYourAmount?: boolean | undefined;
297
+ };
298
+ ANNUAL: {
299
+ amounts: number[];
300
+ defaultAmount: number;
301
+ hideChooseYourAmount?: boolean | undefined;
302
+ };
303
+ }, {
304
+ ONE_OFF: {
305
+ amounts: number[];
306
+ defaultAmount: number;
307
+ hideChooseYourAmount?: boolean | undefined;
308
+ };
309
+ MONTHLY: {
310
+ amounts: number[];
311
+ defaultAmount: number;
312
+ hideChooseYourAmount?: boolean | undefined;
313
+ };
314
+ ANNUAL: {
315
+ amounts: number[];
316
+ defaultAmount: number;
317
+ hideChooseYourAmount?: boolean | undefined;
318
+ };
319
+ }>;
320
+ }, "strip", z.ZodTypeAny, {
321
+ testName: string;
322
+ variantName: string;
323
+ defaultContributionType: "ONE_OFF" | "MONTHLY" | "ANNUAL";
324
+ displayContributionType: ("ONE_OFF" | "MONTHLY" | "ANNUAL")[];
325
+ amountsCardData: {
326
+ ONE_OFF: {
327
+ amounts: number[];
328
+ defaultAmount: number;
329
+ hideChooseYourAmount?: boolean | undefined;
330
+ };
331
+ MONTHLY: {
332
+ amounts: number[];
333
+ defaultAmount: number;
334
+ hideChooseYourAmount?: boolean | undefined;
335
+ };
336
+ ANNUAL: {
337
+ amounts: number[];
338
+ defaultAmount: number;
339
+ hideChooseYourAmount?: boolean | undefined;
340
+ };
341
+ };
342
+ }, {
343
+ testName: string;
344
+ variantName: string;
345
+ defaultContributionType: "ONE_OFF" | "MONTHLY" | "ANNUAL";
346
+ displayContributionType: ("ONE_OFF" | "MONTHLY" | "ANNUAL")[];
347
+ amountsCardData: {
348
+ ONE_OFF: {
349
+ amounts: number[];
350
+ defaultAmount: number;
351
+ hideChooseYourAmount?: boolean | undefined;
352
+ };
353
+ MONTHLY: {
354
+ amounts: number[];
355
+ defaultAmount: number;
356
+ hideChooseYourAmount?: boolean | undefined;
357
+ };
358
+ ANNUAL: {
359
+ amounts: number[];
360
+ defaultAmount: number;
361
+ hideChooseYourAmount?: boolean | undefined;
362
+ };
363
+ };
364
+ }>>;
365
+ defaultChoiceCardFrequency: z.ZodOptional<z.ZodEnum<["ONE_OFF", "MONTHLY", "ANNUAL"]>>;
366
+ }, "strip", z.ZodTypeAny, {
367
+ name: string;
368
+ paragraphs: string[];
369
+ heading?: string | undefined;
370
+ highlightedText?: string | undefined;
371
+ tickerSettings?: {
372
+ name: "US" | "AU";
373
+ copy: {
374
+ countLabel: string;
375
+ goalReachedPrimary: string;
376
+ goalReachedSecondary: string;
377
+ };
378
+ endType: import("./shared").TickerEndType;
379
+ countType: import("./shared").TickerCountType;
380
+ currencySymbol: string;
381
+ tickerData?: {
382
+ total: number;
383
+ goal: number;
384
+ } | undefined;
385
+ } | undefined;
386
+ cta?: {
387
+ text: string;
388
+ baseUrl: string;
389
+ } | undefined;
390
+ secondaryCta?: {
391
+ type: import("./shared").SecondaryCtaType.Custom;
392
+ cta: {
393
+ text: string;
394
+ baseUrl: string;
395
+ };
396
+ } | {
397
+ type: import("./shared").SecondaryCtaType.ContributionsReminder;
398
+ } | undefined;
399
+ footer?: string | undefined;
400
+ image?: {
401
+ mainUrl: string;
402
+ altText: string;
403
+ mobileUrl?: string | undefined;
404
+ tabletUrl?: string | undefined;
405
+ desktopUrl?: string | undefined;
406
+ leftColUrl?: string | undefined;
407
+ wideUrl?: string | undefined;
408
+ } | undefined;
409
+ showReminderFields?: {
410
+ reminderCta: string;
411
+ reminderLabel: string;
412
+ reminderPeriod: string;
413
+ } | undefined;
414
+ separateArticleCount?: {
415
+ type: "above";
416
+ copy?: string | undefined;
417
+ } | undefined;
418
+ maxViews?: {
419
+ maxViewsCount: number;
420
+ maxViewsDays: number;
421
+ minDaysBetweenViews: number;
422
+ } | undefined;
423
+ showSignInLink?: boolean | undefined;
424
+ bylineWithImage?: {
425
+ name: string;
426
+ description?: string | undefined;
427
+ headshot?: {
428
+ mainUrl: string;
429
+ altText: string;
430
+ mobileUrl?: string | undefined;
431
+ tabletUrl?: string | undefined;
432
+ desktopUrl?: string | undefined;
433
+ leftColUrl?: string | undefined;
434
+ wideUrl?: string | undefined;
435
+ } | undefined;
436
+ } | undefined;
437
+ showChoiceCards?: boolean | undefined;
438
+ choiceCardAmounts?: {
439
+ testName: string;
440
+ variantName: string;
441
+ defaultContributionType: "ONE_OFF" | "MONTHLY" | "ANNUAL";
442
+ displayContributionType: ("ONE_OFF" | "MONTHLY" | "ANNUAL")[];
443
+ amountsCardData: {
444
+ ONE_OFF: {
445
+ amounts: number[];
446
+ defaultAmount: number;
447
+ hideChooseYourAmount?: boolean | undefined;
448
+ };
449
+ MONTHLY: {
450
+ amounts: number[];
451
+ defaultAmount: number;
452
+ hideChooseYourAmount?: boolean | undefined;
453
+ };
454
+ ANNUAL: {
455
+ amounts: number[];
456
+ defaultAmount: number;
457
+ hideChooseYourAmount?: boolean | undefined;
458
+ };
459
+ };
460
+ } | undefined;
461
+ defaultChoiceCardFrequency?: "ONE_OFF" | "MONTHLY" | "ANNUAL" | undefined;
462
+ }, {
463
+ name: string;
464
+ paragraphs: string[];
465
+ heading?: string | undefined;
466
+ highlightedText?: string | undefined;
467
+ tickerSettings?: {
468
+ name: "US" | "AU";
469
+ copy: {
470
+ countLabel: string;
471
+ goalReachedPrimary: string;
472
+ goalReachedSecondary: string;
473
+ };
474
+ endType: import("./shared").TickerEndType;
475
+ countType: import("./shared").TickerCountType;
476
+ currencySymbol: string;
477
+ tickerData?: {
478
+ total: number;
479
+ goal: number;
480
+ } | undefined;
481
+ } | undefined;
482
+ cta?: {
483
+ text: string;
484
+ baseUrl: string;
485
+ } | undefined;
486
+ secondaryCta?: {
487
+ type: import("./shared").SecondaryCtaType.Custom;
488
+ cta: {
489
+ text: string;
490
+ baseUrl: string;
491
+ };
492
+ } | {
493
+ type: import("./shared").SecondaryCtaType.ContributionsReminder;
494
+ } | undefined;
495
+ footer?: string | undefined;
496
+ image?: {
497
+ mainUrl: string;
498
+ altText: string;
499
+ mobileUrl?: string | undefined;
500
+ tabletUrl?: string | undefined;
501
+ desktopUrl?: string | undefined;
502
+ leftColUrl?: string | undefined;
503
+ wideUrl?: string | undefined;
504
+ } | undefined;
505
+ showReminderFields?: {
506
+ reminderCta: string;
507
+ reminderLabel: string;
508
+ reminderPeriod: string;
509
+ } | undefined;
510
+ separateArticleCount?: {
511
+ type: "above";
512
+ copy?: string | undefined;
513
+ } | undefined;
514
+ maxViews?: {
515
+ maxViewsCount: number;
516
+ maxViewsDays: number;
517
+ minDaysBetweenViews: number;
518
+ } | undefined;
519
+ showSignInLink?: boolean | undefined;
520
+ bylineWithImage?: {
521
+ name: string;
522
+ description?: string | undefined;
523
+ headshot?: {
524
+ mainUrl: string;
525
+ altText: string;
526
+ mobileUrl?: string | undefined;
527
+ tabletUrl?: string | undefined;
528
+ desktopUrl?: string | undefined;
529
+ leftColUrl?: string | undefined;
530
+ wideUrl?: string | undefined;
531
+ } | undefined;
532
+ } | undefined;
533
+ showChoiceCards?: boolean | undefined;
534
+ choiceCardAmounts?: {
535
+ testName: string;
536
+ variantName: string;
537
+ defaultContributionType: "ONE_OFF" | "MONTHLY" | "ANNUAL";
538
+ displayContributionType: ("ONE_OFF" | "MONTHLY" | "ANNUAL")[];
539
+ amountsCardData: {
540
+ ONE_OFF: {
541
+ amounts: number[];
542
+ defaultAmount: number;
543
+ hideChooseYourAmount?: boolean | undefined;
544
+ };
545
+ MONTHLY: {
546
+ amounts: number[];
547
+ defaultAmount: number;
548
+ hideChooseYourAmount?: boolean | undefined;
549
+ };
550
+ ANNUAL: {
551
+ amounts: number[];
552
+ defaultAmount: number;
553
+ hideChooseYourAmount?: boolean | undefined;
554
+ };
555
+ };
556
+ } | undefined;
557
+ defaultChoiceCardFrequency?: "ONE_OFF" | "MONTHLY" | "ANNUAL" | undefined;
558
+ }>;
22
559
  export declare const epicPropsSchema: z.ZodObject<{
23
560
  variant: z.ZodObject<{
24
561
  name: z.ZodString;
25
- heading: z.ZodOptional<z.ZodNullable<z.ZodString>>;
562
+ heading: z.ZodOptional<z.ZodString>;
26
563
  paragraphs: z.ZodArray<z.ZodString, "many">;
27
- highlightedText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
- tickerSettings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
- endType: z.ZodEnum<["unlimited", "hardstop"]>;
30
- countType: z.ZodEnum<["money"]>;
564
+ highlightedText: z.ZodOptional<z.ZodString>;
565
+ tickerSettings: z.ZodOptional<z.ZodObject<{
566
+ endType: z.ZodNativeEnum<typeof import("./shared").TickerEndType>;
567
+ countType: z.ZodNativeEnum<typeof import("./shared").TickerCountType>;
31
568
  currencySymbol: z.ZodString;
32
569
  copy: z.ZodObject<{
33
570
  countLabel: z.ZodString;
@@ -42,7 +579,8 @@ export declare const epicPropsSchema: z.ZodObject<{
42
579
  goalReachedPrimary: string;
43
580
  goalReachedSecondary: string;
44
581
  }>;
45
- tickerData: z.ZodOptional<z.ZodNullable<z.ZodObject<{
582
+ name: z.ZodEnum<["US", "AU"]>;
583
+ tickerData: z.ZodOptional<z.ZodObject<{
46
584
  total: z.ZodNumber;
47
585
  goal: z.ZodNumber;
48
586
  }, "strip", z.ZodTypeAny, {
@@ -51,35 +589,37 @@ export declare const epicPropsSchema: z.ZodObject<{
51
589
  }, {
52
590
  total: number;
53
591
  goal: number;
54
- }>>>;
592
+ }>>;
55
593
  }, "strip", z.ZodTypeAny, {
594
+ name: "US" | "AU";
56
595
  copy: {
57
596
  countLabel: string;
58
597
  goalReachedPrimary: string;
59
598
  goalReachedSecondary: string;
60
599
  };
61
- endType: "unlimited" | "hardstop";
62
- countType: "money";
600
+ endType: import("./shared").TickerEndType;
601
+ countType: import("./shared").TickerCountType;
63
602
  currencySymbol: string;
64
603
  tickerData?: {
65
604
  total: number;
66
605
  goal: number;
67
- } | null | undefined;
606
+ } | undefined;
68
607
  }, {
608
+ name: "US" | "AU";
69
609
  copy: {
70
610
  countLabel: string;
71
611
  goalReachedPrimary: string;
72
612
  goalReachedSecondary: string;
73
613
  };
74
- endType: "unlimited" | "hardstop";
75
- countType: "money";
614
+ endType: import("./shared").TickerEndType;
615
+ countType: import("./shared").TickerCountType;
76
616
  currencySymbol: string;
77
617
  tickerData?: {
78
618
  total: number;
79
619
  goal: number;
80
- } | null | undefined;
81
- }>>>;
82
- cta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
620
+ } | undefined;
621
+ }>>;
622
+ cta: z.ZodOptional<z.ZodObject<{
83
623
  text: z.ZodString;
84
624
  baseUrl: z.ZodString;
85
625
  }, "strip", z.ZodTypeAny, {
@@ -88,9 +628,9 @@ export declare const epicPropsSchema: z.ZodObject<{
88
628
  }, {
89
629
  text: string;
90
630
  baseUrl: string;
91
- }>>>;
92
- secondaryCta: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
93
- type: z.ZodLiteral<"CustomSecondaryCta">;
631
+ }>>;
632
+ secondaryCta: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
633
+ type: z.ZodLiteral<import("./shared").SecondaryCtaType.Custom>;
94
634
  cta: z.ZodObject<{
95
635
  text: z.ZodString;
96
636
  baseUrl: z.ZodString;
@@ -102,51 +642,51 @@ export declare const epicPropsSchema: z.ZodObject<{
102
642
  baseUrl: string;
103
643
  }>;
104
644
  }, "strip", z.ZodTypeAny, {
105
- type: "CustomSecondaryCta";
645
+ type: import("./shared").SecondaryCtaType.Custom;
106
646
  cta: {
107
647
  text: string;
108
648
  baseUrl: string;
109
649
  };
110
650
  }, {
111
- type: "CustomSecondaryCta";
651
+ type: import("./shared").SecondaryCtaType.Custom;
112
652
  cta: {
113
653
  text: string;
114
654
  baseUrl: string;
115
655
  };
116
656
  }>, z.ZodObject<{
117
- type: z.ZodLiteral<"ContributionsReminderSecondaryCta">;
657
+ type: z.ZodLiteral<import("./shared").SecondaryCtaType.ContributionsReminder>;
118
658
  }, "strip", z.ZodTypeAny, {
119
- type: "ContributionsReminderSecondaryCta";
659
+ type: import("./shared").SecondaryCtaType.ContributionsReminder;
120
660
  }, {
121
- type: "ContributionsReminderSecondaryCta";
122
- }>]>>>;
123
- footer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
- image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
661
+ type: import("./shared").SecondaryCtaType.ContributionsReminder;
662
+ }>]>>;
663
+ footer: z.ZodOptional<z.ZodString>;
664
+ image: z.ZodOptional<z.ZodObject<{
125
665
  mainUrl: z.ZodString;
126
- mobileUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
- tabletUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128
- desktopUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
129
- leftColUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
- wideUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
666
+ mobileUrl: z.ZodOptional<z.ZodString>;
667
+ tabletUrl: z.ZodOptional<z.ZodString>;
668
+ desktopUrl: z.ZodOptional<z.ZodString>;
669
+ leftColUrl: z.ZodOptional<z.ZodString>;
670
+ wideUrl: z.ZodOptional<z.ZodString>;
131
671
  altText: z.ZodString;
132
672
  }, "strip", z.ZodTypeAny, {
133
673
  mainUrl: string;
134
674
  altText: string;
135
- mobileUrl?: string | null | undefined;
136
- tabletUrl?: string | null | undefined;
137
- desktopUrl?: string | null | undefined;
138
- leftColUrl?: string | null | undefined;
139
- wideUrl?: string | null | undefined;
675
+ mobileUrl?: string | undefined;
676
+ tabletUrl?: string | undefined;
677
+ desktopUrl?: string | undefined;
678
+ leftColUrl?: string | undefined;
679
+ wideUrl?: string | undefined;
140
680
  }, {
141
681
  mainUrl: string;
142
682
  altText: string;
143
- mobileUrl?: string | null | undefined;
144
- tabletUrl?: string | null | undefined;
145
- desktopUrl?: string | null | undefined;
146
- leftColUrl?: string | null | undefined;
147
- wideUrl?: string | null | undefined;
148
- }>>>;
149
- showReminderFields: z.ZodOptional<z.ZodNullable<z.ZodObject<{
683
+ mobileUrl?: string | undefined;
684
+ tabletUrl?: string | undefined;
685
+ desktopUrl?: string | undefined;
686
+ leftColUrl?: string | undefined;
687
+ wideUrl?: string | undefined;
688
+ }>>;
689
+ showReminderFields: z.ZodOptional<z.ZodObject<{
150
690
  reminderCta: z.ZodString;
151
691
  reminderLabel: z.ZodString;
152
692
  reminderPeriod: z.ZodString;
@@ -158,18 +698,18 @@ export declare const epicPropsSchema: z.ZodObject<{
158
698
  reminderCta: string;
159
699
  reminderLabel: string;
160
700
  reminderPeriod: string;
161
- }>>>;
162
- separateArticleCount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
163
- type: z.ZodString;
164
- copy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
701
+ }>>;
702
+ separateArticleCount: z.ZodOptional<z.ZodObject<{
703
+ type: z.ZodLiteral<"above">;
704
+ copy: z.ZodOptional<z.ZodString>;
165
705
  }, "strip", z.ZodTypeAny, {
166
- type: string;
167
- copy?: string | null | undefined;
706
+ type: "above";
707
+ copy?: string | undefined;
168
708
  }, {
169
- type: string;
170
- copy?: string | null | undefined;
171
- }>>>;
172
- maxViews: z.ZodOptional<z.ZodNullable<z.ZodObject<{
709
+ type: "above";
710
+ copy?: string | undefined;
711
+ }>>;
712
+ maxViews: z.ZodOptional<z.ZodObject<{
173
713
  maxViewsCount: z.ZodNumber;
174
714
  maxViewsDays: z.ZodNumber;
175
715
  minDaysBetweenViews: z.ZodNumber;
@@ -181,201 +721,378 @@ export declare const epicPropsSchema: z.ZodObject<{
181
721
  maxViewsCount: number;
182
722
  maxViewsDays: number;
183
723
  minDaysBetweenViews: number;
184
- }>>>;
185
- showSignInLink: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
186
- bylineWithImage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
724
+ }>>;
725
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
726
+ bylineWithImage: z.ZodOptional<z.ZodObject<{
187
727
  name: z.ZodString;
188
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
189
- headshot: z.ZodOptional<z.ZodNullable<z.ZodObject<{
728
+ description: z.ZodOptional<z.ZodString>;
729
+ headshot: z.ZodOptional<z.ZodObject<{
190
730
  mainUrl: z.ZodString;
191
- mobileUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
192
- tabletUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
193
- desktopUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
194
- leftColUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
195
- wideUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
731
+ mobileUrl: z.ZodOptional<z.ZodString>;
732
+ tabletUrl: z.ZodOptional<z.ZodString>;
733
+ desktopUrl: z.ZodOptional<z.ZodString>;
734
+ leftColUrl: z.ZodOptional<z.ZodString>;
735
+ wideUrl: z.ZodOptional<z.ZodString>;
196
736
  altText: z.ZodString;
197
737
  }, "strip", z.ZodTypeAny, {
198
738
  mainUrl: string;
199
739
  altText: string;
200
- mobileUrl?: string | null | undefined;
201
- tabletUrl?: string | null | undefined;
202
- desktopUrl?: string | null | undefined;
203
- leftColUrl?: string | null | undefined;
204
- wideUrl?: string | null | undefined;
740
+ mobileUrl?: string | undefined;
741
+ tabletUrl?: string | undefined;
742
+ desktopUrl?: string | undefined;
743
+ leftColUrl?: string | undefined;
744
+ wideUrl?: string | undefined;
205
745
  }, {
206
746
  mainUrl: string;
207
747
  altText: string;
208
- mobileUrl?: string | null | undefined;
209
- tabletUrl?: string | null | undefined;
210
- desktopUrl?: string | null | undefined;
211
- leftColUrl?: string | null | undefined;
212
- wideUrl?: string | null | undefined;
213
- }>>>;
748
+ mobileUrl?: string | undefined;
749
+ tabletUrl?: string | undefined;
750
+ desktopUrl?: string | undefined;
751
+ leftColUrl?: string | undefined;
752
+ wideUrl?: string | undefined;
753
+ }>>;
214
754
  }, "strip", z.ZodTypeAny, {
215
755
  name: string;
216
- description?: string | null | undefined;
756
+ description?: string | undefined;
217
757
  headshot?: {
218
758
  mainUrl: string;
219
759
  altText: string;
220
- mobileUrl?: string | null | undefined;
221
- tabletUrl?: string | null | undefined;
222
- desktopUrl?: string | null | undefined;
223
- leftColUrl?: string | null | undefined;
224
- wideUrl?: string | null | undefined;
225
- } | null | undefined;
760
+ mobileUrl?: string | undefined;
761
+ tabletUrl?: string | undefined;
762
+ desktopUrl?: string | undefined;
763
+ leftColUrl?: string | undefined;
764
+ wideUrl?: string | undefined;
765
+ } | undefined;
226
766
  }, {
227
767
  name: string;
228
- description?: string | null | undefined;
768
+ description?: string | undefined;
229
769
  headshot?: {
230
770
  mainUrl: string;
231
771
  altText: string;
232
- mobileUrl?: string | null | undefined;
233
- tabletUrl?: string | null | undefined;
234
- desktopUrl?: string | null | undefined;
235
- leftColUrl?: string | null | undefined;
236
- wideUrl?: string | null | undefined;
237
- } | null | undefined;
238
- }>>>;
772
+ mobileUrl?: string | undefined;
773
+ tabletUrl?: string | undefined;
774
+ desktopUrl?: string | undefined;
775
+ leftColUrl?: string | undefined;
776
+ wideUrl?: string | undefined;
777
+ } | undefined;
778
+ }>>;
779
+ showChoiceCards: z.ZodOptional<z.ZodBoolean>;
780
+ choiceCardAmounts: z.ZodOptional<z.ZodObject<{
781
+ testName: z.ZodString;
782
+ variantName: z.ZodString;
783
+ defaultContributionType: z.ZodEnum<["ONE_OFF", "MONTHLY", "ANNUAL"]>;
784
+ displayContributionType: z.ZodArray<z.ZodEnum<["ONE_OFF", "MONTHLY", "ANNUAL"]>, "many">;
785
+ amountsCardData: z.ZodObject<{
786
+ ONE_OFF: z.ZodObject<{
787
+ amounts: z.ZodArray<z.ZodNumber, "many">;
788
+ defaultAmount: z.ZodNumber;
789
+ hideChooseYourAmount: z.ZodOptional<z.ZodBoolean>;
790
+ }, "strip", z.ZodTypeAny, {
791
+ amounts: number[];
792
+ defaultAmount: number;
793
+ hideChooseYourAmount?: boolean | undefined;
794
+ }, {
795
+ amounts: number[];
796
+ defaultAmount: number;
797
+ hideChooseYourAmount?: boolean | undefined;
798
+ }>;
799
+ MONTHLY: z.ZodObject<{
800
+ amounts: z.ZodArray<z.ZodNumber, "many">;
801
+ defaultAmount: z.ZodNumber;
802
+ hideChooseYourAmount: z.ZodOptional<z.ZodBoolean>;
803
+ }, "strip", z.ZodTypeAny, {
804
+ amounts: number[];
805
+ defaultAmount: number;
806
+ hideChooseYourAmount?: boolean | undefined;
807
+ }, {
808
+ amounts: number[];
809
+ defaultAmount: number;
810
+ hideChooseYourAmount?: boolean | undefined;
811
+ }>;
812
+ ANNUAL: z.ZodObject<{
813
+ amounts: z.ZodArray<z.ZodNumber, "many">;
814
+ defaultAmount: z.ZodNumber;
815
+ hideChooseYourAmount: z.ZodOptional<z.ZodBoolean>;
816
+ }, "strip", z.ZodTypeAny, {
817
+ amounts: number[];
818
+ defaultAmount: number;
819
+ hideChooseYourAmount?: boolean | undefined;
820
+ }, {
821
+ amounts: number[];
822
+ defaultAmount: number;
823
+ hideChooseYourAmount?: boolean | undefined;
824
+ }>;
825
+ }, "strip", z.ZodTypeAny, {
826
+ ONE_OFF: {
827
+ amounts: number[];
828
+ defaultAmount: number;
829
+ hideChooseYourAmount?: boolean | undefined;
830
+ };
831
+ MONTHLY: {
832
+ amounts: number[];
833
+ defaultAmount: number;
834
+ hideChooseYourAmount?: boolean | undefined;
835
+ };
836
+ ANNUAL: {
837
+ amounts: number[];
838
+ defaultAmount: number;
839
+ hideChooseYourAmount?: boolean | undefined;
840
+ };
841
+ }, {
842
+ ONE_OFF: {
843
+ amounts: number[];
844
+ defaultAmount: number;
845
+ hideChooseYourAmount?: boolean | undefined;
846
+ };
847
+ MONTHLY: {
848
+ amounts: number[];
849
+ defaultAmount: number;
850
+ hideChooseYourAmount?: boolean | undefined;
851
+ };
852
+ ANNUAL: {
853
+ amounts: number[];
854
+ defaultAmount: number;
855
+ hideChooseYourAmount?: boolean | undefined;
856
+ };
857
+ }>;
858
+ }, "strip", z.ZodTypeAny, {
859
+ testName: string;
860
+ variantName: string;
861
+ defaultContributionType: "ONE_OFF" | "MONTHLY" | "ANNUAL";
862
+ displayContributionType: ("ONE_OFF" | "MONTHLY" | "ANNUAL")[];
863
+ amountsCardData: {
864
+ ONE_OFF: {
865
+ amounts: number[];
866
+ defaultAmount: number;
867
+ hideChooseYourAmount?: boolean | undefined;
868
+ };
869
+ MONTHLY: {
870
+ amounts: number[];
871
+ defaultAmount: number;
872
+ hideChooseYourAmount?: boolean | undefined;
873
+ };
874
+ ANNUAL: {
875
+ amounts: number[];
876
+ defaultAmount: number;
877
+ hideChooseYourAmount?: boolean | undefined;
878
+ };
879
+ };
880
+ }, {
881
+ testName: string;
882
+ variantName: string;
883
+ defaultContributionType: "ONE_OFF" | "MONTHLY" | "ANNUAL";
884
+ displayContributionType: ("ONE_OFF" | "MONTHLY" | "ANNUAL")[];
885
+ amountsCardData: {
886
+ ONE_OFF: {
887
+ amounts: number[];
888
+ defaultAmount: number;
889
+ hideChooseYourAmount?: boolean | undefined;
890
+ };
891
+ MONTHLY: {
892
+ amounts: number[];
893
+ defaultAmount: number;
894
+ hideChooseYourAmount?: boolean | undefined;
895
+ };
896
+ ANNUAL: {
897
+ amounts: number[];
898
+ defaultAmount: number;
899
+ hideChooseYourAmount?: boolean | undefined;
900
+ };
901
+ };
902
+ }>>;
903
+ defaultChoiceCardFrequency: z.ZodOptional<z.ZodEnum<["ONE_OFF", "MONTHLY", "ANNUAL"]>>;
239
904
  }, "strip", z.ZodTypeAny, {
240
905
  name: string;
241
906
  paragraphs: string[];
242
- heading?: string | null | undefined;
243
- highlightedText?: string | null | undefined;
907
+ heading?: string | undefined;
908
+ highlightedText?: string | undefined;
244
909
  tickerSettings?: {
910
+ name: "US" | "AU";
245
911
  copy: {
246
912
  countLabel: string;
247
913
  goalReachedPrimary: string;
248
914
  goalReachedSecondary: string;
249
915
  };
250
- endType: "unlimited" | "hardstop";
251
- countType: "money";
916
+ endType: import("./shared").TickerEndType;
917
+ countType: import("./shared").TickerCountType;
252
918
  currencySymbol: string;
253
919
  tickerData?: {
254
920
  total: number;
255
921
  goal: number;
256
- } | null | undefined;
257
- } | null | undefined;
922
+ } | undefined;
923
+ } | undefined;
258
924
  cta?: {
259
925
  text: string;
260
926
  baseUrl: string;
261
- } | null | undefined;
927
+ } | undefined;
262
928
  secondaryCta?: {
263
- type: "CustomSecondaryCta";
929
+ type: import("./shared").SecondaryCtaType.Custom;
264
930
  cta: {
265
931
  text: string;
266
932
  baseUrl: string;
267
933
  };
268
934
  } | {
269
- type: "ContributionsReminderSecondaryCta";
270
- } | null | undefined;
271
- footer?: string | null | undefined;
935
+ type: import("./shared").SecondaryCtaType.ContributionsReminder;
936
+ } | undefined;
937
+ footer?: string | undefined;
272
938
  image?: {
273
939
  mainUrl: string;
274
940
  altText: string;
275
- mobileUrl?: string | null | undefined;
276
- tabletUrl?: string | null | undefined;
277
- desktopUrl?: string | null | undefined;
278
- leftColUrl?: string | null | undefined;
279
- wideUrl?: string | null | undefined;
280
- } | null | undefined;
941
+ mobileUrl?: string | undefined;
942
+ tabletUrl?: string | undefined;
943
+ desktopUrl?: string | undefined;
944
+ leftColUrl?: string | undefined;
945
+ wideUrl?: string | undefined;
946
+ } | undefined;
281
947
  showReminderFields?: {
282
948
  reminderCta: string;
283
949
  reminderLabel: string;
284
950
  reminderPeriod: string;
285
- } | null | undefined;
951
+ } | undefined;
286
952
  separateArticleCount?: {
287
- type: string;
288
- copy?: string | null | undefined;
289
- } | null | undefined;
953
+ type: "above";
954
+ copy?: string | undefined;
955
+ } | undefined;
290
956
  maxViews?: {
291
957
  maxViewsCount: number;
292
958
  maxViewsDays: number;
293
959
  minDaysBetweenViews: number;
294
- } | null | undefined;
295
- showSignInLink?: boolean | null | undefined;
960
+ } | undefined;
961
+ showSignInLink?: boolean | undefined;
296
962
  bylineWithImage?: {
297
963
  name: string;
298
- description?: string | null | undefined;
964
+ description?: string | undefined;
299
965
  headshot?: {
300
966
  mainUrl: string;
301
967
  altText: string;
302
- mobileUrl?: string | null | undefined;
303
- tabletUrl?: string | null | undefined;
304
- desktopUrl?: string | null | undefined;
305
- leftColUrl?: string | null | undefined;
306
- wideUrl?: string | null | undefined;
307
- } | null | undefined;
308
- } | null | undefined;
968
+ mobileUrl?: string | undefined;
969
+ tabletUrl?: string | undefined;
970
+ desktopUrl?: string | undefined;
971
+ leftColUrl?: string | undefined;
972
+ wideUrl?: string | undefined;
973
+ } | undefined;
974
+ } | undefined;
975
+ showChoiceCards?: boolean | undefined;
976
+ choiceCardAmounts?: {
977
+ testName: string;
978
+ variantName: string;
979
+ defaultContributionType: "ONE_OFF" | "MONTHLY" | "ANNUAL";
980
+ displayContributionType: ("ONE_OFF" | "MONTHLY" | "ANNUAL")[];
981
+ amountsCardData: {
982
+ ONE_OFF: {
983
+ amounts: number[];
984
+ defaultAmount: number;
985
+ hideChooseYourAmount?: boolean | undefined;
986
+ };
987
+ MONTHLY: {
988
+ amounts: number[];
989
+ defaultAmount: number;
990
+ hideChooseYourAmount?: boolean | undefined;
991
+ };
992
+ ANNUAL: {
993
+ amounts: number[];
994
+ defaultAmount: number;
995
+ hideChooseYourAmount?: boolean | undefined;
996
+ };
997
+ };
998
+ } | undefined;
999
+ defaultChoiceCardFrequency?: "ONE_OFF" | "MONTHLY" | "ANNUAL" | undefined;
309
1000
  }, {
310
1001
  name: string;
311
1002
  paragraphs: string[];
312
- heading?: string | null | undefined;
313
- highlightedText?: string | null | undefined;
1003
+ heading?: string | undefined;
1004
+ highlightedText?: string | undefined;
314
1005
  tickerSettings?: {
1006
+ name: "US" | "AU";
315
1007
  copy: {
316
1008
  countLabel: string;
317
1009
  goalReachedPrimary: string;
318
1010
  goalReachedSecondary: string;
319
1011
  };
320
- endType: "unlimited" | "hardstop";
321
- countType: "money";
1012
+ endType: import("./shared").TickerEndType;
1013
+ countType: import("./shared").TickerCountType;
322
1014
  currencySymbol: string;
323
1015
  tickerData?: {
324
1016
  total: number;
325
1017
  goal: number;
326
- } | null | undefined;
327
- } | null | undefined;
1018
+ } | undefined;
1019
+ } | undefined;
328
1020
  cta?: {
329
1021
  text: string;
330
1022
  baseUrl: string;
331
- } | null | undefined;
1023
+ } | undefined;
332
1024
  secondaryCta?: {
333
- type: "CustomSecondaryCta";
1025
+ type: import("./shared").SecondaryCtaType.Custom;
334
1026
  cta: {
335
1027
  text: string;
336
1028
  baseUrl: string;
337
1029
  };
338
1030
  } | {
339
- type: "ContributionsReminderSecondaryCta";
340
- } | null | undefined;
341
- footer?: string | null | undefined;
1031
+ type: import("./shared").SecondaryCtaType.ContributionsReminder;
1032
+ } | undefined;
1033
+ footer?: string | undefined;
342
1034
  image?: {
343
1035
  mainUrl: string;
344
1036
  altText: string;
345
- mobileUrl?: string | null | undefined;
346
- tabletUrl?: string | null | undefined;
347
- desktopUrl?: string | null | undefined;
348
- leftColUrl?: string | null | undefined;
349
- wideUrl?: string | null | undefined;
350
- } | null | undefined;
1037
+ mobileUrl?: string | undefined;
1038
+ tabletUrl?: string | undefined;
1039
+ desktopUrl?: string | undefined;
1040
+ leftColUrl?: string | undefined;
1041
+ wideUrl?: string | undefined;
1042
+ } | undefined;
351
1043
  showReminderFields?: {
352
1044
  reminderCta: string;
353
1045
  reminderLabel: string;
354
1046
  reminderPeriod: string;
355
- } | null | undefined;
1047
+ } | undefined;
356
1048
  separateArticleCount?: {
357
- type: string;
358
- copy?: string | null | undefined;
359
- } | null | undefined;
1049
+ type: "above";
1050
+ copy?: string | undefined;
1051
+ } | undefined;
360
1052
  maxViews?: {
361
1053
  maxViewsCount: number;
362
1054
  maxViewsDays: number;
363
1055
  minDaysBetweenViews: number;
364
- } | null | undefined;
365
- showSignInLink?: boolean | null | undefined;
1056
+ } | undefined;
1057
+ showSignInLink?: boolean | undefined;
366
1058
  bylineWithImage?: {
367
1059
  name: string;
368
- description?: string | null | undefined;
1060
+ description?: string | undefined;
369
1061
  headshot?: {
370
1062
  mainUrl: string;
371
1063
  altText: string;
372
- mobileUrl?: string | null | undefined;
373
- tabletUrl?: string | null | undefined;
374
- desktopUrl?: string | null | undefined;
375
- leftColUrl?: string | null | undefined;
376
- wideUrl?: string | null | undefined;
377
- } | null | undefined;
378
- } | null | undefined;
1064
+ mobileUrl?: string | undefined;
1065
+ tabletUrl?: string | undefined;
1066
+ desktopUrl?: string | undefined;
1067
+ leftColUrl?: string | undefined;
1068
+ wideUrl?: string | undefined;
1069
+ } | undefined;
1070
+ } | undefined;
1071
+ showChoiceCards?: boolean | undefined;
1072
+ choiceCardAmounts?: {
1073
+ testName: string;
1074
+ variantName: string;
1075
+ defaultContributionType: "ONE_OFF" | "MONTHLY" | "ANNUAL";
1076
+ displayContributionType: ("ONE_OFF" | "MONTHLY" | "ANNUAL")[];
1077
+ amountsCardData: {
1078
+ ONE_OFF: {
1079
+ amounts: number[];
1080
+ defaultAmount: number;
1081
+ hideChooseYourAmount?: boolean | undefined;
1082
+ };
1083
+ MONTHLY: {
1084
+ amounts: number[];
1085
+ defaultAmount: number;
1086
+ hideChooseYourAmount?: boolean | undefined;
1087
+ };
1088
+ ANNUAL: {
1089
+ amounts: number[];
1090
+ defaultAmount: number;
1091
+ hideChooseYourAmount?: boolean | undefined;
1092
+ };
1093
+ };
1094
+ } | undefined;
1095
+ defaultChoiceCardFrequency?: "ONE_OFF" | "MONTHLY" | "ANNUAL" | undefined;
379
1096
  }>;
380
1097
  tracking: z.ZodObject<{
381
1098
  abTestName: z.ZodString;
@@ -432,73 +1149,99 @@ export declare const epicPropsSchema: z.ZodObject<{
432
1149
  variant: {
433
1150
  name: string;
434
1151
  paragraphs: string[];
435
- heading?: string | null | undefined;
436
- highlightedText?: string | null | undefined;
1152
+ heading?: string | undefined;
1153
+ highlightedText?: string | undefined;
437
1154
  tickerSettings?: {
1155
+ name: "US" | "AU";
438
1156
  copy: {
439
1157
  countLabel: string;
440
1158
  goalReachedPrimary: string;
441
1159
  goalReachedSecondary: string;
442
1160
  };
443
- endType: "unlimited" | "hardstop";
444
- countType: "money";
1161
+ endType: import("./shared").TickerEndType;
1162
+ countType: import("./shared").TickerCountType;
445
1163
  currencySymbol: string;
446
1164
  tickerData?: {
447
1165
  total: number;
448
1166
  goal: number;
449
- } | null | undefined;
450
- } | null | undefined;
1167
+ } | undefined;
1168
+ } | undefined;
451
1169
  cta?: {
452
1170
  text: string;
453
1171
  baseUrl: string;
454
- } | null | undefined;
1172
+ } | undefined;
455
1173
  secondaryCta?: {
456
- type: "CustomSecondaryCta";
1174
+ type: import("./shared").SecondaryCtaType.Custom;
457
1175
  cta: {
458
1176
  text: string;
459
1177
  baseUrl: string;
460
1178
  };
461
1179
  } | {
462
- type: "ContributionsReminderSecondaryCta";
463
- } | null | undefined;
464
- footer?: string | null | undefined;
1180
+ type: import("./shared").SecondaryCtaType.ContributionsReminder;
1181
+ } | undefined;
1182
+ footer?: string | undefined;
465
1183
  image?: {
466
1184
  mainUrl: string;
467
1185
  altText: string;
468
- mobileUrl?: string | null | undefined;
469
- tabletUrl?: string | null | undefined;
470
- desktopUrl?: string | null | undefined;
471
- leftColUrl?: string | null | undefined;
472
- wideUrl?: string | null | undefined;
473
- } | null | undefined;
1186
+ mobileUrl?: string | undefined;
1187
+ tabletUrl?: string | undefined;
1188
+ desktopUrl?: string | undefined;
1189
+ leftColUrl?: string | undefined;
1190
+ wideUrl?: string | undefined;
1191
+ } | undefined;
474
1192
  showReminderFields?: {
475
1193
  reminderCta: string;
476
1194
  reminderLabel: string;
477
1195
  reminderPeriod: string;
478
- } | null | undefined;
1196
+ } | undefined;
479
1197
  separateArticleCount?: {
480
- type: string;
481
- copy?: string | null | undefined;
482
- } | null | undefined;
1198
+ type: "above";
1199
+ copy?: string | undefined;
1200
+ } | undefined;
483
1201
  maxViews?: {
484
1202
  maxViewsCount: number;
485
1203
  maxViewsDays: number;
486
1204
  minDaysBetweenViews: number;
487
- } | null | undefined;
488
- showSignInLink?: boolean | null | undefined;
1205
+ } | undefined;
1206
+ showSignInLink?: boolean | undefined;
489
1207
  bylineWithImage?: {
490
1208
  name: string;
491
- description?: string | null | undefined;
1209
+ description?: string | undefined;
492
1210
  headshot?: {
493
1211
  mainUrl: string;
494
1212
  altText: string;
495
- mobileUrl?: string | null | undefined;
496
- tabletUrl?: string | null | undefined;
497
- desktopUrl?: string | null | undefined;
498
- leftColUrl?: string | null | undefined;
499
- wideUrl?: string | null | undefined;
500
- } | null | undefined;
501
- } | null | undefined;
1213
+ mobileUrl?: string | undefined;
1214
+ tabletUrl?: string | undefined;
1215
+ desktopUrl?: string | undefined;
1216
+ leftColUrl?: string | undefined;
1217
+ wideUrl?: string | undefined;
1218
+ } | undefined;
1219
+ } | undefined;
1220
+ showChoiceCards?: boolean | undefined;
1221
+ choiceCardAmounts?: {
1222
+ testName: string;
1223
+ variantName: string;
1224
+ defaultContributionType: "ONE_OFF" | "MONTHLY" | "ANNUAL";
1225
+ displayContributionType: ("ONE_OFF" | "MONTHLY" | "ANNUAL")[];
1226
+ amountsCardData: {
1227
+ ONE_OFF: {
1228
+ amounts: number[];
1229
+ defaultAmount: number;
1230
+ hideChooseYourAmount?: boolean | undefined;
1231
+ };
1232
+ MONTHLY: {
1233
+ amounts: number[];
1234
+ defaultAmount: number;
1235
+ hideChooseYourAmount?: boolean | undefined;
1236
+ };
1237
+ ANNUAL: {
1238
+ amounts: number[];
1239
+ defaultAmount: number;
1240
+ hideChooseYourAmount?: boolean | undefined;
1241
+ };
1242
+ };
1243
+ } | undefined;
1244
+ defaultChoiceCardFrequency?: "ONE_OFF" | "MONTHLY" | "ANNUAL" | undefined;
502
1245
  };
503
1246
  tracking: {
504
1247
  componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
@@ -527,73 +1270,99 @@ export declare const epicPropsSchema: z.ZodObject<{
527
1270
  variant: {
528
1271
  name: string;
529
1272
  paragraphs: string[];
530
- heading?: string | null | undefined;
531
- highlightedText?: string | null | undefined;
1273
+ heading?: string | undefined;
1274
+ highlightedText?: string | undefined;
532
1275
  tickerSettings?: {
1276
+ name: "US" | "AU";
533
1277
  copy: {
534
1278
  countLabel: string;
535
1279
  goalReachedPrimary: string;
536
1280
  goalReachedSecondary: string;
537
1281
  };
538
- endType: "unlimited" | "hardstop";
539
- countType: "money";
1282
+ endType: import("./shared").TickerEndType;
1283
+ countType: import("./shared").TickerCountType;
540
1284
  currencySymbol: string;
541
1285
  tickerData?: {
542
1286
  total: number;
543
1287
  goal: number;
544
- } | null | undefined;
545
- } | null | undefined;
1288
+ } | undefined;
1289
+ } | undefined;
546
1290
  cta?: {
547
1291
  text: string;
548
1292
  baseUrl: string;
549
- } | null | undefined;
1293
+ } | undefined;
550
1294
  secondaryCta?: {
551
- type: "CustomSecondaryCta";
1295
+ type: import("./shared").SecondaryCtaType.Custom;
552
1296
  cta: {
553
1297
  text: string;
554
1298
  baseUrl: string;
555
1299
  };
556
1300
  } | {
557
- type: "ContributionsReminderSecondaryCta";
558
- } | null | undefined;
559
- footer?: string | null | undefined;
1301
+ type: import("./shared").SecondaryCtaType.ContributionsReminder;
1302
+ } | undefined;
1303
+ footer?: string | undefined;
560
1304
  image?: {
561
1305
  mainUrl: string;
562
1306
  altText: string;
563
- mobileUrl?: string | null | undefined;
564
- tabletUrl?: string | null | undefined;
565
- desktopUrl?: string | null | undefined;
566
- leftColUrl?: string | null | undefined;
567
- wideUrl?: string | null | undefined;
568
- } | null | undefined;
1307
+ mobileUrl?: string | undefined;
1308
+ tabletUrl?: string | undefined;
1309
+ desktopUrl?: string | undefined;
1310
+ leftColUrl?: string | undefined;
1311
+ wideUrl?: string | undefined;
1312
+ } | undefined;
569
1313
  showReminderFields?: {
570
1314
  reminderCta: string;
571
1315
  reminderLabel: string;
572
1316
  reminderPeriod: string;
573
- } | null | undefined;
1317
+ } | undefined;
574
1318
  separateArticleCount?: {
575
- type: string;
576
- copy?: string | null | undefined;
577
- } | null | undefined;
1319
+ type: "above";
1320
+ copy?: string | undefined;
1321
+ } | undefined;
578
1322
  maxViews?: {
579
1323
  maxViewsCount: number;
580
1324
  maxViewsDays: number;
581
1325
  minDaysBetweenViews: number;
582
- } | null | undefined;
583
- showSignInLink?: boolean | null | undefined;
1326
+ } | undefined;
1327
+ showSignInLink?: boolean | undefined;
584
1328
  bylineWithImage?: {
585
1329
  name: string;
586
- description?: string | null | undefined;
1330
+ description?: string | undefined;
587
1331
  headshot?: {
588
1332
  mainUrl: string;
589
1333
  altText: string;
590
- mobileUrl?: string | null | undefined;
591
- tabletUrl?: string | null | undefined;
592
- desktopUrl?: string | null | undefined;
593
- leftColUrl?: string | null | undefined;
594
- wideUrl?: string | null | undefined;
595
- } | null | undefined;
596
- } | null | undefined;
1334
+ mobileUrl?: string | undefined;
1335
+ tabletUrl?: string | undefined;
1336
+ desktopUrl?: string | undefined;
1337
+ leftColUrl?: string | undefined;
1338
+ wideUrl?: string | undefined;
1339
+ } | undefined;
1340
+ } | undefined;
1341
+ showChoiceCards?: boolean | undefined;
1342
+ choiceCardAmounts?: {
1343
+ testName: string;
1344
+ variantName: string;
1345
+ defaultContributionType: "ONE_OFF" | "MONTHLY" | "ANNUAL";
1346
+ displayContributionType: ("ONE_OFF" | "MONTHLY" | "ANNUAL")[];
1347
+ amountsCardData: {
1348
+ ONE_OFF: {
1349
+ amounts: number[];
1350
+ defaultAmount: number;
1351
+ hideChooseYourAmount?: boolean | undefined;
1352
+ };
1353
+ MONTHLY: {
1354
+ amounts: number[];
1355
+ defaultAmount: number;
1356
+ hideChooseYourAmount?: boolean | undefined;
1357
+ };
1358
+ ANNUAL: {
1359
+ amounts: number[];
1360
+ defaultAmount: number;
1361
+ hideChooseYourAmount?: boolean | undefined;
1362
+ };
1363
+ };
1364
+ } | undefined;
1365
+ defaultChoiceCardFrequency?: "ONE_OFF" | "MONTHLY" | "ANNUAL" | undefined;
597
1366
  };
598
1367
  tracking: {
599
1368
  componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";