@guardian/support-dotcom-components 7.1.0 → 7.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/index.esm.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/server/api/auxiaProxyRouter.d.ts.map +1 -1
  4. package/dist/server/api/bannerRouter.d.ts +3 -1
  5. package/dist/server/api/bannerRouter.d.ts.map +1 -1
  6. package/dist/server/api/epicRouter.d.ts +2 -1
  7. package/dist/server/api/epicRouter.d.ts.map +1 -1
  8. package/dist/server/factories/epicVariant.d.ts +1 -0
  9. package/dist/server/factories/epicVariant.d.ts.map +1 -1
  10. package/dist/server/factories/index.d.ts +1 -0
  11. package/dist/server/factories/index.d.ts.map +1 -1
  12. package/dist/server/lib/choiceCards/choiceCards.d.ts +2 -1
  13. package/dist/server/lib/choiceCards/choiceCards.d.ts.map +1 -1
  14. package/dist/server/lib/choiceCards/defaultChoiceCardSettings.d.ts.map +1 -1
  15. package/dist/server/lib/promotions/promotions.d.ts +11 -0
  16. package/dist/server/lib/promotions/promotions.d.ts.map +1 -0
  17. package/dist/server/productCatalog.d.ts +1 -0
  18. package/dist/server/productCatalog.d.ts.map +1 -1
  19. package/dist/server/signin-gate/lib.d.ts +2 -1
  20. package/dist/server/signin-gate/lib.d.ts.map +1 -1
  21. package/dist/server/tests/banners/channelBannerTests.d.ts.map +1 -1
  22. package/dist/server/utils/cloudwatch.d.ts +1 -1
  23. package/dist/server/utils/cloudwatch.d.ts.map +1 -1
  24. package/dist/shared/types/abTests/banner.d.ts +1316 -0
  25. package/dist/shared/types/abTests/banner.d.ts.map +1 -1
  26. package/dist/shared/types/abTests/epic.d.ts +5 -0
  27. package/dist/shared/types/abTests/epic.d.ts.map +1 -1
  28. package/dist/shared/types/abTests/gutter.d.ts +8 -0
  29. package/dist/shared/types/abTests/gutter.d.ts.map +1 -1
  30. package/dist/shared/types/abTests/header.d.ts +8 -0
  31. package/dist/shared/types/abTests/header.d.ts.map +1 -1
  32. package/dist/shared/types/props/banner.d.ts +592 -1
  33. package/dist/shared/types/props/banner.d.ts.map +1 -1
  34. package/dist/shared/types/props/epic.d.ts +8 -0
  35. package/dist/shared/types/props/epic.d.ts.map +1 -1
  36. package/dist/shared/types/props/gutter.d.ts +4 -0
  37. package/dist/shared/types/props/gutter.d.ts.map +1 -1
  38. package/dist/shared/types/props/header.d.ts +4 -0
  39. package/dist/shared/types/props/header.d.ts.map +1 -1
  40. package/package.json +1 -1
@@ -263,6 +263,463 @@ export declare const bannerVariantFromToolSchema: z.ZodObject<{
263
263
  copy?: string | undefined;
264
264
  countType?: "for52Weeks" | "forTargetedWeeks" | undefined;
265
265
  }>>;
