@guardian/support-dotcom-components 11.0.0 → 11.1.1

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 (108) hide show
  1. package/dist/index.esm.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/{dotcom → src/dotcom}/index.d.ts +0 -1
  4. package/dist/src/dotcom/index.d.ts.map +1 -0
  5. package/dist/src/dotcom/requests.d.ts.map +1 -0
  6. package/dist/{dotcom → src/dotcom}/types.d.ts +2 -1
  7. package/dist/src/dotcom/types.d.ts.map +1 -0
  8. package/dist/{shared → src/shared}/lib/geolocation.d.ts +26 -0
  9. package/dist/src/shared/lib/geolocation.d.ts.map +1 -0
  10. package/dist/src/shared/lib/history.d.ts.map +1 -0
  11. package/dist/src/shared/lib/index.d.ts.map +1 -0
  12. package/dist/src/shared/lib/placeholders.d.ts.map +1 -0
  13. package/dist/src/shared/lib/reminderFields.d.ts.map +1 -0
  14. package/dist/src/shared/lib/viewLog.d.ts.map +1 -0
  15. package/dist/{shared → src/shared}/types/abTests/banner.d.ts +24 -8
  16. package/dist/src/shared/types/abTests/banner.d.ts.map +1 -0
  17. package/dist/{shared → src/shared}/types/abTests/epic.d.ts +8 -44
  18. package/dist/src/shared/types/abTests/epic.d.ts.map +1 -0
  19. package/dist/{shared → src/shared}/types/abTests/gutter.d.ts +5 -0
  20. package/dist/src/shared/types/abTests/gutter.d.ts.map +1 -0
  21. package/dist/{shared → src/shared}/types/abTests/header.d.ts +5 -0
  22. package/dist/src/shared/types/abTests/header.d.ts.map +1 -0
  23. package/dist/{shared/types/targeting → src/shared/types/abTests}/index.d.ts +2 -1
  24. package/dist/src/shared/types/abTests/index.d.ts.map +1 -0
  25. package/dist/src/shared/types/abTests/inline1.d.ts +123 -0
  26. package/dist/src/shared/types/abTests/inline1.d.ts.map +1 -0
  27. package/dist/{shared → src/shared}/types/abTests/shared.d.ts +2 -1
  28. package/dist/src/shared/types/abTests/shared.d.ts.map +1 -0
  29. package/dist/src/shared/types/index.d.ts.map +1 -0
  30. package/dist/src/shared/types/prices.d.ts.map +1 -0
  31. package/dist/{shared → src/shared}/types/props/banner.d.ts +1 -0
  32. package/dist/src/shared/types/props/banner.d.ts.map +1 -0
  33. package/dist/src/shared/types/props/choiceCards.d.ts.map +1 -0
  34. package/dist/src/shared/types/props/design.d.ts.map +1 -0
  35. package/dist/{shared → src/shared}/types/props/epic.d.ts +1 -0
  36. package/dist/src/shared/types/props/epic.d.ts.map +1 -0
  37. package/dist/src/shared/types/props/gutter.d.ts.map +1 -0
  38. package/dist/src/shared/types/props/header.d.ts.map +1 -0
  39. package/dist/{shared → src/shared}/types/props/index.d.ts +1 -0
  40. package/dist/src/shared/types/props/index.d.ts.map +1 -0
  41. package/dist/src/shared/types/props/inline1.d.ts +153 -0
  42. package/dist/src/shared/types/props/inline1.d.ts.map +1 -0
  43. package/dist/src/shared/types/props/shared.d.ts.map +1 -0
  44. package/dist/src/shared/types/purchaseInfo.d.ts.map +1 -0
  45. package/dist/src/shared/types/reminders.d.ts.map +1 -0
  46. package/dist/{shared → src/shared}/types/targeting/banner.d.ts +1 -0
  47. package/dist/src/shared/types/targeting/banner.d.ts.map +1 -0
  48. package/dist/src/shared/types/targeting/epic.d.ts.map +1 -0
  49. package/dist/src/shared/types/targeting/gutter.d.ts.map +1 -0
  50. package/dist/src/shared/types/targeting/header.d.ts.map +1 -0
  51. package/dist/{shared/types/abTests → src/shared/types/targeting}/index.d.ts +2 -1
  52. package/dist/src/shared/types/targeting/index.d.ts.map +1 -0
  53. package/dist/src/shared/types/targeting/inline1.d.ts +14 -0
  54. package/dist/src/shared/types/targeting/inline1.d.ts.map +1 -0
  55. package/dist/src/shared/types/targeting/shared.d.ts.map +1 -0
  56. package/package.json +2 -3
  57. package/dist/dotcom/index.d.ts.map +0 -1
  58. package/dist/dotcom/requests.d.ts.map +0 -1
  59. package/dist/dotcom/types.d.ts.map +0 -1
  60. package/dist/shared/lib/geolocation.d.ts.map +0 -1
  61. package/dist/shared/lib/history.d.ts.map +0 -1
  62. package/dist/shared/lib/index.d.ts.map +0 -1
  63. package/dist/shared/lib/placeholders.d.ts.map +0 -1
  64. package/dist/shared/lib/reminderFields.d.ts.map +0 -1
  65. package/dist/shared/lib/viewLog.d.ts.map +0 -1
  66. package/dist/shared/types/abTests/banner.d.ts.map +0 -1
  67. package/dist/shared/types/abTests/epic.d.ts.map +0 -1
  68. package/dist/shared/types/abTests/gutter.d.ts.map +0 -1
  69. package/dist/shared/types/abTests/header.d.ts.map +0 -1
  70. package/dist/shared/types/abTests/index.d.ts.map +0 -1
  71. package/dist/shared/types/abTests/shared.d.ts.map +0 -1
  72. package/dist/shared/types/index.d.ts.map +0 -1
  73. package/dist/shared/types/prices.d.ts.map +0 -1
  74. package/dist/shared/types/props/banner.d.ts.map +0 -1
  75. package/dist/shared/types/props/choiceCards.d.ts.map +0 -1
  76. package/dist/shared/types/props/design.d.ts.map +0 -1
  77. package/dist/shared/types/props/epic.d.ts.map +0 -1
  78. package/dist/shared/types/props/gutter.d.ts.map +0 -1
  79. package/dist/shared/types/props/header.d.ts.map +0 -1
  80. package/dist/shared/types/props/index.d.ts.map +0 -1
  81. package/dist/shared/types/props/shared.d.ts.map +0 -1
  82. package/dist/shared/types/purchaseInfo.d.ts.map +0 -1
  83. package/dist/shared/types/reminders.d.ts.map +0 -1
  84. package/dist/shared/types/targeting/banner.d.ts.map +0 -1
  85. package/dist/shared/types/targeting/epic.d.ts.map +0 -1
  86. package/dist/shared/types/targeting/gutter.d.ts.map +0 -1
  87. package/dist/shared/types/targeting/header.d.ts.map +0 -1
  88. package/dist/shared/types/targeting/index.d.ts.map +0 -1
  89. package/dist/shared/types/targeting/shared.d.ts.map +0 -1
  90. /package/dist/{dotcom → src/dotcom}/requests.d.ts +0 -0
  91. /package/dist/{shared → src/shared}/lib/history.d.ts +0 -0
  92. /package/dist/{shared → src/shared}/lib/index.d.ts +0 -0
  93. /package/dist/{shared → src/shared}/lib/placeholders.d.ts +0 -0
  94. /package/dist/{shared → src/shared}/lib/reminderFields.d.ts +0 -0
  95. /package/dist/{shared → src/shared}/lib/viewLog.d.ts +0 -0
  96. /package/dist/{shared → src/shared}/types/index.d.ts +0 -0
  97. /package/dist/{shared → src/shared}/types/prices.d.ts +0 -0
  98. /package/dist/{shared → src/shared}/types/props/choiceCards.d.ts +0 -0
  99. /package/dist/{shared → src/shared}/types/props/design.d.ts +0 -0
  100. /package/dist/{shared → src/shared}/types/props/gutter.d.ts +0 -0
  101. /package/dist/{shared → src/shared}/types/props/header.d.ts +0 -0
  102. /package/dist/{shared → src/shared}/types/props/shared.d.ts +0 -0
  103. /package/dist/{shared → src/shared}/types/purchaseInfo.d.ts +0 -0
  104. /package/dist/{shared → src/shared}/types/reminders.d.ts +0 -0
  105. /package/dist/{shared → src/shared}/types/targeting/epic.d.ts +0 -0
  106. /package/dist/{shared → src/shared}/types/targeting/gutter.d.ts +0 -0
  107. /package/dist/{shared → src/shared}/types/targeting/header.d.ts +0 -0
  108. /package/dist/{shared → src/shared}/types/targeting/shared.d.ts +0 -0
