@readyfor/api-client-pigeon 1.22.0 → 1.22.1-pr1285.b385439

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/dist/campaigns-DZNsI5kN.d.ts +82 -0
  2. package/dist/{fetch/campaignsCampaignIdImagesId.d.mts → campaignsCampaignIdImagesId-BzoZ_38r.d.ts} +6 -8
  3. package/dist/campaignsId-qIqhKTZn.d.ts +309 -0
  4. package/dist/{fetch/campaignsIdDeliveryJob.d.mts → campaignsIdDeliveryJob--2Nogu0k.d.ts} +7 -12
  5. package/dist/{fetch/campaignsIdImages.d.mts → campaignsIdImages-DMSAp5-N.d.ts} +11 -17
  6. package/dist/{fetch/campaignsIdPreview.d.mts → campaignsIdPreview-C10ENt3B.d.ts} +8 -10
  7. package/dist/{fetch/campaignsIdPreviewDeliveryEmail.d.mts → campaignsIdPreviewDeliveryEmail-BxkiUV8X.d.ts} +7 -13
  8. package/dist/chunk-8l464Juk.js +28 -0
  9. package/dist/components-CkziYCTx.d.ts +1108 -0
  10. package/dist/components.d.ts +2 -1107
  11. package/dist/components.js +284 -444
  12. package/dist/components.mjs +221 -130
  13. package/dist/fetch/campaigns.d.ts +2 -88
  14. package/dist/fetch/campaigns.js +22 -350
  15. package/dist/fetch/campaigns.mjs +18 -12
  16. package/dist/fetch/campaignsCampaignIdImagesId.d.ts +2 -12
  17. package/dist/fetch/campaignsCampaignIdImagesId.js +11 -44
  18. package/dist/fetch/campaignsCampaignIdImagesId.mjs +8 -7
  19. package/dist/fetch/campaignsId.d.ts +2 -321
  20. package/dist/fetch/campaignsId.js +27 -360
  21. package/dist/fetch/campaignsId.mjs +22 -16
  22. package/dist/fetch/campaignsIdDeliveryJob.d.ts +2 -19
  23. package/dist/fetch/campaignsIdDeliveryJob.js +17 -56
  24. package/dist/fetch/campaignsIdDeliveryJob.mjs +13 -11
  25. package/dist/fetch/campaignsIdImages.d.ts +2 -24
  26. package/dist/fetch/campaignsIdImages.js +15 -341
  27. package/dist/fetch/campaignsIdImages.mjs +12 -8
  28. package/dist/fetch/campaignsIdPreview.d.ts +2 -17
  29. package/dist/fetch/campaignsIdPreview.js +12 -338
  30. package/dist/fetch/campaignsIdPreview.mjs +9 -8
  31. package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.ts +2 -17
  32. package/dist/fetch/campaignsIdPreviewDeliveryEmail.js +15 -48
  33. package/dist/fetch/campaignsIdPreviewDeliveryEmail.mjs +12 -7
  34. package/dist/fetch/projectsProjectIdOrKeyword.d.ts +2 -27
  35. package/dist/fetch/projectsProjectIdOrKeyword.js +12 -338
  36. package/dist/fetch/projectsProjectIdOrKeyword.mjs +9 -8
  37. package/dist/fetch/segmentsBehaviorSegments.d.ts +2 -24
  38. package/dist/fetch/segmentsBehaviorSegments.js +12 -335
  39. package/dist/fetch/segmentsBehaviorSegments.mjs +9 -8
  40. package/dist/fetch/segmentsProfileSegments.d.ts +2 -24
  41. package/dist/fetch/segmentsProfileSegments.js +12 -335
  42. package/dist/fetch/segmentsProfileSegments.mjs +9 -8
  43. package/dist/fetch/segmentsTargetUsersCount.d.ts +2 -17
  44. package/dist/fetch/segmentsTargetUsersCount.js +12 -339
  45. package/dist/fetch/segmentsTargetUsersCount.mjs +9 -8
  46. package/dist/hooks/index.d.ts +8 -20
  47. package/dist/hooks/index.js +29 -670
  48. package/dist/hooks/index.mjs +8 -71
  49. package/dist/hooks/useCampaigns.d.ts +37 -37
  50. package/dist/hooks/useCampaigns.js +33 -404
  51. package/dist/hooks/useCampaigns.mjs +27 -22
  52. package/dist/hooks/useCampaignsId.d.ts +33 -33
  53. package/dist/hooks/useCampaignsId.js +33 -404
  54. package/dist/hooks/useCampaignsId.mjs +27 -22
  55. package/dist/hooks/useCampaignsIdPreview.d.ts +32 -33
  56. package/dist/hooks/useCampaignsIdPreview.js +33 -404
  57. package/dist/hooks/useCampaignsIdPreview.mjs +27 -22
  58. package/dist/hooks/useProjectsProjectIdOrKeyword.d.ts +33 -33
  59. package/dist/hooks/useProjectsProjectIdOrKeyword.js +33 -410
  60. package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +27 -22
  61. package/dist/hooks/useSegmentsBehaviorSegments.d.ts +33 -32
  62. package/dist/hooks/useSegmentsBehaviorSegments.js +33 -402
  63. package/dist/hooks/useSegmentsBehaviorSegments.mjs +27 -22
  64. package/dist/hooks/useSegmentsProfileSegments.d.ts +33 -32
  65. package/dist/hooks/useSegmentsProfileSegments.js +33 -402
  66. package/dist/hooks/useSegmentsProfileSegments.mjs +27 -22
  67. package/dist/hooks/useSegmentsTargetUsersCount.d.ts +32 -33
  68. package/dist/hooks/useSegmentsTargetUsersCount.js +33 -412
  69. package/dist/hooks/useSegmentsTargetUsersCount.mjs +27 -22
  70. package/dist/index-DRYular4.d.ts +1 -0
  71. package/dist/index.d.ts +14 -15
  72. package/dist/index.js +106 -703
  73. package/dist/index.mjs +13 -213
  74. package/dist/projectsProjectIdOrKeyword-Cayu4ZMd.d.ts +25 -0
  75. package/dist/schemaType-DcWvaCEH.d.ts +782 -0
  76. package/dist/schemaType.d.ts +2 -887
  77. package/dist/schemaType.js +0 -18
  78. package/dist/schemaType.mjs +1 -0
  79. package/dist/segmentsBehaviorSegments-B6cq3XGV.d.ts +25 -0
  80. package/dist/segmentsProfileSegments-CMzmpqMd.d.ts +25 -0
  81. package/dist/{fetch/segmentsTargetUsersCount.d.mts → segmentsTargetUsersCount-CjScWKqF.d.ts} +8 -10
  82. package/package.json +4 -19
  83. package/dist/chunk-24W5FWW7.mjs +0 -27
  84. package/dist/chunk-45QYVVV2.mjs +0 -44
  85. package/dist/chunk-5XEJOYX6.mjs +0 -0
  86. package/dist/chunk-6337UNDD.mjs +0 -27
  87. package/dist/chunk-CXALAOMT.mjs +0 -48
  88. package/dist/chunk-GVEIZAMY.mjs +0 -359
  89. package/dist/chunk-JVMIOVIM.mjs +0 -29
  90. package/dist/chunk-LMM3AGZ6.mjs +0 -36
  91. package/dist/chunk-MCYE5BYS.mjs +0 -25
  92. package/dist/chunk-MKV3OPBP.mjs +0 -42
  93. package/dist/chunk-MYQ5EIA6.mjs +0 -50
  94. package/dist/chunk-NA23PDIV.mjs +0 -28
  95. package/dist/chunk-P4EIALGR.mjs +0 -24
  96. package/dist/chunk-RWX2GYF3.mjs +0 -39
  97. package/dist/chunk-SBWG7GGI.mjs +0 -52
  98. package/dist/chunk-THNPXV56.mjs +0 -24
  99. package/dist/chunk-TPXQJS55.mjs +0 -44
  100. package/dist/chunk-UHDD26HF.mjs +0 -44
  101. package/dist/chunk-VUG5S4M4.mjs +0 -42
  102. package/dist/chunk-XNOKTUME.mjs +0 -30
  103. package/dist/components.d.mts +0 -1107
  104. package/dist/fetch/campaigns.d.mts +0 -88
  105. package/dist/fetch/campaignsId.d.mts +0 -321
  106. package/dist/fetch/projectsProjectIdOrKeyword.d.mts +0 -27
  107. package/dist/fetch/segmentsBehaviorSegments.d.mts +0 -24
  108. package/dist/fetch/segmentsProfileSegments.d.mts +0 -24
  109. package/dist/hooks/index.d.mts +0 -20
  110. package/dist/hooks/useCampaigns.d.mts +0 -44
  111. package/dist/hooks/useCampaignsId.d.mts +0 -39
  112. package/dist/hooks/useCampaignsIdPreview.d.mts +0 -39
  113. package/dist/hooks/useProjectsProjectIdOrKeyword.d.mts +0 -39
  114. package/dist/hooks/useSegmentsBehaviorSegments.d.mts +0 -38
  115. package/dist/hooks/useSegmentsProfileSegments.d.mts +0 -38
  116. package/dist/hooks/useSegmentsTargetUsersCount.d.mts +0 -39
  117. package/dist/index.d.mts +0 -15
  118. package/dist/schemaType.d.mts +0 -887
