@readyfor/api-client-pigeon 0.294.0-pr1149.4ae0186 → 0.294.0-pr1149.e9b2186
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.
|
@@ -5,21 +5,21 @@ type CampaignsGetOperation = paths["/api/campaigns"]["get"];
|
|
|
5
5
|
type CampaignsGetResponse = CampaignsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
6
|
declare const buildCampaignsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
7
|
campaigns: ({
|
|
8
|
+
kind: "curationMailMagazine";
|
|
8
9
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
9
10
|
id: number;
|
|
11
|
+
bodyKind: "template" | "freeFormat";
|
|
10
12
|
deliveryAt: string | null;
|
|
11
13
|
lastEditorName: string;
|
|
12
14
|
lastEditedAt: string;
|
|
13
|
-
kind: "personalizedMailMagazine";
|
|
14
15
|
title?: string | null | undefined;
|
|
15
16
|
} | {
|
|
17
|
+
kind: "personalizedMailMagazine";
|
|
16
18
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
17
19
|
id: number;
|
|
18
20
|
deliveryAt: string | null;
|
|
19
21
|
lastEditorName: string;
|
|
20
22
|
lastEditedAt: string;
|
|
21
|
-
kind: "curationMailMagazine";
|
|
22
|
-
bodyKind: "template" | "freeFormat";
|
|
23
23
|
title?: string | null | undefined;
|
|
24
24
|
})[];
|
|
25
25
|
pagination: {
|
|
@@ -39,21 +39,21 @@ type CampaignsGetQuery = ForceDig<CampaignsGetOperation, [
|
|
|
39
39
|
]>;
|
|
40
40
|
declare const getCampaigns: (query: CampaignsGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
41
41
|
campaigns: ({
|
|
42
|
+
kind: "curationMailMagazine";
|
|
42
43
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
43
44
|
id: number;
|
|
45
|
+
bodyKind: "template" | "freeFormat";
|
|
44
46
|
deliveryAt: string | null;
|
|
45
47
|
lastEditorName: string;
|
|
46
48
|
lastEditedAt: string;
|
|
47
|
-
kind: "personalizedMailMagazine";
|
|
48
49
|
title?: string | null | undefined;
|
|
49
50
|
} | {
|
|
51
|
+
kind: "personalizedMailMagazine";
|
|
50
52
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
51
53
|
id: number;
|
|
52
54
|
deliveryAt: string | null;
|
|
53
55
|
lastEditorName: string;
|
|
54
56
|
lastEditedAt: string;
|
|
55
|
-
kind: "curationMailMagazine";
|
|
56
|
-
bodyKind: "template" | "freeFormat";
|
|
57
57
|
title?: string | null | undefined;
|
|
58
58
|
})[];
|
|
59
59
|
pagination: {
|
|
@@ -5,21 +5,21 @@ type CampaignsGetOperation = paths["/api/campaigns"]["get"];
|
|
|
5
5
|
type CampaignsGetResponse = CampaignsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
6
|
declare const buildCampaignsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
7
|
campaigns: ({
|
|
8
|
+
kind: "curationMailMagazine";
|
|
8
9
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
9
10
|
id: number;
|
|
11
|
+
bodyKind: "template" | "freeFormat";
|
|
10
12
|
deliveryAt: string | null;
|
|
11
13
|
lastEditorName: string;
|
|
12
14
|
lastEditedAt: string;
|
|
13
|
-
kind: "personalizedMailMagazine";
|
|
14
15
|
title?: string | null | undefined;
|
|
15
16
|
} | {
|
|
17
|
+
kind: "personalizedMailMagazine";
|
|
16
18
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
17
19
|
id: number;
|
|
18
20
|
deliveryAt: string | null;
|
|
19
21
|
lastEditorName: string;
|
|
20
22
|
lastEditedAt: string;
|
|
21
|
-
kind: "curationMailMagazine";
|
|
22
|
-
bodyKind: "template" | "freeFormat";
|
|
23
23
|
title?: string | null | undefined;
|
|
24
24
|
})[];
|
|
25
25
|
pagination: {
|
|
@@ -39,21 +39,21 @@ type CampaignsGetQuery = ForceDig<CampaignsGetOperation, [
|
|
|
39
39
|
]>;
|
|
40
40
|
declare const getCampaigns: (query: CampaignsGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
41
41
|
campaigns: ({
|
|
42
|
+
kind: "curationMailMagazine";
|
|
42
43
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
43
44
|
id: number;
|
|
45
|
+
bodyKind: "template" | "freeFormat";
|
|
44
46
|
deliveryAt: string | null;
|
|
45
47
|
lastEditorName: string;
|
|
46
48
|
lastEditedAt: string;
|
|
47
|
-
kind: "personalizedMailMagazine";
|
|
48
49
|
title?: string | null | undefined;
|
|
49
50
|
} | {
|
|
51
|
+
kind: "personalizedMailMagazine";
|
|
50
52
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
51
53
|
id: number;
|
|
52
54
|
deliveryAt: string | null;
|
|
53
55
|
lastEditorName: string;
|
|
54
56
|
lastEditedAt: string;
|
|
55
|
-
kind: "curationMailMagazine";
|
|
56
|
-
bodyKind: "template" | "freeFormat";
|
|
57
57
|
title?: string | null | undefined;
|
|
58
58
|
})[];
|
|
59
59
|
pagination: {
|
|
@@ -5,12 +5,7 @@ type CampaignsIdGetOperation = paths["/api/campaigns/{id}"]["get"];
|
|
|
5
5
|
type CampaignsIdGetResponse = CampaignsIdGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
6
|
declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
7
|
campaignDetail: {
|
|
8
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
9
|
-
id: number;
|
|
10
|
-
title: string | null;
|
|
11
|
-
kind: "curationMailMagazine";
|
|
12
8
|
curationMailMagazine: {
|
|
13
|
-
bodyKind: "freeFormat";
|
|
14
9
|
utmCampaign: string | null;
|
|
15
10
|
subject: string | null;
|
|
16
11
|
preHeaderText: string | null;
|
|
@@ -20,6 +15,7 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
20
15
|
profileSegmentCodes: string[];
|
|
21
16
|
}[];
|
|
22
17
|
deliveredUsersCount: number | null;
|
|
18
|
+
bodyKind: "freeFormat";
|
|
23
19
|
htmlBody: string | null;
|
|
24
20
|
htmlStyle: string | null;
|
|
25
21
|
images: {
|
|
@@ -27,7 +23,6 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
27
23
|
key: string;
|
|
28
24
|
}[];
|
|
29
25
|
} | {
|
|
30
|
-
bodyKind: "template";
|
|
31
26
|
utmCampaign: string | null;
|
|
32
27
|
subject: string | null;
|
|
33
28
|
preHeaderText: string | null;
|
|
@@ -37,12 +32,13 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
37
32
|
profileSegmentCodes: string[];
|
|
38
33
|
}[];
|
|
39
34
|
deliveredUsersCount: number | null;
|
|
35
|
+
bodyKind: "template";
|
|
40
36
|
projects: {
|
|
41
37
|
id: number;
|
|
42
|
-
title: string | null;
|
|
43
38
|
slotNumber: number;
|
|
44
39
|
readyforProjectId: number;
|
|
45
40
|
isPaidSlot: boolean;
|
|
41
|
+
title: string | null;
|
|
46
42
|
description: string | null;
|
|
47
43
|
tag: string | null;
|
|
48
44
|
tagUrl: string | null;
|
|
@@ -55,11 +51,12 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
55
51
|
imageUrl: string | null;
|
|
56
52
|
}[];
|
|
57
53
|
};
|
|
58
|
-
|
|
59
|
-
} | {
|
|
54
|
+
kind: "curationMailMagazine";
|
|
60
55
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
61
56
|
id: number;
|
|
62
57
|
title: string | null;
|
|
58
|
+
deliveryScheduledAt: string | null;
|
|
59
|
+
} | {
|
|
63
60
|
personalizedMailMagazine: {
|
|
64
61
|
utmCampaign: string | null;
|
|
65
62
|
target: {
|
|
@@ -69,6 +66,9 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
69
66
|
} | null;
|
|
70
67
|
};
|
|
71
68
|
kind: "personalizedMailMagazine";
|
|
69
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
70
|
+
id: number;
|
|
71
|
+
title: string | null;
|
|
72
72
|
deliveryScheduledAt: string | null;
|
|
73
73
|
};
|
|
74
74
|
}>;
|
|
@@ -78,12 +78,7 @@ type CampaignsIdGetPath = ForceDig<CampaignsIdGetOperation, [
|
|
|
78
78
|
]>;
|
|
79
79
|
declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
80
80
|
campaignDetail: {
|
|
81
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
82
|
-
id: number;
|
|
83
|
-
title: string | null;
|
|
84
|
-
kind: "curationMailMagazine";
|
|
85
81
|
curationMailMagazine: {
|
|
86
|
-
bodyKind: "freeFormat";
|
|
87
82
|
utmCampaign: string | null;
|
|
88
83
|
subject: string | null;
|
|
89
84
|
preHeaderText: string | null;
|
|
@@ -93,6 +88,7 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: Req
|
|
|
93
88
|
profileSegmentCodes: string[];
|
|
94
89
|
}[];
|
|
95
90
|
deliveredUsersCount: number | null;
|
|
91
|
+
bodyKind: "freeFormat";
|
|
96
92
|
htmlBody: string | null;
|
|
97
93
|
htmlStyle: string | null;
|
|
98
94
|
images: {
|
|
@@ -100,7 +96,6 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: Req
|
|
|
100
96
|
key: string;
|
|
101
97
|
}[];
|
|
102
98
|
} | {
|
|
103
|
-
bodyKind: "template";
|
|
104
99
|
utmCampaign: string | null;
|
|
105
100
|
subject: string | null;
|
|
106
101
|
preHeaderText: string | null;
|
|
@@ -110,12 +105,13 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: Req
|
|
|
110
105
|
profileSegmentCodes: string[];
|
|
111
106
|
}[];
|
|
112
107
|
deliveredUsersCount: number | null;
|
|
108
|
+
bodyKind: "template";
|
|
113
109
|
projects: {
|
|
114
110
|
id: number;
|
|
115
|
-
title: string | null;
|
|
116
111
|
slotNumber: number;
|
|
117
112
|
readyforProjectId: number;
|
|
118
113
|
isPaidSlot: boolean;
|
|
114
|
+
title: string | null;
|
|
119
115
|
description: string | null;
|
|
120
116
|
tag: string | null;
|
|
121
117
|
tagUrl: string | null;
|
|
@@ -128,11 +124,12 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: Req
|
|
|
128
124
|
imageUrl: string | null;
|
|
129
125
|
}[];
|
|
130
126
|
};
|
|
131
|
-
|
|
132
|
-
} | {
|
|
127
|
+
kind: "curationMailMagazine";
|
|
133
128
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
134
129
|
id: number;
|
|
135
130
|
title: string | null;
|
|
131
|
+
deliveryScheduledAt: string | null;
|
|
132
|
+
} | {
|
|
136
133
|
personalizedMailMagazine: {
|
|
137
134
|
utmCampaign: string | null;
|
|
138
135
|
target: {
|
|
@@ -142,6 +139,9 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: Req
|
|
|
142
139
|
} | null;
|
|
143
140
|
};
|
|
144
141
|
kind: "personalizedMailMagazine";
|
|
142
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
143
|
+
id: number;
|
|
144
|
+
title: string | null;
|
|
145
145
|
deliveryScheduledAt: string | null;
|
|
146
146
|
};
|
|
147
147
|
}>;
|
|
@@ -156,12 +156,7 @@ type CampaignsIdPatchOperation = paths["/api/campaigns/{id}"]["patch"];
|
|
|
156
156
|
type CampaignsIdPatchResponse = CampaignsIdPatchOperation["responses"]["200"]["content"]["application/json"];
|
|
157
157
|
declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
158
158
|
campaignDetail: {
|
|
159
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
160
|
-
id: number;
|
|
161
|
-
title: string | null;
|
|
162
|
-
kind: "curationMailMagazine";
|
|
163
159
|
curationMailMagazine: {
|
|
164
|
-
bodyKind: "freeFormat";
|
|
165
160
|
utmCampaign: string | null;
|
|
166
161
|
subject: string | null;
|
|
167
162
|
preHeaderText: string | null;
|
|
@@ -171,6 +166,7 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
171
166
|
profileSegmentCodes: string[];
|
|
172
167
|
}[];
|
|
173
168
|
deliveredUsersCount: number | null;
|
|
169
|
+
bodyKind: "freeFormat";
|
|
174
170
|
htmlBody: string | null;
|
|
175
171
|
htmlStyle: string | null;
|
|
176
172
|
images: {
|
|
@@ -178,7 +174,6 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
178
174
|
key: string;
|
|
179
175
|
}[];
|
|
180
176
|
} | {
|
|
181
|
-
bodyKind: "template";
|
|
182
177
|
utmCampaign: string | null;
|
|
183
178
|
subject: string | null;
|
|
184
179
|
preHeaderText: string | null;
|
|
@@ -188,12 +183,13 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
188
183
|
profileSegmentCodes: string[];
|
|
189
184
|
}[];
|
|
190
185
|
deliveredUsersCount: number | null;
|
|
186
|
+
bodyKind: "template";
|
|
191
187
|
projects: {
|
|
192
188
|
id: number;
|
|
193
|
-
title: string | null;
|
|
194
189
|
slotNumber: number;
|
|
195
190
|
readyforProjectId: number;
|
|
196
191
|
isPaidSlot: boolean;
|
|
192
|
+
title: string | null;
|
|
197
193
|
description: string | null;
|
|
198
194
|
tag: string | null;
|
|
199
195
|
tagUrl: string | null;
|
|
@@ -206,11 +202,12 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
206
202
|
imageUrl: string | null;
|
|
207
203
|
}[];
|
|
208
204
|
};
|
|
209
|
-
|
|
210
|
-
} | {
|
|
205
|
+
kind: "curationMailMagazine";
|
|
211
206
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
212
207
|
id: number;
|
|
213
208
|
title: string | null;
|
|
209
|
+
deliveryScheduledAt: string | null;
|
|
210
|
+
} | {
|
|
214
211
|
personalizedMailMagazine: {
|
|
215
212
|
utmCampaign: string | null;
|
|
216
213
|
target: {
|
|
@@ -220,6 +217,9 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
220
217
|
} | null;
|
|
221
218
|
};
|
|
222
219
|
kind: "personalizedMailMagazine";
|
|
220
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
221
|
+
id: number;
|
|
222
|
+
title: string | null;
|
|
223
223
|
deliveryScheduledAt: string | null;
|
|
224
224
|
};
|
|
225
225
|
}>;
|
|
@@ -234,12 +234,7 @@ type CampaignsIdPatchRequestBody = ForceDig<CampaignsIdPatchOperation, [
|
|
|
234
234
|
]>;
|
|
235
235
|
declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<{
|
|
236
236
|
campaignDetail: {
|
|
237
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
238
|
-
id: number;
|
|
239
|
-
title: string | null;
|
|
240
|
-
kind: "curationMailMagazine";
|
|
241
237
|
curationMailMagazine: {
|
|
242
|
-
bodyKind: "freeFormat";
|
|
243
238
|
utmCampaign: string | null;
|
|
244
239
|
subject: string | null;
|
|
245
240
|
preHeaderText: string | null;
|
|
@@ -249,6 +244,7 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
249
244
|
profileSegmentCodes: string[];
|
|
250
245
|
}[];
|
|
251
246
|
deliveredUsersCount: number | null;
|
|
247
|
+
bodyKind: "freeFormat";
|
|
252
248
|
htmlBody: string | null;
|
|
253
249
|
htmlStyle: string | null;
|
|
254
250
|
images: {
|
|
@@ -256,7 +252,6 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
256
252
|
key: string;
|
|
257
253
|
}[];
|
|
258
254
|
} | {
|
|
259
|
-
bodyKind: "template";
|
|
260
255
|
utmCampaign: string | null;
|
|
261
256
|
subject: string | null;
|
|
262
257
|
preHeaderText: string | null;
|
|
@@ -266,12 +261,13 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
266
261
|
profileSegmentCodes: string[];
|
|
267
262
|
}[];
|
|
268
263
|
deliveredUsersCount: number | null;
|
|
264
|
+
bodyKind: "template";
|
|
269
265
|
projects: {
|
|
270
266
|
id: number;
|
|
271
|
-
title: string | null;
|
|
272
267
|
slotNumber: number;
|
|
273
268
|
readyforProjectId: number;
|
|
274
269
|
isPaidSlot: boolean;
|
|
270
|
+
title: string | null;
|
|
275
271
|
description: string | null;
|
|
276
272
|
tag: string | null;
|
|
277
273
|
tagUrl: string | null;
|
|
@@ -284,11 +280,12 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
284
280
|
imageUrl: string | null;
|
|
285
281
|
}[];
|
|
286
282
|
};
|
|
287
|
-
|
|
288
|
-
} | {
|
|
283
|
+
kind: "curationMailMagazine";
|
|
289
284
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
290
285
|
id: number;
|
|
291
286
|
title: string | null;
|
|
287
|
+
deliveryScheduledAt: string | null;
|
|
288
|
+
} | {
|
|
292
289
|
personalizedMailMagazine: {
|
|
293
290
|
utmCampaign: string | null;
|
|
294
291
|
target: {
|
|
@@ -298,6 +295,9 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
298
295
|
} | null;
|
|
299
296
|
};
|
|
300
297
|
kind: "personalizedMailMagazine";
|
|
298
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
299
|
+
id: number;
|
|
300
|
+
title: string | null;
|
|
301
301
|
deliveryScheduledAt: string | null;
|
|
302
302
|
};
|
|
303
303
|
}>;
|
|
@@ -5,12 +5,7 @@ type CampaignsIdGetOperation = paths["/api/campaigns/{id}"]["get"];
|
|
|
5
5
|
type CampaignsIdGetResponse = CampaignsIdGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
6
|
declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
7
|
campaignDetail: {
|
|
8
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
9
|
-
id: number;
|
|
10
|
-
title: string | null;
|
|
11
|
-
kind: "curationMailMagazine";
|
|
12
8
|
curationMailMagazine: {
|
|
13
|
-
bodyKind: "freeFormat";
|
|
14
9
|
utmCampaign: string | null;
|
|
15
10
|
subject: string | null;
|
|
16
11
|
preHeaderText: string | null;
|
|
@@ -20,6 +15,7 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
20
15
|
profileSegmentCodes: string[];
|
|
21
16
|
}[];
|
|
22
17
|
deliveredUsersCount: number | null;
|
|
18
|
+
bodyKind: "freeFormat";
|
|
23
19
|
htmlBody: string | null;
|
|
24
20
|
htmlStyle: string | null;
|
|
25
21
|
images: {
|
|
@@ -27,7 +23,6 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
27
23
|
key: string;
|
|
28
24
|
}[];
|
|
29
25
|
} | {
|
|
30
|
-
bodyKind: "template";
|
|
31
26
|
utmCampaign: string | null;
|
|
32
27
|
subject: string | null;
|
|
33
28
|
preHeaderText: string | null;
|
|
@@ -37,12 +32,13 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
37
32
|
profileSegmentCodes: string[];
|
|
38
33
|
}[];
|
|
39
34
|
deliveredUsersCount: number | null;
|
|
35
|
+
bodyKind: "template";
|
|
40
36
|
projects: {
|
|
41
37
|
id: number;
|
|
42
|
-
title: string | null;
|
|
43
38
|
slotNumber: number;
|
|
44
39
|
readyforProjectId: number;
|
|
45
40
|
isPaidSlot: boolean;
|
|
41
|
+
title: string | null;
|
|
46
42
|
description: string | null;
|
|
47
43
|
tag: string | null;
|
|
48
44
|
tagUrl: string | null;
|
|
@@ -55,11 +51,12 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
55
51
|
imageUrl: string | null;
|
|
56
52
|
}[];
|
|
57
53
|
};
|
|
58
|
-
|
|
59
|
-
} | {
|
|
54
|
+
kind: "curationMailMagazine";
|
|
60
55
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
61
56
|
id: number;
|
|
62
57
|
title: string | null;
|
|
58
|
+
deliveryScheduledAt: string | null;
|
|
59
|
+
} | {
|
|
63
60
|
personalizedMailMagazine: {
|
|
64
61
|
utmCampaign: string | null;
|
|
65
62
|
target: {
|
|
@@ -69,6 +66,9 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
69
66
|
} | null;
|
|
70
67
|
};
|
|
71
68
|
kind: "personalizedMailMagazine";
|
|
69
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
70
|
+
id: number;
|
|
71
|
+
title: string | null;
|
|
72
72
|
deliveryScheduledAt: string | null;
|
|
73
73
|
};
|
|
74
74
|
}>;
|
|
@@ -78,12 +78,7 @@ type CampaignsIdGetPath = ForceDig<CampaignsIdGetOperation, [
|
|
|
78
78
|
]>;
|
|
79
79
|
declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
80
80
|
campaignDetail: {
|
|
81
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
82
|
-
id: number;
|
|
83
|
-
title: string | null;
|
|
84
|
-
kind: "curationMailMagazine";
|
|
85
81
|
curationMailMagazine: {
|
|
86
|
-
bodyKind: "freeFormat";
|
|
87
82
|
utmCampaign: string | null;
|
|
88
83
|
subject: string | null;
|
|
89
84
|
preHeaderText: string | null;
|
|
@@ -93,6 +88,7 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: Req
|
|
|
93
88
|
profileSegmentCodes: string[];
|
|
94
89
|
}[];
|
|
95
90
|
deliveredUsersCount: number | null;
|
|
91
|
+
bodyKind: "freeFormat";
|
|
96
92
|
htmlBody: string | null;
|
|
97
93
|
htmlStyle: string | null;
|
|
98
94
|
images: {
|
|
@@ -100,7 +96,6 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: Req
|
|
|
100
96
|
key: string;
|
|
101
97
|
}[];
|
|
102
98
|
} | {
|
|
103
|
-
bodyKind: "template";
|
|
104
99
|
utmCampaign: string | null;
|
|
105
100
|
subject: string | null;
|
|
106
101
|
preHeaderText: string | null;
|
|
@@ -110,12 +105,13 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: Req
|
|
|
110
105
|
profileSegmentCodes: string[];
|
|
111
106
|
}[];
|
|
112
107
|
deliveredUsersCount: number | null;
|
|
108
|
+
bodyKind: "template";
|
|
113
109
|
projects: {
|
|
114
110
|
id: number;
|
|
115
|
-
title: string | null;
|
|
116
111
|
slotNumber: number;
|
|
117
112
|
readyforProjectId: number;
|
|
118
113
|
isPaidSlot: boolean;
|
|
114
|
+
title: string | null;
|
|
119
115
|
description: string | null;
|
|
120
116
|
tag: string | null;
|
|
121
117
|
tagUrl: string | null;
|
|
@@ -128,11 +124,12 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: Req
|
|
|
128
124
|
imageUrl: string | null;
|
|
129
125
|
}[];
|
|
130
126
|
};
|
|
131
|
-
|
|
132
|
-
} | {
|
|
127
|
+
kind: "curationMailMagazine";
|
|
133
128
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
134
129
|
id: number;
|
|
135
130
|
title: string | null;
|
|
131
|
+
deliveryScheduledAt: string | null;
|
|
132
|
+
} | {
|
|
136
133
|
personalizedMailMagazine: {
|
|
137
134
|
utmCampaign: string | null;
|
|
138
135
|
target: {
|
|
@@ -142,6 +139,9 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: Req
|
|
|
142
139
|
} | null;
|
|
143
140
|
};
|
|
144
141
|
kind: "personalizedMailMagazine";
|
|
142
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
143
|
+
id: number;
|
|
144
|
+
title: string | null;
|
|
145
145
|
deliveryScheduledAt: string | null;
|
|
146
146
|
};
|
|
147
147
|
}>;
|
|
@@ -156,12 +156,7 @@ type CampaignsIdPatchOperation = paths["/api/campaigns/{id}"]["patch"];
|
|
|
156
156
|
type CampaignsIdPatchResponse = CampaignsIdPatchOperation["responses"]["200"]["content"]["application/json"];
|
|
157
157
|
declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
158
158
|
campaignDetail: {
|
|
159
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
160
|
-
id: number;
|
|
161
|
-
title: string | null;
|
|
162
|
-
kind: "curationMailMagazine";
|
|
163
159
|
curationMailMagazine: {
|
|
164
|
-
bodyKind: "freeFormat";
|
|
165
160
|
utmCampaign: string | null;
|
|
166
161
|
subject: string | null;
|
|
167
162
|
preHeaderText: string | null;
|
|
@@ -171,6 +166,7 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
171
166
|
profileSegmentCodes: string[];
|
|
172
167
|
}[];
|
|
173
168
|
deliveredUsersCount: number | null;
|
|
169
|
+
bodyKind: "freeFormat";
|
|
174
170
|
htmlBody: string | null;
|
|
175
171
|
htmlStyle: string | null;
|
|
176
172
|
images: {
|
|
@@ -178,7 +174,6 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
178
174
|
key: string;
|
|
179
175
|
}[];
|
|
180
176
|
} | {
|
|
181
|
-
bodyKind: "template";
|
|
182
177
|
utmCampaign: string | null;
|
|
183
178
|
subject: string | null;
|
|
184
179
|
preHeaderText: string | null;
|
|
@@ -188,12 +183,13 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
188
183
|
profileSegmentCodes: string[];
|
|
189
184
|
}[];
|
|
190
185
|
deliveredUsersCount: number | null;
|
|
186
|
+
bodyKind: "template";
|
|
191
187
|
projects: {
|
|
192
188
|
id: number;
|
|
193
|
-
title: string | null;
|
|
194
189
|
slotNumber: number;
|
|
195
190
|
readyforProjectId: number;
|
|
196
191
|
isPaidSlot: boolean;
|
|
192
|
+
title: string | null;
|
|
197
193
|
description: string | null;
|
|
198
194
|
tag: string | null;
|
|
199
195
|
tagUrl: string | null;
|
|
@@ -206,11 +202,12 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
206
202
|
imageUrl: string | null;
|
|
207
203
|
}[];
|
|
208
204
|
};
|
|
209
|
-
|
|
210
|
-
} | {
|
|
205
|
+
kind: "curationMailMagazine";
|
|
211
206
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
212
207
|
id: number;
|
|
213
208
|
title: string | null;
|
|
209
|
+
deliveryScheduledAt: string | null;
|
|
210
|
+
} | {
|
|
214
211
|
personalizedMailMagazine: {
|
|
215
212
|
utmCampaign: string | null;
|
|
216
213
|
target: {
|
|
@@ -220,6 +217,9 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
220
217
|
} | null;
|
|
221
218
|
};
|
|
222
219
|
kind: "personalizedMailMagazine";
|
|
220
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
221
|
+
id: number;
|
|
222
|
+
title: string | null;
|
|
223
223
|
deliveryScheduledAt: string | null;
|
|
224
224
|
};
|
|
225
225
|
}>;
|
|
@@ -234,12 +234,7 @@ type CampaignsIdPatchRequestBody = ForceDig<CampaignsIdPatchOperation, [
|
|
|
234
234
|
]>;
|
|
235
235
|
declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<{
|
|
236
236
|
campaignDetail: {
|
|
237
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
238
|
-
id: number;
|
|
239
|
-
title: string | null;
|
|
240
|
-
kind: "curationMailMagazine";
|
|
241
237
|
curationMailMagazine: {
|
|
242
|
-
bodyKind: "freeFormat";
|
|
243
238
|
utmCampaign: string | null;
|
|
244
239
|
subject: string | null;
|
|
245
240
|
preHeaderText: string | null;
|
|
@@ -249,6 +244,7 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
249
244
|
profileSegmentCodes: string[];
|
|
250
245
|
}[];
|
|
251
246
|
deliveredUsersCount: number | null;
|
|
247
|
+
bodyKind: "freeFormat";
|
|
252
248
|
htmlBody: string | null;
|
|
253
249
|
htmlStyle: string | null;
|
|
254
250
|
images: {
|
|
@@ -256,7 +252,6 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
256
252
|
key: string;
|
|
257
253
|
}[];
|
|
258
254
|
} | {
|
|
259
|
-
bodyKind: "template";
|
|
260
255
|
utmCampaign: string | null;
|
|
261
256
|
subject: string | null;
|
|
262
257
|
preHeaderText: string | null;
|
|
@@ -266,12 +261,13 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
266
261
|
profileSegmentCodes: string[];
|
|
267
262
|
}[];
|
|
268
263
|
deliveredUsersCount: number | null;
|
|
264
|
+
bodyKind: "template";
|
|
269
265
|
projects: {
|
|
270
266
|
id: number;
|
|
271
|
-
title: string | null;
|
|
272
267
|
slotNumber: number;
|
|
273
268
|
readyforProjectId: number;
|
|
274
269
|
isPaidSlot: boolean;
|
|
270
|
+
title: string | null;
|
|
275
271
|
description: string | null;
|
|
276
272
|
tag: string | null;
|
|
277
273
|
tagUrl: string | null;
|
|
@@ -284,11 +280,12 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
284
280
|
imageUrl: string | null;
|
|
285
281
|
}[];
|
|
286
282
|
};
|
|
287
|
-
|
|
288
|
-
} | {
|
|
283
|
+
kind: "curationMailMagazine";
|
|
289
284
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
290
285
|
id: number;
|
|
291
286
|
title: string | null;
|
|
287
|
+
deliveryScheduledAt: string | null;
|
|
288
|
+
} | {
|
|
292
289
|
personalizedMailMagazine: {
|
|
293
290
|
utmCampaign: string | null;
|
|
294
291
|
target: {
|
|
@@ -298,6 +295,9 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
298
295
|
} | null;
|
|
299
296
|
};
|
|
300
297
|
kind: "personalizedMailMagazine";
|
|
298
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
299
|
+
id: number;
|
|
300
|
+
title: string | null;
|
|
301
301
|
deliveryScheduledAt: string | null;
|
|
302
302
|
};
|
|
303
303
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@readyfor/api-client-pigeon",
|
|
3
|
-
"version": "0.294.0-pr1149.
|
|
3
|
+
"version": "0.294.0-pr1149.e9b2186",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"swr": "2.3.8",
|
|
37
37
|
"use-sync-external-store": "1.6.0",
|
|
38
38
|
"zod": "^3.24.1",
|
|
39
|
-
"@readyfor/api-client-base": "0.294.0-pr1149.
|
|
39
|
+
"@readyfor/api-client-base": "0.294.0-pr1149.e9b2186"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"qs": "^6",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"swr": "^2.3.3",
|
|
45
45
|
"use-sync-external-store": "^1.2.2",
|
|
46
46
|
"zod": "^3",
|
|
47
|
-
"@readyfor/api-client-base": "0.294.0-pr1149.
|
|
47
|
+
"@readyfor/api-client-base": "0.294.0-pr1149.e9b2186"
|
|
48
48
|
},
|
|
49
49
|
"peerDependenciesMeta": {
|
|
50
50
|
"react": {
|