@@ -10,6 +10,11 @@ export declare const countryGroupIdSchema: z.ZodEnum<{
10
10
  NZDCountries: "NZDCountries";
11
11
  Canada: "Canada";
12
12
  }>;
13
+ export declare const contributionsOnlyCountriesTargetingSchema: z.ZodEnum<{
14
+ Include: "Include";
15
+ Exclude: "Exclude";
16
+ }>;
17
+ export type ContributionsOnlyCountriesTargeting = z.infer<typeof contributionsOnlyCountriesTargetingSchema>;
13
18
  export declare const targetedRegionsSchema: z.ZodOptional<z.ZodObject<{
14
19
  targetedCountryGroups: z.ZodArray<z.ZodEnum<{
15
20
  GBPCountries: "GBPCountries";
@@ -21,7 +26,12 @@ export declare const targetedRegionsSchema: z.ZodOptional<z.ZodObject<{
21
26
  Canada: "Canada";
22
27
  }>>;
23
28
  targetedCountryCodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
29
+ contributionsOnlyCountriesTargeting: z.ZodOptional<z.ZodEnum<{
30
+ Include: "Include";
31
+ Exclude: "Exclude";
32
+ }>>;
24
33
  }, z.core.$strip>>;
34
+ export type RegionTargeting = z.infer<typeof targetedRegionsSchema>;
25
35
  export type SupportRegionId = 'UK' | 'US' | 'AU' | 'EU' | 'INT' | 'NZ' | 'CA';
26
36
  export type IsoCurrency = 'GBP' | 'USD' | 'AUD' | 'EUR' | 'NZD' | 'CAD';
27
37
  export type CountryGroup = {
@@ -36,6 +46,22 @@ export type Region = keyof typeof countryGroups;
36
46
  export declare const isoCurrencyToCurrencySymbol: Record<IsoCurrency, string>;
37
47
  export declare const countryCodeToCountryGroupId: (countryCode?: string) => CountryGroupId;
38
48
  export declare const inTargetedCountry: (countryCodeFromPayload?: string, countryGroups?: CountryGroupId[], countryCodes?: string[]) => boolean;
49
+ /**
50
+ * Evaluates a test's contributions-only-countries targeting against the user's country.
51
+ *
52
+ * - `Include`: the test only shows in contributions-only countries.
53
+ * - `Exclude`: the test never shows in contributions-only countries (used for epics/banners
54
+ * that mention products/promos unavailable in these countries).
55
+ * - undefined: defaults to `Exclude` (so existing tests are suppressed in
56
+ * contributions-only countries without needing a config change).
57
+ *
58
+ * When the user's country code is unknown, the test is shown (we can't apply
59
+ * geo-targeting without geolocation data, and suppressing everything would break
60
+ * the case where geolocation fails to load).
61
+ */
62
+ export declare const passesContributionsOnlyTargeting: (regionTargeting: {
63
+ contributionsOnlyCountriesTargeting?: ContributionsOnlyCountriesTargeting;
64
+ } | undefined, countryCode: string | undefined, contributionsOnlyCountries: string[]) => boolean;
39
65
  export declare const getLocalCurrencySymbol: (geolocation?: string) => string;
40
66
  export declare const getCountryName: (geolocation?: string) => string | undefined;
41
67
  export declare const isGWCheckoutUrl: (baseUrl: string) => boolean;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geolocation.d.ts","sourceRoot":"","sources":["../../../../../shared/lib/geolocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,e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,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,gCAAgC,GACzC,iBACI;IAAE,mCAAmC,CAAC,EAAE,mCAAmC,CAAA;CAAE,GAAG,SAAS,EAC7F,aAAa,MAAM,GAAG,SAAS,EAC/B,4BAA4B,MAAM,EAAE,KACrC,OAOF,CAAC;AAQF,eAAO,MAAM,sBAAsB,GAAI,cAAc,MAAM,KAAG,MAO7D,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,cAAc,MAAM,KAAG,MAAM,GAAG,SAM9D,CAAC;AAKF,eAAO,MAAM,eAAe,GAAI,SAAS,MAAM,KAAG,OACD,CAAC;AAElD,eAAO,MAAM,uBAAuB,GAAI,aAAa,MAAM,EAAE,cAAc,MAAM,KAAG,MAYnF,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../../../shared/lib/history.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,YAAY,EAEZ,oBAAoB,EAEvB,MAAM,oBAAoB,CAAC;AAK5B,MAAM,WAAW,qBAAqB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACpC;AAGD,eAAO,MAAM,iBAAiB,GAAI,MAAM,IAAI,KAAG,MAI9C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAChC,cAAc,YAAY,KAC3B,oBAAoB,GAAG,SAEzB,CAAC;AAuEF;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,GACpC,cAAc,YAAY,EAC1B,QAAQ,MAAM,EACd,QAAQ,MAAM,EAAE,KACjB,IAiCF,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../shared/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"placeholders.d.ts","sourceRoot":"","sources":["../../../../../shared/lib/placeholders.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,MAAM,EAAY,MAAM,iBAAiB,CAAC;AAsBzE,eAAO,MAAM,YAAY,GAAI,OAAM,IAAiB,KAAG,MACF,CAAC;AACtD,eAAO,MAAM,OAAO,GAAI,OAAM,IAAiB,KAAG,MACkC,CAAC;AAiBrF;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,GAC3C,SAAS,MAAM,GAAG,SAAS,EAC3B,cAAc,MAAM,EACpB,SAAS,MAAM,KAChB,MAgBF,CAAC;AAIF,eAAO,MAAM,kCAAkC,GAAI,MAAM,MAAM,KAAG,OAGjE,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAAI,MAAM,MAAM,KAAG,OAG9D,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reminderFields.d.ts","sourceRoot":"","sources":["../../../../../shared/lib/reminderFields.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAuDD,eAAO,MAAM,mBAAmB,GAAI,QAAO,IAAiB,KAAG,cAa9D,CAAC;AAeF,eAAO,MAAM,iBAAiB,GAC1B,cAAc,MAAM,EACpB,OAAM,IAAiB,KACxB,cAUF,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"viewLog.d.ts","sourceRoot":"","sources":["../../../../../shared/lib/viewLog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAU9D,UAAU,QAAQ;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAClB;AACD,MAAM,MAAM,WAAW,GAAG,QAAQ,EAAE,CAAC;AAErC;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,cAAc,YAAY,KAAG,WAAW,GAAG,SAMzE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,GAAI,QAAQ,MAAM,KAAG,IAc5C,CAAC"}
@@ -54,13 +54,13 @@ export declare const bannerVariantFromToolSchema: z.ZodObject<{
54
54
  baseUrl: z.ZodString;
55
55
  }, z.core.$strip>>;
56
56
  secondaryCta: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
57
- type: z.ZodLiteral<import("../props").SecondaryCtaType.Custom>;
57
+ type: z.ZodLiteral<import("..").SecondaryCtaType.Custom>;
58
58
  cta: z.ZodObject<{
59
59
  text: z.ZodString;
60
60
  baseUrl: z.ZodString;
61
61
  }, z.core.$strip>;
62
62
  }, z.core.$strip>, z.ZodObject<{
63
- type: z.ZodLiteral<import("../props").SecondaryCtaType.ContributionsReminder>;
63
+ type: z.ZodLiteral<import("..").SecondaryCtaType.ContributionsReminder>;
64
64
  }, z.core.$strip>], "type">>;
65
65
  }, z.core.$strip>>;
66
66
  mobileBannerContent: z.ZodOptional<z.ZodObject<{
@@ -74,13 +74,13 @@ export declare const bannerVariantFromToolSchema: z.ZodObject<{
74
74
  baseUrl: z.ZodString;
75
75
  }, z.core.$strip>>;
76
76
  secondaryCta: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
77
- type: z.ZodLiteral<import("../props").SecondaryCtaType.Custom>;
77
+ type: z.ZodLiteral<import("..").SecondaryCtaType.Custom>;
78
78
  cta: z.ZodObject<{
79
79
  text: z.ZodString;
80
80
  baseUrl: z.ZodString;
81
81
  }, z.core.$strip>;
82
82
  }, z.core.$strip>, z.ZodObject<{
83
- type: z.ZodLiteral<import("../props").SecondaryCtaType.ContributionsReminder>;
83
+ type: z.ZodLiteral<import("..").SecondaryCtaType.ContributionsReminder>;
84
84
  }, z.core.$strip>], "type">>;
