@readyfor/api-client-pigeon 1.160.0 → 1.162.0-pr1409.3463941

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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@readyfor/api-client-pigeon",
3
- "version": "1.160.0",
3
+ "version": "1.162.0-pr1409.3463941",
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.5.1",
37
37
  "use-sync-external-store": "1.7.0",
38
38
  "zod": "^4.3.6",
39
- "@readyfor/api-client-base": "1.160.0"
39
+ "@readyfor/api-client-base": "1.162.0-pr1409.3463941"
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.160.0"
47
+ "@readyfor/api-client-base": "1.162.0-pr1409.3463941"
48
48
  },
49
49
  "peerDependenciesMeta": {
50
50
  "react": {
@@ -1,79 +0,0 @@
1
- import { a as paths } from "./schemaType-DNnjW7qF.js";
2
- import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
- type CampaignsGetOperation = paths["/api/campaigns"]["get"];
4
- type CampaignsGetResponse = CampaignsGetOperation["responses"]["200"]["content"]["application/json"];
5
- 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
- type CampaignsGetQuery = ForceDig<CampaignsGetOperation, ["parameters", "query"]>;
38
- 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
- type CampaignsPostResponse = CampaignsPostOperation["responses"]["201"]["content"]["application/json"];
72
- declare const buildCampaignsPostFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
73
- id: number;
74
- }>;
75
- type CampaignsPostRequestBody = ForceDig<CampaignsPostOperation, ["requestBody", "content", "application/json"]>;
76
- declare const postCampaigns: (requestBody: CampaignsPostRequestBody, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
77
- id: number;
78
- }>;
79
- export { buildCampaignsGetFetcher as a, postCampaigns as c, CampaignsPostResponse as i, CampaignsGetResponse as n, buildCampaignsPostFetcher as o, CampaignsPostRequestBody as r, getCampaigns as s, CampaignsGetQuery as t };
@@ -1,7 +0,0 @@
1
- import { a as paths } from "./schemaType-DNnjW7qF.js";
2
- import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
- type CampaignsCampaignIdImagesIdDeleteOperation = paths["/api/campaigns/{campaign_id}/images/{id}"]["delete"];
4
- declare const buildCampaignsCampaignIdImagesIdDeleteFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
5
- type CampaignsCampaignIdImagesIdDeletePath = ForceDig<CampaignsCampaignIdImagesIdDeleteOperation, ["parameters", "path"]>;
6
- declare const deleteCampaignsCampaignIdImagesId: (path: CampaignsCampaignIdImagesIdDeletePath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
7
- export { buildCampaignsCampaignIdImagesIdDeleteFetcher as n, deleteCampaignsCampaignIdImagesId as r, CampaignsCampaignIdImagesIdDeletePath as t };
@@ -1,306 +0,0 @@
1
- import { a as paths } from "./schemaType-DNnjW7qF.js";
2
- import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
- type CampaignsIdGetOperation = paths["/api/campaigns/{id}"]["get"];
4
- type CampaignsIdGetResponse = CampaignsIdGetOperation["responses"]["200"]["content"]["application/json"];
5
- 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
- type CampaignsIdGetPath = ForceDig<CampaignsIdGetOperation, ["parameters", "path"]>;
79
- 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
- declare const buildCampaignsIdDeleteFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
154
- type CampaignsIdDeletePath = ForceDig<CampaignsIdDeleteOperation, ["parameters", "path"]>;
155
- declare const deleteCampaignsId: (path: CampaignsIdDeletePath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
156
- type CampaignsIdPatchOperation = paths["/api/campaigns/{id}"]["patch"];
157
- type CampaignsIdPatchResponse = CampaignsIdPatchOperation["responses"]["200"]["content"]["application/json"];
158
- 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
- type CampaignsIdPatchPath = ForceDig<CampaignsIdPatchOperation, ["parameters", "path"]>;
232
- type CampaignsIdPatchRequestBody = ForceDig<CampaignsIdPatchOperation, ["requestBody", "content", "multipart/form-data"]>;
233
- 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 { CampaignsIdPatchRequestBody as a, buildCampaignsIdGetFetcher as c, getCampaignsId as d, patchCampaignsId as f, CampaignsIdPatchPath as i, buildCampaignsIdPatchFetcher as l, CampaignsIdGetPath as n, CampaignsIdPatchResponse as o, CampaignsIdGetResponse as r, buildCampaignsIdDeleteFetcher as s, CampaignsIdDeletePath as t, deleteCampaignsId as u };
@@ -1,11 +0,0 @@
1
- import { a as paths } from "./schemaType-DNnjW7qF.js";
2
- import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
- type CampaignsIdDeliveryJobPostOperation = paths["/api/campaigns/{id}/delivery_job"]["post"];
4
- declare const buildCampaignsIdDeliveryJobPostFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
5
- type CampaignsIdDeliveryJobPostPath = ForceDig<CampaignsIdDeliveryJobPostOperation, ["parameters", "path"]>;
6
- declare const postCampaignsIdDeliveryJob: (path: CampaignsIdDeliveryJobPostPath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
7
- type CampaignsIdDeliveryJobDeleteOperation = paths["/api/campaigns/{id}/delivery_job"]["delete"];
8
- declare const buildCampaignsIdDeliveryJobDeleteFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
9
- type CampaignsIdDeliveryJobDeletePath = ForceDig<CampaignsIdDeliveryJobDeleteOperation, ["parameters", "path"]>;
10
- declare const deleteCampaignsIdDeliveryJob: (path: CampaignsIdDeliveryJobDeletePath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
11
- export { deleteCampaignsIdDeliveryJob as a, buildCampaignsIdDeliveryJobPostFetcher as i, CampaignsIdDeliveryJobPostPath as n, postCampaignsIdDeliveryJob as o, buildCampaignsIdDeliveryJobDeleteFetcher as r, CampaignsIdDeliveryJobDeletePath as t };
@@ -1,15 +0,0 @@
1
- import { a as paths } from "./schemaType-DNnjW7qF.js";
2
- import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
- type CampaignsIdImagesPostOperation = paths["/api/campaigns/{id}/images"]["post"];
4
- type CampaignsIdImagesPostResponse = CampaignsIdImagesPostOperation["responses"]["201"]["content"]["application/json"];
5
- declare const buildCampaignsIdImagesPostFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
- id: number;
7
- key: string;
8
- }>;
9
- type CampaignsIdImagesPostPath = ForceDig<CampaignsIdImagesPostOperation, ["parameters", "path"]>;
10
- type CampaignsIdImagesPostRequestBody = ForceDig<CampaignsIdImagesPostOperation, ["requestBody", "content", "multipart/form-data"]>;
11
- declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
12
- id: number;
13
- key: string;
14
- }>;
15
- export { postCampaignsIdImages as a, buildCampaignsIdImagesPostFetcher as i, CampaignsIdImagesPostRequestBody as n, CampaignsIdImagesPostResponse as r, CampaignsIdImagesPostPath as t };
@@ -1,12 +0,0 @@
1
- import { a as paths } from "./schemaType-DNnjW7qF.js";
2
- import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
- type CampaignsIdPreviewGetOperation = paths["/api/campaigns/{id}/preview"]["get"];
4
- type CampaignsIdPreviewGetResponse = CampaignsIdPreviewGetOperation["responses"]["200"]["content"]["application/json"];
5
- declare const buildCampaignsIdPreviewGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
- content: string;
7
- }>;
8
- type CampaignsIdPreviewGetPath = ForceDig<CampaignsIdPreviewGetOperation, ["parameters", "path"]>;
9
- declare const getCampaignsIdPreview: (path: CampaignsIdPreviewGetPath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
10
- content: string;
11
- }>;
12
- export { getCampaignsIdPreview as i, CampaignsIdPreviewGetResponse as n, buildCampaignsIdPreviewGetFetcher as r, CampaignsIdPreviewGetPath as t };
@@ -1,8 +0,0 @@
1
- import { a as paths } from "./schemaType-DNnjW7qF.js";
2
- import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
- type CampaignsIdPreviewDeliveryEmailPostOperation = paths["/api/campaigns/{id}/preview_delivery_email"]["post"];
4
- declare const buildCampaignsIdPreviewDeliveryEmailPostFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
5
- type CampaignsIdPreviewDeliveryEmailPostPath = ForceDig<CampaignsIdPreviewDeliveryEmailPostOperation, ["parameters", "path"]>;
6
- type CampaignsIdPreviewDeliveryEmailPostRequestBody = ForceDig<CampaignsIdPreviewDeliveryEmailPostOperation, ["requestBody", "content", "application/json"]>;
7
- declare const postCampaignsIdPreviewDeliveryEmail: (path: CampaignsIdPreviewDeliveryEmailPostPath, requestBody: CampaignsIdPreviewDeliveryEmailPostRequestBody, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
8
- export { postCampaignsIdPreviewDeliveryEmail as i, CampaignsIdPreviewDeliveryEmailPostRequestBody as n, buildCampaignsIdPreviewDeliveryEmailPostFetcher as r, CampaignsIdPreviewDeliveryEmailPostPath as t };
@@ -1,19 +0,0 @@
1
- import { a as paths } from "./schemaType-DNnjW7qF.js";
2
- import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
3
- type CampaignsIdUtmCampaignConflictsGetOperation = paths["/api/campaigns/{id}/utm_campaign_conflicts"]["get"];
4
- type CampaignsIdUtmCampaignConflictsGetResponse = CampaignsIdUtmCampaignConflictsGetOperation["responses"]["200"]["content"]["application/json"];
5
- declare const buildCampaignsIdUtmCampaignConflictsGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
- campaigns: {
7
- id: number;
8
- title: string | null;
9
- }[];
10
- }>;
11
- type CampaignsIdUtmCampaignConflictsGetPath = ForceDig<CampaignsIdUtmCampaignConflictsGetOperation, ["parameters", "path"]>;
12
- type CampaignsIdUtmCampaignConflictsGetQuery = ForceDig<CampaignsIdUtmCampaignConflictsGetOperation, ["parameters", "query"]>;
13
- 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 { getCampaignsIdUtmCampaignConflicts as a, buildCampaignsIdUtmCampaignConflictsGetFetcher as i, CampaignsIdUtmCampaignConflictsGetQuery as n, CampaignsIdUtmCampaignConflictsGetResponse as r, CampaignsIdUtmCampaignConflictsGetPath as t };