@guardian/support-dotcom-components 7.10.1 → 8.0.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 (33) hide show
  1. package/dist/index.esm.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/shared/lib/geolocation.d.ts +20 -10
  4. package/dist/shared/lib/geolocation.d.ts.map +1 -1
  5. package/dist/shared/types/abTests/banner.d.ts +206 -2250
  6. package/dist/shared/types/abTests/banner.d.ts.map +1 -1
  7. package/dist/shared/types/abTests/epic.d.ts +156 -1560
  8. package/dist/shared/types/abTests/epic.d.ts.map +1 -1
  9. package/dist/shared/types/abTests/gutter.d.ts +80 -369
  10. package/dist/shared/types/abTests/gutter.d.ts.map +1 -1
  11. package/dist/shared/types/abTests/header.d.ts +95 -467
  12. package/dist/shared/types/abTests/header.d.ts.map +1 -1
  13. package/dist/shared/types/abTests/shared.d.ts +89 -155
  14. package/dist/shared/types/abTests/shared.d.ts.map +1 -1
  15. package/dist/shared/types/props/banner.d.ts +144 -1675
  16. package/dist/shared/types/props/banner.d.ts.map +1 -1
  17. package/dist/shared/types/props/choiceCards.d.ts +56 -586
  18. package/dist/shared/types/props/choiceCards.d.ts.map +1 -1
  19. package/dist/shared/types/props/design.d.ts +54 -514
  20. package/dist/shared/types/props/design.d.ts.map +1 -1
  21. package/dist/shared/types/props/epic.d.ts +192 -2501
  22. package/dist/shared/types/props/epic.d.ts.map +1 -1
  23. package/dist/shared/types/props/gutter.d.ts +25 -200
  24. package/dist/shared/types/props/gutter.d.ts.map +1 -1
  25. package/dist/shared/types/props/header.d.ts +29 -230
  26. package/dist/shared/types/props/header.d.ts.map +1 -1
  27. package/dist/shared/types/props/shared.d.ts +55 -212
  28. package/dist/shared/types/props/shared.d.ts.map +1 -1
  29. package/dist/shared/types/purchaseInfo.d.ts +11 -2
  30. package/dist/shared/types/purchaseInfo.d.ts.map +1 -1
  31. package/dist/shared/types/targeting/shared.d.ts +5 -15
  32. package/dist/shared/types/targeting/shared.d.ts.map +1 -1
  33. package/package.json +4 -4
@@ -7,15 +7,7 @@ export declare const maxViewsSchema: z.ZodObject<{
7
7
  maxViewsCount: z.ZodNumber;
8
8
  maxViewsDays: z.ZodNumber;
9
9
  minDaysBetweenViews: z.ZodNumber;
10
- }, "strip", z.ZodTypeAny, {
11
- maxViewsCount: number;
12
- maxViewsDays: number;
13
- minDaysBetweenViews: number;
14
- }, {
15
- maxViewsCount: number;
16
- maxViewsDays: number;
17
- minDaysBetweenViews: number;
18
- }>;
10
+ }, z.core.$strip>;
19
11
  export type MaxViews = z.infer<typeof maxViewsSchema>;
20
12
  export type ContributionFrequency = 'ONE_OFF' | 'MONTHLY' | 'ANNUAL';
21
13
  export declare const contributionTabFrequencies: ContributionFrequency[];
@@ -66,86 +58,91 @@ export interface EpicTest extends EpicTestFromTool {
66
58
  expiry?: string;
67
59
  }
68
60
  export declare const epicTestFromToolSchema: z.ZodObject<{
69
- channel: z.ZodEnum<["Epic", "EpicAppleNews", "EpicLiveblog", "Banner1", "Banner2", "Header", "GutterLiveblog"]>;
61
+ channel: z.ZodEnum<{
62
+ Epic: "Epic";
63
+ EpicAppleNews: "EpicAppleNews";
64
+ EpicLiveblog: "EpicLiveblog";
65
+ Banner1: "Banner1";
66
+ Banner2: "Banner2";
67
+ Header: "Header";
68
+ GutterLiveblog: "GutterLiveblog";
69
+ }>;
70
70
  controlProportionSettings: z.ZodOptional<z.ZodObject<{
71
71
  proportion: z.ZodNumber;
72
72
  offset: z.ZodNumber;
73
- }, "strip", z.ZodTypeAny, {
74
- offset: number;
75
- proportion: number;
76
- }, {
77
- offset: number;
78
- proportion: number;
73
+ }, z.core.$strip>>;
74
+ deviceType: z.ZodOptional<z.ZodEnum<{
75
+ Mobile: "Mobile";
76
+ Desktop: "Desktop";
77
+ All: "All";
78
+ iOS: "iOS";
79
+ Android: "Android";
79
80
  }>>;
80
- deviceType: z.ZodOptional<z.ZodEnum<["Mobile", "Desktop", "All", "iOS", "Android"]>>;
81
- signedInStatus: z.ZodOptional<z.ZodEnum<["SignedIn", "SignedOut", "All"]>>;
82
- consentStatus: z.ZodOptional<z.ZodEnum<["HasConsented", "HasNotConsented", "All"]>>;
83
- methodologies: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
81
+ signedInStatus: z.ZodOptional<z.ZodEnum<{
82
+ All: "All";
83
+ SignedIn: "SignedIn";
84
+ SignedOut: "SignedOut";
85
+ }>>;
86
+ consentStatus: z.ZodOptional<z.ZodEnum<{
87
+ All: "All";
88
+ HasConsented: "HasConsented";
89
+ HasNotConsented: "HasNotConsented";
90
+ }>>;
91
+ methodologies: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
84
92
  name: z.ZodLiteral<"ABTest">;
85
- }, "strip", z.ZodTypeAny, {
86
- name: "ABTest";
87
- }, {
88
- name: "ABTest";
89
- }>, z.ZodObject<{
93
+ }, z.core.$strip>, z.ZodObject<{
90
94
  name: z.ZodLiteral<"EpsilonGreedyBandit">;
91
95
  epsilon: z.ZodNumber;
92
96
  sampleCount: z.ZodOptional<z.ZodNumber>;
93
- }, "strip", z.ZodTypeAny, {
94
- name: "EpsilonGreedyBandit";
95
- epsilon: number;
96
- sampleCount?: number | undefined;
97
- }, {
98
- name: "EpsilonGreedyBandit";
99
- epsilon: number;
100
- sampleCount?: number | undefined;
101
- }>, z.ZodObject<{
97
+ }, z.core.$strip>, z.ZodObject<{
102
98
  name: z.ZodLiteral<"Roulette">;
103
99
  sampleCount: z.ZodOptional<z.ZodNumber>;
104
- }, "strip", z.ZodTypeAny, {
105
- name: "Roulette";
106
- sampleCount?: number | undefined;
107
- }, {
108
- name: "Roulette";
109
- sampleCount?: number | undefined;
110
- }>]>, z.ZodObject<{
100
+ }, z.core.$strip>], "name">, z.ZodObject<{
111
101
  testName: z.ZodOptional<z.ZodString>;
112
- }, "strip", z.ZodTypeAny, {
113
- testName?: string | undefined;
114
- }, {
115
- testName?: string | undefined;
116
- }>>, "many">>;
102
+ }, z.core.$strip>>>>;
117
103
  name: z.ZodString;