85
85
  }, z.core.$strip>>;
86
86
  separateArticleCount: z.ZodOptional<z.ZodBoolean>;
@@ -178,6 +178,11 @@ export declare const bannerVariantFromToolSchema: z.ZodObject<{
178
178
  }, z.core.$strip>>>;
179
179
  promoCodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
180
180
  isCollapsible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
181
+ bannerStepMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
182
+ OneStep: "OneStep";
183
+ TwoStep: "TwoStep";
184
+ TwoStepIfAllowed: "TwoStepIfAllowed";
185
+ }>>>;
181
186
  }, z.core.$strip>;
182
187
  export type BannerVariantFromTool = z.infer<typeof bannerVariantFromToolSchema>;
183
188
  export interface BannerVariant extends BannerVariantFromTool {
@@ -208,6 +213,7 @@ export declare const bannerTestFromToolSchema: z.ZodObject<{
208
213
  Banner2: "Banner2";
209
214
  Header: "Header";
210
215
  GutterLiveblog: "GutterLiveblog";
216
+ Inline1: "Inline1";
211
217
  }>;
212
218
  name: z.ZodString;
213
219
  status: z.ZodEnum<{
@@ -280,6 +286,10 @@ export declare const bannerTestFromToolSchema: z.ZodObject<{
280
286
  Canada: "Canada";
281
287
  }>>;
282
288
  targetedCountryCodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
289
+ contributionsOnlyCountriesTargeting: z.ZodOptional<z.ZodEnum<{
290
+ Include: "Include";
291
+ Exclude: "Exclude";
292
+ }>>;
283
293
  }, z.core.$strip>>>;
284
294
  contextTargeting: z.ZodObject<{
285
295
  tagIds: z.ZodArray<z.ZodString>;
@@ -319,13 +329,13 @@ export declare const bannerTestFromToolSchema: z.ZodObject<{
319
329
  baseUrl: z.ZodString;
320
330
  }, z.core.$strip>>;
321
331
  secondaryCta: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
322
- type: z.ZodLiteral<import("../props").SecondaryCtaType.Custom>;
332
+ type: z.ZodLiteral<import("..").SecondaryCtaType.Custom>;
323
333
  cta: z.ZodObject<{
324
334
  text: z.ZodString;
325
335
  baseUrl: z.ZodString;
326
336
  }, z.core.$strip>;
327
337
  }, z.core.$strip>, z.ZodObject<{
328
- type: z.ZodLiteral<import("../props").SecondaryCtaType.ContributionsReminder>;
338
+ type: z.ZodLiteral<import("..").SecondaryCtaType.ContributionsReminder>;
329
339
  }, z.core.$strip>], "type">>;
