@readyfor/api-client-pigeon 1.160.0 → 1.162.0-pr1546.f8839fb

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 (39) hide show
  1. package/dist/components.d.ts +1114 -2
  2. package/dist/fetch/campaigns.d.ts +79 -2
  3. package/dist/fetch/campaignsCampaignIdImagesId.d.ts +7 -2
  4. package/dist/fetch/campaignsId.d.ts +306 -2
  5. package/dist/fetch/campaignsIdDeliveryJob.d.ts +11 -2
  6. package/dist/fetch/campaignsIdImages.d.ts +15 -2
  7. package/dist/fetch/campaignsIdPreview.d.ts +12 -2
  8. package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.ts +8 -2
  9. package/dist/fetch/campaignsIdUtmCampaignConflicts.d.ts +19 -2
  10. package/dist/fetch/projectsProjectIdOrKeyword.d.ts +22 -2
  11. package/dist/fetch/segmentsBehaviorSegments.d.ts +23 -2
  12. package/dist/fetch/segmentsProfileSegments.d.ts +23 -2
  13. package/dist/fetch/segmentsTargetUsersCount.d.ts +12 -2
  14. package/dist/hooks/useCampaigns.d.ts +3 -3
  15. package/dist/hooks/useCampaignsId.d.ts +3 -3
  16. package/dist/hooks/useCampaignsIdPreview.d.ts +2 -2
  17. package/dist/hooks/useCampaignsIdUtmCampaignConflicts.d.ts +3 -3
  18. package/dist/hooks/useProjectsProjectIdOrKeyword.d.ts +3 -3
  19. package/dist/hooks/useSegmentsBehaviorSegments.d.ts +3 -3
  20. package/dist/hooks/useSegmentsProfileSegments.d.ts +3 -3
  21. package/dist/hooks/useSegmentsTargetUsersCount.d.ts +2 -2
  22. package/dist/index.d.ts +14 -15
  23. package/dist/schemaType.d.ts +934 -2
  24. package/package.json +3 -3
  25. package/dist/campaigns-BPGFLNBk.d.ts +0 -79
  26. package/dist/campaignsCampaignIdImagesId-Bg8VdWdK.d.ts +0 -7
  27. package/dist/campaignsId-CJrCSwgn.d.ts +0 -306
  28. package/dist/campaignsIdDeliveryJob-Cf4-Ckao.d.ts +0 -11
  29. package/dist/campaignsIdImages-BDuAnjF9.d.ts +0 -15
  30. package/dist/campaignsIdPreview-ua-DbzxQ.d.ts +0 -12
  31. package/dist/campaignsIdPreviewDeliveryEmail-CGHtSsk7.d.ts +0 -8
  32. package/dist/campaignsIdUtmCampaignConflicts-rRT4cpxW.d.ts +0 -19
  33. package/dist/components-NsRUpoRJ.d.ts +0 -1115
  34. package/dist/index-DAFLJA2Q.d.ts +0 -13
  35. package/dist/projectsProjectIdOrKeyword-D3G_Rtr7.d.ts +0 -22
  36. package/dist/schemaType-DNnjW7qF.d.ts +0 -935
  37. package/dist/segmentsBehaviorSegments-iEXzaqD4.d.ts +0 -23
  38. package/dist/segmentsProfileSegments-Bk6DuDmH.d.ts +0 -23
  39. package/dist/segmentsTargetUsersCount-BA_I8aDM.d.ts +0 -12