@@ -1,1107 +0,0 @@
1
- import { z } from 'zod';
2
-
3
- declare const DeleteImageFormData: z.ZodObject<{
4
- kind: z.ZodLiteral<"delete">;
5
- }, z.core.$strip>;
6
- declare const UploadImageFormData: z.ZodObject<{
7
- kind: z.ZodLiteral<"upload">;
8
- data: z.ZodUnion<readonly [z.ZodAny, z.ZodAny]>;
9
- }, z.core.$strip>;
10
- declare const ImageFormData: z.ZodUnion<readonly [z.ZodObject<{
11
- kind: z.ZodLiteral<"upload">;
12
- data: z.ZodUnion<readonly [z.ZodAny, z.ZodAny]>;
13
- }, z.core.$strip>, z.ZodObject<{
14
- kind: z.ZodLiteral<"delete">;
15
- }, z.core.$strip>]>;
16
- declare const CurationMailMagazineTargetFilterFormData: z.ZodObject<{
17
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
18
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
19
- profileSegmentCodes: z.ZodArray<z.ZodString>;
20
- }, z.core.$strip>;
21
- declare const PersonalizedMailMagazineTargetUploadCsvRecordFormData: z.ZodObject<{
22
- userId: z.ZodNumber;
23
- projectIds: z.ZodString;
24
- }, z.core.$strip>;
25
- declare const CurationMailMagazineTargetFilter: z.ZodObject<{
26
- id: z.ZodNumber;
27
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
28
- profileSegmentCodes: z.ZodArray<z.ZodString>;
29
- }, z.core.$strip>;
30
- declare const CurationMailMagazineBannerFormData: z.ZodObject<{
31
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
32
- slotNumber: z.ZodNumber;
33
- image: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
34
- kind: z.ZodLiteral<"upload">;
35
- data: z.ZodUnion<readonly [z.ZodAny, z.ZodAny]>;
36
- }, z.core.$strip>, z.ZodObject<{
37
- kind: z.ZodLiteral<"delete">;
38
- }, z.core.$strip>]>, z.ZodNull]>;
39
- url: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
40
- }, z.core.$strip>;
41
- declare const CurationMailMagazineProjectFormData: z.ZodObject<{
42
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
43
- slotNumber: z.ZodNumber;
44
- readyforProjectId: z.ZodNumber;
45
- isPaidSlot: z.ZodBoolean;
46
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
47
- description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
48
- thumbnail: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
49
- kind: z.ZodLiteral<"upload">;
50
- data: z.ZodUnion<readonly [z.ZodAny, z.ZodAny]>;
51
- }, z.core.$strip>, z.ZodObject<{
52
- kind: z.ZodLiteral<"delete">;
53
- }, z.core.$strip>]>, z.ZodNull]>;
54
- tag: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
55
- tagUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
56
- }, z.core.$strip>;
57
- declare const CurationMailMagazineFormDataBase: z.ZodObject<{
58
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
59
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
60
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
61
- targetFilters: z.ZodArray<z.ZodObject<{
62
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
63
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
64
- profileSegmentCodes: z.ZodArray<z.ZodString>;
65
- }, z.core.$strip>>;
66
- }, z.core.$strip>;
67
- declare const PersonalizedMailMagazineTargetUploadCsvFormData: z.ZodObject<{
68
- kind: z.ZodLiteral<"uploadCsv">;
69
- fileName: z.ZodString;
70
- records: z.ZodArray<z.ZodObject<{
71
- userId: z.ZodNumber;
72
- projectIds: z.ZodString;
73
- }, z.core.$strip>>;
74
- }, z.core.$strip>;
75
- declare const PersonalizedMailMagazineTargetDeleteCsvFormData: z.ZodObject<{
76
- kind: z.ZodLiteral<"deleteTargetCsv">;
77
- }, z.core.$strip>;
78
- declare const Image: z.ZodObject<{
79
- id: z.ZodNumber;
80
- key: z.ZodString;
81
- }, z.core.$strip>;
82
- declare const CurationMailMagazineDetailBase: z.ZodObject<{
83
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
84
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
85
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
86
- deliveredUsersCount: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
87
- targetFilters: z.ZodArray<z.ZodObject<{
88
- id: z.ZodNumber;
89
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
90
- profileSegmentCodes: z.ZodArray<z.ZodString>;
91
- }, z.core.$strip>>;
92
- }, z.core.$strip>;
93
- declare const CurationMailMagazineBanner: z.ZodObject<{
94
- id: z.ZodNumber;
95
- slotNumber: z.ZodNumber;
96
- imageUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
97
- url: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
98
- }, z.core.$strip>;
99
- declare const CurationMailMagazineTargetProject: z.ZodObject<{
100
- id: z.ZodNumber;
101
- readyforProjectId: z.ZodNumber;
102
- slotNumber: z.ZodNumber;
103
- isPaidSlot: z.ZodBoolean;
104
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
105
- description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
106
- thumbnailUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
107
- tag: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
108
- tagUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
109
- }, z.core.$strip>;
110
- declare const CurationMailMagazineFormDataBodyKindTemplate: z.ZodIntersection<z.ZodObject<{
111
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
112
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
113
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
114
- targetFilters: z.ZodArray<z.ZodObject<{
115
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
116
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
117
- profileSegmentCodes: z.ZodArray<z.ZodString>;
118
- }, z.core.$strip>>;
119
- }, z.core.$strip>, z.ZodObject<{
120
- bodyKind: z.ZodLiteral<"template">;
121
- projects: z.ZodArray<z.ZodObject<{
122
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
123
- slotNumber: z.ZodNumber;
124
- readyforProjectId: z.ZodNumber;
125
- isPaidSlot: z.ZodBoolean;
126
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
127
- description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
128
- thumbnail: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
129
- kind: z.ZodLiteral<"upload">;
130
- data: z.ZodUnion<readonly [z.ZodAny, z.ZodAny]>;
131
- }, z.core.$strip>, z.ZodObject<{
132
- kind: z.ZodLiteral<"delete">;
133
- }, z.core.$strip>]>, z.ZodNull]>;
134
- tag: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
135
- tagUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
136
- }, z.core.$strip>>;
137
- banners: z.ZodArray<z.ZodObject<{
138
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
139
- slotNumber: z.ZodNumber;
140
- image: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
141
- kind: z.ZodLiteral<"upload">;
142
- data: z.ZodUnion<readonly [z.ZodAny, z.ZodAny]>;
143
- }, z.core.$strip>, z.ZodObject<{
144
- kind: z.ZodLiteral<"delete">;
145
- }, z.core.$strip>]>, z.ZodNull]>;
146
- url: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
147
- }, z.core.$strip>>;
148
- }, z.core.$strip>>;
149
- declare const CurationMailMagazineFormDataBodyKindFreeFormat: z.ZodIntersection<z.ZodObject<{
150
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
151
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
152
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
153
- targetFilters: z.ZodArray<z.ZodObject<{
154
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
155
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
156
- profileSegmentCodes: z.ZodArray<z.ZodString>;
157
- }, z.core.$strip>>;
158
- }, z.core.$strip>, z.ZodObject<{
159
- bodyKind: z.ZodLiteral<"freeFormat">;
160
- htmlBody: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
161
- htmlStyle: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
162
- }, z.core.$strip>>;
163
- declare const PersonalizedMailMagazineTargetCsvFormData: z.ZodUnion<readonly [z.ZodObject<{
164
- kind: z.ZodLiteral<"deleteTargetCsv">;
165
- }, z.core.$strip>, z.ZodObject<{
166
- kind: z.ZodLiteral<"uploadCsv">;
167
- fileName: z.ZodString;
168
- records: z.ZodArray<z.ZodObject<{
169
- userId: z.ZodNumber;
170
- projectIds: z.ZodString;
171
- }, z.core.$strip>>;
172
- }, z.core.$strip>]>;
173
- declare const CurationMailMagazineDetailBodyKindFreeFormat: z.ZodIntersection<z.ZodObject<{
174
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
175
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
176
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
177
- deliveredUsersCount: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
178
- targetFilters: z.ZodArray<z.ZodObject<{
179
- id: z.ZodNumber;
180
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
181
- profileSegmentCodes: z.ZodArray<z.ZodString>;
182
- }, z.core.$strip>>;
183
- }, z.core.$strip>, z.ZodObject<{
184
- bodyKind: z.ZodLiteral<"freeFormat">;
185
- htmlBody: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
186
- htmlStyle: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
187
- images: z.ZodArray<z.ZodObject<{
188
- id: z.ZodNumber;
189
- key: z.ZodString;
190
- }, z.core.$strip>>;
191
- }, z.core.$strip>>;
192
- declare const CurationMailMagazineDetailBodyKindTemplate: z.ZodIntersection<z.ZodObject<{
193
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
194
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
195
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
196
- deliveredUsersCount: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
197
- targetFilters: z.ZodArray<z.ZodObject<{
198
- id: z.ZodNumber;
199
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
200
- profileSegmentCodes: z.ZodArray<z.ZodString>;
201
- }, z.core.$strip>>;
202
- }, z.core.$strip>, z.ZodObject<{
203
- bodyKind: z.ZodLiteral<"template">;
204
- projects: z.ZodArray<z.ZodObject<{
205
- id: z.ZodNumber;
206
- readyforProjectId: z.ZodNumber;
207
- slotNumber: z.ZodNumber;
208
- isPaidSlot: z.ZodBoolean;
209
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
210
- description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
211
- thumbnailUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
212
- tag: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
213
- tagUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
214
- }, z.core.$strip>>;
215
- banners: z.ZodArray<z.ZodObject<{
216
- id: z.ZodNumber;
217
- slotNumber: z.ZodNumber;
218
- imageUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
219
- url: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
220
- }, z.core.$strip>>;
221
- }, z.core.$strip>>;
222
- declare const PersonalizedMailMagazineDetailTarget: z.ZodObject<{
223
- csvFileName: z.ZodString;
224
- targetUsersCount: z.ZodNumber;
225
- excludedUsersCount: z.ZodNumber;
226
- }, z.core.$strip>;
227
- declare const CurationMailMagazineFormData: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
228
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
229
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
230
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
231
- targetFilters: z.ZodArray<z.ZodObject<{
232
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
233
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
234
- profileSegmentCodes: z.ZodArray<z.ZodString>;
235
- }, z.core.$strip>>;
236
- }, z.core.$strip>, z.ZodObject<{
237
- bodyKind: z.ZodLiteral<"freeFormat">;
238
- htmlBody: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
239
- htmlStyle: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
240
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
241
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
242
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
243
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
244
- targetFilters: z.ZodArray<z.ZodObject<{
245
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
246
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
247
- profileSegmentCodes: z.ZodArray<z.ZodString>;
248
- }, z.core.$strip>>;
249
- }, z.core.$strip>, z.ZodObject<{
250
- bodyKind: z.ZodLiteral<"template">;
251
- projects: z.ZodArray<z.ZodObject<{
252
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
253
- slotNumber: z.ZodNumber;
254
- readyforProjectId: z.ZodNumber;
255
- isPaidSlot: z.ZodBoolean;
256
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
257
- description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
258
- thumbnail: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
259
- kind: z.ZodLiteral<"upload">;
260
- data: z.ZodUnion<readonly [z.ZodAny, z.ZodAny]>;
261
- }, z.core.$strip>, z.ZodObject<{
262
- kind: z.ZodLiteral<"delete">;
263
- }, z.core.$strip>]>, z.ZodNull]>;
264
- tag: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
265
- tagUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
266
- }, z.core.$strip>>;
267
- banners: z.ZodArray<z.ZodObject<{
268
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
269
- slotNumber: z.ZodNumber;
270
- image: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
271
- kind: z.ZodLiteral<"upload">;
272
- data: z.ZodUnion<readonly [z.ZodAny, z.ZodAny]>;
273
- }, z.core.$strip>, z.ZodObject<{
274
- kind: z.ZodLiteral<"delete">;
275
- }, z.core.$strip>]>, z.ZodNull]>;
276
- url: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
277
- }, z.core.$strip>>;
278
- }, z.core.$strip>>]>;
279
- declare const PersonalizedMailMagazineFormData: z.ZodObject<{
280
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
281
- targetCsv: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
282
- kind: z.ZodLiteral<"deleteTargetCsv">;
283
- }, z.core.$strip>, z.ZodObject<{
284
- kind: z.ZodLiteral<"uploadCsv">;
285
- fileName: z.ZodString;
286
- records: z.ZodArray<z.ZodObject<{
287
- userId: z.ZodNumber;
288
- projectIds: z.ZodString;
289
- }, z.core.$strip>>;
290
- }, z.core.$strip>]>, z.ZodNull]>;
291
- }, z.core.$strip>;
292
- declare const CurationMailMagazineDetail: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
293
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
294
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
295
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
296
- deliveredUsersCount: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
297
- targetFilters: z.ZodArray<z.ZodObject<{
298
- id: z.ZodNumber;
299
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
300
- profileSegmentCodes: z.ZodArray<z.ZodString>;
301
- }, z.core.$strip>>;
302
- }, z.core.$strip>, z.ZodObject<{
303
- bodyKind: z.ZodLiteral<"template">;
304
- projects: z.ZodArray<z.ZodObject<{
305
- id: z.ZodNumber;
306
- readyforProjectId: z.ZodNumber;
307
- slotNumber: z.ZodNumber;
308
- isPaidSlot: z.ZodBoolean;
309
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
310
- description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
311
- thumbnailUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
312
- tag: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
313
- tagUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
314
- }, z.core.$strip>>;
315
- banners: z.ZodArray<z.ZodObject<{
316
- id: z.ZodNumber;
317
- slotNumber: z.ZodNumber;
318
- imageUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
319
- url: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
320
- }, z.core.$strip>>;
321
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
322
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
323
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
324
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
325
- deliveredUsersCount: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
326
- targetFilters: z.ZodArray<z.ZodObject<{
327
- id: z.ZodNumber;
328
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
329
- profileSegmentCodes: z.ZodArray<z.ZodString>;
330
- }, z.core.$strip>>;
331
- }, z.core.$strip>, z.ZodObject<{
332
- bodyKind: z.ZodLiteral<"freeFormat">;
333
- htmlBody: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
334
- htmlStyle: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
335
- images: z.ZodArray<z.ZodObject<{
336
- id: z.ZodNumber;
337
- key: z.ZodString;
338
- }, z.core.$strip>>;
339
- }, z.core.$strip>>]>;
340
- declare const CampaignStatus: z.ZodUnion<readonly [z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
341
- declare const PersonalizedMailMagazineDetail: z.ZodObject<{
342
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
343
- target: z.ZodUnion<readonly [z.ZodObject<{
344
- csvFileName: z.ZodString;
345
- targetUsersCount: z.ZodNumber;
346
- excludedUsersCount: z.ZodNumber;
347
- }, z.core.$strip>, z.ZodNull]>;
348
- }, z.core.$strip>;
349
- declare const CampaignKindDataCurationMailMagazineFormData: z.ZodObject<{
350
- kind: z.ZodLiteral<"curationMailMagazine">;
351
- curationMailMagazine: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
352
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
353
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
354
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
355
- targetFilters: z.ZodArray<z.ZodObject<{
356
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
357
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
358
- profileSegmentCodes: z.ZodArray<z.ZodString>;
359
- }, z.core.$strip>>;
360
- }, z.core.$strip>, z.ZodObject<{
361
- bodyKind: z.ZodLiteral<"freeFormat">;
362
- htmlBody: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
363
- htmlStyle: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
364
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
365
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
366
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
367
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
368
- targetFilters: z.ZodArray<z.ZodObject<{
369
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
370
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
371
- profileSegmentCodes: z.ZodArray<z.ZodString>;
372
- }, z.core.$strip>>;
373
- }, z.core.$strip>, z.ZodObject<{
374
- bodyKind: z.ZodLiteral<"template">;
375
- projects: z.ZodArray<z.ZodObject<{
376
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
377
- slotNumber: z.ZodNumber;
378
- readyforProjectId: z.ZodNumber;
379
- isPaidSlot: z.ZodBoolean;
380
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
381
- description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
382
- thumbnail: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
383
- kind: z.ZodLiteral<"upload">;
384
- data: z.ZodUnion<readonly [z.ZodAny, z.ZodAny]>;
385
- }, z.core.$strip>, z.ZodObject<{
386
- kind: z.ZodLiteral<"delete">;
387
- }, z.core.$strip>]>, z.ZodNull]>;
388
- tag: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
389
- tagUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
390
- }, z.core.$strip>>;
391
- banners: z.ZodArray<z.ZodObject<{
392
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
393
- slotNumber: z.ZodNumber;
394
- image: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
395
- kind: z.ZodLiteral<"upload">;
396
- data: z.ZodUnion<readonly [z.ZodAny, z.ZodAny]>;
397
- }, z.core.$strip>, z.ZodObject<{
398
- kind: z.ZodLiteral<"delete">;
399
- }, z.core.$strip>]>, z.ZodNull]>;
400
- url: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
401
- }, z.core.$strip>>;
402
- }, z.core.$strip>>]>;
403
- }, z.core.$strip>;
404
- declare const CampaignBaseFormData: z.ZodObject<{
405
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
406
- deliveryScheduledAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
407
- }, z.core.$strip>;
408
- declare const CampaignKindDataPersonalizedMailMagazineFormData: z.ZodObject<{
409
- kind: z.ZodLiteral<"personalizedMailMagazine">;
410
- personalizedMailMagazine: z.ZodObject<{
411
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
412
- targetCsv: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
413
- kind: z.ZodLiteral<"deleteTargetCsv">;
414
- }, z.core.$strip>, z.ZodObject<{
415
- kind: z.ZodLiteral<"uploadCsv">;
416
- fileName: z.ZodString;
417
- records: z.ZodArray<z.ZodObject<{
418
- userId: z.ZodNumber;
419
- projectIds: z.ZodString;
420
- }, z.core.$strip>>;
421
- }, z.core.$strip>]>, z.ZodNull]>;
422
- }, z.core.$strip>;
423
- }, z.core.$strip>;
424
- declare const CampaignDetailKindDataCurationMailMagazine: z.ZodObject<{
425
- kind: z.ZodLiteral<"curationMailMagazine">;
426
- curationMailMagazine: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
427
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
428
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
429
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
430
- deliveredUsersCount: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
431
- targetFilters: z.ZodArray<z.ZodObject<{
432
- id: z.ZodNumber;
433
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
434
- profileSegmentCodes: z.ZodArray<z.ZodString>;
435
- }, z.core.$strip>>;
436
- }, z.core.$strip>, z.ZodObject<{
437
- bodyKind: z.ZodLiteral<"template">;
438
- projects: z.ZodArray<z.ZodObject<{
439
- id: z.ZodNumber;
440
- readyforProjectId: z.ZodNumber;
441
- slotNumber: z.ZodNumber;
442
- isPaidSlot: z.ZodBoolean;
443
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
444
- description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
445
- thumbnailUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
446
- tag: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
447
- tagUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
448
- }, z.core.$strip>>;
449
- banners: z.ZodArray<z.ZodObject<{
450
- id: z.ZodNumber;
451
- slotNumber: z.ZodNumber;
452
- imageUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
453
- url: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
454
- }, z.core.$strip>>;
455
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
456
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
457
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
458
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
459
- deliveredUsersCount: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
460
- targetFilters: z.ZodArray<z.ZodObject<{
461
- id: z.ZodNumber;
462
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
463
- profileSegmentCodes: z.ZodArray<z.ZodString>;
464
- }, z.core.$strip>>;
465
- }, z.core.$strip>, z.ZodObject<{
466
- bodyKind: z.ZodLiteral<"freeFormat">;
467
- htmlBody: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
468
- htmlStyle: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
469
- images: z.ZodArray<z.ZodObject<{
470
- id: z.ZodNumber;
471
- key: z.ZodString;
472
- }, z.core.$strip>>;
473
- }, z.core.$strip>>]>;
474
- }, z.core.$strip>;
475
- declare const CampaignDetailBase: z.ZodObject<{
476
- id: z.ZodNumber;
477
- status: z.ZodUnion<readonly [z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
478
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
479
- deliveryScheduledAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
480
- }, z.core.$strip>;
481
- declare const CampaignDetailKindDataPersonalizedMailMagazine: z.ZodObject<{
482
- kind: z.ZodLiteral<"personalizedMailMagazine">;
483
- personalizedMailMagazine: z.ZodObject<{
484
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
485
- target: z.ZodUnion<readonly [z.ZodObject<{
486
- csvFileName: z.ZodString;
487
- targetUsersCount: z.ZodNumber;
488
- excludedUsersCount: z.ZodNumber;
489
- }, z.core.$strip>, z.ZodNull]>;
490
- }, z.core.$strip>;
491
- }, z.core.$strip>;
492
- declare const BodyKind: z.ZodUnion<readonly [z.ZodLiteral<"template">, z.ZodLiteral<"freeFormat">]>;
493
- declare const CampaignBase: z.ZodObject<{
494
- id: z.ZodNumber;
495
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
496
- status: z.ZodUnion<readonly [z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
497
- deliveryAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
498
- lastEditorName: z.ZodString;
499
- lastEditedAt: z.ZodString;
500
- }, z.core.$strip>;
501
- declare const CampaignWithCurationMailMagazineFormData: z.ZodIntersection<z.ZodObject<{
502
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
503
- deliveryScheduledAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
504
- }, z.core.$strip>, z.ZodObject<{
505
- kind: z.ZodLiteral<"curationMailMagazine">;
506
- curationMailMagazine: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
507
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
508
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
509
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
510
- targetFilters: z.ZodArray<z.ZodObject<{
511
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
512
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
513
- profileSegmentCodes: z.ZodArray<z.ZodString>;
514
- }, z.core.$strip>>;
515
- }, z.core.$strip>, z.ZodObject<{
516
- bodyKind: z.ZodLiteral<"freeFormat">;
517
- htmlBody: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
518
- htmlStyle: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
519
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
520
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
521
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
522
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
523
- targetFilters: z.ZodArray<z.ZodObject<{
524
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
525
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
526
- profileSegmentCodes: z.ZodArray<z.ZodString>;
527
- }, z.core.$strip>>;
528
- }, z.core.$strip>, z.ZodObject<{
529
- bodyKind: z.ZodLiteral<"template">;
530
- projects: z.ZodArray<z.ZodObject<{
531
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
532
- slotNumber: z.ZodNumber;
533
- readyforProjectId: z.ZodNumber;
534
- isPaidSlot: z.ZodBoolean;
535
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
536
- description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
537
- thumbnail: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
538
- kind: z.ZodLiteral<"upload">;
539
- data: z.ZodUnion<readonly [z.ZodAny, z.ZodAny]>;
540
- }, z.core.$strip>, z.ZodObject<{
541
- kind: z.ZodLiteral<"delete">;
542
- }, z.core.$strip>]>, z.ZodNull]>;
543
- tag: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
544
- tagUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
545
- }, z.core.$strip>>;
546
- banners: z.ZodArray<z.ZodObject<{
547
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
548
- slotNumber: z.ZodNumber;
549
- image: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
550
- kind: z.ZodLiteral<"upload">;
551
- data: z.ZodUnion<readonly [z.ZodAny, z.ZodAny]>;
552
- }, z.core.$strip>, z.ZodObject<{
553
- kind: z.ZodLiteral<"delete">;
554
- }, z.core.$strip>]>, z.ZodNull]>;
555
- url: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
556
- }, z.core.$strip>>;
557
- }, z.core.$strip>>]>;
558
- }, z.core.$strip>>;
559
- declare const CampaignWithPersonalizedMailMagazineFormData: z.ZodIntersection<z.ZodObject<{
560
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
561
- deliveryScheduledAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
562
- }, z.core.$strip>, z.ZodObject<{
563
- kind: z.ZodLiteral<"personalizedMailMagazine">;
564
- personalizedMailMagazine: z.ZodObject<{
565
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
566
- targetCsv: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
567
- kind: z.ZodLiteral<"deleteTargetCsv">;
568
- }, z.core.$strip>, z.ZodObject<{
569
- kind: z.ZodLiteral<"uploadCsv">;
570
- fileName: z.ZodString;
571
- records: z.ZodArray<z.ZodObject<{
572
- userId: z.ZodNumber;
573
- projectIds: z.ZodString;
574
- }, z.core.$strip>>;
575
- }, z.core.$strip>]>, z.ZodNull]>;
576
- }, z.core.$strip>;
577
- }, z.core.$strip>>;
578
- declare const CampaignDetailWithCurationMailMagazine: z.ZodIntersection<z.ZodObject<{
579
- id: z.ZodNumber;
580
- status: z.ZodUnion<readonly [z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
581
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
582
- deliveryScheduledAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
583
- }, z.core.$strip>, z.ZodObject<{
584
- kind: z.ZodLiteral<"curationMailMagazine">;
585
- curationMailMagazine: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
586
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
587
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
588
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
589
- deliveredUsersCount: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
590
- targetFilters: z.ZodArray<z.ZodObject<{
591
- id: z.ZodNumber;
592
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
593
- profileSegmentCodes: z.ZodArray<z.ZodString>;
594
- }, z.core.$strip>>;
595
- }, z.core.$strip>, z.ZodObject<{
596
- bodyKind: z.ZodLiteral<"template">;
597
- projects: z.ZodArray<z.ZodObject<{
598
- id: z.ZodNumber;
599
- readyforProjectId: z.ZodNumber;
600
- slotNumber: z.ZodNumber;
601
- isPaidSlot: z.ZodBoolean;
602
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
603
- description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
604
- thumbnailUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
605
- tag: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
606
- tagUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
607
- }, z.core.$strip>>;
608
- banners: z.ZodArray<z.ZodObject<{
609
- id: z.ZodNumber;
610
- slotNumber: z.ZodNumber;
611
- imageUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
612
- url: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
613
- }, z.core.$strip>>;
614
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
615
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
616
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
617
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
618
- deliveredUsersCount: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
619
- targetFilters: z.ZodArray<z.ZodObject<{
620
- id: z.ZodNumber;
621
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
622
- profileSegmentCodes: z.ZodArray<z.ZodString>;
623
- }, z.core.$strip>>;
624
- }, z.core.$strip>, z.ZodObject<{
625
- bodyKind: z.ZodLiteral<"freeFormat">;
626
- htmlBody: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
627
- htmlStyle: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
628
- images: z.ZodArray<z.ZodObject<{
629
- id: z.ZodNumber;
630
- key: z.ZodString;
631
- }, z.core.$strip>>;
632
- }, z.core.$strip>>]>;
633
- }, z.core.$strip>>;
634
- declare const CampaignDetailWithPersonalizedMailMagazine: z.ZodIntersection<z.ZodObject<{
635
- id: z.ZodNumber;
636
- status: z.ZodUnion<readonly [z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
637
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
638
- deliveryScheduledAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
639
- }, z.core.$strip>, z.ZodObject<{
640
- kind: z.ZodLiteral<"personalizedMailMagazine">;
641
- personalizedMailMagazine: z.ZodObject<{
642
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
643
- target: z.ZodUnion<readonly [z.ZodObject<{
644
- csvFileName: z.ZodString;
645
- targetUsersCount: z.ZodNumber;
646
- excludedUsersCount: z.ZodNumber;
647
- }, z.core.$strip>, z.ZodNull]>;
648
- }, z.core.$strip>;
649
- }, z.core.$strip>>;
650
- declare const CurationMailMagazineCampaign: z.ZodIntersection<z.ZodObject<{
651
- id: z.ZodNumber;
652
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
653
- status: z.ZodUnion<readonly [z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
654
- deliveryAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
655
- lastEditorName: z.ZodString;
656
- lastEditedAt: z.ZodString;
657
- }, z.core.$strip>, z.ZodObject<{
658
- kind: z.ZodLiteral<"curationMailMagazine">;
659
- bodyKind: z.ZodUnion<readonly [z.ZodLiteral<"template">, z.ZodLiteral<"freeFormat">]>;
660
- }, z.core.$strip>>;
661
- declare const PersonalizedMailMagazineCampaign: z.ZodIntersection<z.ZodObject<{
662
- id: z.ZodNumber;
663
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
664
- status: z.ZodUnion<readonly [z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
665
- deliveryAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
666
- lastEditorName: z.ZodString;
667
- lastEditedAt: z.ZodString;
668
- }, z.core.$strip>, z.ZodObject<{
669
- kind: z.ZodLiteral<"personalizedMailMagazine">;
670
- }, z.core.$strip>>;
671
- declare const Segment: z.ZodObject<{
672
- code: z.ZodString;
673
- label: z.ZodString;
674
- isActive: z.ZodBoolean;
675
- displayOrder: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
676
- description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
677
- }, z.core.$strip>;
678
- declare const ReadyforProject: z.ZodObject<{
679
- projectId: z.ZodNumber;
680
- keyword: z.ZodString;
681
- title: z.ZodString;
682
- abstract: z.ZodString;
683
- }, z.core.$strip>;
684
- declare const CampaignFormData: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
685
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
686
- deliveryScheduledAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
687
- }, z.core.$strip>, z.ZodObject<{
688
- kind: z.ZodLiteral<"personalizedMailMagazine">;
689
- personalizedMailMagazine: z.ZodObject<{
690
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
691
- targetCsv: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
692
- kind: z.ZodLiteral<"deleteTargetCsv">;
693
- }, z.core.$strip>, z.ZodObject<{
694
- kind: z.ZodLiteral<"uploadCsv">;
695
- fileName: z.ZodString;
696
- records: z.ZodArray<z.ZodObject<{
697
- userId: z.ZodNumber;
698
- projectIds: z.ZodString;
699
- }, z.core.$strip>>;
700
- }, z.core.$strip>]>, z.ZodNull]>;
701
- }, z.core.$strip>;
702
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
703
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
704
- deliveryScheduledAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
705
- }, z.core.$strip>, z.ZodObject<{
706
- kind: z.ZodLiteral<"curationMailMagazine">;
707
- curationMailMagazine: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
708
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
709
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
710
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
711
- targetFilters: z.ZodArray<z.ZodObject<{
712
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
713
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
714
- profileSegmentCodes: z.ZodArray<z.ZodString>;
715
- }, z.core.$strip>>;
716
- }, z.core.$strip>, z.ZodObject<{
717
- bodyKind: z.ZodLiteral<"freeFormat">;
718
- htmlBody: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
719
- htmlStyle: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
720
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
721
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
722
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
723
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
724
- targetFilters: z.ZodArray<z.ZodObject<{
725
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
726
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
727
- profileSegmentCodes: z.ZodArray<z.ZodString>;
728
- }, z.core.$strip>>;
729
- }, z.core.$strip>, z.ZodObject<{
730
- bodyKind: z.ZodLiteral<"template">;
731
- projects: z.ZodArray<z.ZodObject<{
732
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
733
- slotNumber: z.ZodNumber;
734
- readyforProjectId: z.ZodNumber;
735
- isPaidSlot: z.ZodBoolean;
736
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
737
- description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
738
- thumbnail: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
739
- kind: z.ZodLiteral<"upload">;
740
- data: z.ZodUnion<readonly [z.ZodAny, z.ZodAny]>;
741
- }, z.core.$strip>, z.ZodObject<{
742
- kind: z.ZodLiteral<"delete">;
743
- }, z.core.$strip>]>, z.ZodNull]>;
744
- tag: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
745
- tagUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
746
- }, z.core.$strip>>;
747
- banners: z.ZodArray<z.ZodObject<{
748
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
749
- slotNumber: z.ZodNumber;
750
- image: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
751
- kind: z.ZodLiteral<"upload">;
752
- data: z.ZodUnion<readonly [z.ZodAny, z.ZodAny]>;
753
- }, z.core.$strip>, z.ZodObject<{
754
- kind: z.ZodLiteral<"delete">;
755
- }, z.core.$strip>]>, z.ZodNull]>;
756
- url: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
757
- }, z.core.$strip>>;
758
- }, z.core.$strip>>]>;
759
- }, z.core.$strip>>]>;
760
- declare const CampaignDetail: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
761
- id: z.ZodNumber;
762
- status: z.ZodUnion<readonly [z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
763
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
764
- deliveryScheduledAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
765
- }, z.core.$strip>, z.ZodObject<{
766
- kind: z.ZodLiteral<"personalizedMailMagazine">;
767
- personalizedMailMagazine: z.ZodObject<{
768
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
769
- target: z.ZodUnion<readonly [z.ZodObject<{
770
- csvFileName: z.ZodString;
771
- targetUsersCount: z.ZodNumber;
772
- excludedUsersCount: z.ZodNumber;
773
- }, z.core.$strip>, z.ZodNull]>;
774
- }, z.core.$strip>;
775
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
776
- id: z.ZodNumber;
777
- status: z.ZodUnion<readonly [z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
778
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
779
- deliveryScheduledAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
780
- }, z.core.$strip>, z.ZodObject<{
781
- kind: z.ZodLiteral<"curationMailMagazine">;
782
- curationMailMagazine: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
783
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
784
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
785
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
786
- deliveredUsersCount: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
787
- targetFilters: z.ZodArray<z.ZodObject<{
788
- id: z.ZodNumber;
789
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
790
- profileSegmentCodes: z.ZodArray<z.ZodString>;
791
- }, z.core.$strip>>;
792
- }, z.core.$strip>, z.ZodObject<{
793
- bodyKind: z.ZodLiteral<"template">;
794
- projects: z.ZodArray<z.ZodObject<{
795
- id: z.ZodNumber;
796
- readyforProjectId: z.ZodNumber;
797
- slotNumber: z.ZodNumber;
798
- isPaidSlot: z.ZodBoolean;
799
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
800
- description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
801
- thumbnailUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
802
- tag: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
803
- tagUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
804
- }, z.core.$strip>>;
805
- banners: z.ZodArray<z.ZodObject<{
806
- id: z.ZodNumber;
807
- slotNumber: z.ZodNumber;
808
- imageUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
809
- url: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
810
- }, z.core.$strip>>;
811
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
812
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
813
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
814
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
815
- deliveredUsersCount: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
816
- targetFilters: z.ZodArray<z.ZodObject<{
817
- id: z.ZodNumber;
818
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
819
- profileSegmentCodes: z.ZodArray<z.ZodString>;
820
- }, z.core.$strip>>;
821
- }, z.core.$strip>, z.ZodObject<{
822
- bodyKind: z.ZodLiteral<"freeFormat">;
823
- htmlBody: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
824
- htmlStyle: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
825
- images: z.ZodArray<z.ZodObject<{
826
- id: z.ZodNumber;
827
- key: z.ZodString;
828
- }, z.core.$strip>>;
829
- }, z.core.$strip>>]>;
830
- }, z.core.$strip>>]>;
831
- declare const CreateCampaignKindPersonalizedMailMagazineFormData: z.ZodObject<{
832
- kind: z.ZodLiteral<"personalizedMailMagazine">;
833
- }, z.core.$strip>;
834
- declare const CreateCampaignKindCurationMailMagazineFormData: z.ZodObject<{
835
- kind: z.ZodLiteral<"curationMailMagazine">;
836
- bodyKind: z.ZodUnion<readonly [z.ZodLiteral<"template">, z.ZodLiteral<"freeFormat">]>;
837
- }, z.core.$strip>;
838
- declare const Pagination: z.ZodObject<{
839
- totalPages: z.ZodNumber;
840
- totalCount: z.ZodNumber;
841
- currentPerPage: z.ZodNumber;
842
- currentPage: z.ZodNumber;
843
- prevPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
844
- nextPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
845
- isFirstPage: z.ZodBoolean;
846
- isLastPage: z.ZodBoolean;
847
- }, z.core.$strip>;
848
- declare const Campaign: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
849
- id: z.ZodNumber;
850
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
851
- status: z.ZodUnion<readonly [z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
852
- deliveryAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
853
- lastEditorName: z.ZodString;
854
- lastEditedAt: z.ZodString;
855
- }, z.core.$strip>, z.ZodObject<{
856
- kind: z.ZodLiteral<"personalizedMailMagazine">;
857
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
858
- id: z.ZodNumber;
859
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
860
- status: z.ZodUnion<readonly [z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
861
- deliveryAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
862
- lastEditorName: z.ZodString;
863
- lastEditedAt: z.ZodString;
864
- }, z.core.$strip>, z.ZodObject<{
865
- kind: z.ZodLiteral<"curationMailMagazine">;
866
- bodyKind: z.ZodUnion<readonly [z.ZodLiteral<"template">, z.ZodLiteral<"freeFormat">]>;
867
- }, z.core.$strip>>]>;
868
- declare const TargetFilterSegments: z.ZodObject<{
869
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
870
- profileSegmentCodes: z.ZodArray<z.ZodString>;
871
- }, z.core.$strip>;
872
- declare const GetTargetUsersCountResponse: z.ZodObject<{
873
- count: z.ZodNumber;
874
- }, z.core.$strip>;
875
- declare const GetProfileSegmentsResponse: z.ZodObject<{
876
- profileSegments: z.ZodArray<z.ZodObject<{
877
- code: z.ZodString;
878
- label: z.ZodString;
879
- isActive: z.ZodBoolean;
880
- displayOrder: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
881
- description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
882
- }, z.core.$strip>>;
883
- }, z.core.$strip>;
884
- declare const GetBehaviorSegmentsResponse: z.ZodObject<{
885
- behaviorSegments: z.ZodArray<z.ZodObject<{
886
- code: z.ZodString;
887
- label: z.ZodString;
888
- isActive: z.ZodBoolean;
889
- displayOrder: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
890
- description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
891
- }, z.core.$strip>>;
892
- }, z.core.$strip>;
893
- declare const GetProjectsProjectIdOrKeywordResponse: z.ZodObject<{
894
- project: z.ZodObject<{
895
- projectId: z.ZodNumber;
896
- keyword: z.ZodString;
897
- title: z.ZodString;
898
- abstract: z.ZodString;
899
- }, z.core.$strip>;
900
- }, z.core.$strip>;
901
- declare const PostCampaignsCampaignIdImagesReqeustBody: z.ZodObject<{
902
- image: z.ZodUnion<readonly [z.ZodAny, z.ZodAny]>;
903
- }, z.core.$strip>;
904
- declare const PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody: z.ZodObject<{
905
- emails: z.ZodArray<z.ZodString>;
906
- }, z.core.$strip>;
907
- declare const GetCampaignsCampaignIdPreviewResponse: z.ZodObject<{
908
- content: z.ZodString;
909
- }, z.core.$strip>;
910
- declare const HttpErrorBadRequest: z.ZodObject<{
911
- errors: z.ZodArray<z.ZodString>;
912
- }, z.core.$strip>;
913
- declare const PatchCampaignsCampaignIdRequestBody: z.ZodObject<{
914
- formData: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
915
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
916
- deliveryScheduledAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
917
- }, z.core.$strip>, z.ZodObject<{
918
- kind: z.ZodLiteral<"personalizedMailMagazine">;
919
- personalizedMailMagazine: z.ZodObject<{
920
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
921
- targetCsv: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
922
- kind: z.ZodLiteral<"deleteTargetCsv">;
923
- }, z.core.$strip>, z.ZodObject<{
924
- kind: z.ZodLiteral<"uploadCsv">;
925
- fileName: z.ZodString;
926
- records: z.ZodArray<z.ZodObject<{
927
- userId: z.ZodNumber;
928
- projectIds: z.ZodString;
929
- }, z.core.$strip>>;
930
- }, z.core.$strip>]>, z.ZodNull]>;
931
- }, z.core.$strip>;
932
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
933
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
934
- deliveryScheduledAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
935
- }, z.core.$strip>, z.ZodObject<{
936
- kind: z.ZodLiteral<"curationMailMagazine">;
937
- curationMailMagazine: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
938
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
939
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
940
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
941
- targetFilters: z.ZodArray<z.ZodObject<{
942
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
943
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
944
- profileSegmentCodes: z.ZodArray<z.ZodString>;
945
- }, z.core.$strip>>;
946
- }, z.core.$strip>, z.ZodObject<{
947
- bodyKind: z.ZodLiteral<"freeFormat">;
948
- htmlBody: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
949
- htmlStyle: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
950
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
951
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
952
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
953
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
954
- targetFilters: z.ZodArray<z.ZodObject<{
955
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
956
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
957
- profileSegmentCodes: z.ZodArray<z.ZodString>;
958
- }, z.core.$strip>>;
959
- }, z.core.$strip>, z.ZodObject<{
960
- bodyKind: z.ZodLiteral<"template">;
961
- projects: z.ZodArray<z.ZodObject<{
962
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
963
- slotNumber: z.ZodNumber;
964
- readyforProjectId: z.ZodNumber;
965
- isPaidSlot: z.ZodBoolean;
966
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
967
- description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
968
- thumbnail: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
969
- kind: z.ZodLiteral<"upload">;
970
- data: z.ZodUnion<readonly [z.ZodAny, z.ZodAny]>;
971
- }, z.core.$strip>, z.ZodObject<{
972
- kind: z.ZodLiteral<"delete">;
973
- }, z.core.$strip>]>, z.ZodNull]>;
974
- tag: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
975
- tagUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
976
- }, z.core.$strip>>;
977
- banners: z.ZodArray<z.ZodObject<{
978
- id: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
979
- slotNumber: z.ZodNumber;
980
- image: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
981
- kind: z.ZodLiteral<"upload">;
982
- data: z.ZodUnion<readonly [z.ZodAny, z.ZodAny]>;
983
- }, z.core.$strip>, z.ZodObject<{
984
- kind: z.ZodLiteral<"delete">;
985
- }, z.core.$strip>]>, z.ZodNull]>;
986
- url: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
987
- }, z.core.$strip>>;
988
- }, z.core.$strip>>]>;
989
- }, z.core.$strip>>]>;
990
- }, z.core.$strip>;
991
- declare const CampaignsCampaignIdResponse: z.ZodObject<{
992
- campaignDetail: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
993
- id: z.ZodNumber;
994
- status: z.ZodUnion<readonly [z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
995
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
996
- deliveryScheduledAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
997
- }, z.core.$strip>, z.ZodObject<{
998
- kind: z.ZodLiteral<"personalizedMailMagazine">;
999
- personalizedMailMagazine: z.ZodObject<{
1000
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1001
- target: z.ZodUnion<readonly [z.ZodObject<{
1002
- csvFileName: z.ZodString;
1003
- targetUsersCount: z.ZodNumber;
1004
- excludedUsersCount: z.ZodNumber;
1005
- }, z.core.$strip>, z.ZodNull]>;
1006
- }, z.core.$strip>;
1007
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1008
- id: z.ZodNumber;
1009
- status: z.ZodUnion<readonly [z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
1010
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1011
- deliveryScheduledAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1012
- }, z.core.$strip>, z.ZodObject<{
1013
- kind: z.ZodLiteral<"curationMailMagazine">;
1014
- curationMailMagazine: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
1015
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1016
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1017
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1018
- deliveredUsersCount: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
1019
- targetFilters: z.ZodArray<z.ZodObject<{
1020
- id: z.ZodNumber;
1021
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
1022
- profileSegmentCodes: z.ZodArray<z.ZodString>;
1023
- }, z.core.$strip>>;
1024
- }, z.core.$strip>, z.ZodObject<{
1025
- bodyKind: z.ZodLiteral<"template">;
1026
- projects: z.ZodArray<z.ZodObject<{
1027
- id: z.ZodNumber;
1028
- readyforProjectId: z.ZodNumber;
1029
- slotNumber: z.ZodNumber;
1030
- isPaidSlot: z.ZodBoolean;
1031
- title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1032
- description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1033
- thumbnailUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1034
- tag: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1035
- tagUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1036
- }, z.core.$strip>>;
1037
- banners: z.ZodArray<z.ZodObject<{
1038
- id: z.ZodNumber;
1039
- slotNumber: z.ZodNumber;
1040
- imageUrl: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1041
- url: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1042
- }, z.core.$strip>>;
1043
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1044
- utmCampaign: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1045
- subject: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1046
- preHeaderText: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1047
- deliveredUsersCount: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
1048
- targetFilters: z.ZodArray<z.ZodObject<{
1049
- id: z.ZodNumber;
1050
- behaviorSegmentCodes: z.ZodArray<z.ZodString>;
1051
- profileSegmentCodes: z.ZodArray<z.ZodString>;
1052
- }, z.core.$strip>>;
1053
- }, z.core.$strip>, z.ZodObject<{
1054
- bodyKind: z.ZodLiteral<"freeFormat">;
1055
- htmlBody: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1056
- htmlStyle: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1057
- images: z.ZodArray<z.ZodObject<{
1058
- id: z.ZodNumber;
1059
- key: z.ZodString;
1060
- }, z.core.$strip>>;
1061
- }, z.core.$strip>>]>;
1062
- }, z.core.$strip>>]>;
1063
- }, z.core.$strip>;
1064
- declare const CampaignKind: z.ZodUnion<readonly [z.ZodLiteral<"curationMailMagazine">, z.ZodLiteral<"personalizedMailMagazine">]>;
1065
- declare const PostCampaignsRequestBody: z.ZodUnion<readonly [z.ZodObject<{
1066
- kind: z.ZodLiteral<"curationMailMagazine">;
1067
- bodyKind: z.ZodUnion<readonly [z.ZodLiteral<"template">, z.ZodLiteral<"freeFormat">]>;
1068
- }, z.core.$strip>, z.ZodObject<{
1069
- kind: z.ZodLiteral<"personalizedMailMagazine">;
1070
- }, z.core.$strip>]>;
1071
- declare const PostCampaignsResponse: z.ZodObject<{
1072
- id: z.ZodNumber;
1073
- }, z.core.$strip>;
1074
- declare const GetCampaignsResponse: z.ZodObject<{
1075
- campaigns: z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
1076
- id: z.ZodNumber;
1077
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
1078
- status: z.ZodUnion<readonly [z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
1079
- deliveryAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1080
- lastEditorName: z.ZodString;
1081
- lastEditedAt: z.ZodString;
1082
- }, z.core.$strip>, z.ZodObject<{
1083
- kind: z.ZodLiteral<"personalizedMailMagazine">;
1084
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1085
- id: z.ZodNumber;
1086
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
1087
- status: z.ZodUnion<readonly [z.ZodLiteral<"draft">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"delivering">, z.ZodLiteral<"delivered">, z.ZodLiteral<"deliveryFailed">]>;
1088
- deliveryAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1089
- lastEditorName: z.ZodString;
1090
- lastEditedAt: z.ZodString;
1091
- }, z.core.$strip>, z.ZodObject<{
1092
- kind: z.ZodLiteral<"curationMailMagazine">;
1093
- bodyKind: z.ZodUnion<readonly [z.ZodLiteral<"template">, z.ZodLiteral<"freeFormat">]>;
1094
- }, z.core.$strip>>]>>;
1095
- pagination: z.ZodObject<{
1096
- totalPages: z.ZodNumber;
1097
- totalCount: z.ZodNumber;
1098
- currentPerPage: z.ZodNumber;
1099
- currentPage: z.ZodNumber;
1100
- prevPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
1101
- nextPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
1102
- isFirstPage: z.ZodBoolean;
1103
- isLastPage: z.ZodBoolean;
1104
- }, z.core.$strip>;
1105
- }, z.core.$strip>;
1106
-
1107
- export { BodyKind, Campaign, CampaignBase, CampaignBaseFormData, CampaignDetail, CampaignDetailBase, CampaignDetailKindDataCurationMailMagazine, CampaignDetailKindDataPersonalizedMailMagazine, CampaignDetailWithCurationMailMagazine, CampaignDetailWithPersonalizedMailMagazine, CampaignFormData, CampaignKind, CampaignKindDataCurationMailMagazineFormData, CampaignKindDataPersonalizedMailMagazineFormData, CampaignStatus, CampaignWithCurationMailMagazineFormData, CampaignWithPersonalizedMailMagazineFormData, CampaignsCampaignIdResponse, CreateCampaignKindCurationMailMagazineFormData, CreateCampaignKindPersonalizedMailMagazineFormData, CurationMailMagazineBanner, CurationMailMagazineBannerFormData, CurationMailMagazineCampaign, CurationMailMagazineDetail, CurationMailMagazineDetailBase, CurationMailMagazineDetailBodyKindFreeFormat, CurationMailMagazineDetailBodyKindTemplate, CurationMailMagazineFormData, CurationMailMagazineFormDataBase, CurationMailMagazineFormDataBodyKindFreeFormat, CurationMailMagazineFormDataBodyKindTemplate, CurationMailMagazineProjectFormData, CurationMailMagazineTargetFilter, CurationMailMagazineTargetFilterFormData, CurationMailMagazineTargetProject, DeleteImageFormData, GetBehaviorSegmentsResponse, GetCampaignsCampaignIdPreviewResponse, GetCampaignsResponse, GetProfileSegmentsResponse, GetProjectsProjectIdOrKeywordResponse, GetTargetUsersCountResponse, HttpErrorBadRequest, Image, ImageFormData, Pagination, PatchCampaignsCampaignIdRequestBody, PersonalizedMailMagazineCampaign, PersonalizedMailMagazineDetail, PersonalizedMailMagazineDetailTarget, PersonalizedMailMagazineFormData, PersonalizedMailMagazineTargetCsvFormData, PersonalizedMailMagazineTargetDeleteCsvFormData, PersonalizedMailMagazineTargetUploadCsvFormData, PersonalizedMailMagazineTargetUploadCsvRecordFormData, PostCampaignsCampaignIdImagesReqeustBody, PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody, PostCampaignsRequestBody, PostCampaignsResponse, ReadyforProject, Segment, TargetFilterSegments, UploadImageFormData };