@readyfor/api-client-pigeon 0.258.0-pr1021.8be398d → 0.258.0
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 +4987 -649
- package/dist/components.d.ts +4987 -649
- package/dist/fetch/campaigns.d.mts +66 -4
- package/dist/fetch/campaigns.d.ts +66 -4
- package/dist/fetch/campaignsId.d.mts +276 -4
- package/dist/fetch/campaignsId.d.ts +276 -4
- package/dist/fetch/campaignsIdImages.d.mts +8 -2
- package/dist/fetch/campaignsIdImages.d.ts +8 -2
- package/dist/fetch/campaignsIdPreview.d.mts +6 -2
- package/dist/fetch/campaignsIdPreview.d.ts +6 -2
- package/dist/fetch/projectsProjectIdOrKeyword.d.mts +16 -2
- package/dist/fetch/projectsProjectIdOrKeyword.d.ts +16 -2
- package/dist/fetch/segmentsBehaviorSegments.d.mts +18 -2
- package/dist/fetch/segmentsBehaviorSegments.d.ts +18 -2
- package/dist/fetch/segmentsProfileSegments.d.mts +18 -2
- package/dist/fetch/segmentsProfileSegments.d.ts +18 -2
- package/dist/fetch/segmentsTargetUsersCount.d.mts +6 -2
- package/dist/fetch/segmentsTargetUsersCount.d.ts +6 -2
- package/package.json +14 -13
|
@@ -3,12 +3,148 @@ 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<
|
|
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
|
+
}>;
|
|
7
75
|
type CampaignsIdGetPath = ForceDig<CampaignsIdGetOperation, [
|
|
8
76
|
"parameters",
|
|
9
77
|
"path"
|
|
10
78
|
]>;
|
|
11
|
-
declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: RequestInit) => Promise<
|
|
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
|
+
}>;
|
|
12
148
|
type CampaignsIdDeleteOperation = paths["/api/campaigns/{id}"]["delete"];
|
|
13
149
|
declare const buildCampaignsIdDeleteFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
14
150
|
type CampaignsIdDeletePath = ForceDig<CampaignsIdDeleteOperation, [
|
|
@@ -18,7 +154,75 @@ type CampaignsIdDeletePath = ForceDig<CampaignsIdDeleteOperation, [
|
|
|
18
154
|
declare const deleteCampaignsId: (path: CampaignsIdDeletePath, customRequestInit?: RequestInit) => Promise<void>;
|
|
19
155
|
type CampaignsIdPatchOperation = paths["/api/campaigns/{id}"]["patch"];
|
|
20
156
|
type CampaignsIdPatchResponse = CampaignsIdPatchOperation["responses"]["200"]["content"]["application/json"];
|
|
21
|
-
declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
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
|
+
}>;
|
|
22
226
|
type CampaignsIdPatchPath = ForceDig<CampaignsIdPatchOperation, [
|
|
23
227
|
"parameters",
|
|
24
228
|
"path"
|
|
@@ -28,6 +232,74 @@ type CampaignsIdPatchRequestBody = ForceDig<CampaignsIdPatchOperation, [
|
|
|
28
232
|
"content",
|
|
29
233
|
"multipart/form-data"
|
|
30
234
|
]>;
|
|
31
|
-
declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<
|
|
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
|
+
}>;
|
|
32
304
|
|
|
33
305
|
export { type CampaignsIdDeletePath, type CampaignsIdGetPath, type CampaignsIdGetResponse, type CampaignsIdPatchPath, type CampaignsIdPatchRequestBody, type CampaignsIdPatchResponse, buildCampaignsIdDeleteFetcher, buildCampaignsIdGetFetcher, buildCampaignsIdPatchFetcher, deleteCampaignsId, getCampaignsId, patchCampaignsId };
|
|
@@ -3,7 +3,10 @@ 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<
|
|
6
|
+
declare const buildCampaignsIdImagesPostFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
+
id: number;
|
|
8
|
+
key: string;
|
|
9
|
+
}>;
|
|
7
10
|
type CampaignsIdImagesPostPath = ForceDig<CampaignsIdImagesPostOperation, [
|
|
8
11
|
"parameters",
|
|
9
12
|
"path"
|
|
@@ -13,6 +16,9 @@ type CampaignsIdImagesPostRequestBody = ForceDig<CampaignsIdImagesPostOperation,
|
|
|
13
16
|
"content",
|
|
14
17
|
"multipart/form-data"
|
|
15
18
|
]>;
|
|
16
|
-
declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<
|
|
19
|
+
declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<{
|
|
20
|
+
id: number;
|
|
21
|
+
key: string;
|
|
22
|
+
}>;
|
|
17
23
|
|
|
18
24
|
export { type CampaignsIdImagesPostPath, type CampaignsIdImagesPostRequestBody, type CampaignsIdImagesPostResponse, buildCampaignsIdImagesPostFetcher, postCampaignsIdImages };
|
|
@@ -3,7 +3,10 @@ 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<
|
|
6
|
+
declare const buildCampaignsIdImagesPostFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
+
id: number;
|
|
8
|
+
key: string;
|
|
9
|
+
}>;
|
|
7
10
|
type CampaignsIdImagesPostPath = ForceDig<CampaignsIdImagesPostOperation, [
|
|
8
11
|
"parameters",
|
|
9
12
|
"path"
|
|
@@ -13,6 +16,9 @@ type CampaignsIdImagesPostRequestBody = ForceDig<CampaignsIdImagesPostOperation,
|
|
|
13
16
|
"content",
|
|
14
17
|
"multipart/form-data"
|
|
15
18
|
]>;
|
|
16
|
-
declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<
|
|
19
|
+
declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<{
|
|
20
|
+
id: number;
|
|
21
|
+
key: string;
|
|
22
|
+
}>;
|
|
17
23
|
|
|
18
24
|
export { type CampaignsIdImagesPostPath, type CampaignsIdImagesPostRequestBody, type CampaignsIdImagesPostResponse, buildCampaignsIdImagesPostFetcher, postCampaignsIdImages };
|
|
@@ -3,11 +3,15 @@ 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<
|
|
6
|
+
declare const buildCampaignsIdPreviewGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
+
content: string;
|
|
8
|
+
}>;
|
|
7
9
|
type CampaignsIdPreviewGetPath = ForceDig<CampaignsIdPreviewGetOperation, [
|
|
8
10
|
"parameters",
|
|
9
11
|
"path"
|
|
10
12
|
]>;
|
|
11
|
-
declare const getCampaignsIdPreview: (path: CampaignsIdPreviewGetPath, customRequestInit?: RequestInit) => Promise<
|
|
13
|
+
declare const getCampaignsIdPreview: (path: CampaignsIdPreviewGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
14
|
+
content: string;
|
|
15
|
+
}>;
|
|
12
16
|
|
|
13
17
|
export { type CampaignsIdPreviewGetPath, type CampaignsIdPreviewGetResponse, buildCampaignsIdPreviewGetFetcher, getCampaignsIdPreview };
|
|
@@ -3,11 +3,15 @@ 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<
|
|
6
|
+
declare const buildCampaignsIdPreviewGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
+
content: string;
|
|
8
|
+
}>;
|
|
7
9
|
type CampaignsIdPreviewGetPath = ForceDig<CampaignsIdPreviewGetOperation, [
|
|
8
10
|
"parameters",
|
|
9
11
|
"path"
|
|
10
12
|
]>;
|
|
11
|
-
declare const getCampaignsIdPreview: (path: CampaignsIdPreviewGetPath, customRequestInit?: RequestInit) => Promise<
|
|
13
|
+
declare const getCampaignsIdPreview: (path: CampaignsIdPreviewGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
14
|
+
content: string;
|
|
15
|
+
}>;
|
|
12
16
|
|
|
13
17
|
export { type CampaignsIdPreviewGetPath, type CampaignsIdPreviewGetResponse, buildCampaignsIdPreviewGetFetcher, getCampaignsIdPreview };
|
|
@@ -3,11 +3,25 @@ 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<
|
|
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
|
+
}>;
|
|
7
14
|
type ProjectsProjectIdOrKeywordGetPath = ForceDig<ProjectsProjectIdOrKeywordGetOperation, [
|
|
8
15
|
"parameters",
|
|
9
16
|
"path"
|
|
10
17
|
]>;
|
|
11
|
-
declare const getProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath, customRequestInit?: RequestInit) => Promise<
|
|
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
|
+
}>;
|
|
12
26
|
|
|
13
27
|
export { type ProjectsProjectIdOrKeywordGetPath, type ProjectsProjectIdOrKeywordGetResponse, buildProjectsProjectIdOrKeywordGetFetcher, getProjectsProjectIdOrKeyword };
|
|
@@ -3,11 +3,25 @@ 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<
|
|
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
|
+
}>;
|
|
7
14
|
type ProjectsProjectIdOrKeywordGetPath = ForceDig<ProjectsProjectIdOrKeywordGetOperation, [
|
|
8
15
|
"parameters",
|
|
9
16
|
"path"
|
|
10
17
|
]>;
|
|
11
|
-
declare const getProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath, customRequestInit?: RequestInit) => Promise<
|
|
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
|
+
}>;
|
|
12
26
|
|
|
13
27
|
export { type ProjectsProjectIdOrKeywordGetPath, type ProjectsProjectIdOrKeywordGetResponse, buildProjectsProjectIdOrKeywordGetFetcher, getProjectsProjectIdOrKeyword };
|
|
@@ -2,7 +2,23 @@ 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
|
-
|
|
5
|
+
declare const buildSegmentsBehaviorSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
behaviorSegments: {
|
|
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
|
+
}>;
|
|
7
23
|
|
|
8
24
|
export { type SegmentsBehaviorSegmentsGetResponse, buildSegmentsBehaviorSegmentsGetFetcher, getSegmentsBehaviorSegments };
|
|
@@ -2,7 +2,23 @@ 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
|
-
|
|
5
|
+
declare const buildSegmentsBehaviorSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
behaviorSegments: {
|
|
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
|
+
}>;
|
|
7
23
|
|
|
8
24
|
export { type SegmentsBehaviorSegmentsGetResponse, buildSegmentsBehaviorSegmentsGetFetcher, getSegmentsBehaviorSegments };
|
|
@@ -2,7 +2,23 @@ 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
|
-
|
|
5
|
+
declare const buildSegmentsProfileSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
profileSegments: {
|
|
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
|
+
}>;
|
|
7
23
|
|
|
8
24
|
export { type SegmentsProfileSegmentsGetResponse, buildSegmentsProfileSegmentsGetFetcher, getSegmentsProfileSegments };
|
|
@@ -2,7 +2,23 @@ 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
|
-
|
|
5
|
+
declare const buildSegmentsProfileSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
profileSegments: {
|
|
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
|
+
}>;
|
|
7
23
|
|
|
8
24
|
export { type SegmentsProfileSegmentsGetResponse, buildSegmentsProfileSegmentsGetFetcher, getSegmentsProfileSegments };
|
|
@@ -3,11 +3,15 @@ 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<
|
|
6
|
+
declare const buildSegmentsTargetUsersCountGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
+
count: number;
|
|
8
|
+
}>;
|
|
7
9
|
type SegmentsTargetUsersCountGetQuery = ForceDig<SegmentsTargetUsersCountGetOperation, [
|
|
8
10
|
"parameters",
|
|
9
11
|
"query"
|
|
10
12
|
]>;
|
|
11
|
-
declare const getSegmentsTargetUsersCount: (query: SegmentsTargetUsersCountGetQuery, customRequestInit?: RequestInit) => Promise<
|
|
13
|
+
declare const getSegmentsTargetUsersCount: (query: SegmentsTargetUsersCountGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
14
|
+
count: number;
|
|
15
|
+
}>;
|
|
12
16
|
|
|
13
17
|
export { type SegmentsTargetUsersCountGetQuery, type SegmentsTargetUsersCountGetResponse, buildSegmentsTargetUsersCountGetFetcher, getSegmentsTargetUsersCount };
|
|
@@ -3,11 +3,15 @@ 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<
|
|
6
|
+
declare const buildSegmentsTargetUsersCountGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
+
count: number;
|
|
8
|
+
}>;
|
|
7
9
|
type SegmentsTargetUsersCountGetQuery = ForceDig<SegmentsTargetUsersCountGetOperation, [
|
|
8
10
|
"parameters",
|
|
9
11
|
"query"
|
|
10
12
|
]>;
|
|
11
|
-
declare const getSegmentsTargetUsersCount: (query: SegmentsTargetUsersCountGetQuery, customRequestInit?: RequestInit) => Promise<
|
|
13
|
+
declare const getSegmentsTargetUsersCount: (query: SegmentsTargetUsersCountGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
14
|
+
count: number;
|
|
15
|
+
}>;
|
|
12
16
|
|
|
13
17
|
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.258.0
|
|
3
|
+
"version": "0.258.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -27,24 +27,27 @@
|
|
|
27
27
|
]
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsup"
|
|
32
|
+
},
|
|
30
33
|
"devDependencies": {
|
|
31
|
-
"@
|
|
34
|
+
"@readyfor/api-client-base": "0.258.0",
|
|
35
|
+
"@types/qs": "6.9.18",
|
|
32
36
|
"@types/react": "19.1.12",
|
|
33
37
|
"@types/use-sync-external-store": "1.5.0",
|
|
34
38
|
"qs": "^6.13.1",
|
|
35
|
-
"react": "
|
|
36
|
-
"swr": "
|
|
37
|
-
"use-sync-external-store": "
|
|
38
|
-
"zod": "^
|
|
39
|
-
"@readyfor/api-client-base": "0.258.0-pr1021.8be398d"
|
|
39
|
+
"react": "catalog:react19",
|
|
40
|
+
"swr": "catalog:",
|
|
41
|
+
"use-sync-external-store": "catalog:use-sync-external-store",
|
|
42
|
+
"zod": "^3.24.1"
|
|
40
43
|
},
|
|
41
44
|
"peerDependencies": {
|
|
45
|
+
"@readyfor/api-client-base": "*",
|
|
42
46
|
"qs": "^6",
|
|
43
47
|
"react": ">=18.x <=19.x",
|
|
44
48
|
"swr": "^2.3.3",
|
|
45
49
|
"use-sync-external-store": "^1.2.2",
|
|
46
|
-
"zod": "^3
|
|
47
|
-
"@readyfor/api-client-base": "0.258.0-pr1021.8be398d"
|
|
50
|
+
"zod": "^3"
|
|
48
51
|
},
|
|
49
52
|
"peerDependenciesMeta": {
|
|
50
53
|
"react": {
|
|
@@ -72,7 +75,5 @@
|
|
|
72
75
|
"!src/**/*.test.tsx"
|
|
73
76
|
]
|
|
74
77
|
},
|
|
75
|
-
"
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
}
|
|
78
|
+
"gitHead": "7402d8d771532ffcaba77ece21d59e62d84781fa"
|
|
79
|
+
}
|