118
- status: z.ZodEnum<["Live", "Draft", "Archived"]>;
119
- locations: z.ZodOptional<z.ZodArray<z.ZodEnum<["GBPCountries", "UnitedStates", "AUDCountries", "EURCountries", "International", "NZDCountries", "Canada"]>, "many">>;
120
- regionTargeting: z.ZodOptional<z.ZodOptional<z.ZodObject<{
121
- targetedCountryGroups: z.ZodArray<z.ZodEnum<["GBPCountries", "UnitedStates", "AUDCountries", "EURCountries", "International", "NZDCountries", "Canada"]>, "many">;
122
- targetedCountryCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
123
- }, "strip", z.ZodTypeAny, {
124
- targetedCountryGroups: ("GBPCountries" | "UnitedStates" | "AUDCountries" | "EURCountries" | "International" | "NZDCountries" | "Canada")[];
125
- targetedCountryCodes?: string[] | undefined;
126
- }, {
127
- targetedCountryGroups: ("GBPCountries" | "UnitedStates" | "AUDCountries" | "EURCountries" | "International" | "NZDCountries" | "Canada")[];
128
- targetedCountryCodes?: string[] | undefined;
104
+ status: z.ZodEnum<{
105
+ Live: "Live";
106
+ Draft: "Draft";
107
+ Archived: "Archived";
108
+ }>;
109
+ locations: z.ZodOptional<z.ZodArray<z.ZodEnum<{
110
+ GBPCountries: "GBPCountries";
111
+ UnitedStates: "UnitedStates";
112
+ AUDCountries: "AUDCountries";
113
+ EURCountries: "EURCountries";
114
+ International: "International";
115
+ NZDCountries: "NZDCountries";
116
+ Canada: "Canada";
129
117
  }>>>;
130
- tagIds: z.ZodArray<z.ZodString, "many">;
131
- sections: z.ZodArray<z.ZodString, "many">;
132
- excludedTagIds: z.ZodArray<z.ZodString, "many">;
133
- excludedSections: z.ZodArray<z.ZodString, "many">;
118
+ regionTargeting: z.ZodOptional<z.ZodOptional<z.ZodObject<{
119
+ targetedCountryGroups: z.ZodArray<z.ZodEnum<{
120
+ GBPCountries: "GBPCountries";
121
+ UnitedStates: "UnitedStates";
122
+ AUDCountries: "AUDCountries";
123
+ EURCountries: "EURCountries";
124
+ International: "International";
125
+ NZDCountries: "NZDCountries";
126
+ Canada: "Canada";
127
+ }>>;
128
+ targetedCountryCodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
129
+ }, z.core.$strip>>>;
130
+ tagIds: z.ZodArray<z.ZodString>;
131
+ sections: z.ZodArray<z.ZodString>;
132
+ excludedTagIds: z.ZodArray<z.ZodString>;
133
+ excludedSections: z.ZodArray<z.ZodString>;
134
134
  alwaysAsk: z.ZodBoolean;
135
135
  maxViews: z.ZodOptional<z.ZodObject<{
136
136
  maxViewsCount: z.ZodNumber;
137
137
  maxViewsDays: z.ZodNumber;
138
138
  minDaysBetweenViews: z.ZodNumber;
139
- }, "strip", z.ZodTypeAny, {
140
- maxViewsCount: number;
141
- maxViewsDays: number;
142
- minDaysBetweenViews: number;
143
- }, {
144
- maxViewsCount: number;
145
- maxViewsDays: number;
146
- minDaysBetweenViews: number;
147
- }>>;
148
- userCohort: z.ZodEnum<["AllExistingSupporters", "AllNonSupporters", "Everyone", "PostAskPauseSingleContributors"]>;
139
+ }, z.core.$strip>>;
140
+ userCohort: z.ZodEnum<{
141
+ AllExistingSupporters: "AllExistingSupporters";
142
+ AllNonSupporters: "AllNonSupporters";
143
+ Everyone: "Everyone";
144
+ PostAskPauseSingleContributors: "PostAskPauseSingleContributors";
145
+ }>;
149
146
  hasCountryName: z.ZodBoolean;
150
147
  highPriority: z.ZodBoolean;
151
148
  useLocalViewLog: z.ZodBoolean;
@@ -153,121 +150,47 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
153
150
  minViews: z.ZodNumber;
154
151
  maxViews: z.ZodOptional<z.ZodNumber>;
155
152
  periodInWeeks: z.ZodNumber;
156
- tagIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
157
- }, "strip", z.ZodTypeAny, {
158
- minViews: number;
159
- periodInWeeks: number;
160
- maxViews?: number | undefined;
161
- tagIds?: string[] | undefined;
162
- }, {
163
- minViews: number;
164
- periodInWeeks: number;
165
- maxViews?: number | undefined;
166
- tagIds?: string[] | undefined;
167
- }>>;
153
+ tagIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
154
+ }, z.core.$strip>>;
168
155
  priority: z.ZodNumber;
169
156
  variants: z.ZodArray<z.ZodObject<{
170
157
  name: z.ZodString;
171
158
  heading: z.ZodOptional<z.ZodString>;
172
- paragraphs: z.ZodArray<z.ZodString, "many">;
159
+ paragraphs: z.ZodArray<z.ZodString>;
173
160
  highlightedText: z.ZodOptional<z.ZodString>;
174
161
  tickerSettings: z.ZodOptional<z.ZodObject<{
175
162
  currencySymbol: z.ZodString;
176
163
  copy: z.ZodObject<{
177
164
  countLabel: z.ZodString;
178
165
  goalCopy: z.ZodOptional<z.ZodString>;
179
- }, "strip", z.ZodTypeAny, {
180
- countLabel: string;
181
- goalCopy?: string | undefined;
182
- }, {
183
- countLabel: string;
184
- goalCopy?: string | undefined;
166
+ }, z.core.$strip>;
167
+ name: z.ZodEnum<{
168
+ global: "global";
169
+ US: "US";
170
+ AU: "AU";
185
171
  }>;
186
- name: z.ZodEnum<["US", "AU", "global"]>;
187
172
  tickerData: z.ZodOptional<z.ZodObject<{
188
173
  total: z.ZodNumber;
189
174
  goal: z.ZodNumber;
190
- }, "strip", z.ZodTypeAny, {
191
- total: number;
192
- goal: number;
193
- }, {
194
- total: number;
195
- goal: number;
196
- }>>;
197
- }, "strip", z.ZodTypeAny, {
198
- name: "global" | "US" | "AU";
199
- copy: {
200
- countLabel: string;
201
- goalCopy?: string | undefined;
202
- };
203
- currencySymbol: string;
204
- tickerData?: {
205
- total: number;
206
- goal: number;
207
- } | undefined;
208
- }, {
209
- name: "global" | "US" | "AU";
210
- copy: {
211
- countLabel: string;
212
- goalCopy?: string | undefined;
213
- };
214
- currencySymbol: string;
215
- tickerData?: {
216
- total: number;
217
- goal: number;
218
- } | undefined;
219
- }>>;
175
+ }, z.core.$strip>>;
176
+ }, z.core.$strip>>;
220
177
  cta: z.ZodOptional<z.ZodObject<{
221
178
  text: z.ZodString;
222
179
  baseUrl: z.ZodString;
223
- }, "strip", z.ZodTypeAny, {
224
- text: string;
225
- baseUrl: string;
226
- }, {
227
- text: string;
228
- baseUrl: string;
229
- }>>;
230
- secondaryCta: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
180
+ }, z.core.$strip>>;
181
+ secondaryCta: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
231
182
  type: z.ZodLiteral<import("../props").SecondaryCtaType.Custom>;
232
183
  cta: z.ZodObject<{
233
184
  text: z.ZodString;
234
185
  baseUrl: z.ZodString;
235
- }, "strip", z.ZodTypeAny, {
236
- text: string;
237
- baseUrl: string;
238
- }, {
239
- text: string;
240
- baseUrl: string;
241
- }>;
242
- }, "strip", z.ZodTypeAny, {
243
- type: import("../props").SecondaryCtaType.Custom;
244
- cta: {
245
- text: string;
246
- baseUrl: string;
247
- };
248
- }, {
249
- type: import("../props").SecondaryCtaType.Custom;
250
- cta: {
251
- text: string;
252
- baseUrl: string;
253
- };
254
- }>, z.ZodObject<{
186
+ }, z.core.$strip>;
187
+ }, z.core.$strip>, z.ZodObject<{
255
188
  type: z.ZodLiteral<import("../props").SecondaryCtaType.ContributionsReminder>;
256
- }, "strip", z.ZodTypeAny, {
257
- type: import("../props").SecondaryCtaType.ContributionsReminder;
258
- }, {
259
- type: import("../props").SecondaryCtaType.ContributionsReminder;
260
- }>]>>;
189
+ }, z.core.$strip>], "type">>;
261
190
  newsletterSignup: z.ZodOptional<z.ZodObject<{
262
191
  newsletterId: z.ZodString;
263
192
  successDescription: z.ZodString;
264
- }, "strip", z.ZodTypeAny, {
265
- newsletterId: string;
266
- successDescription: string;
267
- }, {
268
- newsletterId: string;
269
- successDescription: string;
270
- }>>;
193
+ }, z.core.$strip>>;
271
194
  image: z.ZodOptional<z.ZodObject<{
272
195
  mainUrl: z.ZodString;
273
196
  mobileUrl: z.ZodOptional<z.ZodString>;
@@ -276,63 +199,26 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
276
199
  leftColUrl: z.ZodOptional<z.ZodString>;
277
200
  wideUrl: z.ZodOptional<z.ZodString>;
278
201
  altText: z.ZodString;
279
- }, "strip", z.ZodTypeAny, {
280
- altText: string;
281
- mainUrl: string;
282
- mobileUrl?: string | undefined;
283
- tabletUrl?: string | undefined;
284
- desktopUrl?: string | undefined;
285
- leftColUrl?: string | undefined;
286
- wideUrl?: string | undefined;
287
- }, {
288
- altText: string;
289
- mainUrl: string;
290
- mobileUrl?: string | undefined;
291
- tabletUrl?: string | undefined;
292
- desktopUrl?: string | undefined;
293
- leftColUrl?: string | undefined;
294
- wideUrl?: string | undefined;
295
- }>>;
202
+ }, z.core.$strip>>;
296
203
  showReminderFields: z.ZodOptional<z.ZodObject<{
297
204
  reminderCta: z.ZodString;
298
205
  reminderLabel: z.ZodString;
299
206
  reminderPeriod: z.ZodString;
300
- }, "strip", z.ZodTypeAny, {
301
- reminderCta: string;
302
- reminderLabel: string;
303
- reminderPeriod: string;
304
- }, {
305
- reminderCta: string;
306
- reminderLabel: string;
307
- reminderPeriod: string;
308
- }>>;
207
+ }, z.core.$strip>>;
309
208
  separateArticleCount: z.ZodOptional<z.ZodObject<{
310
209
  type: z.ZodLiteral<"above">;
311
210
  copy: z.ZodOptional<z.ZodString>;
312
- countType: z.ZodOptional<z.ZodEnum<["for52Weeks", "forTargetedWeeks"]>>;
313
- }, "strip", z.ZodTypeAny, {
314
- type: "above";
315
- copy?: string | undefined;
316
- countType?: "for52Weeks" | "forTargetedWeeks" | undefined;
317
- }, {
318
- type: "above";
319
- copy?: string | undefined;
320
- countType?: "for52Weeks" | "forTargetedWeeks" | undefined;
321
- }>>;
322
- promoCodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
211
+ countType: z.ZodOptional<z.ZodEnum<{
212
+ for52Weeks: "for52Weeks";
213
+ forTargetedWeeks: "forTargetedWeeks";
214
+ }>>;
215
+ }, z.core.$strip>>;
216
+ promoCodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
323
217
  maxViews: z.ZodOptional<z.ZodObject<{
324
218
  maxViewsCount: z.ZodNumber;
325
219
  maxViewsDays: z.ZodNumber;
326
220
  minDaysBetweenViews: z.ZodNumber;
327
- }, "strip", z.ZodTypeAny, {
328
- maxViewsCount: number;
329
- maxViewsDays: number;
330
- minDaysBetweenViews: number;
331
- }, {
332
- maxViewsCount: number;
333
- maxViewsDays: number;
334
- minDaysBetweenViews: number;
335
- }>>;
221
+ }, z.core.$strip>>;
336
222
  showSignInLink: z.ZodOptional<z.ZodBoolean>;
