@readyfor/api-client-pigeon 1.61.0-pr1445.179ca0e → 1.61.0-pr1446.ddfd254
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/{campaigns-CbwpgvqA.d.ts → campaigns-8be3XZ-j.d.ts} +6 -6
- package/dist/{campaignsId-XZwqZjhW.d.ts → campaignsId-BZUicbBY.d.ts} +111 -111
- package/dist/fetch/campaigns.d.ts +1 -1
- package/dist/fetch/campaignsId.d.ts +1 -1
- package/dist/hooks/useCampaigns.d.ts +2 -2
- package/dist/hooks/useCampaignsId.d.ts +2 -2
- package/dist/hooks/useCampaignsIdPreview.d.ts +1 -1
- package/dist/hooks/useCampaignsIdUtmCampaignConflicts.d.ts +1 -1
- package/dist/hooks/useProjectsProjectIdOrKeyword.d.ts +1 -1
- package/dist/hooks/useSegmentsBehaviorSegments.d.ts +1 -1
- package/dist/hooks/useSegmentsProfileSegments.d.ts +1 -1
- package/dist/hooks/useSegmentsTargetUsersCount.d.ts +1 -1
- package/dist/{index-BybjZro5.d.ts → index-BJIq35ky.d.ts} +2 -2
- package/dist/index.d.ts +3 -3
- package/package.json +4 -4
|
@@ -12,7 +12,8 @@ declare const buildCampaignsGetFetcher: (requestInit?: RequestInit) => (input: R
|
|
|
12
12
|
lastEditedAt: string;
|
|
13
13
|
title?: string | null | undefined;
|
|
14
14
|
} & {
|
|
15
|
-
kind: "
|
|
15
|
+
kind: "curationMailMagazine";
|
|
16
|
+
bodyKind: "template" | "freeFormat";
|
|
16
17
|
}) | ({
|
|
17
18
|
id: number;
|
|
18
19
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
@@ -21,8 +22,7 @@ declare const buildCampaignsGetFetcher: (requestInit?: RequestInit) => (input: R
|
|
|
21
22
|
lastEditedAt: string;
|
|
22
23
|
title?: string | null | undefined;
|
|
23
24
|
} & {
|
|
24
|
-
kind: "
|
|
25
|
-
bodyKind: "template" | "freeFormat";
|
|
25
|
+
kind: "personalizedMailMagazine";
|
|
26
26
|
}))[];
|
|
27
27
|
pagination: {
|
|
28
28
|
totalPages: number;
|
|
@@ -45,7 +45,8 @@ declare const getCampaigns: (query: CampaignsGetQuery, customRequestInit?: Reque
|
|
|
45
45
|
lastEditedAt: string;
|
|
46
46
|
title?: string | null | undefined;
|
|
47
47
|
} & {
|
|
48
|
-
kind: "
|
|
48
|
+
kind: "curationMailMagazine";
|
|
49
|
+
bodyKind: "template" | "freeFormat";
|
|
49
50
|
}) | ({
|
|
50
51
|
id: number;
|
|
51
52
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
@@ -54,8 +55,7 @@ declare const getCampaigns: (query: CampaignsGetQuery, customRequestInit?: Reque
|
|
|
54
55
|
lastEditedAt: string;
|
|
55
56
|
title?: string | null | undefined;
|
|
56
57
|
} & {
|
|
57
|
-
kind: "
|
|
58
|
-
bodyKind: "template" | "freeFormat";
|
|
58
|
+
kind: "personalizedMailMagazine";
|
|
59
59
|
}))[];
|
|
60
60
|
pagination: {
|
|
61
61
|
totalPages: number;
|
|
@@ -9,21 +9,6 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
9
9
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
10
10
|
title: string | null;
|
|
11
11
|
deliveryScheduledAt: string | null;
|
|
12
|
-
} & {
|
|
13
|
-
kind: "personalizedMailMagazine";
|
|
14
|
-
personalizedMailMagazine: {
|
|
15
|
-
utmCampaign: string | null;
|
|
16
|
-
target: {
|
|
17
|
-
csvFileName: string;
|
|
18
|
-
targetUsersCount: number;
|
|
19
|
-
excludedUsersCount: number;
|
|
20
|
-
} | null;
|
|
21
|
-
};
|
|
22
|
-
}) | ({
|
|
23
|
-
id: number;
|
|
24
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
25
|
-
title: string | null;
|
|
26
|
-
deliveryScheduledAt: string | null;
|
|
27
12
|
} & {
|
|
28
13
|
kind: "curationMailMagazine";
|
|
29
14
|
curationMailMagazine: ({
|
|
@@ -36,6 +21,24 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
36
21
|
behaviorSegmentCodes: string[];
|
|
37
22
|
profileSegmentCodes: string[];
|
|
38
23
|
}[];
|
|
24
|
+
} & {
|
|
25
|
+
bodyKind: "freeFormat";
|
|
26
|
+
htmlBody: string | null;
|
|
27
|
+
htmlStyle: string | null;
|
|
28
|
+
images: {
|
|
29
|
+
id: number;
|
|
30
|
+
key: string;
|
|
31
|
+
}[];
|
|
32
|
+
}) | ({
|
|
33
|
+
utmCampaign: string | null;
|
|
34
|
+
subject: string | null;
|
|
35
|
+
preHeaderText: string | null;
|
|
36
|
+
deliveredUsersCount: number | null;
|
|
37
|
+
targetFilters: {
|
|
38
|
+
id: number;
|
|
39
|
+
behaviorSegmentCodes: string[];
|
|
40
|
+
profileSegmentCodes: string[];
|
|
41
|
+
}[];
|
|
39
42
|
} & {
|
|
40
43
|
bodyKind: "template";
|
|
41
44
|
projects: {
|
|
@@ -55,30 +58,8 @@ declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input:
|
|
|
55
58
|
imageUrl: string | null;
|
|
56
59
|
url: string | null;
|
|
57
60
|
}[];
|
|
58
|
-
}) | ({
|
|
59
|
-
utmCampaign: string | null;
|
|
60
|
-
subject: string | null;
|
|
61
|
-
preHeaderText: string | null;
|
|
62
|
-
deliveredUsersCount: number | null;
|
|
63
|
-
targetFilters: {
|
|
64
|
-
id: number;
|
|
65
|
-
behaviorSegmentCodes: string[];
|
|
66
|
-
profileSegmentCodes: string[];
|
|
67
|
-
}[];
|
|
68
|
-
} & {
|
|
69
|
-
bodyKind: "freeFormat";
|
|
70
|
-
htmlBody: string | null;
|
|
71
|
-
htmlStyle: string | null;
|
|
72
|
-
images: {
|
|
73
|
-
id: number;
|
|
74
|
-
key: string;
|
|
75
|
-
}[];
|
|
76
61
|
});
|
|
77
|
-
})
|
|
78
|
-
}>;
|
|
79
|
-
type CampaignsIdGetPath = ForceDig<CampaignsIdGetOperation, ["parameters", "path"]>;
|
|
80
|
-
declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
81
|
-
campaignDetail: ({
|
|
62
|
+
}) | ({
|
|
82
63
|
id: number;
|
|
83
64
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
84
65
|
title: string | null;
|
|
@@ -93,7 +74,11 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: Req
|
|
|
93
74
|
excludedUsersCount: number;
|
|
94
75
|
} | null;
|
|
95
76
|
};
|
|
96
|
-
})
|
|
77
|
+
});
|
|
78
|
+
}>;
|
|
79
|
+
type CampaignsIdGetPath = ForceDig<CampaignsIdGetOperation, ["parameters", "path"]>;
|
|
80
|
+
declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
81
|
+
campaignDetail: ({
|
|
97
82
|
id: number;
|
|
98
83
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
99
84
|
title: string | null;
|
|
@@ -110,6 +95,24 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: Req
|
|
|
110
95
|
behaviorSegmentCodes: string[];
|
|
111
96
|
profileSegmentCodes: string[];
|
|
112
97
|
}[];
|
|
98
|
+
} & {
|
|
99
|
+
bodyKind: "freeFormat";
|
|
100
|
+
htmlBody: string | null;
|
|
101
|
+
htmlStyle: string | null;
|
|
102
|
+
images: {
|
|
103
|
+
id: number;
|
|
104
|
+
key: string;
|
|
105
|
+
}[];
|
|
106
|
+
}) | ({
|
|
107
|
+
utmCampaign: string | null;
|
|
108
|
+
subject: string | null;
|
|
109
|
+
preHeaderText: string | null;
|
|
110
|
+
deliveredUsersCount: number | null;
|
|
111
|
+
targetFilters: {
|
|
112
|
+
id: number;
|
|
113
|
+
behaviorSegmentCodes: string[];
|
|
114
|
+
profileSegmentCodes: string[];
|
|
115
|
+
}[];
|
|
113
116
|
} & {
|
|
114
117
|
bodyKind: "template";
|
|
115
118
|
projects: {
|
|
@@ -129,35 +132,8 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: Req
|
|
|
129
132
|
imageUrl: string | null;
|
|
130
133
|
url: string | null;
|
|
131
134
|
}[];
|
|
132
|
-
}) | ({
|
|
133
|
-
utmCampaign: string | null;
|
|
134
|
-
subject: string | null;
|
|
135
|
-
preHeaderText: string | null;
|
|
136
|
-
deliveredUsersCount: number | null;
|
|
137
|
-
targetFilters: {
|
|
138
|
-
id: number;
|
|
139
|
-
behaviorSegmentCodes: string[];
|
|
140
|
-
profileSegmentCodes: string[];
|
|
141
|
-
}[];
|
|
142
|
-
} & {
|
|
143
|
-
bodyKind: "freeFormat";
|
|
144
|
-
htmlBody: string | null;
|
|
145
|
-
htmlStyle: string | null;
|
|
146
|
-
images: {
|
|
147
|
-
id: number;
|
|
148
|
-
key: string;
|
|
149
|
-
}[];
|
|
150
135
|
});
|
|
151
|
-
})
|
|
152
|
-
}>;
|
|
153
|
-
type CampaignsIdDeleteOperation = paths["/api/campaigns/{id}"]["delete"];
|
|
154
|
-
declare const buildCampaignsIdDeleteFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
155
|
-
type CampaignsIdDeletePath = ForceDig<CampaignsIdDeleteOperation, ["parameters", "path"]>;
|
|
156
|
-
declare const deleteCampaignsId: (path: CampaignsIdDeletePath, customRequestInit?: RequestInit) => Promise<void>;
|
|
157
|
-
type CampaignsIdPatchOperation = paths["/api/campaigns/{id}"]["patch"];
|
|
158
|
-
type CampaignsIdPatchResponse = CampaignsIdPatchOperation["responses"]["200"]["content"]["application/json"];
|
|
159
|
-
declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
160
|
-
campaignDetail: ({
|
|
136
|
+
}) | ({
|
|
161
137
|
id: number;
|
|
162
138
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
163
139
|
title: string | null;
|
|
@@ -172,7 +148,16 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
172
148
|
excludedUsersCount: number;
|
|
173
149
|
} | null;
|
|
174
150
|
};
|
|
175
|
-
})
|
|
151
|
+
});
|
|
152
|
+
}>;
|
|
153
|
+
type CampaignsIdDeleteOperation = paths["/api/campaigns/{id}"]["delete"];
|
|
154
|
+
declare const buildCampaignsIdDeleteFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
155
|
+
type CampaignsIdDeletePath = ForceDig<CampaignsIdDeleteOperation, ["parameters", "path"]>;
|
|
156
|
+
declare const deleteCampaignsId: (path: CampaignsIdDeletePath, customRequestInit?: RequestInit) => Promise<void>;
|
|
157
|
+
type CampaignsIdPatchOperation = paths["/api/campaigns/{id}"]["patch"];
|
|
158
|
+
type CampaignsIdPatchResponse = CampaignsIdPatchOperation["responses"]["200"]["content"]["application/json"];
|
|
159
|
+
declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
160
|
+
campaignDetail: ({
|
|
176
161
|
id: number;
|
|
177
162
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
178
163
|
title: string | null;
|
|
@@ -189,6 +174,24 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
189
174
|
behaviorSegmentCodes: string[];
|
|
190
175
|
profileSegmentCodes: string[];
|
|
191
176
|
}[];
|
|
177
|
+
} & {
|
|
178
|
+
bodyKind: "freeFormat";
|
|
179
|
+
htmlBody: string | null;
|
|
180
|
+
htmlStyle: string | null;
|
|
181
|
+
images: {
|
|
182
|
+
id: number;
|
|
183
|
+
key: string;
|
|
184
|
+
}[];
|
|
185
|
+
}) | ({
|
|
186
|
+
utmCampaign: string | null;
|
|
187
|
+
subject: string | null;
|
|
188
|
+
preHeaderText: string | null;
|
|
189
|
+
deliveredUsersCount: number | null;
|
|
190
|
+
targetFilters: {
|
|
191
|
+
id: number;
|
|
192
|
+
behaviorSegmentCodes: string[];
|
|
193
|
+
profileSegmentCodes: string[];
|
|
194
|
+
}[];
|
|
192
195
|
} & {
|
|
193
196
|
bodyKind: "template";
|
|
194
197
|
projects: {
|
|
@@ -208,31 +211,8 @@ declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (inpu
|
|
|
208
211
|
imageUrl: string | null;
|
|
209
212
|
url: string | null;
|
|
210
213
|
}[];
|
|
211
|
-
}) | ({
|
|
212
|
-
utmCampaign: string | null;
|
|
213
|
-
subject: string | null;
|
|
214
|
-
preHeaderText: string | null;
|
|
215
|
-
deliveredUsersCount: number | null;
|
|
216
|
-
targetFilters: {
|
|
217
|
-
id: number;
|
|
218
|
-
behaviorSegmentCodes: string[];
|
|
219
|
-
profileSegmentCodes: string[];
|
|
220
|
-
}[];
|
|
221
|
-
} & {
|
|
222
|
-
bodyKind: "freeFormat";
|
|
223
|
-
htmlBody: string | null;
|
|
224
|
-
htmlStyle: string | null;
|
|
225
|
-
images: {
|
|
226
|
-
id: number;
|
|
227
|
-
key: string;
|
|
228
|
-
}[];
|
|
229
214
|
});
|
|
230
|
-
})
|
|
231
|
-
}>;
|
|
232
|
-
type CampaignsIdPatchPath = ForceDig<CampaignsIdPatchOperation, ["parameters", "path"]>;
|
|
233
|
-
type CampaignsIdPatchRequestBody = ForceDig<CampaignsIdPatchOperation, ["requestBody", "content", "multipart/form-data"]>;
|
|
234
|
-
declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<{
|
|
235
|
-
campaignDetail: ({
|
|
215
|
+
}) | ({
|
|
236
216
|
id: number;
|
|
237
217
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
238
218
|
title: string | null;
|
|
@@ -247,7 +227,12 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
247
227
|
excludedUsersCount: number;
|
|
248
228
|
} | null;
|
|
249
229
|
};
|
|
250
|
-
})
|
|
230
|
+
});
|
|
231
|
+
}>;
|
|
232
|
+
type CampaignsIdPatchPath = ForceDig<CampaignsIdPatchOperation, ["parameters", "path"]>;
|
|
233
|
+
type CampaignsIdPatchRequestBody = ForceDig<CampaignsIdPatchOperation, ["requestBody", "content", "multipart/form-data"]>;
|
|
234
|
+
declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<{
|
|
235
|
+
campaignDetail: ({
|
|
251
236
|
id: number;
|
|
252
237
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
253
238
|
title: string | null;
|
|
@@ -264,6 +249,24 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
264
249
|
behaviorSegmentCodes: string[];
|
|
265
250
|
profileSegmentCodes: string[];
|
|
266
251
|
}[];
|
|
252
|
+
} & {
|
|
253
|
+
bodyKind: "freeFormat";
|
|
254
|
+
htmlBody: string | null;
|
|
255
|
+
htmlStyle: string | null;
|
|
256
|
+
images: {
|
|
257
|
+
id: number;
|
|
258
|
+
key: string;
|
|
259
|
+
}[];
|
|
260
|
+
}) | ({
|
|
261
|
+
utmCampaign: string | null;
|
|
262
|
+
subject: string | null;
|
|
263
|
+
preHeaderText: string | null;
|
|
264
|
+
deliveredUsersCount: number | null;
|
|
265
|
+
targetFilters: {
|
|
266
|
+
id: number;
|
|
267
|
+
behaviorSegmentCodes: string[];
|
|
268
|
+
profileSegmentCodes: string[];
|
|
269
|
+
}[];
|
|
267
270
|
} & {
|
|
268
271
|
bodyKind: "template";
|
|
269
272
|
projects: {
|
|
@@ -283,25 +286,22 @@ declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormDa
|
|
|
283
286
|
imageUrl: string | null;
|
|
284
287
|
url: string | null;
|
|
285
288
|
}[];
|
|
286
|
-
}) | ({
|
|
287
|
-
utmCampaign: string | null;
|
|
288
|
-
subject: string | null;
|
|
289
|
-
preHeaderText: string | null;
|
|
290
|
-
deliveredUsersCount: number | null;
|
|
291
|
-
targetFilters: {
|
|
292
|
-
id: number;
|
|
293
|
-
behaviorSegmentCodes: string[];
|
|
294
|
-
profileSegmentCodes: string[];
|
|
295
|
-
}[];
|
|
296
|
-
} & {
|
|
297
|
-
bodyKind: "freeFormat";
|
|
298
|
-
htmlBody: string | null;
|
|
299
|
-
htmlStyle: string | null;
|
|
300
|
-
images: {
|
|
301
|
-
id: number;
|
|
302
|
-
key: string;
|
|
303
|
-
}[];
|
|
304
289
|
});
|
|
290
|
+
}) | ({
|
|
291
|
+
id: number;
|
|
292
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
293
|
+
title: string | null;
|
|
294
|
+
deliveryScheduledAt: string | null;
|
|
295
|
+
} & {
|
|
296
|
+
kind: "personalizedMailMagazine";
|
|
297
|
+
personalizedMailMagazine: {
|
|
298
|
+
utmCampaign: string | null;
|
|
299
|
+
target: {
|
|
300
|
+
csvFileName: string;
|
|
301
|
+
targetUsersCount: number;
|
|
302
|
+
excludedUsersCount: number;
|
|
303
|
+
} | null;
|
|
304
|
+
};
|
|
305
305
|
});
|
|
306
306
|
}>;
|
|
307
307
|
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as buildCampaignsGetFetcher, c as postCampaigns, i as CampaignsPostResponse, n as CampaignsGetResponse, o as buildCampaignsPostFetcher, r as CampaignsPostRequestBody, s as getCampaigns, t as CampaignsGetQuery } from "../campaigns-
|
|
1
|
+
import { a as buildCampaignsGetFetcher, c as postCampaigns, i as CampaignsPostResponse, n as CampaignsGetResponse, o as buildCampaignsPostFetcher, r as CampaignsPostRequestBody, s as getCampaigns, t as CampaignsGetQuery } from "../campaigns-8be3XZ-j.js";
|
|
2
2
|
export { CampaignsGetQuery, CampaignsGetResponse, CampaignsPostRequestBody, CampaignsPostResponse, buildCampaignsGetFetcher, buildCampaignsPostFetcher, getCampaigns, postCampaigns };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CampaignsIdPatchRequestBody, c as buildCampaignsIdGetFetcher, d as getCampaignsId, f as patchCampaignsId, i as CampaignsIdPatchPath, l as buildCampaignsIdPatchFetcher, n as CampaignsIdGetPath, o as CampaignsIdPatchResponse, r as CampaignsIdGetResponse, s as buildCampaignsIdDeleteFetcher, t as CampaignsIdDeletePath, u as deleteCampaignsId } from "../campaignsId-
|
|
1
|
+
import { a as CampaignsIdPatchRequestBody, c as buildCampaignsIdGetFetcher, d as getCampaignsId, f as patchCampaignsId, i as CampaignsIdPatchPath, l as buildCampaignsIdPatchFetcher, n as CampaignsIdGetPath, o as CampaignsIdPatchResponse, r as CampaignsIdGetResponse, s as buildCampaignsIdDeleteFetcher, t as CampaignsIdDeletePath, u as deleteCampaignsId } from "../campaignsId-BZUicbBY.js";
|
|
2
2
|
export { CampaignsIdDeletePath, CampaignsIdGetPath, CampaignsIdGetResponse, CampaignsIdPatchPath, CampaignsIdPatchRequestBody, CampaignsIdPatchResponse, buildCampaignsIdDeleteFetcher, buildCampaignsIdGetFetcher, buildCampaignsIdPatchFetcher, deleteCampaignsId, getCampaignsId, patchCampaignsId };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as components } from "../schemaType-Cc8pwM2-.js";
|
|
2
|
-
import { n as CampaignsGetResponse, t as CampaignsGetQuery } from "../campaigns-
|
|
3
|
-
import "../index-
|
|
2
|
+
import { n as CampaignsGetResponse, t as CampaignsGetQuery } from "../campaigns-8be3XZ-j.js";
|
|
3
|
+
import "../index-BJIq35ky.js";
|
|
4
4
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
5
5
|
import { Arguments } from "swr";
|
|
6
6
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as components } from "../schemaType-Cc8pwM2-.js";
|
|
2
|
-
import { n as CampaignsIdGetPath, r as CampaignsIdGetResponse } from "../campaignsId-
|
|
3
|
-
import "../index-
|
|
2
|
+
import { n as CampaignsIdGetPath, r as CampaignsIdGetResponse } from "../campaignsId-BZUicbBY.js";
|
|
3
|
+
import "../index-BJIq35ky.js";
|
|
4
4
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
5
5
|
import { Arguments } from "swr";
|
|
6
6
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as CampaignsIdPreviewGetResponse, t as CampaignsIdPreviewGetPath } from "../campaignsIdPreview-Bk606s4f.js";
|
|
2
|
-
import "../index-
|
|
2
|
+
import "../index-BJIq35ky.js";
|
|
3
3
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
4
4
|
import { Arguments } from "swr";
|
|
5
5
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as components } from "../schemaType-Cc8pwM2-.js";
|
|
2
2
|
import { n as CampaignsIdUtmCampaignConflictsGetQuery, r as CampaignsIdUtmCampaignConflictsGetResponse, t as CampaignsIdUtmCampaignConflictsGetPath } from "../campaignsIdUtmCampaignConflicts-CYNZhfz_.js";
|
|
3
|
-
import "../index-
|
|
3
|
+
import "../index-BJIq35ky.js";
|
|
4
4
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
5
5
|
import { Arguments } from "swr";
|
|
6
6
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as components } from "../schemaType-Cc8pwM2-.js";
|
|
2
2
|
import { n as ProjectsProjectIdOrKeywordGetResponse, t as ProjectsProjectIdOrKeywordGetPath } from "../projectsProjectIdOrKeyword-BJy1YEQA.js";
|
|
3
|
-
import "../index-
|
|
3
|
+
import "../index-BJIq35ky.js";
|
|
4
4
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
5
5
|
import { Arguments } from "swr";
|
|
6
6
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as components } from "../schemaType-Cc8pwM2-.js";
|
|
2
2
|
import { t as SegmentsBehaviorSegmentsGetResponse } from "../segmentsBehaviorSegments-Dm6JAD2X.js";
|
|
3
|
-
import "../index-
|
|
3
|
+
import "../index-BJIq35ky.js";
|
|
4
4
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
5
5
|
import { Arguments } from "swr";
|
|
6
6
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as components } from "../schemaType-Cc8pwM2-.js";
|
|
2
2
|
import { t as SegmentsProfileSegmentsGetResponse } from "../segmentsProfileSegments-6KRCtvsg.js";
|
|
3
|
-
import "../index-
|
|
3
|
+
import "../index-BJIq35ky.js";
|
|
4
4
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
5
5
|
import { Arguments } from "swr";
|
|
6
6
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as SegmentsTargetUsersCountGetResponse, t as SegmentsTargetUsersCountGetQuery } from "../segmentsTargetUsersCount-CMVnrPlt.js";
|
|
2
|
-
import "../index-
|
|
2
|
+
import "../index-BJIq35ky.js";
|
|
3
3
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
4
4
|
import { Arguments } from "swr";
|
|
5
5
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./components-D7oBjOuU.js";
|
|
2
|
-
import "./campaigns-
|
|
2
|
+
import "./campaigns-8be3XZ-j.js";
|
|
3
3
|
import "./campaignsCampaignIdImagesId-QdJvpM_T.js";
|
|
4
|
-
import "./campaignsId-
|
|
4
|
+
import "./campaignsId-BZUicbBY.js";
|
|
5
5
|
import "./campaignsIdDeliveryJob-Dqyi5YTZ.js";
|
|
6
6
|
import "./campaignsIdImages-nZJ82wMm.js";
|
|
7
7
|
import "./campaignsIdPreview-Bk606s4f.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { $ as PersonalizedMailMagazineFormData, A as CurationMailMagazineFormDataBase, B as GetCampaignsCampaignIdUtmCampaignConflictsResponse, C as CurationMailMagazineBannerFormData, D as CurationMailMagazineDetailBodyKindFreeFormat, E as CurationMailMagazineDetailBase, F as CurationMailMagazineTargetFilterFormData, G as HttpErrorBadRequest, H as GetProfileSegmentsResponse, I as CurationMailMagazineTargetProject, J as Pagination, K as Image, L as DeleteImageFormData, M as CurationMailMagazineFormDataBodyKindTemplate, N as CurationMailMagazineProjectFormData, O as CurationMailMagazineDetailBodyKindTemplate, P as CurationMailMagazineTargetFilter, Q as PersonalizedMailMagazineDetailTarget, R as GetBehaviorSegmentsResponse, S as CurationMailMagazineBanner, T as CurationMailMagazineDetail, U as GetProjectsProjectIdOrKeywordResponse, V as GetCampaignsResponse, W as GetTargetUsersCountResponse, X as PersonalizedMailMagazineCampaign, Y as PatchCampaignsCampaignIdRequestBody, Z as PersonalizedMailMagazineDetail, _ as CampaignWithPersonalizedMailMagazineFormData, a as CampaignDetail, at as PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody, b as CreateCampaignKindCurationMailMagazineFormData, c as CampaignDetailKindDataPersonalizedMailMagazine, ct as ReadyforProject, d as CampaignFormData, dt as UploadImageFormData, et as PersonalizedMailMagazineTargetCsvFormData, f as CampaignKind, g as CampaignWithCurationMailMagazineFormData, h as CampaignStatus, i as CampaignBaseFormData, it as PostCampaignsCampaignIdImagesReqeustBody, j as CurationMailMagazineFormDataBodyKindFreeFormat, k as CurationMailMagazineFormData, l as CampaignDetailWithCurationMailMagazine, lt as Segment, m as CampaignKindDataPersonalizedMailMagazineFormData, n as Campaign, nt as PersonalizedMailMagazineTargetUploadCsvFormData, o as CampaignDetailBase, ot as PostCampaignsRequestBody, p as CampaignKindDataCurationMailMagazineFormData, q as ImageFormData, r as CampaignBase, rt as PersonalizedMailMagazineTargetUploadCsvRecordFormData, s as CampaignDetailKindDataCurationMailMagazine, st as PostCampaignsResponse, t as BodyKind, tt as PersonalizedMailMagazineTargetDeleteCsvFormData, u as CampaignDetailWithPersonalizedMailMagazine, ut as TargetFilterSegments, v as CampaignsCampaignIdResponse, w as CurationMailMagazineCampaign, x as CreateCampaignKindPersonalizedMailMagazineFormData, y as ConflictingCampaign, z as GetCampaignsCampaignIdPreviewResponse } from "./components-D7oBjOuU.js";
|
|
2
2
|
import { a as paths, i as operations, n as components, o as webhooks, r as external, t as $defs } from "./schemaType-Cc8pwM2-.js";
|
|
3
|
-
import { a as buildCampaignsGetFetcher, c as postCampaigns, i as CampaignsPostResponse, n as CampaignsGetResponse, o as buildCampaignsPostFetcher, r as CampaignsPostRequestBody, s as getCampaigns, t as CampaignsGetQuery } from "./campaigns-
|
|
3
|
+
import { a as buildCampaignsGetFetcher, c as postCampaigns, i as CampaignsPostResponse, n as CampaignsGetResponse, o as buildCampaignsPostFetcher, r as CampaignsPostRequestBody, s as getCampaigns, t as CampaignsGetQuery } from "./campaigns-8be3XZ-j.js";
|
|
4
4
|
import { n as buildCampaignsCampaignIdImagesIdDeleteFetcher, r as deleteCampaignsCampaignIdImagesId, t as CampaignsCampaignIdImagesIdDeletePath } from "./campaignsCampaignIdImagesId-QdJvpM_T.js";
|
|
5
|
-
import { a as CampaignsIdPatchRequestBody, c as buildCampaignsIdGetFetcher, d as getCampaignsId, f as patchCampaignsId, i as CampaignsIdPatchPath, l as buildCampaignsIdPatchFetcher, n as CampaignsIdGetPath, o as CampaignsIdPatchResponse, r as CampaignsIdGetResponse, s as buildCampaignsIdDeleteFetcher, t as CampaignsIdDeletePath, u as deleteCampaignsId } from "./campaignsId-
|
|
5
|
+
import { a as CampaignsIdPatchRequestBody, c as buildCampaignsIdGetFetcher, d as getCampaignsId, f as patchCampaignsId, i as CampaignsIdPatchPath, l as buildCampaignsIdPatchFetcher, n as CampaignsIdGetPath, o as CampaignsIdPatchResponse, r as CampaignsIdGetResponse, s as buildCampaignsIdDeleteFetcher, t as CampaignsIdDeletePath, u as deleteCampaignsId } from "./campaignsId-BZUicbBY.js";
|
|
6
6
|
import { a as deleteCampaignsIdDeliveryJob, i as buildCampaignsIdDeliveryJobPostFetcher, n as CampaignsIdDeliveryJobPostPath, o as postCampaignsIdDeliveryJob, r as buildCampaignsIdDeliveryJobDeleteFetcher, t as CampaignsIdDeliveryJobDeletePath } from "./campaignsIdDeliveryJob-Dqyi5YTZ.js";
|
|
7
7
|
import { a as postCampaignsIdImages, i as buildCampaignsIdImagesPostFetcher, n as CampaignsIdImagesPostRequestBody, r as CampaignsIdImagesPostResponse, t as CampaignsIdImagesPostPath } from "./campaignsIdImages-nZJ82wMm.js";
|
|
8
8
|
import { i as getCampaignsIdPreview, n as CampaignsIdPreviewGetResponse, r as buildCampaignsIdPreviewGetFetcher, t as CampaignsIdPreviewGetPath } from "./campaignsIdPreview-Bk606s4f.js";
|
|
@@ -12,5 +12,5 @@ import { i as getProjectsProjectIdOrKeyword, n as ProjectsProjectIdOrKeywordGetR
|
|
|
12
12
|
import { n as buildSegmentsBehaviorSegmentsGetFetcher, r as getSegmentsBehaviorSegments, t as SegmentsBehaviorSegmentsGetResponse } from "./segmentsBehaviorSegments-Dm6JAD2X.js";
|
|
13
13
|
import { n as buildSegmentsProfileSegmentsGetFetcher, r as getSegmentsProfileSegments, t as SegmentsProfileSegmentsGetResponse } from "./segmentsProfileSegments-6KRCtvsg.js";
|
|
14
14
|
import { i as getSegmentsTargetUsersCount, n as SegmentsTargetUsersCountGetResponse, r as buildSegmentsTargetUsersCountGetFetcher, t as SegmentsTargetUsersCountGetQuery } from "./segmentsTargetUsersCount-CMVnrPlt.js";
|
|
15
|
-
import "./index-
|
|
15
|
+
import "./index-BJIq35ky.js";
|
|
16
16
|
export { type $defs, BodyKind, Campaign, CampaignBase, CampaignBaseFormData, CampaignDetail, CampaignDetailBase, CampaignDetailKindDataCurationMailMagazine, CampaignDetailKindDataPersonalizedMailMagazine, CampaignDetailWithCurationMailMagazine, CampaignDetailWithPersonalizedMailMagazine, CampaignFormData, CampaignKind, CampaignKindDataCurationMailMagazineFormData, CampaignKindDataPersonalizedMailMagazineFormData, CampaignStatus, CampaignWithCurationMailMagazineFormData, CampaignWithPersonalizedMailMagazineFormData, CampaignsCampaignIdImagesIdDeletePath, CampaignsCampaignIdResponse, CampaignsGetQuery, CampaignsGetResponse, CampaignsIdDeletePath, CampaignsIdDeliveryJobDeletePath, CampaignsIdDeliveryJobPostPath, CampaignsIdGetPath, CampaignsIdGetResponse, CampaignsIdImagesPostPath, CampaignsIdImagesPostRequestBody, CampaignsIdImagesPostResponse, CampaignsIdPatchPath, CampaignsIdPatchRequestBody, CampaignsIdPatchResponse, CampaignsIdPreviewDeliveryEmailPostPath, CampaignsIdPreviewDeliveryEmailPostRequestBody, CampaignsIdPreviewGetPath, CampaignsIdPreviewGetResponse, CampaignsIdUtmCampaignConflictsGetPath, CampaignsIdUtmCampaignConflictsGetQuery, CampaignsIdUtmCampaignConflictsGetResponse, CampaignsPostRequestBody, CampaignsPostResponse, ConflictingCampaign, CreateCampaignKindCurationMailMagazineFormData, CreateCampaignKindPersonalizedMailMagazineFormData, CurationMailMagazineBanner, CurationMailMagazineBannerFormData, CurationMailMagazineCampaign, CurationMailMagazineDetail, CurationMailMagazineDetailBase, CurationMailMagazineDetailBodyKindFreeFormat, CurationMailMagazineDetailBodyKindTemplate, CurationMailMagazineFormData, CurationMailMagazineFormDataBase, CurationMailMagazineFormDataBodyKindFreeFormat, CurationMailMagazineFormDataBodyKindTemplate, CurationMailMagazineProjectFormData, CurationMailMagazineTargetFilter, CurationMailMagazineTargetFilterFormData, CurationMailMagazineTargetProject, DeleteImageFormData, GetBehaviorSegmentsResponse, GetCampaignsCampaignIdPreviewResponse, GetCampaignsCampaignIdUtmCampaignConflictsResponse, GetCampaignsResponse, GetProfileSegmentsResponse, GetProjectsProjectIdOrKeywordResponse, GetTargetUsersCountResponse, HttpErrorBadRequest, Image, ImageFormData, Pagination, PatchCampaignsCampaignIdRequestBody, PersonalizedMailMagazineCampaign, PersonalizedMailMagazineDetail, PersonalizedMailMagazineDetailTarget, PersonalizedMailMagazineFormData, PersonalizedMailMagazineTargetCsvFormData, PersonalizedMailMagazineTargetDeleteCsvFormData, PersonalizedMailMagazineTargetUploadCsvFormData, PersonalizedMailMagazineTargetUploadCsvRecordFormData, PostCampaignsCampaignIdImagesReqeustBody, PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody, PostCampaignsRequestBody, PostCampaignsResponse, ProjectsProjectIdOrKeywordGetPath, ProjectsProjectIdOrKeywordGetResponse, ReadyforProject, Segment, SegmentsBehaviorSegmentsGetResponse, SegmentsProfileSegmentsGetResponse, SegmentsTargetUsersCountGetQuery, SegmentsTargetUsersCountGetResponse, TargetFilterSegments, UploadImageFormData, buildCampaignsCampaignIdImagesIdDeleteFetcher, buildCampaignsGetFetcher, buildCampaignsIdDeleteFetcher, buildCampaignsIdDeliveryJobDeleteFetcher, buildCampaignsIdDeliveryJobPostFetcher, buildCampaignsIdGetFetcher, buildCampaignsIdImagesPostFetcher, buildCampaignsIdPatchFetcher, buildCampaignsIdPreviewDeliveryEmailPostFetcher, buildCampaignsIdPreviewGetFetcher, buildCampaignsIdUtmCampaignConflictsGetFetcher, buildCampaignsPostFetcher, buildProjectsProjectIdOrKeywordGetFetcher, buildSegmentsBehaviorSegmentsGetFetcher, buildSegmentsProfileSegmentsGetFetcher, buildSegmentsTargetUsersCountGetFetcher, type components, deleteCampaignsCampaignIdImagesId, deleteCampaignsId, deleteCampaignsIdDeliveryJob, type external, getCampaigns, getCampaignsId, getCampaignsIdPreview, getCampaignsIdUtmCampaignConflicts, getProjectsProjectIdOrKeyword, getSegmentsBehaviorSegments, getSegmentsProfileSegments, getSegmentsTargetUsersCount, type operations, patchCampaignsId, type paths, postCampaigns, postCampaignsIdDeliveryJob, postCampaignsIdImages, postCampaignsIdPreviewDeliveryEmail, type webhooks };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@readyfor/api-client-pigeon",
|
|
3
|
-
"version": "1.61.0-
|
|
3
|
+
"version": "1.61.0-pr1446.ddfd254",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"@types/use-sync-external-store": "1.5.0",
|
|
34
34
|
"qs": "^6.15.2",
|
|
35
35
|
"react": "19.2.8",
|
|
36
|
-
"swr": "2.5.
|
|
36
|
+
"swr": "2.5.1",
|
|
37
37
|
"use-sync-external-store": "1.6.0",
|
|
38
38
|
"zod": "^4.3.6",
|
|
39
|
-
"@readyfor/api-client-base": "1.61.0-
|
|
39
|
+
"@readyfor/api-client-base": "1.61.0-pr1446.ddfd254"
|
|
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": "^4",
|
|
47
|
-
"@readyfor/api-client-base": "1.61.0-
|
|
47
|
+
"@readyfor/api-client-base": "1.61.0-pr1446.ddfd254"
|
|
48
48
|
},
|
|
49
49
|
"peerDependenciesMeta": {
|
|
50
50
|
"react": {
|