@guardian/support-dotcom-components 1.1.3 → 2.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.
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/shared/src/types/abTests/banner.d.ts +971 -29
- package/dist/shared/src/types/abTests/banner.d.ts.map +1 -1
- package/dist/shared/src/types/abTests/epic.d.ts +10 -15
- package/dist/shared/src/types/abTests/epic.d.ts.map +1 -1
- package/dist/shared/src/types/abTests/header.d.ts +9 -9
- package/dist/shared/src/types/abTests/header.d.ts.map +1 -1
- package/dist/shared/src/types/abTests/shared.d.ts +19 -7
- package/dist/shared/src/types/abTests/shared.d.ts.map +1 -1
- package/dist/shared/src/types/props/banner.d.ts +166 -80
- package/dist/shared/src/types/props/banner.d.ts.map +1 -1
- package/dist/shared/src/types/props/epic.d.ts +5 -12
- package/dist/shared/src/types/props/epic.d.ts.map +1 -1
- package/dist/shared/src/types/props/header.d.ts +4 -4
- package/dist/shared/src/types/props/shared.d.ts +2 -2
- package/package.json +1 -1
|
@@ -16,6 +16,92 @@ export interface BannerContent {
|
|
|
16
16
|
cta?: Cta;
|
|
17
17
|
secondaryCta?: SecondaryCta;
|
|
18
18
|
}
|
|
19
|
+
export declare const bannerContentSchema: z.ZodObject<{
|
|
20
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
21
|
+
messageText: z.ZodOptional<z.ZodString>;
|
|
22
|
+
paragraphs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23
|
+
mobileMessageText: z.ZodOptional<z.ZodString>;
|
|
24
|
+
highlightedText: z.ZodOptional<z.ZodString>;
|
|
25
|
+
cta: z.ZodOptional<z.ZodObject<{
|
|
26
|
+
text: z.ZodString;
|
|
27
|
+
baseUrl: z.ZodString;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
text: string;
|
|
30
|
+
baseUrl: string;
|
|
31
|
+
}, {
|
|
32
|
+
text: string;
|
|
33
|
+
baseUrl: string;
|
|
34
|
+
}>>;
|
|
35
|
+
secondaryCta: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
36
|
+
type: z.ZodLiteral<import("./shared").SecondaryCtaType.Custom>;
|
|
37
|
+
cta: z.ZodObject<{
|
|
38
|
+
text: z.ZodString;
|
|
39
|
+
baseUrl: z.ZodString;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
text: string;
|
|
42
|
+
baseUrl: string;
|
|
43
|
+
}, {
|
|
44
|
+
text: string;
|
|
45
|
+
baseUrl: string;
|
|
46
|
+
}>;
|
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
type: import("./shared").SecondaryCtaType.Custom;
|
|
49
|
+
cta: {
|
|
50
|
+
text: string;
|
|
51
|
+
baseUrl: string;
|
|
52
|
+
};
|
|
53
|
+
}, {
|
|
54
|
+
type: import("./shared").SecondaryCtaType.Custom;
|
|
55
|
+
cta: {
|
|
56
|
+
text: string;
|
|
57
|
+
baseUrl: string;
|
|
58
|
+
};
|
|
59
|
+
}>, z.ZodObject<{
|
|
60
|
+
type: z.ZodLiteral<import("./shared").SecondaryCtaType.ContributionsReminder>;
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
type: import("./shared").SecondaryCtaType.ContributionsReminder;
|
|
63
|
+
}, {
|
|
64
|
+
type: import("./shared").SecondaryCtaType.ContributionsReminder;
|
|
65
|
+
}>]>>;
|
|
66
|
+
}, "strip", z.ZodTypeAny, {
|
|
67
|
+
heading?: string | undefined;
|
|
68
|
+
messageText?: string | undefined;
|
|
69
|
+
paragraphs?: string[] | undefined;
|
|
70
|
+
mobileMessageText?: string | undefined;
|
|
71
|
+
highlightedText?: string | undefined;
|
|
72
|
+
cta?: {
|
|
73
|
+
text: string;
|
|
74
|
+
baseUrl: string;
|
|
75
|
+
} | undefined;
|
|
76
|
+
secondaryCta?: {
|
|
77
|
+
type: import("./shared").SecondaryCtaType.Custom;
|
|
78
|
+
cta: {
|
|
79
|
+
text: string;
|
|
80
|
+
baseUrl: string;
|
|
81
|
+
};
|
|
82
|
+
} | {
|
|
83
|
+
type: import("./shared").SecondaryCtaType.ContributionsReminder;
|
|
84
|
+
} | undefined;
|
|
85
|
+
}, {
|
|
86
|
+
heading?: string | undefined;
|
|
87
|
+
messageText?: string | undefined;
|
|
88
|
+
paragraphs?: string[] | undefined;
|
|
89
|
+
mobileMessageText?: string | undefined;
|
|
90
|
+
highlightedText?: string | undefined;
|
|
91
|
+
cta?: {
|
|
92
|
+
text: string;
|
|
93
|
+
baseUrl: string;
|
|
94
|
+
} | undefined;
|
|
95
|
+
secondaryCta?: {
|
|
96
|
+
type: import("./shared").SecondaryCtaType.Custom;
|
|
97
|
+
cta: {
|
|
98
|
+
text: string;
|
|
99
|
+
baseUrl: string;
|
|
100
|
+
};
|
|
101
|
+
} | {
|
|
102
|
+
type: import("./shared").SecondaryCtaType.ContributionsReminder;
|
|
103
|
+
} | undefined;
|
|
104
|
+
}>;
|
|
19
105
|
export interface BannerProps extends EmotionJSX.IntrinsicAttributes {
|
|
20
106
|
tracking: Tracking;
|
|
21
107
|
bannerChannel: BannerChannel;
|
|
@@ -46,10 +132,10 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
46
132
|
referrerUrl: z.ZodString;
|
|
47
133
|
clientName: z.ZodString;
|
|
48
134
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
50
135
|
abTestName: string;
|
|
51
136
|
abTestVariant: string;
|
|
52
137
|
campaignCode: string;
|
|
138
|
+
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
53
139
|
ophanPageId: string;
|
|
54
140
|
platformId: string;
|
|
55
141
|
referrerUrl: string;
|
|
@@ -57,10 +143,10 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
57
143
|
products?: ("CONTRIBUTION" | "MEMBERSHIP_SUPPORTER" | "DIGITAL_SUBSCRIPTION" | "PRINT_SUBSCRIPTION")[] | null | undefined;
|
|
58
144
|
labels?: string[] | null | undefined;
|
|
59
145
|
}, {
|
|
60
|
-
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
61
146
|
abTestName: string;
|
|
62
147
|
abTestVariant: string;
|
|
63
148
|
campaignCode: string;
|
|
149
|
+
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
64
150
|
ophanPageId: string;
|
|
65
151
|
platformId: string;
|
|
66
152
|
referrerUrl: string;
|
|
@@ -70,12 +156,12 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
70
156
|
}>;
|
|
71
157
|
bannerChannel: z.ZodEnum<["contributions", "subscriptions", "signIn"]>;
|
|
72
158
|
content: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
73
|
-
heading: z.ZodOptional<z.
|
|
74
|
-
messageText: z.ZodOptional<z.
|
|
75
|
-
paragraphs: z.ZodOptional<z.
|
|
76
|
-
mobileMessageText: z.ZodOptional<z.
|
|
77
|
-
highlightedText: z.ZodOptional<z.
|
|
78
|
-
cta: z.ZodOptional<z.
|
|
159
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
160
|
+
messageText: z.ZodOptional<z.ZodString>;
|
|
161
|
+
paragraphs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
162
|
+
mobileMessageText: z.ZodOptional<z.ZodString>;
|
|
163
|
+
highlightedText: z.ZodOptional<z.ZodString>;
|
|
164
|
+
cta: z.ZodOptional<z.ZodObject<{
|
|
79
165
|
text: z.ZodString;
|
|
80
166
|
baseUrl: z.ZodString;
|
|
81
167
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -84,8 +170,8 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
84
170
|
}, {
|
|
85
171
|
text: string;
|
|
86
172
|
baseUrl: string;
|
|
87
|
-
}
|
|
88
|
-
secondaryCta: z.ZodOptional<z.
|
|
173
|
+
}>>;
|
|
174
|
+
secondaryCta: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
89
175
|
type: z.ZodLiteral<import("./shared").SecondaryCtaType.Custom>;
|
|
90
176
|
cta: z.ZodObject<{
|
|
91
177
|
text: z.ZodString;
|
|
@@ -115,17 +201,17 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
115
201
|
type: import("./shared").SecondaryCtaType.ContributionsReminder;
|
|
116
202
|
}, {
|
|
117
203
|
type: import("./shared").SecondaryCtaType.ContributionsReminder;
|
|
118
|
-
}>]
|
|
204
|
+
}>]>>;
|
|
119
205
|
}, "strip", z.ZodTypeAny, {
|
|
120
|
-
heading?: string |
|
|
121
|
-
messageText?: string |
|
|
122
|
-
paragraphs?: string[] |
|
|
123
|
-
mobileMessageText?: string |
|
|
124
|
-
highlightedText?: string |
|
|
206
|
+
heading?: string | undefined;
|
|
207
|
+
messageText?: string | undefined;
|
|
208
|
+
paragraphs?: string[] | undefined;
|
|
209
|
+
mobileMessageText?: string | undefined;
|
|
210
|
+
highlightedText?: string | undefined;
|
|
125
211
|
cta?: {
|
|
126
212
|
text: string;
|
|
127
213
|
baseUrl: string;
|
|
128
|
-
} |
|
|
214
|
+
} | undefined;
|
|
129
215
|
secondaryCta?: {
|
|
130
216
|
type: import("./shared").SecondaryCtaType.Custom;
|
|
131
217
|
cta: {
|
|
@@ -134,17 +220,17 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
134
220
|
};
|
|
135
221
|
} | {
|
|
136
222
|
type: import("./shared").SecondaryCtaType.ContributionsReminder;
|
|
137
|
-
} |
|
|
223
|
+
} | undefined;
|
|
138
224
|
}, {
|
|
139
|
-
heading?: string |
|
|
140
|
-
messageText?: string |
|
|
141
|
-
paragraphs?: string[] |
|
|
142
|
-
mobileMessageText?: string |
|
|
143
|
-
highlightedText?: string |
|
|
225
|
+
heading?: string | undefined;
|
|
226
|
+
messageText?: string | undefined;
|
|
227
|
+
paragraphs?: string[] | undefined;
|
|
228
|
+
mobileMessageText?: string | undefined;
|
|
229
|
+
highlightedText?: string | undefined;
|
|
144
230
|
cta?: {
|
|
145
231
|
text: string;
|
|
146
232
|
baseUrl: string;
|
|
147
|
-
} |
|
|
233
|
+
} | undefined;
|
|
148
234
|
secondaryCta?: {
|
|
149
235
|
type: import("./shared").SecondaryCtaType.Custom;
|
|
150
236
|
cta: {
|
|
@@ -153,15 +239,15 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
153
239
|
};
|
|
154
240
|
} | {
|
|
155
241
|
type: import("./shared").SecondaryCtaType.ContributionsReminder;
|
|
156
|
-
} |
|
|
242
|
+
} | undefined;
|
|
157
243
|
}>>>;
|
|
158
244
|
mobileContent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
159
|
-
heading: z.ZodOptional<z.
|
|
160
|
-
messageText: z.ZodOptional<z.
|
|
161
|
-
paragraphs: z.ZodOptional<z.
|
|
162
|
-
mobileMessageText: z.ZodOptional<z.
|
|
163
|
-
highlightedText: z.ZodOptional<z.
|
|
164
|
-
cta: z.ZodOptional<z.
|
|
245
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
246
|
+
messageText: z.ZodOptional<z.ZodString>;
|
|
247
|
+
paragraphs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
248
|
+
mobileMessageText: z.ZodOptional<z.ZodString>;
|
|
249
|
+
highlightedText: z.ZodOptional<z.ZodString>;
|
|
250
|
+
cta: z.ZodOptional<z.ZodObject<{
|
|
165
251
|
text: z.ZodString;
|
|
166
252
|
baseUrl: z.ZodString;
|
|
167
253
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -170,8 +256,8 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
170
256
|
}, {
|
|
171
257
|
text: string;
|
|
172
258
|
baseUrl: string;
|
|
173
|
-
}
|
|
174
|
-
secondaryCta: z.ZodOptional<z.
|
|
259
|
+
}>>;
|
|
260
|
+
secondaryCta: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
175
261
|
type: z.ZodLiteral<import("./shared").SecondaryCtaType.Custom>;
|
|
176
262
|
cta: z.ZodObject<{
|
|
177
263
|
text: z.ZodString;
|
|
@@ -201,17 +287,17 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
201
287
|
type: import("./shared").SecondaryCtaType.ContributionsReminder;
|
|
202
288
|
}, {
|
|
203
289
|
type: import("./shared").SecondaryCtaType.ContributionsReminder;
|
|
204
|
-
}>]
|
|
290
|
+
}>]>>;
|
|
205
291
|
}, "strip", z.ZodTypeAny, {
|
|
206
|
-
heading?: string |
|
|
207
|
-
messageText?: string |
|
|
208
|
-
paragraphs?: string[] |
|
|
209
|
-
mobileMessageText?: string |
|
|
210
|
-
highlightedText?: string |
|
|
292
|
+
heading?: string | undefined;
|
|
293
|
+
messageText?: string | undefined;
|
|
294
|
+
paragraphs?: string[] | undefined;
|
|
295
|
+
mobileMessageText?: string | undefined;
|
|
296
|
+
highlightedText?: string | undefined;
|
|
211
297
|
cta?: {
|
|
212
298
|
text: string;
|
|
213
299
|
baseUrl: string;
|
|
214
|
-
} |
|
|
300
|
+
} | undefined;
|
|
215
301
|
secondaryCta?: {
|
|
216
302
|
type: import("./shared").SecondaryCtaType.Custom;
|
|
217
303
|
cta: {
|
|
@@ -220,17 +306,17 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
220
306
|
};
|
|
221
307
|
} | {
|
|
222
308
|
type: import("./shared").SecondaryCtaType.ContributionsReminder;
|
|
223
|
-
} |
|
|
309
|
+
} | undefined;
|
|
224
310
|
}, {
|
|
225
|
-
heading?: string |
|
|
226
|
-
messageText?: string |
|
|
227
|
-
paragraphs?: string[] |
|
|
228
|
-
mobileMessageText?: string |
|
|
229
|
-
highlightedText?: string |
|
|
311
|
+
heading?: string | undefined;
|
|
312
|
+
messageText?: string | undefined;
|
|
313
|
+
paragraphs?: string[] | undefined;
|
|
314
|
+
mobileMessageText?: string | undefined;
|
|
315
|
+
highlightedText?: string | undefined;
|
|
230
316
|
cta?: {
|
|
231
317
|
text: string;
|
|
232
318
|
baseUrl: string;
|
|
233
|
-
} |
|
|
319
|
+
} | undefined;
|
|
234
320
|
secondaryCta?: {
|
|
235
321
|
type: import("./shared").SecondaryCtaType.Custom;
|
|
236
322
|
cta: {
|
|
@@ -239,7 +325,7 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
239
325
|
};
|
|
240
326
|
} | {
|
|
241
327
|
type: import("./shared").SecondaryCtaType.ContributionsReminder;
|
|
242
|
-
} |
|
|
328
|
+
} | undefined;
|
|
243
329
|
}>>>;
|
|
244
330
|
countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
245
331
|
isSupporter: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -717,12 +803,11 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
717
803
|
} | null | undefined;
|
|
718
804
|
}>>>;
|
|
719
805
|
}, "strip", z.ZodTypeAny, {
|
|
720
|
-
bannerChannel: "contributions" | "subscriptions" | "signIn";
|
|
721
806
|
tracking: {
|
|
722
|
-
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
723
807
|
abTestName: string;
|
|
724
808
|
abTestVariant: string;
|
|
725
809
|
campaignCode: string;
|
|
810
|
+
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
726
811
|
ophanPageId: string;
|
|
727
812
|
platformId: string;
|
|
728
813
|
referrerUrl: string;
|
|
@@ -730,16 +815,17 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
730
815
|
products?: ("CONTRIBUTION" | "MEMBERSHIP_SUPPORTER" | "DIGITAL_SUBSCRIPTION" | "PRINT_SUBSCRIPTION")[] | null | undefined;
|
|
731
816
|
labels?: string[] | null | undefined;
|
|
732
817
|
};
|
|
818
|
+
bannerChannel: "contributions" | "subscriptions" | "signIn";
|
|
733
819
|
content?: {
|
|
734
|
-
heading?: string |
|
|
735
|
-
messageText?: string |
|
|
736
|
-
paragraphs?: string[] |
|
|
737
|
-
mobileMessageText?: string |
|
|
738
|
-
highlightedText?: string |
|
|
820
|
+
heading?: string | undefined;
|
|
821
|
+
messageText?: string | undefined;
|
|
822
|
+
paragraphs?: string[] | undefined;
|
|
823
|
+
mobileMessageText?: string | undefined;
|
|
824
|
+
highlightedText?: string | undefined;
|
|
739
825
|
cta?: {
|
|
740
826
|
text: string;
|
|
741
827
|
baseUrl: string;
|
|
742
|
-
} |
|
|
828
|
+
} | undefined;
|
|
743
829
|
secondaryCta?: {
|
|
744
830
|
type: import("./shared").SecondaryCtaType.Custom;
|
|
745
831
|
cta: {
|
|
@@ -748,18 +834,18 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
748
834
|
};
|
|
749
835
|
} | {
|
|
750
836
|
type: import("./shared").SecondaryCtaType.ContributionsReminder;
|
|
751
|
-
} |
|
|
837
|
+
} | undefined;
|
|
752
838
|
} | null | undefined;
|
|
753
839
|
mobileContent?: {
|
|
754
|
-
heading?: string |
|
|
755
|
-
messageText?: string |
|
|
756
|
-
paragraphs?: string[] |
|
|
757
|
-
mobileMessageText?: string |
|
|
758
|
-
highlightedText?: string |
|
|
840
|
+
heading?: string | undefined;
|
|
841
|
+
messageText?: string | undefined;
|
|
842
|
+
paragraphs?: string[] | undefined;
|
|
843
|
+
mobileMessageText?: string | undefined;
|
|
844
|
+
highlightedText?: string | undefined;
|
|
759
845
|
cta?: {
|
|
760
846
|
text: string;
|
|
761
847
|
baseUrl: string;
|
|
762
|
-
} |
|
|
848
|
+
} | undefined;
|
|
763
849
|
secondaryCta?: {
|
|
764
850
|
type: import("./shared").SecondaryCtaType.Custom;
|
|
765
851
|
cta: {
|
|
@@ -768,7 +854,7 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
768
854
|
};
|
|
769
855
|
} | {
|
|
770
856
|
type: import("./shared").SecondaryCtaType.ContributionsReminder;
|
|
771
|
-
} |
|
|
857
|
+
} | undefined;
|
|
772
858
|
} | null | undefined;
|
|
773
859
|
countryCode?: string | null | undefined;
|
|
774
860
|
isSupporter?: boolean | null | undefined;
|
|
@@ -856,12 +942,11 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
856
942
|
} | null | undefined;
|
|
857
943
|
} | null | undefined;
|
|
858
944
|
}, {
|
|
859
|
-
bannerChannel: "contributions" | "subscriptions" | "signIn";
|
|
860
945
|
tracking: {
|
|
861
|
-
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
862
946
|
abTestName: string;
|
|
863
947
|
abTestVariant: string;
|
|
864
948
|
campaignCode: string;
|
|
949
|
+
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
865
950
|
ophanPageId: string;
|
|
866
951
|
platformId: string;
|
|
867
952
|
referrerUrl: string;
|
|
@@ -869,16 +954,17 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
869
954
|
products?: ("CONTRIBUTION" | "MEMBERSHIP_SUPPORTER" | "DIGITAL_SUBSCRIPTION" | "PRINT_SUBSCRIPTION")[] | null | undefined;
|
|
870
955
|
labels?: string[] | null | undefined;
|
|
871
956
|
};
|
|
957
|
+
bannerChannel: "contributions" | "subscriptions" | "signIn";
|
|
872
958
|
content?: {
|
|
873
|
-
heading?: string |
|
|
874
|
-
messageText?: string |
|
|
875
|
-
paragraphs?: string[] |
|
|
876
|
-
mobileMessageText?: string |
|
|
877
|
-
highlightedText?: string |
|
|
959
|
+
heading?: string | undefined;
|
|
960
|
+
messageText?: string | undefined;
|
|
961
|
+
paragraphs?: string[] | undefined;
|
|
962
|
+
mobileMessageText?: string | undefined;
|
|
963
|
+
highlightedText?: string | undefined;
|
|
878
964
|
cta?: {
|
|
879
965
|
text: string;
|
|
880
966
|
baseUrl: string;
|
|
881
|
-
} |
|
|
967
|
+
} | undefined;
|
|
882
968
|
secondaryCta?: {
|
|
883
969
|
type: import("./shared").SecondaryCtaType.Custom;
|
|
884
970
|
cta: {
|
|
@@ -887,18 +973,18 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
887
973
|
};
|
|
888
974
|
} | {
|
|
889
975
|
type: import("./shared").SecondaryCtaType.ContributionsReminder;
|
|
890
|
-
} |
|
|
976
|
+
} | undefined;
|
|
891
977
|
} | null | undefined;
|
|
892
978
|
mobileContent?: {
|
|
893
|
-
heading?: string |
|
|
894
|
-
messageText?: string |
|
|
895
|
-
paragraphs?: string[] |
|
|
896
|
-
mobileMessageText?: string |
|
|
897
|
-
highlightedText?: string |
|
|
979
|
+
heading?: string | undefined;
|
|
980
|
+
messageText?: string | undefined;
|
|
981
|
+
paragraphs?: string[] | undefined;
|
|
982
|
+
mobileMessageText?: string | undefined;
|
|
983
|
+
highlightedText?: string | undefined;
|
|
898
984
|
cta?: {
|
|
899
985
|
text: string;
|
|
900
986
|
baseUrl: string;
|
|
901
|
-
} |
|
|
987
|
+
} | undefined;
|
|
902
988
|
secondaryCta?: {
|
|
903
989
|
type: import("./shared").SecondaryCtaType.Custom;
|
|
904
990
|
cta: {
|
|
@@ -907,7 +993,7 @@ export declare const bannerSchema: z.ZodObject<{
|
|
|
907
993
|
};
|
|
908
994
|
} | {
|
|
909
995
|
type: import("./shared").SecondaryCtaType.ContributionsReminder;
|
|
910
|
-
} |
|
|
996
|
+
} | undefined;
|
|
911
997
|
} | null | undefined;
|
|
912
998
|
countryCode?: string | null | undefined;
|
|
913
999
|
isSupporter?: boolean | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/types/props/banner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EACH,GAAG,EAEH,YAAY,EAEZ,cAAc,EAEd,QAAQ,EAEX,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAA4B,MAAM,UAAU,CAAC;AAExE,eAAO,MAAM,mBAAmB,yDAAuD,CAAC;AAExF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,MAAM,WAAW,aAAa;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACz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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcvB,CAAC"}
|
|
@@ -19,6 +19,7 @@ export interface EpicProps extends EmotionJSX.IntrinsicAttributes {
|
|
|
19
19
|
hasConsentForArticleCount?: boolean;
|
|
20
20
|
stage?: Stage;
|
|
21
21
|
}
|
|
22
|
+
export declare const contributionFrequencySchema: z.ZodEnum<["ONE_OFF", "MONTHLY", "ANNUAL"]>;
|
|
22
23
|
export declare const variantSchema: z.ZodObject<{
|
|
23
24
|
name: z.ZodString;
|
|
24
25
|
heading: z.ZodOptional<z.ZodString>;
|
|
@@ -129,7 +130,6 @@ export declare const variantSchema: z.ZodObject<{
|
|
|
129
130
|
}, {
|
|
130
131
|
url: string;
|
|
131
132
|
}>>;
|
|
132
|
-
footer: z.ZodOptional<z.ZodString>;
|
|
133
133
|
image: z.ZodOptional<z.ZodObject<{
|
|
134
134
|
mainUrl: z.ZodString;
|
|
135
135
|
mobileUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -409,7 +409,6 @@ export declare const variantSchema: z.ZodObject<{
|
|
|
409
409
|
newsletterSignup?: {
|
|
410
410
|
url: string;
|
|
411
411
|
} | undefined;
|
|
412
|
-
footer?: string | undefined;
|
|
413
412
|
image?: {
|
|
414
413
|
mainUrl: string;
|
|
415
414
|
altText: string;
|
|
@@ -509,7 +508,6 @@ export declare const variantSchema: z.ZodObject<{
|
|
|
509
508
|
newsletterSignup?: {
|
|
510
509
|
url: string;
|
|
511
510
|
} | undefined;
|
|
512
|
-
footer?: string | undefined;
|
|
513
511
|
image?: {
|
|
514
512
|
mainUrl: string;
|
|
515
513
|
altText: string;
|
|
@@ -685,7 +683,6 @@ export declare const epicPropsSchema: z.ZodObject<{
|
|
|
685
683
|
}, {
|
|
686
684
|
url: string;
|
|
687
685
|
}>>;
|
|
688
|
-
footer: z.ZodOptional<z.ZodString>;
|
|
689
686
|
image: z.ZodOptional<z.ZodObject<{
|
|
690
687
|
mainUrl: z.ZodString;
|
|
691
688
|
mobileUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -965,7 +962,6 @@ export declare const epicPropsSchema: z.ZodObject<{
|
|
|
965
962
|
newsletterSignup?: {
|
|
966
963
|
url: string;
|
|
967
964
|
} | undefined;
|
|
968
|
-
footer?: string | undefined;
|
|
969
965
|
image?: {
|
|
970
966
|
mainUrl: string;
|
|
971
967
|
altText: string;
|
|
@@ -1065,7 +1061,6 @@ export declare const epicPropsSchema: z.ZodObject<{
|
|
|
1065
1061
|
newsletterSignup?: {
|
|
1066
1062
|
url: string;
|
|
1067
1063
|
} | undefined;
|
|
1068
|
-
footer?: string | undefined;
|
|
1069
1064
|
image?: {
|
|
1070
1065
|
mainUrl: string;
|
|
1071
1066
|
altText: string;
|
|
@@ -1142,10 +1137,10 @@ export declare const epicPropsSchema: z.ZodObject<{
|
|
|
1142
1137
|
referrerUrl: z.ZodString;
|
|
1143
1138
|
clientName: z.ZodString;
|
|
1144
1139
|
}, "strip", z.ZodTypeAny, {
|
|
1145
|
-
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
1146
1140
|
abTestName: string;
|
|
1147
1141
|
abTestVariant: string;
|
|
1148
1142
|
campaignCode: string;
|
|
1143
|
+
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
1149
1144
|
ophanPageId: string;
|
|
1150
1145
|
platformId: string;
|
|
1151
1146
|
referrerUrl: string;
|
|
@@ -1153,10 +1148,10 @@ export declare const epicPropsSchema: z.ZodObject<{
|
|
|
1153
1148
|
products?: ("CONTRIBUTION" | "MEMBERSHIP_SUPPORTER" | "DIGITAL_SUBSCRIPTION" | "PRINT_SUBSCRIPTION")[] | null | undefined;
|
|
1154
1149
|
labels?: string[] | null | undefined;
|
|
1155
1150
|
}, {
|
|
1156
|
-
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
1157
1151
|
abTestName: string;
|
|
1158
1152
|
abTestVariant: string;
|
|
1159
1153
|
campaignCode: string;
|
|
1154
|
+
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
1160
1155
|
ophanPageId: string;
|
|
1161
1156
|
platformId: string;
|
|
1162
1157
|
referrerUrl: string;
|
|
@@ -1218,7 +1213,6 @@ export declare const epicPropsSchema: z.ZodObject<{
|
|
|
1218
1213
|
newsletterSignup?: {
|
|
1219
1214
|
url: string;
|
|
1220
1215
|
} | undefined;
|
|
1221
|
-
footer?: string | undefined;
|
|
1222
1216
|
image?: {
|
|
1223
1217
|
mainUrl: string;
|
|
1224
1218
|
altText: string;
|
|
@@ -1284,10 +1278,10 @@ export declare const epicPropsSchema: z.ZodObject<{
|
|
|
1284
1278
|
defaultChoiceCardFrequency?: "ONE_OFF" | "MONTHLY" | "ANNUAL" | undefined;
|
|
1285
1279
|
};
|
|
1286
1280
|
tracking: {
|
|
1287
|
-
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
1288
1281
|
abTestName: string;
|
|
1289
1282
|
abTestVariant: string;
|
|
1290
1283
|
campaignCode: string;
|
|
1284
|
+
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
1291
1285
|
ophanPageId: string;
|
|
1292
1286
|
platformId: string;
|
|
1293
1287
|
referrerUrl: string;
|
|
@@ -1343,7 +1337,6 @@ export declare const epicPropsSchema: z.ZodObject<{
|
|
|
1343
1337
|
newsletterSignup?: {
|
|
1344
1338
|
url: string;
|
|
1345
1339
|
} | undefined;
|
|
1346
|
-
footer?: string | undefined;
|
|
1347
1340
|
image?: {
|
|
1348
1341
|
mainUrl: string;
|
|
1349
1342
|
altText: string;
|
|
@@ -1409,10 +1402,10 @@ export declare const epicPropsSchema: z.ZodObject<{
|
|
|
1409
1402
|
defaultChoiceCardFrequency?: "ONE_OFF" | "MONTHLY" | "ANNUAL" | undefined;
|
|
1410
1403
|
};
|
|
1411
1404
|
tracking: {
|
|
1412
|
-
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
1413
1405
|
abTestName: string;
|
|
1414
1406
|
abTestVariant: string;
|
|
1415
1407
|
campaignCode: string;
|
|
1408
|
+
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
1416
1409
|
ophanPageId: string;
|
|
1417
1410
|
platformId: string;
|
|
1418
1411
|
referrerUrl: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"epic.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/types/props/epic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAKH,KAAK,EAEL,QAAQ,EAEX,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,MAAM,MAAM,gBAAgB,GACtB,YAAY,GACZ,kBAAkB,CAAC;AAIzB,MAAM,MAAM,aAAa,GAAG;KACvB,IAAI,IAAI,gBAAgB,GAAG,MAAM;CACrC,CAAC;AAEF,MAAM,WAAW,SAAU,SAAQ,UAAU,CAAC,mBAAmB;IAC7D,OAAO,EAAE,WAAW,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC;IAE7B,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC1C,oBAAoB,CAAC,EAAE,CAAC,cAAc,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACrE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,KAAK,CAAC,EAAE,KAAK,CAAC;CACjB;
|
|
1
|
+
{"version":3,"file":"epic.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/types/props/epic.ts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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW1B,CAAC"}
|
|
@@ -128,10 +128,10 @@ export declare const headerPropsSchema: z.ZodObject<{
|
|
|
128
128
|
referrerUrl: z.ZodString;
|
|
129
129
|
clientName: z.ZodString;
|
|
130
130
|
}, "strip", z.ZodTypeAny, {
|
|
131
|
-
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
132
131
|
abTestName: string;
|
|
133
132
|
abTestVariant: string;
|
|
134
133
|
campaignCode: string;
|
|
134
|
+
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
135
135
|
ophanPageId: string;
|
|
136
136
|
platformId: string;
|
|
137
137
|
referrerUrl: string;
|
|
@@ -139,10 +139,10 @@ export declare const headerPropsSchema: z.ZodObject<{
|
|
|
139
139
|
products?: ("CONTRIBUTION" | "MEMBERSHIP_SUPPORTER" | "DIGITAL_SUBSCRIPTION" | "PRINT_SUBSCRIPTION")[] | null | undefined;
|
|
140
140
|
labels?: string[] | null | undefined;
|
|
141
141
|
}, {
|
|
142
|
-
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
143
142
|
abTestName: string;
|
|
144
143
|
abTestVariant: string;
|
|
145
144
|
campaignCode: string;
|
|
145
|
+
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
146
146
|
ophanPageId: string;
|
|
147
147
|
platformId: string;
|
|
148
148
|
referrerUrl: string;
|
|
@@ -217,10 +217,10 @@ export declare const headerPropsSchema: z.ZodObject<{
|
|
|
217
217
|
benefits?: string[] | undefined;
|
|
218
218
|
};
|
|
219
219
|
tracking: {
|
|
220
|
-
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
221
220
|
abTestName: string;
|
|
222
221
|
abTestVariant: string;
|
|
223
222
|
campaignCode: string;
|
|
223
|
+
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
224
224
|
ophanPageId: string;
|
|
225
225
|
platformId: string;
|
|
226
226
|
referrerUrl: string;
|
|
@@ -259,10 +259,10 @@ export declare const headerPropsSchema: z.ZodObject<{
|
|
|
259
259
|
benefits?: string[] | undefined;
|
|
260
260
|
};
|
|
261
261
|
tracking: {
|
|
262
|
-
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
263
262
|
abTestName: string;
|
|
264
263
|
abTestVariant: string;
|
|
265
264
|
campaignCode: string;
|
|
265
|
+
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
266
266
|
ophanPageId: string;
|
|
267
267
|
platformId: string;
|
|
268
268
|
referrerUrl: string;
|
|
@@ -214,10 +214,10 @@ export declare const trackingSchema: z.ZodObject<{
|
|
|
214
214
|
referrerUrl: z.ZodString;
|
|
215
215
|
clientName: z.ZodString;
|
|
216
216
|
}, "strip", z.ZodTypeAny, {
|
|
217
|
-
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
218
217
|
abTestName: string;
|
|
219
218
|
abTestVariant: string;
|
|
220
219
|
campaignCode: string;
|
|
220
|
+
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
221
221
|
ophanPageId: string;
|
|
222
222
|
platformId: string;
|
|
223
223
|
referrerUrl: string;
|
|
@@ -225,10 +225,10 @@ export declare const trackingSchema: z.ZodObject<{
|
|
|
225
225
|
products?: ("CONTRIBUTION" | "MEMBERSHIP_SUPPORTER" | "DIGITAL_SUBSCRIPTION" | "PRINT_SUBSCRIPTION")[] | null | undefined;
|
|
226
226
|
labels?: string[] | null | undefined;
|
|
227
227
|
}, {
|
|
228
|
-
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
229
228
|
abTestName: string;
|
|
230
229
|
abTestVariant: string;
|
|
231
230
|
campaignCode: string;
|
|
231
|
+
componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
|
|
232
232
|
ophanPageId: string;
|
|
233
233
|
platformId: string;
|
|
234
234
|
referrerUrl: string;
|