330
340
  }, z.core.$strip>>;
331
341
  mobileBannerContent: z.ZodOptional<z.ZodObject<{
@@ -339,13 +349,13 @@ export declare const bannerTestFromToolSchema: z.ZodObject<{
339
349
  baseUrl: z.ZodString;
340
350
  }, z.core.$strip>>;
341
351
  secondaryCta: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
342
- type: z.ZodLiteral<import("../props").SecondaryCtaType.Custom>;
352
+ type: z.ZodLiteral<import("..").SecondaryCtaType.Custom>;
343
353
  cta: z.ZodObject<{
344
354
  text: z.ZodString;
345
355
  baseUrl: z.ZodString;
346
356
  }, z.core.$strip>;
347
357
  }, z.core.$strip>, z.ZodObject<{
348
- type: z.ZodLiteral<import("../props").SecondaryCtaType.ContributionsReminder>;
358
+ type: z.ZodLiteral<import("..").SecondaryCtaType.ContributionsReminder>;
349
359
  }, z.core.$strip>], "type">>;
350
360
  }, z.core.$strip>>;
351
361
  separateArticleCount: z.ZodOptional<z.ZodBoolean>;
@@ -443,6 +453,11 @@ export declare const bannerTestFromToolSchema: z.ZodObject<{
443
453
  }, z.core.$strip>>>;