337
223
  bylineWithImage: z.ZodOptional<z.ZodObject<{
338
224
  name: z.ZodString;
@@ -345,1405 +231,115 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
345
231
  leftColUrl: z.ZodOptional<z.ZodString>;
346
232
  wideUrl: z.ZodOptional<z.ZodString>;
347
233
  altText: z.ZodString;
348
- }, "strip", z.ZodTypeAny, {
349
- altText: string;
350
- mainUrl: string;
351
- mobileUrl?: string | undefined;
352
- tabletUrl?: string | undefined;
353
- desktopUrl?: string | undefined;
354
- leftColUrl?: string | undefined;
355
- wideUrl?: string | undefined;
356
- }, {
357
- altText: string;
358
- mainUrl: string;
359
- mobileUrl?: string | undefined;
360
- tabletUrl?: string | undefined;
361
- desktopUrl?: string | undefined;
362
- leftColUrl?: string | undefined;
363
- wideUrl?: string | undefined;
364
- }>>;
365
- }, "strip", z.ZodTypeAny, {
366
- name: string;
367
- description?: string | undefined;
368
- headshot?: {
369
- altText: string;
370
- mainUrl: string;
371
- mobileUrl?: string | undefined;
372
- tabletUrl?: string | undefined;
373
- desktopUrl?: string | undefined;
374
- leftColUrl?: string | undefined;
375
- wideUrl?: string | undefined;
376
- } | undefined;
377
- }, {
378
- name: string;
379
- description?: string | undefined;
380
- headshot?: {
381
- altText: string;
382
- mainUrl: string;
383
- mobileUrl?: string | undefined;
384
- tabletUrl?: string | undefined;
385
- desktopUrl?: string | undefined;
386
- leftColUrl?: string | undefined;
387
- wideUrl?: string | undefined;
388
- } | undefined;
389
- }>>;
234
+ }, z.core.$strip>>;
235
+ }, z.core.$strip>>;
390
236
  showChoiceCards: z.ZodOptional<z.ZodBoolean>;
391
237
  choiceCardsSettings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
392
238
  choiceCards: z.ZodArray<z.ZodObject<{
393
- product: z.ZodDiscriminatedUnion<"supportTier", [z.ZodObject<{
239
+ product: z.ZodDiscriminatedUnion<[z.ZodObject<{
394
240
  supportTier: z.ZodLiteral<"Contribution">;
395
- ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
396
- }, "strip", z.ZodTypeAny, {
397
- supportTier: "Contribution";
398
- ratePlan: "Monthly" | "Annual";
399
- }, {
400
- supportTier: "Contribution";
401
- ratePlan: "Monthly" | "Annual";
402
- }>, z.ZodObject<{
241
+ ratePlan: z.ZodUnion<readonly [z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
242
+ }, z.core.$strip>, z.ZodObject<{
403
243
  supportTier: z.ZodLiteral<"SupporterPlus">;
404
- ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
405
- }, "strip", z.ZodTypeAny, {
406
- supportTier: "SupporterPlus";
407
- ratePlan: "Monthly" | "Annual";
408
- }, {
409
- supportTier: "SupporterPlus";
410
- ratePlan: "Monthly" | "Annual";
411
- }>, z.ZodObject<{
244
+ ratePlan: z.ZodUnion<readonly [z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
245
+ }, z.core.$strip>, z.ZodObject<{
412
246
  supportTier: z.ZodLiteral<"OneOff">;
413
- }, "strip", z.ZodTypeAny, {
414
- supportTier: "OneOff";
415
- }, {
416
- supportTier: "OneOff";
417
- }>]>;
247
+ }, z.core.$strip>], "supportTier">;
418
248
  label: z.ZodString;
419
249
  isDefault: z.ZodBoolean;
420
250
  benefitsLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
421
251
  benefits: z.ZodArray<z.ZodObject<{
422
252
  copy: z.ZodString;
423
- }, "strip", z.ZodTypeAny, {
424
- copy: string;
425
- }, {
426
- copy: string;
427
- }>, "many">;
253
+ }, z.core.$strip>>;
428
254
  pill: z.ZodOptional<z.ZodNullable<z.ZodObject<{
429
255
  copy: z.ZodString;
430
256
  textColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
431
- r: z.ZodEffects<z.ZodString, string, string>;
432
- g: z.ZodEffects<z.ZodString, string, string>;
433
- b: z.ZodEffects<z.ZodString, string, string>;
257
+ r: z.ZodString;
258
+ g: z.ZodString;
259
+ b: z.ZodString;
434
260
  kind: z.ZodLiteral<"hex">;
435
- }, "strip", z.ZodTypeAny, {
436
- r: string;
437
- b: string;
438
- g: string;
439
- kind: "hex";
440
- }, {
441
- r: string;
442
- b: string;
443
- g: string;
444
- kind: "hex";
445
- }>>>;
261
+ }, z.core.$strip>>>;
446
262
  backgroundColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
447
- r: z.ZodEffects<z.ZodString, string, string>;
448
- g: z.ZodEffects<z.ZodString, string, string>;
449
- b: z.ZodEffects<z.ZodString, string, string>;
263
+ r: z.ZodString;
264
+ g: z.ZodString;
265
+ b: z.ZodString;
450
266
  kind: z.ZodLiteral<"hex">;
451
- }, "strip", z.ZodTypeAny, {
452
- r: string;
453
- b: string;
454
- g: string;
455
- kind: "hex";
456
- }, {
457
- r: string;
458
- b: string;
459
- g: string;
460
- kind: "hex";
461
- }>>>;
462
- }, "strip", z.ZodTypeAny, {
463
- copy: string;
464
- textColour?: {
465
- r: string;
466
- b: string;
467
- g: string;
468
- kind: "hex";
469
- } | null | undefined;
470
- backgroundColour?: {
471
- r: string;
472
- b: string;
473
- g: string;
474
- kind: "hex";
475
- } | null | undefined;
476
- }, {
477
- copy: string;
478
- textColour?: {
479
- r: string;
480
- b: string;
481
- g: string;
482
- kind: "hex";
483
- } | null | undefined;
484
- backgroundColour?: {
485
- r: string;
486
- b: string;
487
- g: string;
488
- kind: "hex";
489
- } | null | undefined;
490
- }>>>;
491
- destination: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"LandingPage">, z.ZodLiteral<"Checkout">]>>>;
492
- }, "strip", z.ZodTypeAny, {
493
- product: {
494
- supportTier: "Contribution";
495
- ratePlan: "Monthly" | "Annual";
496
- } | {
497
- supportTier: "SupporterPlus";
498
- ratePlan: "Monthly" | "Annual";
499
- } | {
500
- supportTier: "OneOff";
501
- };
502
- label: string;
503
- isDefault: boolean;
504
- benefits: {
505
- copy: string;
506
- }[];
507
- benefitsLabel?: string | null | undefined;
508
- pill?: {
509
- copy: string;
510
- textColour?: {
511
- r: string;
512
- b: string;
513
- g: string;
514
- kind: "hex";
515
- } | null | undefined;
516
- backgroundColour?: {
517
- r: string;
518
- b: string;
519
- g: string;
520
- kind: "hex";
521
- } | null | undefined;
522
- } | null | undefined;
523
- destination?: "LandingPage" | "Checkout" | null | undefined;
524
- }, {
525
- product: {
526
- supportTier: "Contribution";
527
- ratePlan: "Monthly" | "Annual";
528
- } | {
529
- supportTier: "SupporterPlus";
530
- ratePlan: "Monthly" | "Annual";
531
- } | {
532
- supportTier: "OneOff";
533
- };
534
- label: string;
535
- isDefault: boolean;
536
- benefits: {
537
- copy: string;
538
- }[];
539
- benefitsLabel?: string | null | undefined;
540
- pill?: {
541
- copy: string;
542
- textColour?: {
543
- r: string;
544
- b: string;
545
- g: string;
546
- kind: "hex";
547
- } | null | undefined;
548
- backgroundColour?: {
549
- r: string;
550
- b: string;
551
- g: string;
552
- kind: "hex";
553
- } | null | undefined;
554
- } | null | undefined;
555
- destination?: "LandingPage" | "Checkout" | null | undefined;
556
- }>, "many">;
267
+ }, z.core.$strip>>>;
268
+ }, z.core.$strip>>>;
269
+ destination: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"LandingPage">, z.ZodLiteral<"Checkout">]>>>;
270
+ }, z.core.$strip>>;
557
271
  mobileChoiceCards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
