@readyfor/api-client-pigeon 0.237.0-pr959.ab7545f → 0.237.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/{chunk-B22NIVP6.mjs → chunk-3BSY3CC4.mjs} +1 -1
- package/dist/chunk-6DE2SHQZ.mjs +19 -0
- package/dist/{chunk-EU35TDAI.mjs → chunk-BGIB7JQD.mjs} +1 -1
- package/dist/{chunk-A27E5C24.mjs → chunk-D455PCO3.mjs} +1 -1
- package/dist/{chunk-HXNGO56J.mjs → chunk-DH3UXOBA.mjs} +1 -1
- package/dist/{chunk-A24CWOKX.mjs → chunk-DQW3ZEJN.mjs} +1 -1
- package/dist/{chunk-VP2N74DP.mjs → chunk-EYJTETGN.mjs} +1 -1
- package/dist/chunk-KBTZNIQJ.mjs +20 -0
- package/dist/{chunk-3X4E4U2O.mjs → chunk-KL2BCQLU.mjs} +1 -1
- package/dist/{chunk-N2OKUVZR.mjs → chunk-LUUW3QOB.mjs} +1 -1
- package/dist/{chunk-6HAZ74NE.mjs → chunk-MFCSQX6F.mjs} +1 -1
- package/dist/chunk-NIBXTDD3.mjs +15 -0
- package/dist/{chunk-SMZ4TQUF.mjs → chunk-NKNUFH54.mjs} +1 -1
- package/dist/{chunk-HXXKAZDM.mjs → chunk-QCIAYUXK.mjs} +139 -61
- package/dist/{chunk-X6SJMFUO.mjs → chunk-S2M3EJKW.mjs} +1 -1
- package/dist/{chunk-B6LDGLWA.mjs → chunk-VJU27CZQ.mjs} +1 -1
- package/dist/{chunk-6NDIJ4ES.mjs → chunk-VUY6GQWT.mjs} +1 -1
- package/dist/{chunk-6M2YBD2O.mjs → chunk-ZDQDW24D.mjs} +1 -1
- package/dist/components.d.mts +1811 -199
- package/dist/components.d.ts +1811 -199
- package/dist/components.js +147 -54
- package/dist/components.mjs +31 -1
- package/dist/fetch/campaigns.d.mts +24 -6
- package/dist/fetch/campaigns.d.ts +24 -6
- package/dist/fetch/campaigns.js +117 -54
- package/dist/fetch/campaigns.mjs +2 -2
- package/dist/fetch/campaignsCampaignIdImagesId.d.mts +12 -0
- package/dist/fetch/campaignsCampaignIdImagesId.d.ts +12 -0
- package/dist/fetch/campaignsCampaignIdImagesId.js +37 -0
- package/dist/fetch/campaignsCampaignIdImagesId.mjs +8 -0
- package/dist/fetch/campaignsId.d.mts +76 -4
- package/dist/fetch/campaignsId.d.ts +76 -4
- package/dist/fetch/campaignsId.js +117 -54
- package/dist/fetch/campaignsId.mjs +2 -2
- package/dist/fetch/campaignsIdImages.d.mts +24 -0
- package/dist/fetch/campaignsIdImages.d.ts +24 -0
- package/dist/fetch/campaignsIdImages.js +317 -0
- package/dist/fetch/campaignsIdImages.mjs +9 -0
- package/dist/fetch/campaignsIdPreview.js +117 -54
- package/dist/fetch/campaignsIdPreview.mjs +2 -2
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.mts +17 -0
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.ts +17 -0
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.js +42 -0
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.mjs +8 -0
- package/dist/fetch/projectsProjectIdOrKeyword.js +117 -54
- package/dist/fetch/projectsProjectIdOrKeyword.mjs +2 -2
- package/dist/fetch/segmentsBehaviorSegments.js +117 -54
- package/dist/fetch/segmentsBehaviorSegments.mjs +2 -2
- package/dist/fetch/segmentsProfileSegments.js +117 -54
- package/dist/fetch/segmentsProfileSegments.mjs +2 -2
- package/dist/fetch/segmentsTargetUsersCount.js +117 -54
- package/dist/fetch/segmentsTargetUsersCount.mjs +2 -2
- package/dist/hooks/index.js +162 -90
- package/dist/hooks/index.mjs +31 -28
- package/dist/hooks/useCampaigns.js +134 -62
- package/dist/hooks/useCampaigns.mjs +13 -10
- package/dist/hooks/useCampaignsId.js +134 -62
- package/dist/hooks/useCampaignsId.mjs +13 -10
- package/dist/hooks/useCampaignsIdPreview.js +134 -62
- package/dist/hooks/useCampaignsIdPreview.mjs +13 -10
- package/dist/hooks/useProjectsProjectIdOrKeyword.js +135 -63
- package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +13 -10
- package/dist/hooks/useSegmentsBehaviorSegments.js +135 -63
- package/dist/hooks/useSegmentsBehaviorSegments.mjs +13 -10
- package/dist/hooks/useSegmentsProfileSegments.js +135 -63
- package/dist/hooks/useSegmentsProfileSegments.mjs +13 -10
- package/dist/hooks/useSegmentsTargetUsersCount.js +135 -63
- package/dist/hooks/useSegmentsTargetUsersCount.mjs +13 -10
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +202 -68
- package/dist/index.mjs +63 -15
- package/dist/schemaType.d.mts +203 -53
- package/dist/schemaType.d.ts +203 -53
- package/package.json +12 -11
- /package/dist/{chunk-OAIF3WPC.mjs → chunk-5XEJOYX6.mjs} +0 -0
package/dist/components.d.mts
CHANGED
|
@@ -17,16 +17,6 @@ declare const UploadImageFormData: z.ZodObject<{
|
|
|
17
17
|
kind: "upload";
|
|
18
18
|
data?: any;
|
|
19
19
|
}>;
|
|
20
|
-
declare const PersonalizedMailMagazineTargetUploadCsvRecordFormData: z.ZodObject<{
|
|
21
|
-
userId: z.ZodNumber;
|
|
22
|
-
projectIds: z.ZodString;
|
|
23
|
-
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
userId: number;
|
|
25
|
-
projectIds: string;
|
|
26
|
-
}, {
|
|
27
|
-
userId: number;
|
|
28
|
-
projectIds: string;
|
|
29
|
-
}>;
|
|
30
20
|
declare const ImageFormData: z.ZodUnion<[z.ZodObject<{
|
|
31
21
|
kind: z.ZodLiteral<"upload">;
|
|
32
22
|
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
@@ -43,40 +33,41 @@ declare const ImageFormData: z.ZodUnion<[z.ZodObject<{
|
|
|
43
33
|
}, {
|
|
44
34
|
kind: "delete";
|
|
45
35
|
}>]>;
|
|
46
|
-
declare const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
userId: z.ZodNumber;
|
|
51
|
-
projectIds: z.ZodString;
|
|
52
|
-
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
userId: number;
|
|
54
|
-
projectIds: string;
|
|
55
|
-
}, {
|
|
56
|
-
userId: number;
|
|
57
|
-
projectIds: string;
|
|
58
|
-
}>, "many">;
|
|
36
|
+
declare const CurationMailMagazineTargetFilterFormData: z.ZodObject<{
|
|
37
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
38
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
39
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
59
40
|
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
userId: number;
|
|
64
|
-
projectIds: string;
|
|
65
|
-
}[];
|
|
41
|
+
id: number | null;
|
|
42
|
+
behaviorSegmentCodes: string[];
|
|
43
|
+
profileSegmentCodes: string[];
|
|
66
44
|
}, {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
userId: number;
|
|
71
|
-
projectIds: string;
|
|
72
|
-
}[];
|
|
45
|
+
id: number | null;
|
|
46
|
+
behaviorSegmentCodes: string[];
|
|
47
|
+
profileSegmentCodes: string[];
|
|
73
48
|
}>;
|
|
74
|
-
declare const
|
|
75
|
-
|
|
49
|
+
declare const PersonalizedMailMagazineTargetUploadCsvRecordFormData: z.ZodObject<{
|
|
50
|
+
userId: z.ZodNumber;
|
|
51
|
+
projectIds: z.ZodString;
|
|
76
52
|
}, "strip", z.ZodTypeAny, {
|
|
77
|
-
|
|
53
|
+
userId: number;
|
|
54
|
+
projectIds: string;
|
|
78
55
|
}, {
|
|
79
|
-
|
|
56
|
+
userId: number;
|
|
57
|
+
projectIds: string;
|
|
58
|
+
}>;
|
|
59
|
+
declare const CurationMailMagazineTargetFilter: z.ZodObject<{
|
|
60
|
+
id: z.ZodNumber;
|
|
61
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
62
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
id: number;
|
|
65
|
+
behaviorSegmentCodes: string[];
|
|
66
|
+
profileSegmentCodes: string[];
|
|
67
|
+
}, {
|
|
68
|
+
id: number;
|
|
69
|
+
behaviorSegmentCodes: string[];
|
|
70
|
+
profileSegmentCodes: string[];
|
|
80
71
|
}>;
|
|
81
72
|
declare const CurationMailMagazineBannerFormData: z.ZodObject<{
|
|
82
73
|
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
@@ -175,26 +166,43 @@ declare const CurationMailMagazineProjectFormData: z.ZodObject<{
|
|
|
175
166
|
tag: string | null;
|
|
176
167
|
tagUrl: string | null;
|
|
177
168
|
}>;
|
|
178
|
-
declare const
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
169
|
+
declare const CurationMailMagazineFormDataBase: z.ZodObject<{
|
|
170
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
171
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
172
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
173
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
174
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
175
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
176
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
177
|
+
}, "strip", z.ZodTypeAny, {
|
|
178
|
+
id: number | null;
|
|
179
|
+
behaviorSegmentCodes: string[];
|
|
180
|
+
profileSegmentCodes: string[];
|
|
181
|
+
}, {
|
|
182
|
+
id: number | null;
|
|
183
|
+
behaviorSegmentCodes: string[];
|
|
184
|
+
profileSegmentCodes: string[];
|
|
185
|
+
}>, "many">;
|
|
182
186
|
}, "strip", z.ZodTypeAny, {
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
187
|
+
utmCampaign: string | null;
|
|
188
|
+
subject: string | null;
|
|
189
|
+
preHeaderText: string | null;
|
|
190
|
+
targetFilters: {
|
|
191
|
+
id: number | null;
|
|
192
|
+
behaviorSegmentCodes: string[];
|
|
193
|
+
profileSegmentCodes: string[];
|
|
194
|
+
}[];
|
|
186
195
|
}, {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
196
|
+
utmCampaign: string | null;
|
|
197
|
+
subject: string | null;
|
|
198
|
+
preHeaderText: string | null;
|
|
199
|
+
targetFilters: {
|
|
200
|
+
id: number | null;
|
|
201
|
+
behaviorSegmentCodes: string[];
|
|
202
|
+
profileSegmentCodes: string[];
|
|
203
|
+
}[];
|
|
190
204
|
}>;
|
|
191
|
-
declare const
|
|
192
|
-
kind: z.ZodLiteral<"deleteTargetCsv">;
|
|
193
|
-
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
kind: "deleteTargetCsv";
|
|
195
|
-
}, {
|
|
196
|
-
kind: "deleteTargetCsv";
|
|
197
|
-
}>, z.ZodObject<{
|
|
205
|
+
declare const PersonalizedMailMagazineTargetUploadCsvFormData: z.ZodObject<{
|
|
198
206
|
kind: z.ZodLiteral<"uploadCsv">;
|
|
199
207
|
fileName: z.ZodString;
|
|
200
208
|
records: z.ZodArray<z.ZodObject<{
|
|
@@ -204,83 +212,588 @@ declare const PersonalizedMailMagazineTargetCsvFormData: z.ZodUnion<[z.ZodObject
|
|
|
204
212
|
userId: number;
|
|
205
213
|
projectIds: string;
|
|
206
214
|
}, {
|
|
207
|
-
userId: number;
|
|
208
|
-
projectIds: string;
|
|
215
|
+
userId: number;
|
|
216
|
+
projectIds: string;
|
|
217
|
+
}>, "many">;
|
|
218
|
+
}, "strip", z.ZodTypeAny, {
|
|
219
|
+
kind: "uploadCsv";
|
|
220
|
+
fileName: string;
|
|
221
|
+
records: {
|
|
222
|
+
userId: number;
|
|
223
|
+
projectIds: string;
|
|
224
|
+
}[];
|
|
225
|
+
}, {
|
|
226
|
+
kind: "uploadCsv";
|
|
227
|
+
fileName: string;
|
|
228
|
+
records: {
|
|
229
|
+
userId: number;
|
|
230
|
+
projectIds: string;
|
|
231
|
+
}[];
|
|
232
|
+
}>;
|
|
233
|
+
declare const PersonalizedMailMagazineTargetDeleteCsvFormData: z.ZodObject<{
|
|
234
|
+
kind: z.ZodLiteral<"deleteTargetCsv">;
|
|
235
|
+
}, "strip", z.ZodTypeAny, {
|
|
236
|
+
kind: "deleteTargetCsv";
|
|
237
|
+
}, {
|
|
238
|
+
kind: "deleteTargetCsv";
|
|
239
|
+
}>;
|
|
240
|
+
declare const Image: z.ZodObject<{
|
|
241
|
+
id: z.ZodNumber;
|
|
242
|
+
key: z.ZodString;
|
|
243
|
+
}, "strip", z.ZodTypeAny, {
|
|
244
|
+
id: number;
|
|
245
|
+
key: string;
|
|
246
|
+
}, {
|
|
247
|
+
id: number;
|
|
248
|
+
key: string;
|
|
249
|
+
}>;
|
|
250
|
+
declare const CurationMailMagazineDetailBase: z.ZodObject<{
|
|
251
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
252
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
253
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
254
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
255
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
256
|
+
id: z.ZodNumber;
|
|
257
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
258
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
259
|
+
}, "strip", z.ZodTypeAny, {
|
|
260
|
+
id: number;
|
|
261
|
+
behaviorSegmentCodes: string[];
|
|
262
|
+
profileSegmentCodes: string[];
|
|
263
|
+
}, {
|
|
264
|
+
id: number;
|
|
265
|
+
behaviorSegmentCodes: string[];
|
|
266
|
+
profileSegmentCodes: string[];
|
|
267
|
+
}>, "many">;
|
|
268
|
+
}, "strip", z.ZodTypeAny, {
|
|
269
|
+
utmCampaign: string | null;
|
|
270
|
+
subject: string | null;
|
|
271
|
+
preHeaderText: string | null;
|
|
272
|
+
targetFilters: {
|
|
273
|
+
id: number;
|
|
274
|
+
behaviorSegmentCodes: string[];
|
|
275
|
+
profileSegmentCodes: string[];
|
|
276
|
+
}[];
|
|
277
|
+
deliveredUsersCount: number | null;
|
|
278
|
+
}, {
|
|
279
|
+
utmCampaign: string | null;
|
|
280
|
+
subject: string | null;
|
|
281
|
+
preHeaderText: string | null;
|
|
282
|
+
targetFilters: {
|
|
283
|
+
id: number;
|
|
284
|
+
behaviorSegmentCodes: string[];
|
|
285
|
+
profileSegmentCodes: string[];
|
|
286
|
+
}[];
|
|
287
|
+
deliveredUsersCount: number | null;
|
|
288
|
+
}>;
|
|
289
|
+
declare const CurationMailMagazineBanner: z.ZodObject<{
|
|
290
|
+
id: z.ZodNumber;
|
|
291
|
+
slotNumber: z.ZodNumber;
|
|
292
|
+
imageUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
293
|
+
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
294
|
+
}, "strip", z.ZodTypeAny, {
|
|
295
|
+
id: number;
|
|
296
|
+
slotNumber: number;
|
|
297
|
+
url: string | null;
|
|
298
|
+
imageUrl: string | null;
|
|
299
|
+
}, {
|
|
300
|
+
id: number;
|
|
301
|
+
slotNumber: number;
|
|
302
|
+
url: string | null;
|
|
303
|
+
imageUrl: string | null;
|
|
304
|
+
}>;
|
|
305
|
+
declare const CurationMailMagazineTargetProject: z.ZodObject<{
|
|
306
|
+
id: z.ZodNumber;
|
|
307
|
+
readyforProjectId: z.ZodNumber;
|
|
308
|
+
slotNumber: z.ZodNumber;
|
|
309
|
+
isPaidSlot: z.ZodBoolean;
|
|
310
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
311
|
+
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
312
|
+
thumbnailUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
313
|
+
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
314
|
+
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
315
|
+
}, "strip", z.ZodTypeAny, {
|
|
316
|
+
id: number;
|
|
317
|
+
slotNumber: number;
|
|
318
|
+
readyforProjectId: number;
|
|
319
|
+
isPaidSlot: boolean;
|
|
320
|
+
title: string | null;
|
|
321
|
+
description: string | null;
|
|
322
|
+
tag: string | null;
|
|
323
|
+
tagUrl: string | null;
|
|
324
|
+
thumbnailUrl: string | null;
|
|
325
|
+
}, {
|
|
326
|
+
id: number;
|
|
327
|
+
slotNumber: number;
|
|
328
|
+
readyforProjectId: number;
|
|
329
|
+
isPaidSlot: boolean;
|
|
330
|
+
title: string | null;
|
|
331
|
+
description: string | null;
|
|
332
|
+
tag: string | null;
|
|
333
|
+
tagUrl: string | null;
|
|
334
|
+
thumbnailUrl: string | null;
|
|
335
|
+
}>;
|
|
336
|
+
declare const CurationMailMagazineFormDataBodyKindTemplate: z.ZodObject<z.objectUtil.extendShape<{
|
|
337
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
338
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
339
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
340
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
341
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
342
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
343
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
344
|
+
}, "strip", z.ZodTypeAny, {
|
|
345
|
+
id: number | null;
|
|
346
|
+
behaviorSegmentCodes: string[];
|
|
347
|
+
profileSegmentCodes: string[];
|
|
348
|
+
}, {
|
|
349
|
+
id: number | null;
|
|
350
|
+
behaviorSegmentCodes: string[];
|
|
351
|
+
profileSegmentCodes: string[];
|
|
352
|
+
}>, "many">;
|
|
353
|
+
}, {
|
|
354
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
355
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
356
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
357
|
+
slotNumber: z.ZodNumber;
|
|
358
|
+
readyforProjectId: z.ZodNumber;
|
|
359
|
+
isPaidSlot: z.ZodBoolean;
|
|
360
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
361
|
+
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
362
|
+
thumbnail: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
363
|
+
kind: z.ZodLiteral<"upload">;
|
|
364
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
365
|
+
}, "strip", z.ZodTypeAny, {
|
|
366
|
+
kind: "upload";
|
|
367
|
+
data?: any;
|
|
368
|
+
}, {
|
|
369
|
+
kind: "upload";
|
|
370
|
+
data?: any;
|
|
371
|
+
}>, z.ZodObject<{
|
|
372
|
+
kind: z.ZodLiteral<"delete">;
|
|
373
|
+
}, "strip", z.ZodTypeAny, {
|
|
374
|
+
kind: "delete";
|
|
375
|
+
}, {
|
|
376
|
+
kind: "delete";
|
|
377
|
+
}>]>, z.ZodNull]>;
|
|
378
|
+
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
379
|
+
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
380
|
+
}, "strip", z.ZodTypeAny, {
|
|
381
|
+
id: number | null;
|
|
382
|
+
slotNumber: number;
|
|
383
|
+
readyforProjectId: number;
|
|
384
|
+
isPaidSlot: boolean;
|
|
385
|
+
title: string | null;
|
|
386
|
+
description: string | null;
|
|
387
|
+
thumbnail: {
|
|
388
|
+
kind: "delete";
|
|
389
|
+
} | {
|
|
390
|
+
kind: "upload";
|
|
391
|
+
data?: any;
|
|
392
|
+
} | null;
|
|
393
|
+
tag: string | null;
|
|
394
|
+
tagUrl: string | null;
|
|
395
|
+
}, {
|
|
396
|
+
id: number | null;
|
|
397
|
+
slotNumber: number;
|
|
398
|
+
readyforProjectId: number;
|
|
399
|
+
isPaidSlot: boolean;
|
|
400
|
+
title: string | null;
|
|
401
|
+
description: string | null;
|
|
402
|
+
thumbnail: {
|
|
403
|
+
kind: "delete";
|
|
404
|
+
} | {
|
|
405
|
+
kind: "upload";
|
|
406
|
+
data?: any;
|
|
407
|
+
} | null;
|
|
408
|
+
tag: string | null;
|
|
409
|
+
tagUrl: string | null;
|
|
410
|
+
}>, "many">;
|
|
411
|
+
banners: z.ZodArray<z.ZodObject<{
|
|
412
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
413
|
+
slotNumber: z.ZodNumber;
|
|
414
|
+
image: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
415
|
+
kind: z.ZodLiteral<"upload">;
|
|
416
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
417
|
+
}, "strip", z.ZodTypeAny, {
|
|
418
|
+
kind: "upload";
|
|
419
|
+
data?: any;
|
|
420
|
+
}, {
|
|
421
|
+
kind: "upload";
|
|
422
|
+
data?: any;
|
|
423
|
+
}>, z.ZodObject<{
|
|
424
|
+
kind: z.ZodLiteral<"delete">;
|
|
425
|
+
}, "strip", z.ZodTypeAny, {
|
|
426
|
+
kind: "delete";
|
|
427
|
+
}, {
|
|
428
|
+
kind: "delete";
|
|
429
|
+
}>]>, z.ZodNull]>;
|
|
430
|
+
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
431
|
+
}, "strip", z.ZodTypeAny, {
|
|
432
|
+
id: number | null;
|
|
433
|
+
slotNumber: number;
|
|
434
|
+
image: {
|
|
435
|
+
kind: "delete";
|
|
436
|
+
} | {
|
|
437
|
+
kind: "upload";
|
|
438
|
+
data?: any;
|
|
439
|
+
} | null;
|
|
440
|
+
url: string | null;
|
|
441
|
+
}, {
|
|
442
|
+
id: number | null;
|
|
443
|
+
slotNumber: number;
|
|
444
|
+
image: {
|
|
445
|
+
kind: "delete";
|
|
446
|
+
} | {
|
|
447
|
+
kind: "upload";
|
|
448
|
+
data?: any;
|
|
449
|
+
} | null;
|
|
450
|
+
url: string | null;
|
|
451
|
+
}>, "many">;
|
|
452
|
+
}>, "strip", z.ZodTypeAny, {
|
|
453
|
+
utmCampaign: string | null;
|
|
454
|
+
subject: string | null;
|
|
455
|
+
preHeaderText: string | null;
|
|
456
|
+
targetFilters: {
|
|
457
|
+
id: number | null;
|
|
458
|
+
behaviorSegmentCodes: string[];
|
|
459
|
+
profileSegmentCodes: string[];
|
|
460
|
+
}[];
|
|
461
|
+
bodyKind: "template";
|
|
462
|
+
projects: {
|
|
463
|
+
id: number | null;
|
|
464
|
+
slotNumber: number;
|
|
465
|
+
readyforProjectId: number;
|
|
466
|
+
isPaidSlot: boolean;
|
|
467
|
+
title: string | null;
|
|
468
|
+
description: string | null;
|
|
469
|
+
thumbnail: {
|
|
470
|
+
kind: "delete";
|
|
471
|
+
} | {
|
|
472
|
+
kind: "upload";
|
|
473
|
+
data?: any;
|
|
474
|
+
} | null;
|
|
475
|
+
tag: string | null;
|
|
476
|
+
tagUrl: string | null;
|
|
477
|
+
}[];
|
|
478
|
+
banners: {
|
|
479
|
+
id: number | null;
|
|
480
|
+
slotNumber: number;
|
|
481
|
+
image: {
|
|
482
|
+
kind: "delete";
|
|
483
|
+
} | {
|
|
484
|
+
kind: "upload";
|
|
485
|
+
data?: any;
|
|
486
|
+
} | null;
|
|
487
|
+
url: string | null;
|
|
488
|
+
}[];
|
|
489
|
+
}, {
|
|
490
|
+
utmCampaign: string | null;
|
|
491
|
+
subject: string | null;
|
|
492
|
+
preHeaderText: string | null;
|
|
493
|
+
targetFilters: {
|
|
494
|
+
id: number | null;
|
|
495
|
+
behaviorSegmentCodes: string[];
|
|
496
|
+
profileSegmentCodes: string[];
|
|
497
|
+
}[];
|
|
498
|
+
bodyKind: "template";
|
|
499
|
+
projects: {
|
|
500
|
+
id: number | null;
|
|
501
|
+
slotNumber: number;
|
|
502
|
+
readyforProjectId: number;
|
|
503
|
+
isPaidSlot: boolean;
|
|
504
|
+
title: string | null;
|
|
505
|
+
description: string | null;
|
|
506
|
+
thumbnail: {
|
|
507
|
+
kind: "delete";
|
|
508
|
+
} | {
|
|
509
|
+
kind: "upload";
|
|
510
|
+
data?: any;
|
|
511
|
+
} | null;
|
|
512
|
+
tag: string | null;
|
|
513
|
+
tagUrl: string | null;
|
|
514
|
+
}[];
|
|
515
|
+
banners: {
|
|
516
|
+
id: number | null;
|
|
517
|
+
slotNumber: number;
|
|
518
|
+
image: {
|
|
519
|
+
kind: "delete";
|
|
520
|
+
} | {
|
|
521
|
+
kind: "upload";
|
|
522
|
+
data?: any;
|
|
523
|
+
} | null;
|
|
524
|
+
url: string | null;
|
|
525
|
+
}[];
|
|
526
|
+
}>;
|
|
527
|
+
declare const CurationMailMagazineFormDataBodyKindFreeFormat: z.ZodObject<z.objectUtil.extendShape<{
|
|
528
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
529
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
530
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
531
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
532
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
533
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
534
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
535
|
+
}, "strip", z.ZodTypeAny, {
|
|
536
|
+
id: number | null;
|
|
537
|
+
behaviorSegmentCodes: string[];
|
|
538
|
+
profileSegmentCodes: string[];
|
|
539
|
+
}, {
|
|
540
|
+
id: number | null;
|
|
541
|
+
behaviorSegmentCodes: string[];
|
|
542
|
+
profileSegmentCodes: string[];
|
|
543
|
+
}>, "many">;
|
|
544
|
+
}, {
|
|
545
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
546
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
547
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
548
|
+
}>, "strip", z.ZodTypeAny, {
|
|
549
|
+
utmCampaign: string | null;
|
|
550
|
+
subject: string | null;
|
|
551
|
+
preHeaderText: string | null;
|
|
552
|
+
targetFilters: {
|
|
553
|
+
id: number | null;
|
|
554
|
+
behaviorSegmentCodes: string[];
|
|
555
|
+
profileSegmentCodes: string[];
|
|
556
|
+
}[];
|
|
557
|
+
bodyKind: "freeFormat";
|
|
558
|
+
htmlBody: string | null;
|
|
559
|
+
htmlStyle: string | null;
|
|
560
|
+
}, {
|
|
561
|
+
utmCampaign: string | null;
|
|
562
|
+
subject: string | null;
|
|
563
|
+
preHeaderText: string | null;
|
|
564
|
+
targetFilters: {
|
|
565
|
+
id: number | null;
|
|
566
|
+
behaviorSegmentCodes: string[];
|
|
567
|
+
profileSegmentCodes: string[];
|
|
568
|
+
}[];
|
|
569
|
+
bodyKind: "freeFormat";
|
|
570
|
+
htmlBody: string | null;
|
|
571
|
+
htmlStyle: string | null;
|
|
572
|
+
}>;
|
|
573
|
+
declare const PersonalizedMailMagazineTargetCsvFormData: z.ZodUnion<[z.ZodObject<{
|
|
574
|
+
kind: z.ZodLiteral<"deleteTargetCsv">;
|
|
575
|
+
}, "strip", z.ZodTypeAny, {
|
|
576
|
+
kind: "deleteTargetCsv";
|
|
577
|
+
}, {
|
|
578
|
+
kind: "deleteTargetCsv";
|
|
579
|
+
}>, z.ZodObject<{
|
|
580
|
+
kind: z.ZodLiteral<"uploadCsv">;
|
|
581
|
+
fileName: z.ZodString;
|
|
582
|
+
records: z.ZodArray<z.ZodObject<{
|
|
583
|
+
userId: z.ZodNumber;
|
|
584
|
+
projectIds: z.ZodString;
|
|
585
|
+
}, "strip", z.ZodTypeAny, {
|
|
586
|
+
userId: number;
|
|
587
|
+
projectIds: string;
|
|
588
|
+
}, {
|
|
589
|
+
userId: number;
|
|
590
|
+
projectIds: string;
|
|
591
|
+
}>, "many">;
|
|
592
|
+
}, "strip", z.ZodTypeAny, {
|
|
593
|
+
kind: "uploadCsv";
|
|
594
|
+
fileName: string;
|
|
595
|
+
records: {
|
|
596
|
+
userId: number;
|
|
597
|
+
projectIds: string;
|
|
598
|
+
}[];
|
|
599
|
+
}, {
|
|
600
|
+
kind: "uploadCsv";
|
|
601
|
+
fileName: string;
|
|
602
|
+
records: {
|
|
603
|
+
userId: number;
|
|
604
|
+
projectIds: string;
|
|
605
|
+
}[];
|
|
606
|
+
}>]>;
|
|
607
|
+
declare const CurationMailMagazineDetailBodyKindFreeFormat: z.ZodObject<z.objectUtil.extendShape<{
|
|
608
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
609
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
610
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
611
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
612
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
613
|
+
id: z.ZodNumber;
|
|
614
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
615
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
616
|
+
}, "strip", z.ZodTypeAny, {
|
|
617
|
+
id: number;
|
|
618
|
+
behaviorSegmentCodes: string[];
|
|
619
|
+
profileSegmentCodes: string[];
|
|
620
|
+
}, {
|
|
621
|
+
id: number;
|
|
622
|
+
behaviorSegmentCodes: string[];
|
|
623
|
+
profileSegmentCodes: string[];
|
|
624
|
+
}>, "many">;
|
|
625
|
+
}, {
|
|
626
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
627
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
628
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
629
|
+
images: z.ZodArray<z.ZodObject<{
|
|
630
|
+
id: z.ZodNumber;
|
|
631
|
+
key: z.ZodString;
|
|
632
|
+
}, "strip", z.ZodTypeAny, {
|
|
633
|
+
id: number;
|
|
634
|
+
key: string;
|
|
635
|
+
}, {
|
|
636
|
+
id: number;
|
|
637
|
+
key: string;
|
|
638
|
+
}>, "many">;
|
|
639
|
+
}>, "strip", z.ZodTypeAny, {
|
|
640
|
+
utmCampaign: string | null;
|
|
641
|
+
subject: string | null;
|
|
642
|
+
preHeaderText: string | null;
|
|
643
|
+
targetFilters: {
|
|
644
|
+
id: number;
|
|
645
|
+
behaviorSegmentCodes: string[];
|
|
646
|
+
profileSegmentCodes: string[];
|
|
647
|
+
}[];
|
|
648
|
+
deliveredUsersCount: number | null;
|
|
649
|
+
bodyKind: "freeFormat";
|
|
650
|
+
htmlBody: string | null;
|
|
651
|
+
htmlStyle: string | null;
|
|
652
|
+
images: {
|
|
653
|
+
id: number;
|
|
654
|
+
key: string;
|
|
655
|
+
}[];
|
|
656
|
+
}, {
|
|
657
|
+
utmCampaign: string | null;
|
|
658
|
+
subject: string | null;
|
|
659
|
+
preHeaderText: string | null;
|
|
660
|
+
targetFilters: {
|
|
661
|
+
id: number;
|
|
662
|
+
behaviorSegmentCodes: string[];
|
|
663
|
+
profileSegmentCodes: string[];
|
|
664
|
+
}[];
|
|
665
|
+
deliveredUsersCount: number | null;
|
|
666
|
+
bodyKind: "freeFormat";
|
|
667
|
+
htmlBody: string | null;
|
|
668
|
+
htmlStyle: string | null;
|
|
669
|
+
images: {
|
|
670
|
+
id: number;
|
|
671
|
+
key: string;
|
|
672
|
+
}[];
|
|
673
|
+
}>;
|
|
674
|
+
declare const CurationMailMagazineDetailBodyKindTemplate: z.ZodObject<z.objectUtil.extendShape<{
|
|
675
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
676
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
677
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
678
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
679
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
680
|
+
id: z.ZodNumber;
|
|
681
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
682
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
683
|
+
}, "strip", z.ZodTypeAny, {
|
|
684
|
+
id: number;
|
|
685
|
+
behaviorSegmentCodes: string[];
|
|
686
|
+
profileSegmentCodes: string[];
|
|
687
|
+
}, {
|
|
688
|
+
id: number;
|
|
689
|
+
behaviorSegmentCodes: string[];
|
|
690
|
+
profileSegmentCodes: string[];
|
|
691
|
+
}>, "many">;
|
|
692
|
+
}, {
|
|
693
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
694
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
695
|
+
id: z.ZodNumber;
|
|
696
|
+
readyforProjectId: z.ZodNumber;
|
|
697
|
+
slotNumber: z.ZodNumber;
|
|
698
|
+
isPaidSlot: z.ZodBoolean;
|
|
699
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
700
|
+
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
701
|
+
thumbnailUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
702
|
+
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
703
|
+
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
704
|
+
}, "strip", z.ZodTypeAny, {
|
|
705
|
+
id: number;
|
|
706
|
+
slotNumber: number;
|
|
707
|
+
readyforProjectId: number;
|
|
708
|
+
isPaidSlot: boolean;
|
|
709
|
+
title: string | null;
|
|
710
|
+
description: string | null;
|
|
711
|
+
tag: string | null;
|
|
712
|
+
tagUrl: string | null;
|
|
713
|
+
thumbnailUrl: string | null;
|
|
714
|
+
}, {
|
|
715
|
+
id: number;
|
|
716
|
+
slotNumber: number;
|
|
717
|
+
readyforProjectId: number;
|
|
718
|
+
isPaidSlot: boolean;
|
|
719
|
+
title: string | null;
|
|
720
|
+
description: string | null;
|
|
721
|
+
tag: string | null;
|
|
722
|
+
tagUrl: string | null;
|
|
723
|
+
thumbnailUrl: string | null;
|
|
724
|
+
}>, "many">;
|
|
725
|
+
banners: z.ZodArray<z.ZodObject<{
|
|
726
|
+
id: z.ZodNumber;
|
|
727
|
+
slotNumber: z.ZodNumber;
|
|
728
|
+
imageUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
729
|
+
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
730
|
+
}, "strip", z.ZodTypeAny, {
|
|
731
|
+
id: number;
|
|
732
|
+
slotNumber: number;
|
|
733
|
+
url: string | null;
|
|
734
|
+
imageUrl: string | null;
|
|
735
|
+
}, {
|
|
736
|
+
id: number;
|
|
737
|
+
slotNumber: number;
|
|
738
|
+
url: string | null;
|
|
739
|
+
imageUrl: string | null;
|
|
209
740
|
}>, "many">;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
741
|
+
}>, "strip", z.ZodTypeAny, {
|
|
742
|
+
utmCampaign: string | null;
|
|
743
|
+
subject: string | null;
|
|
744
|
+
preHeaderText: string | null;
|
|
745
|
+
targetFilters: {
|
|
746
|
+
id: number;
|
|
747
|
+
behaviorSegmentCodes: string[];
|
|
748
|
+
profileSegmentCodes: string[];
|
|
216
749
|
}[];
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
750
|
+
deliveredUsersCount: number | null;
|
|
751
|
+
bodyKind: "template";
|
|
752
|
+
projects: {
|
|
753
|
+
id: number;
|
|
754
|
+
slotNumber: number;
|
|
755
|
+
readyforProjectId: number;
|
|
756
|
+
isPaidSlot: boolean;
|
|
757
|
+
title: string | null;
|
|
758
|
+
description: string | null;
|
|
759
|
+
tag: string | null;
|
|
760
|
+
tagUrl: string | null;
|
|
761
|
+
thumbnailUrl: string | null;
|
|
762
|
+
}[];
|
|
763
|
+
banners: {
|
|
764
|
+
id: number;
|
|
765
|
+
slotNumber: number;
|
|
766
|
+
url: string | null;
|
|
767
|
+
imageUrl: string | null;
|
|
223
768
|
}[];
|
|
224
|
-
}>]>;
|
|
225
|
-
declare const CurationMailMagazineBanner: z.ZodObject<{
|
|
226
|
-
id: z.ZodNumber;
|
|
227
|
-
slotNumber: z.ZodNumber;
|
|
228
|
-
imageUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
229
|
-
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
230
|
-
}, "strip", z.ZodTypeAny, {
|
|
231
|
-
id: number;
|
|
232
|
-
slotNumber: number;
|
|
233
|
-
url: string | null;
|
|
234
|
-
imageUrl: string | null;
|
|
235
|
-
}, {
|
|
236
|
-
id: number;
|
|
237
|
-
slotNumber: number;
|
|
238
|
-
url: string | null;
|
|
239
|
-
imageUrl: string | null;
|
|
240
|
-
}>;
|
|
241
|
-
declare const CurationMailMagazineTargetProject: z.ZodObject<{
|
|
242
|
-
id: z.ZodNumber;
|
|
243
|
-
readyforProjectId: z.ZodNumber;
|
|
244
|
-
slotNumber: z.ZodNumber;
|
|
245
|
-
isPaidSlot: z.ZodBoolean;
|
|
246
|
-
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
247
|
-
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
248
|
-
thumbnailUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
249
|
-
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
250
|
-
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
251
|
-
}, "strip", z.ZodTypeAny, {
|
|
252
|
-
id: number;
|
|
253
|
-
slotNumber: number;
|
|
254
|
-
readyforProjectId: number;
|
|
255
|
-
isPaidSlot: boolean;
|
|
256
|
-
title: string | null;
|
|
257
|
-
description: string | null;
|
|
258
|
-
tag: string | null;
|
|
259
|
-
tagUrl: string | null;
|
|
260
|
-
thumbnailUrl: string | null;
|
|
261
|
-
}, {
|
|
262
|
-
id: number;
|
|
263
|
-
slotNumber: number;
|
|
264
|
-
readyforProjectId: number;
|
|
265
|
-
isPaidSlot: boolean;
|
|
266
|
-
title: string | null;
|
|
267
|
-
description: string | null;
|
|
268
|
-
tag: string | null;
|
|
269
|
-
tagUrl: string | null;
|
|
270
|
-
thumbnailUrl: string | null;
|
|
271
|
-
}>;
|
|
272
|
-
declare const CurationMailMagazineTargetFilter: z.ZodObject<{
|
|
273
|
-
id: z.ZodNumber;
|
|
274
|
-
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
275
|
-
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
276
|
-
}, "strip", z.ZodTypeAny, {
|
|
277
|
-
id: number;
|
|
278
|
-
behaviorSegmentCodes: string[];
|
|
279
|
-
profileSegmentCodes: string[];
|
|
280
769
|
}, {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
770
|
+
utmCampaign: string | null;
|
|
771
|
+
subject: string | null;
|
|
772
|
+
preHeaderText: string | null;
|
|
773
|
+
targetFilters: {
|
|
774
|
+
id: number;
|
|
775
|
+
behaviorSegmentCodes: string[];
|
|
776
|
+
profileSegmentCodes: string[];
|
|
777
|
+
}[];
|
|
778
|
+
deliveredUsersCount: number | null;
|
|
779
|
+
bodyKind: "template";
|
|
780
|
+
projects: {
|
|
781
|
+
id: number;
|
|
782
|
+
slotNumber: number;
|
|
783
|
+
readyforProjectId: number;
|
|
784
|
+
isPaidSlot: boolean;
|
|
785
|
+
title: string | null;
|
|
786
|
+
description: string | null;
|
|
787
|
+
tag: string | null;
|
|
788
|
+
tagUrl: string | null;
|
|
789
|
+
thumbnailUrl: string | null;
|
|
790
|
+
}[];
|
|
791
|
+
banners: {
|
|
792
|
+
id: number;
|
|
793
|
+
slotNumber: number;
|
|
794
|
+
url: string | null;
|
|
795
|
+
imageUrl: string | null;
|
|
796
|
+
}[];
|
|
284
797
|
}>;
|
|
285
798
|
declare const PersonalizedMailMagazineDetailTarget: z.ZodObject<{
|
|
286
799
|
csvFileName: z.ZodString;
|
|
@@ -295,7 +808,52 @@ declare const PersonalizedMailMagazineDetailTarget: z.ZodObject<{
|
|
|
295
808
|
targetUsersCount: number;
|
|
296
809
|
excludedUsersCount: number;
|
|
297
810
|
}>;
|
|
298
|
-
declare const CurationMailMagazineFormData: z.ZodObject<{
|
|
811
|
+
declare const CurationMailMagazineFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
812
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
813
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
814
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
815
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
816
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
817
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
818
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
819
|
+
}, "strip", z.ZodTypeAny, {
|
|
820
|
+
id: number | null;
|
|
821
|
+
behaviorSegmentCodes: string[];
|
|
822
|
+
profileSegmentCodes: string[];
|
|
823
|
+
}, {
|
|
824
|
+
id: number | null;
|
|
825
|
+
behaviorSegmentCodes: string[];
|
|
826
|
+
profileSegmentCodes: string[];
|
|
827
|
+
}>, "many">;
|
|
828
|
+
}, {
|
|
829
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
830
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
831
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
832
|
+
}>, "strip", z.ZodTypeAny, {
|
|
833
|
+
utmCampaign: string | null;
|
|
834
|
+
subject: string | null;
|
|
835
|
+
preHeaderText: string | null;
|
|
836
|
+
targetFilters: {
|
|
837
|
+
id: number | null;
|
|
838
|
+
behaviorSegmentCodes: string[];
|
|
839
|
+
profileSegmentCodes: string[];
|
|
840
|
+
}[];
|
|
841
|
+
bodyKind: "freeFormat";
|
|
842
|
+
htmlBody: string | null;
|
|
843
|
+
htmlStyle: string | null;
|
|
844
|
+
}, {
|
|
845
|
+
utmCampaign: string | null;
|
|
846
|
+
subject: string | null;
|
|
847
|
+
preHeaderText: string | null;
|
|
848
|
+
targetFilters: {
|
|
849
|
+
id: number | null;
|
|
850
|
+
behaviorSegmentCodes: string[];
|
|
851
|
+
profileSegmentCodes: string[];
|
|
852
|
+
}[];
|
|
853
|
+
bodyKind: "freeFormat";
|
|
854
|
+
htmlBody: string | null;
|
|
855
|
+
htmlStyle: string | null;
|
|
856
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
299
857
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
300
858
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
301
859
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -312,6 +870,8 @@ declare const CurationMailMagazineFormData: z.ZodObject<{
|
|
|
312
870
|
behaviorSegmentCodes: string[];
|
|
313
871
|
profileSegmentCodes: string[];
|
|
314
872
|
}>, "many">;
|
|
873
|
+
}, {
|
|
874
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
315
875
|
projects: z.ZodArray<z.ZodObject<{
|
|
316
876
|
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
317
877
|
slotNumber: z.ZodNumber;
|
|
@@ -409,7 +969,7 @@ declare const CurationMailMagazineFormData: z.ZodObject<{
|
|
|
409
969
|
} | null;
|
|
410
970
|
url: string | null;
|
|
411
971
|
}>, "many">;
|
|
412
|
-
}
|
|
972
|
+
}>, "strip", z.ZodTypeAny, {
|
|
413
973
|
utmCampaign: string | null;
|
|
414
974
|
subject: string | null;
|
|
415
975
|
preHeaderText: string | null;
|
|
@@ -418,6 +978,7 @@ declare const CurationMailMagazineFormData: z.ZodObject<{
|
|
|
418
978
|
behaviorSegmentCodes: string[];
|
|
419
979
|
profileSegmentCodes: string[];
|
|
420
980
|
}[];
|
|
981
|
+
bodyKind: "template";
|
|
421
982
|
projects: {
|
|
422
983
|
id: number | null;
|
|
423
984
|
slotNumber: number;
|
|
@@ -454,6 +1015,7 @@ declare const CurationMailMagazineFormData: z.ZodObject<{
|
|
|
454
1015
|
behaviorSegmentCodes: string[];
|
|
455
1016
|
profileSegmentCodes: string[];
|
|
456
1017
|
}[];
|
|
1018
|
+
bodyKind: "template";
|
|
457
1019
|
projects: {
|
|
458
1020
|
id: number | null;
|
|
459
1021
|
slotNumber: number;
|
|
@@ -481,7 +1043,7 @@ declare const CurationMailMagazineFormData: z.ZodObject<{
|
|
|
481
1043
|
} | null;
|
|
482
1044
|
url: string | null;
|
|
483
1045
|
}[];
|
|
484
|
-
}>;
|
|
1046
|
+
}>]>;
|
|
485
1047
|
declare const PersonalizedMailMagazineFormData: z.ZodObject<{
|
|
486
1048
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
487
1049
|
targetCsv: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
@@ -543,7 +1105,7 @@ declare const PersonalizedMailMagazineFormData: z.ZodObject<{
|
|
|
543
1105
|
kind: "deleteTargetCsv";
|
|
544
1106
|
} | null;
|
|
545
1107
|
}>;
|
|
546
|
-
declare const CurationMailMagazineDetail: z.ZodObject<{
|
|
1108
|
+
declare const CurationMailMagazineDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
547
1109
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
548
1110
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
549
1111
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -561,6 +1123,8 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
|
|
|
561
1123
|
behaviorSegmentCodes: string[];
|
|
562
1124
|
profileSegmentCodes: string[];
|
|
563
1125
|
}>, "many">;
|
|
1126
|
+
}, {
|
|
1127
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
564
1128
|
projects: z.ZodArray<z.ZodObject<{
|
|
565
1129
|
id: z.ZodNumber;
|
|
566
1130
|
readyforProjectId: z.ZodNumber;
|
|
@@ -608,7 +1172,7 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
|
|
|
608
1172
|
url: string | null;
|
|
609
1173
|
imageUrl: string | null;
|
|
610
1174
|
}>, "many">;
|
|
611
|
-
}
|
|
1175
|
+
}>, "strip", z.ZodTypeAny, {
|
|
612
1176
|
utmCampaign: string | null;
|
|
613
1177
|
subject: string | null;
|
|
614
1178
|
preHeaderText: string | null;
|
|
@@ -617,6 +1181,8 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
|
|
|
617
1181
|
behaviorSegmentCodes: string[];
|
|
618
1182
|
profileSegmentCodes: string[];
|
|
619
1183
|
}[];
|
|
1184
|
+
deliveredUsersCount: number | null;
|
|
1185
|
+
bodyKind: "template";
|
|
620
1186
|
projects: {
|
|
621
1187
|
id: number;
|
|
622
1188
|
slotNumber: number;
|
|
@@ -634,7 +1200,6 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
|
|
|
634
1200
|
url: string | null;
|
|
635
1201
|
imageUrl: string | null;
|
|
636
1202
|
}[];
|
|
637
|
-
deliveredUsersCount: number | null;
|
|
638
1203
|
}, {
|
|
639
1204
|
utmCampaign: string | null;
|
|
640
1205
|
subject: string | null;
|
|
@@ -644,6 +1209,8 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
|
|
|
644
1209
|
behaviorSegmentCodes: string[];
|
|
645
1210
|
profileSegmentCodes: string[];
|
|
646
1211
|
}[];
|
|
1212
|
+
deliveredUsersCount: number | null;
|
|
1213
|
+
bodyKind: "template";
|
|
647
1214
|
projects: {
|
|
648
1215
|
id: number;
|
|
649
1216
|
slotNumber: number;
|
|
@@ -661,8 +1228,73 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
|
|
|
661
1228
|
url: string | null;
|
|
662
1229
|
imageUrl: string | null;
|
|
663
1230
|
}[];
|
|
1231
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1232
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1233
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1234
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1235
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
1236
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
1237
|
+
id: z.ZodNumber;
|
|
1238
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1239
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1240
|
+
}, "strip", z.ZodTypeAny, {
|
|
1241
|
+
id: number;
|
|
1242
|
+
behaviorSegmentCodes: string[];
|
|
1243
|
+
profileSegmentCodes: string[];
|
|
1244
|
+
}, {
|
|
1245
|
+
id: number;
|
|
1246
|
+
behaviorSegmentCodes: string[];
|
|
1247
|
+
profileSegmentCodes: string[];
|
|
1248
|
+
}>, "many">;
|
|
1249
|
+
}, {
|
|
1250
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
1251
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1252
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1253
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1254
|
+
id: z.ZodNumber;
|
|
1255
|
+
key: z.ZodString;
|
|
1256
|
+
}, "strip", z.ZodTypeAny, {
|
|
1257
|
+
id: number;
|
|
1258
|
+
key: string;
|
|
1259
|
+
}, {
|
|
1260
|
+
id: number;
|
|
1261
|
+
key: string;
|
|
1262
|
+
}>, "many">;
|
|
1263
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1264
|
+
utmCampaign: string | null;
|
|
1265
|
+
subject: string | null;
|
|
1266
|
+
preHeaderText: string | null;
|
|
1267
|
+
targetFilters: {
|
|
1268
|
+
id: number;
|
|
1269
|
+
behaviorSegmentCodes: string[];
|
|
1270
|
+
profileSegmentCodes: string[];
|
|
1271
|
+
}[];
|
|
664
1272
|
deliveredUsersCount: number | null;
|
|
665
|
-
|
|
1273
|
+
bodyKind: "freeFormat";
|
|
1274
|
+
htmlBody: string | null;
|
|
1275
|
+
htmlStyle: string | null;
|
|
1276
|
+
images: {
|
|
1277
|
+
id: number;
|
|
1278
|
+
key: string;
|
|
1279
|
+
}[];
|
|
1280
|
+
}, {
|
|
1281
|
+
utmCampaign: string | null;
|
|
1282
|
+
subject: string | null;
|
|
1283
|
+
preHeaderText: string | null;
|
|
1284
|
+
targetFilters: {
|
|
1285
|
+
id: number;
|
|
1286
|
+
behaviorSegmentCodes: string[];
|
|
1287
|
+
profileSegmentCodes: string[];
|
|
1288
|
+
}[];
|
|
1289
|
+
deliveredUsersCount: number | null;
|
|
1290
|
+
bodyKind: "freeFormat";
|
|
1291
|
+
htmlBody: string | null;
|
|
1292
|
+
htmlStyle: string | null;
|
|
1293
|
+
images: {
|
|
1294
|
+
id: number;
|
|
1295
|
+
key: string;
|
|
1296
|
+
}[];
|
|
1297
|
+
}>]>;
|
|
666
1298
|
declare const CampaignStatus: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
667
1299
|
declare const PersonalizedMailMagazineDetail: z.ZodObject<{
|
|
668
1300
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -696,7 +1328,52 @@ declare const PersonalizedMailMagazineDetail: z.ZodObject<{
|
|
|
696
1328
|
}>;
|
|
697
1329
|
declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
698
1330
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
699
|
-
curationMailMagazine: z.ZodObject<{
|
|
1331
|
+
curationMailMagazine: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
1332
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1333
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1334
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1335
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
1336
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
1337
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1338
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1339
|
+
}, "strip", z.ZodTypeAny, {
|
|
1340
|
+
id: number | null;
|
|
1341
|
+
behaviorSegmentCodes: string[];
|
|
1342
|
+
profileSegmentCodes: string[];
|
|
1343
|
+
}, {
|
|
1344
|
+
id: number | null;
|
|
1345
|
+
behaviorSegmentCodes: string[];
|
|
1346
|
+
profileSegmentCodes: string[];
|
|
1347
|
+
}>, "many">;
|
|
1348
|
+
}, {
|
|
1349
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
1350
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1351
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1352
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1353
|
+
utmCampaign: string | null;
|
|
1354
|
+
subject: string | null;
|
|
1355
|
+
preHeaderText: string | null;
|
|
1356
|
+
targetFilters: {
|
|
1357
|
+
id: number | null;
|
|
1358
|
+
behaviorSegmentCodes: string[];
|
|
1359
|
+
profileSegmentCodes: string[];
|
|
1360
|
+
}[];
|
|
1361
|
+
bodyKind: "freeFormat";
|
|
1362
|
+
htmlBody: string | null;
|
|
1363
|
+
htmlStyle: string | null;
|
|
1364
|
+
}, {
|
|
1365
|
+
utmCampaign: string | null;
|
|
1366
|
+
subject: string | null;
|
|
1367
|
+
preHeaderText: string | null;
|
|
1368
|
+
targetFilters: {
|
|
1369
|
+
id: number | null;
|
|
1370
|
+
behaviorSegmentCodes: string[];
|
|
1371
|
+
profileSegmentCodes: string[];
|
|
1372
|
+
}[];
|
|
1373
|
+
bodyKind: "freeFormat";
|
|
1374
|
+
htmlBody: string | null;
|
|
1375
|
+
htmlStyle: string | null;
|
|
1376
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
700
1377
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
701
1378
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
702
1379
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -713,6 +1390,8 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
713
1390
|
behaviorSegmentCodes: string[];
|
|
714
1391
|
profileSegmentCodes: string[];
|
|
715
1392
|
}>, "many">;
|
|
1393
|
+
}, {
|
|
1394
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
716
1395
|
projects: z.ZodArray<z.ZodObject<{
|
|
717
1396
|
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
718
1397
|
slotNumber: z.ZodNumber;
|
|
@@ -810,7 +1489,7 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
810
1489
|
} | null;
|
|
811
1490
|
url: string | null;
|
|
812
1491
|
}>, "many">;
|
|
813
|
-
}
|
|
1492
|
+
}>, "strip", z.ZodTypeAny, {
|
|
814
1493
|
utmCampaign: string | null;
|
|
815
1494
|
subject: string | null;
|
|
816
1495
|
preHeaderText: string | null;
|
|
@@ -819,6 +1498,7 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
819
1498
|
behaviorSegmentCodes: string[];
|
|
820
1499
|
profileSegmentCodes: string[];
|
|
821
1500
|
}[];
|
|
1501
|
+
bodyKind: "template";
|
|
822
1502
|
projects: {
|
|
823
1503
|
id: number | null;
|
|
824
1504
|
slotNumber: number;
|
|
@@ -855,6 +1535,7 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
855
1535
|
behaviorSegmentCodes: string[];
|
|
856
1536
|
profileSegmentCodes: string[];
|
|
857
1537
|
}[];
|
|
1538
|
+
bodyKind: "template";
|
|
858
1539
|
projects: {
|
|
859
1540
|
id: number | null;
|
|
860
1541
|
slotNumber: number;
|
|
@@ -882,7 +1563,7 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
882
1563
|
} | null;
|
|
883
1564
|
url: string | null;
|
|
884
1565
|
}[];
|
|
885
|
-
}>;
|
|
1566
|
+
}>]>;
|
|
886
1567
|
}, "strip", z.ZodTypeAny, {
|
|
887
1568
|
kind: "curationMailMagazine";
|
|
888
1569
|
curationMailMagazine: {
|
|
@@ -894,6 +1575,7 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
894
1575
|
behaviorSegmentCodes: string[];
|
|
895
1576
|
profileSegmentCodes: string[];
|
|
896
1577
|
}[];
|
|
1578
|
+
bodyKind: "template";
|
|
897
1579
|
projects: {
|
|
898
1580
|
id: number | null;
|
|
899
1581
|
slotNumber: number;
|
|
@@ -921,6 +1603,18 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
921
1603
|
} | null;
|
|
922
1604
|
url: string | null;
|
|
923
1605
|
}[];
|
|
1606
|
+
} | {
|
|
1607
|
+
utmCampaign: string | null;
|
|
1608
|
+
subject: string | null;
|
|
1609
|
+
preHeaderText: string | null;
|
|
1610
|
+
targetFilters: {
|
|
1611
|
+
id: number | null;
|
|
1612
|
+
behaviorSegmentCodes: string[];
|
|
1613
|
+
profileSegmentCodes: string[];
|
|
1614
|
+
}[];
|
|
1615
|
+
bodyKind: "freeFormat";
|
|
1616
|
+
htmlBody: string | null;
|
|
1617
|
+
htmlStyle: string | null;
|
|
924
1618
|
};
|
|
925
1619
|
}, {
|
|
926
1620
|
kind: "curationMailMagazine";
|
|
@@ -933,6 +1627,7 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
933
1627
|
behaviorSegmentCodes: string[];
|
|
934
1628
|
profileSegmentCodes: string[];
|
|
935
1629
|
}[];
|
|
1630
|
+
bodyKind: "template";
|
|
936
1631
|
projects: {
|
|
937
1632
|
id: number | null;
|
|
938
1633
|
slotNumber: number;
|
|
@@ -960,6 +1655,18 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
960
1655
|
} | null;
|
|
961
1656
|
url: string | null;
|
|
962
1657
|
}[];
|
|
1658
|
+
} | {
|
|
1659
|
+
utmCampaign: string | null;
|
|
1660
|
+
subject: string | null;
|
|
1661
|
+
preHeaderText: string | null;
|
|
1662
|
+
targetFilters: {
|
|
1663
|
+
id: number | null;
|
|
1664
|
+
behaviorSegmentCodes: string[];
|
|
1665
|
+
profileSegmentCodes: string[];
|
|
1666
|
+
}[];
|
|
1667
|
+
bodyKind: "freeFormat";
|
|
1668
|
+
htmlBody: string | null;
|
|
1669
|
+
htmlStyle: string | null;
|
|
963
1670
|
};
|
|
964
1671
|
}>;
|
|
965
1672
|
declare const CampaignBaseFormData: z.ZodObject<{
|
|
@@ -1068,7 +1775,7 @@ declare const CampaignKindDataPersonalizedMailMagazineFormData: z.ZodObject<{
|
|
|
1068
1775
|
}>;
|
|
1069
1776
|
declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
1070
1777
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
1071
|
-
curationMailMagazine: z.ZodObject<{
|
|
1778
|
+
curationMailMagazine: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
1072
1779
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1073
1780
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1074
1781
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -1086,6 +1793,8 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1086
1793
|
behaviorSegmentCodes: string[];
|
|
1087
1794
|
profileSegmentCodes: string[];
|
|
1088
1795
|
}>, "many">;
|
|
1796
|
+
}, {
|
|
1797
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
1089
1798
|
projects: z.ZodArray<z.ZodObject<{
|
|
1090
1799
|
id: z.ZodNumber;
|
|
1091
1800
|
readyforProjectId: z.ZodNumber;
|
|
@@ -1133,7 +1842,7 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1133
1842
|
url: string | null;
|
|
1134
1843
|
imageUrl: string | null;
|
|
1135
1844
|
}>, "many">;
|
|
1136
|
-
}
|
|
1845
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1137
1846
|
utmCampaign: string | null;
|
|
1138
1847
|
subject: string | null;
|
|
1139
1848
|
preHeaderText: string | null;
|
|
@@ -1142,6 +1851,8 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1142
1851
|
behaviorSegmentCodes: string[];
|
|
1143
1852
|
profileSegmentCodes: string[];
|
|
1144
1853
|
}[];
|
|
1854
|
+
deliveredUsersCount: number | null;
|
|
1855
|
+
bodyKind: "template";
|
|
1145
1856
|
projects: {
|
|
1146
1857
|
id: number;
|
|
1147
1858
|
slotNumber: number;
|
|
@@ -1159,7 +1870,6 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1159
1870
|
url: string | null;
|
|
1160
1871
|
imageUrl: string | null;
|
|
1161
1872
|
}[];
|
|
1162
|
-
deliveredUsersCount: number | null;
|
|
1163
1873
|
}, {
|
|
1164
1874
|
utmCampaign: string | null;
|
|
1165
1875
|
subject: string | null;
|
|
@@ -1169,6 +1879,8 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1169
1879
|
behaviorSegmentCodes: string[];
|
|
1170
1880
|
profileSegmentCodes: string[];
|
|
1171
1881
|
}[];
|
|
1882
|
+
deliveredUsersCount: number | null;
|
|
1883
|
+
bodyKind: "template";
|
|
1172
1884
|
projects: {
|
|
1173
1885
|
id: number;
|
|
1174
1886
|
slotNumber: number;
|
|
@@ -1186,8 +1898,73 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1186
1898
|
url: string | null;
|
|
1187
1899
|
imageUrl: string | null;
|
|
1188
1900
|
}[];
|
|
1901
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1902
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1903
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1904
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1905
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
1906
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
1907
|
+
id: z.ZodNumber;
|
|
1908
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1909
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1910
|
+
}, "strip", z.ZodTypeAny, {
|
|
1911
|
+
id: number;
|
|
1912
|
+
behaviorSegmentCodes: string[];
|
|
1913
|
+
profileSegmentCodes: string[];
|
|
1914
|
+
}, {
|
|
1915
|
+
id: number;
|
|
1916
|
+
behaviorSegmentCodes: string[];
|
|
1917
|
+
profileSegmentCodes: string[];
|
|
1918
|
+
}>, "many">;
|
|
1919
|
+
}, {
|
|
1920
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
1921
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1922
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1923
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1924
|
+
id: z.ZodNumber;
|
|
1925
|
+
key: z.ZodString;
|
|
1926
|
+
}, "strip", z.ZodTypeAny, {
|
|
1927
|
+
id: number;
|
|
1928
|
+
key: string;
|
|
1929
|
+
}, {
|
|
1930
|
+
id: number;
|
|
1931
|
+
key: string;
|
|
1932
|
+
}>, "many">;
|
|
1933
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1934
|
+
utmCampaign: string | null;
|
|
1935
|
+
subject: string | null;
|
|
1936
|
+
preHeaderText: string | null;
|
|
1937
|
+
targetFilters: {
|
|
1938
|
+
id: number;
|
|
1939
|
+
behaviorSegmentCodes: string[];
|
|
1940
|
+
profileSegmentCodes: string[];
|
|
1941
|
+
}[];
|
|
1189
1942
|
deliveredUsersCount: number | null;
|
|
1190
|
-
|
|
1943
|
+
bodyKind: "freeFormat";
|
|
1944
|
+
htmlBody: string | null;
|
|
1945
|
+
htmlStyle: string | null;
|
|
1946
|
+
images: {
|
|
1947
|
+
id: number;
|
|
1948
|
+
key: string;
|
|
1949
|
+
}[];
|
|
1950
|
+
}, {
|
|
1951
|
+
utmCampaign: string | null;
|
|
1952
|
+
subject: string | null;
|
|
1953
|
+
preHeaderText: string | null;
|
|
1954
|
+
targetFilters: {
|
|
1955
|
+
id: number;
|
|
1956
|
+
behaviorSegmentCodes: string[];
|
|
1957
|
+
profileSegmentCodes: string[];
|
|
1958
|
+
}[];
|
|
1959
|
+
deliveredUsersCount: number | null;
|
|
1960
|
+
bodyKind: "freeFormat";
|
|
1961
|
+
htmlBody: string | null;
|
|
1962
|
+
htmlStyle: string | null;
|
|
1963
|
+
images: {
|
|
1964
|
+
id: number;
|
|
1965
|
+
key: string;
|
|
1966
|
+
}[];
|
|
1967
|
+
}>]>;
|
|
1191
1968
|
}, "strip", z.ZodTypeAny, {
|
|
1192
1969
|
kind: "curationMailMagazine";
|
|
1193
1970
|
curationMailMagazine: {
|
|
@@ -1199,6 +1976,25 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1199
1976
|
behaviorSegmentCodes: string[];
|
|
1200
1977
|
profileSegmentCodes: string[];
|
|
1201
1978
|
}[];
|
|
1979
|
+
deliveredUsersCount: number | null;
|
|
1980
|
+
bodyKind: "freeFormat";
|
|
1981
|
+
htmlBody: string | null;
|
|
1982
|
+
htmlStyle: string | null;
|
|
1983
|
+
images: {
|
|
1984
|
+
id: number;
|
|
1985
|
+
key: string;
|
|
1986
|
+
}[];
|
|
1987
|
+
} | {
|
|
1988
|
+
utmCampaign: string | null;
|
|
1989
|
+
subject: string | null;
|
|
1990
|
+
preHeaderText: string | null;
|
|
1991
|
+
targetFilters: {
|
|
1992
|
+
id: number;
|
|
1993
|
+
behaviorSegmentCodes: string[];
|
|
1994
|
+
profileSegmentCodes: string[];
|
|
1995
|
+
}[];
|
|
1996
|
+
deliveredUsersCount: number | null;
|
|
1997
|
+
bodyKind: "template";
|
|
1202
1998
|
projects: {
|
|
1203
1999
|
id: number;
|
|
1204
2000
|
slotNumber: number;
|
|
@@ -1216,7 +2012,6 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1216
2012
|
url: string | null;
|
|
1217
2013
|
imageUrl: string | null;
|
|
1218
2014
|
}[];
|
|
1219
|
-
deliveredUsersCount: number | null;
|
|
1220
2015
|
};
|
|
1221
2016
|
}, {
|
|
1222
2017
|
kind: "curationMailMagazine";
|
|
@@ -1229,6 +2024,25 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1229
2024
|
behaviorSegmentCodes: string[];
|
|
1230
2025
|
profileSegmentCodes: string[];
|
|
1231
2026
|
}[];
|
|
2027
|
+
deliveredUsersCount: number | null;
|
|
2028
|
+
bodyKind: "freeFormat";
|
|
2029
|
+
htmlBody: string | null;
|
|
2030
|
+
htmlStyle: string | null;
|
|
2031
|
+
images: {
|
|
2032
|
+
id: number;
|
|
2033
|
+
key: string;
|
|
2034
|
+
}[];
|
|
2035
|
+
} | {
|
|
2036
|
+
utmCampaign: string | null;
|
|
2037
|
+
subject: string | null;
|
|
2038
|
+
preHeaderText: string | null;
|
|
2039
|
+
targetFilters: {
|
|
2040
|
+
id: number;
|
|
2041
|
+
behaviorSegmentCodes: string[];
|
|
2042
|
+
profileSegmentCodes: string[];
|
|
2043
|
+
}[];
|
|
2044
|
+
deliveredUsersCount: number | null;
|
|
2045
|
+
bodyKind: "template";
|
|
1232
2046
|
projects: {
|
|
1233
2047
|
id: number;
|
|
1234
2048
|
slotNumber: number;
|
|
@@ -1246,7 +2060,6 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1246
2060
|
url: string | null;
|
|
1247
2061
|
imageUrl: string | null;
|
|
1248
2062
|
}[];
|
|
1249
|
-
deliveredUsersCount: number | null;
|
|
1250
2063
|
};
|
|
1251
2064
|
}>;
|
|
1252
2065
|
declare const CampaignDetailBase: z.ZodObject<{
|
|
@@ -1318,12 +2131,80 @@ declare const CampaignDetailKindDataPersonalizedMailMagazine: z.ZodObject<{
|
|
|
1318
2131
|
} | null;
|
|
1319
2132
|
};
|
|
1320
2133
|
}>;
|
|
2134
|
+
declare const BodyKind: z.ZodUnion<[z.ZodLiteral<"template">, z.ZodLiteral<"freeFormat">]>;
|
|
2135
|
+
declare const CampaignBase: z.ZodObject<{
|
|
2136
|
+
id: z.ZodNumber;
|
|
2137
|
+
title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
2138
|
+
status: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
2139
|
+
deliveryAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2140
|
+
lastEditorName: z.ZodString;
|
|
2141
|
+
lastEditedAt: z.ZodString;
|
|
2142
|
+
}, "strip", z.ZodTypeAny, {
|
|
2143
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
2144
|
+
id: number;
|
|
2145
|
+
deliveryAt: string | null;
|
|
2146
|
+
lastEditorName: string;
|
|
2147
|
+
lastEditedAt: string;
|
|
2148
|
+
title?: string | null | undefined;
|
|
2149
|
+
}, {
|
|
2150
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
2151
|
+
id: number;
|
|
2152
|
+
deliveryAt: string | null;
|
|
2153
|
+
lastEditorName: string;
|
|
2154
|
+
lastEditedAt: string;
|
|
2155
|
+
title?: string | null | undefined;
|
|
2156
|
+
}>;
|
|
1321
2157
|
declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil.extendShape<{
|
|
1322
2158
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1323
2159
|
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1324
2160
|
}, {
|
|
1325
2161
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
1326
|
-
curationMailMagazine: z.ZodObject<{
|
|
2162
|
+
curationMailMagazine: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2163
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2164
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2165
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2166
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
2167
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
2168
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
2169
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
2170
|
+
}, "strip", z.ZodTypeAny, {
|
|
2171
|
+
id: number | null;
|
|
2172
|
+
behaviorSegmentCodes: string[];
|
|
2173
|
+
profileSegmentCodes: string[];
|
|
2174
|
+
}, {
|
|
2175
|
+
id: number | null;
|
|
2176
|
+
behaviorSegmentCodes: string[];
|
|
2177
|
+
profileSegmentCodes: string[];
|
|
2178
|
+
}>, "many">;
|
|
2179
|
+
}, {
|
|
2180
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
2181
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2182
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2183
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2184
|
+
utmCampaign: string | null;
|
|
2185
|
+
subject: string | null;
|
|
2186
|
+
preHeaderText: string | null;
|
|
2187
|
+
targetFilters: {
|
|
2188
|
+
id: number | null;
|
|
2189
|
+
behaviorSegmentCodes: string[];
|
|
2190
|
+
profileSegmentCodes: string[];
|
|
2191
|
+
}[];
|
|
2192
|
+
bodyKind: "freeFormat";
|
|
2193
|
+
htmlBody: string | null;
|
|
2194
|
+
htmlStyle: string | null;
|
|
2195
|
+
}, {
|
|
2196
|
+
utmCampaign: string | null;
|
|
2197
|
+
subject: string | null;
|
|
2198
|
+
preHeaderText: string | null;
|
|
2199
|
+
targetFilters: {
|
|
2200
|
+
id: number | null;
|
|
2201
|
+
behaviorSegmentCodes: string[];
|
|
2202
|
+
profileSegmentCodes: string[];
|
|
2203
|
+
}[];
|
|
2204
|
+
bodyKind: "freeFormat";
|
|
2205
|
+
htmlBody: string | null;
|
|
2206
|
+
htmlStyle: string | null;
|
|
2207
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1327
2208
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1328
2209
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1329
2210
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -1340,6 +2221,8 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1340
2221
|
behaviorSegmentCodes: string[];
|
|
1341
2222
|
profileSegmentCodes: string[];
|
|
1342
2223
|
}>, "many">;
|
|
2224
|
+
}, {
|
|
2225
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
1343
2226
|
projects: z.ZodArray<z.ZodObject<{
|
|
1344
2227
|
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
1345
2228
|
slotNumber: z.ZodNumber;
|
|
@@ -1437,7 +2320,7 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1437
2320
|
} | null;
|
|
1438
2321
|
url: string | null;
|
|
1439
2322
|
}>, "many">;
|
|
1440
|
-
}
|
|
2323
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1441
2324
|
utmCampaign: string | null;
|
|
1442
2325
|
subject: string | null;
|
|
1443
2326
|
preHeaderText: string | null;
|
|
@@ -1446,6 +2329,7 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1446
2329
|
behaviorSegmentCodes: string[];
|
|
1447
2330
|
profileSegmentCodes: string[];
|
|
1448
2331
|
}[];
|
|
2332
|
+
bodyKind: "template";
|
|
1449
2333
|
projects: {
|
|
1450
2334
|
id: number | null;
|
|
1451
2335
|
slotNumber: number;
|
|
@@ -1482,6 +2366,7 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1482
2366
|
behaviorSegmentCodes: string[];
|
|
1483
2367
|
profileSegmentCodes: string[];
|
|
1484
2368
|
}[];
|
|
2369
|
+
bodyKind: "template";
|
|
1485
2370
|
projects: {
|
|
1486
2371
|
id: number | null;
|
|
1487
2372
|
slotNumber: number;
|
|
@@ -1509,7 +2394,7 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1509
2394
|
} | null;
|
|
1510
2395
|
url: string | null;
|
|
1511
2396
|
}[];
|
|
1512
|
-
}>;
|
|
2397
|
+
}>]>;
|
|
1513
2398
|
}>, "strip", z.ZodTypeAny, {
|
|
1514
2399
|
kind: "curationMailMagazine";
|
|
1515
2400
|
title: string | null;
|
|
@@ -1522,6 +2407,7 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1522
2407
|
behaviorSegmentCodes: string[];
|
|
1523
2408
|
profileSegmentCodes: string[];
|
|
1524
2409
|
}[];
|
|
2410
|
+
bodyKind: "template";
|
|
1525
2411
|
projects: {
|
|
1526
2412
|
id: number | null;
|
|
1527
2413
|
slotNumber: number;
|
|
@@ -1549,6 +2435,18 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1549
2435
|
} | null;
|
|
1550
2436
|
url: string | null;
|
|
1551
2437
|
}[];
|
|
2438
|
+
} | {
|
|
2439
|
+
utmCampaign: string | null;
|
|
2440
|
+
subject: string | null;
|
|
2441
|
+
preHeaderText: string | null;
|
|
2442
|
+
targetFilters: {
|
|
2443
|
+
id: number | null;
|
|
2444
|
+
behaviorSegmentCodes: string[];
|
|
2445
|
+
profileSegmentCodes: string[];
|
|
2446
|
+
}[];
|
|
2447
|
+
bodyKind: "freeFormat";
|
|
2448
|
+
htmlBody: string | null;
|
|
2449
|
+
htmlStyle: string | null;
|
|
1552
2450
|
};
|
|
1553
2451
|
deliveryScheduledAt: string | null;
|
|
1554
2452
|
}, {
|
|
@@ -1563,6 +2461,7 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1563
2461
|
behaviorSegmentCodes: string[];
|
|
1564
2462
|
profileSegmentCodes: string[];
|
|
1565
2463
|
}[];
|
|
2464
|
+
bodyKind: "template";
|
|
1566
2465
|
projects: {
|
|
1567
2466
|
id: number | null;
|
|
1568
2467
|
slotNumber: number;
|
|
@@ -1590,6 +2489,18 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1590
2489
|
} | null;
|
|
1591
2490
|
url: string | null;
|
|
1592
2491
|
}[];
|
|
2492
|
+
} | {
|
|
2493
|
+
utmCampaign: string | null;
|
|
2494
|
+
subject: string | null;
|
|
2495
|
+
preHeaderText: string | null;
|
|
2496
|
+
targetFilters: {
|
|
2497
|
+
id: number | null;
|
|
2498
|
+
behaviorSegmentCodes: string[];
|
|
2499
|
+
profileSegmentCodes: string[];
|
|
2500
|
+
}[];
|
|
2501
|
+
bodyKind: "freeFormat";
|
|
2502
|
+
htmlBody: string | null;
|
|
2503
|
+
htmlStyle: string | null;
|
|
1593
2504
|
};
|
|
1594
2505
|
deliveryScheduledAt: string | null;
|
|
1595
2506
|
}>;
|
|
@@ -1701,7 +2612,7 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1701
2612
|
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1702
2613
|
}, {
|
|
1703
2614
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
1704
|
-
curationMailMagazine: z.ZodObject<{
|
|
2615
|
+
curationMailMagazine: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
1705
2616
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1706
2617
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1707
2618
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -1719,6 +2630,8 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1719
2630
|
behaviorSegmentCodes: string[];
|
|
1720
2631
|
profileSegmentCodes: string[];
|
|
1721
2632
|
}>, "many">;
|
|
2633
|
+
}, {
|
|
2634
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
1722
2635
|
projects: z.ZodArray<z.ZodObject<{
|
|
1723
2636
|
id: z.ZodNumber;
|
|
1724
2637
|
readyforProjectId: z.ZodNumber;
|
|
@@ -1766,7 +2679,7 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1766
2679
|
url: string | null;
|
|
1767
2680
|
imageUrl: string | null;
|
|
1768
2681
|
}>, "many">;
|
|
1769
|
-
}
|
|
2682
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1770
2683
|
utmCampaign: string | null;
|
|
1771
2684
|
subject: string | null;
|
|
1772
2685
|
preHeaderText: string | null;
|
|
@@ -1775,6 +2688,8 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1775
2688
|
behaviorSegmentCodes: string[];
|
|
1776
2689
|
profileSegmentCodes: string[];
|
|
1777
2690
|
}[];
|
|
2691
|
+
deliveredUsersCount: number | null;
|
|
2692
|
+
bodyKind: "template";
|
|
1778
2693
|
projects: {
|
|
1779
2694
|
id: number;
|
|
1780
2695
|
slotNumber: number;
|
|
@@ -1792,7 +2707,6 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1792
2707
|
url: string | null;
|
|
1793
2708
|
imageUrl: string | null;
|
|
1794
2709
|
}[];
|
|
1795
|
-
deliveredUsersCount: number | null;
|
|
1796
2710
|
}, {
|
|
1797
2711
|
utmCampaign: string | null;
|
|
1798
2712
|
subject: string | null;
|
|
@@ -1802,6 +2716,8 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1802
2716
|
behaviorSegmentCodes: string[];
|
|
1803
2717
|
profileSegmentCodes: string[];
|
|
1804
2718
|
}[];
|
|
2719
|
+
deliveredUsersCount: number | null;
|
|
2720
|
+
bodyKind: "template";
|
|
1805
2721
|
projects: {
|
|
1806
2722
|
id: number;
|
|
1807
2723
|
slotNumber: number;
|
|
@@ -1819,8 +2735,73 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1819
2735
|
url: string | null;
|
|
1820
2736
|
imageUrl: string | null;
|
|
1821
2737
|
}[];
|
|
2738
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2739
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2740
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2741
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2742
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
2743
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
2744
|
+
id: z.ZodNumber;
|
|
2745
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
2746
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
2747
|
+
}, "strip", z.ZodTypeAny, {
|
|
2748
|
+
id: number;
|
|
2749
|
+
behaviorSegmentCodes: string[];
|
|
2750
|
+
profileSegmentCodes: string[];
|
|
2751
|
+
}, {
|
|
2752
|
+
id: number;
|
|
2753
|
+
behaviorSegmentCodes: string[];
|
|
2754
|
+
profileSegmentCodes: string[];
|
|
2755
|
+
}>, "many">;
|
|
2756
|
+
}, {
|
|
2757
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
2758
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2759
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2760
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2761
|
+
id: z.ZodNumber;
|
|
2762
|
+
key: z.ZodString;
|
|
2763
|
+
}, "strip", z.ZodTypeAny, {
|
|
2764
|
+
id: number;
|
|
2765
|
+
key: string;
|
|
2766
|
+
}, {
|
|
2767
|
+
id: number;
|
|
2768
|
+
key: string;
|
|
2769
|
+
}>, "many">;
|
|
2770
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2771
|
+
utmCampaign: string | null;
|
|
2772
|
+
subject: string | null;
|
|
2773
|
+
preHeaderText: string | null;
|
|
2774
|
+
targetFilters: {
|
|
2775
|
+
id: number;
|
|
2776
|
+
behaviorSegmentCodes: string[];
|
|
2777
|
+
profileSegmentCodes: string[];
|
|
2778
|
+
}[];
|
|
1822
2779
|
deliveredUsersCount: number | null;
|
|
1823
|
-
|
|
2780
|
+
bodyKind: "freeFormat";
|
|
2781
|
+
htmlBody: string | null;
|
|
2782
|
+
htmlStyle: string | null;
|
|
2783
|
+
images: {
|
|
2784
|
+
id: number;
|
|
2785
|
+
key: string;
|
|
2786
|
+
}[];
|
|
2787
|
+
}, {
|
|
2788
|
+
utmCampaign: string | null;
|
|
2789
|
+
subject: string | null;
|
|
2790
|
+
preHeaderText: string | null;
|
|
2791
|
+
targetFilters: {
|
|
2792
|
+
id: number;
|
|
2793
|
+
behaviorSegmentCodes: string[];
|
|
2794
|
+
profileSegmentCodes: string[];
|
|
2795
|
+
}[];
|
|
2796
|
+
deliveredUsersCount: number | null;
|
|
2797
|
+
bodyKind: "freeFormat";
|
|
2798
|
+
htmlBody: string | null;
|
|
2799
|
+
htmlStyle: string | null;
|
|
2800
|
+
images: {
|
|
2801
|
+
id: number;
|
|
2802
|
+
key: string;
|
|
2803
|
+
}[];
|
|
2804
|
+
}>]>;
|
|
1824
2805
|
}>, "strip", z.ZodTypeAny, {
|
|
1825
2806
|
kind: "curationMailMagazine";
|
|
1826
2807
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
@@ -1835,6 +2816,25 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1835
2816
|
behaviorSegmentCodes: string[];
|
|
1836
2817
|
profileSegmentCodes: string[];
|
|
1837
2818
|
}[];
|
|
2819
|
+
deliveredUsersCount: number | null;
|
|
2820
|
+
bodyKind: "freeFormat";
|
|
2821
|
+
htmlBody: string | null;
|
|
2822
|
+
htmlStyle: string | null;
|
|
2823
|
+
images: {
|
|
2824
|
+
id: number;
|
|
2825
|
+
key: string;
|
|
2826
|
+
}[];
|
|
2827
|
+
} | {
|
|
2828
|
+
utmCampaign: string | null;
|
|
2829
|
+
subject: string | null;
|
|
2830
|
+
preHeaderText: string | null;
|
|
2831
|
+
targetFilters: {
|
|
2832
|
+
id: number;
|
|
2833
|
+
behaviorSegmentCodes: string[];
|
|
2834
|
+
profileSegmentCodes: string[];
|
|
2835
|
+
}[];
|
|
2836
|
+
deliveredUsersCount: number | null;
|
|
2837
|
+
bodyKind: "template";
|
|
1838
2838
|
projects: {
|
|
1839
2839
|
id: number;
|
|
1840
2840
|
slotNumber: number;
|
|
@@ -1852,7 +2852,6 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1852
2852
|
url: string | null;
|
|
1853
2853
|
imageUrl: string | null;
|
|
1854
2854
|
}[];
|
|
1855
|
-
deliveredUsersCount: number | null;
|
|
1856
2855
|
};
|
|
1857
2856
|
deliveryScheduledAt: string | null;
|
|
1858
2857
|
}, {
|
|
@@ -1869,6 +2868,25 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1869
2868
|
behaviorSegmentCodes: string[];
|
|
1870
2869
|
profileSegmentCodes: string[];
|
|
1871
2870
|
}[];
|
|
2871
|
+
deliveredUsersCount: number | null;
|
|
2872
|
+
bodyKind: "freeFormat";
|
|
2873
|
+
htmlBody: string | null;
|
|
2874
|
+
htmlStyle: string | null;
|
|
2875
|
+
images: {
|
|
2876
|
+
id: number;
|
|
2877
|
+
key: string;
|
|
2878
|
+
}[];
|
|
2879
|
+
} | {
|
|
2880
|
+
utmCampaign: string | null;
|
|
2881
|
+
subject: string | null;
|
|
2882
|
+
preHeaderText: string | null;
|
|
2883
|
+
targetFilters: {
|
|
2884
|
+
id: number;
|
|
2885
|
+
behaviorSegmentCodes: string[];
|
|
2886
|
+
profileSegmentCodes: string[];
|
|
2887
|
+
}[];
|
|
2888
|
+
deliveredUsersCount: number | null;
|
|
2889
|
+
bodyKind: "template";
|
|
1872
2890
|
projects: {
|
|
1873
2891
|
id: number;
|
|
1874
2892
|
slotNumber: number;
|
|
@@ -1886,7 +2904,6 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1886
2904
|
url: string | null;
|
|
1887
2905
|
imageUrl: string | null;
|
|
1888
2906
|
}[];
|
|
1889
|
-
deliveredUsersCount: number | null;
|
|
1890
2907
|
};
|
|
1891
2908
|
deliveryScheduledAt: string | null;
|
|
1892
2909
|
}>;
|
|
@@ -1956,7 +2973,61 @@ declare const CampaignDetailWithPersonalizedMailMagazine: z.ZodObject<z.objectUt
|
|
|
1956
2973
|
} | null;
|
|
1957
2974
|
};
|
|
1958
2975
|
}>;
|
|
1959
|
-
declare const
|
|
2976
|
+
declare const CurationMailMagazineCampaign: z.ZodObject<z.objectUtil.extendShape<{
|
|
2977
|
+
id: z.ZodNumber;
|
|
2978
|
+
title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
2979
|
+
status: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
2980
|
+
deliveryAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2981
|
+
lastEditorName: z.ZodString;
|
|
2982
|
+
lastEditedAt: z.ZodString;
|
|
2983
|
+
}, {
|
|
2984
|
+
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
2985
|
+
bodyKind: z.ZodUnion<[z.ZodLiteral<"template">, z.ZodLiteral<"freeFormat">]>;
|
|
2986
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2987
|
+
kind: "curationMailMagazine";
|
|
2988
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
2989
|
+
id: number;
|
|
2990
|
+
bodyKind: "template" | "freeFormat";
|
|
2991
|
+
deliveryAt: string | null;
|
|
2992
|
+
lastEditorName: string;
|
|
2993
|
+
lastEditedAt: string;
|
|
2994
|
+
title?: string | null | undefined;
|
|
2995
|
+
}, {
|
|
2996
|
+
kind: "curationMailMagazine";
|
|
2997
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
2998
|
+
id: number;
|
|
2999
|
+
bodyKind: "template" | "freeFormat";
|
|
3000
|
+
deliveryAt: string | null;
|
|
3001
|
+
lastEditorName: string;
|
|
3002
|
+
lastEditedAt: string;
|
|
3003
|
+
title?: string | null | undefined;
|
|
3004
|
+
}>;
|
|
3005
|
+
declare const PersonalizedMailMagazineCampaign: z.ZodObject<z.objectUtil.extendShape<{
|
|
3006
|
+
id: z.ZodNumber;
|
|
3007
|
+
title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
3008
|
+
status: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
3009
|
+
deliveryAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3010
|
+
lastEditorName: z.ZodString;
|
|
3011
|
+
lastEditedAt: z.ZodString;
|
|
3012
|
+
}, {
|
|
3013
|
+
kind: z.ZodLiteral<"personalizedMailMagazine">;
|
|
3014
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3015
|
+
kind: "personalizedMailMagazine";
|
|
3016
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
3017
|
+
id: number;
|
|
3018
|
+
deliveryAt: string | null;
|
|
3019
|
+
lastEditorName: string;
|
|
3020
|
+
lastEditedAt: string;
|
|
3021
|
+
title?: string | null | undefined;
|
|
3022
|
+
}, {
|
|
3023
|
+
kind: "personalizedMailMagazine";
|
|
3024
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
3025
|
+
id: number;
|
|
3026
|
+
deliveryAt: string | null;
|
|
3027
|
+
lastEditorName: string;
|
|
3028
|
+
lastEditedAt: string;
|
|
3029
|
+
title?: string | null | undefined;
|
|
3030
|
+
}>;
|
|
1960
3031
|
declare const Segment: z.ZodObject<{
|
|
1961
3032
|
code: z.ZodString;
|
|
1962
3033
|
label: z.ZodString;
|
|
@@ -2097,7 +3168,52 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2097
3168
|
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2098
3169
|
}, {
|
|
2099
3170
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
2100
|
-
curationMailMagazine: z.ZodObject<{
|
|
3171
|
+
curationMailMagazine: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
3172
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3173
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3174
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3175
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
3176
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
3177
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
3178
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
3179
|
+
}, "strip", z.ZodTypeAny, {
|
|
3180
|
+
id: number | null;
|
|
3181
|
+
behaviorSegmentCodes: string[];
|
|
3182
|
+
profileSegmentCodes: string[];
|
|
3183
|
+
}, {
|
|
3184
|
+
id: number | null;
|
|
3185
|
+
behaviorSegmentCodes: string[];
|
|
3186
|
+
profileSegmentCodes: string[];
|
|
3187
|
+
}>, "many">;
|
|
3188
|
+
}, {
|
|
3189
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
3190
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3191
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3192
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3193
|
+
utmCampaign: string | null;
|
|
3194
|
+
subject: string | null;
|
|
3195
|
+
preHeaderText: string | null;
|
|
3196
|
+
targetFilters: {
|
|
3197
|
+
id: number | null;
|
|
3198
|
+
behaviorSegmentCodes: string[];
|
|
3199
|
+
profileSegmentCodes: string[];
|
|
3200
|
+
}[];
|
|
3201
|
+
bodyKind: "freeFormat";
|
|
3202
|
+
htmlBody: string | null;
|
|
3203
|
+
htmlStyle: string | null;
|
|
3204
|
+
}, {
|
|
3205
|
+
utmCampaign: string | null;
|
|
3206
|
+
subject: string | null;
|
|
3207
|
+
preHeaderText: string | null;
|
|
3208
|
+
targetFilters: {
|
|
3209
|
+
id: number | null;
|
|
3210
|
+
behaviorSegmentCodes: string[];
|
|
3211
|
+
profileSegmentCodes: string[];
|
|
3212
|
+
}[];
|
|
3213
|
+
bodyKind: "freeFormat";
|
|
3214
|
+
htmlBody: string | null;
|
|
3215
|
+
htmlStyle: string | null;
|
|
3216
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2101
3217
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2102
3218
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2103
3219
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -2114,6 +3230,8 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2114
3230
|
behaviorSegmentCodes: string[];
|
|
2115
3231
|
profileSegmentCodes: string[];
|
|
2116
3232
|
}>, "many">;
|
|
3233
|
+
}, {
|
|
3234
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
2117
3235
|
projects: z.ZodArray<z.ZodObject<{
|
|
2118
3236
|
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
2119
3237
|
slotNumber: z.ZodNumber;
|
|
@@ -2211,7 +3329,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2211
3329
|
} | null;
|
|
2212
3330
|
url: string | null;
|
|
2213
3331
|
}>, "many">;
|
|
2214
|
-
}
|
|
3332
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2215
3333
|
utmCampaign: string | null;
|
|
2216
3334
|
subject: string | null;
|
|
2217
3335
|
preHeaderText: string | null;
|
|
@@ -2220,6 +3338,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2220
3338
|
behaviorSegmentCodes: string[];
|
|
2221
3339
|
profileSegmentCodes: string[];
|
|
2222
3340
|
}[];
|
|
3341
|
+
bodyKind: "template";
|
|
2223
3342
|
projects: {
|
|
2224
3343
|
id: number | null;
|
|
2225
3344
|
slotNumber: number;
|
|
@@ -2256,6 +3375,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2256
3375
|
behaviorSegmentCodes: string[];
|
|
2257
3376
|
profileSegmentCodes: string[];
|
|
2258
3377
|
}[];
|
|
3378
|
+
bodyKind: "template";
|
|
2259
3379
|
projects: {
|
|
2260
3380
|
id: number | null;
|
|
2261
3381
|
slotNumber: number;
|
|
@@ -2283,7 +3403,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2283
3403
|
} | null;
|
|
2284
3404
|
url: string | null;
|
|
2285
3405
|
}[];
|
|
2286
|
-
}>;
|
|
3406
|
+
}>]>;
|
|
2287
3407
|
}>, "strip", z.ZodTypeAny, {
|
|
2288
3408
|
kind: "curationMailMagazine";
|
|
2289
3409
|
title: string | null;
|
|
@@ -2296,6 +3416,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2296
3416
|
behaviorSegmentCodes: string[];
|
|
2297
3417
|
profileSegmentCodes: string[];
|
|
2298
3418
|
}[];
|
|
3419
|
+
bodyKind: "template";
|
|
2299
3420
|
projects: {
|
|
2300
3421
|
id: number | null;
|
|
2301
3422
|
slotNumber: number;
|
|
@@ -2323,6 +3444,18 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2323
3444
|
} | null;
|
|
2324
3445
|
url: string | null;
|
|
2325
3446
|
}[];
|
|
3447
|
+
} | {
|
|
3448
|
+
utmCampaign: string | null;
|
|
3449
|
+
subject: string | null;
|
|
3450
|
+
preHeaderText: string | null;
|
|
3451
|
+
targetFilters: {
|
|
3452
|
+
id: number | null;
|
|
3453
|
+
behaviorSegmentCodes: string[];
|
|
3454
|
+
profileSegmentCodes: string[];
|
|
3455
|
+
}[];
|
|
3456
|
+
bodyKind: "freeFormat";
|
|
3457
|
+
htmlBody: string | null;
|
|
3458
|
+
htmlStyle: string | null;
|
|
2326
3459
|
};
|
|
2327
3460
|
deliveryScheduledAt: string | null;
|
|
2328
3461
|
}, {
|
|
@@ -2337,6 +3470,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2337
3470
|
behaviorSegmentCodes: string[];
|
|
2338
3471
|
profileSegmentCodes: string[];
|
|
2339
3472
|
}[];
|
|
3473
|
+
bodyKind: "template";
|
|
2340
3474
|
projects: {
|
|
2341
3475
|
id: number | null;
|
|
2342
3476
|
slotNumber: number;
|
|
@@ -2364,6 +3498,18 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2364
3498
|
} | null;
|
|
2365
3499
|
url: string | null;
|
|
2366
3500
|
}[];
|
|
3501
|
+
} | {
|
|
3502
|
+
utmCampaign: string | null;
|
|
3503
|
+
subject: string | null;
|
|
3504
|
+
preHeaderText: string | null;
|
|
3505
|
+
targetFilters: {
|
|
3506
|
+
id: number | null;
|
|
3507
|
+
behaviorSegmentCodes: string[];
|
|
3508
|
+
profileSegmentCodes: string[];
|
|
3509
|
+
}[];
|
|
3510
|
+
bodyKind: "freeFormat";
|
|
3511
|
+
htmlBody: string | null;
|
|
3512
|
+
htmlStyle: string | null;
|
|
2367
3513
|
};
|
|
2368
3514
|
deliveryScheduledAt: string | null;
|
|
2369
3515
|
}>]>;
|
|
@@ -2439,7 +3585,7 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2439
3585
|
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2440
3586
|
}, {
|
|
2441
3587
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
2442
|
-
curationMailMagazine: z.ZodObject<{
|
|
3588
|
+
curationMailMagazine: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2443
3589
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2444
3590
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2445
3591
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -2457,6 +3603,8 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2457
3603
|
behaviorSegmentCodes: string[];
|
|
2458
3604
|
profileSegmentCodes: string[];
|
|
2459
3605
|
}>, "many">;
|
|
3606
|
+
}, {
|
|
3607
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
2460
3608
|
projects: z.ZodArray<z.ZodObject<{
|
|
2461
3609
|
id: z.ZodNumber;
|
|
2462
3610
|
readyforProjectId: z.ZodNumber;
|
|
@@ -2504,7 +3652,7 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2504
3652
|
url: string | null;
|
|
2505
3653
|
imageUrl: string | null;
|
|
2506
3654
|
}>, "many">;
|
|
2507
|
-
}
|
|
3655
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2508
3656
|
utmCampaign: string | null;
|
|
2509
3657
|
subject: string | null;
|
|
2510
3658
|
preHeaderText: string | null;
|
|
@@ -2513,6 +3661,8 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2513
3661
|
behaviorSegmentCodes: string[];
|
|
2514
3662
|
profileSegmentCodes: string[];
|
|
2515
3663
|
}[];
|
|
3664
|
+
deliveredUsersCount: number | null;
|
|
3665
|
+
bodyKind: "template";
|
|
2516
3666
|
projects: {
|
|
2517
3667
|
id: number;
|
|
2518
3668
|
slotNumber: number;
|
|
@@ -2530,7 +3680,6 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2530
3680
|
url: string | null;
|
|
2531
3681
|
imageUrl: string | null;
|
|
2532
3682
|
}[];
|
|
2533
|
-
deliveredUsersCount: number | null;
|
|
2534
3683
|
}, {
|
|
2535
3684
|
utmCampaign: string | null;
|
|
2536
3685
|
subject: string | null;
|
|
@@ -2540,6 +3689,8 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2540
3689
|
behaviorSegmentCodes: string[];
|
|
2541
3690
|
profileSegmentCodes: string[];
|
|
2542
3691
|
}[];
|
|
3692
|
+
deliveredUsersCount: number | null;
|
|
3693
|
+
bodyKind: "template";
|
|
2543
3694
|
projects: {
|
|
2544
3695
|
id: number;
|
|
2545
3696
|
slotNumber: number;
|
|
@@ -2557,8 +3708,73 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2557
3708
|
url: string | null;
|
|
2558
3709
|
imageUrl: string | null;
|
|
2559
3710
|
}[];
|
|
3711
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3712
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3713
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3714
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3715
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
3716
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
3717
|
+
id: z.ZodNumber;
|
|
3718
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
3719
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
3720
|
+
}, "strip", z.ZodTypeAny, {
|
|
3721
|
+
id: number;
|
|
3722
|
+
behaviorSegmentCodes: string[];
|
|
3723
|
+
profileSegmentCodes: string[];
|
|
3724
|
+
}, {
|
|
3725
|
+
id: number;
|
|
3726
|
+
behaviorSegmentCodes: string[];
|
|
3727
|
+
profileSegmentCodes: string[];
|
|
3728
|
+
}>, "many">;
|
|
3729
|
+
}, {
|
|
3730
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
3731
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3732
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3733
|
+
images: z.ZodArray<z.ZodObject<{
|
|
3734
|
+
id: z.ZodNumber;
|
|
3735
|
+
key: z.ZodString;
|
|
3736
|
+
}, "strip", z.ZodTypeAny, {
|
|
3737
|
+
id: number;
|
|
3738
|
+
key: string;
|
|
3739
|
+
}, {
|
|
3740
|
+
id: number;
|
|
3741
|
+
key: string;
|
|
3742
|
+
}>, "many">;
|
|
3743
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3744
|
+
utmCampaign: string | null;
|
|
3745
|
+
subject: string | null;
|
|
3746
|
+
preHeaderText: string | null;
|
|
3747
|
+
targetFilters: {
|
|
3748
|
+
id: number;
|
|
3749
|
+
behaviorSegmentCodes: string[];
|
|
3750
|
+
profileSegmentCodes: string[];
|
|
3751
|
+
}[];
|
|
2560
3752
|
deliveredUsersCount: number | null;
|
|
2561
|
-
|
|
3753
|
+
bodyKind: "freeFormat";
|
|
3754
|
+
htmlBody: string | null;
|
|
3755
|
+
htmlStyle: string | null;
|
|
3756
|
+
images: {
|
|
3757
|
+
id: number;
|
|
3758
|
+
key: string;
|
|
3759
|
+
}[];
|
|
3760
|
+
}, {
|
|
3761
|
+
utmCampaign: string | null;
|
|
3762
|
+
subject: string | null;
|
|
3763
|
+
preHeaderText: string | null;
|
|
3764
|
+
targetFilters: {
|
|
3765
|
+
id: number;
|
|
3766
|
+
behaviorSegmentCodes: string[];
|
|
3767
|
+
profileSegmentCodes: string[];
|
|
3768
|
+
}[];
|
|
3769
|
+
deliveredUsersCount: number | null;
|
|
3770
|
+
bodyKind: "freeFormat";
|
|
3771
|
+
htmlBody: string | null;
|
|
3772
|
+
htmlStyle: string | null;
|
|
3773
|
+
images: {
|
|
3774
|
+
id: number;
|
|
3775
|
+
key: string;
|
|
3776
|
+
}[];
|
|
3777
|
+
}>]>;
|
|
2562
3778
|
}>, "strip", z.ZodTypeAny, {
|
|
2563
3779
|
kind: "curationMailMagazine";
|
|
2564
3780
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
@@ -2573,6 +3789,25 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2573
3789
|
behaviorSegmentCodes: string[];
|
|
2574
3790
|
profileSegmentCodes: string[];
|
|
2575
3791
|
}[];
|
|
3792
|
+
deliveredUsersCount: number | null;
|
|
3793
|
+
bodyKind: "freeFormat";
|
|
3794
|
+
htmlBody: string | null;
|
|
3795
|
+
htmlStyle: string | null;
|
|
3796
|
+
images: {
|
|
3797
|
+
id: number;
|
|
3798
|
+
key: string;
|
|
3799
|
+
}[];
|
|
3800
|
+
} | {
|
|
3801
|
+
utmCampaign: string | null;
|
|
3802
|
+
subject: string | null;
|
|
3803
|
+
preHeaderText: string | null;
|
|
3804
|
+
targetFilters: {
|
|
3805
|
+
id: number;
|
|
3806
|
+
behaviorSegmentCodes: string[];
|
|
3807
|
+
profileSegmentCodes: string[];
|
|
3808
|
+
}[];
|
|
3809
|
+
deliveredUsersCount: number | null;
|
|
3810
|
+
bodyKind: "template";
|
|
2576
3811
|
projects: {
|
|
2577
3812
|
id: number;
|
|
2578
3813
|
slotNumber: number;
|
|
@@ -2590,7 +3825,6 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2590
3825
|
url: string | null;
|
|
2591
3826
|
imageUrl: string | null;
|
|
2592
3827
|
}[];
|
|
2593
|
-
deliveredUsersCount: number | null;
|
|
2594
3828
|
};
|
|
2595
3829
|
deliveryScheduledAt: string | null;
|
|
2596
3830
|
}, {
|
|
@@ -2607,6 +3841,25 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2607
3841
|
behaviorSegmentCodes: string[];
|
|
2608
3842
|
profileSegmentCodes: string[];
|
|
2609
3843
|
}[];
|
|
3844
|
+
deliveredUsersCount: number | null;
|
|
3845
|
+
bodyKind: "freeFormat";
|
|
3846
|
+
htmlBody: string | null;
|
|
3847
|
+
htmlStyle: string | null;
|
|
3848
|
+
images: {
|
|
3849
|
+
id: number;
|
|
3850
|
+
key: string;
|
|
3851
|
+
}[];
|
|
3852
|
+
} | {
|
|
3853
|
+
utmCampaign: string | null;
|
|
3854
|
+
subject: string | null;
|
|
3855
|
+
preHeaderText: string | null;
|
|
3856
|
+
targetFilters: {
|
|
3857
|
+
id: number;
|
|
3858
|
+
behaviorSegmentCodes: string[];
|
|
3859
|
+
profileSegmentCodes: string[];
|
|
3860
|
+
}[];
|
|
3861
|
+
deliveredUsersCount: number | null;
|
|
3862
|
+
bodyKind: "template";
|
|
2610
3863
|
projects: {
|
|
2611
3864
|
id: number;
|
|
2612
3865
|
slotNumber: number;
|
|
@@ -2624,10 +3877,26 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2624
3877
|
url: string | null;
|
|
2625
3878
|
imageUrl: string | null;
|
|
2626
3879
|
}[];
|
|
2627
|
-
deliveredUsersCount: number | null;
|
|
2628
3880
|
};
|
|
2629
3881
|
deliveryScheduledAt: string | null;
|
|
2630
3882
|
}>]>;
|
|
3883
|
+
declare const CreateCampaignKindPersonalizedMailMagazineFormData: z.ZodObject<{
|
|
3884
|
+
kind: z.ZodLiteral<"personalizedMailMagazine">;
|
|
3885
|
+
}, "strip", z.ZodTypeAny, {
|
|
3886
|
+
kind: "personalizedMailMagazine";
|
|
3887
|
+
}, {
|
|
3888
|
+
kind: "personalizedMailMagazine";
|
|
3889
|
+
}>;
|
|
3890
|
+
declare const CreateCampaignKindCurationMailMagazineFormData: z.ZodObject<{
|
|
3891
|
+
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
3892
|
+
bodyKind: z.ZodUnion<[z.ZodLiteral<"template">, z.ZodLiteral<"freeFormat">]>;
|
|
3893
|
+
}, "strip", z.ZodTypeAny, {
|
|
3894
|
+
kind: "curationMailMagazine";
|
|
3895
|
+
bodyKind: "template" | "freeFormat";
|
|
3896
|
+
}, {
|
|
3897
|
+
kind: "curationMailMagazine";
|
|
3898
|
+
bodyKind: "template" | "freeFormat";
|
|
3899
|
+
}>;
|
|
2631
3900
|
declare const Pagination: z.ZodObject<{
|
|
2632
3901
|
totalPages: z.ZodNumber;
|
|
2633
3902
|
totalCount: z.ZodNumber;
|
|
@@ -2656,31 +3925,60 @@ declare const Pagination: z.ZodObject<{
|
|
|
2656
3925
|
isFirstPage: boolean;
|
|
2657
3926
|
isLastPage: boolean;
|
|
2658
3927
|
}>;
|
|
2659
|
-
declare const Campaign: z.ZodObject<{
|
|
3928
|
+
declare const Campaign: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2660
3929
|
id: z.ZodNumber;
|
|
2661
3930
|
title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
2662
3931
|
status: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
2663
|
-
kind: z.ZodUnion<[z.ZodLiteral<"curationMailMagazine">, z.ZodLiteral<"personalizedMailMagazine">]>;
|
|
2664
3932
|
deliveryAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2665
3933
|
lastEditorName: z.ZodString;
|
|
2666
3934
|
lastEditedAt: z.ZodString;
|
|
2667
|
-
},
|
|
2668
|
-
kind: "
|
|
3935
|
+
}, {
|
|
3936
|
+
kind: z.ZodLiteral<"personalizedMailMagazine">;
|
|
3937
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3938
|
+
kind: "personalizedMailMagazine";
|
|
3939
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
3940
|
+
id: number;
|
|
3941
|
+
deliveryAt: string | null;
|
|
3942
|
+
lastEditorName: string;
|
|
3943
|
+
lastEditedAt: string;
|
|
3944
|
+
title?: string | null | undefined;
|
|
3945
|
+
}, {
|
|
3946
|
+
kind: "personalizedMailMagazine";
|
|
3947
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
3948
|
+
id: number;
|
|
3949
|
+
deliveryAt: string | null;
|
|
3950
|
+
lastEditorName: string;
|
|
3951
|
+
lastEditedAt: string;
|
|
3952
|
+
title?: string | null | undefined;
|
|
3953
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3954
|
+
id: z.ZodNumber;
|
|
3955
|
+
title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
3956
|
+
status: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
3957
|
+
deliveryAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3958
|
+
lastEditorName: z.ZodString;
|
|
3959
|
+
lastEditedAt: z.ZodString;
|
|
3960
|
+
}, {
|
|
3961
|
+
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
3962
|
+
bodyKind: z.ZodUnion<[z.ZodLiteral<"template">, z.ZodLiteral<"freeFormat">]>;
|
|
3963
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3964
|
+
kind: "curationMailMagazine";
|
|
2669
3965
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
2670
3966
|
id: number;
|
|
3967
|
+
bodyKind: "template" | "freeFormat";
|
|
2671
3968
|
deliveryAt: string | null;
|
|
2672
3969
|
lastEditorName: string;
|
|
2673
3970
|
lastEditedAt: string;
|
|
2674
3971
|
title?: string | null | undefined;
|
|
2675
3972
|
}, {
|
|
2676
|
-
kind: "curationMailMagazine"
|
|
3973
|
+
kind: "curationMailMagazine";
|
|
2677
3974
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
2678
3975
|
id: number;
|
|
3976
|
+
bodyKind: "template" | "freeFormat";
|
|
2679
3977
|
deliveryAt: string | null;
|
|
2680
3978
|
lastEditorName: string;
|
|
2681
3979
|
lastEditedAt: string;
|
|
2682
3980
|
title?: string | null | undefined;
|
|
2683
|
-
}>;
|
|
3981
|
+
}>]>;
|
|
2684
3982
|
declare const TargetFilterSegments: z.ZodObject<{
|
|
2685
3983
|
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
2686
3984
|
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2804,6 +4102,20 @@ declare const GetProjectsProjectIdOrKeywordResponse: z.ZodObject<{
|
|
|
2804
4102
|
abstract: string;
|
|
2805
4103
|
};
|
|
2806
4104
|
}>;
|
|
4105
|
+
declare const PostCampaignsCampaignIdImagesReqeustBody: z.ZodObject<{
|
|
4106
|
+
image: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
4107
|
+
}, "strip", z.ZodTypeAny, {
|
|
4108
|
+
image?: any;
|
|
4109
|
+
}, {
|
|
4110
|
+
image?: any;
|
|
4111
|
+
}>;
|
|
4112
|
+
declare const PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody: z.ZodObject<{
|
|
4113
|
+
emails: z.ZodArray<z.ZodString, "many">;
|
|
4114
|
+
}, "strip", z.ZodTypeAny, {
|
|
4115
|
+
emails: string[];
|
|
4116
|
+
}, {
|
|
4117
|
+
emails: string[];
|
|
4118
|
+
}>;
|
|
2807
4119
|
declare const GetCampaignsCampaignIdPreviewResponse: z.ZodObject<{
|
|
2808
4120
|
content: z.ZodString;
|
|
2809
4121
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2924,7 +4236,52 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
2924
4236
|
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2925
4237
|
}, {
|
|
2926
4238
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
2927
|
-
curationMailMagazine: z.ZodObject<{
|
|
4239
|
+
curationMailMagazine: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
4240
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4241
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4242
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4243
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
4244
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
4245
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
4246
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
4247
|
+
}, "strip", z.ZodTypeAny, {
|
|
4248
|
+
id: number | null;
|
|
4249
|
+
behaviorSegmentCodes: string[];
|
|
4250
|
+
profileSegmentCodes: string[];
|
|
4251
|
+
}, {
|
|
4252
|
+
id: number | null;
|
|
4253
|
+
behaviorSegmentCodes: string[];
|
|
4254
|
+
profileSegmentCodes: string[];
|
|
4255
|
+
}>, "many">;
|
|
4256
|
+
}, {
|
|
4257
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
4258
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4259
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4260
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4261
|
+
utmCampaign: string | null;
|
|
4262
|
+
subject: string | null;
|
|
4263
|
+
preHeaderText: string | null;
|
|
4264
|
+
targetFilters: {
|
|
4265
|
+
id: number | null;
|
|
4266
|
+
behaviorSegmentCodes: string[];
|
|
4267
|
+
profileSegmentCodes: string[];
|
|
4268
|
+
}[];
|
|
4269
|
+
bodyKind: "freeFormat";
|
|
4270
|
+
htmlBody: string | null;
|
|
4271
|
+
htmlStyle: string | null;
|
|
4272
|
+
}, {
|
|
4273
|
+
utmCampaign: string | null;
|
|
4274
|
+
subject: string | null;
|
|
4275
|
+
preHeaderText: string | null;
|
|
4276
|
+
targetFilters: {
|
|
4277
|
+
id: number | null;
|
|
4278
|
+
behaviorSegmentCodes: string[];
|
|
4279
|
+
profileSegmentCodes: string[];
|
|
4280
|
+
}[];
|
|
4281
|
+
bodyKind: "freeFormat";
|
|
4282
|
+
htmlBody: string | null;
|
|
4283
|
+
htmlStyle: string | null;
|
|
4284
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2928
4285
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2929
4286
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2930
4287
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -2941,6 +4298,8 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
2941
4298
|
behaviorSegmentCodes: string[];
|
|
2942
4299
|
profileSegmentCodes: string[];
|
|
2943
4300
|
}>, "many">;
|
|
4301
|
+
}, {
|
|
4302
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
2944
4303
|
projects: z.ZodArray<z.ZodObject<{
|
|
2945
4304
|
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
2946
4305
|
slotNumber: z.ZodNumber;
|
|
@@ -3038,7 +4397,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3038
4397
|
} | null;
|
|
3039
4398
|
url: string | null;
|
|
3040
4399
|
}>, "many">;
|
|
3041
|
-
}
|
|
4400
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3042
4401
|
utmCampaign: string | null;
|
|
3043
4402
|
subject: string | null;
|
|
3044
4403
|
preHeaderText: string | null;
|
|
@@ -3047,6 +4406,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3047
4406
|
behaviorSegmentCodes: string[];
|
|
3048
4407
|
profileSegmentCodes: string[];
|
|
3049
4408
|
}[];
|
|
4409
|
+
bodyKind: "template";
|
|
3050
4410
|
projects: {
|
|
3051
4411
|
id: number | null;
|
|
3052
4412
|
slotNumber: number;
|
|
@@ -3083,6 +4443,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3083
4443
|
behaviorSegmentCodes: string[];
|
|
3084
4444
|
profileSegmentCodes: string[];
|
|
3085
4445
|
}[];
|
|
4446
|
+
bodyKind: "template";
|
|
3086
4447
|
projects: {
|
|
3087
4448
|
id: number | null;
|
|
3088
4449
|
slotNumber: number;
|
|
@@ -3110,7 +4471,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3110
4471
|
} | null;
|
|
3111
4472
|
url: string | null;
|
|
3112
4473
|
}[];
|
|
3113
|
-
}>;
|
|
4474
|
+
}>]>;
|
|
3114
4475
|
}>, "strip", z.ZodTypeAny, {
|
|
3115
4476
|
kind: "curationMailMagazine";
|
|
3116
4477
|
title: string | null;
|
|
@@ -3123,6 +4484,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3123
4484
|
behaviorSegmentCodes: string[];
|
|
3124
4485
|
profileSegmentCodes: string[];
|
|
3125
4486
|
}[];
|
|
4487
|
+
bodyKind: "template";
|
|
3126
4488
|
projects: {
|
|
3127
4489
|
id: number | null;
|
|
3128
4490
|
slotNumber: number;
|
|
@@ -3150,6 +4512,18 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3150
4512
|
} | null;
|
|
3151
4513
|
url: string | null;
|
|
3152
4514
|
}[];
|
|
4515
|
+
} | {
|
|
4516
|
+
utmCampaign: string | null;
|
|
4517
|
+
subject: string | null;
|
|
4518
|
+
preHeaderText: string | null;
|
|
4519
|
+
targetFilters: {
|
|
4520
|
+
id: number | null;
|
|
4521
|
+
behaviorSegmentCodes: string[];
|
|
4522
|
+
profileSegmentCodes: string[];
|
|
4523
|
+
}[];
|
|
4524
|
+
bodyKind: "freeFormat";
|
|
4525
|
+
htmlBody: string | null;
|
|
4526
|
+
htmlStyle: string | null;
|
|
3153
4527
|
};
|
|
3154
4528
|
deliveryScheduledAt: string | null;
|
|
3155
4529
|
}, {
|
|
@@ -3164,6 +4538,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3164
4538
|
behaviorSegmentCodes: string[];
|
|
3165
4539
|
profileSegmentCodes: string[];
|
|
3166
4540
|
}[];
|
|
4541
|
+
bodyKind: "template";
|
|
3167
4542
|
projects: {
|
|
3168
4543
|
id: number | null;
|
|
3169
4544
|
slotNumber: number;
|
|
@@ -3191,6 +4566,18 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3191
4566
|
} | null;
|
|
3192
4567
|
url: string | null;
|
|
3193
4568
|
}[];
|
|
4569
|
+
} | {
|
|
4570
|
+
utmCampaign: string | null;
|
|
4571
|
+
subject: string | null;
|
|
4572
|
+
preHeaderText: string | null;
|
|
4573
|
+
targetFilters: {
|
|
4574
|
+
id: number | null;
|
|
4575
|
+
behaviorSegmentCodes: string[];
|
|
4576
|
+
profileSegmentCodes: string[];
|
|
4577
|
+
}[];
|
|
4578
|
+
bodyKind: "freeFormat";
|
|
4579
|
+
htmlBody: string | null;
|
|
4580
|
+
htmlStyle: string | null;
|
|
3194
4581
|
};
|
|
3195
4582
|
deliveryScheduledAt: string | null;
|
|
3196
4583
|
}>]>;
|
|
@@ -3207,6 +4594,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3207
4594
|
behaviorSegmentCodes: string[];
|
|
3208
4595
|
profileSegmentCodes: string[];
|
|
3209
4596
|
}[];
|
|
4597
|
+
bodyKind: "template";
|
|
3210
4598
|
projects: {
|
|
3211
4599
|
id: number | null;
|
|
3212
4600
|
slotNumber: number;
|
|
@@ -3234,6 +4622,18 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3234
4622
|
} | null;
|
|
3235
4623
|
url: string | null;
|
|
3236
4624
|
}[];
|
|
4625
|
+
} | {
|
|
4626
|
+
utmCampaign: string | null;
|
|
4627
|
+
subject: string | null;
|
|
4628
|
+
preHeaderText: string | null;
|
|
4629
|
+
targetFilters: {
|
|
4630
|
+
id: number | null;
|
|
4631
|
+
behaviorSegmentCodes: string[];
|
|
4632
|
+
profileSegmentCodes: string[];
|
|
4633
|
+
}[];
|
|
4634
|
+
bodyKind: "freeFormat";
|
|
4635
|
+
htmlBody: string | null;
|
|
4636
|
+
htmlStyle: string | null;
|
|
3237
4637
|
};
|
|
3238
4638
|
deliveryScheduledAt: string | null;
|
|
3239
4639
|
} | {
|
|
@@ -3267,6 +4667,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3267
4667
|
behaviorSegmentCodes: string[];
|
|
3268
4668
|
profileSegmentCodes: string[];
|
|
3269
4669
|
}[];
|
|
4670
|
+
bodyKind: "template";
|
|
3270
4671
|
projects: {
|
|
3271
4672
|
id: number | null;
|
|
3272
4673
|
slotNumber: number;
|
|
@@ -3294,6 +4695,18 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3294
4695
|
} | null;
|
|
3295
4696
|
url: string | null;
|
|
3296
4697
|
}[];
|
|
4698
|
+
} | {
|
|
4699
|
+
utmCampaign: string | null;
|
|
4700
|
+
subject: string | null;
|
|
4701
|
+
preHeaderText: string | null;
|
|
4702
|
+
targetFilters: {
|
|
4703
|
+
id: number | null;
|
|
4704
|
+
behaviorSegmentCodes: string[];
|
|
4705
|
+
profileSegmentCodes: string[];
|
|
4706
|
+
}[];
|
|
4707
|
+
bodyKind: "freeFormat";
|
|
4708
|
+
htmlBody: string | null;
|
|
4709
|
+
htmlStyle: string | null;
|
|
3297
4710
|
};
|
|
3298
4711
|
deliveryScheduledAt: string | null;
|
|
3299
4712
|
} | {
|
|
@@ -3388,7 +4801,7 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3388
4801
|
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3389
4802
|
}, {
|
|
3390
4803
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
3391
|
-
curationMailMagazine: z.ZodObject<{
|
|
4804
|
+
curationMailMagazine: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
3392
4805
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3393
4806
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3394
4807
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -3406,6 +4819,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3406
4819
|
behaviorSegmentCodes: string[];
|
|
3407
4820
|
profileSegmentCodes: string[];
|
|
3408
4821
|
}>, "many">;
|
|
4822
|
+
}, {
|
|
4823
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
3409
4824
|
projects: z.ZodArray<z.ZodObject<{
|
|
3410
4825
|
id: z.ZodNumber;
|
|
3411
4826
|
readyforProjectId: z.ZodNumber;
|
|
@@ -3453,7 +4868,7 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3453
4868
|
url: string | null;
|
|
3454
4869
|
imageUrl: string | null;
|
|
3455
4870
|
}>, "many">;
|
|
3456
|
-
}
|
|
4871
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3457
4872
|
utmCampaign: string | null;
|
|
3458
4873
|
subject: string | null;
|
|
3459
4874
|
preHeaderText: string | null;
|
|
@@ -3462,6 +4877,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3462
4877
|
behaviorSegmentCodes: string[];
|
|
3463
4878
|
profileSegmentCodes: string[];
|
|
3464
4879
|
}[];
|
|
4880
|
+
deliveredUsersCount: number | null;
|
|
4881
|
+
bodyKind: "template";
|
|
3465
4882
|
projects: {
|
|
3466
4883
|
id: number;
|
|
3467
4884
|
slotNumber: number;
|
|
@@ -3479,7 +4896,6 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3479
4896
|
url: string | null;
|
|
3480
4897
|
imageUrl: string | null;
|
|
3481
4898
|
}[];
|
|
3482
|
-
deliveredUsersCount: number | null;
|
|
3483
4899
|
}, {
|
|
3484
4900
|
utmCampaign: string | null;
|
|
3485
4901
|
subject: string | null;
|
|
@@ -3489,6 +4905,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3489
4905
|
behaviorSegmentCodes: string[];
|
|
3490
4906
|
profileSegmentCodes: string[];
|
|
3491
4907
|
}[];
|
|
4908
|
+
deliveredUsersCount: number | null;
|
|
4909
|
+
bodyKind: "template";
|
|
3492
4910
|
projects: {
|
|
3493
4911
|
id: number;
|
|
3494
4912
|
slotNumber: number;
|
|
@@ -3506,8 +4924,73 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3506
4924
|
url: string | null;
|
|
3507
4925
|
imageUrl: string | null;
|
|
3508
4926
|
}[];
|
|
4927
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
4928
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4929
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4930
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4931
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
4932
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
4933
|
+
id: z.ZodNumber;
|
|
4934
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
4935
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
4936
|
+
}, "strip", z.ZodTypeAny, {
|
|
4937
|
+
id: number;
|
|
4938
|
+
behaviorSegmentCodes: string[];
|
|
4939
|
+
profileSegmentCodes: string[];
|
|
4940
|
+
}, {
|
|
4941
|
+
id: number;
|
|
4942
|
+
behaviorSegmentCodes: string[];
|
|
4943
|
+
profileSegmentCodes: string[];
|
|
4944
|
+
}>, "many">;
|
|
4945
|
+
}, {
|
|
4946
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
4947
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4948
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4949
|
+
images: z.ZodArray<z.ZodObject<{
|
|
4950
|
+
id: z.ZodNumber;
|
|
4951
|
+
key: z.ZodString;
|
|
4952
|
+
}, "strip", z.ZodTypeAny, {
|
|
4953
|
+
id: number;
|
|
4954
|
+
key: string;
|
|
4955
|
+
}, {
|
|
4956
|
+
id: number;
|
|
4957
|
+
key: string;
|
|
4958
|
+
}>, "many">;
|
|
4959
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4960
|
+
utmCampaign: string | null;
|
|
4961
|
+
subject: string | null;
|
|
4962
|
+
preHeaderText: string | null;
|
|
4963
|
+
targetFilters: {
|
|
4964
|
+
id: number;
|
|
4965
|
+
behaviorSegmentCodes: string[];
|
|
4966
|
+
profileSegmentCodes: string[];
|
|
4967
|
+
}[];
|
|
3509
4968
|
deliveredUsersCount: number | null;
|
|
3510
|
-
|
|
4969
|
+
bodyKind: "freeFormat";
|
|
4970
|
+
htmlBody: string | null;
|
|
4971
|
+
htmlStyle: string | null;
|
|
4972
|
+
images: {
|
|
4973
|
+
id: number;
|
|
4974
|
+
key: string;
|
|
4975
|
+
}[];
|
|
4976
|
+
}, {
|
|
4977
|
+
utmCampaign: string | null;
|
|
4978
|
+
subject: string | null;
|
|
4979
|
+
preHeaderText: string | null;
|
|
4980
|
+
targetFilters: {
|
|
4981
|
+
id: number;
|
|
4982
|
+
behaviorSegmentCodes: string[];
|
|
4983
|
+
profileSegmentCodes: string[];
|
|
4984
|
+
}[];
|
|
4985
|
+
deliveredUsersCount: number | null;
|
|
4986
|
+
bodyKind: "freeFormat";
|
|
4987
|
+
htmlBody: string | null;
|
|
4988
|
+
htmlStyle: string | null;
|
|
4989
|
+
images: {
|
|
4990
|
+
id: number;
|
|
4991
|
+
key: string;
|
|
4992
|
+
}[];
|
|
4993
|
+
}>]>;
|
|
3511
4994
|
}>, "strip", z.ZodTypeAny, {
|
|
3512
4995
|
kind: "curationMailMagazine";
|
|
3513
4996
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
@@ -3522,6 +5005,25 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3522
5005
|
behaviorSegmentCodes: string[];
|
|
3523
5006
|
profileSegmentCodes: string[];
|
|
3524
5007
|
}[];
|
|
5008
|
+
deliveredUsersCount: number | null;
|
|
5009
|
+
bodyKind: "freeFormat";
|
|
5010
|
+
htmlBody: string | null;
|
|
5011
|
+
htmlStyle: string | null;
|
|
5012
|
+
images: {
|
|
5013
|
+
id: number;
|
|
5014
|
+
key: string;
|
|
5015
|
+
}[];
|
|
5016
|
+
} | {
|
|
5017
|
+
utmCampaign: string | null;
|
|
5018
|
+
subject: string | null;
|
|
5019
|
+
preHeaderText: string | null;
|
|
5020
|
+
targetFilters: {
|
|
5021
|
+
id: number;
|
|
5022
|
+
behaviorSegmentCodes: string[];
|
|
5023
|
+
profileSegmentCodes: string[];
|
|
5024
|
+
}[];
|
|
5025
|
+
deliveredUsersCount: number | null;
|
|
5026
|
+
bodyKind: "template";
|
|
3525
5027
|
projects: {
|
|
3526
5028
|
id: number;
|
|
3527
5029
|
slotNumber: number;
|
|
@@ -3539,7 +5041,6 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3539
5041
|
url: string | null;
|
|
3540
5042
|
imageUrl: string | null;
|
|
3541
5043
|
}[];
|
|
3542
|
-
deliveredUsersCount: number | null;
|
|
3543
5044
|
};
|
|
3544
5045
|
deliveryScheduledAt: string | null;
|
|
3545
5046
|
}, {
|
|
@@ -3556,6 +5057,25 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3556
5057
|
behaviorSegmentCodes: string[];
|
|
3557
5058
|
profileSegmentCodes: string[];
|
|
3558
5059
|
}[];
|
|
5060
|
+
deliveredUsersCount: number | null;
|
|
5061
|
+
bodyKind: "freeFormat";
|
|
5062
|
+
htmlBody: string | null;
|
|
5063
|
+
htmlStyle: string | null;
|
|
5064
|
+
images: {
|
|
5065
|
+
id: number;
|
|
5066
|
+
key: string;
|
|
5067
|
+
}[];
|
|
5068
|
+
} | {
|
|
5069
|
+
utmCampaign: string | null;
|
|
5070
|
+
subject: string | null;
|
|
5071
|
+
preHeaderText: string | null;
|
|
5072
|
+
targetFilters: {
|
|
5073
|
+
id: number;
|
|
5074
|
+
behaviorSegmentCodes: string[];
|
|
5075
|
+
profileSegmentCodes: string[];
|
|
5076
|
+
}[];
|
|
5077
|
+
deliveredUsersCount: number | null;
|
|
5078
|
+
bodyKind: "template";
|
|
3559
5079
|
projects: {
|
|
3560
5080
|
id: number;
|
|
3561
5081
|
slotNumber: number;
|
|
@@ -3573,7 +5093,6 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3573
5093
|
url: string | null;
|
|
3574
5094
|
imageUrl: string | null;
|
|
3575
5095
|
}[];
|
|
3576
|
-
deliveredUsersCount: number | null;
|
|
3577
5096
|
};
|
|
3578
5097
|
deliveryScheduledAt: string | null;
|
|
3579
5098
|
}>]>;
|
|
@@ -3592,6 +5111,25 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3592
5111
|
behaviorSegmentCodes: string[];
|
|
3593
5112
|
profileSegmentCodes: string[];
|
|
3594
5113
|
}[];
|
|
5114
|
+
deliveredUsersCount: number | null;
|
|
5115
|
+
bodyKind: "freeFormat";
|
|
5116
|
+
htmlBody: string | null;
|
|
5117
|
+
htmlStyle: string | null;
|
|
5118
|
+
images: {
|
|
5119
|
+
id: number;
|
|
5120
|
+
key: string;
|
|
5121
|
+
}[];
|
|
5122
|
+
} | {
|
|
5123
|
+
utmCampaign: string | null;
|
|
5124
|
+
subject: string | null;
|
|
5125
|
+
preHeaderText: string | null;
|
|
5126
|
+
targetFilters: {
|
|
5127
|
+
id: number;
|
|
5128
|
+
behaviorSegmentCodes: string[];
|
|
5129
|
+
profileSegmentCodes: string[];
|
|
5130
|
+
}[];
|
|
5131
|
+
deliveredUsersCount: number | null;
|
|
5132
|
+
bodyKind: "template";
|
|
3595
5133
|
projects: {
|
|
3596
5134
|
id: number;
|
|
3597
5135
|
slotNumber: number;
|
|
@@ -3609,7 +5147,6 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3609
5147
|
url: string | null;
|
|
3610
5148
|
imageUrl: string | null;
|
|
3611
5149
|
}[];
|
|
3612
|
-
deliveredUsersCount: number | null;
|
|
3613
5150
|
};
|
|
3614
5151
|
deliveryScheduledAt: string | null;
|
|
3615
5152
|
} | {
|
|
@@ -3642,6 +5179,25 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3642
5179
|
behaviorSegmentCodes: string[];
|
|
3643
5180
|
profileSegmentCodes: string[];
|
|
3644
5181
|
}[];
|
|
5182
|
+
deliveredUsersCount: number | null;
|
|
5183
|
+
bodyKind: "freeFormat";
|
|
5184
|
+
htmlBody: string | null;
|
|
5185
|
+
htmlStyle: string | null;
|
|
5186
|
+
images: {
|
|
5187
|
+
id: number;
|
|
5188
|
+
key: string;
|
|
5189
|
+
}[];
|
|
5190
|
+
} | {
|
|
5191
|
+
utmCampaign: string | null;
|
|
5192
|
+
subject: string | null;
|
|
5193
|
+
preHeaderText: string | null;
|
|
5194
|
+
targetFilters: {
|
|
5195
|
+
id: number;
|
|
5196
|
+
behaviorSegmentCodes: string[];
|
|
5197
|
+
profileSegmentCodes: string[];
|
|
5198
|
+
}[];
|
|
5199
|
+
deliveredUsersCount: number | null;
|
|
5200
|
+
bodyKind: "template";
|
|
3645
5201
|
projects: {
|
|
3646
5202
|
id: number;
|
|
3647
5203
|
slotNumber: number;
|
|
@@ -3659,7 +5215,6 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3659
5215
|
url: string | null;
|
|
3660
5216
|
imageUrl: string | null;
|
|
3661
5217
|
}[];
|
|
3662
|
-
deliveredUsersCount: number | null;
|
|
3663
5218
|
};
|
|
3664
5219
|
deliveryScheduledAt: string | null;
|
|
3665
5220
|
} | {
|
|
@@ -3678,13 +5233,23 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3678
5233
|
};
|
|
3679
5234
|
};
|
|
3680
5235
|
}>;
|
|
3681
|
-
declare const
|
|
3682
|
-
|
|
5236
|
+
declare const CampaignKind: z.ZodUnion<[z.ZodLiteral<"curationMailMagazine">, z.ZodLiteral<"personalizedMailMagazine">]>;
|
|
5237
|
+
declare const PostCampaignsRequestBody: z.ZodUnion<[z.ZodObject<{
|
|
5238
|
+
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
5239
|
+
bodyKind: z.ZodUnion<[z.ZodLiteral<"template">, z.ZodLiteral<"freeFormat">]>;
|
|
3683
5240
|
}, "strip", z.ZodTypeAny, {
|
|
3684
|
-
kind: "curationMailMagazine"
|
|
5241
|
+
kind: "curationMailMagazine";
|
|
5242
|
+
bodyKind: "template" | "freeFormat";
|
|
3685
5243
|
}, {
|
|
3686
|
-
kind: "curationMailMagazine"
|
|
3687
|
-
|
|
5244
|
+
kind: "curationMailMagazine";
|
|
5245
|
+
bodyKind: "template" | "freeFormat";
|
|
5246
|
+
}>, z.ZodObject<{
|
|
5247
|
+
kind: z.ZodLiteral<"personalizedMailMagazine">;
|
|
5248
|
+
}, "strip", z.ZodTypeAny, {
|
|
5249
|
+
kind: "personalizedMailMagazine";
|
|
5250
|
+
}, {
|
|
5251
|
+
kind: "personalizedMailMagazine";
|
|
5252
|
+
}>]>;
|
|
3688
5253
|
declare const PostCampaignsResponse: z.ZodObject<{
|
|
3689
5254
|
id: z.ZodNumber;
|
|
3690
5255
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3693,16 +5258,17 @@ declare const PostCampaignsResponse: z.ZodObject<{
|
|
|
3693
5258
|
id: number;
|
|
3694
5259
|
}>;
|
|
3695
5260
|
declare const GetCampaignsResponse: z.ZodObject<{
|
|
3696
|
-
campaigns: z.ZodArray<z.ZodObject<{
|
|
5261
|
+
campaigns: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
3697
5262
|
id: z.ZodNumber;
|
|
3698
5263
|
title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
3699
5264
|
status: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
3700
|
-
kind: z.ZodUnion<[z.ZodLiteral<"curationMailMagazine">, z.ZodLiteral<"personalizedMailMagazine">]>;
|
|
3701
5265
|
deliveryAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3702
5266
|
lastEditorName: z.ZodString;
|
|
3703
5267
|
lastEditedAt: z.ZodString;
|
|
3704
|
-
},
|
|
3705
|
-
kind: "
|
|
5268
|
+
}, {
|
|
5269
|
+
kind: z.ZodLiteral<"personalizedMailMagazine">;
|
|
5270
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5271
|
+
kind: "personalizedMailMagazine";
|
|
3706
5272
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
3707
5273
|
id: number;
|
|
3708
5274
|
deliveryAt: string | null;
|
|
@@ -3710,14 +5276,42 @@ declare const GetCampaignsResponse: z.ZodObject<{
|
|
|
3710
5276
|
lastEditedAt: string;
|
|
3711
5277
|
title?: string | null | undefined;
|
|
3712
5278
|
}, {
|
|
3713
|
-
kind: "
|
|
5279
|
+
kind: "personalizedMailMagazine";
|
|
3714
5280
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
3715
5281
|
id: number;
|
|
3716
5282
|
deliveryAt: string | null;
|
|
3717
5283
|
lastEditorName: string;
|
|
3718
5284
|
lastEditedAt: string;
|
|
3719
5285
|
title?: string | null | undefined;
|
|
3720
|
-
}>,
|
|
5286
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
5287
|
+
id: z.ZodNumber;
|
|
5288
|
+
title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
5289
|
+
status: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
5290
|
+
deliveryAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
5291
|
+
lastEditorName: z.ZodString;
|
|
5292
|
+
lastEditedAt: z.ZodString;
|
|
5293
|
+
}, {
|
|
5294
|
+
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
5295
|
+
bodyKind: z.ZodUnion<[z.ZodLiteral<"template">, z.ZodLiteral<"freeFormat">]>;
|
|
5296
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5297
|
+
kind: "curationMailMagazine";
|
|
5298
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
5299
|
+
id: number;
|
|
5300
|
+
bodyKind: "template" | "freeFormat";
|
|
5301
|
+
deliveryAt: string | null;
|
|
5302
|
+
lastEditorName: string;
|
|
5303
|
+
lastEditedAt: string;
|
|
5304
|
+
title?: string | null | undefined;
|
|
5305
|
+
}, {
|
|
5306
|
+
kind: "curationMailMagazine";
|
|
5307
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
5308
|
+
id: number;
|
|
5309
|
+
bodyKind: "template" | "freeFormat";
|
|
5310
|
+
deliveryAt: string | null;
|
|
5311
|
+
lastEditorName: string;
|
|
5312
|
+
lastEditedAt: string;
|
|
5313
|
+
title?: string | null | undefined;
|
|
5314
|
+
}>]>, "many">;
|
|
3721
5315
|
pagination: z.ZodObject<{
|
|
3722
5316
|
totalPages: z.ZodNumber;
|
|
3723
5317
|
totalCount: z.ZodNumber;
|
|
@@ -3747,15 +5341,24 @@ declare const GetCampaignsResponse: z.ZodObject<{
|
|
|
3747
5341
|
isLastPage: boolean;
|
|
3748
5342
|
}>;
|
|
3749
5343
|
}, "strip", z.ZodTypeAny, {
|
|
3750
|
-
campaigns: {
|
|
3751
|
-
kind: "curationMailMagazine"
|
|
5344
|
+
campaigns: ({
|
|
5345
|
+
kind: "curationMailMagazine";
|
|
3752
5346
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
3753
5347
|
id: number;
|
|
5348
|
+
bodyKind: "template" | "freeFormat";
|
|
3754
5349
|
deliveryAt: string | null;
|
|
3755
5350
|
lastEditorName: string;
|
|
3756
5351
|
lastEditedAt: string;
|
|
3757
5352
|
title?: string | null | undefined;
|
|
3758
|
-
}
|
|
5353
|
+
} | {
|
|
5354
|
+
kind: "personalizedMailMagazine";
|
|
5355
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
5356
|
+
id: number;
|
|
5357
|
+
deliveryAt: string | null;
|
|
5358
|
+
lastEditorName: string;
|
|
5359
|
+
lastEditedAt: string;
|
|
5360
|
+
title?: string | null | undefined;
|
|
5361
|
+
})[];
|
|
3759
5362
|
pagination: {
|
|
3760
5363
|
totalPages: number;
|
|
3761
5364
|
totalCount: number;
|
|
@@ -3767,15 +5370,24 @@ declare const GetCampaignsResponse: z.ZodObject<{
|
|
|
3767
5370
|
isLastPage: boolean;
|
|
3768
5371
|
};
|
|
3769
5372
|
}, {
|
|
3770
|
-
campaigns: {
|
|
3771
|
-
kind: "curationMailMagazine"
|
|
5373
|
+
campaigns: ({
|
|
5374
|
+
kind: "curationMailMagazine";
|
|
3772
5375
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
3773
5376
|
id: number;
|
|
5377
|
+
bodyKind: "template" | "freeFormat";
|
|
3774
5378
|
deliveryAt: string | null;
|
|
3775
5379
|
lastEditorName: string;
|
|
3776
5380
|
lastEditedAt: string;
|
|
3777
5381
|
title?: string | null | undefined;
|
|
3778
|
-
}
|
|
5382
|
+
} | {
|
|
5383
|
+
kind: "personalizedMailMagazine";
|
|
5384
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
5385
|
+
id: number;
|
|
5386
|
+
deliveryAt: string | null;
|
|
5387
|
+
lastEditorName: string;
|
|
5388
|
+
lastEditedAt: string;
|
|
5389
|
+
title?: string | null | undefined;
|
|
5390
|
+
})[];
|
|
3779
5391
|
pagination: {
|
|
3780
5392
|
totalPages: number;
|
|
3781
5393
|
totalCount: number;
|
|
@@ -3788,4 +5400,4 @@ declare const GetCampaignsResponse: z.ZodObject<{
|
|
|
3788
5400
|
};
|
|
3789
5401
|
}>;
|
|
3790
5402
|
|
|
3791
|
-
export { Campaign, CampaignBaseFormData, CampaignDetail, CampaignDetailBase, CampaignDetailKindDataCurationMailMagazine, CampaignDetailKindDataPersonalizedMailMagazine, CampaignDetailWithCurationMailMagazine, CampaignDetailWithPersonalizedMailMagazine, CampaignFormData, CampaignKind, CampaignKindDataCurationMailMagazineFormData, CampaignKindDataPersonalizedMailMagazineFormData, CampaignStatus, CampaignWithCurationMailMagazineFormData, CampaignWithPersonalizedMailMagazineFormData, CampaignsCampaignIdResponse, CurationMailMagazineBanner, CurationMailMagazineBannerFormData, CurationMailMagazineDetail, CurationMailMagazineFormData, CurationMailMagazineProjectFormData, CurationMailMagazineTargetFilter, CurationMailMagazineTargetFilterFormData, CurationMailMagazineTargetProject, DeleteImageFormData, GetBehaviorSegmentsResponse, GetCampaignsCampaignIdPreviewResponse, GetCampaignsResponse, GetProfileSegmentsResponse, GetProjectsProjectIdOrKeywordResponse, GetTargetUsersCountResponse, HttpErrorBadRequest, ImageFormData, Pagination, PatchCampaignsCampaignIdRequestBody, PersonalizedMailMagazineDetail, PersonalizedMailMagazineDetailTarget, PersonalizedMailMagazineFormData, PersonalizedMailMagazineTargetCsvFormData, PersonalizedMailMagazineTargetDeleteCsvFormData, PersonalizedMailMagazineTargetUploadCsvFormData, PersonalizedMailMagazineTargetUploadCsvRecordFormData, PostCampaignsRequestBody, PostCampaignsResponse, ReadyforProject, Segment, TargetFilterSegments, UploadImageFormData };
|
|
5403
|
+
export { BodyKind, Campaign, CampaignBase, CampaignBaseFormData, CampaignDetail, CampaignDetailBase, CampaignDetailKindDataCurationMailMagazine, CampaignDetailKindDataPersonalizedMailMagazine, CampaignDetailWithCurationMailMagazine, CampaignDetailWithPersonalizedMailMagazine, CampaignFormData, CampaignKind, CampaignKindDataCurationMailMagazineFormData, CampaignKindDataPersonalizedMailMagazineFormData, CampaignStatus, CampaignWithCurationMailMagazineFormData, CampaignWithPersonalizedMailMagazineFormData, CampaignsCampaignIdResponse, CreateCampaignKindCurationMailMagazineFormData, CreateCampaignKindPersonalizedMailMagazineFormData, CurationMailMagazineBanner, CurationMailMagazineBannerFormData, CurationMailMagazineCampaign, CurationMailMagazineDetail, CurationMailMagazineDetailBase, CurationMailMagazineDetailBodyKindFreeFormat, CurationMailMagazineDetailBodyKindTemplate, CurationMailMagazineFormData, CurationMailMagazineFormDataBase, CurationMailMagazineFormDataBodyKindFreeFormat, CurationMailMagazineFormDataBodyKindTemplate, CurationMailMagazineProjectFormData, CurationMailMagazineTargetFilter, CurationMailMagazineTargetFilterFormData, CurationMailMagazineTargetProject, DeleteImageFormData, GetBehaviorSegmentsResponse, GetCampaignsCampaignIdPreviewResponse, GetCampaignsResponse, GetProfileSegmentsResponse, GetProjectsProjectIdOrKeywordResponse, GetTargetUsersCountResponse, HttpErrorBadRequest, Image, ImageFormData, Pagination, PatchCampaignsCampaignIdRequestBody, PersonalizedMailMagazineCampaign, PersonalizedMailMagazineDetail, PersonalizedMailMagazineDetailTarget, PersonalizedMailMagazineFormData, PersonalizedMailMagazineTargetCsvFormData, PersonalizedMailMagazineTargetDeleteCsvFormData, PersonalizedMailMagazineTargetUploadCsvFormData, PersonalizedMailMagazineTargetUploadCsvRecordFormData, PostCampaignsCampaignIdImagesReqeustBody, PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody, PostCampaignsRequestBody, PostCampaignsResponse, ReadyforProject, Segment, TargetFilterSegments, UploadImageFormData };
|