444
454
  promoCodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
445
455
  isCollapsible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
456
+ bannerStepMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
457
+ OneStep: "OneStep";
458
+ TwoStep: "TwoStep";
459
+ TwoStepIfAllowed: "TwoStepIfAllowed";
460
+ }>>>;
446
461
  }, z.core.$strip>>;
447
462
  articlesViewedSettings: z.ZodOptional<z.ZodObject<{
448
463
  minViews: z.ZodNumber;
@@ -454,6 +469,7 @@ export declare const bannerTestFromToolSchema: z.ZodObject<{
454
469
  daysBetween: z.ZodNumber;
455
470
  }, z.core.$strip>>;
456
471
  frontsOnly: z.ZodOptional<z.ZodBoolean>;
472
+ mParticleTemplates: z.ZodOptional<z.ZodArray<z.ZodString>>;
457
473
  }, z.core.$strip>;
458
474
  export type BannerTestFromTool = z.infer<typeof bannerTestFromToolSchema>;
459
475
  export type BannerDesignFromTool = {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../../../../../shared/types/abTests/banner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGlE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAOpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD;;;;;;;;;GASG;AAEH,oBAAY,cAAc;IACtB,kBAAkB,uBAAuB;CAC5C;AAED,MAAM,WAAW,gBAAgB;IAC7B,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,KAAK,QAAQ,GAAG,cAAc,GAAG,gBAAgB,CAAC;AAIlD,wBAAgB,UAAU,CAAC,EAAE,EAAE,QAAQ,GAAG,EAAE,IAAI,gBAAgB,CAE/D;AAED,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,kBAAkB,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { z } from 'zod';
2
- import type { CountryGroupId } from '../../lib';
3
2
  import { variantSchema } from '../props';
4
3
  import type { EpicTargeting } from '../targeting';
5
4
  export type EpicType = 'ARTICLE' | 'LIVEBLOG';
@@ -9,46 +8,6 @@ export declare const maxViewsSchema: z.ZodObject<{
9
8
  minDaysBetweenViews: z.ZodNumber;
10
9
  }, z.core.$strip>;
11
10
  export type MaxViews = z.infer<typeof maxViewsSchema>;
12
- export type ContributionFrequency = 'ONE_OFF' | 'MONTHLY' | 'ANNUAL';
13
- export declare const contributionTabFrequencies: ContributionFrequency[];
14
- interface ContributionTypeItem {
15
- label: string;
16
- suffix: string;
17
- }
18
- export type ContributionType = Record<ContributionFrequency, ContributionTypeItem>;
19
- interface AmountValuesObject {
20
- amounts: number[];
21
- defaultAmount: number;
22
- hideChooseYourAmount?: boolean;
23
- }
24
- export type AmountsCardData = Record<ContributionFrequency, AmountValuesObject>;
25
- export interface AmountsVariant {
26
- variantName: string;
27
- defaultContributionType: ContributionFrequency;
28
- displayContributionType: ContributionFrequency[];
29
- amountsCardData: AmountsCardData;
30
- }
31
- export interface SelectedAmountsVariant extends AmountsVariant {
32
- testName: string;
33
- }
34
- export type AmountsTestTargeting = {
35
- targetingType: 'Region';
36
- region: CountryGroupId;
37
- } | {
38
- targetingType: 'Country';
39
- countries: string[];
40
- };
41
- export interface AmountsTest {
42
- testName: string;
43
- liveTestName?: string;
44
- testLabel?: string;
45
- isLive: boolean;
46
- targeting: AmountsTestTargeting;
47
- order: number;
48
- seed: number;
49
- variants: AmountsVariant[];
50
- }
51
- export type AmountsTests = AmountsTest[];
52
11
  export type EpicTestFromTool = z.infer<typeof epicTestFromToolSchema>;
53
12
  export interface EpicTest extends EpicTestFromTool {
54
13
  hasArticleCountInCopy: boolean;
@@ -66,6 +25,7 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
66
25
  Banner2: "Banner2";
67
26
  Header: "Header";
68
27
  GutterLiveblog: "GutterLiveblog";
28
+ Inline1: "Inline1";
69
29
  }>;
70
30
  controlProportionSettings: z.ZodOptional<z.ZodObject<{
71
31
  proportion: z.ZodNumber;
@@ -131,6 +91,10 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
131
91
  Canada: "Canada";
132
92
  }>>;
133
93
  targetedCountryCodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
94
+ contributionsOnlyCountriesTargeting: z.ZodOptional<z.ZodEnum<{
95
+ Include: "Include";
96
+ Exclude: "Exclude";
97
+ }>>;
134
98
  }, z.core.$strip>>>;
135
99
  tagIds: z.ZodArray<z.ZodString>;
136
100
  sections: z.ZodArray<z.ZodString>;
@@ -184,13 +148,13 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
184
148
  baseUrl: z.ZodString;
185
149
  }, z.core.$strip>>;
186
150
  secondaryCta: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
