@readyfor/api-client-pigeon 0.236.0 → 0.237.0-pr956.5c759a0

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