@readyfor/api-client-pigeon 0.211.0 → 0.213.0-pr976.717ca52
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-HL5L65UZ.mjs → chunk-2FXPVFGN.mjs} +1 -1
- package/dist/{chunk-FNPA6IIP.mjs → chunk-2ISD5OUI.mjs} +1 -1
- package/dist/{chunk-BMQ5FM3Y.mjs → chunk-7BDJD4RY.mjs} +1 -1
- package/dist/{chunk-B2AJHCDB.mjs → chunk-B6ZEC3XE.mjs} +1 -1
- package/dist/{chunk-R4YIKH3Y.mjs → chunk-D7JE2YMF.mjs} +1 -1
- package/dist/{chunk-D4FX7EF4.mjs → chunk-HTGBTEWU.mjs} +1 -1
- package/dist/{chunk-I3ZA5OSN.mjs → chunk-I22YVRCC.mjs} +1 -1
- package/dist/{chunk-BWS5L36S.mjs → chunk-KHZQ2L5S.mjs} +1 -1
- package/dist/{chunk-MGMTVPZT.mjs → chunk-KTVSIGGC.mjs} +84 -46
- package/dist/{chunk-EBMZD2Z6.mjs → chunk-KWWK2Y3C.mjs} +1 -1
- package/dist/{chunk-F2Q4Q4KP.mjs → chunk-L4JLCPDW.mjs} +1 -1
- package/dist/{chunk-3N3LRZQA.mjs → chunk-R4PIMAXB.mjs} +1 -1
- package/dist/{chunk-4VH2ITPU.mjs → chunk-W5RPKLSO.mjs} +1 -1
- package/dist/{chunk-7PVR3FER.mjs → chunk-YHD7KWEW.mjs} +1 -1
- package/dist/{chunk-IKKASNL7.mjs → chunk-ZYX2AFS4.mjs} +1 -1
- package/dist/components.d.mts +1435 -175
- package/dist/components.d.ts +1435 -175
- package/dist/components.js +84 -40
- package/dist/components.mjs +13 -1
- package/dist/fetch/campaigns.d.mts +2 -2
- package/dist/fetch/campaigns.d.ts +2 -2
- package/dist/fetch/campaigns.js +72 -40
- package/dist/fetch/campaigns.mjs +2 -2
- package/dist/fetch/campaignsId.d.mts +60 -4
- package/dist/fetch/campaignsId.d.ts +60 -4
- package/dist/fetch/campaignsId.js +72 -40
- package/dist/fetch/campaignsId.mjs +2 -2
- package/dist/fetch/campaignsIdPreview.js +72 -40
- package/dist/fetch/campaignsIdPreview.mjs +2 -2
- package/dist/fetch/projectsProjectIdOrKeyword.js +72 -40
- package/dist/fetch/projectsProjectIdOrKeyword.mjs +2 -2
- package/dist/fetch/segmentsBehaviorSegments.js +72 -40
- package/dist/fetch/segmentsBehaviorSegments.mjs +2 -2
- package/dist/fetch/segmentsProfileSegments.js +72 -40
- package/dist/fetch/segmentsProfileSegments.mjs +2 -2
- package/dist/fetch/segmentsTargetUsersCount.js +72 -40
- package/dist/fetch/segmentsTargetUsersCount.mjs +2 -2
- package/dist/hooks/index.js +72 -40
- package/dist/hooks/index.mjs +15 -15
- package/dist/hooks/useCampaigns.js +72 -40
- package/dist/hooks/useCampaigns.mjs +9 -9
- package/dist/hooks/useCampaignsId.js +72 -40
- package/dist/hooks/useCampaignsId.mjs +9 -9
- package/dist/hooks/useCampaignsIdPreview.js +72 -40
- package/dist/hooks/useCampaignsIdPreview.mjs +9 -9
- package/dist/hooks/useProjectsProjectIdOrKeyword.js +72 -40
- package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +9 -9
- package/dist/hooks/useSegmentsBehaviorSegments.js +72 -40
- package/dist/hooks/useSegmentsBehaviorSegments.mjs +9 -9
- package/dist/hooks/useSegmentsProfileSegments.js +72 -40
- package/dist/hooks/useSegmentsProfileSegments.mjs +9 -9
- package/dist/hooks/useSegmentsTargetUsersCount.js +72 -40
- package/dist/hooks/useSegmentsTargetUsersCount.mjs +9 -9
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +84 -40
- package/dist/index.mjs +20 -8
- package/dist/schemaType.d.mts +71 -43
- package/dist/schemaType.d.ts +71 -43
- package/package.json +11 -12
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<{
|
|
@@ -214,73 +222,550 @@ declare const PersonalizedMailMagazineTargetCsvFormData: z.ZodUnion<[z.ZodObject
|
|
|
214
222
|
userId: number;
|
|
215
223
|
projectIds: string;
|
|
216
224
|
}[];
|
|
217
|
-
}, {
|
|
218
|
-
kind: "uploadCsv";
|
|
219
|
-
fileName: string;
|
|
220
|
-
records: {
|
|
221
|
-
userId: number;
|
|
222
|
-
projectIds: string;
|
|
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 CurationMailMagazineDetailBase: z.ZodObject<{
|
|
241
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
242
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
243
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
244
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
245
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
246
|
+
id: z.ZodNumber;
|
|
247
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
248
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
249
|
+
}, "strip", z.ZodTypeAny, {
|
|
250
|
+
id: number;
|
|
251
|
+
behaviorSegmentCodes: string[];
|
|
252
|
+
profileSegmentCodes: string[];
|
|
253
|
+
}, {
|
|
254
|
+
id: number;
|
|
255
|
+
behaviorSegmentCodes: string[];
|
|
256
|
+
profileSegmentCodes: string[];
|
|
257
|
+
}>, "many">;
|
|
258
|
+
}, "strip", z.ZodTypeAny, {
|
|
259
|
+
utmCampaign: string | null;
|
|
260
|
+
subject: string | null;
|
|
261
|
+
preHeaderText: string | null;
|
|
262
|
+
targetFilters: {
|
|
263
|
+
id: number;
|
|
264
|
+
behaviorSegmentCodes: string[];
|
|
265
|
+
profileSegmentCodes: string[];
|
|
266
|
+
}[];
|
|
267
|
+
deliveredUsersCount: number | null;
|
|
268
|
+
}, {
|
|
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
|
+
declare const CurationMailMagazineBanner: z.ZodObject<{
|
|
280
|
+
id: z.ZodNumber;
|
|
281
|
+
slotNumber: z.ZodNumber;
|
|
282
|
+
imageUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
283
|
+
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
284
|
+
}, "strip", z.ZodTypeAny, {
|
|
285
|
+
id: number;
|
|
286
|
+
slotNumber: number;
|
|
287
|
+
url: string | null;
|
|
288
|
+
imageUrl: string | null;
|
|
289
|
+
}, {
|
|
290
|
+
id: number;
|
|
291
|
+
slotNumber: number;
|
|
292
|
+
url: string | null;
|
|
293
|
+
imageUrl: string | null;
|
|
294
|
+
}>;
|
|
295
|
+
declare const CurationMailMagazineTargetProject: z.ZodObject<{
|
|
296
|
+
id: z.ZodNumber;
|
|
297
|
+
readyforProjectId: z.ZodNumber;
|
|
298
|
+
slotNumber: z.ZodNumber;
|
|
299
|
+
isPaidSlot: z.ZodBoolean;
|
|
300
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
301
|
+
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
302
|
+
thumbnailUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
303
|
+
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
304
|
+
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
305
|
+
}, "strip", z.ZodTypeAny, {
|
|
306
|
+
id: number;
|
|
307
|
+
slotNumber: number;
|
|
308
|
+
readyforProjectId: number;
|
|
309
|
+
isPaidSlot: boolean;
|
|
310
|
+
title: string | null;
|
|
311
|
+
description: string | null;
|
|
312
|
+
tag: string | null;
|
|
313
|
+
tagUrl: string | null;
|
|
314
|
+
thumbnailUrl: string | null;
|
|
315
|
+
}, {
|
|
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
|
+
declare const CurationMailMagazineFormDataBodyKindTemplate: z.ZodObject<z.objectUtil.extendShape<{
|
|
327
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
328
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
329
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
330
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
331
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
332
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
333
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
334
|
+
}, "strip", z.ZodTypeAny, {
|
|
335
|
+
id: number | null;
|
|
336
|
+
behaviorSegmentCodes: string[];
|
|
337
|
+
profileSegmentCodes: string[];
|
|
338
|
+
}, {
|
|
339
|
+
id: number | null;
|
|
340
|
+
behaviorSegmentCodes: string[];
|
|
341
|
+
profileSegmentCodes: string[];
|
|
342
|
+
}>, "many">;
|
|
343
|
+
}, {
|
|
344
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
345
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
346
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
347
|
+
slotNumber: z.ZodNumber;
|
|
348
|
+
readyforProjectId: z.ZodNumber;
|
|
349
|
+
isPaidSlot: z.ZodBoolean;
|
|
350
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
351
|
+
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
352
|
+
thumbnail: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
353
|
+
kind: z.ZodLiteral<"upload">;
|
|
354
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
355
|
+
}, "strip", z.ZodTypeAny, {
|
|
356
|
+
kind: "upload";
|
|
357
|
+
data?: any;
|
|
358
|
+
}, {
|
|
359
|
+
kind: "upload";
|
|
360
|
+
data?: any;
|
|
361
|
+
}>, z.ZodObject<{
|
|
362
|
+
kind: z.ZodLiteral<"delete">;
|
|
363
|
+
}, "strip", z.ZodTypeAny, {
|
|
364
|
+
kind: "delete";
|
|
365
|
+
}, {
|
|
366
|
+
kind: "delete";
|
|
367
|
+
}>]>, z.ZodNull]>;
|
|
368
|
+
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
369
|
+
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
370
|
+
}, "strip", z.ZodTypeAny, {
|
|
371
|
+
id: number | null;
|
|
372
|
+
slotNumber: number;
|
|
373
|
+
readyforProjectId: number;
|
|
374
|
+
isPaidSlot: boolean;
|
|
375
|
+
title: string | null;
|
|
376
|
+
description: string | null;
|
|
377
|
+
thumbnail: {
|
|
378
|
+
kind: "delete";
|
|
379
|
+
} | {
|
|
380
|
+
kind: "upload";
|
|
381
|
+
data?: any;
|
|
382
|
+
} | null;
|
|
383
|
+
tag: string | null;
|
|
384
|
+
tagUrl: string | null;
|
|
385
|
+
}, {
|
|
386
|
+
id: number | null;
|
|
387
|
+
slotNumber: number;
|
|
388
|
+
readyforProjectId: number;
|
|
389
|
+
isPaidSlot: boolean;
|
|
390
|
+
title: string | null;
|
|
391
|
+
description: string | null;
|
|
392
|
+
thumbnail: {
|
|
393
|
+
kind: "delete";
|
|
394
|
+
} | {
|
|
395
|
+
kind: "upload";
|
|
396
|
+
data?: any;
|
|
397
|
+
} | null;
|
|
398
|
+
tag: string | null;
|
|
399
|
+
tagUrl: string | null;
|
|
400
|
+
}>, "many">;
|
|
401
|
+
banners: z.ZodArray<z.ZodObject<{
|
|
402
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
403
|
+
slotNumber: z.ZodNumber;
|
|
404
|
+
image: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
405
|
+
kind: z.ZodLiteral<"upload">;
|
|
406
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
407
|
+
}, "strip", z.ZodTypeAny, {
|
|
408
|
+
kind: "upload";
|
|
409
|
+
data?: any;
|
|
410
|
+
}, {
|
|
411
|
+
kind: "upload";
|
|
412
|
+
data?: any;
|
|
413
|
+
}>, z.ZodObject<{
|
|
414
|
+
kind: z.ZodLiteral<"delete">;
|
|
415
|
+
}, "strip", z.ZodTypeAny, {
|
|
416
|
+
kind: "delete";
|
|
417
|
+
}, {
|
|
418
|
+
kind: "delete";
|
|
419
|
+
}>]>, z.ZodNull]>;
|
|
420
|
+
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
421
|
+
}, "strip", z.ZodTypeAny, {
|
|
422
|
+
id: number | null;
|
|
423
|
+
slotNumber: number;
|
|
424
|
+
image: {
|
|
425
|
+
kind: "delete";
|
|
426
|
+
} | {
|
|
427
|
+
kind: "upload";
|
|
428
|
+
data?: any;
|
|
429
|
+
} | null;
|
|
430
|
+
url: string | null;
|
|
431
|
+
}, {
|
|
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
|
+
}>, "many">;
|
|
442
|
+
}>, "strip", z.ZodTypeAny, {
|
|
443
|
+
utmCampaign: string | null;
|
|
444
|
+
subject: string | null;
|
|
445
|
+
preHeaderText: string | null;
|
|
446
|
+
targetFilters: {
|
|
447
|
+
id: number | null;
|
|
448
|
+
behaviorSegmentCodes: string[];
|
|
449
|
+
profileSegmentCodes: string[];
|
|
450
|
+
}[];
|
|
451
|
+
bodyKind: "template";
|
|
452
|
+
projects: {
|
|
453
|
+
id: number | null;
|
|
454
|
+
slotNumber: number;
|
|
455
|
+
readyforProjectId: number;
|
|
456
|
+
isPaidSlot: boolean;
|
|
457
|
+
title: string | null;
|
|
458
|
+
description: string | null;
|
|
459
|
+
thumbnail: {
|
|
460
|
+
kind: "delete";
|
|
461
|
+
} | {
|
|
462
|
+
kind: "upload";
|
|
463
|
+
data?: any;
|
|
464
|
+
} | null;
|
|
465
|
+
tag: string | null;
|
|
466
|
+
tagUrl: string | null;
|
|
467
|
+
}[];
|
|
468
|
+
banners: {
|
|
469
|
+
id: number | null;
|
|
470
|
+
slotNumber: number;
|
|
471
|
+
image: {
|
|
472
|
+
kind: "delete";
|
|
473
|
+
} | {
|
|
474
|
+
kind: "upload";
|
|
475
|
+
data?: any;
|
|
476
|
+
} | null;
|
|
477
|
+
url: string | null;
|
|
478
|
+
}[];
|
|
479
|
+
}, {
|
|
480
|
+
utmCampaign: string | null;
|
|
481
|
+
subject: string | null;
|
|
482
|
+
preHeaderText: string | null;
|
|
483
|
+
targetFilters: {
|
|
484
|
+
id: number | null;
|
|
485
|
+
behaviorSegmentCodes: string[];
|
|
486
|
+
profileSegmentCodes: string[];
|
|
487
|
+
}[];
|
|
488
|
+
bodyKind: "template";
|
|
489
|
+
projects: {
|
|
490
|
+
id: number | null;
|
|
491
|
+
slotNumber: number;
|
|
492
|
+
readyforProjectId: number;
|
|
493
|
+
isPaidSlot: boolean;
|
|
494
|
+
title: string | null;
|
|
495
|
+
description: string | null;
|
|
496
|
+
thumbnail: {
|
|
497
|
+
kind: "delete";
|
|
498
|
+
} | {
|
|
499
|
+
kind: "upload";
|
|
500
|
+
data?: any;
|
|
501
|
+
} | null;
|
|
502
|
+
tag: string | null;
|
|
503
|
+
tagUrl: string | null;
|
|
504
|
+
}[];
|
|
505
|
+
banners: {
|
|
506
|
+
id: number | null;
|
|
507
|
+
slotNumber: number;
|
|
508
|
+
image: {
|
|
509
|
+
kind: "delete";
|
|
510
|
+
} | {
|
|
511
|
+
kind: "upload";
|
|
512
|
+
data?: any;
|
|
513
|
+
} | null;
|
|
514
|
+
url: string | null;
|
|
515
|
+
}[];
|
|
516
|
+
}>;
|
|
517
|
+
declare const CurationMailMagazineFormDataBodyKindFreeFormat: z.ZodObject<z.objectUtil.extendShape<{
|
|
518
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
519
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
520
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
521
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
522
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
523
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
524
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
525
|
+
}, "strip", z.ZodTypeAny, {
|
|
526
|
+
id: number | null;
|
|
527
|
+
behaviorSegmentCodes: string[];
|
|
528
|
+
profileSegmentCodes: string[];
|
|
529
|
+
}, {
|
|
530
|
+
id: number | null;
|
|
531
|
+
behaviorSegmentCodes: string[];
|
|
532
|
+
profileSegmentCodes: string[];
|
|
533
|
+
}>, "many">;
|
|
534
|
+
}, {
|
|
535
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
536
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
537
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
538
|
+
}>, "strip", z.ZodTypeAny, {
|
|
539
|
+
utmCampaign: string | null;
|
|
540
|
+
subject: string | null;
|
|
541
|
+
preHeaderText: string | null;
|
|
542
|
+
targetFilters: {
|
|
543
|
+
id: number | null;
|
|
544
|
+
behaviorSegmentCodes: string[];
|
|
545
|
+
profileSegmentCodes: string[];
|
|
546
|
+
}[];
|
|
547
|
+
bodyKind: "freeFormat";
|
|
548
|
+
htmlBody: string | null;
|
|
549
|
+
htmlStyle: string | null;
|
|
550
|
+
}, {
|
|
551
|
+
utmCampaign: string | null;
|
|
552
|
+
subject: string | null;
|
|
553
|
+
preHeaderText: string | null;
|
|
554
|
+
targetFilters: {
|
|
555
|
+
id: number | null;
|
|
556
|
+
behaviorSegmentCodes: string[];
|
|
557
|
+
profileSegmentCodes: string[];
|
|
558
|
+
}[];
|
|
559
|
+
bodyKind: "freeFormat";
|
|
560
|
+
htmlBody: string | null;
|
|
561
|
+
htmlStyle: string | null;
|
|
562
|
+
}>;
|
|
563
|
+
declare const PersonalizedMailMagazineTargetCsvFormData: z.ZodUnion<[z.ZodObject<{
|
|
564
|
+
kind: z.ZodLiteral<"deleteTargetCsv">;
|
|
565
|
+
}, "strip", z.ZodTypeAny, {
|
|
566
|
+
kind: "deleteTargetCsv";
|
|
567
|
+
}, {
|
|
568
|
+
kind: "deleteTargetCsv";
|
|
569
|
+
}>, z.ZodObject<{
|
|
570
|
+
kind: z.ZodLiteral<"uploadCsv">;
|
|
571
|
+
fileName: z.ZodString;
|
|
572
|
+
records: z.ZodArray<z.ZodObject<{
|
|
573
|
+
userId: z.ZodNumber;
|
|
574
|
+
projectIds: z.ZodString;
|
|
575
|
+
}, "strip", z.ZodTypeAny, {
|
|
576
|
+
userId: number;
|
|
577
|
+
projectIds: string;
|
|
578
|
+
}, {
|
|
579
|
+
userId: number;
|
|
580
|
+
projectIds: string;
|
|
581
|
+
}>, "many">;
|
|
582
|
+
}, "strip", z.ZodTypeAny, {
|
|
583
|
+
kind: "uploadCsv";
|
|
584
|
+
fileName: string;
|
|
585
|
+
records: {
|
|
586
|
+
userId: number;
|
|
587
|
+
projectIds: string;
|
|
588
|
+
}[];
|
|
589
|
+
}, {
|
|
590
|
+
kind: "uploadCsv";
|
|
591
|
+
fileName: string;
|
|
592
|
+
records: {
|
|
593
|
+
userId: number;
|
|
594
|
+
projectIds: string;
|
|
595
|
+
}[];
|
|
596
|
+
}>]>;
|
|
597
|
+
declare const CurationMailMagazineDetailBodyKindFreeFormat: z.ZodObject<z.objectUtil.extendShape<{
|
|
598
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
599
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
600
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
601
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
602
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
603
|
+
id: z.ZodNumber;
|
|
604
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
605
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
606
|
+
}, "strip", z.ZodTypeAny, {
|
|
607
|
+
id: number;
|
|
608
|
+
behaviorSegmentCodes: string[];
|
|
609
|
+
profileSegmentCodes: string[];
|
|
610
|
+
}, {
|
|
611
|
+
id: number;
|
|
612
|
+
behaviorSegmentCodes: string[];
|
|
613
|
+
profileSegmentCodes: string[];
|
|
614
|
+
}>, "many">;
|
|
615
|
+
}, {
|
|
616
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
617
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
618
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
619
|
+
}>, "strip", z.ZodTypeAny, {
|
|
620
|
+
utmCampaign: string | null;
|
|
621
|
+
subject: string | null;
|
|
622
|
+
preHeaderText: string | null;
|
|
623
|
+
targetFilters: {
|
|
624
|
+
id: number;
|
|
625
|
+
behaviorSegmentCodes: string[];
|
|
626
|
+
profileSegmentCodes: string[];
|
|
627
|
+
}[];
|
|
628
|
+
deliveredUsersCount: number | null;
|
|
629
|
+
bodyKind: "freeFormat";
|
|
630
|
+
htmlBody: string | null;
|
|
631
|
+
htmlStyle: string | null;
|
|
632
|
+
}, {
|
|
633
|
+
utmCampaign: string | null;
|
|
634
|
+
subject: string | null;
|
|
635
|
+
preHeaderText: string | null;
|
|
636
|
+
targetFilters: {
|
|
637
|
+
id: number;
|
|
638
|
+
behaviorSegmentCodes: string[];
|
|
639
|
+
profileSegmentCodes: string[];
|
|
640
|
+
}[];
|
|
641
|
+
deliveredUsersCount: number | null;
|
|
642
|
+
bodyKind: "freeFormat";
|
|
643
|
+
htmlBody: string | null;
|
|
644
|
+
htmlStyle: string | null;
|
|
645
|
+
}>;
|
|
646
|
+
declare const CurationMailMagazineDetailBodyKindTemplate: z.ZodObject<z.objectUtil.extendShape<{
|
|
647
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
648
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
649
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
650
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
651
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
652
|
+
id: z.ZodNumber;
|
|
653
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
654
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
655
|
+
}, "strip", z.ZodTypeAny, {
|
|
656
|
+
id: number;
|
|
657
|
+
behaviorSegmentCodes: string[];
|
|
658
|
+
profileSegmentCodes: string[];
|
|
659
|
+
}, {
|
|
660
|
+
id: number;
|
|
661
|
+
behaviorSegmentCodes: string[];
|
|
662
|
+
profileSegmentCodes: string[];
|
|
663
|
+
}>, "many">;
|
|
664
|
+
}, {
|
|
665
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
666
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
667
|
+
id: z.ZodNumber;
|
|
668
|
+
readyforProjectId: z.ZodNumber;
|
|
669
|
+
slotNumber: z.ZodNumber;
|
|
670
|
+
isPaidSlot: z.ZodBoolean;
|
|
671
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
672
|
+
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
673
|
+
thumbnailUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
674
|
+
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
675
|
+
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
676
|
+
}, "strip", z.ZodTypeAny, {
|
|
677
|
+
id: number;
|
|
678
|
+
slotNumber: number;
|
|
679
|
+
readyforProjectId: number;
|
|
680
|
+
isPaidSlot: boolean;
|
|
681
|
+
title: string | null;
|
|
682
|
+
description: string | null;
|
|
683
|
+
tag: string | null;
|
|
684
|
+
tagUrl: string | null;
|
|
685
|
+
thumbnailUrl: string | null;
|
|
686
|
+
}, {
|
|
687
|
+
id: number;
|
|
688
|
+
slotNumber: number;
|
|
689
|
+
readyforProjectId: number;
|
|
690
|
+
isPaidSlot: boolean;
|
|
691
|
+
title: string | null;
|
|
692
|
+
description: string | null;
|
|
693
|
+
tag: string | null;
|
|
694
|
+
tagUrl: string | null;
|
|
695
|
+
thumbnailUrl: string | null;
|
|
696
|
+
}>, "many">;
|
|
697
|
+
banners: z.ZodArray<z.ZodObject<{
|
|
698
|
+
id: z.ZodNumber;
|
|
699
|
+
slotNumber: z.ZodNumber;
|
|
700
|
+
imageUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
701
|
+
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
702
|
+
}, "strip", z.ZodTypeAny, {
|
|
703
|
+
id: number;
|
|
704
|
+
slotNumber: number;
|
|
705
|
+
url: string | null;
|
|
706
|
+
imageUrl: string | null;
|
|
707
|
+
}, {
|
|
708
|
+
id: number;
|
|
709
|
+
slotNumber: number;
|
|
710
|
+
url: string | null;
|
|
711
|
+
imageUrl: string | null;
|
|
712
|
+
}>, "many">;
|
|
713
|
+
}>, "strip", z.ZodTypeAny, {
|
|
714
|
+
utmCampaign: string | null;
|
|
715
|
+
subject: string | null;
|
|
716
|
+
preHeaderText: string | null;
|
|
717
|
+
targetFilters: {
|
|
718
|
+
id: number;
|
|
719
|
+
behaviorSegmentCodes: string[];
|
|
720
|
+
profileSegmentCodes: string[];
|
|
721
|
+
}[];
|
|
722
|
+
deliveredUsersCount: number | null;
|
|
723
|
+
bodyKind: "template";
|
|
724
|
+
projects: {
|
|
725
|
+
id: number;
|
|
726
|
+
slotNumber: number;
|
|
727
|
+
readyforProjectId: number;
|
|
728
|
+
isPaidSlot: boolean;
|
|
729
|
+
title: string | null;
|
|
730
|
+
description: string | null;
|
|
731
|
+
tag: string | null;
|
|
732
|
+
tagUrl: string | null;
|
|
733
|
+
thumbnailUrl: string | null;
|
|
734
|
+
}[];
|
|
735
|
+
banners: {
|
|
736
|
+
id: number;
|
|
737
|
+
slotNumber: number;
|
|
738
|
+
url: string | null;
|
|
739
|
+
imageUrl: string | null;
|
|
223
740
|
}[];
|
|
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
741
|
}, {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
742
|
+
utmCampaign: string | null;
|
|
743
|
+
subject: string | null;
|
|
744
|
+
preHeaderText: string | null;
|
|
745
|
+
targetFilters: {
|
|
746
|
+
id: number;
|
|
747
|
+
behaviorSegmentCodes: string[];
|
|
748
|
+
profileSegmentCodes: string[];
|
|
749
|
+
}[];
|
|
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;
|
|
768
|
+
}[];
|
|
284
769
|
}>;
|
|
285
770
|
declare const PersonalizedMailMagazineDetailTarget: z.ZodObject<{
|
|
286
771
|
csvFileName: z.ZodString;
|
|
@@ -295,7 +780,52 @@ declare const PersonalizedMailMagazineDetailTarget: z.ZodObject<{
|
|
|
295
780
|
targetUsersCount: number;
|
|
296
781
|
excludedUsersCount: number;
|
|
297
782
|
}>;
|
|
298
|
-
declare const CurationMailMagazineFormData: z.ZodObject<{
|
|
783
|
+
declare const CurationMailMagazineFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
784
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
785
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
786
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
787
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
788
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
789
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
790
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
791
|
+
}, "strip", z.ZodTypeAny, {
|
|
792
|
+
id: number | null;
|
|
793
|
+
behaviorSegmentCodes: string[];
|
|
794
|
+
profileSegmentCodes: string[];
|
|
795
|
+
}, {
|
|
796
|
+
id: number | null;
|
|
797
|
+
behaviorSegmentCodes: string[];
|
|
798
|
+
profileSegmentCodes: string[];
|
|
799
|
+
}>, "many">;
|
|
800
|
+
}, {
|
|
801
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
802
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
803
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
804
|
+
}>, "strip", z.ZodTypeAny, {
|
|
805
|
+
utmCampaign: string | null;
|
|
806
|
+
subject: string | null;
|
|
807
|
+
preHeaderText: string | null;
|
|
808
|
+
targetFilters: {
|
|
809
|
+
id: number | null;
|
|
810
|
+
behaviorSegmentCodes: string[];
|
|
811
|
+
profileSegmentCodes: string[];
|
|
812
|
+
}[];
|
|
813
|
+
bodyKind: "freeFormat";
|
|
814
|
+
htmlBody: string | null;
|
|
815
|
+
htmlStyle: string | null;
|
|
816
|
+
}, {
|
|
817
|
+
utmCampaign: string | null;
|
|
818
|
+
subject: string | null;
|
|
819
|
+
preHeaderText: string | null;
|
|
820
|
+
targetFilters: {
|
|
821
|
+
id: number | null;
|
|
822
|
+
behaviorSegmentCodes: string[];
|
|
823
|
+
profileSegmentCodes: string[];
|
|
824
|
+
}[];
|
|
825
|
+
bodyKind: "freeFormat";
|
|
826
|
+
htmlBody: string | null;
|
|
827
|
+
htmlStyle: string | null;
|
|
828
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
299
829
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
300
830
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
301
831
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -312,6 +842,8 @@ declare const CurationMailMagazineFormData: z.ZodObject<{
|
|
|
312
842
|
behaviorSegmentCodes: string[];
|
|
313
843
|
profileSegmentCodes: string[];
|
|
314
844
|
}>, "many">;
|
|
845
|
+
}, {
|
|
846
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
315
847
|
projects: z.ZodArray<z.ZodObject<{
|
|
316
848
|
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
317
849
|
slotNumber: z.ZodNumber;
|
|
@@ -409,7 +941,7 @@ declare const CurationMailMagazineFormData: z.ZodObject<{
|
|
|
409
941
|
} | null;
|
|
410
942
|
url: string | null;
|
|
411
943
|
}>, "many">;
|
|
412
|
-
}
|
|
944
|
+
}>, "strip", z.ZodTypeAny, {
|
|
413
945
|
utmCampaign: string | null;
|
|
414
946
|
subject: string | null;
|
|
415
947
|
preHeaderText: string | null;
|
|
@@ -418,6 +950,7 @@ declare const CurationMailMagazineFormData: z.ZodObject<{
|
|
|
418
950
|
behaviorSegmentCodes: string[];
|
|
419
951
|
profileSegmentCodes: string[];
|
|
420
952
|
}[];
|
|
953
|
+
bodyKind: "template";
|
|
421
954
|
projects: {
|
|
422
955
|
id: number | null;
|
|
423
956
|
slotNumber: number;
|
|
@@ -454,6 +987,7 @@ declare const CurationMailMagazineFormData: z.ZodObject<{
|
|
|
454
987
|
behaviorSegmentCodes: string[];
|
|
455
988
|
profileSegmentCodes: string[];
|
|
456
989
|
}[];
|
|
990
|
+
bodyKind: "template";
|
|
457
991
|
projects: {
|
|
458
992
|
id: number | null;
|
|
459
993
|
slotNumber: number;
|
|
@@ -481,7 +1015,7 @@ declare const CurationMailMagazineFormData: z.ZodObject<{
|
|
|
481
1015
|
} | null;
|
|
482
1016
|
url: string | null;
|
|
483
1017
|
}[];
|
|
484
|
-
}>;
|
|
1018
|
+
}>]>;
|
|
485
1019
|
declare const PersonalizedMailMagazineFormData: z.ZodObject<{
|
|
486
1020
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
487
1021
|
targetCsv: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
@@ -543,7 +1077,7 @@ declare const PersonalizedMailMagazineFormData: z.ZodObject<{
|
|
|
543
1077
|
kind: "deleteTargetCsv";
|
|
544
1078
|
} | null;
|
|
545
1079
|
}>;
|
|
546
|
-
declare const CurationMailMagazineDetail: z.ZodObject<{
|
|
1080
|
+
declare const CurationMailMagazineDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
547
1081
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
548
1082
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
549
1083
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -561,6 +1095,8 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
|
|
|
561
1095
|
behaviorSegmentCodes: string[];
|
|
562
1096
|
profileSegmentCodes: string[];
|
|
563
1097
|
}>, "many">;
|
|
1098
|
+
}, {
|
|
1099
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
564
1100
|
projects: z.ZodArray<z.ZodObject<{
|
|
565
1101
|
id: z.ZodNumber;
|
|
566
1102
|
readyforProjectId: z.ZodNumber;
|
|
@@ -608,7 +1144,7 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
|
|
|
608
1144
|
url: string | null;
|
|
609
1145
|
imageUrl: string | null;
|
|
610
1146
|
}>, "many">;
|
|
611
|
-
}
|
|
1147
|
+
}>, "strip", z.ZodTypeAny, {
|
|
612
1148
|
utmCampaign: string | null;
|
|
613
1149
|
subject: string | null;
|
|
614
1150
|
preHeaderText: string | null;
|
|
@@ -617,6 +1153,8 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
|
|
|
617
1153
|
behaviorSegmentCodes: string[];
|
|
618
1154
|
profileSegmentCodes: string[];
|
|
619
1155
|
}[];
|
|
1156
|
+
deliveredUsersCount: number | null;
|
|
1157
|
+
bodyKind: "template";
|
|
620
1158
|
projects: {
|
|
621
1159
|
id: number;
|
|
622
1160
|
slotNumber: number;
|
|
@@ -634,7 +1172,6 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
|
|
|
634
1172
|
url: string | null;
|
|
635
1173
|
imageUrl: string | null;
|
|
636
1174
|
}[];
|
|
637
|
-
deliveredUsersCount: number | null;
|
|
638
1175
|
}, {
|
|
639
1176
|
utmCampaign: string | null;
|
|
640
1177
|
subject: string | null;
|
|
@@ -644,6 +1181,8 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
|
|
|
644
1181
|
behaviorSegmentCodes: string[];
|
|
645
1182
|
profileSegmentCodes: string[];
|
|
646
1183
|
}[];
|
|
1184
|
+
deliveredUsersCount: number | null;
|
|
1185
|
+
bodyKind: "template";
|
|
647
1186
|
projects: {
|
|
648
1187
|
id: number;
|
|
649
1188
|
slotNumber: number;
|
|
@@ -661,8 +1200,55 @@ declare const CurationMailMagazineDetail: z.ZodObject<{
|
|
|
661
1200
|
url: string | null;
|
|
662
1201
|
imageUrl: string | null;
|
|
663
1202
|
}[];
|
|
1203
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1204
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1205
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1206
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1207
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
1208
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
1209
|
+
id: z.ZodNumber;
|
|
1210
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1211
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1212
|
+
}, "strip", z.ZodTypeAny, {
|
|
1213
|
+
id: number;
|
|
1214
|
+
behaviorSegmentCodes: string[];
|
|
1215
|
+
profileSegmentCodes: string[];
|
|
1216
|
+
}, {
|
|
1217
|
+
id: number;
|
|
1218
|
+
behaviorSegmentCodes: string[];
|
|
1219
|
+
profileSegmentCodes: string[];
|
|
1220
|
+
}>, "many">;
|
|
1221
|
+
}, {
|
|
1222
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
1223
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1224
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1225
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1226
|
+
utmCampaign: string | null;
|
|
1227
|
+
subject: string | null;
|
|
1228
|
+
preHeaderText: string | null;
|
|
1229
|
+
targetFilters: {
|
|
1230
|
+
id: number;
|
|
1231
|
+
behaviorSegmentCodes: string[];
|
|
1232
|
+
profileSegmentCodes: string[];
|
|
1233
|
+
}[];
|
|
664
1234
|
deliveredUsersCount: number | null;
|
|
665
|
-
|
|
1235
|
+
bodyKind: "freeFormat";
|
|
1236
|
+
htmlBody: string | null;
|
|
1237
|
+
htmlStyle: string | null;
|
|
1238
|
+
}, {
|
|
1239
|
+
utmCampaign: string | null;
|
|
1240
|
+
subject: string | null;
|
|
1241
|
+
preHeaderText: string | null;
|
|
1242
|
+
targetFilters: {
|
|
1243
|
+
id: number;
|
|
1244
|
+
behaviorSegmentCodes: string[];
|
|
1245
|
+
profileSegmentCodes: string[];
|
|
1246
|
+
}[];
|
|
1247
|
+
deliveredUsersCount: number | null;
|
|
1248
|
+
bodyKind: "freeFormat";
|
|
1249
|
+
htmlBody: string | null;
|
|
1250
|
+
htmlStyle: string | null;
|
|
1251
|
+
}>]>;
|
|
666
1252
|
declare const CampaignStatus: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
667
1253
|
declare const PersonalizedMailMagazineDetail: z.ZodObject<{
|
|
668
1254
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -696,7 +1282,52 @@ declare const PersonalizedMailMagazineDetail: z.ZodObject<{
|
|
|
696
1282
|
}>;
|
|
697
1283
|
declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
698
1284
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
699
|
-
curationMailMagazine: z.ZodObject<{
|
|
1285
|
+
curationMailMagazine: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
1286
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1287
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1288
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1289
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
1290
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
1291
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1292
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1293
|
+
}, "strip", z.ZodTypeAny, {
|
|
1294
|
+
id: number | null;
|
|
1295
|
+
behaviorSegmentCodes: string[];
|
|
1296
|
+
profileSegmentCodes: string[];
|
|
1297
|
+
}, {
|
|
1298
|
+
id: number | null;
|
|
1299
|
+
behaviorSegmentCodes: string[];
|
|
1300
|
+
profileSegmentCodes: string[];
|
|
1301
|
+
}>, "many">;
|
|
1302
|
+
}, {
|
|
1303
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
1304
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1305
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1306
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1307
|
+
utmCampaign: string | null;
|
|
1308
|
+
subject: string | null;
|
|
1309
|
+
preHeaderText: string | null;
|
|
1310
|
+
targetFilters: {
|
|
1311
|
+
id: number | null;
|
|
1312
|
+
behaviorSegmentCodes: string[];
|
|
1313
|
+
profileSegmentCodes: string[];
|
|
1314
|
+
}[];
|
|
1315
|
+
bodyKind: "freeFormat";
|
|
1316
|
+
htmlBody: string | null;
|
|
1317
|
+
htmlStyle: string | null;
|
|
1318
|
+
}, {
|
|
1319
|
+
utmCampaign: string | null;
|
|
1320
|
+
subject: string | null;
|
|
1321
|
+
preHeaderText: string | null;
|
|
1322
|
+
targetFilters: {
|
|
1323
|
+
id: number | null;
|
|
1324
|
+
behaviorSegmentCodes: string[];
|
|
1325
|
+
profileSegmentCodes: string[];
|
|
1326
|
+
}[];
|
|
1327
|
+
bodyKind: "freeFormat";
|
|
1328
|
+
htmlBody: string | null;
|
|
1329
|
+
htmlStyle: string | null;
|
|
1330
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
700
1331
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
701
1332
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
702
1333
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -713,6 +1344,8 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
713
1344
|
behaviorSegmentCodes: string[];
|
|
714
1345
|
profileSegmentCodes: string[];
|
|
715
1346
|
}>, "many">;
|
|
1347
|
+
}, {
|
|
1348
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
716
1349
|
projects: z.ZodArray<z.ZodObject<{
|
|
717
1350
|
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
718
1351
|
slotNumber: z.ZodNumber;
|
|
@@ -810,7 +1443,7 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
810
1443
|
} | null;
|
|
811
1444
|
url: string | null;
|
|
812
1445
|
}>, "many">;
|
|
813
|
-
}
|
|
1446
|
+
}>, "strip", z.ZodTypeAny, {
|
|
814
1447
|
utmCampaign: string | null;
|
|
815
1448
|
subject: string | null;
|
|
816
1449
|
preHeaderText: string | null;
|
|
@@ -819,6 +1452,7 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
819
1452
|
behaviorSegmentCodes: string[];
|
|
820
1453
|
profileSegmentCodes: string[];
|
|
821
1454
|
}[];
|
|
1455
|
+
bodyKind: "template";
|
|
822
1456
|
projects: {
|
|
823
1457
|
id: number | null;
|
|
824
1458
|
slotNumber: number;
|
|
@@ -855,6 +1489,7 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
855
1489
|
behaviorSegmentCodes: string[];
|
|
856
1490
|
profileSegmentCodes: string[];
|
|
857
1491
|
}[];
|
|
1492
|
+
bodyKind: "template";
|
|
858
1493
|
projects: {
|
|
859
1494
|
id: number | null;
|
|
860
1495
|
slotNumber: number;
|
|
@@ -882,7 +1517,7 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
882
1517
|
} | null;
|
|
883
1518
|
url: string | null;
|
|
884
1519
|
}[];
|
|
885
|
-
}>;
|
|
1520
|
+
}>]>;
|
|
886
1521
|
}, "strip", z.ZodTypeAny, {
|
|
887
1522
|
kind: "curationMailMagazine";
|
|
888
1523
|
curationMailMagazine: {
|
|
@@ -894,6 +1529,7 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
894
1529
|
behaviorSegmentCodes: string[];
|
|
895
1530
|
profileSegmentCodes: string[];
|
|
896
1531
|
}[];
|
|
1532
|
+
bodyKind: "template";
|
|
897
1533
|
projects: {
|
|
898
1534
|
id: number | null;
|
|
899
1535
|
slotNumber: number;
|
|
@@ -921,6 +1557,18 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
921
1557
|
} | null;
|
|
922
1558
|
url: string | null;
|
|
923
1559
|
}[];
|
|
1560
|
+
} | {
|
|
1561
|
+
utmCampaign: string | null;
|
|
1562
|
+
subject: string | null;
|
|
1563
|
+
preHeaderText: string | null;
|
|
1564
|
+
targetFilters: {
|
|
1565
|
+
id: number | null;
|
|
1566
|
+
behaviorSegmentCodes: string[];
|
|
1567
|
+
profileSegmentCodes: string[];
|
|
1568
|
+
}[];
|
|
1569
|
+
bodyKind: "freeFormat";
|
|
1570
|
+
htmlBody: string | null;
|
|
1571
|
+
htmlStyle: string | null;
|
|
924
1572
|
};
|
|
925
1573
|
}, {
|
|
926
1574
|
kind: "curationMailMagazine";
|
|
@@ -933,6 +1581,7 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
933
1581
|
behaviorSegmentCodes: string[];
|
|
934
1582
|
profileSegmentCodes: string[];
|
|
935
1583
|
}[];
|
|
1584
|
+
bodyKind: "template";
|
|
936
1585
|
projects: {
|
|
937
1586
|
id: number | null;
|
|
938
1587
|
slotNumber: number;
|
|
@@ -960,6 +1609,18 @@ declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
|
960
1609
|
} | null;
|
|
961
1610
|
url: string | null;
|
|
962
1611
|
}[];
|
|
1612
|
+
} | {
|
|
1613
|
+
utmCampaign: string | null;
|
|
1614
|
+
subject: string | null;
|
|
1615
|
+
preHeaderText: string | null;
|
|
1616
|
+
targetFilters: {
|
|
1617
|
+
id: number | null;
|
|
1618
|
+
behaviorSegmentCodes: string[];
|
|
1619
|
+
profileSegmentCodes: string[];
|
|
1620
|
+
}[];
|
|
1621
|
+
bodyKind: "freeFormat";
|
|
1622
|
+
htmlBody: string | null;
|
|
1623
|
+
htmlStyle: string | null;
|
|
963
1624
|
};
|
|
964
1625
|
}>;
|
|
965
1626
|
declare const CampaignBaseFormData: z.ZodObject<{
|
|
@@ -1068,7 +1729,7 @@ declare const CampaignKindDataPersonalizedMailMagazineFormData: z.ZodObject<{
|
|
|
1068
1729
|
}>;
|
|
1069
1730
|
declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
1070
1731
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
1071
|
-
curationMailMagazine: z.ZodObject<{
|
|
1732
|
+
curationMailMagazine: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
1072
1733
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1073
1734
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1074
1735
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -1086,6 +1747,8 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1086
1747
|
behaviorSegmentCodes: string[];
|
|
1087
1748
|
profileSegmentCodes: string[];
|
|
1088
1749
|
}>, "many">;
|
|
1750
|
+
}, {
|
|
1751
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
1089
1752
|
projects: z.ZodArray<z.ZodObject<{
|
|
1090
1753
|
id: z.ZodNumber;
|
|
1091
1754
|
readyforProjectId: z.ZodNumber;
|
|
@@ -1133,7 +1796,7 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1133
1796
|
url: string | null;
|
|
1134
1797
|
imageUrl: string | null;
|
|
1135
1798
|
}>, "many">;
|
|
1136
|
-
}
|
|
1799
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1137
1800
|
utmCampaign: string | null;
|
|
1138
1801
|
subject: string | null;
|
|
1139
1802
|
preHeaderText: string | null;
|
|
@@ -1142,6 +1805,8 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1142
1805
|
behaviorSegmentCodes: string[];
|
|
1143
1806
|
profileSegmentCodes: string[];
|
|
1144
1807
|
}[];
|
|
1808
|
+
deliveredUsersCount: number | null;
|
|
1809
|
+
bodyKind: "template";
|
|
1145
1810
|
projects: {
|
|
1146
1811
|
id: number;
|
|
1147
1812
|
slotNumber: number;
|
|
@@ -1159,7 +1824,6 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1159
1824
|
url: string | null;
|
|
1160
1825
|
imageUrl: string | null;
|
|
1161
1826
|
}[];
|
|
1162
|
-
deliveredUsersCount: number | null;
|
|
1163
1827
|
}, {
|
|
1164
1828
|
utmCampaign: string | null;
|
|
1165
1829
|
subject: string | null;
|
|
@@ -1169,6 +1833,8 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1169
1833
|
behaviorSegmentCodes: string[];
|
|
1170
1834
|
profileSegmentCodes: string[];
|
|
1171
1835
|
}[];
|
|
1836
|
+
deliveredUsersCount: number | null;
|
|
1837
|
+
bodyKind: "template";
|
|
1172
1838
|
projects: {
|
|
1173
1839
|
id: number;
|
|
1174
1840
|
slotNumber: number;
|
|
@@ -1186,8 +1852,55 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1186
1852
|
url: string | null;
|
|
1187
1853
|
imageUrl: string | null;
|
|
1188
1854
|
}[];
|
|
1855
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1856
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1857
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1858
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1859
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
1860
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
1861
|
+
id: z.ZodNumber;
|
|
1862
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1863
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1864
|
+
}, "strip", z.ZodTypeAny, {
|
|
1865
|
+
id: number;
|
|
1866
|
+
behaviorSegmentCodes: string[];
|
|
1867
|
+
profileSegmentCodes: string[];
|
|
1868
|
+
}, {
|
|
1869
|
+
id: number;
|
|
1870
|
+
behaviorSegmentCodes: string[];
|
|
1871
|
+
profileSegmentCodes: string[];
|
|
1872
|
+
}>, "many">;
|
|
1873
|
+
}, {
|
|
1874
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
1875
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1876
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1877
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1878
|
+
utmCampaign: string | null;
|
|
1879
|
+
subject: string | null;
|
|
1880
|
+
preHeaderText: string | null;
|
|
1881
|
+
targetFilters: {
|
|
1882
|
+
id: number;
|
|
1883
|
+
behaviorSegmentCodes: string[];
|
|
1884
|
+
profileSegmentCodes: string[];
|
|
1885
|
+
}[];
|
|
1189
1886
|
deliveredUsersCount: number | null;
|
|
1190
|
-
|
|
1887
|
+
bodyKind: "freeFormat";
|
|
1888
|
+
htmlBody: string | null;
|
|
1889
|
+
htmlStyle: string | null;
|
|
1890
|
+
}, {
|
|
1891
|
+
utmCampaign: string | null;
|
|
1892
|
+
subject: string | null;
|
|
1893
|
+
preHeaderText: string | null;
|
|
1894
|
+
targetFilters: {
|
|
1895
|
+
id: number;
|
|
1896
|
+
behaviorSegmentCodes: string[];
|
|
1897
|
+
profileSegmentCodes: string[];
|
|
1898
|
+
}[];
|
|
1899
|
+
deliveredUsersCount: number | null;
|
|
1900
|
+
bodyKind: "freeFormat";
|
|
1901
|
+
htmlBody: string | null;
|
|
1902
|
+
htmlStyle: string | null;
|
|
1903
|
+
}>]>;
|
|
1191
1904
|
}, "strip", z.ZodTypeAny, {
|
|
1192
1905
|
kind: "curationMailMagazine";
|
|
1193
1906
|
curationMailMagazine: {
|
|
@@ -1199,6 +1912,21 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1199
1912
|
behaviorSegmentCodes: string[];
|
|
1200
1913
|
profileSegmentCodes: string[];
|
|
1201
1914
|
}[];
|
|
1915
|
+
deliveredUsersCount: number | null;
|
|
1916
|
+
bodyKind: "freeFormat";
|
|
1917
|
+
htmlBody: string | null;
|
|
1918
|
+
htmlStyle: string | null;
|
|
1919
|
+
} | {
|
|
1920
|
+
utmCampaign: string | null;
|
|
1921
|
+
subject: string | null;
|
|
1922
|
+
preHeaderText: string | null;
|
|
1923
|
+
targetFilters: {
|
|
1924
|
+
id: number;
|
|
1925
|
+
behaviorSegmentCodes: string[];
|
|
1926
|
+
profileSegmentCodes: string[];
|
|
1927
|
+
}[];
|
|
1928
|
+
deliveredUsersCount: number | null;
|
|
1929
|
+
bodyKind: "template";
|
|
1202
1930
|
projects: {
|
|
1203
1931
|
id: number;
|
|
1204
1932
|
slotNumber: number;
|
|
@@ -1216,7 +1944,6 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1216
1944
|
url: string | null;
|
|
1217
1945
|
imageUrl: string | null;
|
|
1218
1946
|
}[];
|
|
1219
|
-
deliveredUsersCount: number | null;
|
|
1220
1947
|
};
|
|
1221
1948
|
}, {
|
|
1222
1949
|
kind: "curationMailMagazine";
|
|
@@ -1229,6 +1956,21 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1229
1956
|
behaviorSegmentCodes: string[];
|
|
1230
1957
|
profileSegmentCodes: string[];
|
|
1231
1958
|
}[];
|
|
1959
|
+
deliveredUsersCount: number | null;
|
|
1960
|
+
bodyKind: "freeFormat";
|
|
1961
|
+
htmlBody: string | null;
|
|
1962
|
+
htmlStyle: string | null;
|
|
1963
|
+
} | {
|
|
1964
|
+
utmCampaign: string | null;
|
|
1965
|
+
subject: string | null;
|
|
1966
|
+
preHeaderText: string | null;
|
|
1967
|
+
targetFilters: {
|
|
1968
|
+
id: number;
|
|
1969
|
+
behaviorSegmentCodes: string[];
|
|
1970
|
+
profileSegmentCodes: string[];
|
|
1971
|
+
}[];
|
|
1972
|
+
deliveredUsersCount: number | null;
|
|
1973
|
+
bodyKind: "template";
|
|
1232
1974
|
projects: {
|
|
1233
1975
|
id: number;
|
|
1234
1976
|
slotNumber: number;
|
|
@@ -1246,7 +1988,6 @@ declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
|
1246
1988
|
url: string | null;
|
|
1247
1989
|
imageUrl: string | null;
|
|
1248
1990
|
}[];
|
|
1249
|
-
deliveredUsersCount: number | null;
|
|
1250
1991
|
};
|
|
1251
1992
|
}>;
|
|
1252
1993
|
declare const CampaignDetailBase: z.ZodObject<{
|
|
@@ -1346,7 +2087,52 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1346
2087
|
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1347
2088
|
}, {
|
|
1348
2089
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
1349
|
-
curationMailMagazine: z.ZodObject<{
|
|
2090
|
+
curationMailMagazine: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2091
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2092
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2093
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2094
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
2095
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
2096
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
2097
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
2098
|
+
}, "strip", z.ZodTypeAny, {
|
|
2099
|
+
id: number | null;
|
|
2100
|
+
behaviorSegmentCodes: string[];
|
|
2101
|
+
profileSegmentCodes: string[];
|
|
2102
|
+
}, {
|
|
2103
|
+
id: number | null;
|
|
2104
|
+
behaviorSegmentCodes: string[];
|
|
2105
|
+
profileSegmentCodes: string[];
|
|
2106
|
+
}>, "many">;
|
|
2107
|
+
}, {
|
|
2108
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
2109
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2110
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2111
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2112
|
+
utmCampaign: string | null;
|
|
2113
|
+
subject: string | null;
|
|
2114
|
+
preHeaderText: string | null;
|
|
2115
|
+
targetFilters: {
|
|
2116
|
+
id: number | null;
|
|
2117
|
+
behaviorSegmentCodes: string[];
|
|
2118
|
+
profileSegmentCodes: string[];
|
|
2119
|
+
}[];
|
|
2120
|
+
bodyKind: "freeFormat";
|
|
2121
|
+
htmlBody: string | null;
|
|
2122
|
+
htmlStyle: string | null;
|
|
2123
|
+
}, {
|
|
2124
|
+
utmCampaign: string | null;
|
|
2125
|
+
subject: string | null;
|
|
2126
|
+
preHeaderText: string | null;
|
|
2127
|
+
targetFilters: {
|
|
2128
|
+
id: number | null;
|
|
2129
|
+
behaviorSegmentCodes: string[];
|
|
2130
|
+
profileSegmentCodes: string[];
|
|
2131
|
+
}[];
|
|
2132
|
+
bodyKind: "freeFormat";
|
|
2133
|
+
htmlBody: string | null;
|
|
2134
|
+
htmlStyle: string | null;
|
|
2135
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1350
2136
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1351
2137
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1352
2138
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -1363,6 +2149,8 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1363
2149
|
behaviorSegmentCodes: string[];
|
|
1364
2150
|
profileSegmentCodes: string[];
|
|
1365
2151
|
}>, "many">;
|
|
2152
|
+
}, {
|
|
2153
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
1366
2154
|
projects: z.ZodArray<z.ZodObject<{
|
|
1367
2155
|
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
1368
2156
|
slotNumber: z.ZodNumber;
|
|
@@ -1460,7 +2248,7 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1460
2248
|
} | null;
|
|
1461
2249
|
url: string | null;
|
|
1462
2250
|
}>, "many">;
|
|
1463
|
-
}
|
|
2251
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1464
2252
|
utmCampaign: string | null;
|
|
1465
2253
|
subject: string | null;
|
|
1466
2254
|
preHeaderText: string | null;
|
|
@@ -1469,6 +2257,7 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1469
2257
|
behaviorSegmentCodes: string[];
|
|
1470
2258
|
profileSegmentCodes: string[];
|
|
1471
2259
|
}[];
|
|
2260
|
+
bodyKind: "template";
|
|
1472
2261
|
projects: {
|
|
1473
2262
|
id: number | null;
|
|
1474
2263
|
slotNumber: number;
|
|
@@ -1505,6 +2294,7 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1505
2294
|
behaviorSegmentCodes: string[];
|
|
1506
2295
|
profileSegmentCodes: string[];
|
|
1507
2296
|
}[];
|
|
2297
|
+
bodyKind: "template";
|
|
1508
2298
|
projects: {
|
|
1509
2299
|
id: number | null;
|
|
1510
2300
|
slotNumber: number;
|
|
@@ -1532,7 +2322,7 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1532
2322
|
} | null;
|
|
1533
2323
|
url: string | null;
|
|
1534
2324
|
}[];
|
|
1535
|
-
}>;
|
|
2325
|
+
}>]>;
|
|
1536
2326
|
}>, "strip", z.ZodTypeAny, {
|
|
1537
2327
|
kind: "curationMailMagazine";
|
|
1538
2328
|
title: string | null;
|
|
@@ -1545,6 +2335,7 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1545
2335
|
behaviorSegmentCodes: string[];
|
|
1546
2336
|
profileSegmentCodes: string[];
|
|
1547
2337
|
}[];
|
|
2338
|
+
bodyKind: "template";
|
|
1548
2339
|
projects: {
|
|
1549
2340
|
id: number | null;
|
|
1550
2341
|
slotNumber: number;
|
|
@@ -1572,6 +2363,18 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1572
2363
|
} | null;
|
|
1573
2364
|
url: string | null;
|
|
1574
2365
|
}[];
|
|
2366
|
+
} | {
|
|
2367
|
+
utmCampaign: string | null;
|
|
2368
|
+
subject: string | null;
|
|
2369
|
+
preHeaderText: string | null;
|
|
2370
|
+
targetFilters: {
|
|
2371
|
+
id: number | null;
|
|
2372
|
+
behaviorSegmentCodes: string[];
|
|
2373
|
+
profileSegmentCodes: string[];
|
|
2374
|
+
}[];
|
|
2375
|
+
bodyKind: "freeFormat";
|
|
2376
|
+
htmlBody: string | null;
|
|
2377
|
+
htmlStyle: string | null;
|
|
1575
2378
|
};
|
|
1576
2379
|
deliveryScheduledAt: string | null;
|
|
1577
2380
|
}, {
|
|
@@ -1586,6 +2389,7 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1586
2389
|
behaviorSegmentCodes: string[];
|
|
1587
2390
|
profileSegmentCodes: string[];
|
|
1588
2391
|
}[];
|
|
2392
|
+
bodyKind: "template";
|
|
1589
2393
|
projects: {
|
|
1590
2394
|
id: number | null;
|
|
1591
2395
|
slotNumber: number;
|
|
@@ -1613,6 +2417,18 @@ declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil
|
|
|
1613
2417
|
} | null;
|
|
1614
2418
|
url: string | null;
|
|
1615
2419
|
}[];
|
|
2420
|
+
} | {
|
|
2421
|
+
utmCampaign: string | null;
|
|
2422
|
+
subject: string | null;
|
|
2423
|
+
preHeaderText: string | null;
|
|
2424
|
+
targetFilters: {
|
|
2425
|
+
id: number | null;
|
|
2426
|
+
behaviorSegmentCodes: string[];
|
|
2427
|
+
profileSegmentCodes: string[];
|
|
2428
|
+
}[];
|
|
2429
|
+
bodyKind: "freeFormat";
|
|
2430
|
+
htmlBody: string | null;
|
|
2431
|
+
htmlStyle: string | null;
|
|
1616
2432
|
};
|
|
1617
2433
|
deliveryScheduledAt: string | null;
|
|
1618
2434
|
}>;
|
|
@@ -1724,7 +2540,7 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1724
2540
|
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1725
2541
|
}, {
|
|
1726
2542
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
1727
|
-
curationMailMagazine: z.ZodObject<{
|
|
2543
|
+
curationMailMagazine: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
1728
2544
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1729
2545
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1730
2546
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -1742,6 +2558,8 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1742
2558
|
behaviorSegmentCodes: string[];
|
|
1743
2559
|
profileSegmentCodes: string[];
|
|
1744
2560
|
}>, "many">;
|
|
2561
|
+
}, {
|
|
2562
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
1745
2563
|
projects: z.ZodArray<z.ZodObject<{
|
|
1746
2564
|
id: z.ZodNumber;
|
|
1747
2565
|
readyforProjectId: z.ZodNumber;
|
|
@@ -1789,7 +2607,7 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1789
2607
|
url: string | null;
|
|
1790
2608
|
imageUrl: string | null;
|
|
1791
2609
|
}>, "many">;
|
|
1792
|
-
}
|
|
2610
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1793
2611
|
utmCampaign: string | null;
|
|
1794
2612
|
subject: string | null;
|
|
1795
2613
|
preHeaderText: string | null;
|
|
@@ -1798,6 +2616,8 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1798
2616
|
behaviorSegmentCodes: string[];
|
|
1799
2617
|
profileSegmentCodes: string[];
|
|
1800
2618
|
}[];
|
|
2619
|
+
deliveredUsersCount: number | null;
|
|
2620
|
+
bodyKind: "template";
|
|
1801
2621
|
projects: {
|
|
1802
2622
|
id: number;
|
|
1803
2623
|
slotNumber: number;
|
|
@@ -1815,7 +2635,6 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1815
2635
|
url: string | null;
|
|
1816
2636
|
imageUrl: string | null;
|
|
1817
2637
|
}[];
|
|
1818
|
-
deliveredUsersCount: number | null;
|
|
1819
2638
|
}, {
|
|
1820
2639
|
utmCampaign: string | null;
|
|
1821
2640
|
subject: string | null;
|
|
@@ -1825,6 +2644,8 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1825
2644
|
behaviorSegmentCodes: string[];
|
|
1826
2645
|
profileSegmentCodes: string[];
|
|
1827
2646
|
}[];
|
|
2647
|
+
deliveredUsersCount: number | null;
|
|
2648
|
+
bodyKind: "template";
|
|
1828
2649
|
projects: {
|
|
1829
2650
|
id: number;
|
|
1830
2651
|
slotNumber: number;
|
|
@@ -1842,8 +2663,55 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1842
2663
|
url: string | null;
|
|
1843
2664
|
imageUrl: string | null;
|
|
1844
2665
|
}[];
|
|
2666
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2667
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2668
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2669
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2670
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
2671
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
2672
|
+
id: z.ZodNumber;
|
|
2673
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
2674
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
2675
|
+
}, "strip", z.ZodTypeAny, {
|
|
2676
|
+
id: number;
|
|
2677
|
+
behaviorSegmentCodes: string[];
|
|
2678
|
+
profileSegmentCodes: string[];
|
|
2679
|
+
}, {
|
|
2680
|
+
id: number;
|
|
2681
|
+
behaviorSegmentCodes: string[];
|
|
2682
|
+
profileSegmentCodes: string[];
|
|
2683
|
+
}>, "many">;
|
|
2684
|
+
}, {
|
|
2685
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
2686
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2687
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2688
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2689
|
+
utmCampaign: string | null;
|
|
2690
|
+
subject: string | null;
|
|
2691
|
+
preHeaderText: string | null;
|
|
2692
|
+
targetFilters: {
|
|
2693
|
+
id: number;
|
|
2694
|
+
behaviorSegmentCodes: string[];
|
|
2695
|
+
profileSegmentCodes: string[];
|
|
2696
|
+
}[];
|
|
1845
2697
|
deliveredUsersCount: number | null;
|
|
1846
|
-
|
|
2698
|
+
bodyKind: "freeFormat";
|
|
2699
|
+
htmlBody: string | null;
|
|
2700
|
+
htmlStyle: string | null;
|
|
2701
|
+
}, {
|
|
2702
|
+
utmCampaign: string | null;
|
|
2703
|
+
subject: string | null;
|
|
2704
|
+
preHeaderText: string | null;
|
|
2705
|
+
targetFilters: {
|
|
2706
|
+
id: number;
|
|
2707
|
+
behaviorSegmentCodes: string[];
|
|
2708
|
+
profileSegmentCodes: string[];
|
|
2709
|
+
}[];
|
|
2710
|
+
deliveredUsersCount: number | null;
|
|
2711
|
+
bodyKind: "freeFormat";
|
|
2712
|
+
htmlBody: string | null;
|
|
2713
|
+
htmlStyle: string | null;
|
|
2714
|
+
}>]>;
|
|
1847
2715
|
}>, "strip", z.ZodTypeAny, {
|
|
1848
2716
|
kind: "curationMailMagazine";
|
|
1849
2717
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
@@ -1858,6 +2726,21 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1858
2726
|
behaviorSegmentCodes: string[];
|
|
1859
2727
|
profileSegmentCodes: string[];
|
|
1860
2728
|
}[];
|
|
2729
|
+
deliveredUsersCount: number | null;
|
|
2730
|
+
bodyKind: "freeFormat";
|
|
2731
|
+
htmlBody: string | null;
|
|
2732
|
+
htmlStyle: string | null;
|
|
2733
|
+
} | {
|
|
2734
|
+
utmCampaign: string | null;
|
|
2735
|
+
subject: string | null;
|
|
2736
|
+
preHeaderText: string | null;
|
|
2737
|
+
targetFilters: {
|
|
2738
|
+
id: number;
|
|
2739
|
+
behaviorSegmentCodes: string[];
|
|
2740
|
+
profileSegmentCodes: string[];
|
|
2741
|
+
}[];
|
|
2742
|
+
deliveredUsersCount: number | null;
|
|
2743
|
+
bodyKind: "template";
|
|
1861
2744
|
projects: {
|
|
1862
2745
|
id: number;
|
|
1863
2746
|
slotNumber: number;
|
|
@@ -1875,7 +2758,6 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1875
2758
|
url: string | null;
|
|
1876
2759
|
imageUrl: string | null;
|
|
1877
2760
|
}[];
|
|
1878
|
-
deliveredUsersCount: number | null;
|
|
1879
2761
|
};
|
|
1880
2762
|
deliveryScheduledAt: string | null;
|
|
1881
2763
|
}, {
|
|
@@ -1892,6 +2774,21 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1892
2774
|
behaviorSegmentCodes: string[];
|
|
1893
2775
|
profileSegmentCodes: string[];
|
|
1894
2776
|
}[];
|
|
2777
|
+
deliveredUsersCount: number | null;
|
|
2778
|
+
bodyKind: "freeFormat";
|
|
2779
|
+
htmlBody: string | null;
|
|
2780
|
+
htmlStyle: string | null;
|
|
2781
|
+
} | {
|
|
2782
|
+
utmCampaign: string | null;
|
|
2783
|
+
subject: string | null;
|
|
2784
|
+
preHeaderText: string | null;
|
|
2785
|
+
targetFilters: {
|
|
2786
|
+
id: number;
|
|
2787
|
+
behaviorSegmentCodes: string[];
|
|
2788
|
+
profileSegmentCodes: string[];
|
|
2789
|
+
}[];
|
|
2790
|
+
deliveredUsersCount: number | null;
|
|
2791
|
+
bodyKind: "template";
|
|
1895
2792
|
projects: {
|
|
1896
2793
|
id: number;
|
|
1897
2794
|
slotNumber: number;
|
|
@@ -1909,7 +2806,6 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
1909
2806
|
url: string | null;
|
|
1910
2807
|
imageUrl: string | null;
|
|
1911
2808
|
}[];
|
|
1912
|
-
deliveredUsersCount: number | null;
|
|
1913
2809
|
};
|
|
1914
2810
|
deliveryScheduledAt: string | null;
|
|
1915
2811
|
}>;
|
|
@@ -1993,19 +2889,19 @@ declare const CurationMailMagazineCampaign: z.ZodObject<z.objectUtil.extendShape
|
|
|
1993
2889
|
kind: "curationMailMagazine";
|
|
1994
2890
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1995
2891
|
id: number;
|
|
2892
|
+
bodyKind: "template" | "freeFormat";
|
|
1996
2893
|
deliveryAt: string | null;
|
|
1997
2894
|
lastEditorName: string;
|
|
1998
2895
|
lastEditedAt: string;
|
|
1999
|
-
bodyKind: "template" | "freeFormat";
|
|
2000
2896
|
title?: string | null | undefined;
|
|
2001
2897
|
}, {
|
|
2002
2898
|
kind: "curationMailMagazine";
|
|
2003
2899
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
2004
2900
|
id: number;
|
|
2901
|
+
bodyKind: "template" | "freeFormat";
|
|
2005
2902
|
deliveryAt: string | null;
|
|
2006
2903
|
lastEditorName: string;
|
|
2007
2904
|
lastEditedAt: string;
|
|
2008
|
-
bodyKind: "template" | "freeFormat";
|
|
2009
2905
|
title?: string | null | undefined;
|
|
2010
2906
|
}>;
|
|
2011
2907
|
declare const PersonalizedMailMagazineCampaign: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -2174,7 +3070,52 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2174
3070
|
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2175
3071
|
}, {
|
|
2176
3072
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
2177
|
-
curationMailMagazine: z.ZodObject<{
|
|
3073
|
+
curationMailMagazine: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
3074
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3075
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3076
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3077
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
3078
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
3079
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
3080
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
3081
|
+
}, "strip", z.ZodTypeAny, {
|
|
3082
|
+
id: number | null;
|
|
3083
|
+
behaviorSegmentCodes: string[];
|
|
3084
|
+
profileSegmentCodes: string[];
|
|
3085
|
+
}, {
|
|
3086
|
+
id: number | null;
|
|
3087
|
+
behaviorSegmentCodes: string[];
|
|
3088
|
+
profileSegmentCodes: string[];
|
|
3089
|
+
}>, "many">;
|
|
3090
|
+
}, {
|
|
3091
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
3092
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3093
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3094
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3095
|
+
utmCampaign: string | null;
|
|
3096
|
+
subject: string | null;
|
|
3097
|
+
preHeaderText: string | null;
|
|
3098
|
+
targetFilters: {
|
|
3099
|
+
id: number | null;
|
|
3100
|
+
behaviorSegmentCodes: string[];
|
|
3101
|
+
profileSegmentCodes: string[];
|
|
3102
|
+
}[];
|
|
3103
|
+
bodyKind: "freeFormat";
|
|
3104
|
+
htmlBody: string | null;
|
|
3105
|
+
htmlStyle: string | null;
|
|
3106
|
+
}, {
|
|
3107
|
+
utmCampaign: string | null;
|
|
3108
|
+
subject: string | null;
|
|
3109
|
+
preHeaderText: string | null;
|
|
3110
|
+
targetFilters: {
|
|
3111
|
+
id: number | null;
|
|
3112
|
+
behaviorSegmentCodes: string[];
|
|
3113
|
+
profileSegmentCodes: string[];
|
|
3114
|
+
}[];
|
|
3115
|
+
bodyKind: "freeFormat";
|
|
3116
|
+
htmlBody: string | null;
|
|
3117
|
+
htmlStyle: string | null;
|
|
3118
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2178
3119
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2179
3120
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2180
3121
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -2191,6 +3132,8 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2191
3132
|
behaviorSegmentCodes: string[];
|
|
2192
3133
|
profileSegmentCodes: string[];
|
|
2193
3134
|
}>, "many">;
|
|
3135
|
+
}, {
|
|
3136
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
2194
3137
|
projects: z.ZodArray<z.ZodObject<{
|
|
2195
3138
|
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
2196
3139
|
slotNumber: z.ZodNumber;
|
|
@@ -2288,7 +3231,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2288
3231
|
} | null;
|
|
2289
3232
|
url: string | null;
|
|
2290
3233
|
}>, "many">;
|
|
2291
|
-
}
|
|
3234
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2292
3235
|
utmCampaign: string | null;
|
|
2293
3236
|
subject: string | null;
|
|
2294
3237
|
preHeaderText: string | null;
|
|
@@ -2297,6 +3240,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2297
3240
|
behaviorSegmentCodes: string[];
|
|
2298
3241
|
profileSegmentCodes: string[];
|
|
2299
3242
|
}[];
|
|
3243
|
+
bodyKind: "template";
|
|
2300
3244
|
projects: {
|
|
2301
3245
|
id: number | null;
|
|
2302
3246
|
slotNumber: number;
|
|
@@ -2333,6 +3277,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2333
3277
|
behaviorSegmentCodes: string[];
|
|
2334
3278
|
profileSegmentCodes: string[];
|
|
2335
3279
|
}[];
|
|
3280
|
+
bodyKind: "template";
|
|
2336
3281
|
projects: {
|
|
2337
3282
|
id: number | null;
|
|
2338
3283
|
slotNumber: number;
|
|
@@ -2360,7 +3305,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2360
3305
|
} | null;
|
|
2361
3306
|
url: string | null;
|
|
2362
3307
|
}[];
|
|
2363
|
-
}>;
|
|
3308
|
+
}>]>;
|
|
2364
3309
|
}>, "strip", z.ZodTypeAny, {
|
|
2365
3310
|
kind: "curationMailMagazine";
|
|
2366
3311
|
title: string | null;
|
|
@@ -2373,6 +3318,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2373
3318
|
behaviorSegmentCodes: string[];
|
|
2374
3319
|
profileSegmentCodes: string[];
|
|
2375
3320
|
}[];
|
|
3321
|
+
bodyKind: "template";
|
|
2376
3322
|
projects: {
|
|
2377
3323
|
id: number | null;
|
|
2378
3324
|
slotNumber: number;
|
|
@@ -2400,6 +3346,18 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2400
3346
|
} | null;
|
|
2401
3347
|
url: string | null;
|
|
2402
3348
|
}[];
|
|
3349
|
+
} | {
|
|
3350
|
+
utmCampaign: string | null;
|
|
3351
|
+
subject: string | null;
|
|
3352
|
+
preHeaderText: string | null;
|
|
3353
|
+
targetFilters: {
|
|
3354
|
+
id: number | null;
|
|
3355
|
+
behaviorSegmentCodes: string[];
|
|
3356
|
+
profileSegmentCodes: string[];
|
|
3357
|
+
}[];
|
|
3358
|
+
bodyKind: "freeFormat";
|
|
3359
|
+
htmlBody: string | null;
|
|
3360
|
+
htmlStyle: string | null;
|
|
2403
3361
|
};
|
|
2404
3362
|
deliveryScheduledAt: string | null;
|
|
2405
3363
|
}, {
|
|
@@ -2414,6 +3372,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2414
3372
|
behaviorSegmentCodes: string[];
|
|
2415
3373
|
profileSegmentCodes: string[];
|
|
2416
3374
|
}[];
|
|
3375
|
+
bodyKind: "template";
|
|
2417
3376
|
projects: {
|
|
2418
3377
|
id: number | null;
|
|
2419
3378
|
slotNumber: number;
|
|
@@ -2441,6 +3400,18 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
2441
3400
|
} | null;
|
|
2442
3401
|
url: string | null;
|
|
2443
3402
|
}[];
|
|
3403
|
+
} | {
|
|
3404
|
+
utmCampaign: string | null;
|
|
3405
|
+
subject: string | null;
|
|
3406
|
+
preHeaderText: string | null;
|
|
3407
|
+
targetFilters: {
|
|
3408
|
+
id: number | null;
|
|
3409
|
+
behaviorSegmentCodes: string[];
|
|
3410
|
+
profileSegmentCodes: string[];
|
|
3411
|
+
}[];
|
|
3412
|
+
bodyKind: "freeFormat";
|
|
3413
|
+
htmlBody: string | null;
|
|
3414
|
+
htmlStyle: string | null;
|
|
2444
3415
|
};
|
|
2445
3416
|
deliveryScheduledAt: string | null;
|
|
2446
3417
|
}>]>;
|
|
@@ -2516,7 +3487,7 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2516
3487
|
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2517
3488
|
}, {
|
|
2518
3489
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
2519
|
-
curationMailMagazine: z.ZodObject<{
|
|
3490
|
+
curationMailMagazine: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2520
3491
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2521
3492
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2522
3493
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -2534,6 +3505,8 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2534
3505
|
behaviorSegmentCodes: string[];
|
|
2535
3506
|
profileSegmentCodes: string[];
|
|
2536
3507
|
}>, "many">;
|
|
3508
|
+
}, {
|
|
3509
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
2537
3510
|
projects: z.ZodArray<z.ZodObject<{
|
|
2538
3511
|
id: z.ZodNumber;
|
|
2539
3512
|
readyforProjectId: z.ZodNumber;
|
|
@@ -2581,7 +3554,7 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2581
3554
|
url: string | null;
|
|
2582
3555
|
imageUrl: string | null;
|
|
2583
3556
|
}>, "many">;
|
|
2584
|
-
}
|
|
3557
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2585
3558
|
utmCampaign: string | null;
|
|
2586
3559
|
subject: string | null;
|
|
2587
3560
|
preHeaderText: string | null;
|
|
@@ -2590,6 +3563,8 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2590
3563
|
behaviorSegmentCodes: string[];
|
|
2591
3564
|
profileSegmentCodes: string[];
|
|
2592
3565
|
}[];
|
|
3566
|
+
deliveredUsersCount: number | null;
|
|
3567
|
+
bodyKind: "template";
|
|
2593
3568
|
projects: {
|
|
2594
3569
|
id: number;
|
|
2595
3570
|
slotNumber: number;
|
|
@@ -2607,7 +3582,6 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2607
3582
|
url: string | null;
|
|
2608
3583
|
imageUrl: string | null;
|
|
2609
3584
|
}[];
|
|
2610
|
-
deliveredUsersCount: number | null;
|
|
2611
3585
|
}, {
|
|
2612
3586
|
utmCampaign: string | null;
|
|
2613
3587
|
subject: string | null;
|
|
@@ -2617,6 +3591,8 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2617
3591
|
behaviorSegmentCodes: string[];
|
|
2618
3592
|
profileSegmentCodes: string[];
|
|
2619
3593
|
}[];
|
|
3594
|
+
deliveredUsersCount: number | null;
|
|
3595
|
+
bodyKind: "template";
|
|
2620
3596
|
projects: {
|
|
2621
3597
|
id: number;
|
|
2622
3598
|
slotNumber: number;
|
|
@@ -2634,8 +3610,55 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2634
3610
|
url: string | null;
|
|
2635
3611
|
imageUrl: string | null;
|
|
2636
3612
|
}[];
|
|
3613
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3614
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3615
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3616
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3617
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
3618
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
3619
|
+
id: z.ZodNumber;
|
|
3620
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
3621
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
3622
|
+
}, "strip", z.ZodTypeAny, {
|
|
3623
|
+
id: number;
|
|
3624
|
+
behaviorSegmentCodes: string[];
|
|
3625
|
+
profileSegmentCodes: string[];
|
|
3626
|
+
}, {
|
|
3627
|
+
id: number;
|
|
3628
|
+
behaviorSegmentCodes: string[];
|
|
3629
|
+
profileSegmentCodes: string[];
|
|
3630
|
+
}>, "many">;
|
|
3631
|
+
}, {
|
|
3632
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
3633
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3634
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3635
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3636
|
+
utmCampaign: string | null;
|
|
3637
|
+
subject: string | null;
|
|
3638
|
+
preHeaderText: string | null;
|
|
3639
|
+
targetFilters: {
|
|
3640
|
+
id: number;
|
|
3641
|
+
behaviorSegmentCodes: string[];
|
|
3642
|
+
profileSegmentCodes: string[];
|
|
3643
|
+
}[];
|
|
2637
3644
|
deliveredUsersCount: number | null;
|
|
2638
|
-
|
|
3645
|
+
bodyKind: "freeFormat";
|
|
3646
|
+
htmlBody: string | null;
|
|
3647
|
+
htmlStyle: string | null;
|
|
3648
|
+
}, {
|
|
3649
|
+
utmCampaign: string | null;
|
|
3650
|
+
subject: string | null;
|
|
3651
|
+
preHeaderText: string | null;
|
|
3652
|
+
targetFilters: {
|
|
3653
|
+
id: number;
|
|
3654
|
+
behaviorSegmentCodes: string[];
|
|
3655
|
+
profileSegmentCodes: string[];
|
|
3656
|
+
}[];
|
|
3657
|
+
deliveredUsersCount: number | null;
|
|
3658
|
+
bodyKind: "freeFormat";
|
|
3659
|
+
htmlBody: string | null;
|
|
3660
|
+
htmlStyle: string | null;
|
|
3661
|
+
}>]>;
|
|
2639
3662
|
}>, "strip", z.ZodTypeAny, {
|
|
2640
3663
|
kind: "curationMailMagazine";
|
|
2641
3664
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
@@ -2650,6 +3673,21 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2650
3673
|
behaviorSegmentCodes: string[];
|
|
2651
3674
|
profileSegmentCodes: string[];
|
|
2652
3675
|
}[];
|
|
3676
|
+
deliveredUsersCount: number | null;
|
|
3677
|
+
bodyKind: "freeFormat";
|
|
3678
|
+
htmlBody: string | null;
|
|
3679
|
+
htmlStyle: string | null;
|
|
3680
|
+
} | {
|
|
3681
|
+
utmCampaign: string | null;
|
|
3682
|
+
subject: string | null;
|
|
3683
|
+
preHeaderText: string | null;
|
|
3684
|
+
targetFilters: {
|
|
3685
|
+
id: number;
|
|
3686
|
+
behaviorSegmentCodes: string[];
|
|
3687
|
+
profileSegmentCodes: string[];
|
|
3688
|
+
}[];
|
|
3689
|
+
deliveredUsersCount: number | null;
|
|
3690
|
+
bodyKind: "template";
|
|
2653
3691
|
projects: {
|
|
2654
3692
|
id: number;
|
|
2655
3693
|
slotNumber: number;
|
|
@@ -2667,7 +3705,6 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2667
3705
|
url: string | null;
|
|
2668
3706
|
imageUrl: string | null;
|
|
2669
3707
|
}[];
|
|
2670
|
-
deliveredUsersCount: number | null;
|
|
2671
3708
|
};
|
|
2672
3709
|
deliveryScheduledAt: string | null;
|
|
2673
3710
|
}, {
|
|
@@ -2684,6 +3721,21 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2684
3721
|
behaviorSegmentCodes: string[];
|
|
2685
3722
|
profileSegmentCodes: string[];
|
|
2686
3723
|
}[];
|
|
3724
|
+
deliveredUsersCount: number | null;
|
|
3725
|
+
bodyKind: "freeFormat";
|
|
3726
|
+
htmlBody: string | null;
|
|
3727
|
+
htmlStyle: string | null;
|
|
3728
|
+
} | {
|
|
3729
|
+
utmCampaign: string | null;
|
|
3730
|
+
subject: string | null;
|
|
3731
|
+
preHeaderText: string | null;
|
|
3732
|
+
targetFilters: {
|
|
3733
|
+
id: number;
|
|
3734
|
+
behaviorSegmentCodes: string[];
|
|
3735
|
+
profileSegmentCodes: string[];
|
|
3736
|
+
}[];
|
|
3737
|
+
deliveredUsersCount: number | null;
|
|
3738
|
+
bodyKind: "template";
|
|
2687
3739
|
projects: {
|
|
2688
3740
|
id: number;
|
|
2689
3741
|
slotNumber: number;
|
|
@@ -2701,7 +3753,6 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2701
3753
|
url: string | null;
|
|
2702
3754
|
imageUrl: string | null;
|
|
2703
3755
|
}[];
|
|
2704
|
-
deliveredUsersCount: number | null;
|
|
2705
3756
|
};
|
|
2706
3757
|
deliveryScheduledAt: string | null;
|
|
2707
3758
|
}>]>;
|
|
@@ -2789,19 +3840,19 @@ declare const Campaign: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2789
3840
|
kind: "curationMailMagazine";
|
|
2790
3841
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
2791
3842
|
id: number;
|
|
3843
|
+
bodyKind: "template" | "freeFormat";
|
|
2792
3844
|
deliveryAt: string | null;
|
|
2793
3845
|
lastEditorName: string;
|
|
2794
3846
|
lastEditedAt: string;
|
|
2795
|
-
bodyKind: "template" | "freeFormat";
|
|
2796
3847
|
title?: string | null | undefined;
|
|
2797
3848
|
}, {
|
|
2798
3849
|
kind: "curationMailMagazine";
|
|
2799
3850
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
2800
3851
|
id: number;
|
|
3852
|
+
bodyKind: "template" | "freeFormat";
|
|
2801
3853
|
deliveryAt: string | null;
|
|
2802
3854
|
lastEditorName: string;
|
|
2803
3855
|
lastEditedAt: string;
|
|
2804
|
-
bodyKind: "template" | "freeFormat";
|
|
2805
3856
|
title?: string | null | undefined;
|
|
2806
3857
|
}>]>;
|
|
2807
3858
|
declare const TargetFilterSegments: z.ZodObject<{
|
|
@@ -3054,7 +4105,52 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3054
4105
|
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3055
4106
|
}, {
|
|
3056
4107
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
3057
|
-
curationMailMagazine: z.ZodObject<{
|
|
4108
|
+
curationMailMagazine: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
4109
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4110
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4111
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4112
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
4113
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
4114
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
4115
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
4116
|
+
}, "strip", z.ZodTypeAny, {
|
|
4117
|
+
id: number | null;
|
|
4118
|
+
behaviorSegmentCodes: string[];
|
|
4119
|
+
profileSegmentCodes: string[];
|
|
4120
|
+
}, {
|
|
4121
|
+
id: number | null;
|
|
4122
|
+
behaviorSegmentCodes: string[];
|
|
4123
|
+
profileSegmentCodes: string[];
|
|
4124
|
+
}>, "many">;
|
|
4125
|
+
}, {
|
|
4126
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
4127
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4128
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4129
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4130
|
+
utmCampaign: string | null;
|
|
4131
|
+
subject: string | null;
|
|
4132
|
+
preHeaderText: string | null;
|
|
4133
|
+
targetFilters: {
|
|
4134
|
+
id: number | null;
|
|
4135
|
+
behaviorSegmentCodes: string[];
|
|
4136
|
+
profileSegmentCodes: string[];
|
|
4137
|
+
}[];
|
|
4138
|
+
bodyKind: "freeFormat";
|
|
4139
|
+
htmlBody: string | null;
|
|
4140
|
+
htmlStyle: string | null;
|
|
4141
|
+
}, {
|
|
4142
|
+
utmCampaign: string | null;
|
|
4143
|
+
subject: string | null;
|
|
4144
|
+
preHeaderText: string | null;
|
|
4145
|
+
targetFilters: {
|
|
4146
|
+
id: number | null;
|
|
4147
|
+
behaviorSegmentCodes: string[];
|
|
4148
|
+
profileSegmentCodes: string[];
|
|
4149
|
+
}[];
|
|
4150
|
+
bodyKind: "freeFormat";
|
|
4151
|
+
htmlBody: string | null;
|
|
4152
|
+
htmlStyle: string | null;
|
|
4153
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3058
4154
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3059
4155
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3060
4156
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -3071,6 +4167,8 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3071
4167
|
behaviorSegmentCodes: string[];
|
|
3072
4168
|
profileSegmentCodes: string[];
|
|
3073
4169
|
}>, "many">;
|
|
4170
|
+
}, {
|
|
4171
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
3074
4172
|
projects: z.ZodArray<z.ZodObject<{
|
|
3075
4173
|
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
3076
4174
|
slotNumber: z.ZodNumber;
|
|
@@ -3168,7 +4266,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3168
4266
|
} | null;
|
|
3169
4267
|
url: string | null;
|
|
3170
4268
|
}>, "many">;
|
|
3171
|
-
}
|
|
4269
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3172
4270
|
utmCampaign: string | null;
|
|
3173
4271
|
subject: string | null;
|
|
3174
4272
|
preHeaderText: string | null;
|
|
@@ -3177,6 +4275,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3177
4275
|
behaviorSegmentCodes: string[];
|
|
3178
4276
|
profileSegmentCodes: string[];
|
|
3179
4277
|
}[];
|
|
4278
|
+
bodyKind: "template";
|
|
3180
4279
|
projects: {
|
|
3181
4280
|
id: number | null;
|
|
3182
4281
|
slotNumber: number;
|
|
@@ -3213,6 +4312,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3213
4312
|
behaviorSegmentCodes: string[];
|
|
3214
4313
|
profileSegmentCodes: string[];
|
|
3215
4314
|
}[];
|
|
4315
|
+
bodyKind: "template";
|
|
3216
4316
|
projects: {
|
|
3217
4317
|
id: number | null;
|
|
3218
4318
|
slotNumber: number;
|
|
@@ -3240,7 +4340,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3240
4340
|
} | null;
|
|
3241
4341
|
url: string | null;
|
|
3242
4342
|
}[];
|
|
3243
|
-
}>;
|
|
4343
|
+
}>]>;
|
|
3244
4344
|
}>, "strip", z.ZodTypeAny, {
|
|
3245
4345
|
kind: "curationMailMagazine";
|
|
3246
4346
|
title: string | null;
|
|
@@ -3253,6 +4353,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3253
4353
|
behaviorSegmentCodes: string[];
|
|
3254
4354
|
profileSegmentCodes: string[];
|
|
3255
4355
|
}[];
|
|
4356
|
+
bodyKind: "template";
|
|
3256
4357
|
projects: {
|
|
3257
4358
|
id: number | null;
|
|
3258
4359
|
slotNumber: number;
|
|
@@ -3280,6 +4381,18 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3280
4381
|
} | null;
|
|
3281
4382
|
url: string | null;
|
|
3282
4383
|
}[];
|
|
4384
|
+
} | {
|
|
4385
|
+
utmCampaign: string | null;
|
|
4386
|
+
subject: string | null;
|
|
4387
|
+
preHeaderText: string | null;
|
|
4388
|
+
targetFilters: {
|
|
4389
|
+
id: number | null;
|
|
4390
|
+
behaviorSegmentCodes: string[];
|
|
4391
|
+
profileSegmentCodes: string[];
|
|
4392
|
+
}[];
|
|
4393
|
+
bodyKind: "freeFormat";
|
|
4394
|
+
htmlBody: string | null;
|
|
4395
|
+
htmlStyle: string | null;
|
|
3283
4396
|
};
|
|
3284
4397
|
deliveryScheduledAt: string | null;
|
|
3285
4398
|
}, {
|
|
@@ -3294,6 +4407,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3294
4407
|
behaviorSegmentCodes: string[];
|
|
3295
4408
|
profileSegmentCodes: string[];
|
|
3296
4409
|
}[];
|
|
4410
|
+
bodyKind: "template";
|
|
3297
4411
|
projects: {
|
|
3298
4412
|
id: number | null;
|
|
3299
4413
|
slotNumber: number;
|
|
@@ -3321,6 +4435,18 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3321
4435
|
} | null;
|
|
3322
4436
|
url: string | null;
|
|
3323
4437
|
}[];
|
|
4438
|
+
} | {
|
|
4439
|
+
utmCampaign: string | null;
|
|
4440
|
+
subject: string | null;
|
|
4441
|
+
preHeaderText: string | null;
|
|
4442
|
+
targetFilters: {
|
|
4443
|
+
id: number | null;
|
|
4444
|
+
behaviorSegmentCodes: string[];
|
|
4445
|
+
profileSegmentCodes: string[];
|
|
4446
|
+
}[];
|
|
4447
|
+
bodyKind: "freeFormat";
|
|
4448
|
+
htmlBody: string | null;
|
|
4449
|
+
htmlStyle: string | null;
|
|
3324
4450
|
};
|
|
3325
4451
|
deliveryScheduledAt: string | null;
|
|
3326
4452
|
}>]>;
|
|
@@ -3337,6 +4463,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3337
4463
|
behaviorSegmentCodes: string[];
|
|
3338
4464
|
profileSegmentCodes: string[];
|
|
3339
4465
|
}[];
|
|
4466
|
+
bodyKind: "template";
|
|
3340
4467
|
projects: {
|
|
3341
4468
|
id: number | null;
|
|
3342
4469
|
slotNumber: number;
|
|
@@ -3364,6 +4491,18 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3364
4491
|
} | null;
|
|
3365
4492
|
url: string | null;
|
|
3366
4493
|
}[];
|
|
4494
|
+
} | {
|
|
4495
|
+
utmCampaign: string | null;
|
|
4496
|
+
subject: string | null;
|
|
4497
|
+
preHeaderText: string | null;
|
|
4498
|
+
targetFilters: {
|
|
4499
|
+
id: number | null;
|
|
4500
|
+
behaviorSegmentCodes: string[];
|
|
4501
|
+
profileSegmentCodes: string[];
|
|
4502
|
+
}[];
|
|
4503
|
+
bodyKind: "freeFormat";
|
|
4504
|
+
htmlBody: string | null;
|
|
4505
|
+
htmlStyle: string | null;
|
|
3367
4506
|
};
|
|
3368
4507
|
deliveryScheduledAt: string | null;
|
|
3369
4508
|
} | {
|
|
@@ -3397,6 +4536,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3397
4536
|
behaviorSegmentCodes: string[];
|
|
3398
4537
|
profileSegmentCodes: string[];
|
|
3399
4538
|
}[];
|
|
4539
|
+
bodyKind: "template";
|
|
3400
4540
|
projects: {
|
|
3401
4541
|
id: number | null;
|
|
3402
4542
|
slotNumber: number;
|
|
@@ -3424,6 +4564,18 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
3424
4564
|
} | null;
|
|
3425
4565
|
url: string | null;
|
|
3426
4566
|
}[];
|
|
4567
|
+
} | {
|
|
4568
|
+
utmCampaign: string | null;
|
|
4569
|
+
subject: string | null;
|
|
4570
|
+
preHeaderText: string | null;
|
|
4571
|
+
targetFilters: {
|
|
4572
|
+
id: number | null;
|
|
4573
|
+
behaviorSegmentCodes: string[];
|
|
4574
|
+
profileSegmentCodes: string[];
|
|
4575
|
+
}[];
|
|
4576
|
+
bodyKind: "freeFormat";
|
|
4577
|
+
htmlBody: string | null;
|
|
4578
|
+
htmlStyle: string | null;
|
|
3427
4579
|
};
|
|
3428
4580
|
deliveryScheduledAt: string | null;
|
|
3429
4581
|
} | {
|
|
@@ -3518,7 +4670,7 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3518
4670
|
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3519
4671
|
}, {
|
|
3520
4672
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
3521
|
-
curationMailMagazine: z.ZodObject<{
|
|
4673
|
+
curationMailMagazine: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
3522
4674
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3523
4675
|
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3524
4676
|
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -3536,6 +4688,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3536
4688
|
behaviorSegmentCodes: string[];
|
|
3537
4689
|
profileSegmentCodes: string[];
|
|
3538
4690
|
}>, "many">;
|
|
4691
|
+
}, {
|
|
4692
|
+
bodyKind: z.ZodLiteral<"template">;
|
|
3539
4693
|
projects: z.ZodArray<z.ZodObject<{
|
|
3540
4694
|
id: z.ZodNumber;
|
|
3541
4695
|
readyforProjectId: z.ZodNumber;
|
|
@@ -3583,7 +4737,7 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3583
4737
|
url: string | null;
|
|
3584
4738
|
imageUrl: string | null;
|
|
3585
4739
|
}>, "many">;
|
|
3586
|
-
}
|
|
4740
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3587
4741
|
utmCampaign: string | null;
|
|
3588
4742
|
subject: string | null;
|
|
3589
4743
|
preHeaderText: string | null;
|
|
@@ -3592,6 +4746,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3592
4746
|
behaviorSegmentCodes: string[];
|
|
3593
4747
|
profileSegmentCodes: string[];
|
|
3594
4748
|
}[];
|
|
4749
|
+
deliveredUsersCount: number | null;
|
|
4750
|
+
bodyKind: "template";
|
|
3595
4751
|
projects: {
|
|
3596
4752
|
id: number;
|
|
3597
4753
|
slotNumber: number;
|
|
@@ -3609,7 +4765,6 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3609
4765
|
url: string | null;
|
|
3610
4766
|
imageUrl: string | null;
|
|
3611
4767
|
}[];
|
|
3612
|
-
deliveredUsersCount: number | null;
|
|
3613
4768
|
}, {
|
|
3614
4769
|
utmCampaign: string | null;
|
|
3615
4770
|
subject: string | null;
|
|
@@ -3619,6 +4774,8 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3619
4774
|
behaviorSegmentCodes: string[];
|
|
3620
4775
|
profileSegmentCodes: string[];
|
|
3621
4776
|
}[];
|
|
4777
|
+
deliveredUsersCount: number | null;
|
|
4778
|
+
bodyKind: "template";
|
|
3622
4779
|
projects: {
|
|
3623
4780
|
id: number;
|
|
3624
4781
|
slotNumber: number;
|
|
@@ -3636,8 +4793,55 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3636
4793
|
url: string | null;
|
|
3637
4794
|
imageUrl: string | null;
|
|
3638
4795
|
}[];
|
|
4796
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
4797
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4798
|
+
subject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4799
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4800
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
4801
|
+
targetFilters: z.ZodArray<z.ZodObject<{
|
|
4802
|
+
id: z.ZodNumber;
|
|
4803
|
+
behaviorSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
4804
|
+
profileSegmentCodes: z.ZodArray<z.ZodString, "many">;
|
|
4805
|
+
}, "strip", z.ZodTypeAny, {
|
|
4806
|
+
id: number;
|
|
4807
|
+
behaviorSegmentCodes: string[];
|
|
4808
|
+
profileSegmentCodes: string[];
|
|
4809
|
+
}, {
|
|
4810
|
+
id: number;
|
|
4811
|
+
behaviorSegmentCodes: string[];
|
|
4812
|
+
profileSegmentCodes: string[];
|
|
4813
|
+
}>, "many">;
|
|
4814
|
+
}, {
|
|
4815
|
+
bodyKind: z.ZodLiteral<"freeFormat">;
|
|
4816
|
+
htmlBody: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4817
|
+
htmlStyle: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
4818
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4819
|
+
utmCampaign: string | null;
|
|
4820
|
+
subject: string | null;
|
|
4821
|
+
preHeaderText: string | null;
|
|
4822
|
+
targetFilters: {
|
|
4823
|
+
id: number;
|
|
4824
|
+
behaviorSegmentCodes: string[];
|
|
4825
|
+
profileSegmentCodes: string[];
|
|
4826
|
+
}[];
|
|
3639
4827
|
deliveredUsersCount: number | null;
|
|
3640
|
-
|
|
4828
|
+
bodyKind: "freeFormat";
|
|
4829
|
+
htmlBody: string | null;
|
|
4830
|
+
htmlStyle: string | null;
|
|
4831
|
+
}, {
|
|
4832
|
+
utmCampaign: string | null;
|
|
4833
|
+
subject: string | null;
|
|
4834
|
+
preHeaderText: string | null;
|
|
4835
|
+
targetFilters: {
|
|
4836
|
+
id: number;
|
|
4837
|
+
behaviorSegmentCodes: string[];
|
|
4838
|
+
profileSegmentCodes: string[];
|
|
4839
|
+
}[];
|
|
4840
|
+
deliveredUsersCount: number | null;
|
|
4841
|
+
bodyKind: "freeFormat";
|
|
4842
|
+
htmlBody: string | null;
|
|
4843
|
+
htmlStyle: string | null;
|
|
4844
|
+
}>]>;
|
|
3641
4845
|
}>, "strip", z.ZodTypeAny, {
|
|
3642
4846
|
kind: "curationMailMagazine";
|
|
3643
4847
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
@@ -3652,6 +4856,21 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3652
4856
|
behaviorSegmentCodes: string[];
|
|
3653
4857
|
profileSegmentCodes: string[];
|
|
3654
4858
|
}[];
|
|
4859
|
+
deliveredUsersCount: number | null;
|
|
4860
|
+
bodyKind: "freeFormat";
|
|
4861
|
+
htmlBody: string | null;
|
|
4862
|
+
htmlStyle: string | null;
|
|
4863
|
+
} | {
|
|
4864
|
+
utmCampaign: string | null;
|
|
4865
|
+
subject: string | null;
|
|
4866
|
+
preHeaderText: string | null;
|
|
4867
|
+
targetFilters: {
|
|
4868
|
+
id: number;
|
|
4869
|
+
behaviorSegmentCodes: string[];
|
|
4870
|
+
profileSegmentCodes: string[];
|
|
4871
|
+
}[];
|
|
4872
|
+
deliveredUsersCount: number | null;
|
|
4873
|
+
bodyKind: "template";
|
|
3655
4874
|
projects: {
|
|
3656
4875
|
id: number;
|
|
3657
4876
|
slotNumber: number;
|
|
@@ -3669,7 +4888,6 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3669
4888
|
url: string | null;
|
|
3670
4889
|
imageUrl: string | null;
|
|
3671
4890
|
}[];
|
|
3672
|
-
deliveredUsersCount: number | null;
|
|
3673
4891
|
};
|
|
3674
4892
|
deliveryScheduledAt: string | null;
|
|
3675
4893
|
}, {
|
|
@@ -3686,6 +4904,21 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3686
4904
|
behaviorSegmentCodes: string[];
|
|
3687
4905
|
profileSegmentCodes: string[];
|
|
3688
4906
|
}[];
|
|
4907
|
+
deliveredUsersCount: number | null;
|
|
4908
|
+
bodyKind: "freeFormat";
|
|
4909
|
+
htmlBody: string | null;
|
|
4910
|
+
htmlStyle: string | null;
|
|
4911
|
+
} | {
|
|
4912
|
+
utmCampaign: string | null;
|
|
4913
|
+
subject: string | null;
|
|
4914
|
+
preHeaderText: string | null;
|
|
4915
|
+
targetFilters: {
|
|
4916
|
+
id: number;
|
|
4917
|
+
behaviorSegmentCodes: string[];
|
|
4918
|
+
profileSegmentCodes: string[];
|
|
4919
|
+
}[];
|
|
4920
|
+
deliveredUsersCount: number | null;
|
|
4921
|
+
bodyKind: "template";
|
|
3689
4922
|
projects: {
|
|
3690
4923
|
id: number;
|
|
3691
4924
|
slotNumber: number;
|
|
@@ -3703,7 +4936,6 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3703
4936
|
url: string | null;
|
|
3704
4937
|
imageUrl: string | null;
|
|
3705
4938
|
}[];
|
|
3706
|
-
deliveredUsersCount: number | null;
|
|
3707
4939
|
};
|
|
3708
4940
|
deliveryScheduledAt: string | null;
|
|
3709
4941
|
}>]>;
|
|
@@ -3722,6 +4954,21 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3722
4954
|
behaviorSegmentCodes: string[];
|
|
3723
4955
|
profileSegmentCodes: string[];
|
|
3724
4956
|
}[];
|
|
4957
|
+
deliveredUsersCount: number | null;
|
|
4958
|
+
bodyKind: "freeFormat";
|
|
4959
|
+
htmlBody: string | null;
|
|
4960
|
+
htmlStyle: string | null;
|
|
4961
|
+
} | {
|
|
4962
|
+
utmCampaign: string | null;
|
|
4963
|
+
subject: string | null;
|
|
4964
|
+
preHeaderText: string | null;
|
|
4965
|
+
targetFilters: {
|
|
4966
|
+
id: number;
|
|
4967
|
+
behaviorSegmentCodes: string[];
|
|
4968
|
+
profileSegmentCodes: string[];
|
|
4969
|
+
}[];
|
|
4970
|
+
deliveredUsersCount: number | null;
|
|
4971
|
+
bodyKind: "template";
|
|
3725
4972
|
projects: {
|
|
3726
4973
|
id: number;
|
|
3727
4974
|
slotNumber: number;
|
|
@@ -3739,7 +4986,6 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3739
4986
|
url: string | null;
|
|
3740
4987
|
imageUrl: string | null;
|
|
3741
4988
|
}[];
|
|
3742
|
-
deliveredUsersCount: number | null;
|
|
3743
4989
|
};
|
|
3744
4990
|
deliveryScheduledAt: string | null;
|
|
3745
4991
|
} | {
|
|
@@ -3772,6 +5018,21 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3772
5018
|
behaviorSegmentCodes: string[];
|
|
3773
5019
|
profileSegmentCodes: string[];
|
|
3774
5020
|
}[];
|
|
5021
|
+
deliveredUsersCount: number | null;
|
|
5022
|
+
bodyKind: "freeFormat";
|
|
5023
|
+
htmlBody: string | null;
|
|
5024
|
+
htmlStyle: string | null;
|
|
5025
|
+
} | {
|
|
5026
|
+
utmCampaign: string | null;
|
|
5027
|
+
subject: string | null;
|
|
5028
|
+
preHeaderText: string | null;
|
|
5029
|
+
targetFilters: {
|
|
5030
|
+
id: number;
|
|
5031
|
+
behaviorSegmentCodes: string[];
|
|
5032
|
+
profileSegmentCodes: string[];
|
|
5033
|
+
}[];
|
|
5034
|
+
deliveredUsersCount: number | null;
|
|
5035
|
+
bodyKind: "template";
|
|
3775
5036
|
projects: {
|
|
3776
5037
|
id: number;
|
|
3777
5038
|
slotNumber: number;
|
|
@@ -3789,7 +5050,6 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
3789
5050
|
url: string | null;
|
|
3790
5051
|
imageUrl: string | null;
|
|
3791
5052
|
}[];
|
|
3792
|
-
deliveredUsersCount: number | null;
|
|
3793
5053
|
};
|
|
3794
5054
|
deliveryScheduledAt: string | null;
|
|
3795
5055
|
} | {
|
|
@@ -3872,19 +5132,19 @@ declare const GetCampaignsResponse: z.ZodObject<{
|
|
|
3872
5132
|
kind: "curationMailMagazine";
|
|
3873
5133
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
3874
5134
|
id: number;
|
|
5135
|
+
bodyKind: "template" | "freeFormat";
|
|
3875
5136
|
deliveryAt: string | null;
|
|
3876
5137
|
lastEditorName: string;
|
|
3877
5138
|
lastEditedAt: string;
|
|
3878
|
-
bodyKind: "template" | "freeFormat";
|
|
3879
5139
|
title?: string | null | undefined;
|
|
3880
5140
|
}, {
|
|
3881
5141
|
kind: "curationMailMagazine";
|
|
3882
5142
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
3883
5143
|
id: number;
|
|
5144
|
+
bodyKind: "template" | "freeFormat";
|
|
3884
5145
|
deliveryAt: string | null;
|
|
3885
5146
|
lastEditorName: string;
|
|
3886
5147
|
lastEditedAt: string;
|
|
3887
|
-
bodyKind: "template" | "freeFormat";
|
|
3888
5148
|
title?: string | null | undefined;
|
|
3889
5149
|
}>]>, "many">;
|
|
3890
5150
|
pagination: z.ZodObject<{
|
|
@@ -3920,10 +5180,10 @@ declare const GetCampaignsResponse: z.ZodObject<{
|
|
|
3920
5180
|
kind: "curationMailMagazine";
|
|
3921
5181
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
3922
5182
|
id: number;
|
|
5183
|
+
bodyKind: "template" | "freeFormat";
|
|
3923
5184
|
deliveryAt: string | null;
|
|
3924
5185
|
lastEditorName: string;
|
|
3925
5186
|
lastEditedAt: string;
|
|
3926
|
-
bodyKind: "template" | "freeFormat";
|
|
3927
5187
|
title?: string | null | undefined;
|
|
3928
5188
|
} | {
|
|
3929
5189
|
kind: "personalizedMailMagazine";
|
|
@@ -3949,10 +5209,10 @@ declare const GetCampaignsResponse: z.ZodObject<{
|
|
|
3949
5209
|
kind: "curationMailMagazine";
|
|
3950
5210
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
3951
5211
|
id: number;
|
|
5212
|
+
bodyKind: "template" | "freeFormat";
|
|
3952
5213
|
deliveryAt: string | null;
|
|
3953
5214
|
lastEditorName: string;
|
|
3954
5215
|
lastEditedAt: string;
|
|
3955
|
-
bodyKind: "template" | "freeFormat";
|
|
3956
5216
|
title?: string | null | undefined;
|
|
3957
5217
|
} | {
|
|
3958
5218
|
kind: "personalizedMailMagazine";
|
|
@@ -3975,4 +5235,4 @@ declare const GetCampaignsResponse: z.ZodObject<{
|
|
|
3975
5235
|
};
|
|
3976
5236
|
}>;
|
|
3977
5237
|
|
|
3978
|
-
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, CurationMailMagazineFormData, CurationMailMagazineProjectFormData, CurationMailMagazineTargetFilter, CurationMailMagazineTargetFilterFormData, CurationMailMagazineTargetProject, DeleteImageFormData, GetBehaviorSegmentsResponse, GetCampaignsCampaignIdPreviewResponse, GetCampaignsResponse, GetProfileSegmentsResponse, GetProjectsProjectIdOrKeywordResponse, GetTargetUsersCountResponse, HttpErrorBadRequest, ImageFormData, Pagination, PatchCampaignsCampaignIdRequestBody, PersonalizedMailMagazineCampaign, PersonalizedMailMagazineDetail, PersonalizedMailMagazineDetailTarget, PersonalizedMailMagazineFormData, PersonalizedMailMagazineTargetCsvFormData, PersonalizedMailMagazineTargetDeleteCsvFormData, PersonalizedMailMagazineTargetUploadCsvFormData, PersonalizedMailMagazineTargetUploadCsvRecordFormData, PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody, PostCampaignsRequestBody, PostCampaignsResponse, ReadyforProject, Segment, TargetFilterSegments, UploadImageFormData };
|
|
5238
|
+
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, ImageFormData, Pagination, PatchCampaignsCampaignIdRequestBody, PersonalizedMailMagazineCampaign, PersonalizedMailMagazineDetail, PersonalizedMailMagazineDetailTarget, PersonalizedMailMagazineFormData, PersonalizedMailMagazineTargetCsvFormData, PersonalizedMailMagazineTargetDeleteCsvFormData, PersonalizedMailMagazineTargetUploadCsvFormData, PersonalizedMailMagazineTargetUploadCsvRecordFormData, PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody, PostCampaignsRequestBody, PostCampaignsResponse, ReadyforProject, Segment, TargetFilterSegments, UploadImageFormData };
|