187
- type: z.ZodLiteral<import("../props").SecondaryCtaType.Custom>;
151
+ type: z.ZodLiteral<import("..").SecondaryCtaType.Custom>;
188
152
  cta: z.ZodObject<{
189
153
  text: z.ZodString;
190
154
  baseUrl: z.ZodString;
191
155
  }, z.core.$strip>;
192
156
  }, z.core.$strip>, z.ZodObject<{
193
- type: z.ZodLiteral<import("../props").SecondaryCtaType.ContributionsReminder>;
157
+ type: z.ZodLiteral<import("..").SecondaryCtaType.ContributionsReminder>;
194
158
  }, z.core.$strip>], "type">>;
195
159
  newsletterSignup: z.ZodOptional<z.ZodObject<{
196
160
  newsletterId: z.ZodString;
@@ -324,7 +288,7 @@ export declare const epicTestFromToolSchema: z.ZodObject<{
324
288
  }, z.core.$strip>>>>;
325
289
  }, z.core.$strip>>>;
326
290
  }, z.core.$strip>>;
291
+ mParticleTemplates: z.ZodOptional<z.ZodArray<z.ZodString>>;
327
292
  }, z.core.$strip>;
328
293
  export type EpicVariant = z.infer<typeof variantSchema>;
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OAAO,aAAa,CAAC,CAAC"}
@@ -32,6 +32,7 @@ export declare const gutterTestFromToolSchema: z.ZodObject<{
32
32
  Banner2: "Banner2";
33
33
  Header: "Header";
34
34
  GutterLiveblog: "GutterLiveblog";
35
+ Inline1: "Inline1";
35
36
  }>;
36
37
  name: z.ZodString;
37
38
  status: z.ZodEnum<{
@@ -98,6 +99,10 @@ export declare const gutterTestFromToolSchema: z.ZodObject<{
98
99
  Canada: "Canada";
99
100
  }>>;
100
101
  targetedCountryCodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
102
+ contributionsOnlyCountriesTargeting: z.ZodOptional<z.ZodEnum<{
103
+ Include: "Include";
104
+ Exclude: "Exclude";
105
+ }>>;
101
106
  }, z.core.$strip>>>;
