@guardian/support-dotcom-components 1.1.1 → 1.1.3

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