266
+ choiceCardsSettings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
267
+ choiceCards: z.ZodArray<z.ZodObject<{
268
+ product: z.ZodDiscriminatedUnion<"supportTier", [z.ZodObject<{
269
+ supportTier: z.ZodLiteral<"Contribution">;
270
+ ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
271
+ }, "strip", z.ZodTypeAny, {
272
+ supportTier: "Contribution";
273
+ ratePlan: "Monthly" | "Annual";
274
+ }, {
275
+ supportTier: "Contribution";
276
+ ratePlan: "Monthly" | "Annual";
277
+ }>, z.ZodObject<{
278
+ supportTier: z.ZodLiteral<"SupporterPlus">;
279
+ ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
280
+ }, "strip", z.ZodTypeAny, {
281
+ supportTier: "SupporterPlus";
282
+ ratePlan: "Monthly" | "Annual";
283
+ }, {
284
+ supportTier: "SupporterPlus";
285
+ ratePlan: "Monthly" | "Annual";
286
+ }>, z.ZodObject<{
287
+ supportTier: z.ZodLiteral<"OneOff">;
288
+ }, "strip", z.ZodTypeAny, {
289
+ supportTier: "OneOff";
290
+ }, {
291
+ supportTier: "OneOff";
292
+ }>]>;
293
+ label: z.ZodString;
294
+ isDefault: z.ZodBoolean;
295
+ benefitsLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
296
+ benefits: z.ZodArray<z.ZodObject<{
297
+ copy: z.ZodString;
298
+ }, "strip", z.ZodTypeAny, {
299
+ copy: string;
300
+ }, {
301
+ copy: string;
302
+ }>, "many">;
303
+ pill: z.ZodOptional<z.ZodNullable<z.ZodObject<{
304
+ copy: z.ZodString;
305
+ textColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
306
+ r: z.ZodEffects<z.ZodString, string, string>;
307
+ g: z.ZodEffects<z.ZodString, string, string>;
308
+ b: z.ZodEffects<z.ZodString, string, string>;
309
+ kind: z.ZodLiteral<"hex">;
310
+ }, "strip", z.ZodTypeAny, {
311
+ r: string;
312
+ b: string;
313
+ g: string;
314
+ kind: "hex";
315
+ }, {
316
+ r: string;
317
+ b: string;
318
+ g: string;
319
+ kind: "hex";
320
+ }>>>;
321
+ backgroundColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
322
+ r: z.ZodEffects<z.ZodString, string, string>;
323
+ g: z.ZodEffects<z.ZodString, string, string>;
324
+ b: z.ZodEffects<z.ZodString, string, string>;
325
+ kind: z.ZodLiteral<"hex">;
326
+ }, "strip", z.ZodTypeAny, {
327
+ r: string;
328
+ b: string;
329
+ g: string;
330
+ kind: "hex";
331
+ }, {
332
+ r: string;
333
+ b: string;
334
+ g: string;
335
+ kind: "hex";
336
+ }>>>;
337
+ }, "strip", z.ZodTypeAny, {
338
+ copy: string;
339
+ textColour?: {
340
+ r: string;
341
+ b: string;
342
+ g: string;
343
+ kind: "hex";
344
+ } | null | undefined;
345
+ backgroundColour?: {
346
+ r: string;
347
+ b: string;
348
+ g: string;
349
+ kind: "hex";
350
+ } | null | undefined;
351
+ }, {
352
+ copy: string;
353
+ textColour?: {
354
+ r: string;
355
+ b: string;
356
+ g: string;
357
+ kind: "hex";
358
+ } | null | undefined;
359
+ backgroundColour?: {
360
+ r: string;
361
+ b: string;
362
+ g: string;
363
+ kind: "hex";
364
+ } | null | undefined;
365
+ }>>>;
366
+ }, "strip", z.ZodTypeAny, {
367
+ product: {
368
+ supportTier: "Contribution";
369
+ ratePlan: "Monthly" | "Annual";
370
+ } | {
371
+ supportTier: "SupporterPlus";
372
+ ratePlan: "Monthly" | "Annual";
373
+ } | {
374
+ supportTier: "OneOff";
375
+ };
376
+ label: string;
377
+ isDefault: boolean;
378
+ benefits: {
379
+ copy: string;
380
+ }[];
381
+ benefitsLabel?: string | null | undefined;
382
+ pill?: {
383
+ copy: string;
384
+ textColour?: {
385
+ r: string;
386
+ b: string;
387
+ g: string;
388
+ kind: "hex";
389
+ } | null | undefined;
390
+ backgroundColour?: {
391
+ r: string;
392
+ b: string;
393
+ g: string;
394
+ kind: "hex";
395
+ } | null | undefined;
396
+ } | null | undefined;
397
+ }, {
398
+ product: {
399
+ supportTier: "Contribution";
400
+ ratePlan: "Monthly" | "Annual";
401
+ } | {
402
+ supportTier: "SupporterPlus";
403
+ ratePlan: "Monthly" | "Annual";
404
+ } | {
405
+ supportTier: "OneOff";
406
+ };
407
+ label: string;
408
+ isDefault: boolean;
409
+ benefits: {
410
+ copy: string;
411
+ }[];
412
+ benefitsLabel?: string | null | undefined;
413
+ pill?: {
414
+ copy: string;
415
+ textColour?: {
416
+ r: string;
417
+ b: string;
418
+ g: string;
419
+ kind: "hex";
420
+ } | null | undefined;
421
+ backgroundColour?: {
422
+ r: string;
423
+ b: string;
424
+ g: string;
425
+ kind: "hex";
426
+ } | null | undefined;
427
+ } | null | undefined;
428
+ }>, "many">;
429
+ mobileChoiceCards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
430
+ product: z.ZodDiscriminatedUnion<"supportTier", [z.ZodObject<{
431
+ supportTier: z.ZodLiteral<"Contribution">;
432
+ ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
433
+ }, "strip", z.ZodTypeAny, {
434
+ supportTier: "Contribution";
435
+ ratePlan: "Monthly" | "Annual";
436
+ }, {
437
+ supportTier: "Contribution";
438
+ ratePlan: "Monthly" | "Annual";
439
+ }>, z.ZodObject<{
440
+ supportTier: z.ZodLiteral<"SupporterPlus">;
441
+ ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
442
+ }, "strip", z.ZodTypeAny, {
443
+ supportTier: "SupporterPlus";
444
+ ratePlan: "Monthly" | "Annual";
445
+ }, {
446
+ supportTier: "SupporterPlus";
447
+ ratePlan: "Monthly" | "Annual";
448
+ }>, z.ZodObject<{
449
+ supportTier: z.ZodLiteral<"OneOff">;
450
+ }, "strip", z.ZodTypeAny, {
451
+ supportTier: "OneOff";
452
+ }, {
453
+ supportTier: "OneOff";
454
+ }>]>;
455
+ label: z.ZodString;
456
+ isDefault: z.ZodBoolean;
457
+ benefitsLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
458
+ benefits: z.ZodArray<z.ZodObject<{
459
+ copy: z.ZodString;
460
+ }, "strip", z.ZodTypeAny, {
461
+ copy: string;
462
+ }, {
463
+ copy: string;
464
+ }>, "many">;
465
+ pill: z.ZodOptional<z.ZodNullable<z.ZodObject<{
466
+ copy: z.ZodString;
467
+ textColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
468
+ r: z.ZodEffects<z.ZodString, string, string>;
469
+ g: z.ZodEffects<z.ZodString, string, string>;
470
+ b: z.ZodEffects<z.ZodString, string, string>;
471
+ kind: z.ZodLiteral<"hex">;
472
+ }, "strip", z.ZodTypeAny, {
473
+ r: string;
474
+ b: string;
475
+ g: string;
476
+ kind: "hex";
477
+ }, {
478
+ r: string;
479
+ b: string;
480
+ g: string;
481
+ kind: "hex";
482
+ }>>>;
483
+ backgroundColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
484
+ r: z.ZodEffects<z.ZodString, string, string>;
485
+ g: z.ZodEffects<z.ZodString, string, string>;
486
+ b: z.ZodEffects<z.ZodString, string, string>;
487
+ kind: z.ZodLiteral<"hex">;
488
+ }, "strip", z.ZodTypeAny, {
489
+ r: string;
490
+ b: string;
491
+ g: string;
492
+ kind: "hex";
493
+ }, {
494
+ r: string;
495
+ b: string;
496
+ g: string;
497
+ kind: "hex";
498
+ }>>>;
499
+ }, "strip", z.ZodTypeAny, {
500
+ copy: string;
501
+ textColour?: {
502
+ r: string;
503
+ b: string;
504
+ g: string;
505
+ kind: "hex";
506
+ } | null | undefined;
507
+ backgroundColour?: {
508
+ r: string;
509
+ b: string;
510
+ g: string;
511
+ kind: "hex";
512
+ } | null | undefined;
513
+ }, {
514
+ copy: string;
515
+ textColour?: {
516
+ r: string;
517
+ b: string;
518
+ g: string;
519
+ kind: "hex";
520
+ } | null | undefined;
521
+ backgroundColour?: {
522
+ r: string;
523
+ b: string;
524
+ g: string;
525
+ kind: "hex";
526
+ } | null | undefined;
527
+ }>>>;
528
+ }, "strip", z.ZodTypeAny, {
529
+ product: {
530
+ supportTier: "Contribution";
531
+ ratePlan: "Monthly" | "Annual";
532
+ } | {
533
+ supportTier: "SupporterPlus";
534
+ ratePlan: "Monthly" | "Annual";
535
+ } | {
536
+ supportTier: "OneOff";
537
+ };
538
+ label: string;
539
+ isDefault: boolean;
540
+ benefits: {
541
+ copy: string;
542
+ }[];
543
+ benefitsLabel?: string | null | undefined;
544
+ pill?: {
545
+ copy: string;
546
+ textColour?: {
547
+ r: string;
548
+ b: string;
549
+ g: string;
550
+ kind: "hex";
551
+ } | null | undefined;
552
+ backgroundColour?: {
553
+ r: string;
554
+ b: string;
555
+ g: string;
556
+ kind: "hex";
557
+ } | null | undefined;
558
+ } | null | undefined;
559
+ }, {
560
+ product: {
561
+ supportTier: "Contribution";
562
+ ratePlan: "Monthly" | "Annual";
563
+ } | {
564
+ supportTier: "SupporterPlus";
565
+ ratePlan: "Monthly" | "Annual";
566
+ } | {
567
+ supportTier: "OneOff";
568
+ };
569
+ label: string;
570
+ isDefault: boolean;
571
+ benefits: {
572
+ copy: string;
573
+ }[];
574
+ benefitsLabel?: string | null | undefined;
575
+ pill?: {
576
+ copy: string;
577
+ textColour?: {
578
+ r: string;
579
+ b: string;
580
+ g: string;
581
+ kind: "hex";
582
+ } | null | undefined;
583
+ backgroundColour?: {
584
+ r: string;
585
+ b: string;
586
+ g: string;
587
+ kind: "hex";
588
+ } | null | undefined;
589
+ } | null | undefined;
590
+ }>, "many">>>;
591
+ }, "strip", z.ZodTypeAny, {
592
+ choiceCards: {
593
+ product: {
594
+ supportTier: "Contribution";
595
+ ratePlan: "Monthly" | "Annual";
596
+ } | {
597
+ supportTier: "SupporterPlus";
598
+ ratePlan: "Monthly" | "Annual";
599
+ } | {
600
+ supportTier: "OneOff";
601
+ };
602
+ label: string;
603
+ isDefault: boolean;
604
+ benefits: {
605
+ copy: string;
606
+ }[];
607
+ benefitsLabel?: string | null | undefined;
608
+ pill?: {
609
+ copy: string;
610
+ textColour?: {
611
+ r: string;
612
+ b: string;
613
+ g: string;
614
+ kind: "hex";
615
+ } | null | undefined;
616
+ backgroundColour?: {
617
+ r: string;
618
+ b: string;
619
+ g: string;
620
+ kind: "hex";
621
+ } | null | undefined;
622
+ } | null | undefined;
623
+ }[];
624
+ mobileChoiceCards?: {
625
+ product: {
626
+ supportTier: "Contribution";
627
+ ratePlan: "Monthly" | "Annual";
628
+ } | {
629
+ supportTier: "SupporterPlus";
630
+ ratePlan: "Monthly" | "Annual";
631
+ } | {
632
+ supportTier: "OneOff";
633
+ };
634
+ label: string;
635
+ isDefault: boolean;
636
+ benefits: {
637
+ copy: string;
638
+ }[];
639
+ benefitsLabel?: string | null | undefined;
640
+ pill?: {
641
+ copy: string;
642
+ textColour?: {
643
+ r: string;
644
+ b: string;
645
+ g: string;
646
+ kind: "hex";
647
+ } | null | undefined;
648
+ backgroundColour?: {
649
+ r: string;
650
+ b: string;
651
+ g: string;
652
+ kind: "hex";
653
+ } | null | undefined;
654
+ } | null | undefined;
655
+ }[] | null | undefined;
656
+ }, {
657
+ choiceCards: {
658
+ product: {
659
+ supportTier: "Contribution";
660
+ ratePlan: "Monthly" | "Annual";
661
+ } | {
662
+ supportTier: "SupporterPlus";
663
+ ratePlan: "Monthly" | "Annual";
664
+ } | {
665
+ supportTier: "OneOff";
666
+ };
667
+ label: string;
668
+ isDefault: boolean;
669
+ benefits: {
670
+ copy: string;
671
+ }[];
672
+ benefitsLabel?: string | null | undefined;
673
+ pill?: {
674
+ copy: string;
675
+ textColour?: {
676
+ r: string;
677
+ b: string;
678
+ g: string;
679
+ kind: "hex";
680
+ } | null | undefined;
681
+ backgroundColour?: {
682
+ r: string;
683
+ b: string;
684
+ g: string;
685
+ kind: "hex";
686
+ } | null | undefined;
687
+ } | null | undefined;
688
+ }[];
689
+ mobileChoiceCards?: {
690
+ product: {
691
+ supportTier: "Contribution";
692
+ ratePlan: "Monthly" | "Annual";
693
+ } | {
694
+ supportTier: "SupporterPlus";
695
+ ratePlan: "Monthly" | "Annual";
696
+ } | {
697
+ supportTier: "OneOff";
698
+ };
699
+ label: string;
700
+ isDefault: boolean;
701
+ benefits: {
702
+ copy: string;
703
+ }[];
704
+ benefitsLabel?: string | null | undefined;
705
+ pill?: {
706
+ copy: string;
707
+ textColour?: {
708
+ r: string;
709
+ b: string;
710
+ g: string;
711
+ kind: "hex";
712
+ } | null | undefined;
713
+ backgroundColour?: {
714
+ r: string;
715
+ b: string;
716
+ g: string;
717
+ kind: "hex";
718
+ } | null | undefined;
719
+ } | null | undefined;
720
+ }[] | null | undefined;
721
+ }>>>;
722
+ promoCodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
266
723
  }, "strip", z.ZodTypeAny, {
267
724
  name: string;
268
725
  template: (BannerTemplate | {
@@ -328,6 +785,73 @@ export declare const bannerVariantFromToolSchema: z.ZodObject<{
328
785
  copy?: string | undefined;
329
786
  countType?: "for52Weeks" | "forTargetedWeeks" | undefined;
330
787
  } | undefined;
788
+ choiceCardsSettings?: {
789
+ choiceCards: {
790
+ product: {
791
+ supportTier: "Contribution";
792
+ ratePlan: "Monthly" | "Annual";
793
+ } | {
794
+ supportTier: "SupporterPlus";
795
+ ratePlan: "Monthly" | "Annual";
796
+ } | {
797
+ supportTier: "OneOff";
798
+ };
799
+ label: string;
800
+ isDefault: boolean;
801
+ benefits: {
802
+ copy: string;
803
+ }[];
804
+ benefitsLabel?: string | null | undefined;
805
+ pill?: {
806
+ copy: string;
807
+ textColour?: {
808
+ r: string;
809
+ b: string;
810
+ g: string;
811
+ kind: "hex";
812
+ } | null | undefined;
813
+ backgroundColour?: {
814
+ r: string;
815
+ b: string;
816
+ g: string;
817
+ kind: "hex";
818
+ } | null | undefined;
819
+ } | null | undefined;
820
+ }[];
821
+ mobileChoiceCards?: {
822
+ product: {
823
+ supportTier: "Contribution";
824
+ ratePlan: "Monthly" | "Annual";
825
+ } | {
826
+ supportTier: "SupporterPlus";
827
+ ratePlan: "Monthly" | "Annual";
828
+ } | {
829
+ supportTier: "OneOff";
830
+ };
831
+ label: string;
832
+ isDefault: boolean;
833
+ benefits: {
834
+ copy: string;
835
+ }[];
836
+ benefitsLabel?: string | null | undefined;
837
+ pill?: {
838
+ copy: string;
839
+ textColour?: {
840
+ r: string;
841
+ b: string;
842
+ g: string;
843
+ kind: "hex";
844
+ } | null | undefined;
845
+ backgroundColour?: {
846
+ r: string;
847
+ b: string;
848
+ g: string;
849
+ kind: "hex";
850
+ } | null | undefined;
851
+ } | null | undefined;
852
+ }[] | null | undefined;
853
+ } | null | undefined;
854
+ promoCodes?: string[] | null | undefined;
331
855
  }, {
332
856
  name: string;
333
857
  template: (BannerTemplate | {
@@ -393,6 +917,73 @@ export declare const bannerVariantFromToolSchema: z.ZodObject<{
393
917
  copy?: string | undefined;
394
918
  countType?: "for52Weeks" | "forTargetedWeeks" | undefined;
395
919
  } | undefined;
920
+ choiceCardsSettings?: {
921
+ choiceCards: {
922
+ product: {
923
+ supportTier: "Contribution";
924
+ ratePlan: "Monthly" | "Annual";
925
+ } | {
926
+ supportTier: "SupporterPlus";
927
+ ratePlan: "Monthly" | "Annual";
928
+ } | {
929
+ supportTier: "OneOff";
930
+ };
931
+ label: string;
932
+ isDefault: boolean;
933
+ benefits: {
934
+ copy: string;
935
+ }[];
936
+ benefitsLabel?: string | null | undefined;
937
+ pill?: {
938
+ copy: string;
939
+ textColour?: {
940
+ r: string;
941
+ b: string;
942
+ g: string;
943
+ kind: "hex";
944
+ } | null | undefined;
945
+ backgroundColour?: {
946
+ r: string;
947
+ b: string;
948
+ g: string;
949
+ kind: "hex";
950
+ } | null | undefined;
951
+ } | null | undefined;
952
+ }[];
953
+ mobileChoiceCards?: {
954
+ product: {
955
+ supportTier: "Contribution";
956
+ ratePlan: "Monthly" | "Annual";
957
+ } | {
958
+ supportTier: "SupporterPlus";
959
+ ratePlan: "Monthly" | "Annual";
960
+ } | {
961
+ supportTier: "OneOff";
962
+ };
963
+ label: string;
964
+ isDefault: boolean;
965
+ benefits: {
966
+ copy: string;
967
+ }[];
968
+ benefitsLabel?: string | null | undefined;
969
+ pill?: {
970
+ copy: string;
971
+ textColour?: {
972
+ r: string;
973
+ b: string;
974
+ g: string;
975
+ kind: "hex";
976
+ } | null | undefined;
977
+ backgroundColour?: {
978
+ r: string;
979
+ b: string;
980
+ g: string;
981
+ kind: "hex";
982
+ } | null | undefined;
983
+ } | null | undefined;
984
+ }[] | null | undefined;
985
+ } | null | undefined;
986
+ promoCodes?: string[] | null | undefined;
396
987
  }>;
397
988
  export type BannerVariantFromTool = z.infer<typeof bannerVariantFromToolSchema>;
398
989
  export interface BannerVariant extends BannerVariantFromTool {
@@ -735,6 +1326,463 @@ export declare const bannerTestFromToolSchema: z.ZodObject<{
735
1326
  copy?: string | undefined;
736
1327
  countType?: "for52Weeks" | "forTargetedWeeks" | undefined;
737
1328
  }>>;
1329
+ choiceCardsSettings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1330
+ choiceCards: z.ZodArray<z.ZodObject<{
1331
+ product: z.ZodDiscriminatedUnion<"supportTier", [z.ZodObject<{
1332
+ supportTier: z.ZodLiteral<"Contribution">;
1333
+ ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
1334
+ }, "strip", z.ZodTypeAny, {
1335
+ supportTier: "Contribution";
1336
+ ratePlan: "Monthly" | "Annual";
1337
+ }, {
1338
+ supportTier: "Contribution";
1339
+ ratePlan: "Monthly" | "Annual";
1340
+ }>, z.ZodObject<{
1341
+ supportTier: z.ZodLiteral<"SupporterPlus">;
1342
+ ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
1343
+ }, "strip", z.ZodTypeAny, {
1344
+ supportTier: "SupporterPlus";
1345
+ ratePlan: "Monthly" | "Annual";
1346
+ }, {
1347
+ supportTier: "SupporterPlus";
1348
+ ratePlan: "Monthly" | "Annual";
1349
+ }>, z.ZodObject<{
1350
+ supportTier: z.ZodLiteral<"OneOff">;
1351
+ }, "strip", z.ZodTypeAny, {
1352
+ supportTier: "OneOff";
1353
+ }, {
1354
+ supportTier: "OneOff";
1355
+ }>]>;
1356
+ label: z.ZodString;
1357
+ isDefault: z.ZodBoolean;
1358
+ benefitsLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1359
+ benefits: z.ZodArray<z.ZodObject<{
1360
+ copy: z.ZodString;
1361
+ }, "strip", z.ZodTypeAny, {
1362
+ copy: string;
1363
+ }, {
1364
+ copy: string;
1365
+ }>, "many">;
1366
+ pill: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1367
+ copy: z.ZodString;
1368
+ textColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1369
+ r: z.ZodEffects<z.ZodString, string, string>;
1370
+ g: z.ZodEffects<z.ZodString, string, string>;
1371
+ b: z.ZodEffects<z.ZodString, string, string>;
1372
+ kind: z.ZodLiteral<"hex">;
1373
+ }, "strip", z.ZodTypeAny, {
1374
+ r: string;
1375
+ b: string;
1376
+ g: string;
1377
+ kind: "hex";
1378
+ }, {
1379
+ r: string;
1380
+ b: string;
1381
+ g: string;
1382
+ kind: "hex";
1383
+ }>>>;
1384
+ backgroundColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1385
+ r: z.ZodEffects<z.ZodString, string, string>;
1386
+ g: z.ZodEffects<z.ZodString, string, string>;
1387
+ b: z.ZodEffects<z.ZodString, string, string>;
1388
+ kind: z.ZodLiteral<"hex">;
1389
+ }, "strip", z.ZodTypeAny, {
1390
+ r: string;
1391
+ b: string;
1392
+ g: string;
1393
+ kind: "hex";
1394
+ }, {
1395
+ r: string;
1396
+ b: string;
1397
+ g: string;
1398
+ kind: "hex";
1399
+ }>>>;
1400
+ }, "strip", z.ZodTypeAny, {
1401
+ copy: string;
1402
+ textColour?: {
1403
+ r: string;
1404
+ b: string;
1405
+ g: string;
1406
+ kind: "hex";
1407
+ } | null | undefined;
1408
+ backgroundColour?: {
1409
+ r: string;
1410
+ b: string;
1411
+ g: string;
1412
+ kind: "hex";
1413
+ } | null | undefined;
1414
+ }, {
1415
+ copy: string;
1416
+ textColour?: {
1417
+ r: string;
1418
+ b: string;
1419
+ g: string;
1420
+ kind: "hex";
1421
+ } | null | undefined;
1422
+ backgroundColour?: {
1423
+ r: string;
1424
+ b: string;
1425
+ g: string;
1426
+ kind: "hex";
1427
+ } | null | undefined;
1428
+ }>>>;
1429
+ }, "strip", z.ZodTypeAny, {
1430
+ product: {
1431
+ supportTier: "Contribution";
1432
+ ratePlan: "Monthly" | "Annual";
1433
+ } | {
1434
+ supportTier: "SupporterPlus";
1435
+ ratePlan: "Monthly" | "Annual";
1436
+ } | {
1437
+ supportTier: "OneOff";
1438
+ };
1439
+ label: string;
1440
+ isDefault: boolean;
1441
+ benefits: {
1442
+ copy: string;
1443
+ }[];
1444
+ benefitsLabel?: string | null | undefined;
1445
+ pill?: {
1446
+ copy: string;
1447
+ textColour?: {
1448
+ r: string;
1449
+ b: string;
1450
+ g: string;
1451
+ kind: "hex";
1452
+ } | null | undefined;
1453
+ backgroundColour?: {
1454
+ r: string;
1455
+ b: string;
1456
+ g: string;
1457
+ kind: "hex";
1458
+ } | null | undefined;
1459
+ } | null | undefined;
1460
+ }, {
1461
+ product: {
1462
+ supportTier: "Contribution";
1463
+ ratePlan: "Monthly" | "Annual";
1464
+ } | {
1465
+ supportTier: "SupporterPlus";
1466
+ ratePlan: "Monthly" | "Annual";
1467
+ } | {
1468
+ supportTier: "OneOff";
1469
+ };
1470
+ label: string;
1471
+ isDefault: boolean;
1472
+ benefits: {
1473
+ copy: string;
1474
+ }[];
1475
+ benefitsLabel?: string | null | undefined;
1476
+ pill?: {
1477
+ copy: string;
1478
+ textColour?: {
1479
+ r: string;
1480
+ b: string;
1481
+ g: string;
1482
+ kind: "hex";
1483
+ } | null | undefined;
1484
+ backgroundColour?: {
1485
+ r: string;
1486
+ b: string;
1487
+ g: string;
1488
+ kind: "hex";
1489
+ } | null | undefined;
1490
+ } | null | undefined;
1491
+ }>, "many">;
1492
+ mobileChoiceCards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1493
+ product: z.ZodDiscriminatedUnion<"supportTier", [z.ZodObject<{
1494
+ supportTier: z.ZodLiteral<"Contribution">;
1495
+ ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
1496
+ }, "strip", z.ZodTypeAny, {
1497
+ supportTier: "Contribution";
1498
+ ratePlan: "Monthly" | "Annual";
1499
+ }, {
1500
+ supportTier: "Contribution";
1501
+ ratePlan: "Monthly" | "Annual";
1502
+ }>, z.ZodObject<{
1503
+ supportTier: z.ZodLiteral<"SupporterPlus">;
1504
+ ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
1505
+ }, "strip", z.ZodTypeAny, {
1506
+ supportTier: "SupporterPlus";
1507
+ ratePlan: "Monthly" | "Annual";
1508
+ }, {
1509
+ supportTier: "SupporterPlus";
1510
+ ratePlan: "Monthly" | "Annual";
1511
+ }>, z.ZodObject<{
1512
+ supportTier: z.ZodLiteral<"OneOff">;
1513
+ }, "strip", z.ZodTypeAny, {
1514
+ supportTier: "OneOff";
1515
+ }, {
1516
+ supportTier: "OneOff";
1517
+ }>]>;
1518
+ label: z.ZodString;
1519
+ isDefault: z.ZodBoolean;
1520
+ benefitsLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1521
+ benefits: z.ZodArray<z.ZodObject<{
1522
+ copy: z.ZodString;
1523
+ }, "strip", z.ZodTypeAny, {
1524
+ copy: string;
1525
+ }, {
1526
+ copy: string;
1527
+ }>, "many">;
1528
+ pill: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1529
+ copy: z.ZodString;
1530
+ textColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1531
+ r: z.ZodEffects<z.ZodString, string, string>;
1532
+ g: z.ZodEffects<z.ZodString, string, string>;
1533
+ b: z.ZodEffects<z.ZodString, string, string>;
1534
+ kind: z.ZodLiteral<"hex">;
1535
+ }, "strip", z.ZodTypeAny, {
1536
+ r: string;
1537
+ b: string;
1538
+ g: string;
1539
+ kind: "hex";
1540
+ }, {
1541
+ r: string;
1542
+ b: string;
1543
+ g: string;
1544
+ kind: "hex";
1545
+ }>>>;
1546
+ backgroundColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1547
+ r: z.ZodEffects<z.ZodString, string, string>;
1548
+ g: z.ZodEffects<z.ZodString, string, string>;
1549
+ b: z.ZodEffects<z.ZodString, string, string>;
1550
+ kind: z.ZodLiteral<"hex">;
1551
+ }, "strip", z.ZodTypeAny, {
1552
+ r: string;
1553
+ b: string;
1554
+ g: string;
1555
+ kind: "hex";
1556
+ }, {
1557
+ r: string;
1558
+ b: string;
1559
+ g: string;
1560
+ kind: "hex";
1561
+ }>>>;
1562
+ }, "strip", z.ZodTypeAny, {
1563
+ copy: string;
1564
+ textColour?: {
1565
+ r: string;
1566
+ b: string;
1567
+ g: string;
1568
+ kind: "hex";
1569
+ } | null | undefined;
1570
+ backgroundColour?: {
1571
+ r: string;
1572
+ b: string;
1573
+ g: string;
1574
+ kind: "hex";
1575
+ } | null | undefined;
1576
+ }, {
1577
+ copy: string;
1578
+ textColour?: {
1579
+ r: string;
1580
+ b: string;
1581
+ g: string;
1582
+ kind: "hex";
1583
+ } | null | undefined;
1584
+ backgroundColour?: {
1585
+ r: string;
1586
+ b: string;
1587
+ g: string;
1588
+ kind: "hex";
1589
+ } | null | undefined;
1590
+ }>>>;
1591
+ }, "strip", z.ZodTypeAny, {
1592
+ product: {
1593
+ supportTier: "Contribution";
1594
+ ratePlan: "Monthly" | "Annual";
1595
+ } | {
1596
+ supportTier: "SupporterPlus";
1597
+ ratePlan: "Monthly" | "Annual";
1598
+ } | {
1599
+ supportTier: "OneOff";
1600
+ };
1601
+ label: string;
1602
+ isDefault: boolean;
1603
+ benefits: {
1604
+ copy: string;
1605
+ }[];
1606
+ benefitsLabel?: string | null | undefined;
1607
+ pill?: {
1608
+ copy: string;
1609
+ textColour?: {
1610
+ r: string;
1611
+ b: string;
1612
+ g: string;
1613
+ kind: "hex";
1614
+ } | null | undefined;
1615
+ backgroundColour?: {
1616
+ r: string;
1617
+ b: string;
1618
+ g: string;
1619
+ kind: "hex";
1620
+ } | null | undefined;
1621
+ } | null | undefined;
1622
+ }, {
1623
+ product: {
1624
+ supportTier: "Contribution";
1625
+ ratePlan: "Monthly" | "Annual";
1626
+ } | {
1627
+ supportTier: "SupporterPlus";
1628
+ ratePlan: "Monthly" | "Annual";
1629
+ } | {
1630
+ supportTier: "OneOff";
1631
+ };
1632
+ label: string;
1633
+ isDefault: boolean;
1634
+ benefits: {
1635
+ copy: string;
1636
+ }[];
1637
+ benefitsLabel?: string | null | undefined;
1638
+ pill?: {
1639
+ copy: string;
1640
+ textColour?: {
1641
+ r: string;
1642
+ b: string;
1643
+ g: string;
1644
+ kind: "hex";
1645
+ } | null | undefined;
1646
+ backgroundColour?: {
1647
+ r: string;
1648
+ b: string;
1649
+ g: string;
1650
+ kind: "hex";
1651
+ } | null | undefined;
1652
+ } | null | undefined;
1653
+ }>, "many">>>;
1654
+ }, "strip", z.ZodTypeAny, {
1655
+ choiceCards: {
1656
+ product: {
1657
+ supportTier: "Contribution";
1658
+ ratePlan: "Monthly" | "Annual";
1659
+ } | {
1660
+ supportTier: "SupporterPlus";
1661
+ ratePlan: "Monthly" | "Annual";
1662
+ } | {
1663
+ supportTier: "OneOff";
1664
+ };
1665
+ label: string;
1666
+ isDefault: boolean;
1667
+ benefits: {
1668
+ copy: string;
1669
+ }[];
1670
+ benefitsLabel?: string | null | undefined;
1671
+ pill?: {
1672
+ copy: string;
1673
+ textColour?: {
1674
+ r: string;
1675
+ b: string;
1676
+ g: string;
1677
+ kind: "hex";
1678
+ } | null | undefined;
1679
+ backgroundColour?: {
1680
+ r: string;
1681
+ b: string;
1682
+ g: string;
1683
+ kind: "hex";
1684
+ } | null | undefined;
1685
+ } | null | undefined;
1686
+ }[];
1687
+ mobileChoiceCards?: {
1688
+ product: {
1689
+ supportTier: "Contribution";
1690
+ ratePlan: "Monthly" | "Annual";
1691
+ } | {
1692
+ supportTier: "SupporterPlus";
1693
+ ratePlan: "Monthly" | "Annual";
1694
+ } | {
1695
+ supportTier: "OneOff";
1696
+ };
1697
+ label: string;
1698
+ isDefault: boolean;
1699
+ benefits: {
1700
+ copy: string;
1701
+ }[];
1702
+ benefitsLabel?: string | null | undefined;
1703
+ pill?: {
1704
+ copy: string;
1705
+ textColour?: {
1706
+ r: string;
1707
+ b: string;
1708
+ g: string;
1709
+ kind: "hex";
1710
+ } | null | undefined;
1711
+ backgroundColour?: {
1712
+ r: string;
1713
+ b: string;
1714
+ g: string;
1715
+ kind: "hex";
1716
+ } | null | undefined;
1717
+ } | null | undefined;
1718
+ }[] | null | undefined;
1719
+ }, {
1720
+ choiceCards: {
1721
+ product: {
1722
+ supportTier: "Contribution";
1723
+ ratePlan: "Monthly" | "Annual";
1724
+ } | {
1725
+ supportTier: "SupporterPlus";
1726
+ ratePlan: "Monthly" | "Annual";
1727
+ } | {
1728
+ supportTier: "OneOff";
1729
+ };
1730
+ label: string;
1731
+ isDefault: boolean;
1732
+ benefits: {
1733
+ copy: string;
1734
+ }[];
1735
+ benefitsLabel?: string | null | undefined;
1736
+ pill?: {
1737
+ copy: string;
1738
+ textColour?: {
1739
+ r: string;
1740
+ b: string;
1741
+ g: string;
1742
+ kind: "hex";
1743
+ } | null | undefined;
1744
+ backgroundColour?: {
1745
+ r: string;
1746
+ b: string;
1747
+ g: string;
1748
+ kind: "hex";
1749
+ } | null | undefined;
1750
+ } | null | undefined;
1751
+ }[];
1752
+ mobileChoiceCards?: {
1753
+ product: {
1754
+ supportTier: "Contribution";
1755
+ ratePlan: "Monthly" | "Annual";
1756
+ } | {
1757
+ supportTier: "SupporterPlus";
1758
+ ratePlan: "Monthly" | "Annual";
1759
+ } | {
1760
+ supportTier: "OneOff";
1761
+ };
1762
+ label: string;
1763
+ isDefault: boolean;
1764
+ benefits: {
1765
+ copy: string;
1766
+ }[];
1767
+ benefitsLabel?: string | null | undefined;
1768
+ pill?: {
1769
+ copy: string;
1770
+ textColour?: {
1771
+ r: string;
1772
+ b: string;
1773
+ g: string;
1774
+ kind: "hex";
1775
+ } | null | undefined;
1776
+ backgroundColour?: {
1777
+ r: string;
1778
+ b: string;
1779
+ g: string;
1780
+ kind: "hex";
1781
+ } | null | undefined;
1782
+ } | null | undefined;
1783
+ }[] | null | undefined;
1784
+ }>>>;
1785
+ promoCodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
738
1786
  }, "strip", z.ZodTypeAny, {
739
1787
  name: string;
740
1788
  template: (BannerTemplate | {
@@ -800,6 +1848,73 @@ export declare const bannerTestFromToolSchema: z.ZodObject<{
800
1848
  copy?: string | undefined;
801
1849
  countType?: "for52Weeks" | "forTargetedWeeks" | undefined;
802
1850
  } | undefined;
1851
+ choiceCardsSettings?: {
1852
+ choiceCards: {
1853
+ product: {
1854
+ supportTier: "Contribution";
1855
+ ratePlan: "Monthly" | "Annual";
1856
+ } | {
1857
+ supportTier: "SupporterPlus";
1858
+ ratePlan: "Monthly" | "Annual";
1859
+ } | {
1860
+ supportTier: "OneOff";
1861
+ };
1862
+ label: string;
1863
+ isDefault: boolean;
1864
+ benefits: {
1865
+ copy: string;
1866
+ }[];
1867
+ benefitsLabel?: string | null | undefined;
1868
+ pill?: {
1869
+ copy: string;
1870
+ textColour?: {
1871
+ r: string;
1872
+ b: string;
1873
+ g: string;
1874
+ kind: "hex";
1875
+ } | null | undefined;
1876
+ backgroundColour?: {
1877
+ r: string;
1878
+ b: string;
1879
+ g: string;
1880
+ kind: "hex";
1881
+ } | null | undefined;
1882
+ } | null | undefined;
1883
+ }[];
1884
+ mobileChoiceCards?: {
1885
+ product: {
1886
+ supportTier: "Contribution";
1887
+ ratePlan: "Monthly" | "Annual";
1888
+ } | {
1889
+ supportTier: "SupporterPlus";
1890
+ ratePlan: "Monthly" | "Annual";
1891
+ } | {
1892
+ supportTier: "OneOff";
1893
+ };
1894
+ label: string;
1895
+ isDefault: boolean;
1896
+ benefits: {
1897
+ copy: string;
1898
+ }[];
1899
+ benefitsLabel?: string | null | undefined;
1900
+ pill?: {
1901
+ copy: string;
1902
+ textColour?: {
1903
+ r: string;
1904
+ b: string;
1905
+ g: string;
1906
+ kind: "hex";
1907
+ } | null | undefined;
1908
+ backgroundColour?: {
1909
+ r: string;
1910
+ b: string;
1911
+ g: string;
1912
+ kind: "hex";
1913
+ } | null | undefined;
1914
+ } | null | undefined;
1915
+ }[] | null | undefined;
1916
+ } | null | undefined;
1917
+ promoCodes?: string[] | null | undefined;
803
1918
  }, {
804
1919
  name: string;
805
1920
  template: (BannerTemplate | {
@@ -865,6 +1980,73 @@ export declare const bannerTestFromToolSchema: z.ZodObject<{
865
1980
  copy?: string | undefined;
866
1981
  countType?: "for52Weeks" | "forTargetedWeeks" | undefined;
867
1982
  } | undefined;
1983
+ choiceCardsSettings?: {
1984
+ choiceCards: {
1985
+ product: {
1986
+ supportTier: "Contribution";
1987
+ ratePlan: "Monthly" | "Annual";
1988
+ } | {
1989
+ supportTier: "SupporterPlus";
1990
+ ratePlan: "Monthly" | "Annual";
1991
+ } | {
1992
+ supportTier: "OneOff";
1993
+ };
1994
+ label: string;
1995
+ isDefault: boolean;
1996
+ benefits: {
1997
+ copy: string;
1998
+ }[];
1999
+ benefitsLabel?: string | null | undefined;
2000
+ pill?: {
2001
+ copy: string;
2002
+ textColour?: {
2003
+ r: string;
2004
+ b: string;
2005
+ g: string;
2006
+ kind: "hex";
2007
+ } | null | undefined;
2008
+ backgroundColour?: {
2009
+ r: string;
2010
+ b: string;
2011
+ g: string;
2012
+ kind: "hex";
2013
+ } | null | undefined;
2014
+ } | null | undefined;
2015
+ }[];
2016
+ mobileChoiceCards?: {
2017
+ product: {
2018
+ supportTier: "Contribution";
2019
+ ratePlan: "Monthly" | "Annual";
2020
+ } | {
2021
+ supportTier: "SupporterPlus";
2022
+ ratePlan: "Monthly" | "Annual";
2023
+ } | {
2024
+ supportTier: "OneOff";
2025
+ };
2026
+ label: string;
2027
+ isDefault: boolean;
2028
+ benefits: {
2029
+ copy: string;
2030
+ }[];
2031
+ benefitsLabel?: string | null | undefined;
2032
+ pill?: {
2033
+ copy: string;
2034
+ textColour?: {
2035
+ r: string;
2036
+ b: string;
2037
+ g: string;
2038
+ kind: "hex";
2039
+ } | null | undefined;
2040
+ backgroundColour?: {
2041
+ r: string;
2042
+ b: string;
2043
+ g: string;
2044
+ kind: "hex";
2045
+ } | null | undefined;
2046
+ } | null | undefined;
2047
+ }[] | null | undefined;
2048
+ } | null | undefined;
2049
+ promoCodes?: string[] | null | undefined;
868
2050
  }>, "many">;
869
2051
  articlesViewedSettings: z.ZodOptional<z.ZodObject<{
870
2052
  minViews: z.ZodNumber;
@@ -960,6 +2142,73 @@ export declare const bannerTestFromToolSchema: z.ZodObject<{
960
2142
  copy?: string | undefined;
961
2143
  countType?: "for52Weeks" | "forTargetedWeeks" | undefined;
962
2144
  } | undefined;
2145
+ choiceCardsSettings?: {
2146
+ choiceCards: {
2147
+ product: {
2148
+ supportTier: "Contribution";
2149
+ ratePlan: "Monthly" | "Annual";
2150
+ } | {
2151
+ supportTier: "SupporterPlus";
2152
+ ratePlan: "Monthly" | "Annual";
2153
+ } | {
2154
+ supportTier: "OneOff";
2155
+ };
2156
+ label: string;
2157
+ isDefault: boolean;
2158
+ benefits: {
2159
+ copy: string;
2160
+ }[];
2161
+ benefitsLabel?: string | null | undefined;
2162
+ pill?: {
2163
+ copy: string;
2164
+ textColour?: {
2165
+ r: string;
2166
+ b: string;
2167
+ g: string;
2168
+ kind: "hex";
2169
+ } | null | undefined;
2170
+ backgroundColour?: {
2171
+ r: string;
2172
+ b: string;
2173
+ g: string;
2174
+ kind: "hex";
2175
+ } | null | undefined;
2176
+ } | null | undefined;
2177
+ }[];
2178
+ mobileChoiceCards?: {
2179
+ product: {
2180
+ supportTier: "Contribution";
2181
+ ratePlan: "Monthly" | "Annual";
2182
+ } | {
2183
+ supportTier: "SupporterPlus";
2184
+ ratePlan: "Monthly" | "Annual";
2185
+ } | {
2186
+ supportTier: "OneOff";
2187
+ };
2188
+ label: string;
2189
+ isDefault: boolean;
2190
+ benefits: {
2191
+ copy: string;
2192
+ }[];
2193
+ benefitsLabel?: string | null | undefined;
2194
+ pill?: {
2195
+ copy: string;
2196
+ textColour?: {
2197
+ r: string;
2198
+ b: string;
2199
+ g: string;
2200
+ kind: "hex";
2201
+ } | null | undefined;
2202
+ backgroundColour?: {
2203
+ r: string;
2204
+ b: string;
2205
+ g: string;
2206
+ kind: "hex";
2207
+ } | null | undefined;
2208
+ } | null | undefined;
2209
+ }[] | null | undefined;
2210
+ } | null | undefined;
2211
+ promoCodes?: string[] | null | undefined;
963
2212
  }[];
964
2213
  contextTargeting: {
965
2214
  tagIds: string[];
@@ -1071,6 +2320,73 @@ export declare const bannerTestFromToolSchema: z.ZodObject<{
1071
2320
  copy?: string | undefined;
1072
2321
  countType?: "for52Weeks" | "forTargetedWeeks" | undefined;
1073
2322
  } | undefined;
2323
+ choiceCardsSettings?: {
2324
+ choiceCards: {
2325
+ product: {
2326
+ supportTier: "Contribution";
2327
+ ratePlan: "Monthly" | "Annual";
2328
+ } | {
2329
+ supportTier: "SupporterPlus";
2330
+ ratePlan: "Monthly" | "Annual";
2331
+ } | {
2332
+ supportTier: "OneOff";
2333
+ };
2334
+ label: string;
2335
+ isDefault: boolean;
2336
+ benefits: {
2337
+ copy: string;
2338
+ }[];
2339
+ benefitsLabel?: string | null | undefined;
2340
+ pill?: {
2341
+ copy: string;
2342
+ textColour?: {
2343
+ r: string;
2344
+ b: string;
2345
+ g: string;
2346
+ kind: "hex";
2347
+ } | null | undefined;
2348
+ backgroundColour?: {
2349
+ r: string;
2350
+ b: string;
2351
+ g: string;
2352
+ kind: "hex";
2353
+ } | null | undefined;
2354
+ } | null | undefined;
2355
+ }[];
2356
+ mobileChoiceCards?: {
2357
+ product: {
2358
+ supportTier: "Contribution";
2359
+ ratePlan: "Monthly" | "Annual";
2360
+ } | {
2361
+ supportTier: "SupporterPlus";
2362
+ ratePlan: "Monthly" | "Annual";
2363
+ } | {
2364
+ supportTier: "OneOff";
2365
+ };
2366
+ label: string;
2367
+ isDefault: boolean;
2368
+ benefits: {
2369
+ copy: string;
2370
+ }[];
2371
+ benefitsLabel?: string | null | undefined;
2372
+ pill?: {
2373
+ copy: string;
2374
+ textColour?: {
2375
+ r: string;
2376
+ b: string;
2377
+ g: string;
2378
+ kind: "hex";
2379
+ } | null | undefined;
2380
+ backgroundColour?: {
2381
+ r: string;
2382
+ b: string;
2383
+ g: string;
2384
+ kind: "hex";
2385
+ } | null | undefined;
2386
+ } | null | undefined;
2387
+ }[] | null | undefined;
2388
+ } | null | undefined;
2389
+ promoCodes?: string[] | null | undefined;
1074
2390
  }[];
1075
2391
  contextTargeting: {
1076
2392
  tagIds: string[];