102
107
  userCohort: z.ZodEnum<{
103
108
  AllExistingSupporters: "AllExistingSupporters";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gutter.d.ts","sourceRoot":"","sources":["../../../../../../shared/types/abTests/gutter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;GAEG;AACH,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;iBAI/B,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,qBAAqB;IACxD,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,UAAW,SAAQ,kBAAkB;IAClD,QAAQ,EAAE,aAAa,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,aAAa,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;CACtB"}
@@ -42,6 +42,7 @@ export declare const headerTestFromToolSchema: z.ZodObject<{
42
42
  Banner2: "Banner2";
43
43
  Header: "Header";
44
44
  GutterLiveblog: "GutterLiveblog";
45
+ Inline1: "Inline1";
45
46
  }>;
46
47
  name: z.ZodString;
47
48
  status: z.ZodEnum<{
@@ -108,6 +109,10 @@ export declare const headerTestFromToolSchema: z.ZodObject<{
108
109
  Canada: "Canada";
109
110
  }>>;
110
111
  targetedCountryCodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
112
+ contributionsOnlyCountriesTargeting: z.ZodOptional<z.ZodEnum<{
113
+ Include: "Include";
114
+ Exclude: "Exclude";
115
+ }>>;
111
116
  }, z.core.$strip>>>;
112
117
  userCohort: z.ZodEnum<{
113
118
  AllExistingSupporters: "AllExistingSupporters";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../../../shared/types/abTests/header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;GAEG;AACH,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAK/B,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,qBAAqB;IACxD,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,UAAW,SAAQ,kBAAkB;IAClD,QAAQ,EAAE,aAAa,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,aAAa,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;CACtB"}
@@ -1,6 +1,7 @@
1
1
  export * from './epic';
2
2
  export * from './header';
3
3
  export * from './banner';
4
- export * from './gutter';
5
4
  export * from './shared';
5
+ export * from './gutter';
6
+ export * from './inline1';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/types/abTests/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
@@ -0,0 +1,123 @@
1
+ import type { z } from 'zod';
2
+ import { inline1VariantSchema } from '../props';
3
+ export declare const inline1TestFromToolSchema: z.ZodObject<{
4
+ channel: z.ZodEnum<{
5
+ Epic: "Epic";
6
+ EpicAppleNews: "EpicAppleNews";
7
+ EpicLiveblog: "EpicLiveblog";
8
+ Banner1: "Banner1";
9
+ Banner2: "Banner2";
10
+ Header: "Header";
11
+ GutterLiveblog: "GutterLiveblog";
12
+ Inline1: "Inline1";
13
+ }>;
14
+ name: z.ZodString;
15
+ status: z.ZodEnum<{
16
+ Live: "Live";
17
+ Draft: "Draft";
18
+ Archived: "Archived";
19
+ }>;
20
+ priority: z.ZodNumber;
21
+ controlProportionSettings: z.ZodOptional<z.ZodObject<{
22
+ proportion: z.ZodNumber;
23
+ offset: z.ZodNumber;
24
+ }, z.core.$strip>>;
25
+ deviceType: z.ZodOptional<z.ZodEnum<{
26
+ Mobile: "Mobile";
27
+ Desktop: "Desktop";
28
+ All: "All";
29
+ iOS: "iOS";
30
+ Android: "Android";
31
+ }>>;
32
+ signedInStatus: z.ZodOptional<z.ZodEnum<{
33
+ All: "All";
34
+ SignedIn: "SignedIn";
35
+ SignedOut: "SignedOut";
36
+ }>>;
37
+ consentStatus: z.ZodOptional<z.ZodEnum<{
38
+ All: "All";
39
+ HasConsented: "HasConsented";
40
+ HasNotConsented: "HasNotConsented";
41
+ }>>;
42
+ methodologies: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
43
+ name: z.ZodLiteral<"ABTest">;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ name: z.ZodLiteral<"EpsilonGreedyBandit">;
46
+ epsilon: z.ZodNumber;
47
+ sampleCount: z.ZodOptional<z.ZodNumber>;
48
+ }, z.core.$strip>, z.ZodObject<{
49
+ name: z.ZodLiteral<"Roulette">;
50
+ sampleCount: z.ZodOptional<z.ZodNumber>;
51
+ }, z.core.$strip>], "name">, z.ZodObject<{
52
+ testName: z.ZodOptional<z.ZodString>;
53
+ }, z.core.$strip>>>>;
54
+ mParticleAudience: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
55
+ scheduler: z.ZodOptional<z.ZodObject<{
56
+ start: z.ZodOptional<z.ZodString>;
57
+ end: z.ZodOptional<z.ZodString>;
58
+ }, z.core.$strip>>;
59
+ regionTargeting: z.ZodOptional<z.ZodOptional<z.ZodObject<{
60
+ targetedCountryGroups: z.ZodArray<z.ZodEnum<{
61
+ GBPCountries: "GBPCountries";
62
+ UnitedStates: "UnitedStates";
63
+ AUDCountries: "AUDCountries";
64
+ EURCountries: "EURCountries";
65
+ International: "International";
66
+ NZDCountries: "NZDCountries";
67
+ Canada: "Canada";
68
+ }>>;
69
+ targetedCountryCodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
70
+ contributionsOnlyCountriesTargeting: z.ZodOptional<z.ZodEnum<{
71
+ Include: "Include";
72
+ Exclude: "Exclude";
73
+ }>>;
74
+ }, z.core.$strip>>>;
75
+ userCohort: z.ZodEnum<{
76
+ AllExistingSupporters: "AllExistingSupporters";
77
+ AllNonSupporters: "AllNonSupporters";
78
+ Everyone: "Everyone";
79
+ PostAskPauseSingleContributors: "PostAskPauseSingleContributors";
80
+ }>;
81
+ contextTargeting: z.ZodObject<{
82
+ tagIds: z.ZodArray<z.ZodString>;
83
+ sectionIds: z.ZodArray<z.ZodString>;
84
+ excludedTagIds: z.ZodArray<z.ZodString>;
85
+ excludedSectionIds: z.ZodArray<z.ZodString>;
86
+ }, z.core.$strip>;
87
+ variants: z.ZodArray<z.ZodObject<{
88
+ name: z.ZodString;
89
+ message: z.ZodDiscriminatedUnion<[z.ZodObject<{
90
+ type: z.ZodLiteral<"Inline1SupportMessage">;
91
+ heading: z.ZodString;
92
+ body: z.ZodString;
93
+ primaryCta: z.ZodObject<{
94
+ text: z.ZodString;
95
+ baseUrl: z.ZodString;
96
+ }, z.core.$strip>;
97
+ image: z.ZodOptional<z.ZodObject<{
98
+ mainUrl: z.ZodString;
99
+ mobileUrl: z.ZodOptional<z.ZodString>;
100
+ tabletUrl: z.ZodOptional<z.ZodString>;
101
+ desktopUrl: z.ZodOptional<z.ZodString>;
102
+ leftColUrl: z.ZodOptional<z.ZodString>;
103
+ wideUrl: z.ZodOptional<z.ZodString>;
104
+ altText: z.ZodString;
105
+ }, z.core.$strip>>;
106
+ }, z.core.$strip>, z.ZodObject<{
107
+ type: z.ZodLiteral<"Inline1PuzzlesMessage">;
108
+ }, z.core.$strip>, z.ZodObject<{
109
+ type: z.ZodLiteral<"Inline1NewsletterMessage">;
110
+ newsletterId: z.ZodString;
111
+ frequency: z.ZodString;
112
+ heading: z.ZodString;
113
+ body: z.ZodString;
114
+ imageUrl: z.ZodOptional<z.ZodString>;
115
+ }, z.core.$strip>], "type">;
116
+ }, z.core.$strip>>;
117
+ }, z.core.$strip>;
118
+ export type Inline1TestFromTool = z.infer<typeof inline1TestFromToolSchema>;
119
+ export type Inline1Variant = z.infer<typeof inline1VariantSchema>;
120
+ export interface Inline1Test extends Inline1TestFromTool {
121
+ variants: Inline1Variant[];
122
+ }
123
+ //# sourceMappingURL=inline1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inline1.d.ts","sourceRoot":"","sources":["../../../../../../shared/types/abTests/inline1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAGhD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,MAAM,WAAW,WAAY,SAAQ,mBAAmB;IACpD,QAAQ,EAAE,cAAc,EAAE,CAAC;CAC9B"}
@@ -1,7 +1,7 @@
1
1
  import type { OphanComponentType, OphanProduct } from '@guardian/libs';
