@readyfor/api-client-pigeon 0.182.0 → 0.183.0-pr956.d140042
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-WK3GQ3EJ.mjs → chunk-6JD6O54D.mjs} +2 -7
- package/dist/{chunk-74WMCVT5.mjs → chunk-E4EBP7CH.mjs} +1 -1
- package/dist/{chunk-N3BEWWAR.mjs → chunk-IZKSS2SI.mjs} +1 -1
- package/dist/{chunk-27FMVK5R.mjs → chunk-MT42GIFV.mjs} +1 -1
- package/dist/{chunk-RNVZT75U.mjs → chunk-VCZLUTX6.mjs} +1 -1
- package/dist/{chunk-T7TYL5GC.mjs → chunk-WHRQDKQG.mjs} +85 -8
- package/dist/{chunk-OHDYCNMB.mjs → chunk-X3WKGXGL.mjs} +1 -1
- package/dist/components.d.mts +2483 -125
- package/dist/components.d.ts +2483 -125
- package/dist/components.js +94 -8
- package/dist/components.mjs +21 -3
- package/dist/fetch/campaigns.d.mts +2 -2
- package/dist/fetch/campaigns.d.ts +2 -2
- package/dist/fetch/campaigns.js +74 -6
- package/dist/fetch/campaigns.mjs +2 -2
- package/dist/fetch/campaignsId.d.mts +138 -30
- package/dist/fetch/campaignsId.d.ts +138 -30
- package/dist/fetch/campaignsId.js +75 -12
- package/dist/fetch/campaignsId.mjs +2 -2
- package/dist/fetch/projectsProjectIdOrKeyword.js +74 -6
- package/dist/fetch/projectsProjectIdOrKeyword.mjs +2 -2
- package/dist/hooks/index.js +74 -6
- package/dist/hooks/index.mjs +7 -7
- package/dist/hooks/useCampaigns.js +74 -6
- package/dist/hooks/useCampaigns.mjs +5 -5
- package/dist/hooks/useCampaignsId.js +74 -6
- package/dist/hooks/useCampaignsId.mjs +5 -5
- package/dist/hooks/useProjectsProjectIdOrKeyword.js +74 -6
- package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +5 -5
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +93 -12
- package/dist/index.mjs +23 -5
- package/dist/schemaType.d.mts +90 -43
- package/dist/schemaType.d.ts +90 -43
- package/package.json +9 -10
package/dist/components.d.mts
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
+
declare const DeleteImageFormData: z.ZodObject<{
|
|
4
|
+
kind: z.ZodLiteral<"delete">;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
kind: "delete";
|
|
7
|
+
}, {
|
|
8
|
+
kind: "delete";
|
|
9
|
+
}>;
|
|
10
|
+
declare const UploadImageFormData: z.ZodObject<{
|
|
11
|
+
kind: z.ZodLiteral<"upload">;
|
|
12
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
kind: "upload";
|
|
15
|
+
data?: any;
|
|
16
|
+
}, {
|
|
17
|
+
kind: "upload";
|
|
18
|
+
data?: any;
|
|
19
|
+
}>;
|
|
3
20
|
declare const PersonalizedMailMagazineTargetUploadCsvRecordFormData: z.ZodObject<{
|
|
4
21
|
userId: z.ZodNumber;
|
|
5
22
|
projectIds: z.ZodString;
|
|
@@ -10,6 +27,22 @@ declare const PersonalizedMailMagazineTargetUploadCsvRecordFormData: z.ZodObject
|
|
|
10
27
|
userId: number;
|
|
11
28
|
projectIds: string;
|
|
12
29
|
}>;
|
|
30
|
+
declare const ImageFormData: z.ZodUnion<[z.ZodObject<{
|
|
31
|
+
kind: z.ZodLiteral<"upload">;
|
|
32
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
kind: "upload";
|
|
35
|
+
data?: any;
|
|
36
|
+
}, {
|
|
37
|
+
kind: "upload";
|
|
38
|
+
data?: any;
|
|
39
|
+
}>, z.ZodObject<{
|
|
40
|
+
kind: z.ZodLiteral<"delete">;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
kind: "delete";
|
|
43
|
+
}, {
|
|
44
|
+
kind: "delete";
|
|
45
|
+
}>]>;
|
|
13
46
|
declare const PersonalizedMailMagazineTargetUploadCsvFormData: z.ZodObject<{
|
|
14
47
|
kind: z.ZodLiteral<"uploadCsv">;
|
|
15
48
|
fileName: z.ZodString;
|
|
@@ -45,6 +78,116 @@ declare const PersonalizedMailMagazineTargetDeleteCsvFormData: z.ZodObject<{
|
|
|
45
78
|
}, {
|
|
46
79
|
kind: "deleteTargetCsv";
|
|
47
80
|
}>;
|
|
81
|
+
declare const CurationMailMagazineBannerFormData: z.ZodObject<{
|
|
82
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
83
|
+
order: z.ZodNumber;
|
|
84
|
+
image: z.ZodUnion<[z.ZodObject<{
|
|
85
|
+
kind: z.ZodLiteral<"upload">;
|
|
86
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
87
|
+
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
kind: "upload";
|
|
89
|
+
data?: any;
|
|
90
|
+
}, {
|
|
91
|
+
kind: "upload";
|
|
92
|
+
data?: any;
|
|
93
|
+
}>, z.ZodObject<{
|
|
94
|
+
kind: z.ZodLiteral<"delete">;
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
kind: "delete";
|
|
97
|
+
}, {
|
|
98
|
+
kind: "delete";
|
|
99
|
+
}>]>;
|
|
100
|
+
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
101
|
+
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
id: number | null;
|
|
103
|
+
order: number;
|
|
104
|
+
image: {
|
|
105
|
+
kind: "delete";
|
|
106
|
+
} | {
|
|
107
|
+
kind: "upload";
|
|
108
|
+
data?: any;
|
|
109
|
+
};
|
|
110
|
+
url: string | null;
|
|
111
|
+
}, {
|
|
112
|
+
id: number | null;
|
|
113
|
+
order: number;
|
|
114
|
+
image: {
|
|
115
|
+
kind: "delete";
|
|
116
|
+
} | {
|
|
117
|
+
kind: "upload";
|
|
118
|
+
data?: any;
|
|
119
|
+
};
|
|
120
|
+
url: string | null;
|
|
121
|
+
}>;
|
|
122
|
+
declare const CurationMailMagazineProjectFormData: z.ZodObject<{
|
|
123
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
124
|
+
order: z.ZodNumber;
|
|
125
|
+
readyforProjectId: z.ZodNumber;
|
|
126
|
+
isPaidSlot: z.ZodBoolean;
|
|
127
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
128
|
+
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
129
|
+
thumbnal: z.ZodUnion<[z.ZodObject<{
|
|
130
|
+
kind: z.ZodLiteral<"upload">;
|
|
131
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
132
|
+
}, "strip", z.ZodTypeAny, {
|
|
133
|
+
kind: "upload";
|
|
134
|
+
data?: any;
|
|
135
|
+
}, {
|
|
136
|
+
kind: "upload";
|
|
137
|
+
data?: any;
|
|
138
|
+
}>, z.ZodObject<{
|
|
139
|
+
kind: z.ZodLiteral<"delete">;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
kind: "delete";
|
|
142
|
+
}, {
|
|
143
|
+
kind: "delete";
|
|
144
|
+
}>]>;
|
|
145
|
+
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
146
|
+
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
147
|
+
}, "strip", z.ZodTypeAny, {
|
|
148
|
+
id: number | null;
|
|
149
|
+
order: number;
|
|
150
|
+
readyforProjectId: number;
|
|
151
|
+
isPaidSlot: boolean;
|
|
152
|
+
title: string | null;
|
|
153
|
+
description: string | null;
|
|
154
|
+
thumbnal: {
|
|
155
|
+
kind: "delete";
|
|
156
|
+
} | {
|
|
157
|
+
kind: "upload";
|
|
158
|
+
data?: any;
|
|
159
|
+
};
|
|
160
|
+
tag: string | null;
|
|
161
|
+
tagUrl: string | null;
|
|
162
|
+
}, {
|
|
163
|
+
id: number | null;
|
|
164
|
+
order: number;
|
|
165
|
+
readyforProjectId: number;
|
|
166
|
+
isPaidSlot: boolean;
|
|
167
|
+
title: string | null;
|
|
168
|
+
description: string | null;
|
|
169
|
+
thumbnal: {
|
|
170
|
+
kind: "delete";
|
|
171
|
+
} | {
|
|
172
|
+
kind: "upload";
|
|
173
|
+
data?: any;
|
|
174
|
+
};
|
|
175
|
+
tag: string | null;
|
|
176
|
+
tagUrl: string | null;
|
|
177
|
+
}>;
|
|
178
|
+
declare const CurationMailMagazineTargetFormData: z.ZodObject<{
|
|
179
|
+
id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
180
|
+
behaviorSgumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
181
|
+
profileSgumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
182
|
+
}, "strip", z.ZodTypeAny, {
|
|
183
|
+
id: string | null;
|
|
184
|
+
behaviorSgumentCodes: string[];
|
|
185
|
+
profileSgumentCodes: string[];
|
|
186
|
+
}, {
|
|
187
|
+
id: string | null;
|
|
188
|
+
behaviorSgumentCodes: string[];
|
|
189
|
+
profileSgumentCodes: string[];
|
|
190
|
+
}>;
|
|
48
191
|
declare const PersonalizedMailMagazineTargetCsvFormData: z.ZodUnion<[z.ZodObject<{
|
|
49
192
|
kind: z.ZodLiteral<"deleteTargetCsv">;
|
|
50
193
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -79,6 +222,66 @@ declare const PersonalizedMailMagazineTargetCsvFormData: z.ZodUnion<[z.ZodObject
|
|
|
79
222
|
projectIds: string;
|
|
80
223
|
}[];
|
|
81
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
|
+
url: string | null;
|
|
233
|
+
slotNumber: number;
|
|
234
|
+
imageUrl: string | null;
|
|
235
|
+
}, {
|
|
236
|
+
id: number;
|
|
237
|
+
url: string | null;
|
|
238
|
+
slotNumber: number;
|
|
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
|
+
readyforProjectId: number;
|
|
254
|
+
isPaidSlot: boolean;
|
|
255
|
+
title: string | null;
|
|
256
|
+
description: string | null;
|
|
257
|
+
tag: string | null;
|
|
258
|
+
tagUrl: string | null;
|
|
259
|
+
slotNumber: number;
|
|
260
|
+
thumbnailUrl: string | null;
|
|
261
|
+
}, {
|
|
262
|
+
id: number;
|
|
263
|
+
readyforProjectId: number;
|
|
264
|
+
isPaidSlot: boolean;
|
|
265
|
+
title: string | null;
|
|
266
|
+
description: string | null;
|
|
267
|
+
tag: string | null;
|
|
268
|
+
tagUrl: string | null;
|
|
269
|
+
slotNumber: number;
|
|
270
|
+
thumbnailUrl: string | null;
|
|
271
|
+
}>;
|
|
272
|
+
declare const CurationMailMagazineTarget: z.ZodObject<{
|
|
273
|
+
id: z.ZodNumber;
|
|
274
|
+
behaviorSegumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
275
|
+
profileSegumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
276
|
+
}, "strip", z.ZodTypeAny, {
|
|
277
|
+
id: number;
|
|
278
|
+
behaviorSegumentCodes: string[];
|
|
279
|
+
profileSegumentCodes: string[];
|
|
280
|
+
}, {
|
|
281
|
+
id: number;
|
|
282
|
+
behaviorSegumentCodes: string[];
|
|
283
|
+
profileSegumentCodes: string[];
|
|
284
|
+
}>;
|
|
82
285
|
declare const PersonalizedMailMagazineDetailTarget: z.ZodObject<{
|
|
83
286
|
csvFileName: z.ZodString;
|
|
84
287
|
targetUsersCount: z.ZodNumber;
|
|
@@ -92,6 +295,193 @@ declare const PersonalizedMailMagazineDetailTarget: z.ZodObject<{
|
|
|
92
295
|
targetUsersCount: number;
|
|
93
296
|
excludedUsersCount: number;
|
|
94
297
|
}>;
|
|
298
|
+
declare const CurationMailMagazineFormData: z.ZodObject<{
|
|
299
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
300
|
+
mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
301
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
302
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
303
|
+
id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
304
|
+
behaviorSgumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
305
|
+
profileSgumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
306
|
+
}, "strip", z.ZodTypeAny, {
|
|
307
|
+
id: string | null;
|
|
308
|
+
behaviorSgumentCodes: string[];
|
|
309
|
+
profileSgumentCodes: string[];
|
|
310
|
+
}, {
|
|
311
|
+
id: string | null;
|
|
312
|
+
behaviorSgumentCodes: string[];
|
|
313
|
+
profileSgumentCodes: string[];
|
|
314
|
+
}>, "many">;
|
|
315
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
316
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
317
|
+
order: z.ZodNumber;
|
|
318
|
+
readyforProjectId: z.ZodNumber;
|
|
319
|
+
isPaidSlot: z.ZodBoolean;
|
|
320
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
321
|
+
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
322
|
+
thumbnal: z.ZodUnion<[z.ZodObject<{
|
|
323
|
+
kind: z.ZodLiteral<"upload">;
|
|
324
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
325
|
+
}, "strip", z.ZodTypeAny, {
|
|
326
|
+
kind: "upload";
|
|
327
|
+
data?: any;
|
|
328
|
+
}, {
|
|
329
|
+
kind: "upload";
|
|
330
|
+
data?: any;
|
|
331
|
+
}>, z.ZodObject<{
|
|
332
|
+
kind: z.ZodLiteral<"delete">;
|
|
333
|
+
}, "strip", z.ZodTypeAny, {
|
|
334
|
+
kind: "delete";
|
|
335
|
+
}, {
|
|
336
|
+
kind: "delete";
|
|
337
|
+
}>]>;
|
|
338
|
+
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
339
|
+
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
340
|
+
}, "strip", z.ZodTypeAny, {
|
|
341
|
+
id: number | null;
|
|
342
|
+
order: number;
|
|
343
|
+
readyforProjectId: number;
|
|
344
|
+
isPaidSlot: boolean;
|
|
345
|
+
title: string | null;
|
|
346
|
+
description: string | null;
|
|
347
|
+
thumbnal: {
|
|
348
|
+
kind: "delete";
|
|
349
|
+
} | {
|
|
350
|
+
kind: "upload";
|
|
351
|
+
data?: any;
|
|
352
|
+
};
|
|
353
|
+
tag: string | null;
|
|
354
|
+
tagUrl: string | null;
|
|
355
|
+
}, {
|
|
356
|
+
id: number | null;
|
|
357
|
+
order: number;
|
|
358
|
+
readyforProjectId: number;
|
|
359
|
+
isPaidSlot: boolean;
|
|
360
|
+
title: string | null;
|
|
361
|
+
description: string | null;
|
|
362
|
+
thumbnal: {
|
|
363
|
+
kind: "delete";
|
|
364
|
+
} | {
|
|
365
|
+
kind: "upload";
|
|
366
|
+
data?: any;
|
|
367
|
+
};
|
|
368
|
+
tag: string | null;
|
|
369
|
+
tagUrl: string | null;
|
|
370
|
+
}>, "many">;
|
|
371
|
+
banners: z.ZodArray<z.ZodObject<{
|
|
372
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
373
|
+
order: z.ZodNumber;
|
|
374
|
+
image: z.ZodUnion<[z.ZodObject<{
|
|
375
|
+
kind: z.ZodLiteral<"upload">;
|
|
376
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
377
|
+
}, "strip", z.ZodTypeAny, {
|
|
378
|
+
kind: "upload";
|
|
379
|
+
data?: any;
|
|
380
|
+
}, {
|
|
381
|
+
kind: "upload";
|
|
382
|
+
data?: any;
|
|
383
|
+
}>, z.ZodObject<{
|
|
384
|
+
kind: z.ZodLiteral<"delete">;
|
|
385
|
+
}, "strip", z.ZodTypeAny, {
|
|
386
|
+
kind: "delete";
|
|
387
|
+
}, {
|
|
388
|
+
kind: "delete";
|
|
389
|
+
}>]>;
|
|
390
|
+
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
391
|
+
}, "strip", z.ZodTypeAny, {
|
|
392
|
+
id: number | null;
|
|
393
|
+
order: number;
|
|
394
|
+
image: {
|
|
395
|
+
kind: "delete";
|
|
396
|
+
} | {
|
|
397
|
+
kind: "upload";
|
|
398
|
+
data?: any;
|
|
399
|
+
};
|
|
400
|
+
url: string | null;
|
|
401
|
+
}, {
|
|
402
|
+
id: number | null;
|
|
403
|
+
order: number;
|
|
404
|
+
image: {
|
|
405
|
+
kind: "delete";
|
|
406
|
+
} | {
|
|
407
|
+
kind: "upload";
|
|
408
|
+
data?: any;
|
|
409
|
+
};
|
|
410
|
+
url: string | null;
|
|
411
|
+
}>, "many">;
|
|
412
|
+
}, "strip", z.ZodTypeAny, {
|
|
413
|
+
utmCampaign: string | null;
|
|
414
|
+
mailSubject: string | null;
|
|
415
|
+
preHeaderText: string | null;
|
|
416
|
+
targets: {
|
|
417
|
+
id: string | null;
|
|
418
|
+
behaviorSgumentCodes: string[];
|
|
419
|
+
profileSgumentCodes: string[];
|
|
420
|
+
}[];
|
|
421
|
+
projects: {
|
|
422
|
+
id: number | null;
|
|
423
|
+
order: number;
|
|
424
|
+
readyforProjectId: number;
|
|
425
|
+
isPaidSlot: boolean;
|
|
426
|
+
title: string | null;
|
|
427
|
+
description: string | null;
|
|
428
|
+
thumbnal: {
|
|
429
|
+
kind: "delete";
|
|
430
|
+
} | {
|
|
431
|
+
kind: "upload";
|
|
432
|
+
data?: any;
|
|
433
|
+
};
|
|
434
|
+
tag: string | null;
|
|
435
|
+
tagUrl: string | null;
|
|
436
|
+
}[];
|
|
437
|
+
banners: {
|
|
438
|
+
id: number | null;
|
|
439
|
+
order: number;
|
|
440
|
+
image: {
|
|
441
|
+
kind: "delete";
|
|
442
|
+
} | {
|
|
443
|
+
kind: "upload";
|
|
444
|
+
data?: any;
|
|
445
|
+
};
|
|
446
|
+
url: string | null;
|
|
447
|
+
}[];
|
|
448
|
+
}, {
|
|
449
|
+
utmCampaign: string | null;
|
|
450
|
+
mailSubject: string | null;
|
|
451
|
+
preHeaderText: string | null;
|
|
452
|
+
targets: {
|
|
453
|
+
id: string | null;
|
|
454
|
+
behaviorSgumentCodes: string[];
|
|
455
|
+
profileSgumentCodes: string[];
|
|
456
|
+
}[];
|
|
457
|
+
projects: {
|
|
458
|
+
id: number | null;
|
|
459
|
+
order: number;
|
|
460
|
+
readyforProjectId: number;
|
|
461
|
+
isPaidSlot: boolean;
|
|
462
|
+
title: string | null;
|
|
463
|
+
description: string | null;
|
|
464
|
+
thumbnal: {
|
|
465
|
+
kind: "delete";
|
|
466
|
+
} | {
|
|
467
|
+
kind: "upload";
|
|
468
|
+
data?: any;
|
|
469
|
+
};
|
|
470
|
+
tag: string | null;
|
|
471
|
+
tagUrl: string | null;
|
|
472
|
+
}[];
|
|
473
|
+
banners: {
|
|
474
|
+
id: number | null;
|
|
475
|
+
order: number;
|
|
476
|
+
image: {
|
|
477
|
+
kind: "delete";
|
|
478
|
+
} | {
|
|
479
|
+
kind: "upload";
|
|
480
|
+
data?: any;
|
|
481
|
+
};
|
|
482
|
+
url: string | null;
|
|
483
|
+
}[];
|
|
484
|
+
}>;
|
|
95
485
|
declare const PersonalizedMailMagazineFormData: z.ZodObject<{
|
|
96
486
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
97
487
|
targetCsv: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
@@ -153,6 +543,126 @@ declare const PersonalizedMailMagazineFormData: z.ZodObject<{
|
|
|
153
543
|
kind: "deleteTargetCsv";
|
|
154
544
|
} | null;
|
|
155
545
|
}>;
|
|
546
|
+
declare const CurationMailMagazineDetail: z.ZodObject<{
|
|
547
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
548
|
+
mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
549
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
550
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
551
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
552
|
+
id: z.ZodNumber;
|
|
553
|
+
behaviorSegumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
554
|
+
profileSegumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
555
|
+
}, "strip", z.ZodTypeAny, {
|
|
556
|
+
id: number;
|
|
557
|
+
behaviorSegumentCodes: string[];
|
|
558
|
+
profileSegumentCodes: string[];
|
|
559
|
+
}, {
|
|
560
|
+
id: number;
|
|
561
|
+
behaviorSegumentCodes: string[];
|
|
562
|
+
profileSegumentCodes: string[];
|
|
563
|
+
}>, "many">;
|
|
564
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
565
|
+
id: z.ZodNumber;
|
|
566
|
+
readyforProjectId: z.ZodNumber;
|
|
567
|
+
slotNumber: z.ZodNumber;
|
|
568
|
+
isPaidSlot: z.ZodBoolean;
|
|
569
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
570
|
+
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
571
|
+
thumbnailUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
572
|
+
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
573
|
+
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
574
|
+
}, "strip", z.ZodTypeAny, {
|
|
575
|
+
id: number;
|
|
576
|
+
readyforProjectId: number;
|
|
577
|
+
isPaidSlot: boolean;
|
|
578
|
+
title: string | null;
|
|
579
|
+
description: string | null;
|
|
580
|
+
tag: string | null;
|
|
581
|
+
tagUrl: string | null;
|
|
582
|
+
slotNumber: number;
|
|
583
|
+
thumbnailUrl: string | null;
|
|
584
|
+
}, {
|
|
585
|
+
id: number;
|
|
586
|
+
readyforProjectId: number;
|
|
587
|
+
isPaidSlot: boolean;
|
|
588
|
+
title: string | null;
|
|
589
|
+
description: string | null;
|
|
590
|
+
tag: string | null;
|
|
591
|
+
tagUrl: string | null;
|
|
592
|
+
slotNumber: number;
|
|
593
|
+
thumbnailUrl: string | null;
|
|
594
|
+
}>, "many">;
|
|
595
|
+
banners: z.ZodArray<z.ZodObject<{
|
|
596
|
+
id: z.ZodNumber;
|
|
597
|
+
slotNumber: z.ZodNumber;
|
|
598
|
+
imageUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
599
|
+
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
600
|
+
}, "strip", z.ZodTypeAny, {
|
|
601
|
+
id: number;
|
|
602
|
+
url: string | null;
|
|
603
|
+
slotNumber: number;
|
|
604
|
+
imageUrl: string | null;
|
|
605
|
+
}, {
|
|
606
|
+
id: number;
|
|
607
|
+
url: string | null;
|
|
608
|
+
slotNumber: number;
|
|
609
|
+
imageUrl: string | null;
|
|
610
|
+
}>, "many">;
|
|
611
|
+
}, "strip", z.ZodTypeAny, {
|
|
612
|
+
utmCampaign: string | null;
|
|
613
|
+
mailSubject: string | null;
|
|
614
|
+
preHeaderText: string | null;
|
|
615
|
+
targets: {
|
|
616
|
+
id: number;
|
|
617
|
+
behaviorSegumentCodes: string[];
|
|
618
|
+
profileSegumentCodes: string[];
|
|
619
|
+
}[];
|
|
620
|
+
projects: {
|
|
621
|
+
id: number;
|
|
622
|
+
readyforProjectId: number;
|
|
623
|
+
isPaidSlot: boolean;
|
|
624
|
+
title: string | null;
|
|
625
|
+
description: string | null;
|
|
626
|
+
tag: string | null;
|
|
627
|
+
tagUrl: string | null;
|
|
628
|
+
slotNumber: number;
|
|
629
|
+
thumbnailUrl: string | null;
|
|
630
|
+
}[];
|
|
631
|
+
banners: {
|
|
632
|
+
id: number;
|
|
633
|
+
url: string | null;
|
|
634
|
+
slotNumber: number;
|
|
635
|
+
imageUrl: string | null;
|
|
636
|
+
}[];
|
|
637
|
+
deliveredUsersCount: number | null;
|
|
638
|
+
}, {
|
|
639
|
+
utmCampaign: string | null;
|
|
640
|
+
mailSubject: string | null;
|
|
641
|
+
preHeaderText: string | null;
|
|
642
|
+
targets: {
|
|
643
|
+
id: number;
|
|
644
|
+
behaviorSegumentCodes: string[];
|
|
645
|
+
profileSegumentCodes: string[];
|
|
646
|
+
}[];
|
|
647
|
+
projects: {
|
|
648
|
+
id: number;
|
|
649
|
+
readyforProjectId: number;
|
|
650
|
+
isPaidSlot: boolean;
|
|
651
|
+
title: string | null;
|
|
652
|
+
description: string | null;
|
|
653
|
+
tag: string | null;
|
|
654
|
+
tagUrl: string | null;
|
|
655
|
+
slotNumber: number;
|
|
656
|
+
thumbnailUrl: string | null;
|
|
657
|
+
}[];
|
|
658
|
+
banners: {
|
|
659
|
+
id: number;
|
|
660
|
+
url: string | null;
|
|
661
|
+
slotNumber: number;
|
|
662
|
+
imageUrl: string | null;
|
|
663
|
+
}[];
|
|
664
|
+
deliveredUsersCount: number | null;
|
|
665
|
+
}>;
|
|
156
666
|
declare const CampaignStatus: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
157
667
|
declare const PersonalizedMailMagazineDetail: z.ZodObject<{
|
|
158
668
|
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
@@ -186,23 +696,281 @@ declare const PersonalizedMailMagazineDetail: z.ZodObject<{
|
|
|
186
696
|
}>;
|
|
187
697
|
declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
|
|
188
698
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
189
|
-
curationMailMagazine: z.
|
|
699
|
+
curationMailMagazine: z.ZodObject<{
|
|
700
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
701
|
+
mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
702
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
703
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
704
|
+
id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
705
|
+
behaviorSgumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
706
|
+
profileSgumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
707
|
+
}, "strip", z.ZodTypeAny, {
|
|
708
|
+
id: string | null;
|
|
709
|
+
behaviorSgumentCodes: string[];
|
|
710
|
+
profileSgumentCodes: string[];
|
|
711
|
+
}, {
|
|
712
|
+
id: string | null;
|
|
713
|
+
behaviorSgumentCodes: string[];
|
|
714
|
+
profileSgumentCodes: string[];
|
|
715
|
+
}>, "many">;
|
|
716
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
717
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
718
|
+
order: z.ZodNumber;
|
|
719
|
+
readyforProjectId: z.ZodNumber;
|
|
720
|
+
isPaidSlot: z.ZodBoolean;
|
|
721
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
722
|
+
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
723
|
+
thumbnal: z.ZodUnion<[z.ZodObject<{
|
|
724
|
+
kind: z.ZodLiteral<"upload">;
|
|
725
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
726
|
+
}, "strip", z.ZodTypeAny, {
|
|
727
|
+
kind: "upload";
|
|
728
|
+
data?: any;
|
|
729
|
+
}, {
|
|
730
|
+
kind: "upload";
|
|
731
|
+
data?: any;
|
|
732
|
+
}>, z.ZodObject<{
|
|
733
|
+
kind: z.ZodLiteral<"delete">;
|
|
734
|
+
}, "strip", z.ZodTypeAny, {
|
|
735
|
+
kind: "delete";
|
|
736
|
+
}, {
|
|
737
|
+
kind: "delete";
|
|
738
|
+
}>]>;
|
|
739
|
+
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
740
|
+
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
741
|
+
}, "strip", z.ZodTypeAny, {
|
|
742
|
+
id: number | null;
|
|
743
|
+
order: number;
|
|
744
|
+
readyforProjectId: number;
|
|
745
|
+
isPaidSlot: boolean;
|
|
746
|
+
title: string | null;
|
|
747
|
+
description: string | null;
|
|
748
|
+
thumbnal: {
|
|
749
|
+
kind: "delete";
|
|
750
|
+
} | {
|
|
751
|
+
kind: "upload";
|
|
752
|
+
data?: any;
|
|
753
|
+
};
|
|
754
|
+
tag: string | null;
|
|
755
|
+
tagUrl: string | null;
|
|
756
|
+
}, {
|
|
757
|
+
id: number | null;
|
|
758
|
+
order: number;
|
|
759
|
+
readyforProjectId: number;
|
|
760
|
+
isPaidSlot: boolean;
|
|
761
|
+
title: string | null;
|
|
762
|
+
description: string | null;
|
|
763
|
+
thumbnal: {
|
|
764
|
+
kind: "delete";
|
|
765
|
+
} | {
|
|
766
|
+
kind: "upload";
|
|
767
|
+
data?: any;
|
|
768
|
+
};
|
|
769
|
+
tag: string | null;
|
|
770
|
+
tagUrl: string | null;
|
|
771
|
+
}>, "many">;
|
|
772
|
+
banners: z.ZodArray<z.ZodObject<{
|
|
773
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
774
|
+
order: z.ZodNumber;
|
|
775
|
+
image: z.ZodUnion<[z.ZodObject<{
|
|
776
|
+
kind: z.ZodLiteral<"upload">;
|
|
777
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
778
|
+
}, "strip", z.ZodTypeAny, {
|
|
779
|
+
kind: "upload";
|
|
780
|
+
data?: any;
|
|
781
|
+
}, {
|
|
782
|
+
kind: "upload";
|
|
783
|
+
data?: any;
|
|
784
|
+
}>, z.ZodObject<{
|
|
785
|
+
kind: z.ZodLiteral<"delete">;
|
|
786
|
+
}, "strip", z.ZodTypeAny, {
|
|
787
|
+
kind: "delete";
|
|
788
|
+
}, {
|
|
789
|
+
kind: "delete";
|
|
790
|
+
}>]>;
|
|
791
|
+
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
792
|
+
}, "strip", z.ZodTypeAny, {
|
|
793
|
+
id: number | null;
|
|
794
|
+
order: number;
|
|
795
|
+
image: {
|
|
796
|
+
kind: "delete";
|
|
797
|
+
} | {
|
|
798
|
+
kind: "upload";
|
|
799
|
+
data?: any;
|
|
800
|
+
};
|
|
801
|
+
url: string | null;
|
|
802
|
+
}, {
|
|
803
|
+
id: number | null;
|
|
804
|
+
order: number;
|
|
805
|
+
image: {
|
|
806
|
+
kind: "delete";
|
|
807
|
+
} | {
|
|
808
|
+
kind: "upload";
|
|
809
|
+
data?: any;
|
|
810
|
+
};
|
|
811
|
+
url: string | null;
|
|
812
|
+
}>, "many">;
|
|
813
|
+
}, "strip", z.ZodTypeAny, {
|
|
814
|
+
utmCampaign: string | null;
|
|
815
|
+
mailSubject: string | null;
|
|
816
|
+
preHeaderText: string | null;
|
|
817
|
+
targets: {
|
|
818
|
+
id: string | null;
|
|
819
|
+
behaviorSgumentCodes: string[];
|
|
820
|
+
profileSgumentCodes: string[];
|
|
821
|
+
}[];
|
|
822
|
+
projects: {
|
|
823
|
+
id: number | null;
|
|
824
|
+
order: number;
|
|
825
|
+
readyforProjectId: number;
|
|
826
|
+
isPaidSlot: boolean;
|
|
827
|
+
title: string | null;
|
|
828
|
+
description: string | null;
|
|
829
|
+
thumbnal: {
|
|
830
|
+
kind: "delete";
|
|
831
|
+
} | {
|
|
832
|
+
kind: "upload";
|
|
833
|
+
data?: any;
|
|
834
|
+
};
|
|
835
|
+
tag: string | null;
|
|
836
|
+
tagUrl: string | null;
|
|
837
|
+
}[];
|
|
838
|
+
banners: {
|
|
839
|
+
id: number | null;
|
|
840
|
+
order: number;
|
|
841
|
+
image: {
|
|
842
|
+
kind: "delete";
|
|
843
|
+
} | {
|
|
844
|
+
kind: "upload";
|
|
845
|
+
data?: any;
|
|
846
|
+
};
|
|
847
|
+
url: string | null;
|
|
848
|
+
}[];
|
|
849
|
+
}, {
|
|
850
|
+
utmCampaign: string | null;
|
|
851
|
+
mailSubject: string | null;
|
|
852
|
+
preHeaderText: string | null;
|
|
853
|
+
targets: {
|
|
854
|
+
id: string | null;
|
|
855
|
+
behaviorSgumentCodes: string[];
|
|
856
|
+
profileSgumentCodes: string[];
|
|
857
|
+
}[];
|
|
858
|
+
projects: {
|
|
859
|
+
id: number | null;
|
|
860
|
+
order: number;
|
|
861
|
+
readyforProjectId: number;
|
|
862
|
+
isPaidSlot: boolean;
|
|
863
|
+
title: string | null;
|
|
864
|
+
description: string | null;
|
|
865
|
+
thumbnal: {
|
|
866
|
+
kind: "delete";
|
|
867
|
+
} | {
|
|
868
|
+
kind: "upload";
|
|
869
|
+
data?: any;
|
|
870
|
+
};
|
|
871
|
+
tag: string | null;
|
|
872
|
+
tagUrl: string | null;
|
|
873
|
+
}[];
|
|
874
|
+
banners: {
|
|
875
|
+
id: number | null;
|
|
876
|
+
order: number;
|
|
877
|
+
image: {
|
|
878
|
+
kind: "delete";
|
|
879
|
+
} | {
|
|
880
|
+
kind: "upload";
|
|
881
|
+
data?: any;
|
|
882
|
+
};
|
|
883
|
+
url: string | null;
|
|
884
|
+
}[];
|
|
885
|
+
}>;
|
|
190
886
|
}, "strip", z.ZodTypeAny, {
|
|
191
887
|
kind: "curationMailMagazine";
|
|
192
|
-
curationMailMagazine:
|
|
888
|
+
curationMailMagazine: {
|
|
889
|
+
utmCampaign: string | null;
|
|
890
|
+
mailSubject: string | null;
|
|
891
|
+
preHeaderText: string | null;
|
|
892
|
+
targets: {
|
|
893
|
+
id: string | null;
|
|
894
|
+
behaviorSgumentCodes: string[];
|
|
895
|
+
profileSgumentCodes: string[];
|
|
896
|
+
}[];
|
|
897
|
+
projects: {
|
|
898
|
+
id: number | null;
|
|
899
|
+
order: number;
|
|
900
|
+
readyforProjectId: number;
|
|
901
|
+
isPaidSlot: boolean;
|
|
902
|
+
title: string | null;
|
|
903
|
+
description: string | null;
|
|
904
|
+
thumbnal: {
|
|
905
|
+
kind: "delete";
|
|
906
|
+
} | {
|
|
907
|
+
kind: "upload";
|
|
908
|
+
data?: any;
|
|
909
|
+
};
|
|
910
|
+
tag: string | null;
|
|
911
|
+
tagUrl: string | null;
|
|
912
|
+
}[];
|
|
913
|
+
banners: {
|
|
914
|
+
id: number | null;
|
|
915
|
+
order: number;
|
|
916
|
+
image: {
|
|
917
|
+
kind: "delete";
|
|
918
|
+
} | {
|
|
919
|
+
kind: "upload";
|
|
920
|
+
data?: any;
|
|
921
|
+
};
|
|
922
|
+
url: string | null;
|
|
923
|
+
}[];
|
|
924
|
+
};
|
|
193
925
|
}, {
|
|
194
926
|
kind: "curationMailMagazine";
|
|
195
|
-
curationMailMagazine:
|
|
927
|
+
curationMailMagazine: {
|
|
928
|
+
utmCampaign: string | null;
|
|
929
|
+
mailSubject: string | null;
|
|
930
|
+
preHeaderText: string | null;
|
|
931
|
+
targets: {
|
|
932
|
+
id: string | null;
|
|
933
|
+
behaviorSgumentCodes: string[];
|
|
934
|
+
profileSgumentCodes: string[];
|
|
935
|
+
}[];
|
|
936
|
+
projects: {
|
|
937
|
+
id: number | null;
|
|
938
|
+
order: number;
|
|
939
|
+
readyforProjectId: number;
|
|
940
|
+
isPaidSlot: boolean;
|
|
941
|
+
title: string | null;
|
|
942
|
+
description: string | null;
|
|
943
|
+
thumbnal: {
|
|
944
|
+
kind: "delete";
|
|
945
|
+
} | {
|
|
946
|
+
kind: "upload";
|
|
947
|
+
data?: any;
|
|
948
|
+
};
|
|
949
|
+
tag: string | null;
|
|
950
|
+
tagUrl: string | null;
|
|
951
|
+
}[];
|
|
952
|
+
banners: {
|
|
953
|
+
id: number | null;
|
|
954
|
+
order: number;
|
|
955
|
+
image: {
|
|
956
|
+
kind: "delete";
|
|
957
|
+
} | {
|
|
958
|
+
kind: "upload";
|
|
959
|
+
data?: any;
|
|
960
|
+
};
|
|
961
|
+
url: string | null;
|
|
962
|
+
}[];
|
|
963
|
+
};
|
|
196
964
|
}>;
|
|
197
965
|
declare const CampaignBaseFormData: z.ZodObject<{
|
|
198
966
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
199
|
-
|
|
967
|
+
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
200
968
|
}, "strip", z.ZodTypeAny, {
|
|
201
969
|
title: string | null;
|
|
202
|
-
|
|
970
|
+
deliveryScheduledAt: string | null;
|
|
203
971
|
}, {
|
|
204
972
|
title: string | null;
|
|
205
|
-
|
|
973
|
+
deliveryScheduledAt: string | null;
|
|
206
974
|
}>;
|
|
207
975
|
declare const CampaignKindDataPersonalizedMailMagazineFormData: z.ZodObject<{
|
|
208
976
|
kind: z.ZodLiteral<"personalizedMailMagazine">;
|
|
@@ -300,29 +1068,202 @@ declare const CampaignKindDataPersonalizedMailMagazineFormData: z.ZodObject<{
|
|
|
300
1068
|
}>;
|
|
301
1069
|
declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
|
|
302
1070
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
303
|
-
curationMailMagazine: z.
|
|
1071
|
+
curationMailMagazine: z.ZodObject<{
|
|
1072
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1073
|
+
mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1074
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1075
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
1076
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
1077
|
+
id: z.ZodNumber;
|
|
1078
|
+
behaviorSegumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1079
|
+
profileSegumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1080
|
+
}, "strip", z.ZodTypeAny, {
|
|
1081
|
+
id: number;
|
|
1082
|
+
behaviorSegumentCodes: string[];
|
|
1083
|
+
profileSegumentCodes: string[];
|
|
1084
|
+
}, {
|
|
1085
|
+
id: number;
|
|
1086
|
+
behaviorSegumentCodes: string[];
|
|
1087
|
+
profileSegumentCodes: string[];
|
|
1088
|
+
}>, "many">;
|
|
1089
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
1090
|
+
id: z.ZodNumber;
|
|
1091
|
+
readyforProjectId: z.ZodNumber;
|
|
1092
|
+
slotNumber: z.ZodNumber;
|
|
1093
|
+
isPaidSlot: z.ZodBoolean;
|
|
1094
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1095
|
+
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1096
|
+
thumbnailUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1097
|
+
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1098
|
+
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1099
|
+
}, "strip", z.ZodTypeAny, {
|
|
1100
|
+
id: number;
|
|
1101
|
+
readyforProjectId: number;
|
|
1102
|
+
isPaidSlot: boolean;
|
|
1103
|
+
title: string | null;
|
|
1104
|
+
description: string | null;
|
|
1105
|
+
tag: string | null;
|
|
1106
|
+
tagUrl: string | null;
|
|
1107
|
+
slotNumber: number;
|
|
1108
|
+
thumbnailUrl: string | null;
|
|
1109
|
+
}, {
|
|
1110
|
+
id: number;
|
|
1111
|
+
readyforProjectId: number;
|
|
1112
|
+
isPaidSlot: boolean;
|
|
1113
|
+
title: string | null;
|
|
1114
|
+
description: string | null;
|
|
1115
|
+
tag: string | null;
|
|
1116
|
+
tagUrl: string | null;
|
|
1117
|
+
slotNumber: number;
|
|
1118
|
+
thumbnailUrl: string | null;
|
|
1119
|
+
}>, "many">;
|
|
1120
|
+
banners: z.ZodArray<z.ZodObject<{
|
|
1121
|
+
id: z.ZodNumber;
|
|
1122
|
+
slotNumber: z.ZodNumber;
|
|
1123
|
+
imageUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1124
|
+
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1125
|
+
}, "strip", z.ZodTypeAny, {
|
|
1126
|
+
id: number;
|
|
1127
|
+
url: string | null;
|
|
1128
|
+
slotNumber: number;
|
|
1129
|
+
imageUrl: string | null;
|
|
1130
|
+
}, {
|
|
1131
|
+
id: number;
|
|
1132
|
+
url: string | null;
|
|
1133
|
+
slotNumber: number;
|
|
1134
|
+
imageUrl: string | null;
|
|
1135
|
+
}>, "many">;
|
|
1136
|
+
}, "strip", z.ZodTypeAny, {
|
|
1137
|
+
utmCampaign: string | null;
|
|
1138
|
+
mailSubject: string | null;
|
|
1139
|
+
preHeaderText: string | null;
|
|
1140
|
+
targets: {
|
|
1141
|
+
id: number;
|
|
1142
|
+
behaviorSegumentCodes: string[];
|
|
1143
|
+
profileSegumentCodes: string[];
|
|
1144
|
+
}[];
|
|
1145
|
+
projects: {
|
|
1146
|
+
id: number;
|
|
1147
|
+
readyforProjectId: number;
|
|
1148
|
+
isPaidSlot: boolean;
|
|
1149
|
+
title: string | null;
|
|
1150
|
+
description: string | null;
|
|
1151
|
+
tag: string | null;
|
|
1152
|
+
tagUrl: string | null;
|
|
1153
|
+
slotNumber: number;
|
|
1154
|
+
thumbnailUrl: string | null;
|
|
1155
|
+
}[];
|
|
1156
|
+
banners: {
|
|
1157
|
+
id: number;
|
|
1158
|
+
url: string | null;
|
|
1159
|
+
slotNumber: number;
|
|
1160
|
+
imageUrl: string | null;
|
|
1161
|
+
}[];
|
|
1162
|
+
deliveredUsersCount: number | null;
|
|
1163
|
+
}, {
|
|
1164
|
+
utmCampaign: string | null;
|
|
1165
|
+
mailSubject: string | null;
|
|
1166
|
+
preHeaderText: string | null;
|
|
1167
|
+
targets: {
|
|
1168
|
+
id: number;
|
|
1169
|
+
behaviorSegumentCodes: string[];
|
|
1170
|
+
profileSegumentCodes: string[];
|
|
1171
|
+
}[];
|
|
1172
|
+
projects: {
|
|
1173
|
+
id: number;
|
|
1174
|
+
readyforProjectId: number;
|
|
1175
|
+
isPaidSlot: boolean;
|
|
1176
|
+
title: string | null;
|
|
1177
|
+
description: string | null;
|
|
1178
|
+
tag: string | null;
|
|
1179
|
+
tagUrl: string | null;
|
|
1180
|
+
slotNumber: number;
|
|
1181
|
+
thumbnailUrl: string | null;
|
|
1182
|
+
}[];
|
|
1183
|
+
banners: {
|
|
1184
|
+
id: number;
|
|
1185
|
+
url: string | null;
|
|
1186
|
+
slotNumber: number;
|
|
1187
|
+
imageUrl: string | null;
|
|
1188
|
+
}[];
|
|
1189
|
+
deliveredUsersCount: number | null;
|
|
1190
|
+
}>;
|
|
304
1191
|
}, "strip", z.ZodTypeAny, {
|
|
305
1192
|
kind: "curationMailMagazine";
|
|
306
|
-
curationMailMagazine:
|
|
1193
|
+
curationMailMagazine: {
|
|
1194
|
+
utmCampaign: string | null;
|
|
1195
|
+
mailSubject: string | null;
|
|
1196
|
+
preHeaderText: string | null;
|
|
1197
|
+
targets: {
|
|
1198
|
+
id: number;
|
|
1199
|
+
behaviorSegumentCodes: string[];
|
|
1200
|
+
profileSegumentCodes: string[];
|
|
1201
|
+
}[];
|
|
1202
|
+
projects: {
|
|
1203
|
+
id: number;
|
|
1204
|
+
readyforProjectId: number;
|
|
1205
|
+
isPaidSlot: boolean;
|
|
1206
|
+
title: string | null;
|
|
1207
|
+
description: string | null;
|
|
1208
|
+
tag: string | null;
|
|
1209
|
+
tagUrl: string | null;
|
|
1210
|
+
slotNumber: number;
|
|
1211
|
+
thumbnailUrl: string | null;
|
|
1212
|
+
}[];
|
|
1213
|
+
banners: {
|
|
1214
|
+
id: number;
|
|
1215
|
+
url: string | null;
|
|
1216
|
+
slotNumber: number;
|
|
1217
|
+
imageUrl: string | null;
|
|
1218
|
+
}[];
|
|
1219
|
+
deliveredUsersCount: number | null;
|
|
1220
|
+
};
|
|
307
1221
|
}, {
|
|
308
1222
|
kind: "curationMailMagazine";
|
|
309
|
-
curationMailMagazine:
|
|
1223
|
+
curationMailMagazine: {
|
|
1224
|
+
utmCampaign: string | null;
|
|
1225
|
+
mailSubject: string | null;
|
|
1226
|
+
preHeaderText: string | null;
|
|
1227
|
+
targets: {
|
|
1228
|
+
id: number;
|
|
1229
|
+
behaviorSegumentCodes: string[];
|
|
1230
|
+
profileSegumentCodes: string[];
|
|
1231
|
+
}[];
|
|
1232
|
+
projects: {
|
|
1233
|
+
id: number;
|
|
1234
|
+
readyforProjectId: number;
|
|
1235
|
+
isPaidSlot: boolean;
|
|
1236
|
+
title: string | null;
|
|
1237
|
+
description: string | null;
|
|
1238
|
+
tag: string | null;
|
|
1239
|
+
tagUrl: string | null;
|
|
1240
|
+
slotNumber: number;
|
|
1241
|
+
thumbnailUrl: string | null;
|
|
1242
|
+
}[];
|
|
1243
|
+
banners: {
|
|
1244
|
+
id: number;
|
|
1245
|
+
url: string | null;
|
|
1246
|
+
slotNumber: number;
|
|
1247
|
+
imageUrl: string | null;
|
|
1248
|
+
}[];
|
|
1249
|
+
deliveredUsersCount: number | null;
|
|
1250
|
+
};
|
|
310
1251
|
}>;
|
|
311
1252
|
declare const CampaignDetailBase: z.ZodObject<{
|
|
312
1253
|
id: z.ZodNumber;
|
|
313
1254
|
status: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
314
1255
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
315
|
-
|
|
1256
|
+
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
316
1257
|
}, "strip", z.ZodTypeAny, {
|
|
317
1258
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
318
|
-
title: string | null;
|
|
319
|
-
scheduledDeliveryAt: string | null;
|
|
320
1259
|
id: number;
|
|
1260
|
+
title: string | null;
|
|
1261
|
+
deliveryScheduledAt: string | null;
|
|
321
1262
|
}, {
|
|
322
1263
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
323
|
-
title: string | null;
|
|
324
|
-
scheduledDeliveryAt: string | null;
|
|
325
1264
|
id: number;
|
|
1265
|
+
title: string | null;
|
|
1266
|
+
deliveryScheduledAt: string | null;
|
|
326
1267
|
}>;
|
|
327
1268
|
declare const CampaignDetailKindDataPersonalizedMailMagazine: z.ZodObject<{
|
|
328
1269
|
kind: z.ZodLiteral<"personalizedMailMagazine">;
|
|
@@ -379,24 +1320,282 @@ declare const CampaignDetailKindDataPersonalizedMailMagazine: z.ZodObject<{
|
|
|
379
1320
|
}>;
|
|
380
1321
|
declare const CampaignWithCurationMailMagazineFormData: z.ZodObject<z.objectUtil.extendShape<{
|
|
381
1322
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
382
|
-
|
|
1323
|
+
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
383
1324
|
}, {
|
|
384
1325
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
385
|
-
curationMailMagazine: z.
|
|
1326
|
+
curationMailMagazine: z.ZodObject<{
|
|
1327
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1328
|
+
mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1329
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1330
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
1331
|
+
id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1332
|
+
behaviorSgumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1333
|
+
profileSgumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1334
|
+
}, "strip", z.ZodTypeAny, {
|
|
1335
|
+
id: string | null;
|
|
1336
|
+
behaviorSgumentCodes: string[];
|
|
1337
|
+
profileSgumentCodes: string[];
|
|
1338
|
+
}, {
|
|
1339
|
+
id: string | null;
|
|
1340
|
+
behaviorSgumentCodes: string[];
|
|
1341
|
+
profileSgumentCodes: string[];
|
|
1342
|
+
}>, "many">;
|
|
1343
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
1344
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
1345
|
+
order: z.ZodNumber;
|
|
1346
|
+
readyforProjectId: z.ZodNumber;
|
|
1347
|
+
isPaidSlot: z.ZodBoolean;
|
|
1348
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1349
|
+
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1350
|
+
thumbnal: z.ZodUnion<[z.ZodObject<{
|
|
1351
|
+
kind: z.ZodLiteral<"upload">;
|
|
1352
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
1353
|
+
}, "strip", z.ZodTypeAny, {
|
|
1354
|
+
kind: "upload";
|
|
1355
|
+
data?: any;
|
|
1356
|
+
}, {
|
|
1357
|
+
kind: "upload";
|
|
1358
|
+
data?: any;
|
|
1359
|
+
}>, z.ZodObject<{
|
|
1360
|
+
kind: z.ZodLiteral<"delete">;
|
|
1361
|
+
}, "strip", z.ZodTypeAny, {
|
|
1362
|
+
kind: "delete";
|
|
1363
|
+
}, {
|
|
1364
|
+
kind: "delete";
|
|
1365
|
+
}>]>;
|
|
1366
|
+
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1367
|
+
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1368
|
+
}, "strip", z.ZodTypeAny, {
|
|
1369
|
+
id: number | null;
|
|
1370
|
+
order: number;
|
|
1371
|
+
readyforProjectId: number;
|
|
1372
|
+
isPaidSlot: boolean;
|
|
1373
|
+
title: string | null;
|
|
1374
|
+
description: string | null;
|
|
1375
|
+
thumbnal: {
|
|
1376
|
+
kind: "delete";
|
|
1377
|
+
} | {
|
|
1378
|
+
kind: "upload";
|
|
1379
|
+
data?: any;
|
|
1380
|
+
};
|
|
1381
|
+
tag: string | null;
|
|
1382
|
+
tagUrl: string | null;
|
|
1383
|
+
}, {
|
|
1384
|
+
id: number | null;
|
|
1385
|
+
order: number;
|
|
1386
|
+
readyforProjectId: number;
|
|
1387
|
+
isPaidSlot: boolean;
|
|
1388
|
+
title: string | null;
|
|
1389
|
+
description: string | null;
|
|
1390
|
+
thumbnal: {
|
|
1391
|
+
kind: "delete";
|
|
1392
|
+
} | {
|
|
1393
|
+
kind: "upload";
|
|
1394
|
+
data?: any;
|
|
1395
|
+
};
|
|
1396
|
+
tag: string | null;
|
|
1397
|
+
tagUrl: string | null;
|
|
1398
|
+
}>, "many">;
|
|
1399
|
+
banners: z.ZodArray<z.ZodObject<{
|
|
1400
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
1401
|
+
order: z.ZodNumber;
|
|
1402
|
+
image: z.ZodUnion<[z.ZodObject<{
|
|
1403
|
+
kind: z.ZodLiteral<"upload">;
|
|
1404
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
1405
|
+
}, "strip", z.ZodTypeAny, {
|
|
1406
|
+
kind: "upload";
|
|
1407
|
+
data?: any;
|
|
1408
|
+
}, {
|
|
1409
|
+
kind: "upload";
|
|
1410
|
+
data?: any;
|
|
1411
|
+
}>, z.ZodObject<{
|
|
1412
|
+
kind: z.ZodLiteral<"delete">;
|
|
1413
|
+
}, "strip", z.ZodTypeAny, {
|
|
1414
|
+
kind: "delete";
|
|
1415
|
+
}, {
|
|
1416
|
+
kind: "delete";
|
|
1417
|
+
}>]>;
|
|
1418
|
+
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1419
|
+
}, "strip", z.ZodTypeAny, {
|
|
1420
|
+
id: number | null;
|
|
1421
|
+
order: number;
|
|
1422
|
+
image: {
|
|
1423
|
+
kind: "delete";
|
|
1424
|
+
} | {
|
|
1425
|
+
kind: "upload";
|
|
1426
|
+
data?: any;
|
|
1427
|
+
};
|
|
1428
|
+
url: string | null;
|
|
1429
|
+
}, {
|
|
1430
|
+
id: number | null;
|
|
1431
|
+
order: number;
|
|
1432
|
+
image: {
|
|
1433
|
+
kind: "delete";
|
|
1434
|
+
} | {
|
|
1435
|
+
kind: "upload";
|
|
1436
|
+
data?: any;
|
|
1437
|
+
};
|
|
1438
|
+
url: string | null;
|
|
1439
|
+
}>, "many">;
|
|
1440
|
+
}, "strip", z.ZodTypeAny, {
|
|
1441
|
+
utmCampaign: string | null;
|
|
1442
|
+
mailSubject: string | null;
|
|
1443
|
+
preHeaderText: string | null;
|
|
1444
|
+
targets: {
|
|
1445
|
+
id: string | null;
|
|
1446
|
+
behaviorSgumentCodes: string[];
|
|
1447
|
+
profileSgumentCodes: string[];
|
|
1448
|
+
}[];
|
|
1449
|
+
projects: {
|
|
1450
|
+
id: number | null;
|
|
1451
|
+
order: number;
|
|
1452
|
+
readyforProjectId: number;
|
|
1453
|
+
isPaidSlot: boolean;
|
|
1454
|
+
title: string | null;
|
|
1455
|
+
description: string | null;
|
|
1456
|
+
thumbnal: {
|
|
1457
|
+
kind: "delete";
|
|
1458
|
+
} | {
|
|
1459
|
+
kind: "upload";
|
|
1460
|
+
data?: any;
|
|
1461
|
+
};
|
|
1462
|
+
tag: string | null;
|
|
1463
|
+
tagUrl: string | null;
|
|
1464
|
+
}[];
|
|
1465
|
+
banners: {
|
|
1466
|
+
id: number | null;
|
|
1467
|
+
order: number;
|
|
1468
|
+
image: {
|
|
1469
|
+
kind: "delete";
|
|
1470
|
+
} | {
|
|
1471
|
+
kind: "upload";
|
|
1472
|
+
data?: any;
|
|
1473
|
+
};
|
|
1474
|
+
url: string | null;
|
|
1475
|
+
}[];
|
|
1476
|
+
}, {
|
|
1477
|
+
utmCampaign: string | null;
|
|
1478
|
+
mailSubject: string | null;
|
|
1479
|
+
preHeaderText: string | null;
|
|
1480
|
+
targets: {
|
|
1481
|
+
id: string | null;
|
|
1482
|
+
behaviorSgumentCodes: string[];
|
|
1483
|
+
profileSgumentCodes: string[];
|
|
1484
|
+
}[];
|
|
1485
|
+
projects: {
|
|
1486
|
+
id: number | null;
|
|
1487
|
+
order: number;
|
|
1488
|
+
readyforProjectId: number;
|
|
1489
|
+
isPaidSlot: boolean;
|
|
1490
|
+
title: string | null;
|
|
1491
|
+
description: string | null;
|
|
1492
|
+
thumbnal: {
|
|
1493
|
+
kind: "delete";
|
|
1494
|
+
} | {
|
|
1495
|
+
kind: "upload";
|
|
1496
|
+
data?: any;
|
|
1497
|
+
};
|
|
1498
|
+
tag: string | null;
|
|
1499
|
+
tagUrl: string | null;
|
|
1500
|
+
}[];
|
|
1501
|
+
banners: {
|
|
1502
|
+
id: number | null;
|
|
1503
|
+
order: number;
|
|
1504
|
+
image: {
|
|
1505
|
+
kind: "delete";
|
|
1506
|
+
} | {
|
|
1507
|
+
kind: "upload";
|
|
1508
|
+
data?: any;
|
|
1509
|
+
};
|
|
1510
|
+
url: string | null;
|
|
1511
|
+
}[];
|
|
1512
|
+
}>;
|
|
386
1513
|
}>, "strip", z.ZodTypeAny, {
|
|
387
1514
|
kind: "curationMailMagazine";
|
|
388
|
-
curationMailMagazine: Record<string, never>;
|
|
389
1515
|
title: string | null;
|
|
390
|
-
|
|
1516
|
+
curationMailMagazine: {
|
|
1517
|
+
utmCampaign: string | null;
|
|
1518
|
+
mailSubject: string | null;
|
|
1519
|
+
preHeaderText: string | null;
|
|
1520
|
+
targets: {
|
|
1521
|
+
id: string | null;
|
|
1522
|
+
behaviorSgumentCodes: string[];
|
|
1523
|
+
profileSgumentCodes: string[];
|
|
1524
|
+
}[];
|
|
1525
|
+
projects: {
|
|
1526
|
+
id: number | null;
|
|
1527
|
+
order: number;
|
|
1528
|
+
readyforProjectId: number;
|
|
1529
|
+
isPaidSlot: boolean;
|
|
1530
|
+
title: string | null;
|
|
1531
|
+
description: string | null;
|
|
1532
|
+
thumbnal: {
|
|
1533
|
+
kind: "delete";
|
|
1534
|
+
} | {
|
|
1535
|
+
kind: "upload";
|
|
1536
|
+
data?: any;
|
|
1537
|
+
};
|
|
1538
|
+
tag: string | null;
|
|
1539
|
+
tagUrl: string | null;
|
|
1540
|
+
}[];
|
|
1541
|
+
banners: {
|
|
1542
|
+
id: number | null;
|
|
1543
|
+
order: number;
|
|
1544
|
+
image: {
|
|
1545
|
+
kind: "delete";
|
|
1546
|
+
} | {
|
|
1547
|
+
kind: "upload";
|
|
1548
|
+
data?: any;
|
|
1549
|
+
};
|
|
1550
|
+
url: string | null;
|
|
1551
|
+
}[];
|
|
1552
|
+
};
|
|
1553
|
+
deliveryScheduledAt: string | null;
|
|
391
1554
|
}, {
|
|
392
1555
|
kind: "curationMailMagazine";
|
|
393
|
-
curationMailMagazine: Record<string, never>;
|
|
394
1556
|
title: string | null;
|
|
395
|
-
|
|
1557
|
+
curationMailMagazine: {
|
|
1558
|
+
utmCampaign: string | null;
|
|
1559
|
+
mailSubject: string | null;
|
|
1560
|
+
preHeaderText: string | null;
|
|
1561
|
+
targets: {
|
|
1562
|
+
id: string | null;
|
|
1563
|
+
behaviorSgumentCodes: string[];
|
|
1564
|
+
profileSgumentCodes: string[];
|
|
1565
|
+
}[];
|
|
1566
|
+
projects: {
|
|
1567
|
+
id: number | null;
|
|
1568
|
+
order: number;
|
|
1569
|
+
readyforProjectId: number;
|
|
1570
|
+
isPaidSlot: boolean;
|
|
1571
|
+
title: string | null;
|
|
1572
|
+
description: string | null;
|
|
1573
|
+
thumbnal: {
|
|
1574
|
+
kind: "delete";
|
|
1575
|
+
} | {
|
|
1576
|
+
kind: "upload";
|
|
1577
|
+
data?: any;
|
|
1578
|
+
};
|
|
1579
|
+
tag: string | null;
|
|
1580
|
+
tagUrl: string | null;
|
|
1581
|
+
}[];
|
|
1582
|
+
banners: {
|
|
1583
|
+
id: number | null;
|
|
1584
|
+
order: number;
|
|
1585
|
+
image: {
|
|
1586
|
+
kind: "delete";
|
|
1587
|
+
} | {
|
|
1588
|
+
kind: "upload";
|
|
1589
|
+
data?: any;
|
|
1590
|
+
};
|
|
1591
|
+
url: string | null;
|
|
1592
|
+
}[];
|
|
1593
|
+
};
|
|
1594
|
+
deliveryScheduledAt: string | null;
|
|
396
1595
|
}>;
|
|
397
1596
|
declare const CampaignWithPersonalizedMailMagazineFormData: z.ZodObject<z.objectUtil.extendShape<{
|
|
398
1597
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
399
|
-
|
|
1598
|
+
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
400
1599
|
}, {
|
|
401
1600
|
kind: z.ZodLiteral<"personalizedMailMagazine">;
|
|
402
1601
|
personalizedMailMagazine: z.ZodObject<{
|
|
@@ -463,7 +1662,7 @@ declare const CampaignWithPersonalizedMailMagazineFormData: z.ZodObject<z.object
|
|
|
463
1662
|
}>, "strip", z.ZodTypeAny, {
|
|
464
1663
|
kind: "personalizedMailMagazine";
|
|
465
1664
|
title: string | null;
|
|
466
|
-
|
|
1665
|
+
deliveryScheduledAt: string | null;
|
|
467
1666
|
personalizedMailMagazine: {
|
|
468
1667
|
utmCampaign: string | null;
|
|
469
1668
|
targetCsv: {
|
|
@@ -480,7 +1679,7 @@ declare const CampaignWithPersonalizedMailMagazineFormData: z.ZodObject<z.object
|
|
|
480
1679
|
}, {
|
|
481
1680
|
kind: "personalizedMailMagazine";
|
|
482
1681
|
title: string | null;
|
|
483
|
-
|
|
1682
|
+
deliveryScheduledAt: string | null;
|
|
484
1683
|
personalizedMailMagazine: {
|
|
485
1684
|
utmCampaign: string | null;
|
|
486
1685
|
targetCsv: {
|
|
@@ -499,30 +1698,203 @@ declare const CampaignDetailWithCurationMailMagazine: z.ZodObject<z.objectUtil.e
|
|
|
499
1698
|
id: z.ZodNumber;
|
|
500
1699
|
status: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
501
1700
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
502
|
-
|
|
1701
|
+
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1702
|
+
}, {
|
|
1703
|
+
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
1704
|
+
curationMailMagazine: z.ZodObject<{
|
|
1705
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1706
|
+
mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1707
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1708
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
1709
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
1710
|
+
id: z.ZodNumber;
|
|
1711
|
+
behaviorSegumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1712
|
+
profileSegumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
1713
|
+
}, "strip", z.ZodTypeAny, {
|
|
1714
|
+
id: number;
|
|
1715
|
+
behaviorSegumentCodes: string[];
|
|
1716
|
+
profileSegumentCodes: string[];
|
|
1717
|
+
}, {
|
|
1718
|
+
id: number;
|
|
1719
|
+
behaviorSegumentCodes: string[];
|
|
1720
|
+
profileSegumentCodes: string[];
|
|
1721
|
+
}>, "many">;
|
|
1722
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
1723
|
+
id: z.ZodNumber;
|
|
1724
|
+
readyforProjectId: z.ZodNumber;
|
|
1725
|
+
slotNumber: z.ZodNumber;
|
|
1726
|
+
isPaidSlot: z.ZodBoolean;
|
|
1727
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1728
|
+
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1729
|
+
thumbnailUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1730
|
+
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1731
|
+
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1732
|
+
}, "strip", z.ZodTypeAny, {
|
|
1733
|
+
id: number;
|
|
1734
|
+
readyforProjectId: number;
|
|
1735
|
+
isPaidSlot: boolean;
|
|
1736
|
+
title: string | null;
|
|
1737
|
+
description: string | null;
|
|
1738
|
+
tag: string | null;
|
|
1739
|
+
tagUrl: string | null;
|
|
1740
|
+
slotNumber: number;
|
|
1741
|
+
thumbnailUrl: string | null;
|
|
1742
|
+
}, {
|
|
1743
|
+
id: number;
|
|
1744
|
+
readyforProjectId: number;
|
|
1745
|
+
isPaidSlot: boolean;
|
|
1746
|
+
title: string | null;
|
|
1747
|
+
description: string | null;
|
|
1748
|
+
tag: string | null;
|
|
1749
|
+
tagUrl: string | null;
|
|
1750
|
+
slotNumber: number;
|
|
1751
|
+
thumbnailUrl: string | null;
|
|
1752
|
+
}>, "many">;
|
|
1753
|
+
banners: z.ZodArray<z.ZodObject<{
|
|
1754
|
+
id: z.ZodNumber;
|
|
1755
|
+
slotNumber: z.ZodNumber;
|
|
1756
|
+
imageUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1757
|
+
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1758
|
+
}, "strip", z.ZodTypeAny, {
|
|
1759
|
+
id: number;
|
|
1760
|
+
url: string | null;
|
|
1761
|
+
slotNumber: number;
|
|
1762
|
+
imageUrl: string | null;
|
|
1763
|
+
}, {
|
|
1764
|
+
id: number;
|
|
1765
|
+
url: string | null;
|
|
1766
|
+
slotNumber: number;
|
|
1767
|
+
imageUrl: string | null;
|
|
1768
|
+
}>, "many">;
|
|
1769
|
+
}, "strip", z.ZodTypeAny, {
|
|
1770
|
+
utmCampaign: string | null;
|
|
1771
|
+
mailSubject: string | null;
|
|
1772
|
+
preHeaderText: string | null;
|
|
1773
|
+
targets: {
|
|
1774
|
+
id: number;
|
|
1775
|
+
behaviorSegumentCodes: string[];
|
|
1776
|
+
profileSegumentCodes: string[];
|
|
1777
|
+
}[];
|
|
1778
|
+
projects: {
|
|
1779
|
+
id: number;
|
|
1780
|
+
readyforProjectId: number;
|
|
1781
|
+
isPaidSlot: boolean;
|
|
1782
|
+
title: string | null;
|
|
1783
|
+
description: string | null;
|
|
1784
|
+
tag: string | null;
|
|
1785
|
+
tagUrl: string | null;
|
|
1786
|
+
slotNumber: number;
|
|
1787
|
+
thumbnailUrl: string | null;
|
|
1788
|
+
}[];
|
|
1789
|
+
banners: {
|
|
1790
|
+
id: number;
|
|
1791
|
+
url: string | null;
|
|
1792
|
+
slotNumber: number;
|
|
1793
|
+
imageUrl: string | null;
|
|
1794
|
+
}[];
|
|
1795
|
+
deliveredUsersCount: number | null;
|
|
1796
|
+
}, {
|
|
1797
|
+
utmCampaign: string | null;
|
|
1798
|
+
mailSubject: string | null;
|
|
1799
|
+
preHeaderText: string | null;
|
|
1800
|
+
targets: {
|
|
1801
|
+
id: number;
|
|
1802
|
+
behaviorSegumentCodes: string[];
|
|
1803
|
+
profileSegumentCodes: string[];
|
|
1804
|
+
}[];
|
|
1805
|
+
projects: {
|
|
1806
|
+
id: number;
|
|
1807
|
+
readyforProjectId: number;
|
|
1808
|
+
isPaidSlot: boolean;
|
|
1809
|
+
title: string | null;
|
|
1810
|
+
description: string | null;
|
|
1811
|
+
tag: string | null;
|
|
1812
|
+
tagUrl: string | null;
|
|
1813
|
+
slotNumber: number;
|
|
1814
|
+
thumbnailUrl: string | null;
|
|
1815
|
+
}[];
|
|
1816
|
+
banners: {
|
|
1817
|
+
id: number;
|
|
1818
|
+
url: string | null;
|
|
1819
|
+
slotNumber: number;
|
|
1820
|
+
imageUrl: string | null;
|
|
1821
|
+
}[];
|
|
1822
|
+
deliveredUsersCount: number | null;
|
|
1823
|
+
}>;
|
|
1824
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1825
|
+
kind: "curationMailMagazine";
|
|
1826
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1827
|
+
id: number;
|
|
1828
|
+
title: string | null;
|
|
1829
|
+
curationMailMagazine: {
|
|
1830
|
+
utmCampaign: string | null;
|
|
1831
|
+
mailSubject: string | null;
|
|
1832
|
+
preHeaderText: string | null;
|
|
1833
|
+
targets: {
|
|
1834
|
+
id: number;
|
|
1835
|
+
behaviorSegumentCodes: string[];
|
|
1836
|
+
profileSegumentCodes: string[];
|
|
1837
|
+
}[];
|
|
1838
|
+
projects: {
|
|
1839
|
+
id: number;
|
|
1840
|
+
readyforProjectId: number;
|
|
1841
|
+
isPaidSlot: boolean;
|
|
1842
|
+
title: string | null;
|
|
1843
|
+
description: string | null;
|
|
1844
|
+
tag: string | null;
|
|
1845
|
+
tagUrl: string | null;
|
|
1846
|
+
slotNumber: number;
|
|
1847
|
+
thumbnailUrl: string | null;
|
|
1848
|
+
}[];
|
|
1849
|
+
banners: {
|
|
1850
|
+
id: number;
|
|
1851
|
+
url: string | null;
|
|
1852
|
+
slotNumber: number;
|
|
1853
|
+
imageUrl: string | null;
|
|
1854
|
+
}[];
|
|
1855
|
+
deliveredUsersCount: number | null;
|
|
1856
|
+
};
|
|
1857
|
+
deliveryScheduledAt: string | null;
|
|
503
1858
|
}, {
|
|
504
|
-
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
505
|
-
curationMailMagazine: z.ZodRecord<z.ZodString, z.ZodNever>;
|
|
506
|
-
}>, "strip", z.ZodTypeAny, {
|
|
507
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
508
1859
|
kind: "curationMailMagazine";
|
|
509
|
-
curationMailMagazine: Record<string, never>;
|
|
510
|
-
title: string | null;
|
|
511
|
-
scheduledDeliveryAt: string | null;
|
|
512
|
-
id: number;
|
|
513
|
-
}, {
|
|
514
1860
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
515
|
-
kind: "curationMailMagazine";
|
|
516
|
-
curationMailMagazine: Record<string, never>;
|
|
517
|
-
title: string | null;
|
|
518
|
-
scheduledDeliveryAt: string | null;
|
|
519
1861
|
id: number;
|
|
1862
|
+
title: string | null;
|
|
1863
|
+
curationMailMagazine: {
|
|
1864
|
+
utmCampaign: string | null;
|
|
1865
|
+
mailSubject: string | null;
|
|
1866
|
+
preHeaderText: string | null;
|
|
1867
|
+
targets: {
|
|
1868
|
+
id: number;
|
|
1869
|
+
behaviorSegumentCodes: string[];
|
|
1870
|
+
profileSegumentCodes: string[];
|
|
1871
|
+
}[];
|
|
1872
|
+
projects: {
|
|
1873
|
+
id: number;
|
|
1874
|
+
readyforProjectId: number;
|
|
1875
|
+
isPaidSlot: boolean;
|
|
1876
|
+
title: string | null;
|
|
1877
|
+
description: string | null;
|
|
1878
|
+
tag: string | null;
|
|
1879
|
+
tagUrl: string | null;
|
|
1880
|
+
slotNumber: number;
|
|
1881
|
+
thumbnailUrl: string | null;
|
|
1882
|
+
}[];
|
|
1883
|
+
banners: {
|
|
1884
|
+
id: number;
|
|
1885
|
+
url: string | null;
|
|
1886
|
+
slotNumber: number;
|
|
1887
|
+
imageUrl: string | null;
|
|
1888
|
+
}[];
|
|
1889
|
+
deliveredUsersCount: number | null;
|
|
1890
|
+
};
|
|
1891
|
+
deliveryScheduledAt: string | null;
|
|
520
1892
|
}>;
|
|
521
1893
|
declare const CampaignDetailWithPersonalizedMailMagazine: z.ZodObject<z.objectUtil.extendShape<{
|
|
522
1894
|
id: z.ZodNumber;
|
|
523
1895
|
status: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
524
1896
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
525
|
-
|
|
1897
|
+
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
526
1898
|
}, {
|
|
527
1899
|
kind: z.ZodLiteral<"personalizedMailMagazine">;
|
|
528
1900
|
personalizedMailMagazine: z.ZodObject<{
|
|
@@ -556,10 +1928,11 @@ declare const CampaignDetailWithPersonalizedMailMagazine: z.ZodObject<z.objectUt
|
|
|
556
1928
|
} | null;
|
|
557
1929
|
}>;
|
|
558
1930
|
}>, "strip", z.ZodTypeAny, {
|
|
559
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
560
1931
|
kind: "personalizedMailMagazine";
|
|
1932
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1933
|
+
id: number;
|
|
561
1934
|
title: string | null;
|
|
562
|
-
|
|
1935
|
+
deliveryScheduledAt: string | null;
|
|
563
1936
|
personalizedMailMagazine: {
|
|
564
1937
|
utmCampaign: string | null;
|
|
565
1938
|
target: {
|
|
@@ -568,12 +1941,12 @@ declare const CampaignDetailWithPersonalizedMailMagazine: z.ZodObject<z.objectUt
|
|
|
568
1941
|
excludedUsersCount: number;
|
|
569
1942
|
} | null;
|
|
570
1943
|
};
|
|
571
|
-
id: number;
|
|
572
1944
|
}, {
|
|
573
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
574
1945
|
kind: "personalizedMailMagazine";
|
|
1946
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1947
|
+
id: number;
|
|
575
1948
|
title: string | null;
|
|
576
|
-
|
|
1949
|
+
deliveryScheduledAt: string | null;
|
|
577
1950
|
personalizedMailMagazine: {
|
|
578
1951
|
utmCampaign: string | null;
|
|
579
1952
|
target: {
|
|
@@ -582,7 +1955,6 @@ declare const CampaignDetailWithPersonalizedMailMagazine: z.ZodObject<z.objectUt
|
|
|
582
1955
|
excludedUsersCount: number;
|
|
583
1956
|
} | null;
|
|
584
1957
|
};
|
|
585
|
-
id: number;
|
|
586
1958
|
}>;
|
|
587
1959
|
declare const CampaignKind: z.ZodUnion<[z.ZodLiteral<"curationMailMagazine">, z.ZodLiteral<"personalizedMailMagazine">]>;
|
|
588
1960
|
declare const ReadyforProject: z.ZodObject<{
|
|
@@ -603,7 +1975,7 @@ declare const ReadyforProject: z.ZodObject<{
|
|
|
603
1975
|
}>;
|
|
604
1976
|
declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
605
1977
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
606
|
-
|
|
1978
|
+
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
607
1979
|
}, {
|
|
608
1980
|
kind: z.ZodLiteral<"personalizedMailMagazine">;
|
|
609
1981
|
personalizedMailMagazine: z.ZodObject<{
|
|
@@ -670,7 +2042,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
670
2042
|
}>, "strip", z.ZodTypeAny, {
|
|
671
2043
|
kind: "personalizedMailMagazine";
|
|
672
2044
|
title: string | null;
|
|
673
|
-
|
|
2045
|
+
deliveryScheduledAt: string | null;
|
|
674
2046
|
personalizedMailMagazine: {
|
|
675
2047
|
utmCampaign: string | null;
|
|
676
2048
|
targetCsv: {
|
|
@@ -687,7 +2059,7 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
687
2059
|
}, {
|
|
688
2060
|
kind: "personalizedMailMagazine";
|
|
689
2061
|
title: string | null;
|
|
690
|
-
|
|
2062
|
+
deliveryScheduledAt: string | null;
|
|
691
2063
|
personalizedMailMagazine: {
|
|
692
2064
|
utmCampaign: string | null;
|
|
693
2065
|
targetCsv: {
|
|
@@ -703,26 +2075,284 @@ declare const CampaignFormData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape
|
|
|
703
2075
|
};
|
|
704
2076
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
705
2077
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
706
|
-
|
|
2078
|
+
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
707
2079
|
}, {
|
|
708
2080
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
709
|
-
curationMailMagazine: z.
|
|
2081
|
+
curationMailMagazine: z.ZodObject<{
|
|
2082
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2083
|
+
mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2084
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2085
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
2086
|
+
id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2087
|
+
behaviorSgumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
2088
|
+
profileSgumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
2089
|
+
}, "strip", z.ZodTypeAny, {
|
|
2090
|
+
id: string | null;
|
|
2091
|
+
behaviorSgumentCodes: string[];
|
|
2092
|
+
profileSgumentCodes: string[];
|
|
2093
|
+
}, {
|
|
2094
|
+
id: string | null;
|
|
2095
|
+
behaviorSgumentCodes: string[];
|
|
2096
|
+
profileSgumentCodes: string[];
|
|
2097
|
+
}>, "many">;
|
|
2098
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
2099
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
2100
|
+
order: z.ZodNumber;
|
|
2101
|
+
readyforProjectId: z.ZodNumber;
|
|
2102
|
+
isPaidSlot: z.ZodBoolean;
|
|
2103
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2104
|
+
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2105
|
+
thumbnal: z.ZodUnion<[z.ZodObject<{
|
|
2106
|
+
kind: z.ZodLiteral<"upload">;
|
|
2107
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
2108
|
+
}, "strip", z.ZodTypeAny, {
|
|
2109
|
+
kind: "upload";
|
|
2110
|
+
data?: any;
|
|
2111
|
+
}, {
|
|
2112
|
+
kind: "upload";
|
|
2113
|
+
data?: any;
|
|
2114
|
+
}>, z.ZodObject<{
|
|
2115
|
+
kind: z.ZodLiteral<"delete">;
|
|
2116
|
+
}, "strip", z.ZodTypeAny, {
|
|
2117
|
+
kind: "delete";
|
|
2118
|
+
}, {
|
|
2119
|
+
kind: "delete";
|
|
2120
|
+
}>]>;
|
|
2121
|
+
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2122
|
+
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2123
|
+
}, "strip", z.ZodTypeAny, {
|
|
2124
|
+
id: number | null;
|
|
2125
|
+
order: number;
|
|
2126
|
+
readyforProjectId: number;
|
|
2127
|
+
isPaidSlot: boolean;
|
|
2128
|
+
title: string | null;
|
|
2129
|
+
description: string | null;
|
|
2130
|
+
thumbnal: {
|
|
2131
|
+
kind: "delete";
|
|
2132
|
+
} | {
|
|
2133
|
+
kind: "upload";
|
|
2134
|
+
data?: any;
|
|
2135
|
+
};
|
|
2136
|
+
tag: string | null;
|
|
2137
|
+
tagUrl: string | null;
|
|
2138
|
+
}, {
|
|
2139
|
+
id: number | null;
|
|
2140
|
+
order: number;
|
|
2141
|
+
readyforProjectId: number;
|
|
2142
|
+
isPaidSlot: boolean;
|
|
2143
|
+
title: string | null;
|
|
2144
|
+
description: string | null;
|
|
2145
|
+
thumbnal: {
|
|
2146
|
+
kind: "delete";
|
|
2147
|
+
} | {
|
|
2148
|
+
kind: "upload";
|
|
2149
|
+
data?: any;
|
|
2150
|
+
};
|
|
2151
|
+
tag: string | null;
|
|
2152
|
+
tagUrl: string | null;
|
|
2153
|
+
}>, "many">;
|
|
2154
|
+
banners: z.ZodArray<z.ZodObject<{
|
|
2155
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
2156
|
+
order: z.ZodNumber;
|
|
2157
|
+
image: z.ZodUnion<[z.ZodObject<{
|
|
2158
|
+
kind: z.ZodLiteral<"upload">;
|
|
2159
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
2160
|
+
}, "strip", z.ZodTypeAny, {
|
|
2161
|
+
kind: "upload";
|
|
2162
|
+
data?: any;
|
|
2163
|
+
}, {
|
|
2164
|
+
kind: "upload";
|
|
2165
|
+
data?: any;
|
|
2166
|
+
}>, z.ZodObject<{
|
|
2167
|
+
kind: z.ZodLiteral<"delete">;
|
|
2168
|
+
}, "strip", z.ZodTypeAny, {
|
|
2169
|
+
kind: "delete";
|
|
2170
|
+
}, {
|
|
2171
|
+
kind: "delete";
|
|
2172
|
+
}>]>;
|
|
2173
|
+
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2174
|
+
}, "strip", z.ZodTypeAny, {
|
|
2175
|
+
id: number | null;
|
|
2176
|
+
order: number;
|
|
2177
|
+
image: {
|
|
2178
|
+
kind: "delete";
|
|
2179
|
+
} | {
|
|
2180
|
+
kind: "upload";
|
|
2181
|
+
data?: any;
|
|
2182
|
+
};
|
|
2183
|
+
url: string | null;
|
|
2184
|
+
}, {
|
|
2185
|
+
id: number | null;
|
|
2186
|
+
order: number;
|
|
2187
|
+
image: {
|
|
2188
|
+
kind: "delete";
|
|
2189
|
+
} | {
|
|
2190
|
+
kind: "upload";
|
|
2191
|
+
data?: any;
|
|
2192
|
+
};
|
|
2193
|
+
url: string | null;
|
|
2194
|
+
}>, "many">;
|
|
2195
|
+
}, "strip", z.ZodTypeAny, {
|
|
2196
|
+
utmCampaign: string | null;
|
|
2197
|
+
mailSubject: string | null;
|
|
2198
|
+
preHeaderText: string | null;
|
|
2199
|
+
targets: {
|
|
2200
|
+
id: string | null;
|
|
2201
|
+
behaviorSgumentCodes: string[];
|
|
2202
|
+
profileSgumentCodes: string[];
|
|
2203
|
+
}[];
|
|
2204
|
+
projects: {
|
|
2205
|
+
id: number | null;
|
|
2206
|
+
order: number;
|
|
2207
|
+
readyforProjectId: number;
|
|
2208
|
+
isPaidSlot: boolean;
|
|
2209
|
+
title: string | null;
|
|
2210
|
+
description: string | null;
|
|
2211
|
+
thumbnal: {
|
|
2212
|
+
kind: "delete";
|
|
2213
|
+
} | {
|
|
2214
|
+
kind: "upload";
|
|
2215
|
+
data?: any;
|
|
2216
|
+
};
|
|
2217
|
+
tag: string | null;
|
|
2218
|
+
tagUrl: string | null;
|
|
2219
|
+
}[];
|
|
2220
|
+
banners: {
|
|
2221
|
+
id: number | null;
|
|
2222
|
+
order: number;
|
|
2223
|
+
image: {
|
|
2224
|
+
kind: "delete";
|
|
2225
|
+
} | {
|
|
2226
|
+
kind: "upload";
|
|
2227
|
+
data?: any;
|
|
2228
|
+
};
|
|
2229
|
+
url: string | null;
|
|
2230
|
+
}[];
|
|
2231
|
+
}, {
|
|
2232
|
+
utmCampaign: string | null;
|
|
2233
|
+
mailSubject: string | null;
|
|
2234
|
+
preHeaderText: string | null;
|
|
2235
|
+
targets: {
|
|
2236
|
+
id: string | null;
|
|
2237
|
+
behaviorSgumentCodes: string[];
|
|
2238
|
+
profileSgumentCodes: string[];
|
|
2239
|
+
}[];
|
|
2240
|
+
projects: {
|
|
2241
|
+
id: number | null;
|
|
2242
|
+
order: number;
|
|
2243
|
+
readyforProjectId: number;
|
|
2244
|
+
isPaidSlot: boolean;
|
|
2245
|
+
title: string | null;
|
|
2246
|
+
description: string | null;
|
|
2247
|
+
thumbnal: {
|
|
2248
|
+
kind: "delete";
|
|
2249
|
+
} | {
|
|
2250
|
+
kind: "upload";
|
|
2251
|
+
data?: any;
|
|
2252
|
+
};
|
|
2253
|
+
tag: string | null;
|
|
2254
|
+
tagUrl: string | null;
|
|
2255
|
+
}[];
|
|
2256
|
+
banners: {
|
|
2257
|
+
id: number | null;
|
|
2258
|
+
order: number;
|
|
2259
|
+
image: {
|
|
2260
|
+
kind: "delete";
|
|
2261
|
+
} | {
|
|
2262
|
+
kind: "upload";
|
|
2263
|
+
data?: any;
|
|
2264
|
+
};
|
|
2265
|
+
url: string | null;
|
|
2266
|
+
}[];
|
|
2267
|
+
}>;
|
|
710
2268
|
}>, "strip", z.ZodTypeAny, {
|
|
711
2269
|
kind: "curationMailMagazine";
|
|
712
|
-
curationMailMagazine: Record<string, never>;
|
|
713
2270
|
title: string | null;
|
|
714
|
-
|
|
2271
|
+
curationMailMagazine: {
|
|
2272
|
+
utmCampaign: string | null;
|
|
2273
|
+
mailSubject: string | null;
|
|
2274
|
+
preHeaderText: string | null;
|
|
2275
|
+
targets: {
|
|
2276
|
+
id: string | null;
|
|
2277
|
+
behaviorSgumentCodes: string[];
|
|
2278
|
+
profileSgumentCodes: string[];
|
|
2279
|
+
}[];
|
|
2280
|
+
projects: {
|
|
2281
|
+
id: number | null;
|
|
2282
|
+
order: number;
|
|
2283
|
+
readyforProjectId: number;
|
|
2284
|
+
isPaidSlot: boolean;
|
|
2285
|
+
title: string | null;
|
|
2286
|
+
description: string | null;
|
|
2287
|
+
thumbnal: {
|
|
2288
|
+
kind: "delete";
|
|
2289
|
+
} | {
|
|
2290
|
+
kind: "upload";
|
|
2291
|
+
data?: any;
|
|
2292
|
+
};
|
|
2293
|
+
tag: string | null;
|
|
2294
|
+
tagUrl: string | null;
|
|
2295
|
+
}[];
|
|
2296
|
+
banners: {
|
|
2297
|
+
id: number | null;
|
|
2298
|
+
order: number;
|
|
2299
|
+
image: {
|
|
2300
|
+
kind: "delete";
|
|
2301
|
+
} | {
|
|
2302
|
+
kind: "upload";
|
|
2303
|
+
data?: any;
|
|
2304
|
+
};
|
|
2305
|
+
url: string | null;
|
|
2306
|
+
}[];
|
|
2307
|
+
};
|
|
2308
|
+
deliveryScheduledAt: string | null;
|
|
715
2309
|
}, {
|
|
716
2310
|
kind: "curationMailMagazine";
|
|
717
|
-
curationMailMagazine: Record<string, never>;
|
|
718
2311
|
title: string | null;
|
|
719
|
-
|
|
2312
|
+
curationMailMagazine: {
|
|
2313
|
+
utmCampaign: string | null;
|
|
2314
|
+
mailSubject: string | null;
|
|
2315
|
+
preHeaderText: string | null;
|
|
2316
|
+
targets: {
|
|
2317
|
+
id: string | null;
|
|
2318
|
+
behaviorSgumentCodes: string[];
|
|
2319
|
+
profileSgumentCodes: string[];
|
|
2320
|
+
}[];
|
|
2321
|
+
projects: {
|
|
2322
|
+
id: number | null;
|
|
2323
|
+
order: number;
|
|
2324
|
+
readyforProjectId: number;
|
|
2325
|
+
isPaidSlot: boolean;
|
|
2326
|
+
title: string | null;
|
|
2327
|
+
description: string | null;
|
|
2328
|
+
thumbnal: {
|
|
2329
|
+
kind: "delete";
|
|
2330
|
+
} | {
|
|
2331
|
+
kind: "upload";
|
|
2332
|
+
data?: any;
|
|
2333
|
+
};
|
|
2334
|
+
tag: string | null;
|
|
2335
|
+
tagUrl: string | null;
|
|
2336
|
+
}[];
|
|
2337
|
+
banners: {
|
|
2338
|
+
id: number | null;
|
|
2339
|
+
order: number;
|
|
2340
|
+
image: {
|
|
2341
|
+
kind: "delete";
|
|
2342
|
+
} | {
|
|
2343
|
+
kind: "upload";
|
|
2344
|
+
data?: any;
|
|
2345
|
+
};
|
|
2346
|
+
url: string | null;
|
|
2347
|
+
}[];
|
|
2348
|
+
};
|
|
2349
|
+
deliveryScheduledAt: string | null;
|
|
720
2350
|
}>]>;
|
|
721
2351
|
declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
722
2352
|
id: z.ZodNumber;
|
|
723
2353
|
status: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
724
2354
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
725
|
-
|
|
2355
|
+
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
726
2356
|
}, {
|
|
727
2357
|
kind: z.ZodLiteral<"personalizedMailMagazine">;
|
|
728
2358
|
personalizedMailMagazine: z.ZodObject<{
|
|
@@ -756,10 +2386,11 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
756
2386
|
} | null;
|
|
757
2387
|
}>;
|
|
758
2388
|
}>, "strip", z.ZodTypeAny, {
|
|
759
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
760
2389
|
kind: "personalizedMailMagazine";
|
|
2390
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
2391
|
+
id: number;
|
|
761
2392
|
title: string | null;
|
|
762
|
-
|
|
2393
|
+
deliveryScheduledAt: string | null;
|
|
763
2394
|
personalizedMailMagazine: {
|
|
764
2395
|
utmCampaign: string | null;
|
|
765
2396
|
target: {
|
|
@@ -768,12 +2399,12 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
768
2399
|
excludedUsersCount: number;
|
|
769
2400
|
} | null;
|
|
770
2401
|
};
|
|
771
|
-
id: number;
|
|
772
2402
|
}, {
|
|
773
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
774
2403
|
kind: "personalizedMailMagazine";
|
|
2404
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
2405
|
+
id: number;
|
|
775
2406
|
title: string | null;
|
|
776
|
-
|
|
2407
|
+
deliveryScheduledAt: string | null;
|
|
777
2408
|
personalizedMailMagazine: {
|
|
778
2409
|
utmCampaign: string | null;
|
|
779
2410
|
target: {
|
|
@@ -782,29 +2413,201 @@ declare const CampaignDetail: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
782
2413
|
excludedUsersCount: number;
|
|
783
2414
|
} | null;
|
|
784
2415
|
};
|
|
785
|
-
id: number;
|
|
786
2416
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
787
2417
|
id: z.ZodNumber;
|
|
788
2418
|
status: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
789
2419
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
790
|
-
|
|
2420
|
+
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
791
2421
|
}, {
|
|
792
2422
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
793
|
-
curationMailMagazine: z.
|
|
2423
|
+
curationMailMagazine: z.ZodObject<{
|
|
2424
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2425
|
+
mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2426
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2427
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
2428
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
2429
|
+
id: z.ZodNumber;
|
|
2430
|
+
behaviorSegumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
2431
|
+
profileSegumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
2432
|
+
}, "strip", z.ZodTypeAny, {
|
|
2433
|
+
id: number;
|
|
2434
|
+
behaviorSegumentCodes: string[];
|
|
2435
|
+
profileSegumentCodes: string[];
|
|
2436
|
+
}, {
|
|
2437
|
+
id: number;
|
|
2438
|
+
behaviorSegumentCodes: string[];
|
|
2439
|
+
profileSegumentCodes: string[];
|
|
2440
|
+
}>, "many">;
|
|
2441
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
2442
|
+
id: z.ZodNumber;
|
|
2443
|
+
readyforProjectId: z.ZodNumber;
|
|
2444
|
+
slotNumber: z.ZodNumber;
|
|
2445
|
+
isPaidSlot: z.ZodBoolean;
|
|
2446
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2447
|
+
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2448
|
+
thumbnailUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2449
|
+
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2450
|
+
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2451
|
+
}, "strip", z.ZodTypeAny, {
|
|
2452
|
+
id: number;
|
|
2453
|
+
readyforProjectId: number;
|
|
2454
|
+
isPaidSlot: boolean;
|
|
2455
|
+
title: string | null;
|
|
2456
|
+
description: string | null;
|
|
2457
|
+
tag: string | null;
|
|
2458
|
+
tagUrl: string | null;
|
|
2459
|
+
slotNumber: number;
|
|
2460
|
+
thumbnailUrl: string | null;
|
|
2461
|
+
}, {
|
|
2462
|
+
id: number;
|
|
2463
|
+
readyforProjectId: number;
|
|
2464
|
+
isPaidSlot: boolean;
|
|
2465
|
+
title: string | null;
|
|
2466
|
+
description: string | null;
|
|
2467
|
+
tag: string | null;
|
|
2468
|
+
tagUrl: string | null;
|
|
2469
|
+
slotNumber: number;
|
|
2470
|
+
thumbnailUrl: string | null;
|
|
2471
|
+
}>, "many">;
|
|
2472
|
+
banners: z.ZodArray<z.ZodObject<{
|
|
2473
|
+
id: z.ZodNumber;
|
|
2474
|
+
slotNumber: z.ZodNumber;
|
|
2475
|
+
imageUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2476
|
+
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2477
|
+
}, "strip", z.ZodTypeAny, {
|
|
2478
|
+
id: number;
|
|
2479
|
+
url: string | null;
|
|
2480
|
+
slotNumber: number;
|
|
2481
|
+
imageUrl: string | null;
|
|
2482
|
+
}, {
|
|
2483
|
+
id: number;
|
|
2484
|
+
url: string | null;
|
|
2485
|
+
slotNumber: number;
|
|
2486
|
+
imageUrl: string | null;
|
|
2487
|
+
}>, "many">;
|
|
2488
|
+
}, "strip", z.ZodTypeAny, {
|
|
2489
|
+
utmCampaign: string | null;
|
|
2490
|
+
mailSubject: string | null;
|
|
2491
|
+
preHeaderText: string | null;
|
|
2492
|
+
targets: {
|
|
2493
|
+
id: number;
|
|
2494
|
+
behaviorSegumentCodes: string[];
|
|
2495
|
+
profileSegumentCodes: string[];
|
|
2496
|
+
}[];
|
|
2497
|
+
projects: {
|
|
2498
|
+
id: number;
|
|
2499
|
+
readyforProjectId: number;
|
|
2500
|
+
isPaidSlot: boolean;
|
|
2501
|
+
title: string | null;
|
|
2502
|
+
description: string | null;
|
|
2503
|
+
tag: string | null;
|
|
2504
|
+
tagUrl: string | null;
|
|
2505
|
+
slotNumber: number;
|
|
2506
|
+
thumbnailUrl: string | null;
|
|
2507
|
+
}[];
|
|
2508
|
+
banners: {
|
|
2509
|
+
id: number;
|
|
2510
|
+
url: string | null;
|
|
2511
|
+
slotNumber: number;
|
|
2512
|
+
imageUrl: string | null;
|
|
2513
|
+
}[];
|
|
2514
|
+
deliveredUsersCount: number | null;
|
|
2515
|
+
}, {
|
|
2516
|
+
utmCampaign: string | null;
|
|
2517
|
+
mailSubject: string | null;
|
|
2518
|
+
preHeaderText: string | null;
|
|
2519
|
+
targets: {
|
|
2520
|
+
id: number;
|
|
2521
|
+
behaviorSegumentCodes: string[];
|
|
2522
|
+
profileSegumentCodes: string[];
|
|
2523
|
+
}[];
|
|
2524
|
+
projects: {
|
|
2525
|
+
id: number;
|
|
2526
|
+
readyforProjectId: number;
|
|
2527
|
+
isPaidSlot: boolean;
|
|
2528
|
+
title: string | null;
|
|
2529
|
+
description: string | null;
|
|
2530
|
+
tag: string | null;
|
|
2531
|
+
tagUrl: string | null;
|
|
2532
|
+
slotNumber: number;
|
|
2533
|
+
thumbnailUrl: string | null;
|
|
2534
|
+
}[];
|
|
2535
|
+
banners: {
|
|
2536
|
+
id: number;
|
|
2537
|
+
url: string | null;
|
|
2538
|
+
slotNumber: number;
|
|
2539
|
+
imageUrl: string | null;
|
|
2540
|
+
}[];
|
|
2541
|
+
deliveredUsersCount: number | null;
|
|
2542
|
+
}>;
|
|
794
2543
|
}>, "strip", z.ZodTypeAny, {
|
|
795
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
796
2544
|
kind: "curationMailMagazine";
|
|
797
|
-
|
|
798
|
-
title: string | null;
|
|
799
|
-
scheduledDeliveryAt: string | null;
|
|
2545
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
800
2546
|
id: number;
|
|
2547
|
+
title: string | null;
|
|
2548
|
+
curationMailMagazine: {
|
|
2549
|
+
utmCampaign: string | null;
|
|
2550
|
+
mailSubject: string | null;
|
|
2551
|
+
preHeaderText: string | null;
|
|
2552
|
+
targets: {
|
|
2553
|
+
id: number;
|
|
2554
|
+
behaviorSegumentCodes: string[];
|
|
2555
|
+
profileSegumentCodes: string[];
|
|
2556
|
+
}[];
|
|
2557
|
+
projects: {
|
|
2558
|
+
id: number;
|
|
2559
|
+
readyforProjectId: number;
|
|
2560
|
+
isPaidSlot: boolean;
|
|
2561
|
+
title: string | null;
|
|
2562
|
+
description: string | null;
|
|
2563
|
+
tag: string | null;
|
|
2564
|
+
tagUrl: string | null;
|
|
2565
|
+
slotNumber: number;
|
|
2566
|
+
thumbnailUrl: string | null;
|
|
2567
|
+
}[];
|
|
2568
|
+
banners: {
|
|
2569
|
+
id: number;
|
|
2570
|
+
url: string | null;
|
|
2571
|
+
slotNumber: number;
|
|
2572
|
+
imageUrl: string | null;
|
|
2573
|
+
}[];
|
|
2574
|
+
deliveredUsersCount: number | null;
|
|
2575
|
+
};
|
|
2576
|
+
deliveryScheduledAt: string | null;
|
|
801
2577
|
}, {
|
|
802
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
803
2578
|
kind: "curationMailMagazine";
|
|
804
|
-
|
|
805
|
-
title: string | null;
|
|
806
|
-
scheduledDeliveryAt: string | null;
|
|
2579
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
807
2580
|
id: number;
|
|
2581
|
+
title: string | null;
|
|
2582
|
+
curationMailMagazine: {
|
|
2583
|
+
utmCampaign: string | null;
|
|
2584
|
+
mailSubject: string | null;
|
|
2585
|
+
preHeaderText: string | null;
|
|
2586
|
+
targets: {
|
|
2587
|
+
id: number;
|
|
2588
|
+
behaviorSegumentCodes: string[];
|
|
2589
|
+
profileSegumentCodes: string[];
|
|
2590
|
+
}[];
|
|
2591
|
+
projects: {
|
|
2592
|
+
id: number;
|
|
2593
|
+
readyforProjectId: number;
|
|
2594
|
+
isPaidSlot: boolean;
|
|
2595
|
+
title: string | null;
|
|
2596
|
+
description: string | null;
|
|
2597
|
+
tag: string | null;
|
|
2598
|
+
tagUrl: string | null;
|
|
2599
|
+
slotNumber: number;
|
|
2600
|
+
thumbnailUrl: string | null;
|
|
2601
|
+
}[];
|
|
2602
|
+
banners: {
|
|
2603
|
+
id: number;
|
|
2604
|
+
url: string | null;
|
|
2605
|
+
slotNumber: number;
|
|
2606
|
+
imageUrl: string | null;
|
|
2607
|
+
}[];
|
|
2608
|
+
deliveredUsersCount: number | null;
|
|
2609
|
+
};
|
|
2610
|
+
deliveryScheduledAt: string | null;
|
|
808
2611
|
}>]>;
|
|
809
2612
|
declare const Pagination: z.ZodObject<{
|
|
810
2613
|
totalPages: z.ZodNumber;
|
|
@@ -843,24 +2646,22 @@ declare const Campaign: z.ZodObject<{
|
|
|
843
2646
|
lastEditorName: z.ZodString;
|
|
844
2647
|
lastEditedAt: z.ZodString;
|
|
845
2648
|
}, "strip", z.ZodTypeAny, {
|
|
846
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
847
2649
|
kind: "curationMailMagazine" | "personalizedMailMagazine";
|
|
2650
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
848
2651
|
id: number;
|
|
849
2652
|
deliveryAt: string | null;
|
|
850
2653
|
lastEditorName: string;
|
|
851
2654
|
lastEditedAt: string;
|
|
852
2655
|
title?: string | null | undefined;
|
|
853
2656
|
}, {
|
|
854
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
855
2657
|
kind: "curationMailMagazine" | "personalizedMailMagazine";
|
|
2658
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
856
2659
|
id: number;
|
|
857
2660
|
deliveryAt: string | null;
|
|
858
2661
|
lastEditorName: string;
|
|
859
2662
|
lastEditedAt: string;
|
|
860
2663
|
title?: string | null | undefined;
|
|
861
2664
|
}>;
|
|
862
|
-
declare const CurationMailMagazineFormData: z.ZodRecord<z.ZodString, z.ZodNever>;
|
|
863
|
-
declare const CurationMailMagazineDetail: z.ZodRecord<z.ZodString, z.ZodNever>;
|
|
864
2665
|
declare const GetProjectsProjectIdOrKeywordResponse: z.ZodObject<{
|
|
865
2666
|
project: z.ZodObject<{
|
|
866
2667
|
projectId: z.ZodNumber;
|
|
@@ -903,7 +2704,7 @@ declare const HttpErrorBadRequest: z.ZodObject<{
|
|
|
903
2704
|
declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
904
2705
|
formData: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
905
2706
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
906
|
-
|
|
2707
|
+
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
907
2708
|
}, {
|
|
908
2709
|
kind: z.ZodLiteral<"personalizedMailMagazine">;
|
|
909
2710
|
personalizedMailMagazine: z.ZodObject<{
|
|
@@ -970,7 +2771,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
970
2771
|
}>, "strip", z.ZodTypeAny, {
|
|
971
2772
|
kind: "personalizedMailMagazine";
|
|
972
2773
|
title: string | null;
|
|
973
|
-
|
|
2774
|
+
deliveryScheduledAt: string | null;
|
|
974
2775
|
personalizedMailMagazine: {
|
|
975
2776
|
utmCampaign: string | null;
|
|
976
2777
|
targetCsv: {
|
|
@@ -987,7 +2788,7 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
987
2788
|
}, {
|
|
988
2789
|
kind: "personalizedMailMagazine";
|
|
989
2790
|
title: string | null;
|
|
990
|
-
|
|
2791
|
+
deliveryScheduledAt: string | null;
|
|
991
2792
|
personalizedMailMagazine: {
|
|
992
2793
|
utmCampaign: string | null;
|
|
993
2794
|
targetCsv: {
|
|
@@ -1003,31 +2804,325 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
1003
2804
|
};
|
|
1004
2805
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1005
2806
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1006
|
-
|
|
2807
|
+
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1007
2808
|
}, {
|
|
1008
2809
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
1009
|
-
curationMailMagazine: z.
|
|
2810
|
+
curationMailMagazine: z.ZodObject<{
|
|
2811
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2812
|
+
mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2813
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2814
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
2815
|
+
id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2816
|
+
behaviorSgumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
2817
|
+
profileSgumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
2818
|
+
}, "strip", z.ZodTypeAny, {
|
|
2819
|
+
id: string | null;
|
|
2820
|
+
behaviorSgumentCodes: string[];
|
|
2821
|
+
profileSgumentCodes: string[];
|
|
2822
|
+
}, {
|
|
2823
|
+
id: string | null;
|
|
2824
|
+
behaviorSgumentCodes: string[];
|
|
2825
|
+
profileSgumentCodes: string[];
|
|
2826
|
+
}>, "many">;
|
|
2827
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
2828
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
2829
|
+
order: z.ZodNumber;
|
|
2830
|
+
readyforProjectId: z.ZodNumber;
|
|
2831
|
+
isPaidSlot: z.ZodBoolean;
|
|
2832
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2833
|
+
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2834
|
+
thumbnal: z.ZodUnion<[z.ZodObject<{
|
|
2835
|
+
kind: z.ZodLiteral<"upload">;
|
|
2836
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
2837
|
+
}, "strip", z.ZodTypeAny, {
|
|
2838
|
+
kind: "upload";
|
|
2839
|
+
data?: any;
|
|
2840
|
+
}, {
|
|
2841
|
+
kind: "upload";
|
|
2842
|
+
data?: any;
|
|
2843
|
+
}>, z.ZodObject<{
|
|
2844
|
+
kind: z.ZodLiteral<"delete">;
|
|
2845
|
+
}, "strip", z.ZodTypeAny, {
|
|
2846
|
+
kind: "delete";
|
|
2847
|
+
}, {
|
|
2848
|
+
kind: "delete";
|
|
2849
|
+
}>]>;
|
|
2850
|
+
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2851
|
+
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2852
|
+
}, "strip", z.ZodTypeAny, {
|
|
2853
|
+
id: number | null;
|
|
2854
|
+
order: number;
|
|
2855
|
+
readyforProjectId: number;
|
|
2856
|
+
isPaidSlot: boolean;
|
|
2857
|
+
title: string | null;
|
|
2858
|
+
description: string | null;
|
|
2859
|
+
thumbnal: {
|
|
2860
|
+
kind: "delete";
|
|
2861
|
+
} | {
|
|
2862
|
+
kind: "upload";
|
|
2863
|
+
data?: any;
|
|
2864
|
+
};
|
|
2865
|
+
tag: string | null;
|
|
2866
|
+
tagUrl: string | null;
|
|
2867
|
+
}, {
|
|
2868
|
+
id: number | null;
|
|
2869
|
+
order: number;
|
|
2870
|
+
readyforProjectId: number;
|
|
2871
|
+
isPaidSlot: boolean;
|
|
2872
|
+
title: string | null;
|
|
2873
|
+
description: string | null;
|
|
2874
|
+
thumbnal: {
|
|
2875
|
+
kind: "delete";
|
|
2876
|
+
} | {
|
|
2877
|
+
kind: "upload";
|
|
2878
|
+
data?: any;
|
|
2879
|
+
};
|
|
2880
|
+
tag: string | null;
|
|
2881
|
+
tagUrl: string | null;
|
|
2882
|
+
}>, "many">;
|
|
2883
|
+
banners: z.ZodArray<z.ZodObject<{
|
|
2884
|
+
id: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
2885
|
+
order: z.ZodNumber;
|
|
2886
|
+
image: z.ZodUnion<[z.ZodObject<{
|
|
2887
|
+
kind: z.ZodLiteral<"upload">;
|
|
2888
|
+
data: z.ZodUnion<[z.ZodAny, z.ZodAny]>;
|
|
2889
|
+
}, "strip", z.ZodTypeAny, {
|
|
2890
|
+
kind: "upload";
|
|
2891
|
+
data?: any;
|
|
2892
|
+
}, {
|
|
2893
|
+
kind: "upload";
|
|
2894
|
+
data?: any;
|
|
2895
|
+
}>, z.ZodObject<{
|
|
2896
|
+
kind: z.ZodLiteral<"delete">;
|
|
2897
|
+
}, "strip", z.ZodTypeAny, {
|
|
2898
|
+
kind: "delete";
|
|
2899
|
+
}, {
|
|
2900
|
+
kind: "delete";
|
|
2901
|
+
}>]>;
|
|
2902
|
+
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
2903
|
+
}, "strip", z.ZodTypeAny, {
|
|
2904
|
+
id: number | null;
|
|
2905
|
+
order: number;
|
|
2906
|
+
image: {
|
|
2907
|
+
kind: "delete";
|
|
2908
|
+
} | {
|
|
2909
|
+
kind: "upload";
|
|
2910
|
+
data?: any;
|
|
2911
|
+
};
|
|
2912
|
+
url: string | null;
|
|
2913
|
+
}, {
|
|
2914
|
+
id: number | null;
|
|
2915
|
+
order: number;
|
|
2916
|
+
image: {
|
|
2917
|
+
kind: "delete";
|
|
2918
|
+
} | {
|
|
2919
|
+
kind: "upload";
|
|
2920
|
+
data?: any;
|
|
2921
|
+
};
|
|
2922
|
+
url: string | null;
|
|
2923
|
+
}>, "many">;
|
|
2924
|
+
}, "strip", z.ZodTypeAny, {
|
|
2925
|
+
utmCampaign: string | null;
|
|
2926
|
+
mailSubject: string | null;
|
|
2927
|
+
preHeaderText: string | null;
|
|
2928
|
+
targets: {
|
|
2929
|
+
id: string | null;
|
|
2930
|
+
behaviorSgumentCodes: string[];
|
|
2931
|
+
profileSgumentCodes: string[];
|
|
2932
|
+
}[];
|
|
2933
|
+
projects: {
|
|
2934
|
+
id: number | null;
|
|
2935
|
+
order: number;
|
|
2936
|
+
readyforProjectId: number;
|
|
2937
|
+
isPaidSlot: boolean;
|
|
2938
|
+
title: string | null;
|
|
2939
|
+
description: string | null;
|
|
2940
|
+
thumbnal: {
|
|
2941
|
+
kind: "delete";
|
|
2942
|
+
} | {
|
|
2943
|
+
kind: "upload";
|
|
2944
|
+
data?: any;
|
|
2945
|
+
};
|
|
2946
|
+
tag: string | null;
|
|
2947
|
+
tagUrl: string | null;
|
|
2948
|
+
}[];
|
|
2949
|
+
banners: {
|
|
2950
|
+
id: number | null;
|
|
2951
|
+
order: number;
|
|
2952
|
+
image: {
|
|
2953
|
+
kind: "delete";
|
|
2954
|
+
} | {
|
|
2955
|
+
kind: "upload";
|
|
2956
|
+
data?: any;
|
|
2957
|
+
};
|
|
2958
|
+
url: string | null;
|
|
2959
|
+
}[];
|
|
2960
|
+
}, {
|
|
2961
|
+
utmCampaign: string | null;
|
|
2962
|
+
mailSubject: string | null;
|
|
2963
|
+
preHeaderText: string | null;
|
|
2964
|
+
targets: {
|
|
2965
|
+
id: string | null;
|
|
2966
|
+
behaviorSgumentCodes: string[];
|
|
2967
|
+
profileSgumentCodes: string[];
|
|
2968
|
+
}[];
|
|
2969
|
+
projects: {
|
|
2970
|
+
id: number | null;
|
|
2971
|
+
order: number;
|
|
2972
|
+
readyforProjectId: number;
|
|
2973
|
+
isPaidSlot: boolean;
|
|
2974
|
+
title: string | null;
|
|
2975
|
+
description: string | null;
|
|
2976
|
+
thumbnal: {
|
|
2977
|
+
kind: "delete";
|
|
2978
|
+
} | {
|
|
2979
|
+
kind: "upload";
|
|
2980
|
+
data?: any;
|
|
2981
|
+
};
|
|
2982
|
+
tag: string | null;
|
|
2983
|
+
tagUrl: string | null;
|
|
2984
|
+
}[];
|
|
2985
|
+
banners: {
|
|
2986
|
+
id: number | null;
|
|
2987
|
+
order: number;
|
|
2988
|
+
image: {
|
|
2989
|
+
kind: "delete";
|
|
2990
|
+
} | {
|
|
2991
|
+
kind: "upload";
|
|
2992
|
+
data?: any;
|
|
2993
|
+
};
|
|
2994
|
+
url: string | null;
|
|
2995
|
+
}[];
|
|
2996
|
+
}>;
|
|
1010
2997
|
}>, "strip", z.ZodTypeAny, {
|
|
1011
2998
|
kind: "curationMailMagazine";
|
|
1012
|
-
curationMailMagazine: Record<string, never>;
|
|
1013
2999
|
title: string | null;
|
|
1014
|
-
|
|
3000
|
+
curationMailMagazine: {
|
|
3001
|
+
utmCampaign: string | null;
|
|
3002
|
+
mailSubject: string | null;
|
|
3003
|
+
preHeaderText: string | null;
|
|
3004
|
+
targets: {
|
|
3005
|
+
id: string | null;
|
|
3006
|
+
behaviorSgumentCodes: string[];
|
|
3007
|
+
profileSgumentCodes: string[];
|
|
3008
|
+
}[];
|
|
3009
|
+
projects: {
|
|
3010
|
+
id: number | null;
|
|
3011
|
+
order: number;
|
|
3012
|
+
readyforProjectId: number;
|
|
3013
|
+
isPaidSlot: boolean;
|
|
3014
|
+
title: string | null;
|
|
3015
|
+
description: string | null;
|
|
3016
|
+
thumbnal: {
|
|
3017
|
+
kind: "delete";
|
|
3018
|
+
} | {
|
|
3019
|
+
kind: "upload";
|
|
3020
|
+
data?: any;
|
|
3021
|
+
};
|
|
3022
|
+
tag: string | null;
|
|
3023
|
+
tagUrl: string | null;
|
|
3024
|
+
}[];
|
|
3025
|
+
banners: {
|
|
3026
|
+
id: number | null;
|
|
3027
|
+
order: number;
|
|
3028
|
+
image: {
|
|
3029
|
+
kind: "delete";
|
|
3030
|
+
} | {
|
|
3031
|
+
kind: "upload";
|
|
3032
|
+
data?: any;
|
|
3033
|
+
};
|
|
3034
|
+
url: string | null;
|
|
3035
|
+
}[];
|
|
3036
|
+
};
|
|
3037
|
+
deliveryScheduledAt: string | null;
|
|
1015
3038
|
}, {
|
|
1016
3039
|
kind: "curationMailMagazine";
|
|
1017
|
-
curationMailMagazine: Record<string, never>;
|
|
1018
3040
|
title: string | null;
|
|
1019
|
-
|
|
3041
|
+
curationMailMagazine: {
|
|
3042
|
+
utmCampaign: string | null;
|
|
3043
|
+
mailSubject: string | null;
|
|
3044
|
+
preHeaderText: string | null;
|
|
3045
|
+
targets: {
|
|
3046
|
+
id: string | null;
|
|
3047
|
+
behaviorSgumentCodes: string[];
|
|
3048
|
+
profileSgumentCodes: string[];
|
|
3049
|
+
}[];
|
|
3050
|
+
projects: {
|
|
3051
|
+
id: number | null;
|
|
3052
|
+
order: number;
|
|
3053
|
+
readyforProjectId: number;
|
|
3054
|
+
isPaidSlot: boolean;
|
|
3055
|
+
title: string | null;
|
|
3056
|
+
description: string | null;
|
|
3057
|
+
thumbnal: {
|
|
3058
|
+
kind: "delete";
|
|
3059
|
+
} | {
|
|
3060
|
+
kind: "upload";
|
|
3061
|
+
data?: any;
|
|
3062
|
+
};
|
|
3063
|
+
tag: string | null;
|
|
3064
|
+
tagUrl: string | null;
|
|
3065
|
+
}[];
|
|
3066
|
+
banners: {
|
|
3067
|
+
id: number | null;
|
|
3068
|
+
order: number;
|
|
3069
|
+
image: {
|
|
3070
|
+
kind: "delete";
|
|
3071
|
+
} | {
|
|
3072
|
+
kind: "upload";
|
|
3073
|
+
data?: any;
|
|
3074
|
+
};
|
|
3075
|
+
url: string | null;
|
|
3076
|
+
}[];
|
|
3077
|
+
};
|
|
3078
|
+
deliveryScheduledAt: string | null;
|
|
1020
3079
|
}>]>;
|
|
1021
3080
|
}, "strip", z.ZodTypeAny, {
|
|
1022
3081
|
formData: {
|
|
1023
3082
|
kind: "curationMailMagazine";
|
|
1024
|
-
curationMailMagazine: Record<string, never>;
|
|
1025
3083
|
title: string | null;
|
|
1026
|
-
|
|
3084
|
+
curationMailMagazine: {
|
|
3085
|
+
utmCampaign: string | null;
|
|
3086
|
+
mailSubject: string | null;
|
|
3087
|
+
preHeaderText: string | null;
|
|
3088
|
+
targets: {
|
|
3089
|
+
id: string | null;
|
|
3090
|
+
behaviorSgumentCodes: string[];
|
|
3091
|
+
profileSgumentCodes: string[];
|
|
3092
|
+
}[];
|
|
3093
|
+
projects: {
|
|
3094
|
+
id: number | null;
|
|
3095
|
+
order: number;
|
|
3096
|
+
readyforProjectId: number;
|
|
3097
|
+
isPaidSlot: boolean;
|
|
3098
|
+
title: string | null;
|
|
3099
|
+
description: string | null;
|
|
3100
|
+
thumbnal: {
|
|
3101
|
+
kind: "delete";
|
|
3102
|
+
} | {
|
|
3103
|
+
kind: "upload";
|
|
3104
|
+
data?: any;
|
|
3105
|
+
};
|
|
3106
|
+
tag: string | null;
|
|
3107
|
+
tagUrl: string | null;
|
|
3108
|
+
}[];
|
|
3109
|
+
banners: {
|
|
3110
|
+
id: number | null;
|
|
3111
|
+
order: number;
|
|
3112
|
+
image: {
|
|
3113
|
+
kind: "delete";
|
|
3114
|
+
} | {
|
|
3115
|
+
kind: "upload";
|
|
3116
|
+
data?: any;
|
|
3117
|
+
};
|
|
3118
|
+
url: string | null;
|
|
3119
|
+
}[];
|
|
3120
|
+
};
|
|
3121
|
+
deliveryScheduledAt: string | null;
|
|
1027
3122
|
} | {
|
|
1028
3123
|
kind: "personalizedMailMagazine";
|
|
1029
3124
|
title: string | null;
|
|
1030
|
-
|
|
3125
|
+
deliveryScheduledAt: string | null;
|
|
1031
3126
|
personalizedMailMagazine: {
|
|
1032
3127
|
utmCampaign: string | null;
|
|
1033
3128
|
targetCsv: {
|
|
@@ -1045,13 +3140,49 @@ declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
|
|
|
1045
3140
|
}, {
|
|
1046
3141
|
formData: {
|
|
1047
3142
|
kind: "curationMailMagazine";
|
|
1048
|
-
curationMailMagazine: Record<string, never>;
|
|
1049
3143
|
title: string | null;
|
|
1050
|
-
|
|
3144
|
+
curationMailMagazine: {
|
|
3145
|
+
utmCampaign: string | null;
|
|
3146
|
+
mailSubject: string | null;
|
|
3147
|
+
preHeaderText: string | null;
|
|
3148
|
+
targets: {
|
|
3149
|
+
id: string | null;
|
|
3150
|
+
behaviorSgumentCodes: string[];
|
|
3151
|
+
profileSgumentCodes: string[];
|
|
3152
|
+
}[];
|
|
3153
|
+
projects: {
|
|
3154
|
+
id: number | null;
|
|
3155
|
+
order: number;
|
|
3156
|
+
readyforProjectId: number;
|
|
3157
|
+
isPaidSlot: boolean;
|
|
3158
|
+
title: string | null;
|
|
3159
|
+
description: string | null;
|
|
3160
|
+
thumbnal: {
|
|
3161
|
+
kind: "delete";
|
|
3162
|
+
} | {
|
|
3163
|
+
kind: "upload";
|
|
3164
|
+
data?: any;
|
|
3165
|
+
};
|
|
3166
|
+
tag: string | null;
|
|
3167
|
+
tagUrl: string | null;
|
|
3168
|
+
}[];
|
|
3169
|
+
banners: {
|
|
3170
|
+
id: number | null;
|
|
3171
|
+
order: number;
|
|
3172
|
+
image: {
|
|
3173
|
+
kind: "delete";
|
|
3174
|
+
} | {
|
|
3175
|
+
kind: "upload";
|
|
3176
|
+
data?: any;
|
|
3177
|
+
};
|
|
3178
|
+
url: string | null;
|
|
3179
|
+
}[];
|
|
3180
|
+
};
|
|
3181
|
+
deliveryScheduledAt: string | null;
|
|
1051
3182
|
} | {
|
|
1052
3183
|
kind: "personalizedMailMagazine";
|
|
1053
3184
|
title: string | null;
|
|
1054
|
-
|
|
3185
|
+
deliveryScheduledAt: string | null;
|
|
1055
3186
|
personalizedMailMagazine: {
|
|
1056
3187
|
utmCampaign: string | null;
|
|
1057
3188
|
targetCsv: {
|
|
@@ -1072,7 +3203,7 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
1072
3203
|
id: z.ZodNumber;
|
|
1073
3204
|
status: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
1074
3205
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1075
|
-
|
|
3206
|
+
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1076
3207
|
}, {
|
|
1077
3208
|
kind: z.ZodLiteral<"personalizedMailMagazine">;
|
|
1078
3209
|
personalizedMailMagazine: z.ZodObject<{
|
|
@@ -1106,10 +3237,11 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
1106
3237
|
} | null;
|
|
1107
3238
|
}>;
|
|
1108
3239
|
}>, "strip", z.ZodTypeAny, {
|
|
1109
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1110
3240
|
kind: "personalizedMailMagazine";
|
|
3241
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
3242
|
+
id: number;
|
|
1111
3243
|
title: string | null;
|
|
1112
|
-
|
|
3244
|
+
deliveryScheduledAt: string | null;
|
|
1113
3245
|
personalizedMailMagazine: {
|
|
1114
3246
|
utmCampaign: string | null;
|
|
1115
3247
|
target: {
|
|
@@ -1118,12 +3250,12 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
1118
3250
|
excludedUsersCount: number;
|
|
1119
3251
|
} | null;
|
|
1120
3252
|
};
|
|
1121
|
-
id: number;
|
|
1122
3253
|
}, {
|
|
1123
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1124
3254
|
kind: "personalizedMailMagazine";
|
|
3255
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
3256
|
+
id: number;
|
|
1125
3257
|
title: string | null;
|
|
1126
|
-
|
|
3258
|
+
deliveryScheduledAt: string | null;
|
|
1127
3259
|
personalizedMailMagazine: {
|
|
1128
3260
|
utmCampaign: string | null;
|
|
1129
3261
|
target: {
|
|
@@ -1132,43 +3264,243 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
1132
3264
|
excludedUsersCount: number;
|
|
1133
3265
|
} | null;
|
|
1134
3266
|
};
|
|
1135
|
-
id: number;
|
|
1136
3267
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1137
3268
|
id: z.ZodNumber;
|
|
1138
3269
|
status: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
|
|
1139
3270
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1140
|
-
|
|
3271
|
+
deliveryScheduledAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1141
3272
|
}, {
|
|
1142
3273
|
kind: z.ZodLiteral<"curationMailMagazine">;
|
|
1143
|
-
curationMailMagazine: z.
|
|
3274
|
+
curationMailMagazine: z.ZodObject<{
|
|
3275
|
+
utmCampaign: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3276
|
+
mailSubject: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3277
|
+
preHeaderText: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3278
|
+
deliveredUsersCount: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
3279
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
3280
|
+
id: z.ZodNumber;
|
|
3281
|
+
behaviorSegumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
3282
|
+
profileSegumentCodes: z.ZodArray<z.ZodString, "many">;
|
|
3283
|
+
}, "strip", z.ZodTypeAny, {
|
|
3284
|
+
id: number;
|
|
3285
|
+
behaviorSegumentCodes: string[];
|
|
3286
|
+
profileSegumentCodes: string[];
|
|
3287
|
+
}, {
|
|
3288
|
+
id: number;
|
|
3289
|
+
behaviorSegumentCodes: string[];
|
|
3290
|
+
profileSegumentCodes: string[];
|
|
3291
|
+
}>, "many">;
|
|
3292
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
3293
|
+
id: z.ZodNumber;
|
|
3294
|
+
readyforProjectId: z.ZodNumber;
|
|
3295
|
+
slotNumber: z.ZodNumber;
|
|
3296
|
+
isPaidSlot: z.ZodBoolean;
|
|
3297
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3298
|
+
description: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3299
|
+
thumbnailUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3300
|
+
tag: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3301
|
+
tagUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3302
|
+
}, "strip", z.ZodTypeAny, {
|
|
3303
|
+
id: number;
|
|
3304
|
+
readyforProjectId: number;
|
|
3305
|
+
isPaidSlot: boolean;
|
|
3306
|
+
title: string | null;
|
|
3307
|
+
description: string | null;
|
|
3308
|
+
tag: string | null;
|
|
3309
|
+
tagUrl: string | null;
|
|
3310
|
+
slotNumber: number;
|
|
3311
|
+
thumbnailUrl: string | null;
|
|
3312
|
+
}, {
|
|
3313
|
+
id: number;
|
|
3314
|
+
readyforProjectId: number;
|
|
3315
|
+
isPaidSlot: boolean;
|
|
3316
|
+
title: string | null;
|
|
3317
|
+
description: string | null;
|
|
3318
|
+
tag: string | null;
|
|
3319
|
+
tagUrl: string | null;
|
|
3320
|
+
slotNumber: number;
|
|
3321
|
+
thumbnailUrl: string | null;
|
|
3322
|
+
}>, "many">;
|
|
3323
|
+
banners: z.ZodArray<z.ZodObject<{
|
|
3324
|
+
id: z.ZodNumber;
|
|
3325
|
+
slotNumber: z.ZodNumber;
|
|
3326
|
+
imageUrl: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3327
|
+
url: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
3328
|
+
}, "strip", z.ZodTypeAny, {
|
|
3329
|
+
id: number;
|
|
3330
|
+
url: string | null;
|
|
3331
|
+
slotNumber: number;
|
|
3332
|
+
imageUrl: string | null;
|
|
3333
|
+
}, {
|
|
3334
|
+
id: number;
|
|
3335
|
+
url: string | null;
|
|
3336
|
+
slotNumber: number;
|
|
3337
|
+
imageUrl: string | null;
|
|
3338
|
+
}>, "many">;
|
|
3339
|
+
}, "strip", z.ZodTypeAny, {
|
|
3340
|
+
utmCampaign: string | null;
|
|
3341
|
+
mailSubject: string | null;
|
|
3342
|
+
preHeaderText: string | null;
|
|
3343
|
+
targets: {
|
|
3344
|
+
id: number;
|
|
3345
|
+
behaviorSegumentCodes: string[];
|
|
3346
|
+
profileSegumentCodes: string[];
|
|
3347
|
+
}[];
|
|
3348
|
+
projects: {
|
|
3349
|
+
id: number;
|
|
3350
|
+
readyforProjectId: number;
|
|
3351
|
+
isPaidSlot: boolean;
|
|
3352
|
+
title: string | null;
|
|
3353
|
+
description: string | null;
|
|
3354
|
+
tag: string | null;
|
|
3355
|
+
tagUrl: string | null;
|
|
3356
|
+
slotNumber: number;
|
|
3357
|
+
thumbnailUrl: string | null;
|
|
3358
|
+
}[];
|
|
3359
|
+
banners: {
|
|
3360
|
+
id: number;
|
|
3361
|
+
url: string | null;
|
|
3362
|
+
slotNumber: number;
|
|
3363
|
+
imageUrl: string | null;
|
|
3364
|
+
}[];
|
|
3365
|
+
deliveredUsersCount: number | null;
|
|
3366
|
+
}, {
|
|
3367
|
+
utmCampaign: string | null;
|
|
3368
|
+
mailSubject: string | null;
|
|
3369
|
+
preHeaderText: string | null;
|
|
3370
|
+
targets: {
|
|
3371
|
+
id: number;
|
|
3372
|
+
behaviorSegumentCodes: string[];
|
|
3373
|
+
profileSegumentCodes: string[];
|
|
3374
|
+
}[];
|
|
3375
|
+
projects: {
|
|
3376
|
+
id: number;
|
|
3377
|
+
readyforProjectId: number;
|
|
3378
|
+
isPaidSlot: boolean;
|
|
3379
|
+
title: string | null;
|
|
3380
|
+
description: string | null;
|
|
3381
|
+
tag: string | null;
|
|
3382
|
+
tagUrl: string | null;
|
|
3383
|
+
slotNumber: number;
|
|
3384
|
+
thumbnailUrl: string | null;
|
|
3385
|
+
}[];
|
|
3386
|
+
banners: {
|
|
3387
|
+
id: number;
|
|
3388
|
+
url: string | null;
|
|
3389
|
+
slotNumber: number;
|
|
3390
|
+
imageUrl: string | null;
|
|
3391
|
+
}[];
|
|
3392
|
+
deliveredUsersCount: number | null;
|
|
3393
|
+
}>;
|
|
1144
3394
|
}>, "strip", z.ZodTypeAny, {
|
|
1145
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1146
3395
|
kind: "curationMailMagazine";
|
|
1147
|
-
|
|
1148
|
-
title: string | null;
|
|
1149
|
-
scheduledDeliveryAt: string | null;
|
|
3396
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1150
3397
|
id: number;
|
|
3398
|
+
title: string | null;
|
|
3399
|
+
curationMailMagazine: {
|
|
3400
|
+
utmCampaign: string | null;
|
|
3401
|
+
mailSubject: string | null;
|
|
3402
|
+
preHeaderText: string | null;
|
|
3403
|
+
targets: {
|
|
3404
|
+
id: number;
|
|
3405
|
+
behaviorSegumentCodes: string[];
|
|
3406
|
+
profileSegumentCodes: string[];
|
|
3407
|
+
}[];
|
|
3408
|
+
projects: {
|
|
3409
|
+
id: number;
|
|
3410
|
+
readyforProjectId: number;
|
|
3411
|
+
isPaidSlot: boolean;
|
|
3412
|
+
title: string | null;
|
|
3413
|
+
description: string | null;
|
|
3414
|
+
tag: string | null;
|
|
3415
|
+
tagUrl: string | null;
|
|
3416
|
+
slotNumber: number;
|
|
3417
|
+
thumbnailUrl: string | null;
|
|
3418
|
+
}[];
|
|
3419
|
+
banners: {
|
|
3420
|
+
id: number;
|
|
3421
|
+
url: string | null;
|
|
3422
|
+
slotNumber: number;
|
|
3423
|
+
imageUrl: string | null;
|
|
3424
|
+
}[];
|
|
3425
|
+
deliveredUsersCount: number | null;
|
|
3426
|
+
};
|
|
3427
|
+
deliveryScheduledAt: string | null;
|
|
1151
3428
|
}, {
|
|
1152
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1153
3429
|
kind: "curationMailMagazine";
|
|
1154
|
-
|
|
1155
|
-
title: string | null;
|
|
1156
|
-
scheduledDeliveryAt: string | null;
|
|
3430
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1157
3431
|
id: number;
|
|
3432
|
+
title: string | null;
|
|
3433
|
+
curationMailMagazine: {
|
|
3434
|
+
utmCampaign: string | null;
|
|
3435
|
+
mailSubject: string | null;
|
|
3436
|
+
preHeaderText: string | null;
|
|
3437
|
+
targets: {
|
|
3438
|
+
id: number;
|
|
3439
|
+
behaviorSegumentCodes: string[];
|
|
3440
|
+
profileSegumentCodes: string[];
|
|
3441
|
+
}[];
|
|
3442
|
+
projects: {
|
|
3443
|
+
id: number;
|
|
3444
|
+
readyforProjectId: number;
|
|
3445
|
+
isPaidSlot: boolean;
|
|
3446
|
+
title: string | null;
|
|
3447
|
+
description: string | null;
|
|
3448
|
+
tag: string | null;
|
|
3449
|
+
tagUrl: string | null;
|
|
3450
|
+
slotNumber: number;
|
|
3451
|
+
thumbnailUrl: string | null;
|
|
3452
|
+
}[];
|
|
3453
|
+
banners: {
|
|
3454
|
+
id: number;
|
|
3455
|
+
url: string | null;
|
|
3456
|
+
slotNumber: number;
|
|
3457
|
+
imageUrl: string | null;
|
|
3458
|
+
}[];
|
|
3459
|
+
deliveredUsersCount: number | null;
|
|
3460
|
+
};
|
|
3461
|
+
deliveryScheduledAt: string | null;
|
|
1158
3462
|
}>]>;
|
|
1159
3463
|
}, "strip", z.ZodTypeAny, {
|
|
1160
3464
|
campaignDetail: {
|
|
1161
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1162
3465
|
kind: "curationMailMagazine";
|
|
1163
|
-
|
|
1164
|
-
title: string | null;
|
|
1165
|
-
scheduledDeliveryAt: string | null;
|
|
3466
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1166
3467
|
id: number;
|
|
3468
|
+
title: string | null;
|
|
3469
|
+
curationMailMagazine: {
|
|
3470
|
+
utmCampaign: string | null;
|
|
3471
|
+
mailSubject: string | null;
|
|
3472
|
+
preHeaderText: string | null;
|
|
3473
|
+
targets: {
|
|
3474
|
+
id: number;
|
|
3475
|
+
behaviorSegumentCodes: string[];
|
|
3476
|
+
profileSegumentCodes: string[];
|
|
3477
|
+
}[];
|
|
3478
|
+
projects: {
|
|
3479
|
+
id: number;
|
|
3480
|
+
readyforProjectId: number;
|
|
3481
|
+
isPaidSlot: boolean;
|
|
3482
|
+
title: string | null;
|
|
3483
|
+
description: string | null;
|
|
3484
|
+
tag: string | null;
|
|
3485
|
+
tagUrl: string | null;
|
|
3486
|
+
slotNumber: number;
|
|
3487
|
+
thumbnailUrl: string | null;
|
|
3488
|
+
}[];
|
|
3489
|
+
banners: {
|
|
3490
|
+
id: number;
|
|
3491
|
+
url: string | null;
|
|
3492
|
+
slotNumber: number;
|
|
3493
|
+
imageUrl: string | null;
|
|
3494
|
+
}[];
|
|
3495
|
+
deliveredUsersCount: number | null;
|
|
3496
|
+
};
|
|
3497
|
+
deliveryScheduledAt: string | null;
|
|
1167
3498
|
} | {
|
|
1168
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1169
3499
|
kind: "personalizedMailMagazine";
|
|
3500
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
3501
|
+
id: number;
|
|
1170
3502
|
title: string | null;
|
|
1171
|
-
|
|
3503
|
+
deliveryScheduledAt: string | null;
|
|
1172
3504
|
personalizedMailMagazine: {
|
|
1173
3505
|
utmCampaign: string | null;
|
|
1174
3506
|
target: {
|
|
@@ -1177,21 +3509,48 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
1177
3509
|
excludedUsersCount: number;
|
|
1178
3510
|
} | null;
|
|
1179
3511
|
};
|
|
1180
|
-
id: number;
|
|
1181
3512
|
};
|
|
1182
3513
|
}, {
|
|
1183
3514
|
campaignDetail: {
|
|
1184
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1185
3515
|
kind: "curationMailMagazine";
|
|
1186
|
-
|
|
1187
|
-
title: string | null;
|
|
1188
|
-
scheduledDeliveryAt: string | null;
|
|
3516
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1189
3517
|
id: number;
|
|
3518
|
+
title: string | null;
|
|
3519
|
+
curationMailMagazine: {
|
|
3520
|
+
utmCampaign: string | null;
|
|
3521
|
+
mailSubject: string | null;
|
|
3522
|
+
preHeaderText: string | null;
|
|
3523
|
+
targets: {
|
|
3524
|
+
id: number;
|
|
3525
|
+
behaviorSegumentCodes: string[];
|
|
3526
|
+
profileSegumentCodes: string[];
|
|
3527
|
+
}[];
|
|
3528
|
+
projects: {
|
|
3529
|
+
id: number;
|
|
3530
|
+
readyforProjectId: number;
|
|
3531
|
+
isPaidSlot: boolean;
|
|
3532
|
+
title: string | null;
|
|
3533
|
+
description: string | null;
|
|
3534
|
+
tag: string | null;
|
|
3535
|
+
tagUrl: string | null;
|
|
3536
|
+
slotNumber: number;
|
|
3537
|
+
thumbnailUrl: string | null;
|
|
3538
|
+
}[];
|
|
3539
|
+
banners: {
|
|
3540
|
+
id: number;
|
|
3541
|
+
url: string | null;
|
|
3542
|
+
slotNumber: number;
|
|
3543
|
+
imageUrl: string | null;
|
|
3544
|
+
}[];
|
|
3545
|
+
deliveredUsersCount: number | null;
|
|
3546
|
+
};
|
|
3547
|
+
deliveryScheduledAt: string | null;
|
|
1190
3548
|
} | {
|
|
1191
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1192
3549
|
kind: "personalizedMailMagazine";
|
|
3550
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
3551
|
+
id: number;
|
|
1193
3552
|
title: string | null;
|
|
1194
|
-
|
|
3553
|
+
deliveryScheduledAt: string | null;
|
|
1195
3554
|
personalizedMailMagazine: {
|
|
1196
3555
|
utmCampaign: string | null;
|
|
1197
3556
|
target: {
|
|
@@ -1200,7 +3559,6 @@ declare const CampaignsCampaignIdResponse: z.ZodObject<{
|
|
|
1200
3559
|
excludedUsersCount: number;
|
|
1201
3560
|
} | null;
|
|
1202
3561
|
};
|
|
1203
|
-
id: number;
|
|
1204
3562
|
};
|
|
1205
3563
|
}>;
|
|
1206
3564
|
declare const PostCampaignsRequestBody: z.ZodObject<{
|
|
@@ -1227,16 +3585,16 @@ declare const GetCampaignsResponse: z.ZodObject<{
|
|
|
1227
3585
|
lastEditorName: z.ZodString;
|
|
1228
3586
|
lastEditedAt: z.ZodString;
|
|
1229
3587
|
}, "strip", z.ZodTypeAny, {
|
|
1230
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1231
3588
|
kind: "curationMailMagazine" | "personalizedMailMagazine";
|
|
3589
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1232
3590
|
id: number;
|
|
1233
3591
|
deliveryAt: string | null;
|
|
1234
3592
|
lastEditorName: string;
|
|
1235
3593
|
lastEditedAt: string;
|
|
1236
3594
|
title?: string | null | undefined;
|
|
1237
3595
|
}, {
|
|
1238
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1239
3596
|
kind: "curationMailMagazine" | "personalizedMailMagazine";
|
|
3597
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1240
3598
|
id: number;
|
|
1241
3599
|
deliveryAt: string | null;
|
|
1242
3600
|
lastEditorName: string;
|
|
@@ -1273,8 +3631,8 @@ declare const GetCampaignsResponse: z.ZodObject<{
|
|
|
1273
3631
|
}>;
|
|
1274
3632
|
}, "strip", z.ZodTypeAny, {
|
|
1275
3633
|
campaigns: {
|
|
1276
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1277
3634
|
kind: "curationMailMagazine" | "personalizedMailMagazine";
|
|
3635
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1278
3636
|
id: number;
|
|
1279
3637
|
deliveryAt: string | null;
|
|
1280
3638
|
lastEditorName: string;
|
|
@@ -1293,8 +3651,8 @@ declare const GetCampaignsResponse: z.ZodObject<{
|
|
|
1293
3651
|
};
|
|
1294
3652
|
}, {
|
|
1295
3653
|
campaigns: {
|
|
1296
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1297
3654
|
kind: "curationMailMagazine" | "personalizedMailMagazine";
|
|
3655
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
1298
3656
|
id: number;
|
|
1299
3657
|
deliveryAt: string | null;
|
|
1300
3658
|
lastEditorName: string;
|
|
@@ -1313,4 +3671,4 @@ declare const GetCampaignsResponse: z.ZodObject<{
|
|
|
1313
3671
|
};
|
|
1314
3672
|
}>;
|
|
1315
3673
|
|
|
1316
|
-
export { Campaign, CampaignBaseFormData, CampaignDetail, CampaignDetailBase, CampaignDetailKindDataCurationMailMagazine, CampaignDetailKindDataPersonalizedMailMagazine, CampaignDetailWithCurationMailMagazine, CampaignDetailWithPersonalizedMailMagazine, CampaignFormData, CampaignKind, CampaignKindDataCurationMailMagazineFormData, CampaignKindDataPersonalizedMailMagazineFormData, CampaignStatus, CampaignWithCurationMailMagazineFormData, CampaignWithPersonalizedMailMagazineFormData, CampaignsCampaignIdResponse, CurationMailMagazineDetail, CurationMailMagazineFormData, GetCampaignsResponse, GetProjectsProjectIdOrKeywordResponse, HttpErrorBadRequest, Pagination, PatchCampaignsCampaignIdRequestBody, PersonalizedMailMagazineDetail, PersonalizedMailMagazineDetailTarget, PersonalizedMailMagazineFormData, PersonalizedMailMagazineTargetCsvFormData, PersonalizedMailMagazineTargetDeleteCsvFormData, PersonalizedMailMagazineTargetUploadCsvFormData, PersonalizedMailMagazineTargetUploadCsvRecordFormData, PostCampaignsRequestBody, PostCampaignsResponse, ReadyforProject };
|
|
3674
|
+
export { Campaign, CampaignBaseFormData, CampaignDetail, CampaignDetailBase, CampaignDetailKindDataCurationMailMagazine, CampaignDetailKindDataPersonalizedMailMagazine, CampaignDetailWithCurationMailMagazine, CampaignDetailWithPersonalizedMailMagazine, CampaignFormData, CampaignKind, CampaignKindDataCurationMailMagazineFormData, CampaignKindDataPersonalizedMailMagazineFormData, CampaignStatus, CampaignWithCurationMailMagazineFormData, CampaignWithPersonalizedMailMagazineFormData, CampaignsCampaignIdResponse, CurationMailMagazineBanner, CurationMailMagazineBannerFormData, CurationMailMagazineDetail, CurationMailMagazineFormData, CurationMailMagazineProjectFormData, CurationMailMagazineTarget, CurationMailMagazineTargetFormData, CurationMailMagazineTargetProject, DeleteImageFormData, GetCampaignsResponse, GetProjectsProjectIdOrKeywordResponse, HttpErrorBadRequest, ImageFormData, Pagination, PatchCampaignsCampaignIdRequestBody, PersonalizedMailMagazineDetail, PersonalizedMailMagazineDetailTarget, PersonalizedMailMagazineFormData, PersonalizedMailMagazineTargetCsvFormData, PersonalizedMailMagazineTargetDeleteCsvFormData, PersonalizedMailMagazineTargetUploadCsvFormData, PersonalizedMailMagazineTargetUploadCsvRecordFormData, PostCampaignsRequestBody, PostCampaignsResponse, ReadyforProject, UploadImageFormData };
|