@guardian/support-dotcom-components 7.0.1 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/server/api/epicRouter.d.ts +2 -1
- package/dist/server/api/epicRouter.d.ts.map +1 -1
- package/dist/server/factories/epicVariant.d.ts +68 -2
- package/dist/server/factories/epicVariant.d.ts.map +1 -1
- package/dist/server/factories/index.d.ts +68 -2
- package/dist/server/factories/index.d.ts.map +1 -1
- package/dist/server/lib/choiceCards/choiceCards.d.ts +6 -0
- package/dist/server/lib/choiceCards/choiceCards.d.ts.map +1 -0
- package/dist/server/lib/choiceCards/defaultChoiceCardSettings.d.ts +7 -0
- package/dist/server/lib/choiceCards/defaultChoiceCardSettings.d.ts.map +1 -0
- package/dist/server/productCatalog.d.ts +14 -0
- package/dist/server/productCatalog.d.ts.map +1 -0
- package/dist/shared/lib/geolocation.d.ts +4 -3
- package/dist/shared/lib/geolocation.d.ts.map +1 -1
- package/dist/shared/types/abTests/epic.d.ts +734 -14
- package/dist/shared/types/abTests/epic.d.ts.map +1 -1
- package/dist/shared/types/abTests/gutter.d.ts +14 -14
- package/dist/shared/types/props/banner.d.ts +6 -6
- package/dist/shared/types/props/choiceCards.d.ts +625 -0
- package/dist/shared/types/props/choiceCards.d.ts.map +1 -0
- package/dist/shared/types/props/design.d.ts +4 -4
- package/dist/shared/types/props/epic.d.ts +1332 -24
- package/dist/shared/types/props/epic.d.ts.map +1 -1
- package/dist/shared/types/props/gutter.d.ts +10 -10
- package/dist/shared/types/props/shared.d.ts +6 -6
- package/package.json +1 -1
|
@@ -277,16 +277,16 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
|
|
|
277
277
|
wideUrl: z.ZodOptional<z.ZodString>;
|
|
278
278
|
altText: z.ZodString;
|
|
279
279
|
}, "strip", z.ZodTypeAny, {
|
|
280
|
-
mainUrl: string;
|
|
281
280
|
altText: string;
|
|
281
|
+
mainUrl: string;
|
|
282
282
|
mobileUrl?: string | undefined;
|
|
283
283
|
tabletUrl?: string | undefined;
|
|
284
284
|
desktopUrl?: string | undefined;
|
|
285
285
|
leftColUrl?: string | undefined;
|
|
286
286
|
wideUrl?: string | undefined;
|
|
287
287
|
}, {
|
|
288
|
-
mainUrl: string;
|
|
289
288
|
altText: string;
|
|
289
|
+
mainUrl: string;
|
|
290
290
|
mobileUrl?: string | undefined;
|
|
291
291
|
tabletUrl?: string | undefined;
|
|
292
292
|
desktopUrl?: string | undefined;
|
|
@@ -345,16 +345,16 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
|
|
|
345
345
|
wideUrl: z.ZodOptional<z.ZodString>;
|
|
346
346
|
altText: z.ZodString;
|
|
347
347
|
}, "strip", z.ZodTypeAny, {
|
|
348
|
-
mainUrl: string;
|
|
349
348
|
altText: string;
|
|
349
|
+
mainUrl: string;
|
|
350
350
|
mobileUrl?: string | undefined;
|
|
351
351
|
tabletUrl?: string | undefined;
|
|
352
352
|
desktopUrl?: string | undefined;
|
|
353
353
|
leftColUrl?: string | undefined;
|
|
354
354
|
wideUrl?: string | undefined;
|
|
355
355
|
}, {
|
|
356
|
-
mainUrl: string;
|
|
357
356
|
altText: string;
|
|
357
|
+
mainUrl: string;
|
|
358
358
|
mobileUrl?: string | undefined;
|
|
359
359
|
tabletUrl?: string | undefined;
|
|
360
360
|
desktopUrl?: string | undefined;
|
|
@@ -365,8 +365,8 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
|
|
|
365
365
|
name: string;
|
|
366
366
|
description?: string | undefined;
|
|
367
367
|
headshot?: {
|
|
368
|
-
mainUrl: string;
|
|
369
368
|
altText: string;
|
|
369
|
+
mainUrl: string;
|
|
370
370
|
mobileUrl?: string | undefined;
|
|
371
371
|
tabletUrl?: string | undefined;
|
|
372
372
|
desktopUrl?: string | undefined;
|
|
@@ -377,8 +377,8 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
|
|
|
377
377
|
name: string;
|
|
378
378
|
description?: string | undefined;
|
|
379
379
|
headshot?: {
|
|
380
|
-
mainUrl: string;
|
|
381
380
|
altText: string;
|
|
381
|
+
mainUrl: string;
|
|
382
382
|
mobileUrl?: string | undefined;
|
|
383
383
|
tabletUrl?: string | undefined;
|
|
384
384
|
desktopUrl?: string | undefined;
|
|
@@ -387,6 +387,462 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
|
|
|
387
387
|
} | undefined;
|
|
388
388
|
}>>;
|
|
389
389
|
showChoiceCards: z.ZodOptional<z.ZodBoolean>;
|
|
390
|
+
choiceCardsSettings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
391
|
+
choiceCards: z.ZodArray<z.ZodObject<{
|
|
392
|
+
product: z.ZodDiscriminatedUnion<"supportTier", [z.ZodObject<{
|
|
393
|
+
supportTier: z.ZodLiteral<"Contribution">;
|
|
394
|
+
ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
|
|
395
|
+
}, "strip", z.ZodTypeAny, {
|
|
396
|
+
supportTier: "Contribution";
|
|
397
|
+
ratePlan: "Monthly" | "Annual";
|
|
398
|
+
}, {
|
|
399
|
+
supportTier: "Contribution";
|
|
400
|
+
ratePlan: "Monthly" | "Annual";
|
|
401
|
+
}>, z.ZodObject<{
|
|
402
|
+
supportTier: z.ZodLiteral<"SupporterPlus">;
|
|
403
|
+
ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
|
|
404
|
+
}, "strip", z.ZodTypeAny, {
|
|
405
|
+
supportTier: "SupporterPlus";
|
|
406
|
+
ratePlan: "Monthly" | "Annual";
|
|
407
|
+
}, {
|
|
408
|
+
supportTier: "SupporterPlus";
|
|
409
|
+
ratePlan: "Monthly" | "Annual";
|
|
410
|
+
}>, z.ZodObject<{
|
|
411
|
+
supportTier: z.ZodLiteral<"OneOff">;
|
|
412
|
+
}, "strip", z.ZodTypeAny, {
|
|
413
|
+
supportTier: "OneOff";
|
|
414
|
+
}, {
|
|
415
|
+
supportTier: "OneOff";
|
|
416
|
+
}>]>;
|
|
417
|
+
label: z.ZodString;
|
|
418
|
+
isDefault: z.ZodBoolean;
|
|
419
|
+
benefitsLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
420
|
+
benefits: z.ZodArray<z.ZodObject<{
|
|
421
|
+
copy: z.ZodString;
|
|
422
|
+
}, "strip", z.ZodTypeAny, {
|
|
423
|
+
copy: string;
|
|
424
|
+
}, {
|
|
425
|
+
copy: string;
|
|
426
|
+
}>, "many">;
|
|
427
|
+
pill: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
428
|
+
copy: z.ZodString;
|
|
429
|
+
textColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
430
|
+
r: z.ZodEffects<z.ZodString, string, string>;
|
|
431
|
+
g: z.ZodEffects<z.ZodString, string, string>;
|
|
432
|
+
b: z.ZodEffects<z.ZodString, string, string>;
|
|
433
|
+
kind: z.ZodLiteral<"hex">;
|
|
434
|
+
}, "strip", z.ZodTypeAny, {
|
|
435
|
+
r: string;
|
|
436
|
+
b: string;
|
|
437
|
+
g: string;
|
|
438
|
+
kind: "hex";
|
|
439
|
+
}, {
|
|
440
|
+
r: string;
|
|
441
|
+
b: string;
|
|
442
|
+
g: string;
|
|
443
|
+
kind: "hex";
|
|
444
|
+
}>>>;
|
|
445
|
+
backgroundColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
446
|
+
r: z.ZodEffects<z.ZodString, string, string>;
|
|
447
|
+
g: z.ZodEffects<z.ZodString, string, string>;
|
|
448
|
+
b: z.ZodEffects<z.ZodString, string, string>;
|
|
449
|
+
kind: z.ZodLiteral<"hex">;
|
|
450
|
+
}, "strip", z.ZodTypeAny, {
|
|
451
|
+
r: string;
|
|
452
|
+
b: string;
|
|
453
|
+
g: string;
|
|
454
|
+
kind: "hex";
|
|
455
|
+
}, {
|
|
456
|
+
r: string;
|
|
457
|
+
b: string;
|
|
458
|
+
g: string;
|
|
459
|
+
kind: "hex";
|
|
460
|
+
}>>>;
|
|
461
|
+
}, "strip", z.ZodTypeAny, {
|
|
462
|
+
copy: string;
|
|
463
|
+
textColour?: {
|
|
464
|
+
r: string;
|
|
465
|
+
b: string;
|
|
466
|
+
g: string;
|
|
467
|
+
kind: "hex";
|
|
468
|
+
} | null | undefined;
|
|
469
|
+
backgroundColour?: {
|
|
470
|
+
r: string;
|
|
471
|
+
b: string;
|
|
472
|
+
g: string;
|
|
473
|
+
kind: "hex";
|
|
474
|
+
} | null | undefined;
|
|
475
|
+
}, {
|
|
476
|
+
copy: string;
|
|
477
|
+
textColour?: {
|
|
478
|
+
r: string;
|
|
479
|
+
b: string;
|
|
480
|
+
g: string;
|
|
481
|
+
kind: "hex";
|
|
482
|
+
} | null | undefined;
|
|
483
|
+
backgroundColour?: {
|
|
484
|
+
r: string;
|
|
485
|
+
b: string;
|
|
486
|
+
g: string;
|
|
487
|
+
kind: "hex";
|
|
488
|
+
} | null | undefined;
|
|
489
|
+
}>>>;
|
|
490
|
+
}, "strip", z.ZodTypeAny, {
|
|
491
|
+
product: {
|
|
492
|
+
supportTier: "Contribution";
|
|
493
|
+
ratePlan: "Monthly" | "Annual";
|
|
494
|
+
} | {
|
|
495
|
+
supportTier: "SupporterPlus";
|
|
496
|
+
ratePlan: "Monthly" | "Annual";
|
|
497
|
+
} | {
|
|
498
|
+
supportTier: "OneOff";
|
|
499
|
+
};
|
|
500
|
+
label: string;
|
|
501
|
+
isDefault: boolean;
|
|
502
|
+
benefits: {
|
|
503
|
+
copy: string;
|
|
504
|
+
}[];
|
|
505
|
+
benefitsLabel?: string | null | undefined;
|
|
506
|
+
pill?: {
|
|
507
|
+
copy: string;
|
|
508
|
+
textColour?: {
|
|
509
|
+
r: string;
|
|
510
|
+
b: string;
|
|
511
|
+
g: string;
|
|
512
|
+
kind: "hex";
|
|
513
|
+
} | null | undefined;
|
|
514
|
+
backgroundColour?: {
|
|
515
|
+
r: string;
|
|
516
|
+
b: string;
|
|
517
|
+
g: string;
|
|
518
|
+
kind: "hex";
|
|
519
|
+
} | null | undefined;
|
|
520
|
+
} | null | undefined;
|
|
521
|
+
}, {
|
|
522
|
+
product: {
|
|
523
|
+
supportTier: "Contribution";
|
|
524
|
+
ratePlan: "Monthly" | "Annual";
|
|
525
|
+
} | {
|
|
526
|
+
supportTier: "SupporterPlus";
|
|
527
|
+
ratePlan: "Monthly" | "Annual";
|
|
528
|
+
} | {
|
|
529
|
+
supportTier: "OneOff";
|
|
530
|
+
};
|
|
531
|
+
label: string;
|
|
532
|
+
isDefault: boolean;
|
|
533
|
+
benefits: {
|
|
534
|
+
copy: string;
|
|
535
|
+
}[];
|
|
536
|
+
benefitsLabel?: string | null | undefined;
|
|
537
|
+
pill?: {
|
|
538
|
+
copy: string;
|
|
539
|
+
textColour?: {
|
|
540
|
+
r: string;
|
|
541
|
+
b: string;
|
|
542
|
+
g: string;
|
|
543
|
+
kind: "hex";
|
|
544
|
+
} | null | undefined;
|
|
545
|
+
backgroundColour?: {
|
|
546
|
+
r: string;
|
|
547
|
+
b: string;
|
|
548
|
+
g: string;
|
|
549
|
+
kind: "hex";
|
|
550
|
+
} | null | undefined;
|
|
551
|
+
} | null | undefined;
|
|
552
|
+
}>, "many">;
|
|
553
|
+
mobileChoiceCards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
554
|
+
product: z.ZodDiscriminatedUnion<"supportTier", [z.ZodObject<{
|
|
555
|
+
supportTier: z.ZodLiteral<"Contribution">;
|
|
556
|
+
ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
|
|
557
|
+
}, "strip", z.ZodTypeAny, {
|
|
558
|
+
supportTier: "Contribution";
|
|
559
|
+
ratePlan: "Monthly" | "Annual";
|
|
560
|
+
}, {
|
|
561
|
+
supportTier: "Contribution";
|
|
562
|
+
ratePlan: "Monthly" | "Annual";
|
|
563
|
+
}>, z.ZodObject<{
|
|
564
|
+
supportTier: z.ZodLiteral<"SupporterPlus">;
|
|
565
|
+
ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
|
|
566
|
+
}, "strip", z.ZodTypeAny, {
|
|
567
|
+
supportTier: "SupporterPlus";
|
|
568
|
+
ratePlan: "Monthly" | "Annual";
|
|
569
|
+
}, {
|
|
570
|
+
supportTier: "SupporterPlus";
|
|
571
|
+
ratePlan: "Monthly" | "Annual";
|
|
572
|
+
}>, z.ZodObject<{
|
|
573
|
+
supportTier: z.ZodLiteral<"OneOff">;
|
|
574
|
+
}, "strip", z.ZodTypeAny, {
|
|
575
|
+
supportTier: "OneOff";
|
|
576
|
+
}, {
|
|
577
|
+
supportTier: "OneOff";
|
|
578
|
+
}>]>;
|
|
579
|
+
label: z.ZodString;
|
|
580
|
+
isDefault: z.ZodBoolean;
|
|
581
|
+
benefitsLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
582
|
+
benefits: z.ZodArray<z.ZodObject<{
|
|
583
|
+
copy: z.ZodString;
|
|
584
|
+
}, "strip", z.ZodTypeAny, {
|
|
585
|
+
copy: string;
|
|
586
|
+
}, {
|
|
587
|
+
copy: string;
|
|
588
|
+
}>, "many">;
|
|
589
|
+
pill: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
590
|
+
copy: z.ZodString;
|
|
591
|
+
textColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
592
|
+
r: z.ZodEffects<z.ZodString, string, string>;
|
|
593
|
+
g: z.ZodEffects<z.ZodString, string, string>;
|
|
594
|
+
b: z.ZodEffects<z.ZodString, string, string>;
|
|
595
|
+
kind: z.ZodLiteral<"hex">;
|
|
596
|
+
}, "strip", z.ZodTypeAny, {
|
|
597
|
+
r: string;
|
|
598
|
+
b: string;
|
|
599
|
+
g: string;
|
|
600
|
+
kind: "hex";
|
|
601
|
+
}, {
|
|
602
|
+
r: string;
|
|
603
|
+
b: string;
|
|
604
|
+
g: string;
|
|
605
|
+
kind: "hex";
|
|
606
|
+
}>>>;
|
|
607
|
+
backgroundColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
608
|
+
r: z.ZodEffects<z.ZodString, string, string>;
|
|
609
|
+
g: z.ZodEffects<z.ZodString, string, string>;
|
|
610
|
+
b: z.ZodEffects<z.ZodString, string, string>;
|
|
611
|
+
kind: z.ZodLiteral<"hex">;
|
|
612
|
+
}, "strip", z.ZodTypeAny, {
|
|
613
|
+
r: string;
|
|
614
|
+
b: string;
|
|
615
|
+
g: string;
|
|
616
|
+
kind: "hex";
|
|
617
|
+
}, {
|
|
618
|
+
r: string;
|
|
619
|
+
b: string;
|
|
620
|
+
g: string;
|
|
621
|
+
kind: "hex";
|
|
622
|
+
}>>>;
|
|
623
|
+
}, "strip", z.ZodTypeAny, {
|
|
624
|
+
copy: string;
|
|
625
|
+
textColour?: {
|
|
626
|
+
r: string;
|
|
627
|
+
b: string;
|
|
628
|
+
g: string;
|
|
629
|
+
kind: "hex";
|
|
630
|
+
} | null | undefined;
|
|
631
|
+
backgroundColour?: {
|
|
632
|
+
r: string;
|
|
633
|
+
b: string;
|
|
634
|
+
g: string;
|
|
635
|
+
kind: "hex";
|
|
636
|
+
} | null | undefined;
|
|
637
|
+
}, {
|
|
638
|
+
copy: string;
|
|
639
|
+
textColour?: {
|
|
640
|
+
r: string;
|
|
641
|
+
b: string;
|
|
642
|
+
g: string;
|
|
643
|
+
kind: "hex";
|
|
644
|
+
} | null | undefined;
|
|
645
|
+
backgroundColour?: {
|
|
646
|
+
r: string;
|
|
647
|
+
b: string;
|
|
648
|
+
g: string;
|
|
649
|
+
kind: "hex";
|
|
650
|
+
} | null | undefined;
|
|
651
|
+
}>>>;
|
|
652
|
+
}, "strip", z.ZodTypeAny, {
|
|
653
|
+
product: {
|
|
654
|
+
supportTier: "Contribution";
|
|
655
|
+
ratePlan: "Monthly" | "Annual";
|
|
656
|
+
} | {
|
|
657
|
+
supportTier: "SupporterPlus";
|
|
658
|
+
ratePlan: "Monthly" | "Annual";
|
|
659
|
+
} | {
|
|
660
|
+
supportTier: "OneOff";
|
|
661
|
+
};
|
|
662
|
+
label: string;
|
|
663
|
+
isDefault: boolean;
|
|
664
|
+
benefits: {
|
|
665
|
+
copy: string;
|
|
666
|
+
}[];
|
|
667
|
+
benefitsLabel?: string | null | undefined;
|
|
668
|
+
pill?: {
|
|
669
|
+
copy: string;
|
|
670
|
+
textColour?: {
|
|
671
|
+
r: string;
|
|
672
|
+
b: string;
|
|
673
|
+
g: string;
|
|
674
|
+
kind: "hex";
|
|
675
|
+
} | null | undefined;
|
|
676
|
+
backgroundColour?: {
|
|
677
|
+
r: string;
|
|
678
|
+
b: string;
|
|
679
|
+
g: string;
|
|
680
|
+
kind: "hex";
|
|
681
|
+
} | null | undefined;
|
|
682
|
+
} | null | undefined;
|
|
683
|
+
}, {
|
|
684
|
+
product: {
|
|
685
|
+
supportTier: "Contribution";
|
|
686
|
+
ratePlan: "Monthly" | "Annual";
|
|
687
|
+
} | {
|
|
688
|
+
supportTier: "SupporterPlus";
|
|
689
|
+
ratePlan: "Monthly" | "Annual";
|
|
690
|
+
} | {
|
|
691
|
+
supportTier: "OneOff";
|
|
692
|
+
};
|
|
693
|
+
label: string;
|
|
694
|
+
isDefault: boolean;
|
|
695
|
+
benefits: {
|
|
696
|
+
copy: string;
|
|
697
|
+
}[];
|
|
698
|
+
benefitsLabel?: string | null | undefined;
|
|
699
|
+
pill?: {
|
|
700
|
+
copy: string;
|
|
701
|
+
textColour?: {
|
|
702
|
+
r: string;
|
|
703
|
+
b: string;
|
|
704
|
+
g: string;
|
|
705
|
+
kind: "hex";
|
|
706
|
+
} | null | undefined;
|
|
707
|
+
backgroundColour?: {
|
|
708
|
+
r: string;
|
|
709
|
+
b: string;
|
|
710
|
+
g: string;
|
|
711
|
+
kind: "hex";
|
|
712
|
+
} | null | undefined;
|
|
713
|
+
} | null | undefined;
|
|
714
|
+
}>, "many">>>;
|
|
715
|
+
}, "strip", z.ZodTypeAny, {
|
|
716
|
+
choiceCards: {
|
|
717
|
+
product: {
|
|
718
|
+
supportTier: "Contribution";
|
|
719
|
+
ratePlan: "Monthly" | "Annual";
|
|
720
|
+
} | {
|
|
721
|
+
supportTier: "SupporterPlus";
|
|
722
|
+
ratePlan: "Monthly" | "Annual";
|
|
723
|
+
} | {
|
|
724
|
+
supportTier: "OneOff";
|
|
725
|
+
};
|
|
726
|
+
label: string;
|
|
727
|
+
isDefault: boolean;
|
|
728
|
+
benefits: {
|
|
729
|
+
copy: string;
|
|
730
|
+
}[];
|
|
731
|
+
benefitsLabel?: string | null | undefined;
|
|
732
|
+
pill?: {
|
|
733
|
+
copy: string;
|
|
734
|
+
textColour?: {
|
|
735
|
+
r: string;
|
|
736
|
+
b: string;
|
|
737
|
+
g: string;
|
|
738
|
+
kind: "hex";
|
|
739
|
+
} | null | undefined;
|
|
740
|
+
backgroundColour?: {
|
|
741
|
+
r: string;
|
|
742
|
+
b: string;
|
|
743
|
+
g: string;
|
|
744
|
+
kind: "hex";
|
|
745
|
+
} | null | undefined;
|
|
746
|
+
} | null | undefined;
|
|
747
|
+
}[];
|
|
748
|
+
mobileChoiceCards?: {
|
|
749
|
+
product: {
|
|
750
|
+
supportTier: "Contribution";
|
|
751
|
+
ratePlan: "Monthly" | "Annual";
|
|
752
|
+
} | {
|
|
753
|
+
supportTier: "SupporterPlus";
|
|
754
|
+
ratePlan: "Monthly" | "Annual";
|
|
755
|
+
} | {
|
|
756
|
+
supportTier: "OneOff";
|
|
757
|
+
};
|
|
758
|
+
label: string;
|
|
759
|
+
isDefault: boolean;
|
|
760
|
+
benefits: {
|
|
761
|
+
copy: string;
|
|
762
|
+
}[];
|
|
763
|
+
benefitsLabel?: string | null | undefined;
|
|
764
|
+
pill?: {
|
|
765
|
+
copy: string;
|
|
766
|
+
textColour?: {
|
|
767
|
+
r: string;
|
|
768
|
+
b: string;
|
|
769
|
+
g: string;
|
|
770
|
+
kind: "hex";
|
|
771
|
+
} | null | undefined;
|
|
772
|
+
backgroundColour?: {
|
|
773
|
+
r: string;
|
|
774
|
+
b: string;
|
|
775
|
+
g: string;
|
|
776
|
+
kind: "hex";
|
|
777
|
+
} | null | undefined;
|
|
778
|
+
} | null | undefined;
|
|
779
|
+
}[] | null | undefined;
|
|
780
|
+
}, {
|
|
781
|
+
choiceCards: {
|
|
782
|
+
product: {
|
|
783
|
+
supportTier: "Contribution";
|
|
784
|
+
ratePlan: "Monthly" | "Annual";
|
|
785
|
+
} | {
|
|
786
|
+
supportTier: "SupporterPlus";
|
|
787
|
+
ratePlan: "Monthly" | "Annual";
|
|
788
|
+
} | {
|
|
789
|
+
supportTier: "OneOff";
|
|
790
|
+
};
|
|
791
|
+
label: string;
|
|
792
|
+
isDefault: boolean;
|
|
793
|
+
benefits: {
|
|
794
|
+
copy: string;
|
|
795
|
+
}[];
|
|
796
|
+
benefitsLabel?: string | null | undefined;
|
|
797
|
+
pill?: {
|
|
798
|
+
copy: string;
|
|
799
|
+
textColour?: {
|
|
800
|
+
r: string;
|
|
801
|
+
b: string;
|
|
802
|
+
g: string;
|
|
803
|
+
kind: "hex";
|
|
804
|
+
} | null | undefined;
|
|
805
|
+
backgroundColour?: {
|
|
806
|
+
r: string;
|
|
807
|
+
b: string;
|
|
808
|
+
g: string;
|
|
809
|
+
kind: "hex";
|
|
810
|
+
} | null | undefined;
|
|
811
|
+
} | null | undefined;
|
|
812
|
+
}[];
|
|
813
|
+
mobileChoiceCards?: {
|
|
814
|
+
product: {
|
|
815
|
+
supportTier: "Contribution";
|
|
816
|
+
ratePlan: "Monthly" | "Annual";
|
|
817
|
+
} | {
|
|
818
|
+
supportTier: "SupporterPlus";
|
|
819
|
+
ratePlan: "Monthly" | "Annual";
|
|
820
|
+
} | {
|
|
821
|
+
supportTier: "OneOff";
|
|
822
|
+
};
|
|
823
|
+
label: string;
|
|
824
|
+
isDefault: boolean;
|
|
825
|
+
benefits: {
|
|
826
|
+
copy: string;
|
|
827
|
+
}[];
|
|
828
|
+
benefitsLabel?: string | null | undefined;
|
|
829
|
+
pill?: {
|
|
830
|
+
copy: string;
|
|
831
|
+
textColour?: {
|
|
832
|
+
r: string;
|
|
833
|
+
b: string;
|
|
834
|
+
g: string;
|
|
835
|
+
kind: "hex";
|
|
836
|
+
} | null | undefined;
|
|
837
|
+
backgroundColour?: {
|
|
838
|
+
r: string;
|
|
839
|
+
b: string;
|
|
840
|
+
g: string;
|
|
841
|
+
kind: "hex";
|
|
842
|
+
} | null | undefined;
|
|
843
|
+
} | null | undefined;
|
|
844
|
+
}[] | null | undefined;
|
|
845
|
+
}>>>;
|
|
390
846
|
choiceCardAmounts: z.ZodOptional<z.ZodObject<{
|
|
391
847
|
testName: z.ZodString;
|
|
392
848
|
variantName: z.ZodString;
|
|
@@ -546,8 +1002,8 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
|
|
|
546
1002
|
successDescription: string;
|
|
547
1003
|
} | undefined;
|
|
548
1004
|
image?: {
|
|
549
|
-
mainUrl: string;
|
|
550
1005
|
altText: string;
|
|
1006
|
+
mainUrl: string;
|
|
551
1007
|
mobileUrl?: string | undefined;
|
|
552
1008
|
tabletUrl?: string | undefined;
|
|
553
1009
|
desktopUrl?: string | undefined;
|
|
@@ -574,8 +1030,8 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
|
|
|
574
1030
|
name: string;
|
|
575
1031
|
description?: string | undefined;
|
|
576
1032
|
headshot?: {
|
|
577
|
-
mainUrl: string;
|
|
578
1033
|
altText: string;
|
|
1034
|
+
mainUrl: string;
|
|
579
1035
|
mobileUrl?: string | undefined;
|
|
580
1036
|
tabletUrl?: string | undefined;
|
|
581
1037
|
desktopUrl?: string | undefined;
|
|
@@ -584,6 +1040,72 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
|
|
|
584
1040
|
} | undefined;
|
|
585
1041
|
} | undefined;
|
|
586
1042
|
showChoiceCards?: boolean | undefined;
|
|
1043
|
+
choiceCardsSettings?: {
|
|
1044
|
+
choiceCards: {
|
|
1045
|
+
product: {
|
|
1046
|
+
supportTier: "Contribution";
|
|
1047
|
+
ratePlan: "Monthly" | "Annual";
|
|
1048
|
+
} | {
|
|
1049
|
+
supportTier: "SupporterPlus";
|
|
1050
|
+
ratePlan: "Monthly" | "Annual";
|
|
1051
|
+
} | {
|
|
1052
|
+
supportTier: "OneOff";
|
|
1053
|
+
};
|
|
1054
|
+
label: string;
|
|
1055
|
+
isDefault: boolean;
|
|
1056
|
+
benefits: {
|
|
1057
|
+
copy: string;
|
|
1058
|
+
}[];
|
|
1059
|
+
benefitsLabel?: string | null | undefined;
|
|
1060
|
+
pill?: {
|
|
1061
|
+
copy: string;
|
|
1062
|
+
textColour?: {
|
|
1063
|
+
r: string;
|
|
1064
|
+
b: string;
|
|
1065
|
+
g: string;
|
|
1066
|
+
kind: "hex";
|
|
1067
|
+
} | null | undefined;
|
|
1068
|
+
backgroundColour?: {
|
|
1069
|
+
r: string;
|
|
1070
|
+
b: string;
|
|
1071
|
+
g: string;
|
|
1072
|
+
kind: "hex";
|
|
1073
|
+
} | null | undefined;
|
|
1074
|
+
} | null | undefined;
|
|
1075
|
+
}[];
|
|
1076
|
+
mobileChoiceCards?: {
|
|
1077
|
+
product: {
|
|
1078
|
+
supportTier: "Contribution";
|
|
1079
|
+
ratePlan: "Monthly" | "Annual";
|
|
1080
|
+
} | {
|
|
1081
|
+
supportTier: "SupporterPlus";
|
|
1082
|
+
ratePlan: "Monthly" | "Annual";
|
|
1083
|
+
} | {
|
|
1084
|
+
supportTier: "OneOff";
|
|
1085
|
+
};
|
|
1086
|
+
label: string;
|
|
1087
|
+
isDefault: boolean;
|
|
1088
|
+
benefits: {
|
|
1089
|
+
copy: string;
|
|
1090
|
+
}[];
|
|
1091
|
+
benefitsLabel?: string | null | undefined;
|
|
1092
|
+
pill?: {
|
|
1093
|
+
copy: string;
|
|
1094
|
+
textColour?: {
|
|
1095
|
+
r: string;
|
|
1096
|
+
b: string;
|
|
1097
|
+
g: string;
|
|
1098
|
+
kind: "hex";
|
|
1099
|
+
} | null | undefined;
|
|
1100
|
+
backgroundColour?: {
|
|
1101
|
+
r: string;
|
|
1102
|
+
b: string;
|
|
1103
|
+
g: string;
|
|
1104
|
+
kind: "hex";
|
|
1105
|
+
} | null | undefined;
|
|
1106
|
+
} | null | undefined;
|
|
1107
|
+
}[] | null | undefined;
|
|
1108
|
+
} | null | undefined;
|
|
587
1109
|
choiceCardAmounts?: {
|
|
588
1110
|
testName: string;
|
|
589
1111
|
variantName: string;
|
|
@@ -643,8 +1165,8 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
|
|
|
643
1165
|
successDescription: string;
|
|
644
1166
|
} | undefined;
|
|
645
1167
|
image?: {
|
|
646
|
-
mainUrl: string;
|
|
647
1168
|
altText: string;
|
|
1169
|
+
mainUrl: string;
|
|
648
1170
|
mobileUrl?: string | undefined;
|
|
649
1171
|
tabletUrl?: string | undefined;
|
|
650
1172
|
desktopUrl?: string | undefined;
|
|
@@ -671,8 +1193,8 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
|
|
|
671
1193
|
name: string;
|
|
672
1194
|
description?: string | undefined;
|
|
673
1195
|
headshot?: {
|
|
674
|
-
mainUrl: string;
|
|
675
1196
|
altText: string;
|
|
1197
|
+
mainUrl: string;
|
|
676
1198
|
mobileUrl?: string | undefined;
|
|
677
1199
|
tabletUrl?: string | undefined;
|
|
678
1200
|
desktopUrl?: string | undefined;
|
|
@@ -681,6 +1203,72 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
|
|
|
681
1203
|
} | undefined;
|
|
682
1204
|
} | undefined;
|
|
683
1205
|
showChoiceCards?: boolean | undefined;
|
|
1206
|
+
choiceCardsSettings?: {
|
|
1207
|
+
choiceCards: {
|
|
1208
|
+
product: {
|
|
1209
|
+
supportTier: "Contribution";
|
|
1210
|
+
ratePlan: "Monthly" | "Annual";
|
|
1211
|
+
} | {
|
|
1212
|
+
supportTier: "SupporterPlus";
|
|
1213
|
+
ratePlan: "Monthly" | "Annual";
|
|
1214
|
+
} | {
|
|
1215
|
+
supportTier: "OneOff";
|
|
1216
|
+
};
|
|
1217
|
+
label: string;
|
|
1218
|
+
isDefault: boolean;
|
|
1219
|
+
benefits: {
|
|
1220
|
+
copy: string;
|
|
1221
|
+
}[];
|
|
1222
|
+
benefitsLabel?: string | null | undefined;
|
|
1223
|
+
pill?: {
|
|
1224
|
+
copy: string;
|
|
1225
|
+
textColour?: {
|
|
1226
|
+
r: string;
|
|
1227
|
+
b: string;
|
|
1228
|
+
g: string;
|
|
1229
|
+
kind: "hex";
|
|
1230
|
+
} | null | undefined;
|
|
1231
|
+
backgroundColour?: {
|
|
1232
|
+
r: string;
|
|
1233
|
+
b: string;
|
|
1234
|
+
g: string;
|
|
1235
|
+
kind: "hex";
|
|
1236
|
+
} | null | undefined;
|
|
1237
|
+
} | null | undefined;
|
|
1238
|
+
}[];
|
|
1239
|
+
mobileChoiceCards?: {
|
|
1240
|
+
product: {
|
|
1241
|
+
supportTier: "Contribution";
|
|
1242
|
+
ratePlan: "Monthly" | "Annual";
|
|
1243
|
+
} | {
|
|
1244
|
+
supportTier: "SupporterPlus";
|
|
1245
|
+
ratePlan: "Monthly" | "Annual";
|
|
1246
|
+
} | {
|
|
1247
|
+
supportTier: "OneOff";
|
|
1248
|
+
};
|
|
1249
|
+
label: string;
|
|
1250
|
+
isDefault: boolean;
|
|
1251
|
+
benefits: {
|
|
1252
|
+
copy: string;
|
|
1253
|
+
}[];
|
|
1254
|
+
benefitsLabel?: string | null | undefined;
|
|
1255
|
+
pill?: {
|
|
1256
|
+
copy: string;
|
|
1257
|
+
textColour?: {
|
|
1258
|
+
r: string;
|
|
1259
|
+
b: string;
|
|
1260
|
+
g: string;
|
|
1261
|
+
kind: "hex";
|
|
1262
|
+
} | null | undefined;
|
|
1263
|
+
backgroundColour?: {
|
|
1264
|
+
r: string;
|
|
1265
|
+
b: string;
|
|
1266
|
+
g: string;
|
|
1267
|
+
kind: "hex";
|
|
1268
|
+
} | null | undefined;
|
|
1269
|
+
} | null | undefined;
|
|
1270
|
+
}[] | null | undefined;
|
|
1271
|
+
} | null | undefined;
|
|
684
1272
|
choiceCardAmounts?: {
|
|
685
1273
|
testName: string;
|
|
686
1274
|
variantName: string;
|
|
@@ -755,8 +1343,8 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
|
|
|
755
1343
|
successDescription: string;
|
|
756
1344
|
} | undefined;
|
|
757
1345
|
image?: {
|
|
758
|
-
mainUrl: string;
|
|
759
1346
|
altText: string;
|
|
1347
|
+
mainUrl: string;
|
|
760
1348
|
mobileUrl?: string | undefined;
|
|
761
1349
|
tabletUrl?: string | undefined;
|
|
762
1350
|
desktopUrl?: string | undefined;
|
|
@@ -783,8 +1371,8 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
|
|
|
783
1371
|
name: string;
|
|
784
1372
|
description?: string | undefined;
|
|
785
1373
|
headshot?: {
|
|
786
|
-
mainUrl: string;
|
|
787
1374
|
altText: string;
|
|
1375
|
+
mainUrl: string;
|
|
788
1376
|
mobileUrl?: string | undefined;
|
|
789
1377
|
tabletUrl?: string | undefined;
|
|
790
1378
|
desktopUrl?: string | undefined;
|
|
@@ -793,6 +1381,72 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
|
|
|
793
1381
|
} | undefined;
|
|
794
1382
|
} | undefined;
|
|
795
1383
|
showChoiceCards?: boolean | undefined;
|
|
1384
|
+
choiceCardsSettings?: {
|
|
1385
|
+
choiceCards: {
|
|
1386
|
+
product: {
|
|
1387
|
+
supportTier: "Contribution";
|
|
1388
|
+
ratePlan: "Monthly" | "Annual";
|
|
1389
|
+
} | {
|
|
1390
|
+
supportTier: "SupporterPlus";
|
|
1391
|
+
ratePlan: "Monthly" | "Annual";
|
|
1392
|
+
} | {
|
|
1393
|
+
supportTier: "OneOff";
|
|
1394
|
+
};
|
|
1395
|
+
label: string;
|
|
1396
|
+
isDefault: boolean;
|
|
1397
|
+
benefits: {
|
|
1398
|
+
copy: string;
|
|
1399
|
+
}[];
|
|
1400
|
+
benefitsLabel?: string | null | undefined;
|
|
1401
|
+
pill?: {
|
|
1402
|
+
copy: string;
|
|
1403
|
+
textColour?: {
|
|
1404
|
+
r: string;
|
|
1405
|
+
b: string;
|
|
1406
|
+
g: string;
|
|
1407
|
+
kind: "hex";
|
|
1408
|
+
} | null | undefined;
|
|
1409
|
+
backgroundColour?: {
|
|
1410
|
+
r: string;
|
|
1411
|
+
b: string;
|
|
1412
|
+
g: string;
|
|
1413
|
+
kind: "hex";
|
|
1414
|
+
} | null | undefined;
|
|
1415
|
+
} | null | undefined;
|
|
1416
|
+
}[];
|
|
1417
|
+
mobileChoiceCards?: {
|
|
1418
|
+
product: {
|
|
1419
|
+
supportTier: "Contribution";
|
|
1420
|
+
ratePlan: "Monthly" | "Annual";
|
|
1421
|
+
} | {
|
|
1422
|
+
supportTier: "SupporterPlus";
|
|
1423
|
+
ratePlan: "Monthly" | "Annual";
|
|
1424
|
+
} | {
|
|
1425
|
+
supportTier: "OneOff";
|
|
1426
|
+
};
|
|
1427
|
+
label: string;
|
|
1428
|
+
isDefault: boolean;
|
|
1429
|
+
benefits: {
|
|
1430
|
+
copy: string;
|
|
1431
|
+
}[];
|
|
1432
|
+
benefitsLabel?: string | null | undefined;
|
|
1433
|
+
pill?: {
|
|
1434
|
+
copy: string;
|
|
1435
|
+
textColour?: {
|
|
1436
|
+
r: string;
|
|
1437
|
+
b: string;
|
|
1438
|
+
g: string;
|
|
1439
|
+
kind: "hex";
|
|
1440
|
+
} | null | undefined;
|
|
1441
|
+
backgroundColour?: {
|
|
1442
|
+
r: string;
|
|
1443
|
+
b: string;
|
|
1444
|
+
g: string;
|
|
1445
|
+
kind: "hex";
|
|
1446
|
+
} | null | undefined;
|
|
1447
|
+
} | null | undefined;
|
|
1448
|
+
}[] | null | undefined;
|
|
1449
|
+
} | null | undefined;
|
|
796
1450
|
choiceCardAmounts?: {
|
|
797
1451
|
testName: string;
|
|
798
1452
|
variantName: string;
|
|
@@ -902,8 +1556,8 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
|
|
|
902
1556
|
successDescription: string;
|
|
903
1557
|
} | undefined;
|
|
904
1558
|
image?: {
|
|
905
|
-
mainUrl: string;
|
|
906
1559
|
altText: string;
|
|
1560
|
+
mainUrl: string;
|
|
907
1561
|
mobileUrl?: string | undefined;
|
|
908
1562
|
tabletUrl?: string | undefined;
|
|
909
1563
|
desktopUrl?: string | undefined;
|
|
@@ -930,8 +1584,8 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
|
|
|
930
1584
|
name: string;
|
|
931
1585
|
description?: string | undefined;
|
|
932
1586
|
headshot?: {
|
|
933
|
-
mainUrl: string;
|
|
934
1587
|
altText: string;
|
|
1588
|
+
mainUrl: string;
|
|
935
1589
|
mobileUrl?: string | undefined;
|
|
936
1590
|
tabletUrl?: string | undefined;
|
|
937
1591
|
desktopUrl?: string | undefined;
|
|
@@ -940,6 +1594,72 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
|
|
|
940
1594
|
} | undefined;
|
|
941
1595
|
} | undefined;
|
|
942
1596
|
showChoiceCards?: boolean | undefined;
|
|
1597
|
+
choiceCardsSettings?: {
|
|
1598
|
+
choiceCards: {
|
|
1599
|
+
product: {
|
|
1600
|
+
supportTier: "Contribution";
|
|
1601
|
+
ratePlan: "Monthly" | "Annual";
|
|
1602
|
+
} | {
|
|
1603
|
+
supportTier: "SupporterPlus";
|
|
1604
|
+
ratePlan: "Monthly" | "Annual";
|
|
1605
|
+
} | {
|
|
1606
|
+
supportTier: "OneOff";
|
|
1607
|
+
};
|
|
1608
|
+
label: string;
|
|
1609
|
+
isDefault: boolean;
|
|
1610
|
+
benefits: {
|
|
1611
|
+
copy: string;
|
|
1612
|
+
}[];
|
|
1613
|
+
benefitsLabel?: string | null | undefined;
|
|
1614
|
+
pill?: {
|
|
1615
|
+
copy: string;
|
|
1616
|
+
textColour?: {
|
|
1617
|
+
r: string;
|
|
1618
|
+
b: string;
|
|
1619
|
+
g: string;
|
|
1620
|
+
kind: "hex";
|
|
1621
|
+
} | null | undefined;
|
|
1622
|
+
backgroundColour?: {
|
|
1623
|
+
r: string;
|
|
1624
|
+
b: string;
|
|
1625
|
+
g: string;
|
|
1626
|
+
kind: "hex";
|
|
1627
|
+
} | null | undefined;
|
|
1628
|
+
} | null | undefined;
|
|
1629
|
+
}[];
|
|
1630
|
+
mobileChoiceCards?: {
|
|
1631
|
+
product: {
|
|
1632
|
+
supportTier: "Contribution";
|
|
1633
|
+
ratePlan: "Monthly" | "Annual";
|
|
1634
|
+
} | {
|
|
1635
|
+
supportTier: "SupporterPlus";
|
|
1636
|
+
ratePlan: "Monthly" | "Annual";
|
|
1637
|
+
} | {
|
|
1638
|
+
supportTier: "OneOff";
|
|
1639
|
+
};
|
|
1640
|
+
label: string;
|
|
1641
|
+
isDefault: boolean;
|
|
1642
|
+
benefits: {
|
|
1643
|
+
copy: string;
|
|
1644
|
+
}[];
|
|
1645
|
+
benefitsLabel?: string | null | undefined;
|
|
1646
|
+
pill?: {
|
|
1647
|
+
copy: string;
|
|
1648
|
+
textColour?: {
|
|
1649
|
+
r: string;
|
|
1650
|
+
b: string;
|
|
1651
|
+
g: string;
|
|
1652
|
+
kind: "hex";
|
|
1653
|
+
} | null | undefined;
|
|
1654
|
+
backgroundColour?: {
|
|
1655
|
+
r: string;
|
|
1656
|
+
b: string;
|
|
1657
|
+
g: string;
|
|
1658
|
+
kind: "hex";
|
|
1659
|
+
} | null | undefined;
|
|
1660
|
+
} | null | undefined;
|
|
1661
|
+
}[] | null | undefined;
|
|
1662
|
+
} | null | undefined;
|
|
943
1663
|
choiceCardAmounts?: {
|
|
944
1664
|
testName: string;
|
|
945
1665
|
variantName: string;
|