@readyfor/api-client-pigeon 0.257.0 → 0.258.0-pr1021.8be398d
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/components.d.mts +649 -4987
- package/dist/components.d.ts +649 -4987
- package/dist/fetch/campaigns.d.mts +4 -66
- package/dist/fetch/campaigns.d.ts +4 -66
- package/dist/fetch/campaignsId.d.mts +4 -276
- package/dist/fetch/campaignsId.d.ts +4 -276
- package/dist/fetch/campaignsIdImages.d.mts +2 -8
- package/dist/fetch/campaignsIdImages.d.ts +2 -8
- package/dist/fetch/campaignsIdPreview.d.mts +2 -6
- package/dist/fetch/campaignsIdPreview.d.ts +2 -6
- package/dist/fetch/projectsProjectIdOrKeyword.d.mts +2 -16
- package/dist/fetch/projectsProjectIdOrKeyword.d.ts +2 -16
- package/dist/fetch/segmentsBehaviorSegments.d.mts +2 -18
- package/dist/fetch/segmentsBehaviorSegments.d.ts +2 -18
- package/dist/fetch/segmentsProfileSegments.d.mts +2 -18
- package/dist/fetch/segmentsProfileSegments.d.ts +2 -18
- package/dist/fetch/segmentsTargetUsersCount.d.mts +2 -6
- package/dist/fetch/segmentsTargetUsersCount.d.ts +2 -6
- package/package.json +13 -14
|
@@ -3,148 +3,12 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type CampaignsIdGetOperation = paths["/api/campaigns/{id}"]["get"];
|
|
5
5
|
type CampaignsIdGetResponse = CampaignsIdGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
7
|
-
campaignDetail: {
|
|
8
|
-
curationMailMagazine: {
|
|
9
|
-
utmCampaign: string | null;
|
|
10
|
-
subject: string | null;
|
|
11
|
-
preHeaderText: string | null;
|
|
12
|
-
targetFilters: {
|
|
13
|
-
id: number;
|
|
14
|
-
behaviorSegmentCodes: string[];
|
|
15
|
-
profileSegmentCodes: string[];
|
|
16
|
-
}[];
|
|
17
|
-
deliveredUsersCount: number | null;
|
|
18
|
-
bodyKind: "freeFormat";
|
|
19
|
-
htmlBody: string | null;
|
|
20
|
-
htmlStyle: string | null;
|
|
21
|
-
images: {
|
|
22
|
-
id: number;
|
|
23
|
-
key: string;
|
|
24
|
-
}[];
|
|
25
|
-
} | {
|
|
26
|
-
utmCampaign: string | null;
|
|
27
|
-
subject: string | null;
|
|
28
|
-
preHeaderText: string | null;
|
|
29
|
-
targetFilters: {
|
|
30
|
-
id: number;
|
|
31
|
-
behaviorSegmentCodes: string[];
|
|
32
|
-
profileSegmentCodes: string[];
|
|
33
|
-
}[];
|
|
34
|
-
deliveredUsersCount: number | null;
|
|
35
|
-
bodyKind: "template";
|
|
36
|
-
projects: {
|
|
37
|
-
id: number;
|
|
38
|
-
slotNumber: number;
|
|
39
|
-
readyforProjectId: number;
|
|
40
|
-
isPaidSlot: boolean;
|
|
41
|
-
title: string | null;
|
|
42
|
-
description: string | null;
|
|
43
|
-
tag: string | null;
|
|
44
|
-
tagUrl: string | null;
|
|
45
|
-
thumbnailUrl: string | null;
|
|
46
|
-
}[];
|
|
47
|
-
banners: {
|
|
48
|
-
id: number;
|
|
49
|
-
slotNumber: number;
|
|
50
|
-
url: string | null;
|
|
51
|
-
imageUrl: string | null;
|
|
52
|
-
}[];
|
|
53
|
-
};
|
|
54
|
-
kind: "curationMailMagazine";
|
|
55
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
56
|
-
id: number;
|
|
57
|
-
title: string | null;
|
|
58
|
-
deliveryScheduledAt: string | null;
|
|
59
|
-
} | {
|
|
60
|
-
personalizedMailMagazine: {
|
|
61
|
-
utmCampaign: string | null;
|
|
62
|
-
target: {
|
|
63
|
-
csvFileName: string;
|
|
64
|
-
targetUsersCount: number;
|
|
65
|
-
excludedUsersCount: number;
|
|
66
|
-
} | null;
|
|
67
|
-
};
|
|
68
|
-
kind: "personalizedMailMagazine";
|
|
69
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
70
|
-
id: number;
|
|
71
|
-
title: string | null;
|
|
72
|
-
deliveryScheduledAt: string | null;
|
|
73
|
-
};
|
|
74
|
-
}>;
|
|
6
|
+
declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<any>;
|
|
75
7
|
type CampaignsIdGetPath = ForceDig<CampaignsIdGetOperation, [
|
|
76
8
|
"parameters",
|
|
77
9
|
"path"
|
|
78
10
|
]>;
|
|
79
|
-
declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: RequestInit) => Promise<
|
|
80
|
-
campaignDetail: {
|
|
81
|
-
curationMailMagazine: {
|
|
82
|
-
utmCampaign: string | null;
|
|
83
|
-
subject: string | null;
|
|
84
|
-
preHeaderText: string | null;
|
|
85
|
-
targetFilters: {
|
|
86
|
-
id: number;
|
|
87
|
-
behaviorSegmentCodes: string[];
|
|
88
|
-
profileSegmentCodes: string[];
|
|
89
|
-
}[];
|
|
90
|
-
deliveredUsersCount: number | null;
|
|
91
|
-
bodyKind: "freeFormat";
|
|
92
|
-
htmlBody: string | null;
|
|
93
|
-
htmlStyle: string | null;
|
|
94
|
-
images: {
|
|
95
|
-
id: number;
|
|
96
|
-
key: string;
|
|
97
|
-
}[];
|
|
98
|
-
} | {
|
|
99
|
-
utmCampaign: string | null;
|
|
100
|
-
subject: string | null;
|
|
101
|
-
preHeaderText: string | null;
|
|
102
|
-
targetFilters: {
|
|
103
|
-
id: number;
|
|
104
|
-
behaviorSegmentCodes: string[];
|
|
105
|
-
profileSegmentCodes: string[];
|
|
106
|
-
}[];
|
|
107
|
-
deliveredUsersCount: number | null;
|
|
108
|
-
bodyKind: "template";
|
|
109
|
-
projects: {
|
|
110
|
-
id: number;
|
|
111
|
-
slotNumber: number;
|
|
112
|
-
readyforProjectId: number;
|
|
113
|
-
isPaidSlot: boolean;
|
|
114
|
-
title: string | null;
|
|
115
|
-
description: string | null;
|
|
116
|
-
tag: string | null;
|
|
117
|
-
tagUrl: string | null;
|
|
118
|
-
thumbnailUrl: string | null;
|
|
119
|
-
}[];
|
|
120
|
-
banners: {
|
|
121
|
-
id: number;
|
|
122
|
-
slotNumber: number;
|
|
123
|
-
url: string | null;
|
|
124
|
-
imageUrl: string | null;
|
|
125
|
-
}[];
|
|
126
|
-
};
|
|
127
|
-
kind: "curationMailMagazine";
|
|
128
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
129
|
-
id: number;
|
|
130
|
-
title: string | null;
|
|
131
|
-
deliveryScheduledAt: string | null;
|
|
132
|
-
} | {
|
|
133
|
-
personalizedMailMagazine: {
|
|
134
|
-
utmCampaign: string | null;
|
|
135
|
-
target: {
|
|
136
|
-
csvFileName: string;
|
|
137
|
-
targetUsersCount: number;
|
|
138
|
-
excludedUsersCount: number;
|
|
139
|
-
} | null;
|
|
140
|
-
};
|
|
141
|
-
kind: "personalizedMailMagazine";
|
|
142
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
143
|
-
id: number;
|
|
144
|
-
title: string | null;
|
|
145
|
-
deliveryScheduledAt: string | null;
|
|
146
|
-
};
|
|
147
|
-
}>;
|
|
11
|
+
declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: RequestInit) => Promise<any>;
|
|
148
12
|
type CampaignsIdDeleteOperation = paths["/api/campaigns/{id}"]["delete"];
|
|
149
13
|
declare const buildCampaignsIdDeleteFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
150
14
|
type CampaignsIdDeletePath = ForceDig<CampaignsIdDeleteOperation, [
|
|
@@ -154,75 +18,7 @@ type CampaignsIdDeletePath = ForceDig<CampaignsIdDeleteOperation, [
|
|
|
154
18
|
declare const deleteCampaignsId: (path: CampaignsIdDeletePath, customRequestInit?: RequestInit) => Promise<void>;
|
|
155
19
|
type CampaignsIdPatchOperation = paths["/api/campaigns/{id}"]["patch"];
|
|
156
20
|
type CampaignsIdPatchResponse = CampaignsIdPatchOperation["responses"]["200"]["content"]["application/json"];
|
|
157
|
-
declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
158
|
-
campaignDetail: {
|
|
159
|
-
curationMailMagazine: {
|
|
160
|
-
utmCampaign: string | null;
|
|
161
|
-
subject: string | null;
|
|
162
|
-
preHeaderText: string | null;
|
|
163
|
-
targetFilters: {
|
|
164
|
-
id: number;
|
|
165
|
-
behaviorSegmentCodes: string[];
|
|
166
|
-
profileSegmentCodes: string[];
|
|
167
|
-
}[];
|
|
168
|
-
deliveredUsersCount: number | null;
|
|
169
|
-
bodyKind: "freeFormat";
|
|
170
|
-
htmlBody: string | null;
|
|
171
|
-
htmlStyle: string | null;
|
|
172
|
-
images: {
|
|
173
|
-
id: number;
|
|
174
|
-
key: string;
|
|
175
|
-
}[];
|
|
176
|
-
} | {
|
|
177
|
-
utmCampaign: string | null;
|
|
178
|
-
subject: string | null;
|
|
179
|
-
preHeaderText: string | null;
|
|
180
|
-
targetFilters: {
|
|
181
|
-
id: number;
|
|
182
|
-
behaviorSegmentCodes: string[];
|
|
183
|
-
profileSegmentCodes: string[];
|
|
184
|
-
}[];
|
|
185
|
-
deliveredUsersCount: number | null;
|
|
186
|
-
bodyKind: "template";
|
|
187
|
-
projects: {
|
|
188
|
-
id: number;
|
|
189
|
-
slotNumber: number;
|
|
190
|
-
readyforProjectId: number;
|
|
191
|
-
isPaidSlot: boolean;
|
|
192
|
-
title: string | null;
|
|
193
|
-
description: string | null;
|
|
194
|
-
tag: string | null;
|
|
195
|
-
tagUrl: string | null;
|
|
196
|
-
thumbnailUrl: string | null;
|
|
197
|
-
}[];
|
|
198
|
-
banners: {
|
|
199
|
-
id: number;
|
|
200
|
-
slotNumber: number;
|
|
201
|
-
url: string | null;
|
|
202
|
-
imageUrl: string | null;
|
|
203
|
-
}[];
|
|
204
|
-
};
|
|
205
|
-
kind: "curationMailMagazine";
|
|
206
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
207
|
-
id: number;
|
|
208
|
-
title: string | null;
|
|
209
|
-
deliveryScheduledAt: string | null;
|
|
210
|
-
} | {
|
|
211
|
-
personalizedMailMagazine: {
|
|
212
|
-
utmCampaign: string | null;
|
|
213
|
-
target: {
|
|
214
|
-
csvFileName: string;
|
|
215
|
-
targetUsersCount: number;
|
|
216
|
-
excludedUsersCount: number;
|
|
217
|
-
} | null;
|
|
218
|
-
};
|
|
219
|
-
kind: "personalizedMailMagazine";
|
|
220
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
221
|
-
id: number;
|
|
222
|
-
title: string | null;
|
|
223
|
-
deliveryScheduledAt: string | null;
|
|
224
|
-
};
|
|
225
|
-
}>;
|
|
21
|
+
declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<any>;
|
|
226
22
|
type CampaignsIdPatchPath = ForceDig<CampaignsIdPatchOperation, [
|
|
227
23
|
"parameters",
|
|
228
24
|
"path"
|
|
@@ -232,74 +28,6 @@ type CampaignsIdPatchRequestBody = ForceDig<CampaignsIdPatchOperation, [
|
|
|
232
28
|
"content",
|
|
233
29
|
"multipart/form-data"
|
|
234
30
|
]>;
|
|
235
|
-
declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<
|
|
236
|
-
campaignDetail: {
|
|
237
|
-
curationMailMagazine: {
|
|
238
|
-
utmCampaign: string | null;
|
|
239
|
-
subject: string | null;
|
|
240
|
-
preHeaderText: string | null;
|
|
241
|
-
targetFilters: {
|
|
242
|
-
id: number;
|
|
243
|
-
behaviorSegmentCodes: string[];
|
|
244
|
-
profileSegmentCodes: string[];
|
|
245
|
-
}[];
|
|
246
|
-
deliveredUsersCount: number | null;
|
|
247
|
-
bodyKind: "freeFormat";
|
|
248
|
-
htmlBody: string | null;
|
|
249
|
-
htmlStyle: string | null;
|
|
250
|
-
images: {
|
|
251
|
-
id: number;
|
|
252
|
-
key: string;
|
|
253
|
-
}[];
|
|
254
|
-
} | {
|
|
255
|
-
utmCampaign: string | null;
|
|
256
|
-
subject: string | null;
|
|
257
|
-
preHeaderText: string | null;
|
|
258
|
-
targetFilters: {
|
|
259
|
-
id: number;
|
|
260
|
-
behaviorSegmentCodes: string[];
|
|
261
|
-
profileSegmentCodes: string[];
|
|
262
|
-
}[];
|
|
263
|
-
deliveredUsersCount: number | null;
|
|
264
|
-
bodyKind: "template";
|
|
265
|
-
projects: {
|
|
266
|
-
id: number;
|
|
267
|
-
slotNumber: number;
|
|
268
|
-
readyforProjectId: number;
|
|
269
|
-
isPaidSlot: boolean;
|
|
270
|
-
title: string | null;
|
|
271
|
-
description: string | null;
|
|
272
|
-
tag: string | null;
|
|
273
|
-
tagUrl: string | null;
|
|
274
|
-
thumbnailUrl: string | null;
|
|
275
|
-
}[];
|
|
276
|
-
banners: {
|
|
277
|
-
id: number;
|
|
278
|
-
slotNumber: number;
|
|
279
|
-
url: string | null;
|
|
280
|
-
imageUrl: string | null;
|
|
281
|
-
}[];
|
|
282
|
-
};
|
|
283
|
-
kind: "curationMailMagazine";
|
|
284
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
285
|
-
id: number;
|
|
286
|
-
title: string | null;
|
|
287
|
-
deliveryScheduledAt: string | null;
|
|
288
|
-
} | {
|
|
289
|
-
personalizedMailMagazine: {
|
|
290
|
-
utmCampaign: string | null;
|
|
291
|
-
target: {
|
|
292
|
-
csvFileName: string;
|
|
293
|
-
targetUsersCount: number;
|
|
294
|
-
excludedUsersCount: number;
|
|
295
|
-
} | null;
|
|
296
|
-
};
|
|
297
|
-
kind: "personalizedMailMagazine";
|
|
298
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
299
|
-
id: number;
|
|
300
|
-
title: string | null;
|
|
301
|
-
deliveryScheduledAt: string | null;
|
|
302
|
-
};
|
|
303
|
-
}>;
|
|
31
|
+
declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<any>;
|
|
304
32
|
|
|
305
33
|
export { type CampaignsIdDeletePath, type CampaignsIdGetPath, type CampaignsIdGetResponse, type CampaignsIdPatchPath, type CampaignsIdPatchRequestBody, type CampaignsIdPatchResponse, buildCampaignsIdDeleteFetcher, buildCampaignsIdGetFetcher, buildCampaignsIdPatchFetcher, deleteCampaignsId, getCampaignsId, patchCampaignsId };
|
|
@@ -3,10 +3,7 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type CampaignsIdImagesPostOperation = paths["/api/campaigns/{id}/images"]["post"];
|
|
5
5
|
type CampaignsIdImagesPostResponse = CampaignsIdImagesPostOperation["responses"]["201"]["content"]["application/json"];
|
|
6
|
-
declare const buildCampaignsIdImagesPostFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
7
|
-
id: number;
|
|
8
|
-
key: string;
|
|
9
|
-
}>;
|
|
6
|
+
declare const buildCampaignsIdImagesPostFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<any>;
|
|
10
7
|
type CampaignsIdImagesPostPath = ForceDig<CampaignsIdImagesPostOperation, [
|
|
11
8
|
"parameters",
|
|
12
9
|
"path"
|
|
@@ -16,9 +13,6 @@ type CampaignsIdImagesPostRequestBody = ForceDig<CampaignsIdImagesPostOperation,
|
|
|
16
13
|
"content",
|
|
17
14
|
"multipart/form-data"
|
|
18
15
|
]>;
|
|
19
|
-
declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<
|
|
20
|
-
id: number;
|
|
21
|
-
key: string;
|
|
22
|
-
}>;
|
|
16
|
+
declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<any>;
|
|
23
17
|
|
|
24
18
|
export { type CampaignsIdImagesPostPath, type CampaignsIdImagesPostRequestBody, type CampaignsIdImagesPostResponse, buildCampaignsIdImagesPostFetcher, postCampaignsIdImages };
|
|
@@ -3,10 +3,7 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type CampaignsIdImagesPostOperation = paths["/api/campaigns/{id}/images"]["post"];
|
|
5
5
|
type CampaignsIdImagesPostResponse = CampaignsIdImagesPostOperation["responses"]["201"]["content"]["application/json"];
|
|
6
|
-
declare const buildCampaignsIdImagesPostFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
7
|
-
id: number;
|
|
8
|
-
key: string;
|
|
9
|
-
}>;
|
|
6
|
+
declare const buildCampaignsIdImagesPostFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<any>;
|
|
10
7
|
type CampaignsIdImagesPostPath = ForceDig<CampaignsIdImagesPostOperation, [
|
|
11
8
|
"parameters",
|
|
12
9
|
"path"
|
|
@@ -16,9 +13,6 @@ type CampaignsIdImagesPostRequestBody = ForceDig<CampaignsIdImagesPostOperation,
|
|
|
16
13
|
"content",
|
|
17
14
|
"multipart/form-data"
|
|
18
15
|
]>;
|
|
19
|
-
declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<
|
|
20
|
-
id: number;
|
|
21
|
-
key: string;
|
|
22
|
-
}>;
|
|
16
|
+
declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<any>;
|
|
23
17
|
|
|
24
18
|
export { type CampaignsIdImagesPostPath, type CampaignsIdImagesPostRequestBody, type CampaignsIdImagesPostResponse, buildCampaignsIdImagesPostFetcher, postCampaignsIdImages };
|
|
@@ -3,15 +3,11 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type CampaignsIdPreviewGetOperation = paths["/api/campaigns/{id}/preview"]["get"];
|
|
5
5
|
type CampaignsIdPreviewGetResponse = CampaignsIdPreviewGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildCampaignsIdPreviewGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
7
|
-
content: string;
|
|
8
|
-
}>;
|
|
6
|
+
declare const buildCampaignsIdPreviewGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<any>;
|
|
9
7
|
type CampaignsIdPreviewGetPath = ForceDig<CampaignsIdPreviewGetOperation, [
|
|
10
8
|
"parameters",
|
|
11
9
|
"path"
|
|
12
10
|
]>;
|
|
13
|
-
declare const getCampaignsIdPreview: (path: CampaignsIdPreviewGetPath, customRequestInit?: RequestInit) => Promise<
|
|
14
|
-
content: string;
|
|
15
|
-
}>;
|
|
11
|
+
declare const getCampaignsIdPreview: (path: CampaignsIdPreviewGetPath, customRequestInit?: RequestInit) => Promise<any>;
|
|
16
12
|
|
|
17
13
|
export { type CampaignsIdPreviewGetPath, type CampaignsIdPreviewGetResponse, buildCampaignsIdPreviewGetFetcher, getCampaignsIdPreview };
|
|
@@ -3,15 +3,11 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type CampaignsIdPreviewGetOperation = paths["/api/campaigns/{id}/preview"]["get"];
|
|
5
5
|
type CampaignsIdPreviewGetResponse = CampaignsIdPreviewGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildCampaignsIdPreviewGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
7
|
-
content: string;
|
|
8
|
-
}>;
|
|
6
|
+
declare const buildCampaignsIdPreviewGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<any>;
|
|
9
7
|
type CampaignsIdPreviewGetPath = ForceDig<CampaignsIdPreviewGetOperation, [
|
|
10
8
|
"parameters",
|
|
11
9
|
"path"
|
|
12
10
|
]>;
|
|
13
|
-
declare const getCampaignsIdPreview: (path: CampaignsIdPreviewGetPath, customRequestInit?: RequestInit) => Promise<
|
|
14
|
-
content: string;
|
|
15
|
-
}>;
|
|
11
|
+
declare const getCampaignsIdPreview: (path: CampaignsIdPreviewGetPath, customRequestInit?: RequestInit) => Promise<any>;
|
|
16
12
|
|
|
17
13
|
export { type CampaignsIdPreviewGetPath, type CampaignsIdPreviewGetResponse, buildCampaignsIdPreviewGetFetcher, getCampaignsIdPreview };
|
|
@@ -3,25 +3,11 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type ProjectsProjectIdOrKeywordGetOperation = paths["/api/projects/{project_id_or_keyword}"]["get"];
|
|
5
5
|
type ProjectsProjectIdOrKeywordGetResponse = ProjectsProjectIdOrKeywordGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildProjectsProjectIdOrKeywordGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
7
|
-
project: {
|
|
8
|
-
title: string;
|
|
9
|
-
projectId: number;
|
|
10
|
-
keyword: string;
|
|
11
|
-
abstract: string;
|
|
12
|
-
};
|
|
13
|
-
}>;
|
|
6
|
+
declare const buildProjectsProjectIdOrKeywordGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<any>;
|
|
14
7
|
type ProjectsProjectIdOrKeywordGetPath = ForceDig<ProjectsProjectIdOrKeywordGetOperation, [
|
|
15
8
|
"parameters",
|
|
16
9
|
"path"
|
|
17
10
|
]>;
|
|
18
|
-
declare const getProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath, customRequestInit?: RequestInit) => Promise<
|
|
19
|
-
project: {
|
|
20
|
-
title: string;
|
|
21
|
-
projectId: number;
|
|
22
|
-
keyword: string;
|
|
23
|
-
abstract: string;
|
|
24
|
-
};
|
|
25
|
-
}>;
|
|
11
|
+
declare const getProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath, customRequestInit?: RequestInit) => Promise<any>;
|
|
26
12
|
|
|
27
13
|
export { type ProjectsProjectIdOrKeywordGetPath, type ProjectsProjectIdOrKeywordGetResponse, buildProjectsProjectIdOrKeywordGetFetcher, getProjectsProjectIdOrKeyword };
|
|
@@ -3,25 +3,11 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type ProjectsProjectIdOrKeywordGetOperation = paths["/api/projects/{project_id_or_keyword}"]["get"];
|
|
5
5
|
type ProjectsProjectIdOrKeywordGetResponse = ProjectsProjectIdOrKeywordGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildProjectsProjectIdOrKeywordGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
7
|
-
project: {
|
|
8
|
-
title: string;
|
|
9
|
-
projectId: number;
|
|
10
|
-
keyword: string;
|
|
11
|
-
abstract: string;
|
|
12
|
-
};
|
|
13
|
-
}>;
|
|
6
|
+
declare const buildProjectsProjectIdOrKeywordGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<any>;
|
|
14
7
|
type ProjectsProjectIdOrKeywordGetPath = ForceDig<ProjectsProjectIdOrKeywordGetOperation, [
|
|
15
8
|
"parameters",
|
|
16
9
|
"path"
|
|
17
10
|
]>;
|
|
18
|
-
declare const getProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath, customRequestInit?: RequestInit) => Promise<
|
|
19
|
-
project: {
|
|
20
|
-
title: string;
|
|
21
|
-
projectId: number;
|
|
22
|
-
keyword: string;
|
|
23
|
-
abstract: string;
|
|
24
|
-
};
|
|
25
|
-
}>;
|
|
11
|
+
declare const getProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath, customRequestInit?: RequestInit) => Promise<any>;
|
|
26
12
|
|
|
27
13
|
export { type ProjectsProjectIdOrKeywordGetPath, type ProjectsProjectIdOrKeywordGetResponse, buildProjectsProjectIdOrKeywordGetFetcher, getProjectsProjectIdOrKeyword };
|
|
@@ -2,23 +2,7 @@ import { paths } from '../schemaType.mjs';
|
|
|
2
2
|
|
|
3
3
|
type SegmentsBehaviorSegmentsGetOperation = paths["/api/segments/behavior_segments"]["get"];
|
|
4
4
|
type SegmentsBehaviorSegmentsGetResponse = SegmentsBehaviorSegmentsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
-
declare const buildSegmentsBehaviorSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
6
|
-
|
|
7
|
-
code: string;
|
|
8
|
-
description: string | null;
|
|
9
|
-
label: string;
|
|
10
|
-
isActive: boolean;
|
|
11
|
-
displayOrder: number | null;
|
|
12
|
-
}[];
|
|
13
|
-
}>;
|
|
14
|
-
declare const getSegmentsBehaviorSegments: (customRequestInit?: RequestInit) => Promise<{
|
|
15
|
-
behaviorSegments: {
|
|
16
|
-
code: string;
|
|
17
|
-
description: string | null;
|
|
18
|
-
label: string;
|
|
19
|
-
isActive: boolean;
|
|
20
|
-
displayOrder: number | null;
|
|
21
|
-
}[];
|
|
22
|
-
}>;
|
|
5
|
+
declare const buildSegmentsBehaviorSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<any>;
|
|
6
|
+
declare const getSegmentsBehaviorSegments: (customRequestInit?: RequestInit) => Promise<any>;
|
|
23
7
|
|
|
24
8
|
export { type SegmentsBehaviorSegmentsGetResponse, buildSegmentsBehaviorSegmentsGetFetcher, getSegmentsBehaviorSegments };
|
|
@@ -2,23 +2,7 @@ import { paths } from '../schemaType.js';
|
|
|
2
2
|
|
|
3
3
|
type SegmentsBehaviorSegmentsGetOperation = paths["/api/segments/behavior_segments"]["get"];
|
|
4
4
|
type SegmentsBehaviorSegmentsGetResponse = SegmentsBehaviorSegmentsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
-
declare const buildSegmentsBehaviorSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
6
|
-
|
|
7
|
-
code: string;
|
|
8
|
-
description: string | null;
|
|
9
|
-
label: string;
|
|
10
|
-
isActive: boolean;
|
|
11
|
-
displayOrder: number | null;
|
|
12
|
-
}[];
|
|
13
|
-
}>;
|
|
14
|
-
declare const getSegmentsBehaviorSegments: (customRequestInit?: RequestInit) => Promise<{
|
|
15
|
-
behaviorSegments: {
|
|
16
|
-
code: string;
|
|
17
|
-
description: string | null;
|
|
18
|
-
label: string;
|
|
19
|
-
isActive: boolean;
|
|
20
|
-
displayOrder: number | null;
|
|
21
|
-
}[];
|
|
22
|
-
}>;
|
|
5
|
+
declare const buildSegmentsBehaviorSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<any>;
|
|
6
|
+
declare const getSegmentsBehaviorSegments: (customRequestInit?: RequestInit) => Promise<any>;
|
|
23
7
|
|
|
24
8
|
export { type SegmentsBehaviorSegmentsGetResponse, buildSegmentsBehaviorSegmentsGetFetcher, getSegmentsBehaviorSegments };
|
|
@@ -2,23 +2,7 @@ import { paths } from '../schemaType.mjs';
|
|
|
2
2
|
|
|
3
3
|
type SegmentsProfileSegmentsGetOperation = paths["/api/segments/profile_segments"]["get"];
|
|
4
4
|
type SegmentsProfileSegmentsGetResponse = SegmentsProfileSegmentsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
-
declare const buildSegmentsProfileSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
6
|
-
|
|
7
|
-
code: string;
|
|
8
|
-
description: string | null;
|
|
9
|
-
label: string;
|
|
10
|
-
isActive: boolean;
|
|
11
|
-
displayOrder: number | null;
|
|
12
|
-
}[];
|
|
13
|
-
}>;
|
|
14
|
-
declare const getSegmentsProfileSegments: (customRequestInit?: RequestInit) => Promise<{
|
|
15
|
-
profileSegments: {
|
|
16
|
-
code: string;
|
|
17
|
-
description: string | null;
|
|
18
|
-
label: string;
|
|
19
|
-
isActive: boolean;
|
|
20
|
-
displayOrder: number | null;
|
|
21
|
-
}[];
|
|
22
|
-
}>;
|
|
5
|
+
declare const buildSegmentsProfileSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<any>;
|
|
6
|
+
declare const getSegmentsProfileSegments: (customRequestInit?: RequestInit) => Promise<any>;
|
|
23
7
|
|
|
24
8
|
export { type SegmentsProfileSegmentsGetResponse, buildSegmentsProfileSegmentsGetFetcher, getSegmentsProfileSegments };
|
|
@@ -2,23 +2,7 @@ import { paths } from '../schemaType.js';
|
|
|
2
2
|
|
|
3
3
|
type SegmentsProfileSegmentsGetOperation = paths["/api/segments/profile_segments"]["get"];
|
|
4
4
|
type SegmentsProfileSegmentsGetResponse = SegmentsProfileSegmentsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
-
declare const buildSegmentsProfileSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
6
|
-
|
|
7
|
-
code: string;
|
|
8
|
-
description: string | null;
|
|
9
|
-
label: string;
|
|
10
|
-
isActive: boolean;
|
|
11
|
-
displayOrder: number | null;
|
|
12
|
-
}[];
|
|
13
|
-
}>;
|
|
14
|
-
declare const getSegmentsProfileSegments: (customRequestInit?: RequestInit) => Promise<{
|
|
15
|
-
profileSegments: {
|
|
16
|
-
code: string;
|
|
17
|
-
description: string | null;
|
|
18
|
-
label: string;
|
|
19
|
-
isActive: boolean;
|
|
20
|
-
displayOrder: number | null;
|
|
21
|
-
}[];
|
|
22
|
-
}>;
|
|
5
|
+
declare const buildSegmentsProfileSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<any>;
|
|
6
|
+
declare const getSegmentsProfileSegments: (customRequestInit?: RequestInit) => Promise<any>;
|
|
23
7
|
|
|
24
8
|
export { type SegmentsProfileSegmentsGetResponse, buildSegmentsProfileSegmentsGetFetcher, getSegmentsProfileSegments };
|
|
@@ -3,15 +3,11 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type SegmentsTargetUsersCountGetOperation = paths["/api/segments/target_users_count"]["get"];
|
|
5
5
|
type SegmentsTargetUsersCountGetResponse = SegmentsTargetUsersCountGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildSegmentsTargetUsersCountGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
7
|
-
count: number;
|
|
8
|
-
}>;
|
|
6
|
+
declare const buildSegmentsTargetUsersCountGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<any>;
|
|
9
7
|
type SegmentsTargetUsersCountGetQuery = ForceDig<SegmentsTargetUsersCountGetOperation, [
|
|
10
8
|
"parameters",
|
|
11
9
|
"query"
|
|
12
10
|
]>;
|
|
13
|
-
declare const getSegmentsTargetUsersCount: (query: SegmentsTargetUsersCountGetQuery, customRequestInit?: RequestInit) => Promise<
|
|
14
|
-
count: number;
|
|
15
|
-
}>;
|
|
11
|
+
declare const getSegmentsTargetUsersCount: (query: SegmentsTargetUsersCountGetQuery, customRequestInit?: RequestInit) => Promise<any>;
|
|
16
12
|
|
|
17
13
|
export { type SegmentsTargetUsersCountGetQuery, type SegmentsTargetUsersCountGetResponse, buildSegmentsTargetUsersCountGetFetcher, getSegmentsTargetUsersCount };
|
|
@@ -3,15 +3,11 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type SegmentsTargetUsersCountGetOperation = paths["/api/segments/target_users_count"]["get"];
|
|
5
5
|
type SegmentsTargetUsersCountGetResponse = SegmentsTargetUsersCountGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildSegmentsTargetUsersCountGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
7
|
-
count: number;
|
|
8
|
-
}>;
|
|
6
|
+
declare const buildSegmentsTargetUsersCountGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<any>;
|
|
9
7
|
type SegmentsTargetUsersCountGetQuery = ForceDig<SegmentsTargetUsersCountGetOperation, [
|
|
10
8
|
"parameters",
|
|
11
9
|
"query"
|
|
12
10
|
]>;
|
|
13
|
-
declare const getSegmentsTargetUsersCount: (query: SegmentsTargetUsersCountGetQuery, customRequestInit?: RequestInit) => Promise<
|
|
14
|
-
count: number;
|
|
15
|
-
}>;
|
|
11
|
+
declare const getSegmentsTargetUsersCount: (query: SegmentsTargetUsersCountGetQuery, customRequestInit?: RequestInit) => Promise<any>;
|
|
16
12
|
|
|
17
13
|
export { type SegmentsTargetUsersCountGetQuery, type SegmentsTargetUsersCountGetResponse, buildSegmentsTargetUsersCountGetFetcher, getSegmentsTargetUsersCount };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@readyfor/api-client-pigeon",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.258.0-pr1021.8be398d",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -27,27 +27,24 @@
|
|
|
27
27
|
]
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
"scripts": {
|
|
31
|
-
"build": "tsup"
|
|
32
|
-
},
|
|
33
30
|
"devDependencies": {
|
|
34
|
-
"@
|
|
35
|
-
"@types/qs": "6.9.18",
|
|
31
|
+
"@types/qs": "6.14.0",
|
|
36
32
|
"@types/react": "19.1.12",
|
|
37
33
|
"@types/use-sync-external-store": "1.5.0",
|
|
38
34
|
"qs": "^6.13.1",
|
|
39
|
-
"react": "
|
|
40
|
-
"swr": "
|
|
41
|
-
"use-sync-external-store": "
|
|
42
|
-
"zod": "^
|
|
35
|
+
"react": "19.1.1",
|
|
36
|
+
"swr": "2.3.3",
|
|
37
|
+
"use-sync-external-store": "1.5.0",
|
|
38
|
+
"zod": "^4.0.0",
|
|
39
|
+
"@readyfor/api-client-base": "0.258.0-pr1021.8be398d"
|
|
43
40
|
},
|
|
44
41
|
"peerDependencies": {
|
|
45
|
-
"@readyfor/api-client-base": "*",
|
|
46
42
|
"qs": "^6",
|
|
47
43
|
"react": ">=18.x <=19.x",
|
|
48
44
|
"swr": "^2.3.3",
|
|
49
45
|
"use-sync-external-store": "^1.2.2",
|
|
50
|
-
"zod": "^3"
|
|
46
|
+
"zod": "^3 || ^4.0.0",
|
|
47
|
+
"@readyfor/api-client-base": "0.258.0-pr1021.8be398d"
|
|
51
48
|
},
|
|
52
49
|
"peerDependenciesMeta": {
|
|
53
50
|
"react": {
|
|
@@ -75,5 +72,7 @@
|
|
|
75
72
|
"!src/**/*.test.tsx"
|
|
76
73
|
]
|
|
77
74
|
},
|
|
78
|
-
"
|
|
79
|
-
|
|
75
|
+
"scripts": {
|
|
76
|
+
"build": "tsup"
|
|
77
|
+
}
|
|
78
|
+
}
|