@readyfor/api-client-pigeon 0.236.0 → 0.237.0-pr958.ea2df69
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-KL2BCQLU.mjs → chunk-3X4E4U2O.mjs} +1 -1
- package/dist/{chunk-MFCSQX6F.mjs → chunk-6HAZ74NE.mjs} +1 -1
- package/dist/{chunk-ZDQDW24D.mjs → chunk-6M2YBD2O.mjs} +1 -1
- package/dist/{chunk-VUY6GQWT.mjs → chunk-6NDIJ4ES.mjs} +1 -1
- package/dist/{chunk-DQW3ZEJN.mjs → chunk-A24CWOKX.mjs} +1 -1
- package/dist/{chunk-D455PCO3.mjs → chunk-A27E5C24.mjs} +1 -1
- package/dist/{chunk-3BSY3CC4.mjs → chunk-B22NIVP6.mjs} +1 -1
- package/dist/{chunk-VJU27CZQ.mjs → chunk-B6LDGLWA.mjs} +1 -1
- package/dist/{chunk-BGIB7JQD.mjs → chunk-EU35TDAI.mjs} +1 -1
- package/dist/{chunk-DH3UXOBA.mjs → chunk-HXNGO56J.mjs} +1 -1
- package/dist/{chunk-QCIAYUXK.mjs → chunk-HXXKAZDM.mjs} +61 -139
- package/dist/{chunk-LUUW3QOB.mjs → chunk-N2OKUVZR.mjs} +1 -1
- package/dist/{chunk-NKNUFH54.mjs → chunk-SMZ4TQUF.mjs} +1 -1
- package/dist/{chunk-EYJTETGN.mjs → chunk-VP2N74DP.mjs} +1 -1
- package/dist/{chunk-S2M3EJKW.mjs → chunk-X6SJMFUO.mjs} +1 -1
- package/dist/components.d.mts +216 -1828
- package/dist/components.d.ts +216 -1828
- package/dist/components.js +54 -147
- package/dist/components.mjs +1 -31
- package/dist/fetch/campaigns.d.mts +6 -24
- package/dist/fetch/campaigns.d.ts +6 -24
- package/dist/fetch/campaigns.js +54 -117
- package/dist/fetch/campaigns.mjs +2 -2
- package/dist/fetch/campaignsId.d.mts +4 -76
- package/dist/fetch/campaignsId.d.ts +4 -76
- package/dist/fetch/campaignsId.js +54 -117
- package/dist/fetch/campaignsId.mjs +2 -2
- package/dist/fetch/campaignsIdPreview.js +54 -117
- package/dist/fetch/campaignsIdPreview.mjs +2 -2
- package/dist/fetch/projectsProjectIdOrKeyword.js +54 -117
- package/dist/fetch/projectsProjectIdOrKeyword.mjs +2 -2
- package/dist/fetch/segmentsBehaviorSegments.js +54 -117
- package/dist/fetch/segmentsBehaviorSegments.mjs +2 -2
- package/dist/fetch/segmentsProfileSegments.js +54 -117
- package/dist/fetch/segmentsProfileSegments.mjs +2 -2
- package/dist/fetch/segmentsTargetUsersCount.js +54 -117
- package/dist/fetch/segmentsTargetUsersCount.mjs +2 -2
- package/dist/hooks/index.js +90 -162
- package/dist/hooks/index.mjs +28 -31
- package/dist/hooks/useCampaigns.js +62 -134
- package/dist/hooks/useCampaigns.mjs +10 -13
- package/dist/hooks/useCampaignsId.js +62 -134
- package/dist/hooks/useCampaignsId.mjs +10 -13
- package/dist/hooks/useCampaignsIdPreview.js +62 -134
- package/dist/hooks/useCampaignsIdPreview.mjs +10 -13
- package/dist/hooks/useProjectsProjectIdOrKeyword.js +63 -135
- package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +10 -13
- package/dist/hooks/useSegmentsBehaviorSegments.js +63 -135
- package/dist/hooks/useSegmentsBehaviorSegments.mjs +10 -13
- package/dist/hooks/useSegmentsProfileSegments.js +63 -135
- package/dist/hooks/useSegmentsProfileSegments.mjs +10 -13
- package/dist/hooks/useSegmentsTargetUsersCount.js +63 -135
- package/dist/hooks/useSegmentsTargetUsersCount.mjs +10 -13
- package/dist/index.d.mts +1 -4
- package/dist/index.d.ts +1 -4
- package/dist/index.js +68 -202
- package/dist/index.mjs +15 -63
- package/dist/schemaType.d.mts +53 -203
- package/dist/schemaType.d.ts +53 -203
- package/package.json +12 -13
- package/dist/chunk-6DE2SHQZ.mjs +0 -19
- package/dist/chunk-KBTZNIQJ.mjs +0 -20
- package/dist/chunk-NIBXTDD3.mjs +0 -15
- package/dist/fetch/campaignsCampaignIdImagesId.d.mts +0 -12
- package/dist/fetch/campaignsCampaignIdImagesId.d.ts +0 -12
- package/dist/fetch/campaignsCampaignIdImagesId.js +0 -37
- package/dist/fetch/campaignsCampaignIdImagesId.mjs +0 -8
- package/dist/fetch/campaignsIdImages.d.mts +0 -24
- package/dist/fetch/campaignsIdImages.d.ts +0 -24
- package/dist/fetch/campaignsIdImages.js +0 -317
- package/dist/fetch/campaignsIdImages.mjs +0 -9
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.mts +0 -17
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.ts +0 -17
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.js +0 -42
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.mjs +0 -8
- /package/dist/{chunk-5XEJOYX6.mjs → chunk-OAIF3WPC.mjs} +0 -0
package/dist/fetch/campaigns.js
CHANGED
|
@@ -35,23 +35,21 @@ var UploadImageFormData = import_zod.z.object({
|
|
|
35
35
|
kind: import_zod.z.literal("upload"),
|
|
36
36
|
data: import_zod.z.union([import_zod.z.any(), import_zod.z.any()])
|
|
37
37
|
});
|
|
38
|
+
var PersonalizedMailMagazineTargetUploadCsvRecordFormData = import_zod.z.object({
|
|
39
|
+
userId: import_zod.z.number(),
|
|
40
|
+
projectIds: import_zod.z.string()
|
|
41
|
+
});
|
|
38
42
|
var ImageFormData = import_zod.z.union([
|
|
39
43
|
UploadImageFormData,
|
|
40
44
|
DeleteImageFormData
|
|
41
45
|
]);
|
|
42
|
-
var
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
});
|
|
47
|
-
var PersonalizedMailMagazineTargetUploadCsvRecordFormData = import_zod.z.object({
|
|
48
|
-
userId: import_zod.z.number(),
|
|
49
|
-
projectIds: import_zod.z.string()
|
|
46
|
+
var PersonalizedMailMagazineTargetUploadCsvFormData = import_zod.z.object({
|
|
47
|
+
kind: import_zod.z.literal("uploadCsv"),
|
|
48
|
+
fileName: import_zod.z.string(),
|
|
49
|
+
records: import_zod.z.array(PersonalizedMailMagazineTargetUploadCsvRecordFormData)
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
|
|
53
|
-
behaviorSegmentCodes: import_zod.z.array(import_zod.z.string()),
|
|
54
|
-
profileSegmentCodes: import_zod.z.array(import_zod.z.string())
|
|
51
|
+
var PersonalizedMailMagazineTargetDeleteCsvFormData = import_zod.z.object({
|
|
52
|
+
kind: import_zod.z.literal("deleteTargetCsv")
|
|
55
53
|
});
|
|
56
54
|
var CurationMailMagazineBannerFormData = import_zod.z.object({
|
|
57
55
|
id: import_zod.z.union([import_zod.z.number(), import_zod.z.null()]),
|
|
@@ -70,28 +68,15 @@ var CurationMailMagazineProjectFormData = import_zod.z.object({
|
|
|
70
68
|
tag: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
71
69
|
tagUrl: import_zod.z.union([import_zod.z.string(), import_zod.z.null()])
|
|
72
70
|
});
|
|
73
|
-
var
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
targetFilters: import_zod.z.array(CurationMailMagazineTargetFilterFormData)
|
|
78
|
-
});
|
|
79
|
-
var PersonalizedMailMagazineTargetUploadCsvFormData = import_zod.z.object({
|
|
80
|
-
kind: import_zod.z.literal("uploadCsv"),
|
|
81
|
-
fileName: import_zod.z.string(),
|
|
82
|
-
records: import_zod.z.array(PersonalizedMailMagazineTargetUploadCsvRecordFormData)
|
|
83
|
-
});
|
|
84
|
-
var PersonalizedMailMagazineTargetDeleteCsvFormData = import_zod.z.object({
|
|
85
|
-
kind: import_zod.z.literal("deleteTargetCsv")
|
|
86
|
-
});
|
|
87
|
-
var Image = import_zod.z.object({ id: import_zod.z.number(), key: import_zod.z.string() });
|
|
88
|
-
var CurationMailMagazineDetailBase = import_zod.z.object({
|
|
89
|
-
utmCampaign: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
90
|
-
subject: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
91
|
-
preHeaderText: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
92
|
-
deliveredUsersCount: import_zod.z.union([import_zod.z.number(), import_zod.z.null()]),
|
|
93
|
-
targetFilters: import_zod.z.array(CurationMailMagazineTargetFilter)
|
|
71
|
+
var CurationMailMagazineTargetFilterFormData = import_zod.z.object({
|
|
72
|
+
id: import_zod.z.union([import_zod.z.number(), import_zod.z.null()]),
|
|
73
|
+
behaviorSegmentCodes: import_zod.z.array(import_zod.z.string()),
|
|
74
|
+
profileSegmentCodes: import_zod.z.array(import_zod.z.string())
|
|
94
75
|
});
|
|
76
|
+
var PersonalizedMailMagazineTargetCsvFormData = import_zod.z.union([
|
|
77
|
+
PersonalizedMailMagazineTargetDeleteCsvFormData,
|
|
78
|
+
PersonalizedMailMagazineTargetUploadCsvFormData
|
|
79
|
+
]);
|
|
95
80
|
var CurationMailMagazineBanner = import_zod.z.object({
|
|
96
81
|
id: import_zod.z.number(),
|
|
97
82
|
slotNumber: import_zod.z.number(),
|
|
@@ -109,56 +94,37 @@ var CurationMailMagazineTargetProject = import_zod.z.object({
|
|
|
109
94
|
tag: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
110
95
|
tagUrl: import_zod.z.union([import_zod.z.string(), import_zod.z.null()])
|
|
111
96
|
});
|
|
112
|
-
var
|
|
113
|
-
import_zod.z.
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
})
|
|
118
|
-
);
|
|
119
|
-
var CurationMailMagazineFormDataBodyKindFreeFormat = CurationMailMagazineFormDataBase.merge(
|
|
120
|
-
import_zod.z.object({
|
|
121
|
-
bodyKind: import_zod.z.literal("freeFormat"),
|
|
122
|
-
htmlBody: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
123
|
-
htmlStyle: import_zod.z.union([import_zod.z.string(), import_zod.z.null()])
|
|
124
|
-
})
|
|
125
|
-
);
|
|
126
|
-
var PersonalizedMailMagazineTargetCsvFormData = import_zod.z.union([
|
|
127
|
-
PersonalizedMailMagazineTargetDeleteCsvFormData,
|
|
128
|
-
PersonalizedMailMagazineTargetUploadCsvFormData
|
|
129
|
-
]);
|
|
130
|
-
var CurationMailMagazineDetailBodyKindFreeFormat = CurationMailMagazineDetailBase.merge(
|
|
131
|
-
import_zod.z.object({
|
|
132
|
-
bodyKind: import_zod.z.literal("freeFormat"),
|
|
133
|
-
htmlBody: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
134
|
-
htmlStyle: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
135
|
-
images: import_zod.z.array(Image)
|
|
136
|
-
})
|
|
137
|
-
);
|
|
138
|
-
var CurationMailMagazineDetailBodyKindTemplate = CurationMailMagazineDetailBase.merge(
|
|
139
|
-
import_zod.z.object({
|
|
140
|
-
bodyKind: import_zod.z.literal("template"),
|
|
141
|
-
projects: import_zod.z.array(CurationMailMagazineTargetProject),
|
|
142
|
-
banners: import_zod.z.array(CurationMailMagazineBanner)
|
|
143
|
-
})
|
|
144
|
-
);
|
|
97
|
+
var CurationMailMagazineTargetFilter = import_zod.z.object({
|
|
98
|
+
id: import_zod.z.number(),
|
|
99
|
+
behaviorSegmentCodes: import_zod.z.array(import_zod.z.string()),
|
|
100
|
+
profileSegmentCodes: import_zod.z.array(import_zod.z.string())
|
|
101
|
+
});
|
|
145
102
|
var PersonalizedMailMagazineDetailTarget = import_zod.z.object({
|
|
146
103
|
csvFileName: import_zod.z.string(),
|
|
147
104
|
targetUsersCount: import_zod.z.number(),
|
|
148
105
|
excludedUsersCount: import_zod.z.number()
|
|
149
106
|
});
|
|
150
|
-
var CurationMailMagazineFormData = import_zod.z.
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
])
|
|
107
|
+
var CurationMailMagazineFormData = import_zod.z.object({
|
|
108
|
+
utmCampaign: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
109
|
+
subject: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
110
|
+
preHeaderText: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
111
|
+
targetFilters: import_zod.z.array(CurationMailMagazineTargetFilterFormData),
|
|
112
|
+
projects: import_zod.z.array(CurationMailMagazineProjectFormData),
|
|
113
|
+
banners: import_zod.z.array(CurationMailMagazineBannerFormData)
|
|
114
|
+
});
|
|
154
115
|
var PersonalizedMailMagazineFormData = import_zod.z.object({
|
|
155
116
|
utmCampaign: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
156
117
|
targetCsv: import_zod.z.union([PersonalizedMailMagazineTargetCsvFormData, import_zod.z.null()])
|
|
157
118
|
});
|
|
158
|
-
var CurationMailMagazineDetail = import_zod.z.
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
])
|
|
119
|
+
var CurationMailMagazineDetail = import_zod.z.object({
|
|
120
|
+
utmCampaign: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
121
|
+
subject: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
122
|
+
preHeaderText: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
123
|
+
deliveredUsersCount: import_zod.z.union([import_zod.z.number(), import_zod.z.null()]),
|
|
124
|
+
targetFilters: import_zod.z.array(CurationMailMagazineTargetFilter),
|
|
125
|
+
projects: import_zod.z.array(CurationMailMagazineTargetProject),
|
|
126
|
+
banners: import_zod.z.array(CurationMailMagazineBanner)
|
|
127
|
+
});
|
|
162
128
|
var CampaignStatus = import_zod.z.union([
|
|
163
129
|
import_zod.z.literal("draft"),
|
|
164
130
|
import_zod.z.literal("scheduled"),
|
|
@@ -196,30 +162,16 @@ var CampaignDetailKindDataPersonalizedMailMagazine = import_zod.z.object({
|
|
|
196
162
|
kind: import_zod.z.literal("personalizedMailMagazine"),
|
|
197
163
|
personalizedMailMagazine: PersonalizedMailMagazineDetail
|
|
198
164
|
});
|
|
199
|
-
var BodyKind = import_zod.z.union([
|
|
200
|
-
import_zod.z.literal("template"),
|
|
201
|
-
import_zod.z.literal("freeFormat")
|
|
202
|
-
]);
|
|
203
|
-
var CampaignBase = import_zod.z.object({
|
|
204
|
-
id: import_zod.z.number(),
|
|
205
|
-
title: import_zod.z.optional(import_zod.z.union([import_zod.z.string(), import_zod.z.null()])),
|
|
206
|
-
status: CampaignStatus,
|
|
207
|
-
deliveryAt: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
208
|
-
lastEditorName: import_zod.z.string(),
|
|
209
|
-
lastEditedAt: import_zod.z.string()
|
|
210
|
-
});
|
|
211
165
|
var CampaignWithCurationMailMagazineFormData = CampaignBaseFormData.merge(CampaignKindDataCurationMailMagazineFormData);
|
|
212
166
|
var CampaignWithPersonalizedMailMagazineFormData = CampaignBaseFormData.merge(CampaignKindDataPersonalizedMailMagazineFormData);
|
|
213
167
|
var CampaignDetailWithCurationMailMagazine = CampaignDetailBase.merge(
|
|
214
168
|
CampaignDetailKindDataCurationMailMagazine
|
|
215
169
|
);
|
|
216
170
|
var CampaignDetailWithPersonalizedMailMagazine = CampaignDetailBase.merge(CampaignDetailKindDataPersonalizedMailMagazine);
|
|
217
|
-
var
|
|
218
|
-
import_zod.z.
|
|
219
|
-
)
|
|
220
|
-
|
|
221
|
-
import_zod.z.object({ kind: import_zod.z.literal("personalizedMailMagazine") })
|
|
222
|
-
);
|
|
171
|
+
var CampaignKind = import_zod.z.union([
|
|
172
|
+
import_zod.z.literal("curationMailMagazine"),
|
|
173
|
+
import_zod.z.literal("personalizedMailMagazine")
|
|
174
|
+
]);
|
|
223
175
|
var Segment = import_zod.z.object({
|
|
224
176
|
code: import_zod.z.string(),
|
|
225
177
|
label: import_zod.z.string(),
|
|
@@ -241,13 +193,6 @@ var CampaignDetail = import_zod.z.union([
|
|
|
241
193
|
CampaignDetailWithPersonalizedMailMagazine,
|
|
242
194
|
CampaignDetailWithCurationMailMagazine
|
|
243
195
|
]);
|
|
244
|
-
var CreateCampaignKindPersonalizedMailMagazineFormData = import_zod.z.object({
|
|
245
|
-
kind: import_zod.z.literal("personalizedMailMagazine")
|
|
246
|
-
});
|
|
247
|
-
var CreateCampaignKindCurationMailMagazineFormData = import_zod.z.object({
|
|
248
|
-
kind: import_zod.z.literal("curationMailMagazine"),
|
|
249
|
-
bodyKind: BodyKind
|
|
250
|
-
});
|
|
251
196
|
var Pagination = import_zod.z.object({
|
|
252
197
|
totalPages: import_zod.z.number(),
|
|
253
198
|
totalCount: import_zod.z.number(),
|
|
@@ -258,10 +203,15 @@ var Pagination = import_zod.z.object({
|
|
|
258
203
|
isFirstPage: import_zod.z.boolean(),
|
|
259
204
|
isLastPage: import_zod.z.boolean()
|
|
260
205
|
});
|
|
261
|
-
var Campaign = import_zod.z.
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
206
|
+
var Campaign = import_zod.z.object({
|
|
207
|
+
id: import_zod.z.number(),
|
|
208
|
+
title: import_zod.z.optional(import_zod.z.union([import_zod.z.string(), import_zod.z.null()])),
|
|
209
|
+
status: CampaignStatus,
|
|
210
|
+
kind: CampaignKind,
|
|
211
|
+
deliveryAt: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
212
|
+
lastEditorName: import_zod.z.string(),
|
|
213
|
+
lastEditedAt: import_zod.z.string()
|
|
214
|
+
});
|
|
265
215
|
var TargetFilterSegments = import_zod.z.object({
|
|
266
216
|
behaviorSegmentCodes: import_zod.z.array(import_zod.z.string()),
|
|
267
217
|
profileSegmentCodes: import_zod.z.array(import_zod.z.string())
|
|
@@ -276,12 +226,6 @@ var GetBehaviorSegmentsResponse = import_zod.z.object({
|
|
|
276
226
|
var GetProjectsProjectIdOrKeywordResponse = import_zod.z.object({
|
|
277
227
|
project: ReadyforProject
|
|
278
228
|
});
|
|
279
|
-
var PostCampaignsCampaignIdImagesReqeustBody = import_zod.z.object({
|
|
280
|
-
image: import_zod.z.union([import_zod.z.any(), import_zod.z.any()])
|
|
281
|
-
});
|
|
282
|
-
var PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody = import_zod.z.object({
|
|
283
|
-
emails: import_zod.z.array(import_zod.z.string())
|
|
284
|
-
});
|
|
285
229
|
var GetCampaignsCampaignIdPreviewResponse = import_zod.z.object({
|
|
286
230
|
content: import_zod.z.string()
|
|
287
231
|
});
|
|
@@ -292,14 +236,7 @@ var PatchCampaignsCampaignIdRequestBody = import_zod.z.object({
|
|
|
292
236
|
var CampaignsCampaignIdResponse = import_zod.z.object({
|
|
293
237
|
campaignDetail: CampaignDetail
|
|
294
238
|
});
|
|
295
|
-
var
|
|
296
|
-
import_zod.z.literal("curationMailMagazine"),
|
|
297
|
-
import_zod.z.literal("personalizedMailMagazine")
|
|
298
|
-
]);
|
|
299
|
-
var PostCampaignsRequestBody = import_zod.z.union([
|
|
300
|
-
CreateCampaignKindCurationMailMagazineFormData,
|
|
301
|
-
CreateCampaignKindPersonalizedMailMagazineFormData
|
|
302
|
-
]);
|
|
239
|
+
var PostCampaignsRequestBody = import_zod.z.object({ kind: CampaignKind });
|
|
303
240
|
var PostCampaignsResponse = import_zod.z.object({ id: import_zod.z.number() });
|
|
304
241
|
var GetCampaignsResponse = import_zod.z.object({
|
|
305
242
|
campaigns: import_zod.z.array(Campaign),
|
package/dist/fetch/campaigns.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
buildCampaignsPostFetcher,
|
|
4
4
|
getCampaigns,
|
|
5
5
|
postCampaigns
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-6HAZ74NE.mjs";
|
|
7
|
+
import "../chunk-HXXKAZDM.mjs";
|
|
8
8
|
export {
|
|
9
9
|
buildCampaignsGetFetcher,
|
|
10
10
|
buildCampaignsPostFetcher,
|
|
@@ -14,25 +14,6 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
14
14
|
behaviorSegmentCodes: string[];
|
|
15
15
|
profileSegmentCodes: string[];
|
|
16
16
|
}[];
|
|
17
|
-
deliveredUsersCount: number | null;
|
|
18
|
-
bodyKind: "freeFormat";
|
|
19
|
-
htmlBody: string | null;
|
|
20
|
-
htmlStyle: string | null;
|
|
21
|
-
images: {
|
|
22
|
-
id: number;
|
|
23
|
-
key: string;
|
|
24
|
-
}[];
|
|
25
|
-
} | {
|
|
26
|
-
utmCampaign: string | null;
|
|
27
|
-
subject: string | null;
|
|
28
|
-
preHeaderText: string | null;
|
|
29
|
-
targetFilters: {
|
|
30
|
-
id: number;
|
|
31
|
-
behaviorSegmentCodes: string[];
|
|
32
|
-
profileSegmentCodes: string[];
|
|
33
|
-
}[];
|
|
34
|
-
deliveredUsersCount: number | null;
|
|
35
|
-
bodyKind: "template";
|
|
36
17
|
projects: {
|
|
37
18
|
id: number;
|
|
38
19
|
slotNumber: number;
|
|
@@ -50,6 +31,7 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
50
31
|
url: string | null;
|
|
51
32
|
imageUrl: string | null;
|
|
52
33
|
}[];
|
|
34
|
+
deliveredUsersCount: number | null;
|
|
53
35
|
};
|
|
54
36
|
kind: "curationMailMagazine";
|
|
55
37
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
@@ -87,25 +69,6 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, requestInit?: RequestIn
|
|
|
87
69
|
behaviorSegmentCodes: string[];
|
|
88
70
|
profileSegmentCodes: string[];
|
|
89
71
|
}[];
|
|
90
|
-
deliveredUsersCount: number | null;
|
|
91
|
-
bodyKind: "freeFormat";
|
|
92
|
-
htmlBody: string | null;
|
|
93
|
-
htmlStyle: string | null;
|
|
94
|
-
images: {
|
|
95
|
-
id: number;
|
|
96
|
-
key: string;
|
|
97
|
-
}[];
|
|
98
|
-
} | {
|
|
99
|
-
utmCampaign: string | null;
|
|
100
|
-
subject: string | null;
|
|
101
|
-
preHeaderText: string | null;
|
|
102
|
-
targetFilters: {
|
|
103
|
-
id: number;
|
|
104
|
-
behaviorSegmentCodes: string[];
|
|
105
|
-
profileSegmentCodes: string[];
|
|
106
|
-
}[];
|
|
107
|
-
deliveredUsersCount: number | null;
|
|
108
|
-
bodyKind: "template";
|
|
109
72
|
projects: {
|
|
110
73
|
id: number;
|
|
111
74
|
slotNumber: number;
|
|
@@ -123,6 +86,7 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, requestInit?: RequestIn
|
|
|
123
86
|
url: string | null;
|
|
124
87
|
imageUrl: string | null;
|
|
125
88
|
}[];
|
|
89
|
+
deliveredUsersCount: number | null;
|
|
126
90
|
};
|
|
127
91
|
kind: "curationMailMagazine";
|
|
128
92
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
@@ -165,25 +129,6 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
165
129
|
behaviorSegmentCodes: string[];
|
|
166
130
|
profileSegmentCodes: string[];
|
|
167
131
|
}[];
|
|
168
|
-
deliveredUsersCount: number | null;
|
|
169
|
-
bodyKind: "freeFormat";
|
|
170
|
-
htmlBody: string | null;
|
|
171
|
-
htmlStyle: string | null;
|
|
172
|
-
images: {
|
|
173
|
-
id: number;
|
|
174
|
-
key: string;
|
|
175
|
-
}[];
|
|
176
|
-
} | {
|
|
177
|
-
utmCampaign: string | null;
|
|
178
|
-
subject: string | null;
|
|
179
|
-
preHeaderText: string | null;
|
|
180
|
-
targetFilters: {
|
|
181
|
-
id: number;
|
|
182
|
-
behaviorSegmentCodes: string[];
|
|
183
|
-
profileSegmentCodes: string[];
|
|
184
|
-
}[];
|
|
185
|
-
deliveredUsersCount: number | null;
|
|
186
|
-
bodyKind: "template";
|
|
187
132
|
projects: {
|
|
188
133
|
id: number;
|
|
189
134
|
slotNumber: number;
|
|
@@ -201,6 +146,7 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
201
146
|
url: string | null;
|
|
202
147
|
imageUrl: string | null;
|
|
203
148
|
}[];
|
|
149
|
+
deliveredUsersCount: number | null;
|
|
204
150
|
};
|
|
205
151
|
kind: "curationMailMagazine";
|
|
206
152
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
@@ -243,25 +189,6 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
243
189
|
behaviorSegmentCodes: string[];
|
|
244
190
|
profileSegmentCodes: string[];
|
|
245
191
|
}[];
|
|
246
|
-
deliveredUsersCount: number | null;
|
|
247
|
-
bodyKind: "freeFormat";
|
|
248
|
-
htmlBody: string | null;
|
|
249
|
-
htmlStyle: string | null;
|
|
250
|
-
images: {
|
|
251
|
-
id: number;
|
|
252
|
-
key: string;
|
|
253
|
-
}[];
|
|
254
|
-
} | {
|
|
255
|
-
utmCampaign: string | null;
|
|
256
|
-
subject: string | null;
|
|
257
|
-
preHeaderText: string | null;
|
|
258
|
-
targetFilters: {
|
|
259
|
-
id: number;
|
|
260
|
-
behaviorSegmentCodes: string[];
|
|
261
|
-
profileSegmentCodes: string[];
|
|
262
|
-
}[];
|
|
263
|
-
deliveredUsersCount: number | null;
|
|
264
|
-
bodyKind: "template";
|
|
265
192
|
projects: {
|
|
266
193
|
id: number;
|
|
267
194
|
slotNumber: number;
|
|
@@ -279,6 +206,7 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
279
206
|
url: string | null;
|
|
280
207
|
imageUrl: string | null;
|
|
281
208
|
}[];
|
|
209
|
+
deliveredUsersCount: number | null;
|
|
282
210
|
};
|
|
283
211
|
kind: "curationMailMagazine";
|
|
284
212
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
@@ -14,25 +14,6 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
14
14
|
behaviorSegmentCodes: string[];
|
|
15
15
|
profileSegmentCodes: string[];
|
|
16
16
|
}[];
|
|
17
|
-
deliveredUsersCount: number | null;
|
|
18
|
-
bodyKind: "freeFormat";
|
|
19
|
-
htmlBody: string | null;
|
|
20
|
-
htmlStyle: string | null;
|
|
21
|
-
images: {
|
|
22
|
-
id: number;
|
|
23
|
-
key: string;
|
|
24
|
-
}[];
|
|
25
|
-
} | {
|
|
26
|
-
utmCampaign: string | null;
|
|
27
|
-
subject: string | null;
|
|
28
|
-
preHeaderText: string | null;
|
|
29
|
-
targetFilters: {
|
|
30
|
-
id: number;
|
|
31
|
-
behaviorSegmentCodes: string[];
|
|
32
|
-
profileSegmentCodes: string[];
|
|
33
|
-
}[];
|
|
34
|
-
deliveredUsersCount: number | null;
|
|
35
|
-
bodyKind: "template";
|
|
36
17
|
projects: {
|
|
37
18
|
id: number;
|
|
38
19
|
slotNumber: number;
|
|
@@ -50,6 +31,7 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
50
31
|
url: string | null;
|
|
51
32
|
imageUrl: string | null;
|
|
52
33
|
}[];
|
|
34
|
+
deliveredUsersCount: number | null;
|
|
53
35
|
};
|
|
54
36
|
kind: "curationMailMagazine";
|
|
55
37
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
@@ -87,25 +69,6 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, requestInit?: RequestIn
|
|
|
87
69
|
behaviorSegmentCodes: string[];
|
|
88
70
|
profileSegmentCodes: string[];
|
|
89
71
|
}[];
|
|
90
|
-
deliveredUsersCount: number | null;
|
|
91
|
-
bodyKind: "freeFormat";
|
|
92
|
-
htmlBody: string | null;
|
|
93
|
-
htmlStyle: string | null;
|
|
94
|
-
images: {
|
|
95
|
-
id: number;
|
|
96
|
-
key: string;
|
|
97
|
-
}[];
|
|
98
|
-
} | {
|
|
99
|
-
utmCampaign: string | null;
|
|
100
|
-
subject: string | null;
|
|
101
|
-
preHeaderText: string | null;
|
|
102
|
-
targetFilters: {
|
|
103
|
-
id: number;
|
|
104
|
-
behaviorSegmentCodes: string[];
|
|
105
|
-
profileSegmentCodes: string[];
|
|
106
|
-
}[];
|
|
107
|
-
deliveredUsersCount: number | null;
|
|
108
|
-
bodyKind: "template";
|
|
109
72
|
projects: {
|
|
110
73
|
id: number;
|
|
111
74
|
slotNumber: number;
|
|
@@ -123,6 +86,7 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, requestInit?: RequestIn
|
|
|
123
86
|
url: string | null;
|
|
124
87
|
imageUrl: string | null;
|
|
125
88
|
}[];
|
|
89
|
+
deliveredUsersCount: number | null;
|
|
126
90
|
};
|
|
127
91
|
kind: "curationMailMagazine";
|
|
128
92
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
@@ -165,25 +129,6 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
165
129
|
behaviorSegmentCodes: string[];
|
|
166
130
|
profileSegmentCodes: string[];
|
|
167
131
|
}[];
|
|
168
|
-
deliveredUsersCount: number | null;
|
|
169
|
-
bodyKind: "freeFormat";
|
|
170
|
-
htmlBody: string | null;
|
|
171
|
-
htmlStyle: string | null;
|
|
172
|
-
images: {
|
|
173
|
-
id: number;
|
|
174
|
-
key: string;
|
|
175
|
-
}[];
|
|
176
|
-
} | {
|
|
177
|
-
utmCampaign: string | null;
|
|
178
|
-
subject: string | null;
|
|
179
|
-
preHeaderText: string | null;
|
|
180
|
-
targetFilters: {
|
|
181
|
-
id: number;
|
|
182
|
-
behaviorSegmentCodes: string[];
|
|
183
|
-
profileSegmentCodes: string[];
|
|
184
|
-
}[];
|
|
185
|
-
deliveredUsersCount: number | null;
|
|
186
|
-
bodyKind: "template";
|
|
187
132
|
projects: {
|
|
188
133
|
id: number;
|
|
189
134
|
slotNumber: number;
|
|
@@ -201,6 +146,7 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
201
146
|
url: string | null;
|
|
202
147
|
imageUrl: string | null;
|
|
203
148
|
}[];
|
|
149
|
+
deliveredUsersCount: number | null;
|
|
204
150
|
};
|
|
205
151
|
kind: "curationMailMagazine";
|
|
206
152
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
@@ -243,25 +189,6 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
243
189
|
behaviorSegmentCodes: string[];
|
|
244
190
|
profileSegmentCodes: string[];
|
|
245
191
|
}[];
|
|
246
|
-
deliveredUsersCount: number | null;
|
|
247
|
-
bodyKind: "freeFormat";
|
|
248
|
-
htmlBody: string | null;
|
|
249
|
-
htmlStyle: string | null;
|
|
250
|
-
images: {
|
|
251
|
-
id: number;
|
|
252
|
-
key: string;
|
|
253
|
-
}[];
|
|
254
|
-
} | {
|
|
255
|
-
utmCampaign: string | null;
|
|
256
|
-
subject: string | null;
|
|
257
|
-
preHeaderText: string | null;
|
|
258
|
-
targetFilters: {
|
|
259
|
-
id: number;
|
|
260
|
-
behaviorSegmentCodes: string[];
|
|
261
|
-
profileSegmentCodes: string[];
|
|
262
|
-
}[];
|
|
263
|
-
deliveredUsersCount: number | null;
|
|
264
|
-
bodyKind: "template";
|
|
265
192
|
projects: {
|
|
266
193
|
id: number;
|
|
267
194
|
slotNumber: number;
|
|
@@ -279,6 +206,7 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
279
206
|
url: string | null;
|
|
280
207
|
imageUrl: string | null;
|
|
281
208
|
}[];
|
|
209
|
+
deliveredUsersCount: number | null;
|
|
282
210
|
};
|
|
283
211
|
kind: "curationMailMagazine";
|
|
284
212
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|