2
2
  import { z } from 'zod';
3
3
  import type { purchaseInfoProduct, purchaseInfoUser } from '../purchaseInfo';
4
- declare const Channel: readonly ["Epic", "EpicAppleNews", "EpicLiveblog", "Banner1", "Banner2", "Header", "GutterLiveblog"];
4
+ declare const Channel: readonly ["Epic", "EpicAppleNews", "EpicLiveblog", "Banner1", "Banner2", "Header", "GutterLiveblog", "Inline1"];
5
5
  export type Channel = (typeof Channel)[number];
6
6
  declare const TestStatus: readonly ["Live", "Draft", "Archived"];
7
7
  export type TestStatus = (typeof TestStatus)[number];
@@ -80,6 +80,7 @@ export declare const testSchema: z.ZodObject<{
80
80
  Banner2: "Banner2";
81
81
  Header: "Header";
82
82
  GutterLiveblog: "GutterLiveblog";
83
+ Inline1: "Inline1";
83
84
  }>;
84
85
  name: z.ZodString;
85
86
  status: z.ZodEnum<{
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../../shared/types/abTests/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAG7E,QAAA,MAAM,OAAO,iHASH,CAAC;AACX,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AAG/C,QAAA,MAAM,UAAU,wCAAyC,CAAC;AAC1D,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAErD,eAAO,MAAM,gBAAgB;;;;EAAqB,CAAC;AAEnD,QAAA,MAAM,UAAU,yDAA0D,CAAC;AAC3E,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AACrD,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,UAAU,EAAE,QAAQ,GAAG,KAAK,CAAC,CAAC;AAEnE,eAAO,MAAM,gBAAgB;;;;;;EAAqB,CAAC;AAEnD,QAAA,MAAM,cAAc,2CAA4C,CAAC;AACjE,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7D,eAAO,MAAM,oBAAoB;;;;EAAyB,CAAC;AAE3D,QAAA,MAAM,aAAa,qDAAsD,CAAC;AAC1E,MAAM,MAAM,aAAa,GAAG,CAA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],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prices.d.ts","sourceRoot":"","sources":["../../../../../shared/types/prices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAE7C,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC5C,KAAK,gBAAgB,GAAG,MAAM,CAC1B,QAAQ,EACR;IACI,KAAK,EAAE,MAAM,CAAC;CACjB,CACJ,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,gBAAgB,GAAG,SAAS,CAAC;AAC3D,KAAK,qBAAqB,GAAG,MAAM,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;AACvE,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,cAAc,EAAE,qBAAqB,CAAC,CAAC"}
@@ -61,6 +61,7 @@ export interface BannerProps {
61
61
  submitComponentEvent?: (componentEvent: ComponentEvent) => Promise<void>;
62
62
  fetchEmail?: () => Promise<string | null>;
63
63
  contributionsServiceUrl?: string;
64
+ mParticleTemplates?: string[];
64
65
  }
65
66
  export declare const bannerSchema: z.ZodObject<{
66
67
  tracking: z.ZodObject<{
@@ -0,0 +1 @@
1
+ {"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../../../../../shared/types/props/banner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO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I,EAAE,SAAS,CAAC;SACnB,CAAC;QACF,eAAe,EAAE;YACb,IAAI,EAAE,SAAS,CAAC;YAChB,SAAS,EAAE,SAAS,CAAC;SACxB,CAAC;QACF,UAAU,EAAE,SAAS,CAAC;QACtB,YAAY,EAAE,SAAS,CAAC;QACxB,WAAW,EAAE,SAAS,CAAC;QACvB,MAAM,EAAE,YAAY,CAAC;KACxB,CAAC;CACL"}
@@ -13,6 +13,7 @@ export interface EpicProps {
13
13
  openCmp?: () => void;
14
14
  hasConsentForArticleCount?: boolean;
15
15
  stage?: Stage;
16
+ mParticleTemplates?: string[];
16
17
  }
17
18
  export declare const contributionFrequencySchema: z.ZodEnum<{
18
19
  ONE_OFF: "ONE_OFF";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"epic.d.ts","sourceRoot":"","sources":["../../../../../../shared/types/props/epic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,OAAO,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAY/D,MAAM,WAAW,SAAS;IACtB,OAAO,EAAE,WAAW,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC1C,oBAAoB,CAAC,EAAE,CAAC,cAAc,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACzE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,KA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AC;IACrB,oBAAoB,CAAC,EAAE,CAAC,cAAc,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACzE,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM5B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../../../shared/types/props/header.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAG9C,MAAM,WAAW,aAAa;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;iBAM9B,CAAC;AAEH,MAAM,WAAW,WAAW;IACxB,OAAO,EAAE,aAAa,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,CAAC,cAAc,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACzE,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAO5B,CAAC"}
@@ -4,4 +4,5 @@ export * from './header';
4
4
  export * from './shared';
5
5
  export * from './design';
6
6
  export * from './gutter';
7
+ export * from './inline1';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/types/props/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}