558
- product: z.ZodDiscriminatedUnion<"supportTier", [z.ZodObject<{
272
+ product: z.ZodDiscriminatedUnion<[z.ZodObject<{
559
273
  supportTier: z.ZodLiteral<"Contribution">;
560
- ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
561
- }, "strip", z.ZodTypeAny, {
562
- supportTier: "Contribution";
563
- ratePlan: "Monthly" | "Annual";
564
- }, {
565
- supportTier: "Contribution";
566
- ratePlan: "Monthly" | "Annual";
567
- }>, z.ZodObject<{
274
+ ratePlan: z.ZodUnion<readonly [z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
275
+ }, z.core.$strip>, z.ZodObject<{
568
276
  supportTier: z.ZodLiteral<"SupporterPlus">;
569
- ratePlan: z.ZodUnion<[z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
570
- }, "strip", z.ZodTypeAny, {
571
- supportTier: "SupporterPlus";
572
- ratePlan: "Monthly" | "Annual";
573
- }, {
574
- supportTier: "SupporterPlus";
575
- ratePlan: "Monthly" | "Annual";
576
- }>, z.ZodObject<{
277
+ ratePlan: z.ZodUnion<readonly [z.ZodLiteral<"Monthly">, z.ZodLiteral<"Annual">]>;
278
+ }, z.core.$strip>, z.ZodObject<{
577
279
  supportTier: z.ZodLiteral<"OneOff">;
578
- }, "strip", z.ZodTypeAny, {
579
- supportTier: "OneOff";
580
- }, {
581
- supportTier: "OneOff";
582
- }>]>;
280
+ }, z.core.$strip>], "supportTier">;
583
281
  label: z.ZodString;
584
282
  isDefault: z.ZodBoolean;
585
283
  benefitsLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
586
284
  benefits: z.ZodArray<z.ZodObject<{
587
285
  copy: z.ZodString;
588
- }, "strip", z.ZodTypeAny, {
589
- copy: string;
590
- }, {
591
- copy: string;
592
- }>, "many">;
286
+ }, z.core.$strip>>;
593
287
  pill: z.ZodOptional<z.ZodNullable<z.ZodObject<{
594
288
  copy: z.ZodString;
595
289
  textColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
596
- r: z.ZodEffects<z.ZodString, string, string>;
597
- g: z.ZodEffects<z.ZodString, string, string>;
598
- b: z.ZodEffects<z.ZodString, string, string>;
290
+ r: z.ZodString;
291
+ g: z.ZodString;
292
+ b: z.ZodString;
599
293
  kind: z.ZodLiteral<"hex">;
600
- }, "strip", z.ZodTypeAny, {
601
- r: string;
602
- b: string;
603
- g: string;
604
- kind: "hex";
605
- }, {
606
- r: string;
607
- b: string;
608
- g: string;
609
- kind: "hex";
610
- }>>>;
294
+ }, z.core.$strip>>>;
611
295
  backgroundColour: z.ZodOptional<z.ZodNullable<z.ZodObject<{
612
- r: z.ZodEffects<z.ZodString, string, string>;
613
- g: z.ZodEffects<z.ZodString, string, string>;
614
- b: z.ZodEffects<z.ZodString, string, string>;
296
+ r: z.ZodString;
297
+ g: z.ZodString;
298
+ b: z.ZodString;
615
299
  kind: z.ZodLiteral<"hex">;
616
- }, "strip", z.ZodTypeAny, {
617
- r: string;
618
- b: string;
619
- g: string;
620
- kind: "hex";
621
- }, {
622
- r: string;
623
- b: string;
624
- g: string;
625
- kind: "hex";
626
- }>>>;
627
- }, "strip", z.ZodTypeAny, {
628
- copy: string;
629
- textColour?: {
630
- r: string;
631
- b: string;
632
- g: string;
633
- kind: "hex";
634
- } | null | undefined;
635
- backgroundColour?: {
636
- r: string;
637
- b: string;
638
- g: string;
639
- kind: "hex";
640
- } | null | undefined;
641
- }, {
642
- copy: string;
643
- textColour?: {
644
- r: string;
645
- b: string;
646
- g: string;
647
- kind: "hex";
648
- } | null | undefined;
649
- backgroundColour?: {
650
- r: string;
651
- b: string;
652
- g: string;
653
- kind: "hex";
654
- } | null | undefined;
655
- }>>>;
656
- destination: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"LandingPage">, z.ZodLiteral<"Checkout">]>>>;
657
- }, "strip", z.ZodTypeAny, {
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
- destination?: "LandingPage" | "Checkout" | null | undefined;
689
- }, {
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
- destination?: "LandingPage" | "Checkout" | null | undefined;
721
- }>, "many">>>;
722
- }, "strip", z.ZodTypeAny, {
723
- choiceCards: {
724
- product: {
725
- supportTier: "Contribution";
726
- ratePlan: "Monthly" | "Annual";
727
- } | {
728
- supportTier: "SupporterPlus";
729
- ratePlan: "Monthly" | "Annual";
730
- } | {
731
- supportTier: "OneOff";
732
- };
733
- label: string;
734
- isDefault: boolean;
735
- benefits: {
736
- copy: string;
737
- }[];
738
- benefitsLabel?: string | null | undefined;
739
- pill?: {
740
- copy: string;
741
- textColour?: {
742
- r: string;
743
- b: string;
744
- g: string;
745
- kind: "hex";
746
- } | null | undefined;
747
- backgroundColour?: {
748
- r: string;
749
- b: string;
750
- g: string;
751
- kind: "hex";
752
- } | null | undefined;
753
- } | null | undefined;
754
- destination?: "LandingPage" | "Checkout" | null | undefined;
755
- }[];
756
- mobileChoiceCards?: {
757
- product: {
758
- supportTier: "Contribution";
759
- ratePlan: "Monthly" | "Annual";
760
- } | {
761
- supportTier: "SupporterPlus";
762
- ratePlan: "Monthly" | "Annual";
763
- } | {
764
- supportTier: "OneOff";
765
- };
766
- label: string;
767
- isDefault: boolean;
768
- benefits: {
769
- copy: string;
770
- }[];
771
- benefitsLabel?: string | null | undefined;
772
- pill?: {
773
- copy: string;
774
- textColour?: {
775
- r: string;
776
- b: string;
777
- g: string;
778
- kind: "hex";
779
- } | null | undefined;
780
- backgroundColour?: {
781
- r: string;
782
- b: string;
783
- g: string;
784
- kind: "hex";
785
- } | null | undefined;
786
- } | null | undefined;
787
- destination?: "LandingPage" | "Checkout" | null | undefined;
788
- }[] | null | undefined;
789
- }, {
790
- choiceCards: {
791
- product: {
792
- supportTier: "Contribution";
793
- ratePlan: "Monthly" | "Annual";
794
- } | {
795
- supportTier: "SupporterPlus";
796
- ratePlan: "Monthly" | "Annual";
797
- } | {
798
- supportTier: "OneOff";
799
- };
800
- label: string;
801
- isDefault: boolean;
802
- benefits: {
803
- copy: string;
804
- }[];
805
- benefitsLabel?: string | null | undefined;
806
- pill?: {
807
- copy: string;
808
- textColour?: {
809
- r: string;
810
- b: string;
811
- g: string;
812
- kind: "hex";
813
- } | null | undefined;
814
- backgroundColour?: {
815
- r: string;
816
- b: string;
817
- g: string;
818
- kind: "hex";
819
- } | null | undefined;
820
- } | null | undefined;
821
- destination?: "LandingPage" | "Checkout" | null | undefined;
822
- }[];
823
- mobileChoiceCards?: {
824
- product: {
825
- supportTier: "Contribution";
826
- ratePlan: "Monthly" | "Annual";
827
- } | {
828
- supportTier: "SupporterPlus";
829
- ratePlan: "Monthly" | "Annual";
830
- } | {
831
- supportTier: "OneOff";
832
- };
833
- label: string;
834
- isDefault: boolean;
835
- benefits: {
836
- copy: string;
837
- }[];
838
- benefitsLabel?: string | null | undefined;
839
- pill?: {
840
- copy: string;
841
- textColour?: {
842
- r: string;
843
- b: string;
844
- g: string;
845
- kind: "hex";
846
- } | null | undefined;
847
- backgroundColour?: {
848
- r: string;
849
- b: string;
850
- g: string;
851
- kind: "hex";
852
- } | null | undefined;
853
- } | null | undefined;
854
- destination?: "LandingPage" | "Checkout" | null | undefined;
855
- }[] | null | undefined;
856
- }>>>;
300
+ }, z.core.$strip>>>;
301
+ }, z.core.$strip>>>;
302
+ destination: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"LandingPage">, z.ZodLiteral<"Checkout">]>>>;
303
+ }, z.core.$strip>>>>;
304
+ }, z.core.$strip>>>;
857
305
  choiceCardAmounts: z.ZodOptional<z.ZodObject<{
858
306
  testName: z.ZodString;
859
307
  variantName: z.ZodString;
860
- defaultContributionType: z.ZodEnum<["ONE_OFF", "MONTHLY", "ANNUAL"]>;
861
- displayContributionType: z.ZodArray<z.ZodEnum<["ONE_OFF", "MONTHLY", "ANNUAL"]>, "many">;
308
+ defaultContributionType: z.ZodEnum<{
309
+ ONE_OFF: "ONE_OFF";
310
+ MONTHLY: "MONTHLY";
311
+ ANNUAL: "ANNUAL";
312
+ }>;
313
+ displayContributionType: z.ZodArray<z.ZodEnum<{
314
+ ONE_OFF: "ONE_OFF";
315
+ MONTHLY: "MONTHLY";
316
+ ANNUAL: "ANNUAL";
317
+ }>>;
862
318
  amountsCardData: z.ZodObject<{
863
319
  ONE_OFF: z.ZodObject<{
864
- amounts: z.ZodArray<z.ZodNumber, "many">;
320
+ amounts: z.ZodArray<z.ZodNumber>;
865
321
  defaultAmount: z.ZodNumber;
866
322
  hideChooseYourAmount: z.ZodOptional<z.ZodBoolean>;
867
- }, "strip", z.ZodTypeAny, {
868
- amounts: number[];
869
- defaultAmount: number;
870
- hideChooseYourAmount?: boolean | undefined;
871
- }, {
872
- amounts: number[];
873
- defaultAmount: number;
874
- hideChooseYourAmount?: boolean | undefined;
875
- }>;
323
+ }, z.core.$strip>;
876
324
  MONTHLY: z.ZodObject<{
877
- amounts: z.ZodArray<z.ZodNumber, "many">;
325
+ amounts: z.ZodArray<z.ZodNumber>;
878
326
  defaultAmount: z.ZodNumber;
879
327
  hideChooseYourAmount: z.ZodOptional<z.ZodBoolean>;
880
- }, "strip", z.ZodTypeAny, {
881
- amounts: number[];
882
- defaultAmount: number;
883
- hideChooseYourAmount?: boolean | undefined;
884
- }, {
885
- amounts: number[];
886
- defaultAmount: number;
887
- hideChooseYourAmount?: boolean | undefined;
888
- }>;
328
+ }, z.core.$strip>;
889
329
  ANNUAL: z.ZodObject<{
890
- amounts: z.ZodArray<z.ZodNumber, "many">;
330
+ amounts: z.ZodArray<z.ZodNumber>;
891
331
  defaultAmount: z.ZodNumber;
892
332
  hideChooseYourAmount: z.ZodOptional<z.ZodBoolean>;
893
- }, "strip", z.ZodTypeAny, {
894
- amounts: number[];
895
- defaultAmount: number;
896
- hideChooseYourAmount?: boolean | undefined;
897
- }, {
898
- amounts: number[];
899
- defaultAmount: number;
900
- hideChooseYourAmount?: boolean | undefined;
901
- }>;
902
- }, "strip", z.ZodTypeAny, {
903
- ONE_OFF: {
904
- amounts: number[];
905
- defaultAmount: number;
906
- hideChooseYourAmount?: boolean | undefined;
907
- };
908
- MONTHLY: {
909
- amounts: number[];
910
- defaultAmount: number;
911
- hideChooseYourAmount?: boolean | undefined;
912
- };
913
- ANNUAL: {
914
- amounts: number[];
915
- defaultAmount: number;
916
- hideChooseYourAmount?: boolean | undefined;
917
- };
918
- }, {
919
- ONE_OFF: {
920
- amounts: number[];
921
- defaultAmount: number;
922
- hideChooseYourAmount?: boolean | undefined;
923
- };
924
- MONTHLY: {
925
- amounts: number[];
926
- defaultAmount: number;
927
- hideChooseYourAmount?: boolean | undefined;
928
- };
929
- ANNUAL: {
930
- amounts: number[];
931
- defaultAmount: number;
932
- hideChooseYourAmount?: boolean | undefined;
933
- };
934
- }>;
935
- }, "strip", z.ZodTypeAny, {
936
- testName: string;
937
- variantName: string;
938
- defaultContributionType: "ONE_OFF" | "MONTHLY" | "ANNUAL";
939
- displayContributionType: ("ONE_OFF" | "MONTHLY" | "ANNUAL")[];
940
- amountsCardData: {
941
- ONE_OFF: {
942
- amounts: number[];
943
- defaultAmount: number;
944
- hideChooseYourAmount?: boolean | undefined;
945
- };
946
- MONTHLY: {
947
- amounts: number[];
948
- defaultAmount: number;
949
- hideChooseYourAmount?: boolean | undefined;
950
- };
951
- ANNUAL: {
952
- amounts: number[];
953
- defaultAmount: number;
954
- hideChooseYourAmount?: boolean | undefined;
955
- };
956
- };
957
- }, {
958
- testName: string;
959
- variantName: string;
960
- defaultContributionType: "ONE_OFF" | "MONTHLY" | "ANNUAL";
961
- displayContributionType: ("ONE_OFF" | "MONTHLY" | "ANNUAL")[];
962
- amountsCardData: {
963
- ONE_OFF: {
964
- amounts: number[];
965
- defaultAmount: number;
966
- hideChooseYourAmount?: boolean | undefined;
967
- };
968
- MONTHLY: {
969
- amounts: number[];
970
- defaultAmount: number;
971
- hideChooseYourAmount?: boolean | undefined;
972
- };
973
- ANNUAL: {
974
- amounts: number[];
975
- defaultAmount: number;
976
- hideChooseYourAmount?: boolean | undefined;
977
- };
978
- };
333
+ }, z.core.$strip>;
334
+ }, z.core.$strip>;
335
+ }, z.core.$strip>>;
336
+ defaultChoiceCardFrequency: z.ZodOptional<z.ZodEnum<{
337
+ ONE_OFF: "ONE_OFF";
338
+ MONTHLY: "MONTHLY";
339
+ ANNUAL: "ANNUAL";
979
340
  }>>;