@@ -1,2 +1,79 @@
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-BPGFLNBk.js";
2
- export { CampaignsGetQuery, CampaignsGetResponse, CampaignsPostRequestBody, CampaignsPostResponse, buildCampaignsGetFetcher, buildCampaignsPostFetcher, getCampaigns, postCampaigns };
1
+ import { paths } from "../schemaType.js";
2
+ import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
+ type CampaignsGetOperation = paths["/api/campaigns"]["get"];
4
+ export type CampaignsGetResponse = CampaignsGetOperation["responses"]["200"]["content"]["application/json"];
5
+ export declare const buildCampaignsGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
+ campaigns: (({
7
+ id: number;
8
+ status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
9
+ deliveryAt: string | null;
10
+ lastEditorName: string;
11
+ lastEditedAt: string;
12
+ title?: string | null | undefined;
13
+ } & {
14
+ kind: "curationMailMagazine";
15
+ bodyKind: "template" | "freeFormat";
16
+ }) | ({
17
+ id: number;
18
+ status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
19
+ deliveryAt: string | null;
20
+ lastEditorName: string;
21
+ lastEditedAt: string;
22
+ title?: string | null | undefined;
23
+ } & {
24
+ kind: "personalizedMailMagazine";
25
+ }))[];
26
+ pagination: {
27
+ totalPages: number;
28
+ totalCount: number;
29
+ currentPerPage: number;
30
+ currentPage: number;
31
+ prevPage: number | null;
32
+ nextPage: number | null;
33
+ isFirstPage: boolean;
34
+ isLastPage: boolean;
35
+ };
36
+ }>;
37
+ export type CampaignsGetQuery = ForceDig<CampaignsGetOperation, ["parameters", "query"]>;
38
+ export declare const getCampaigns: (query: CampaignsGetQuery, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
39
+ campaigns: (({
40
+ id: number;
41
+ status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
42
+ deliveryAt: string | null;
43
+ lastEditorName: string;
44
+ lastEditedAt: string;
45
+ title?: string | null | undefined;
46
+ } & {
47
+ kind: "curationMailMagazine";
48
+ bodyKind: "template" | "freeFormat";
49
+ }) | ({
50
+ id: number;
51
+ status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
52
+ deliveryAt: string | null;
53
+ lastEditorName: string;
54
+ lastEditedAt: string;
55
+ title?: string | null | undefined;
56
+ } & {
57
+ kind: "personalizedMailMagazine";
58
+ }))[];
59
+ pagination: {
60
+ totalPages: number;
61
+ totalCount: number;
62
+ currentPerPage: number;
63
+ currentPage: number;
64
+ prevPage: number | null;
65
+ nextPage: number | null;
66
+ isFirstPage: boolean;
67
+ isLastPage: boolean;
68
+ };
69
+ }>;
70
+ type CampaignsPostOperation = paths["/api/campaigns"]["post"];
71
+ export type CampaignsPostResponse = CampaignsPostOperation["responses"]["201"]["content"]["application/json"];
72
+ export declare const buildCampaignsPostFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
73
+ id: number;
74
+ }>;
75
+ export type CampaignsPostRequestBody = ForceDig<CampaignsPostOperation, ["requestBody", "content", "application/json"]>;
76
+ export declare const postCampaigns: (requestBody: CampaignsPostRequestBody, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
77
+ id: number;
78
+ }>;
79
+ export {};
@@ -1,2 +1,7 @@
1
- import { n as buildCampaignsCampaignIdImagesIdDeleteFetcher, r as deleteCampaignsCampaignIdImagesId, t as CampaignsCampaignIdImagesIdDeletePath } from "../campaignsCampaignIdImagesId-Bg8VdWdK.js";
2
- export { CampaignsCampaignIdImagesIdDeletePath, buildCampaignsCampaignIdImagesIdDeleteFetcher, deleteCampaignsCampaignIdImagesId };
1
+ import { paths } from "../schemaType.js";
2
+ import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
+ type CampaignsCampaignIdImagesIdDeleteOperation = paths["/api/campaigns/{campaign_id}/images/{id}"]["delete"];
4
+ export declare const buildCampaignsCampaignIdImagesIdDeleteFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
5
+ export type CampaignsCampaignIdImagesIdDeletePath = ForceDig<CampaignsCampaignIdImagesIdDeleteOperation, ["parameters", "path"]>;
6
+ export declare const deleteCampaignsCampaignIdImagesId: (path: CampaignsCampaignIdImagesIdDeletePath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
7
+ export {};
@@ -1,2 +1,306 @@
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-CJrCSwgn.js";
2
- export { CampaignsIdDeletePath, CampaignsIdGetPath, CampaignsIdGetResponse, CampaignsIdPatchPath, CampaignsIdPatchRequestBody, CampaignsIdPatchResponse, buildCampaignsIdDeleteFetcher, buildCampaignsIdGetFetcher, buildCampaignsIdPatchFetcher, deleteCampaignsId, getCampaignsId, patchCampaignsId };
1
+ import { paths } from "../schemaType.js";
2
+ import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
+ type CampaignsIdGetOperation = paths["/api/campaigns/{id}"]["get"];
4
+ export type CampaignsIdGetResponse = CampaignsIdGetOperation["responses"]["200"]["content"]["application/json"];
5
+ export declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
+ campaignDetail: ({
7
+ id: number;
8
+ status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
9
+ title: string | null;
10
+ deliveryScheduledAt: string | null;
11
+ } & {
12
+ kind: "curationMailMagazine";
13
+ curationMailMagazine: ({
14
+ utmCampaign: string | null;
15
+ subject: string | null;
16
+ preHeaderText: string | null;
17
+ deliveredUsersCount: number | null;
18
+ targetFilters: {
19
+ id: number;
20
+ behaviorSegmentCodes: string[];
21
+ profileSegmentCodes: string[];
22
+ }[];
23
+ } & {
24
+ bodyKind: "freeFormat";
25
+ htmlBody: string | null;
26
+ htmlStyle: string | null;
27
+ images: {
28
+ id: number;
29
+ key: string;
30
+ }[];
31
+ }) | ({
32
+ utmCampaign: string | null;
33
+ subject: string | null;
34
+ preHeaderText: string | null;
35
+ deliveredUsersCount: number | null;
36
+ targetFilters: {
37
+ id: number;
38
+ behaviorSegmentCodes: string[];
39
+ profileSegmentCodes: string[];
40
+ }[];
41
+ } & {
42
+ bodyKind: "template";
43
+ projects: {
44
+ id: number;
45
+ readyforProjectId: number;
46
+ slotNumber: number;
47
+ isPaidSlot: boolean;
48
+ title: string | null;
49
+ description: string | null;
50
+ thumbnailUrl: string | null;
51
+ tag: string | null;
52
+ tagUrl: string | null;
53
+ }[];
54
+ banners: {
55
+ id: number;
56
+ slotNumber: number;
57
+ imageUrl: string | null;
58
+ url: string | null;
59
+ }[];
60
+ });
61
+ }) | ({
62
+ id: number;
63
+ status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
64
+ title: string | null;
65
+ deliveryScheduledAt: string | null;
66
+ } & {
67
+ kind: "personalizedMailMagazine";
68
+ personalizedMailMagazine: {
69
+ utmCampaign: string | null;
70
+ target: {
71
+ csvFileName: string;
72
+ targetUsersCount: number;
73
+ excludedUsersCount: number;
74
+ } | null;
75
+ };
76
+ });
77
+ }>;
78
+ export type CampaignsIdGetPath = ForceDig<CampaignsIdGetOperation, ["parameters", "path"]>;
79
+ export declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
80
+ campaignDetail: ({
81
+ id: number;
82
+ status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
83
+ title: string | null;
84
+ deliveryScheduledAt: string | null;
85
+ } & {
86
+ kind: "curationMailMagazine";
87
+ curationMailMagazine: ({
88
+ utmCampaign: string | null;
89
+ subject: string | null;
90
+ preHeaderText: string | null;
91
+ deliveredUsersCount: number | null;
92
+ targetFilters: {
93
+ id: number;
94
+ behaviorSegmentCodes: string[];
95
+ profileSegmentCodes: string[];
96
+ }[];
97
+ } & {
98
+ bodyKind: "freeFormat";
99
+ htmlBody: string | null;
100
+ htmlStyle: string | null;
101
+ images: {
102
+ id: number;
103
+ key: string;
104
+ }[];
105
+ }) | ({
106
+ utmCampaign: string | null;
107
+ subject: string | null;
108
+ preHeaderText: string | null;
109
+ deliveredUsersCount: number | null;
110
+ targetFilters: {
111
+ id: number;
112
+ behaviorSegmentCodes: string[];
113
+ profileSegmentCodes: string[];
114
+ }[];
115
+ } & {
116
+ bodyKind: "template";
117
+ projects: {
118
+ id: number;
119
+ readyforProjectId: number;
120
+ slotNumber: number;
121
+ isPaidSlot: boolean;
122
+ title: string | null;
123
+ description: string | null;
124
+ thumbnailUrl: string | null;
125
+ tag: string | null;
126
+ tagUrl: string | null;
127
+ }[];
128
+ banners: {
129
+ id: number;
130
+ slotNumber: number;
131
+ imageUrl: string | null;
132
+ url: string | null;
133
+ }[];
134
+ });
135
+ }) | ({
136
+ id: number;
137
+ status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
138
+ title: string | null;
139
+ deliveryScheduledAt: string | null;
140
+ } & {
141
+ kind: "personalizedMailMagazine";
142
+ personalizedMailMagazine: {
143
+ utmCampaign: string | null;
144
+ target: {
145
+ csvFileName: string;
146
+ targetUsersCount: number;
147
+ excludedUsersCount: number;
148
+ } | null;
149
+ };
150
+ });
151
+ }>;
152
+ type CampaignsIdDeleteOperation = paths["/api/campaigns/{id}"]["delete"];
153
+ export declare const buildCampaignsIdDeleteFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
154
+ export type CampaignsIdDeletePath = ForceDig<CampaignsIdDeleteOperation, ["parameters", "path"]>;
155
+ export declare const deleteCampaignsId: (path: CampaignsIdDeletePath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
156
+ type CampaignsIdPatchOperation = paths["/api/campaigns/{id}"]["patch"];
157
+ export type CampaignsIdPatchResponse = CampaignsIdPatchOperation["responses"]["200"]["content"]["application/json"];
158
+ export declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
159
+ campaignDetail: ({
160
+ id: number;
161
+ status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
162
+ title: string | null;
163
+ deliveryScheduledAt: string | null;
164
+ } & {
165
+ kind: "curationMailMagazine";
166
+ curationMailMagazine: ({
167
+ utmCampaign: string | null;
168
+ subject: string | null;
169
+ preHeaderText: string | null;
170
+ deliveredUsersCount: number | null;
171
+ targetFilters: {
172
+ id: number;
173
+ behaviorSegmentCodes: string[];
174
+ profileSegmentCodes: string[];
175
+ }[];
176
+ } & {
177
+ bodyKind: "freeFormat";
178
+ htmlBody: string | null;
179
+ htmlStyle: string | null;
180
+ images: {
181
+ id: number;
182
+ key: string;
183
+ }[];
184
+ }) | ({
185
+ utmCampaign: string | null;
186
+ subject: string | null;
187
+ preHeaderText: string | null;
188
+ deliveredUsersCount: number | null;
189
+ targetFilters: {
190
+ id: number;
191
+ behaviorSegmentCodes: string[];
192
+ profileSegmentCodes: string[];
193
+ }[];
194
+ } & {
195
+ bodyKind: "template";
196
+ projects: {
197
+ id: number;
198
+ readyforProjectId: number;
199
+ slotNumber: number;
200
+ isPaidSlot: boolean;
201
+ title: string | null;
202
+ description: string | null;
203
+ thumbnailUrl: string | null;
204
+ tag: string | null;
205
+ tagUrl: string | null;
206
+ }[];
207
+ banners: {
208
+ id: number;
209
+ slotNumber: number;
210
+ imageUrl: string | null;
211
+ url: string | null;
212
+ }[];
213
+ });
214
+ }) | ({
215
+ id: number;
216
+ status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
217
+ title: string | null;
218
+ deliveryScheduledAt: string | null;
219
+ } & {
220
+ kind: "personalizedMailMagazine";
221
+ personalizedMailMagazine: {
222
+ utmCampaign: string | null;
223
+ target: {
224
+ csvFileName: string;
225
+ targetUsersCount: number;
226
+ excludedUsersCount: number;
227
+ } | null;
228
+ };
229
+ });
230
+ }>;
231
+ export type CampaignsIdPatchPath = ForceDig<CampaignsIdPatchOperation, ["parameters", "path"]>;
232
+ export type CampaignsIdPatchRequestBody = ForceDig<CampaignsIdPatchOperation, ["requestBody", "content", "multipart/form-data"]>;
233
+ export declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormData, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
234
+ campaignDetail: ({
235
+ id: number;
236
+ status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
237
+ title: string | null;
238
+ deliveryScheduledAt: string | null;
239
+ } & {
240
+ kind: "curationMailMagazine";
241
+ curationMailMagazine: ({
242
+ utmCampaign: string | null;
243
+ subject: string | null;
244
+ preHeaderText: string | null;
245
+ deliveredUsersCount: number | null;
246
+ targetFilters: {
247
+ id: number;
248
+ behaviorSegmentCodes: string[];
249
+ profileSegmentCodes: string[];
250
+ }[];
251
+ } & {
252
+ bodyKind: "freeFormat";
253
+ htmlBody: string | null;
254
+ htmlStyle: string | null;
255
+ images: {
256
+ id: number;
257
+ key: string;
258
+ }[];
259
+ }) | ({
260
+ utmCampaign: string | null;
261
+ subject: string | null;
262
+ preHeaderText: string | null;
263
+ deliveredUsersCount: number | null;
264
+ targetFilters: {
265
+ id: number;
266
+ behaviorSegmentCodes: string[];
267
+ profileSegmentCodes: string[];
268
+ }[];
269
+ } & {
270
+ bodyKind: "template";
271
+ projects: {
272
+ id: number;
273
+ readyforProjectId: number;
274
+ slotNumber: number;
275
+ isPaidSlot: boolean;
276
+ title: string | null;
277
+ description: string | null;
278
+ thumbnailUrl: string | null;
279
+ tag: string | null;
280
+ tagUrl: string | null;
281
+ }[];
282
+ banners: {
283
+ id: number;
284
+ slotNumber: number;
285
+ imageUrl: string | null;
286
+ url: string | null;
287
+ }[];
288
+ });
289
+ }) | ({
290
+ id: number;
291
+ status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
292
+ title: string | null;
293
+ deliveryScheduledAt: string | null;
294
+ } & {
295
+ kind: "personalizedMailMagazine";
296
+ personalizedMailMagazine: {
297
+ utmCampaign: string | null;
298
+ target: {
299
+ csvFileName: string;
300
+ targetUsersCount: number;
301
+ excludedUsersCount: number;
302
+ } | null;
303
+ };
304
+ });
305
+ }>;
306
+ export {};
@@ -1,2 +1,11 @@
1
- import { a as deleteCampaignsIdDeliveryJob, i as buildCampaignsIdDeliveryJobPostFetcher, n as CampaignsIdDeliveryJobPostPath, o as postCampaignsIdDeliveryJob, r as buildCampaignsIdDeliveryJobDeleteFetcher, t as CampaignsIdDeliveryJobDeletePath } from "../campaignsIdDeliveryJob-Cf4-Ckao.js";
2
- export { CampaignsIdDeliveryJobDeletePath, CampaignsIdDeliveryJobPostPath, buildCampaignsIdDeliveryJobDeleteFetcher, buildCampaignsIdDeliveryJobPostFetcher, deleteCampaignsIdDeliveryJob, postCampaignsIdDeliveryJob };
1
+ import { paths } from "../schemaType.js";
2
+ import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
+ type CampaignsIdDeliveryJobPostOperation = paths["/api/campaigns/{id}/delivery_job"]["post"];
4
+ export declare const buildCampaignsIdDeliveryJobPostFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
5
+ export type CampaignsIdDeliveryJobPostPath = ForceDig<CampaignsIdDeliveryJobPostOperation, ["parameters", "path"]>;
6
+ export declare const postCampaignsIdDeliveryJob: (path: CampaignsIdDeliveryJobPostPath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
7
+ type CampaignsIdDeliveryJobDeleteOperation = paths["/api/campaigns/{id}/delivery_job"]["delete"];
8
+ export declare const buildCampaignsIdDeliveryJobDeleteFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
9
+ export type CampaignsIdDeliveryJobDeletePath = ForceDig<CampaignsIdDeliveryJobDeleteOperation, ["parameters", "path"]>;
10
+ export declare const deleteCampaignsIdDeliveryJob: (path: CampaignsIdDeliveryJobDeletePath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
11
+ export {};
@@ -1,2 +1,15 @@
1
- import { a as postCampaignsIdImages, i as buildCampaignsIdImagesPostFetcher, n as CampaignsIdImagesPostRequestBody, r as CampaignsIdImagesPostResponse, t as CampaignsIdImagesPostPath } from "../campaignsIdImages-BDuAnjF9.js";
2
- export { CampaignsIdImagesPostPath, CampaignsIdImagesPostRequestBody, CampaignsIdImagesPostResponse, buildCampaignsIdImagesPostFetcher, postCampaignsIdImages };
1
+ import { paths } from "../schemaType.js";
2
+ import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
+ type CampaignsIdImagesPostOperation = paths["/api/campaigns/{id}/images"]["post"];
4
+ export type CampaignsIdImagesPostResponse = CampaignsIdImagesPostOperation["responses"]["201"]["content"]["application/json"];
5
+ export declare const buildCampaignsIdImagesPostFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
+ id: number;
7
+ key: string;
8
+ }>;
9
+ export type CampaignsIdImagesPostPath = ForceDig<CampaignsIdImagesPostOperation, ["parameters", "path"]>;
10
+ export type CampaignsIdImagesPostRequestBody = ForceDig<CampaignsIdImagesPostOperation, ["requestBody", "content", "multipart/form-data"]>;
11
+ export declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
12
+ id: number;
13
+ key: string;
14
+ }>;
15
+ export {};
@@ -1,2 +1,12 @@
1
- import { i as getCampaignsIdPreview, n as CampaignsIdPreviewGetResponse, r as buildCampaignsIdPreviewGetFetcher, t as CampaignsIdPreviewGetPath } from "../campaignsIdPreview-ua-DbzxQ.js";
2
- export { CampaignsIdPreviewGetPath, CampaignsIdPreviewGetResponse, buildCampaignsIdPreviewGetFetcher, getCampaignsIdPreview };
1
+ import { paths } from "../schemaType.js";
2
+ import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
+ type CampaignsIdPreviewGetOperation = paths["/api/campaigns/{id}/preview"]["get"];
4
+ export type CampaignsIdPreviewGetResponse = CampaignsIdPreviewGetOperation["responses"]["200"]["content"]["application/json"];
5
+ export declare const buildCampaignsIdPreviewGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
+ content: string;
7
+ }>;
8
+ export type CampaignsIdPreviewGetPath = ForceDig<CampaignsIdPreviewGetOperation, ["parameters", "path"]>;
9
+ export declare const getCampaignsIdPreview: (path: CampaignsIdPreviewGetPath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
10
+ content: string;
11
+ }>;
12
+ export {};
@@ -1,2 +1,8 @@
1
- import { i as postCampaignsIdPreviewDeliveryEmail, n as CampaignsIdPreviewDeliveryEmailPostRequestBody, r as buildCampaignsIdPreviewDeliveryEmailPostFetcher, t as CampaignsIdPreviewDeliveryEmailPostPath } from "../campaignsIdPreviewDeliveryEmail-CGHtSsk7.js";
2
- export { CampaignsIdPreviewDeliveryEmailPostPath, CampaignsIdPreviewDeliveryEmailPostRequestBody, buildCampaignsIdPreviewDeliveryEmailPostFetcher, postCampaignsIdPreviewDeliveryEmail };
1
+ import { paths } from "../schemaType.js";
2
+ import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
+ type CampaignsIdPreviewDeliveryEmailPostOperation = paths["/api/campaigns/{id}/preview_delivery_email"]["post"];
4
+ export declare const buildCampaignsIdPreviewDeliveryEmailPostFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
5
+ export type CampaignsIdPreviewDeliveryEmailPostPath = ForceDig<CampaignsIdPreviewDeliveryEmailPostOperation, ["parameters", "path"]>;
6
+ export type CampaignsIdPreviewDeliveryEmailPostRequestBody = ForceDig<CampaignsIdPreviewDeliveryEmailPostOperation, ["requestBody", "content", "application/json"]>;
7
+ export declare const postCampaignsIdPreviewDeliveryEmail: (path: CampaignsIdPreviewDeliveryEmailPostPath, requestBody: CampaignsIdPreviewDeliveryEmailPostRequestBody, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
8
+ export {};
@@ -1,2 +1,19 @@
1
- import { a as getCampaignsIdUtmCampaignConflicts, i as buildCampaignsIdUtmCampaignConflictsGetFetcher, n as CampaignsIdUtmCampaignConflictsGetQuery, r as CampaignsIdUtmCampaignConflictsGetResponse, t as CampaignsIdUtmCampaignConflictsGetPath } from "../campaignsIdUtmCampaignConflicts-rRT4cpxW.js";
2
- export { CampaignsIdUtmCampaignConflictsGetPath, CampaignsIdUtmCampaignConflictsGetQuery, CampaignsIdUtmCampaignConflictsGetResponse, buildCampaignsIdUtmCampaignConflictsGetFetcher, getCampaignsIdUtmCampaignConflicts };
1
+ import { paths } from "../schemaType.js";
2
+ import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
+ type CampaignsIdUtmCampaignConflictsGetOperation = paths["/api/campaigns/{id}/utm_campaign_conflicts"]["get"];
4
+ export type CampaignsIdUtmCampaignConflictsGetResponse = CampaignsIdUtmCampaignConflictsGetOperation["responses"]["200"]["content"]["application/json"];
5
+ export declare const buildCampaignsIdUtmCampaignConflictsGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
+ campaigns: {
7
+ id: number;
8
+ title: string | null;
9
+ }[];
10
+ }>;
11
+ export type CampaignsIdUtmCampaignConflictsGetPath = ForceDig<CampaignsIdUtmCampaignConflictsGetOperation, ["parameters", "path"]>;
12
+ export type CampaignsIdUtmCampaignConflictsGetQuery = ForceDig<CampaignsIdUtmCampaignConflictsGetOperation, ["parameters", "query"]>;
13
+ export declare const getCampaignsIdUtmCampaignConflicts: (path: CampaignsIdUtmCampaignConflictsGetPath, query: CampaignsIdUtmCampaignConflictsGetQuery, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
14
+ campaigns: {
15
+ id: number;
16
+ title: string | null;
17
+ }[];
18
+ }>;
19
+ export {};
@@ -1,2 +1,22 @@
1
- import { i as getProjectsProjectIdOrKeyword, n as ProjectsProjectIdOrKeywordGetResponse, r as buildProjectsProjectIdOrKeywordGetFetcher, t as ProjectsProjectIdOrKeywordGetPath } from "../projectsProjectIdOrKeyword-D3G_Rtr7.js";
2
- export { ProjectsProjectIdOrKeywordGetPath, ProjectsProjectIdOrKeywordGetResponse, buildProjectsProjectIdOrKeywordGetFetcher, getProjectsProjectIdOrKeyword };
1
+ import { paths } from "../schemaType.js";
2
+ import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
+ type ProjectsProjectIdOrKeywordGetOperation = paths["/api/projects/{project_id_or_keyword}"]["get"];
4
+ export type ProjectsProjectIdOrKeywordGetResponse = ProjectsProjectIdOrKeywordGetOperation["responses"]["200"]["content"]["application/json"];
5
+ export declare const buildProjectsProjectIdOrKeywordGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
+ project: {
7
+ projectId: number;
8
+ keyword: string;
9
+ title: string;
10
+ abstract: string;
11
+ };
12
+ }>;
13
+ export type ProjectsProjectIdOrKeywordGetPath = ForceDig<ProjectsProjectIdOrKeywordGetOperation, ["parameters", "path"]>;
14
+ export declare const getProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
15
+ project: {
16
+ projectId: number;
17
+ keyword: string;
18
+ title: string;
19
+ abstract: string;
20
+ };
21
+ }>;
22
+ export {};
@@ -1,2 +1,23 @@
1
- import { n as buildSegmentsBehaviorSegmentsGetFetcher, r as getSegmentsBehaviorSegments, t as SegmentsBehaviorSegmentsGetResponse } from "../segmentsBehaviorSegments-iEXzaqD4.js";
2
- export { SegmentsBehaviorSegmentsGetResponse, buildSegmentsBehaviorSegmentsGetFetcher, getSegmentsBehaviorSegments };
1
+ import { paths } from "../schemaType.js";
2
+ import { FetcherOptions } from "@readyfor/api-client-base";
3
+ type SegmentsBehaviorSegmentsGetOperation = paths["/api/segments/behavior_segments"]["get"];
4
+ export type SegmentsBehaviorSegmentsGetResponse = SegmentsBehaviorSegmentsGetOperation["responses"]["200"]["content"]["application/json"];
5
+ export declare const buildSegmentsBehaviorSegmentsGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
+ behaviorSegments: {
7
+ code: string;
8
+ label: string;
9
+ isActive: boolean;
10
+ displayOrder: number | null;
11
+ description: string | null;
12
+ }[];
13
+ }>;
14
+ export declare const getSegmentsBehaviorSegments: (customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
15
+ behaviorSegments: {
16
+ code: string;
17
+ label: string;
18
+ isActive: boolean;
19
+ displayOrder: number | null;
20
+ description: string | null;
21
+ }[];
22
+ }>;
23
+ export {};
@@ -1,2 +1,23 @@
1
- import { n as buildSegmentsProfileSegmentsGetFetcher, r as getSegmentsProfileSegments, t as SegmentsProfileSegmentsGetResponse } from "../segmentsProfileSegments-Bk6DuDmH.js";
2
- export { SegmentsProfileSegmentsGetResponse, buildSegmentsProfileSegmentsGetFetcher, getSegmentsProfileSegments };
1
+ import { paths } from "../schemaType.js";
2
+ import { FetcherOptions } from "@readyfor/api-client-base";
3
+ type SegmentsProfileSegmentsGetOperation = paths["/api/segments/profile_segments"]["get"];
4
+ export type SegmentsProfileSegmentsGetResponse = SegmentsProfileSegmentsGetOperation["responses"]["200"]["content"]["application/json"];
5
+ export declare const buildSegmentsProfileSegmentsGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
+ profileSegments: {
7
+ code: string;
8
+ label: string;
9
+ isActive: boolean;
10
+ displayOrder: number | null;
11
+ description: string | null;
12
+ }[];
13
+ }>;
14
+ export declare const getSegmentsProfileSegments: (customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
15
+ profileSegments: {
16
+ code: string;
17
+ label: string;
18
+ isActive: boolean;
19
+ displayOrder: number | null;
20
+ description: string | null;
21
+ }[];
22
+ }>;
23
+ export {};
@@ -1,2 +1,12 @@
1
- import { i as getSegmentsTargetUsersCount, n as SegmentsTargetUsersCountGetResponse, r as buildSegmentsTargetUsersCountGetFetcher, t as SegmentsTargetUsersCountGetQuery } from "../segmentsTargetUsersCount-BA_I8aDM.js";
2
- export { SegmentsTargetUsersCountGetQuery, SegmentsTargetUsersCountGetResponse, buildSegmentsTargetUsersCountGetFetcher, getSegmentsTargetUsersCount };
1
+ import { paths } from "../schemaType.js";
2
+ import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
+ type SegmentsTargetUsersCountGetOperation = paths["/api/segments/target_users_count"]["get"];
4
+ export type SegmentsTargetUsersCountGetResponse = SegmentsTargetUsersCountGetOperation["responses"]["200"]["content"]["application/json"];
5
+ export declare const buildSegmentsTargetUsersCountGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
+ count: number;
7
+ }>;
8
+ export type SegmentsTargetUsersCountGetQuery = ForceDig<SegmentsTargetUsersCountGetOperation, ["parameters", "query"]>;
9
+ export declare const getSegmentsTargetUsersCount: (query: SegmentsTargetUsersCountGetQuery, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
10
+ count: number;
11
+ }>;
12
+ export {};
@@ -1,6 +1,6 @@
1
- import { n as components } from "../schemaType-DNnjW7qF.js";
2
- import { n as CampaignsGetResponse, t as CampaignsGetQuery } from "../campaigns-BPGFLNBk.js";
3
- import "../index-DAFLJA2Q.js";
1
+ import { components } from "../schemaType.js";
2
+ import { CampaignsGetQuery, CampaignsGetResponse } from "../fetch/campaigns.js";
3
+ import "../index.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
- import { n as components } from "../schemaType-DNnjW7qF.js";
2
- import { n as CampaignsIdGetPath, r as CampaignsIdGetResponse } from "../campaignsId-CJrCSwgn.js";
3
- import "../index-DAFLJA2Q.js";
1
+ import { components } from "../schemaType.js";
2
+ import { CampaignsIdGetPath, CampaignsIdGetResponse } from "../fetch/campaignsId.js";
3
+ import "../index.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
- import { n as CampaignsIdPreviewGetResponse, t as CampaignsIdPreviewGetPath } from "../campaignsIdPreview-ua-DbzxQ.js";
2
- import "../index-DAFLJA2Q.js";
1
+ import { CampaignsIdPreviewGetPath, CampaignsIdPreviewGetResponse } from "../fetch/campaignsIdPreview.js";
2
+ import "../index.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
- import { n as components } from "../schemaType-DNnjW7qF.js";
2
- import { n as CampaignsIdUtmCampaignConflictsGetQuery, r as CampaignsIdUtmCampaignConflictsGetResponse, t as CampaignsIdUtmCampaignConflictsGetPath } from "../campaignsIdUtmCampaignConflicts-rRT4cpxW.js";
3
- import "../index-DAFLJA2Q.js";
1
+ import { components } from "../schemaType.js";
2
+ import { CampaignsIdUtmCampaignConflictsGetPath, CampaignsIdUtmCampaignConflictsGetQuery, CampaignsIdUtmCampaignConflictsGetResponse } from "../fetch/campaignsIdUtmCampaignConflicts.js";
3
+ import "../index.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
- import { n as components } from "../schemaType-DNnjW7qF.js";
2
- import { n as ProjectsProjectIdOrKeywordGetResponse, t as ProjectsProjectIdOrKeywordGetPath } from "../projectsProjectIdOrKeyword-D3G_Rtr7.js";
3
- import "../index-DAFLJA2Q.js";
1
+ import { components } from "../schemaType.js";
2
+ import { ProjectsProjectIdOrKeywordGetPath, ProjectsProjectIdOrKeywordGetResponse } from "../fetch/projectsProjectIdOrKeyword.js";
3
+ import "../index.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
- import { n as components } from "../schemaType-DNnjW7qF.js";
2
- import { t as SegmentsBehaviorSegmentsGetResponse } from "../segmentsBehaviorSegments-iEXzaqD4.js";
3
- import "../index-DAFLJA2Q.js";
1
+ import { components } from "../schemaType.js";
2
+ import { SegmentsBehaviorSegmentsGetResponse } from "../fetch/segmentsBehaviorSegments.js";
3
+ import "../index.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";