980
- defaultChoiceCardFrequency: z.ZodOptional<z.ZodEnum<["ONE_OFF", "MONTHLY", "ANNUAL"]>>;
981
- }, "strip", z.ZodTypeAny, {
982
- name: string;
983
- paragraphs: string[];
984
- heading?: string | undefined;
985
- highlightedText?: string | undefined;
986
- tickerSettings?: {
987
- name: "global" | "US" | "AU";
988
- copy: {
989
- countLabel: string;
990
- goalCopy?: string | undefined;
991
- };
992
- currencySymbol: string;
993
- tickerData?: {
994
- total: number;
995
- goal: number;
996
- } | undefined;
997
- } | undefined;
998
- cta?: {
999
- text: string;
1000
- baseUrl: string;
1001
- } | undefined;
1002
- secondaryCta?: {
1003
- type: import("../props").SecondaryCtaType.Custom;
1004
- cta: {
1005
- text: string;
1006
- baseUrl: string;
1007
- };
1008
- } | {
1009
- type: import("../props").SecondaryCtaType.ContributionsReminder;
1010
- } | undefined;
1011
- newsletterSignup?: {
1012
- newsletterId: string;
1013
- successDescription: string;
1014
- } | undefined;
1015
- image?: {
1016
- altText: string;
1017
- mainUrl: string;
1018
- mobileUrl?: string | undefined;
1019
- tabletUrl?: string | undefined;
1020
- desktopUrl?: string | undefined;
1021
- leftColUrl?: string | undefined;
1022
- wideUrl?: string | undefined;
1023
- } | undefined;
1024
- showReminderFields?: {
1025
- reminderCta: string;
1026
- reminderLabel: string;
1027
- reminderPeriod: string;
1028
- } | undefined;
1029
- separateArticleCount?: {
1030
- type: "above";
1031
- copy?: string | undefined;
1032
- countType?: "for52Weeks" | "forTargetedWeeks" | undefined;
1033
- } | undefined;
1034
- promoCodes?: string[] | null | undefined;
1035
- maxViews?: {
1036
- maxViewsCount: number;
1037
- maxViewsDays: number;
1038
- minDaysBetweenViews: number;
1039
- } | undefined;
1040
- showSignInLink?: boolean | undefined;
1041
- bylineWithImage?: {
1042
- name: string;
1043
- description?: string | undefined;
1044
- headshot?: {
1045
- altText: string;
1046
- mainUrl: string;
1047
- mobileUrl?: string | undefined;
1048
- tabletUrl?: string | undefined;
1049
- desktopUrl?: string | undefined;
1050
- leftColUrl?: string | undefined;
1051
- wideUrl?: string | undefined;
1052
- } | undefined;
1053
- } | undefined;
1054
- showChoiceCards?: boolean | undefined;
1055
- choiceCardsSettings?: {
1056
- choiceCards: {
1057
- product: {
1058
- supportTier: "Contribution";
1059
- ratePlan: "Monthly" | "Annual";
1060
- } | {
1061
- supportTier: "SupporterPlus";
1062
- ratePlan: "Monthly" | "Annual";
1063
- } | {
1064
- supportTier: "OneOff";
1065
- };
1066
- label: string;
1067
- isDefault: boolean;
1068
- benefits: {
1069
- copy: string;
1070
- }[];
1071
- benefitsLabel?: string | null | undefined;
1072
- pill?: {
1073
- copy: string;
1074
- textColour?: {
1075
- r: string;
1076
- b: string;
1077
- g: string;
1078
- kind: "hex";
1079
- } | null | undefined;
1080
- backgroundColour?: {
1081
- r: string;
1082
- b: string;
1083
- g: string;
1084
- kind: "hex";
1085
- } | null | undefined;
1086
- } | null | undefined;
1087
- destination?: "LandingPage" | "Checkout" | null | undefined;
1088
- }[];
1089
- mobileChoiceCards?: {
1090
- product: {
1091
- supportTier: "Contribution";
1092
- ratePlan: "Monthly" | "Annual";
1093
- } | {
1094
- supportTier: "SupporterPlus";
1095
- ratePlan: "Monthly" | "Annual";
1096
- } | {
1097
- supportTier: "OneOff";
1098
- };
1099
- label: string;
1100
- isDefault: boolean;
1101
- benefits: {
1102
- copy: string;
1103
- }[];
1104
- benefitsLabel?: string | null | undefined;
1105
- pill?: {
1106
- copy: string;
1107
- textColour?: {
1108
- r: string;
1109
- b: string;
1110
- g: string;
1111
- kind: "hex";
1112
- } | null | undefined;
1113
- backgroundColour?: {
1114
- r: string;
1115
- b: string;
1116
- g: string;
1117
- kind: "hex";
1118
- } | null | undefined;
1119
- } | null | undefined;
1120
- destination?: "LandingPage" | "Checkout" | null | undefined;
1121
- }[] | null | undefined;
1122
- } | null | undefined;
1123
- choiceCardAmounts?: {
1124
- testName: string;
1125
- variantName: string;
1126
- defaultContributionType: "ONE_OFF" | "MONTHLY" | "ANNUAL";
1127
- displayContributionType: ("ONE_OFF" | "MONTHLY" | "ANNUAL")[];
1128
- amountsCardData: {
1129
- ONE_OFF: {
1130
- amounts: number[];
1131
- defaultAmount: number;
1132
- hideChooseYourAmount?: boolean | undefined;
1133
- };
1134
- MONTHLY: {
1135
- amounts: number[];
1136
- defaultAmount: number;
1137
- hideChooseYourAmount?: boolean | undefined;
1138
- };
1139
- ANNUAL: {
1140
- amounts: number[];
1141
- defaultAmount: number;
1142
- hideChooseYourAmount?: boolean | undefined;
1143
- };
1144
- };
1145
- } | undefined;
1146
- defaultChoiceCardFrequency?: "ONE_OFF" | "MONTHLY" | "ANNUAL" | undefined;
1147
- }, {
1148
- name: string;
1149
- paragraphs: string[];
1150
- heading?: string | undefined;
1151
- highlightedText?: string | undefined;
1152
- tickerSettings?: {
1153
- name: "global" | "US" | "AU";
1154
- copy: {
1155
- countLabel: string;
1156
- goalCopy?: string | undefined;
1157
- };
1158
- currencySymbol: string;
1159
- tickerData?: {
1160
- total: number;
1161
- goal: number;
1162
- } | undefined;
1163
- } | undefined;
1164
- cta?: {
1165
- text: string;
1166
- baseUrl: string;
1167
- } | undefined;
1168
- secondaryCta?: {
1169
- type: import("../props").SecondaryCtaType.Custom;
1170
- cta: {
1171
- text: string;
1172
- baseUrl: string;
1173
- };
1174
- } | {
1175
- type: import("../props").SecondaryCtaType.ContributionsReminder;
1176
- } | undefined;
1177
- newsletterSignup?: {
1178
- newsletterId: string;
1179
- successDescription: string;
1180
- } | undefined;
1181
- image?: {
1182
- altText: string;
1183
- mainUrl: string;
1184
- mobileUrl?: string | undefined;
1185
- tabletUrl?: string | undefined;
1186
- desktopUrl?: string | undefined;
1187
- leftColUrl?: string | undefined;
1188
- wideUrl?: string | undefined;
1189
- } | undefined;
1190
- showReminderFields?: {
1191
- reminderCta: string;
1192
- reminderLabel: string;
1193
- reminderPeriod: string;
1194
- } | undefined;
1195
- separateArticleCount?: {
1196
- type: "above";
1197
- copy?: string | undefined;
1198
- countType?: "for52Weeks" | "forTargetedWeeks" | undefined;
1199
- } | undefined;
1200
- promoCodes?: string[] | null | undefined;
1201
- maxViews?: {
1202
- maxViewsCount: number;
1203
- maxViewsDays: number;
1204
- minDaysBetweenViews: number;
1205
- } | undefined;
1206
- showSignInLink?: boolean | undefined;
1207
- bylineWithImage?: {
1208
- name: string;
1209
- description?: string | undefined;
1210
- headshot?: {
1211
- altText: string;
1212
- mainUrl: string;
1213
- mobileUrl?: string | undefined;
1214
- tabletUrl?: string | undefined;
1215
- desktopUrl?: string | undefined;
1216
- leftColUrl?: string | undefined;
1217
- wideUrl?: string | undefined;
1218
- } | undefined;
1219
- } | undefined;
1220
- showChoiceCards?: boolean | undefined;
1221
- choiceCardsSettings?: {
1222
- choiceCards: {
1223
- product: {
1224
- supportTier: "Contribution";
1225
- ratePlan: "Monthly" | "Annual";
1226
- } | {
1227
- supportTier: "SupporterPlus";
1228
- ratePlan: "Monthly" | "Annual";
1229
- } | {
1230
- supportTier: "OneOff";
1231
- };
1232
- label: string;
1233
- isDefault: boolean;
1234
- benefits: {
1235
- copy: string;
1236
- }[];
1237
- benefitsLabel?: string | null | undefined;
1238
- pill?: {
1239
- copy: string;
1240
- textColour?: {
1241
- r: string;
1242
- b: string;
1243
- g: string;
1244
- kind: "hex";
1245
- } | null | undefined;
1246
- backgroundColour?: {
1247
- r: string;
1248
- b: string;
1249
- g: string;
1250
- kind: "hex";
1251
- } | null | undefined;
1252
- } | null | undefined;
1253
- destination?: "LandingPage" | "Checkout" | null | undefined;
1254
- }[];
1255
- mobileChoiceCards?: {
1256
- product: {
1257
- supportTier: "Contribution";
1258
- ratePlan: "Monthly" | "Annual";
1259
- } | {
1260
- supportTier: "SupporterPlus";
1261
- ratePlan: "Monthly" | "Annual";
1262
- } | {
1263
- supportTier: "OneOff";
1264
- };
1265
- label: string;
1266
- isDefault: boolean;
1267
- benefits: {
1268
- copy: string;
1269
- }[];
1270
- benefitsLabel?: string | null | undefined;
1271
- pill?: {
1272
- copy: string;
1273
- textColour?: {
1274
- r: string;
1275
- b: string;
1276
- g: string;
1277
- kind: "hex";
1278
- } | null | undefined;
1279
- backgroundColour?: {
1280
- r: string;
1281
- b: string;
1282
- g: string;
1283
- kind: "hex";
1284
- } | null | undefined;
1285
- } | null | undefined;
1286
- destination?: "LandingPage" | "Checkout" | null | undefined;
1287
- }[] | null | undefined;
1288
- } | null | undefined;
1289
- choiceCardAmounts?: {
1290
- testName: string;
1291
- variantName: string;
1292
- defaultContributionType: "ONE_OFF" | "MONTHLY" | "ANNUAL";
1293
- displayContributionType: ("ONE_OFF" | "MONTHLY" | "ANNUAL")[];
1294
- amountsCardData: {
1295
- ONE_OFF: {
1296
- amounts: number[];
1297
- defaultAmount: number;
1298
- hideChooseYourAmount?: boolean | undefined;
1299
- };
1300
- MONTHLY: {
1301
- amounts: number[];
1302
- defaultAmount: number;
1303
- hideChooseYourAmount?: boolean | undefined;
1304
- };
1305
- ANNUAL: {
1306
- amounts: number[];
1307
- defaultAmount: number;
1308
- hideChooseYourAmount?: boolean | undefined;
1309
- };
1310
- };
1311
- } | undefined;
1312
- defaultChoiceCardFrequency?: "ONE_OFF" | "MONTHLY" | "ANNUAL" | undefined;
1313
- }>, "many">;
1314
- }, "strip", z.ZodTypeAny, {
1315
- name: string;
1316
- channel: "Epic" | "EpicAppleNews" | "EpicLiveblog" | "Banner1" | "Banner2" | "Header" | "GutterLiveblog";
1317
- priority: number;
1318
- status: "Live" | "Draft" | "Archived";
1319
- tagIds: string[];
1320
- excludedTagIds: string[];
1321
- sections: string[];
1322
- excludedSections: string[];
1323
- alwaysAsk: boolean;
1324
- userCohort: "AllExistingSupporters" | "AllNonSupporters" | "Everyone" | "PostAskPauseSingleContributors";
1325
- hasCountryName: boolean;
1326
- highPriority: boolean;
1327
- useLocalViewLog: boolean;
1328
- variants: {
1329
- name: string;
1330
- paragraphs: string[];
1331
- heading?: string | undefined;
1332
- highlightedText?: string | undefined;
1333
- tickerSettings?: {
1334
- name: "global" | "US" | "AU";
1335
- copy: {
1336
- countLabel: string;
1337
- goalCopy?: string | undefined;
1338
- };
1339
- currencySymbol: string;
1340
- tickerData?: {
1341
- total: number;
1342
- goal: number;
1343
- } | undefined;
1344
- } | undefined;
1345
- cta?: {
1346
- text: string;
1347
- baseUrl: string;
1348
- } | undefined;
1349
- secondaryCta?: {
1350
- type: import("../props").SecondaryCtaType.Custom;
1351
- cta: {
1352
- text: string;
1353
- baseUrl: string;
1354
- };
1355
- } | {
1356
- type: import("../props").SecondaryCtaType.ContributionsReminder;
1357
- } | undefined;
1358
- newsletterSignup?: {
1359
- newsletterId: string;
1360
- successDescription: string;
1361
- } | undefined;
1362
- image?: {
1363
- altText: string;
1364
- mainUrl: string;
1365
- mobileUrl?: string | undefined;
1366
- tabletUrl?: string | undefined;
1367
- desktopUrl?: string | undefined;
1368
- leftColUrl?: string | undefined;
1369
- wideUrl?: string | undefined;
1370
- } | undefined;
1371
- showReminderFields?: {
1372
- reminderCta: string;
1373
- reminderLabel: string;
1374
- reminderPeriod: string;
1375
- } | undefined;
1376
- separateArticleCount?: {
1377
- type: "above";
1378
- copy?: string | undefined;
1379
- countType?: "for52Weeks" | "forTargetedWeeks" | undefined;
1380
- } | undefined;
1381
- promoCodes?: string[] | null | undefined;
1382
- maxViews?: {
1383
- maxViewsCount: number;
1384
- maxViewsDays: number;
1385
- minDaysBetweenViews: number;
1386
- } | undefined;
1387
- showSignInLink?: boolean | undefined;
1388
- bylineWithImage?: {
1389
- name: string;
1390
- description?: string | undefined;
1391
- headshot?: {
1392
- altText: string;
1393
- mainUrl: string;
1394
- mobileUrl?: string | undefined;
1395
- tabletUrl?: string | undefined;
1396
- desktopUrl?: string | undefined;
1397
- leftColUrl?: string | undefined;
1398
- wideUrl?: string | undefined;
1399
- } | undefined;
1400
- } | undefined;
1401
- showChoiceCards?: boolean | undefined;
1402
- choiceCardsSettings?: {
1403
- choiceCards: {
1404
- product: {
1405
- supportTier: "Contribution";
1406
- ratePlan: "Monthly" | "Annual";
1407
- } | {
1408
- supportTier: "SupporterPlus";
1409
- ratePlan: "Monthly" | "Annual";
1410
- } | {
1411
- supportTier: "OneOff";
1412
- };
1413
- label: string;
1414
- isDefault: boolean;
1415
- benefits: {
1416
- copy: string;
1417
- }[];
1418
- benefitsLabel?: string | null | undefined;
1419
- pill?: {
1420
- copy: string;
1421
- textColour?: {
1422
- r: string;
1423
- b: string;
1424
- g: string;
1425
- kind: "hex";
1426
- } | null | undefined;
1427
- backgroundColour?: {
1428
- r: string;
1429
- b: string;
1430
- g: string;
1431
- kind: "hex";
1432
- } | null | undefined;
1433
- } | null | undefined;
1434
- destination?: "LandingPage" | "Checkout" | null | undefined;
1435
- }[];
1436
- mobileChoiceCards?: {
1437
- product: {
1438
- supportTier: "Contribution";
1439
- ratePlan: "Monthly" | "Annual";
1440
- } | {
1441
- supportTier: "SupporterPlus";
1442
- ratePlan: "Monthly" | "Annual";
1443
- } | {
1444
- supportTier: "OneOff";
1445
- };
1446
- label: string;
1447
- isDefault: boolean;
1448
- benefits: {
1449
- copy: string;
1450
- }[];
1451
- benefitsLabel?: string | null | undefined;
1452
- pill?: {
1453
- copy: string;
1454
- textColour?: {
1455
- r: string;
1456
- b: string;
1457
- g: string;
1458
- kind: "hex";
1459
- } | null | undefined;
1460
- backgroundColour?: {
1461
- r: string;
1462
- b: string;
1463
- g: string;
1464
- kind: "hex";
1465
- } | null | undefined;
1466
- } | null | undefined;
1467
- destination?: "LandingPage" | "Checkout" | null | undefined;
1468
- }[] | null | undefined;
1469
- } | null | undefined;
1470
- choiceCardAmounts?: {
1471
- testName: string;
1472
- variantName: string;
1473
- defaultContributionType: "ONE_OFF" | "MONTHLY" | "ANNUAL";
1474
- displayContributionType: ("ONE_OFF" | "MONTHLY" | "ANNUAL")[];
1475
- amountsCardData: {
1476
- ONE_OFF: {
1477
- amounts: number[];
1478
- defaultAmount: number;
1479
- hideChooseYourAmount?: boolean | undefined;
1480
- };
1481
- MONTHLY: {
1482
- amounts: number[];
1483
- defaultAmount: number;
1484
- hideChooseYourAmount?: boolean | undefined;
1485
- };
1486
- ANNUAL: {
1487
- amounts: number[];
1488
- defaultAmount: number;
1489
- hideChooseYourAmount?: boolean | undefined;
1490
- };
1491
- };
1492
- } | undefined;
1493
- defaultChoiceCardFrequency?: "ONE_OFF" | "MONTHLY" | "ANNUAL" | undefined;
1494
- }[];
1495
- controlProportionSettings?: {
1496
- offset: number;
1497
- proportion: number;
1498
- } | undefined;
1499
- deviceType?: "Mobile" | "Desktop" | "All" | "iOS" | "Android" | undefined;
1500
- signedInStatus?: "All" | "SignedIn" | "SignedOut" | undefined;
1501
- consentStatus?: "All" | "HasConsented" | "HasNotConsented" | undefined;
1502
- methodologies?: (({
1503
- name: "ABTest";
1504
- } | {
1505
- name: "EpsilonGreedyBandit";
1506
- epsilon: number;
1507
- sampleCount?: number | undefined;
1508
- } | {
1509
- name: "Roulette";
1510
- sampleCount?: number | undefined;
1511
- }) & {
1512
- testName?: string | undefined;
1513
- })[] | undefined;
1514
- locations?: ("GBPCountries" | "UnitedStates" | "AUDCountries" | "EURCountries" | "International" | "NZDCountries" | "Canada")[] | undefined;
1515
- regionTargeting?: {
1516
- targetedCountryGroups: ("GBPCountries" | "UnitedStates" | "AUDCountries" | "EURCountries" | "International" | "NZDCountries" | "Canada")[];
1517
- targetedCountryCodes?: string[] | undefined;
1518
- } | undefined;
1519
- maxViews?: {
1520
- maxViewsCount: number;
1521
- maxViewsDays: number;
1522
- minDaysBetweenViews: number;
1523
- } | undefined;
1524
- articlesViewedSettings?: {
1525
- minViews: number;
1526
- periodInWeeks: number;
1527
- maxViews?: number | undefined;
1528
- tagIds?: string[] | undefined;
1529
- } | undefined;
1530
- }, {
1531
- name: string;
1532
- channel: "Epic" | "EpicAppleNews" | "EpicLiveblog" | "Banner1" | "Banner2" | "Header" | "GutterLiveblog";
1533
- priority: number;
1534
- status: "Live" | "Draft" | "Archived";
1535
- tagIds: string[];
1536
- excludedTagIds: string[];
1537
- sections: string[];
1538
- excludedSections: string[];
1539
- alwaysAsk: boolean;
1540
- userCohort: "AllExistingSupporters" | "AllNonSupporters" | "Everyone" | "PostAskPauseSingleContributors";
1541
- hasCountryName: boolean;
1542
- highPriority: boolean;
1543
- useLocalViewLog: boolean;
1544
- variants: {
1545
- name: string;
1546
- paragraphs: string[];
1547
- heading?: string | undefined;
1548
- highlightedText?: string | undefined;
1549
- tickerSettings?: {
1550
- name: "global" | "US" | "AU";
1551
- copy: {
1552
- countLabel: string;
1553
- goalCopy?: string | undefined;
1554
- };
1555
- currencySymbol: string;
1556
- tickerData?: {
1557
- total: number;
1558
- goal: number;
1559
- } | undefined;
1560
- } | undefined;
1561
- cta?: {
1562
- text: string;
1563
- baseUrl: string;
1564
- } | undefined;
1565
- secondaryCta?: {
1566
- type: import("../props").SecondaryCtaType.Custom;
1567
- cta: {
1568
- text: string;
1569
- baseUrl: string;
1570
- };
1571
- } | {
1572
- type: import("../props").SecondaryCtaType.ContributionsReminder;
1573
- } | undefined;
1574
- newsletterSignup?: {
1575
- newsletterId: string;
1576
- successDescription: string;
1577
- } | undefined;
1578
- image?: {
1579
- altText: string;
1580
- mainUrl: string;
1581
- mobileUrl?: string | undefined;
1582
- tabletUrl?: string | undefined;
1583
- desktopUrl?: string | undefined;
1584
- leftColUrl?: string | undefined;
1585
- wideUrl?: string | undefined;
1586
- } | undefined;
1587
- showReminderFields?: {
1588
- reminderCta: string;
1589
- reminderLabel: string;
1590
- reminderPeriod: string;
1591
- } | undefined;
1592
- separateArticleCount?: {
1593
- type: "above";
1594
- copy?: string | undefined;
1595
- countType?: "for52Weeks" | "forTargetedWeeks" | undefined;
1596
- } | undefined;
1597
- promoCodes?: string[] | null | undefined;
1598
- maxViews?: {
1599
- maxViewsCount: number;
1600
- maxViewsDays: number;
1601
- minDaysBetweenViews: number;
1602
- } | undefined;
1603
- showSignInLink?: boolean | undefined;
1604
- bylineWithImage?: {
1605
- name: string;
1606
- description?: string | undefined;
1607
- headshot?: {
1608
- altText: string;
1609
- mainUrl: string;
1610
- mobileUrl?: string | undefined;
1611
- tabletUrl?: string | undefined;
1612
- desktopUrl?: string | undefined;
1613
- leftColUrl?: string | undefined;
1614
- wideUrl?: string | undefined;
1615
- } | undefined;
1616
- } | undefined;
1617
- showChoiceCards?: boolean | undefined;
1618
- choiceCardsSettings?: {
1619
- choiceCards: {
1620
- product: {
1621
- supportTier: "Contribution";
1622
- ratePlan: "Monthly" | "Annual";
1623
- } | {
1624
- supportTier: "SupporterPlus";
1625
- ratePlan: "Monthly" | "Annual";
1626
- } | {
1627
- supportTier: "OneOff";
1628
- };
1629
- label: string;
1630
- isDefault: boolean;
1631
- benefits: {
1632
- copy: string;
1633
- }[];
1634
- benefitsLabel?: string | null | undefined;
1635
- pill?: {
1636
- copy: string;
1637
- textColour?: {
1638
- r: string;
1639
- b: string;
1640
- g: string;
1641
- kind: "hex";
1642
- } | null | undefined;
1643
- backgroundColour?: {
1644
- r: string;
1645
- b: string;
1646
- g: string;
1647
- kind: "hex";
1648
- } | null | undefined;
1649
- } | null | undefined;
1650
- destination?: "LandingPage" | "Checkout" | null | undefined;
1651
- }[];
1652
- mobileChoiceCards?: {
1653
- product: {
1654
- supportTier: "Contribution";
1655
- ratePlan: "Monthly" | "Annual";
1656
- } | {
1657
- supportTier: "SupporterPlus";
1658
- ratePlan: "Monthly" | "Annual";
1659
- } | {
1660
- supportTier: "OneOff";
1661
- };
1662
- label: string;
1663
- isDefault: boolean;
1664
- benefits: {
1665
- copy: string;
1666
- }[];
1667
- benefitsLabel?: string | null | undefined;
1668
- pill?: {
1669
- copy: string;
1670
- textColour?: {
1671
- r: string;
1672
- b: string;
1673
- g: string;
1674
- kind: "hex";
1675
- } | null | undefined;
1676
- backgroundColour?: {
1677
- r: string;
1678
- b: string;
1679
- g: string;
1680
- kind: "hex";
1681
- } | null | undefined;
1682
- } | null | undefined;
1683
- destination?: "LandingPage" | "Checkout" | null | undefined;
1684
- }[] | null | undefined;
1685
- } | null | undefined;
1686
- choiceCardAmounts?: {
1687
- testName: string;
1688
- variantName: string;
1689
- defaultContributionType: "ONE_OFF" | "MONTHLY" | "ANNUAL";
1690
- displayContributionType: ("ONE_OFF" | "MONTHLY" | "ANNUAL")[];
1691
- amountsCardData: {
1692
- ONE_OFF: {
1693
- amounts: number[];
1694
- defaultAmount: number;
1695
- hideChooseYourAmount?: boolean | undefined;
1696
- };
1697
- MONTHLY: {
1698
- amounts: number[];
1699
- defaultAmount: number;
1700
- hideChooseYourAmount?: boolean | undefined;
1701
- };
1702
- ANNUAL: {
1703
- amounts: number[];
1704
- defaultAmount: number;
1705
- hideChooseYourAmount?: boolean | undefined;
1706
- };
1707
- };
1708
- } | undefined;
1709
- defaultChoiceCardFrequency?: "ONE_OFF" | "MONTHLY" | "ANNUAL" | undefined;
1710
- }[];
1711
- controlProportionSettings?: {
1712
- offset: number;
1713
- proportion: number;
1714
- } | undefined;
1715
- deviceType?: "Mobile" | "Desktop" | "All" | "iOS" | "Android" | undefined;
1716
- signedInStatus?: "All" | "SignedIn" | "SignedOut" | undefined;
1717
- consentStatus?: "All" | "HasConsented" | "HasNotConsented" | undefined;
1718
- methodologies?: (({
1719
- name: "ABTest";
1720
- } | {
1721
- name: "EpsilonGreedyBandit";
1722
- epsilon: number;
1723
- sampleCount?: number | undefined;
1724
- } | {
1725
- name: "Roulette";
1726
- sampleCount?: number | undefined;
1727
- }) & {
1728
- testName?: string | undefined;
1729
- })[] | undefined;
1730
- locations?: ("GBPCountries" | "UnitedStates" | "AUDCountries" | "EURCountries" | "International" | "NZDCountries" | "Canada")[] | undefined;
1731
- regionTargeting?: {
1732
- targetedCountryGroups: ("GBPCountries" | "UnitedStates" | "AUDCountries" | "EURCountries" | "International" | "NZDCountries" | "Canada")[];
1733
- targetedCountryCodes?: string[] | undefined;
1734
- } | undefined;
1735
- maxViews?: {
1736
- maxViewsCount: number;
1737
- maxViewsDays: number;
1738
- minDaysBetweenViews: number;
1739
- } | undefined;
1740
- articlesViewedSettings?: {
1741
- minViews: number;
1742
- periodInWeeks: number;
1743
- maxViews?: number | undefined;
1744
- tagIds?: string[] | undefined;
1745
- } | undefined;
1746
- }>;
341
+ }, z.core.$strip>>;
342
+ }, z.core.$strip>;
1747
343
  export type EpicVariant = z.infer<typeof variantSchema>;
1748
344
  export {};
1749
345
  //# sourceMappingURL=epic.d.ts.map