@readyfor/api-client-pigeon 0.187.0 → 0.194.0-pr968.ce9cda6
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/{chunk-LXUPJN65.mjs → chunk-3JMR6H56.mjs} +1 -1
- package/dist/chunk-3LOTGXB3.mjs +42 -0
- package/dist/{chunk-SWDMGLLG.mjs → chunk-3RIOLUHJ.mjs} +1 -1
- package/dist/{chunk-OFV6CH56.mjs → chunk-7NAC2DXV.mjs} +1 -1
- package/dist/{chunk-324IXKQ7.mjs → chunk-A4DKTYOB.mjs} +31 -8
- package/dist/chunk-IVAIBCIB.mjs +19 -0
- package/dist/{chunk-ZWYL7OFL.mjs → chunk-NVFG46VV.mjs} +1 -1
- package/dist/chunk-RCXDEYQ3.mjs +42 -0
- package/dist/chunk-RYWCSZXA.mjs +19 -0
- package/dist/chunk-TY2VYPCN.mjs +52 -0
- package/dist/{chunk-JGIFSXIQ.mjs → chunk-URCAXVZJ.mjs} +1 -1
- package/dist/chunk-VW7MH5JZ.mjs +19 -0
- package/dist/{chunk-IWONQAFN.mjs → chunk-YOTWYVLS.mjs} +1 -1
- package/dist/components.d.mts +239 -129
- package/dist/components.d.ts +239 -129
- package/dist/components.js +38 -10
- package/dist/components.mjs +15 -5
- package/dist/fetch/campaigns.js +24 -6
- package/dist/fetch/campaigns.mjs +2 -2
- package/dist/fetch/campaignsId.d.mts +12 -12
- package/dist/fetch/campaignsId.d.ts +12 -12
- package/dist/fetch/campaignsId.js +24 -6
- package/dist/fetch/campaignsId.mjs +2 -2
- package/dist/fetch/projectsProjectIdOrKeyword.js +24 -6
- package/dist/fetch/projectsProjectIdOrKeyword.mjs +2 -2
- package/dist/fetch/segmentsBehaviorSegments.d.mts +24 -0
- package/dist/fetch/segmentsBehaviorSegments.d.ts +24 -0
- package/dist/fetch/segmentsBehaviorSegments.js +251 -0
- package/dist/fetch/segmentsBehaviorSegments.mjs +9 -0
- package/dist/fetch/segmentsProfileSegments.d.mts +24 -0
- package/dist/fetch/segmentsProfileSegments.d.ts +24 -0
- package/dist/fetch/segmentsProfileSegments.js +251 -0
- package/dist/fetch/segmentsProfileSegments.mjs +9 -0
- package/dist/fetch/segmentsTargetUsersCount.d.mts +17 -0
- package/dist/fetch/segmentsTargetUsersCount.d.ts +17 -0
- package/dist/fetch/segmentsTargetUsersCount.js +251 -0
- package/dist/fetch/segmentsTargetUsersCount.mjs +9 -0
- package/dist/hooks/index.d.mts +6 -0
- package/dist/hooks/index.d.ts +6 -0
- package/dist/hooks/index.js +177 -20
- package/dist/hooks/index.mjs +36 -9
- package/dist/hooks/useCampaigns.js +37 -10
- package/dist/hooks/useCampaigns.mjs +9 -6
- package/dist/hooks/useCampaignsId.js +37 -10
- package/dist/hooks/useCampaignsId.mjs +9 -6
- package/dist/hooks/useProjectsProjectIdOrKeyword.js +37 -10
- package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +9 -6
- package/dist/hooks/useSegmentsBehaviorSegments.d.mts +37 -0
- package/dist/hooks/useSegmentsBehaviorSegments.d.ts +37 -0
- package/dist/hooks/useSegmentsBehaviorSegments.js +310 -0
- package/dist/hooks/useSegmentsBehaviorSegments.mjs +19 -0
- package/dist/hooks/useSegmentsProfileSegments.d.mts +37 -0
- package/dist/hooks/useSegmentsProfileSegments.d.ts +37 -0
- package/dist/hooks/useSegmentsProfileSegments.js +310 -0
- package/dist/hooks/useSegmentsProfileSegments.mjs +19 -0
- package/dist/hooks/useSegmentsTargetUsersCount.d.mts +38 -0
- package/dist/hooks/useSegmentsTargetUsersCount.d.ts +38 -0
- package/dist/hooks/useSegmentsTargetUsersCount.js +320 -0
- package/dist/hooks/useSegmentsTargetUsersCount.mjs +19 -0
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +74 -10
- package/dist/index.mjs +37 -9
- package/dist/schemaType.d.mts +139 -8
- package/dist/schemaType.d.ts +139 -8
- package/package.json +9 -10
- /package/dist/{chunk-M47LJF5A.mjs → chunk-CEHYORRT.mjs} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-CEHYORRT.mjs";
|
|
2
|
+
import {
|
|
3
|
+
buildSegmentsProfileSegmentsGetFetcher,
|
|
4
|
+
getSegmentsProfileSegments
|
|
5
|
+
} from "./chunk-RYWCSZXA.mjs";
|
|
6
|
+
import {
|
|
7
|
+
buildSegmentsTargetUsersCountGetFetcher,
|
|
8
|
+
getSegmentsTargetUsersCount
|
|
9
|
+
} from "./chunk-VW7MH5JZ.mjs";
|
|
2
10
|
import {
|
|
3
11
|
buildCampaignsGetFetcher,
|
|
4
12
|
buildCampaignsPostFetcher,
|
|
5
13
|
getCampaigns,
|
|
6
14
|
postCampaigns
|
|
7
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YOTWYVLS.mjs";
|
|
8
16
|
import {
|
|
9
17
|
buildCampaignsIdDeleteFetcher,
|
|
10
18
|
buildCampaignsIdGetFetcher,
|
|
@@ -12,7 +20,7 @@ import {
|
|
|
12
20
|
deleteCampaignsId,
|
|
13
21
|
getCampaignsId,
|
|
14
22
|
patchCampaignsId
|
|
15
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7NAC2DXV.mjs";
|
|
16
24
|
import {
|
|
17
25
|
buildCampaignsIdDeliveryJobDeleteFetcher,
|
|
18
26
|
buildCampaignsIdDeliveryJobPostFetcher,
|
|
@@ -22,7 +30,11 @@ import {
|
|
|
22
30
|
import {
|
|
23
31
|
buildProjectsProjectIdOrKeywordGetFetcher,
|
|
24
32
|
getProjectsProjectIdOrKeyword
|
|
25
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-3RIOLUHJ.mjs";
|
|
34
|
+
import {
|
|
35
|
+
buildSegmentsBehaviorSegmentsGetFetcher,
|
|
36
|
+
getSegmentsBehaviorSegments
|
|
37
|
+
} from "./chunk-IVAIBCIB.mjs";
|
|
26
38
|
import {
|
|
27
39
|
Campaign,
|
|
28
40
|
CampaignBaseFormData,
|
|
@@ -45,12 +57,15 @@ import {
|
|
|
45
57
|
CurationMailMagazineDetail,
|
|
46
58
|
CurationMailMagazineFormData,
|
|
47
59
|
CurationMailMagazineProjectFormData,
|
|
48
|
-
|
|
49
|
-
|
|
60
|
+
CurationMailMagazineTargetFilter,
|
|
61
|
+
CurationMailMagazineTargetFilterFormData,
|
|
50
62
|
CurationMailMagazineTargetProject,
|
|
51
63
|
DeleteImageFormData,
|
|
64
|
+
GetBehaviorSegmentsResponse,
|
|
52
65
|
GetCampaignsResponse,
|
|
66
|
+
GetProfileSegmentsResponse,
|
|
53
67
|
GetProjectsProjectIdOrKeywordResponse,
|
|
68
|
+
GetTargetUsersCountResponse,
|
|
54
69
|
HttpErrorBadRequest,
|
|
55
70
|
ImageFormData,
|
|
56
71
|
Pagination,
|
|
@@ -65,8 +80,10 @@ import {
|
|
|
65
80
|
PostCampaignsRequestBody,
|
|
66
81
|
PostCampaignsResponse,
|
|
67
82
|
ReadyforProject,
|
|
83
|
+
Segment,
|
|
84
|
+
TargetFilterSegments,
|
|
68
85
|
UploadImageFormData
|
|
69
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-A4DKTYOB.mjs";
|
|
70
87
|
export {
|
|
71
88
|
Campaign,
|
|
72
89
|
CampaignBaseFormData,
|
|
@@ -89,12 +106,15 @@ export {
|
|
|
89
106
|
CurationMailMagazineDetail,
|
|
90
107
|
CurationMailMagazineFormData,
|
|
91
108
|
CurationMailMagazineProjectFormData,
|
|
92
|
-
|
|
93
|
-
|
|
109
|
+
CurationMailMagazineTargetFilter,
|
|
110
|
+
CurationMailMagazineTargetFilterFormData,
|
|
94
111
|
CurationMailMagazineTargetProject,
|
|
95
112
|
DeleteImageFormData,
|
|
113
|
+
GetBehaviorSegmentsResponse,
|
|
96
114
|
GetCampaignsResponse,
|
|
115
|
+
GetProfileSegmentsResponse,
|
|
97
116
|
GetProjectsProjectIdOrKeywordResponse,
|
|
117
|
+
GetTargetUsersCountResponse,
|
|
98
118
|
HttpErrorBadRequest,
|
|
99
119
|
ImageFormData,
|
|
100
120
|
Pagination,
|
|
@@ -109,6 +129,8 @@ export {
|
|
|
109
129
|
PostCampaignsRequestBody,
|
|
110
130
|
PostCampaignsResponse,
|
|
111
131
|
ReadyforProject,
|
|
132
|
+
Segment,
|
|
133
|
+
TargetFilterSegments,
|
|
112
134
|
UploadImageFormData,
|
|
113
135
|
buildCampaignsGetFetcher,
|
|
114
136
|
buildCampaignsIdDeleteFetcher,
|
|
@@ -118,11 +140,17 @@ export {
|
|
|
118
140
|
buildCampaignsIdPatchFetcher,
|
|
119
141
|
buildCampaignsPostFetcher,
|
|
120
142
|
buildProjectsProjectIdOrKeywordGetFetcher,
|
|
143
|
+
buildSegmentsBehaviorSegmentsGetFetcher,
|
|
144
|
+
buildSegmentsProfileSegmentsGetFetcher,
|
|
145
|
+
buildSegmentsTargetUsersCountGetFetcher,
|
|
121
146
|
deleteCampaignsId,
|
|
122
147
|
deleteCampaignsIdDeliveryJob,
|
|
123
148
|
getCampaigns,
|
|
124
149
|
getCampaignsId,
|
|
125
150
|
getProjectsProjectIdOrKeyword,
|
|
151
|
+
getSegmentsBehaviorSegments,
|
|
152
|
+
getSegmentsProfileSegments,
|
|
153
|
+
getSegmentsTargetUsersCount,
|
|
126
154
|
patchCampaignsId,
|
|
127
155
|
postCampaigns,
|
|
128
156
|
postCampaignsIdDeliveryJob
|
package/dist/schemaType.d.mts
CHANGED
|
@@ -27,6 +27,18 @@ interface paths {
|
|
|
27
27
|
/** プロジェクト情報を取得する */
|
|
28
28
|
get: operations["GetProjectsProjectIdOrKeyword"];
|
|
29
29
|
};
|
|
30
|
+
"/api/segments/behavior_segments": {
|
|
31
|
+
/** 配信先の行動セグメントの一覧を返す */
|
|
32
|
+
get: operations["GetBehaviorSegments"];
|
|
33
|
+
};
|
|
34
|
+
"/api/segments/profile_segments": {
|
|
35
|
+
/** 配信先の属性セグメントの一覧を返す */
|
|
36
|
+
get: operations["GetProfileSegments"];
|
|
37
|
+
};
|
|
38
|
+
"/api/segments/target_users_count": {
|
|
39
|
+
/** 配信先設定時の配信対象人数を取得する */
|
|
40
|
+
get: operations["GetTargetUsersCount"];
|
|
41
|
+
};
|
|
30
42
|
}
|
|
31
43
|
type webhooks = Record<string, never>;
|
|
32
44
|
interface components {
|
|
@@ -170,6 +182,69 @@ interface components {
|
|
|
170
182
|
GetProjectsProjectIdOrKeywordResponse: {
|
|
171
183
|
project: components["schemas"]["ReadyforProject"];
|
|
172
184
|
};
|
|
185
|
+
/**
|
|
186
|
+
* @example {
|
|
187
|
+
* "behaviorSegments": [
|
|
188
|
+
* {
|
|
189
|
+
* "code": "code",
|
|
190
|
+
* "displayOrder": 0,
|
|
191
|
+
* "description": "description",
|
|
192
|
+
* "label": "label",
|
|
193
|
+
* "isActive": true
|
|
194
|
+
* },
|
|
195
|
+
* {
|
|
196
|
+
* "code": "code",
|
|
197
|
+
* "displayOrder": 0,
|
|
198
|
+
* "description": "description",
|
|
199
|
+
* "label": "label",
|
|
200
|
+
* "isActive": true
|
|
201
|
+
* }
|
|
202
|
+
* ]
|
|
203
|
+
* }
|
|
204
|
+
*/
|
|
205
|
+
GetBehaviorSegmentsResponse: {
|
|
206
|
+
behaviorSegments: components["schemas"]["Segment"][];
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* @example {
|
|
210
|
+
* "profileSegments": [
|
|
211
|
+
* {
|
|
212
|
+
* "code": "code",
|
|
213
|
+
* "displayOrder": 0,
|
|
214
|
+
* "description": "description",
|
|
215
|
+
* "label": "label",
|
|
216
|
+
* "isActive": true
|
|
217
|
+
* },
|
|
218
|
+
* {
|
|
219
|
+
* "code": "code",
|
|
220
|
+
* "displayOrder": 0,
|
|
221
|
+
* "description": "description",
|
|
222
|
+
* "label": "label",
|
|
223
|
+
* "isActive": true
|
|
224
|
+
* }
|
|
225
|
+
* ]
|
|
226
|
+
* }
|
|
227
|
+
*/
|
|
228
|
+
GetProfileSegmentsResponse: {
|
|
229
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* GetTargetUsersCountResponse
|
|
233
|
+
* @example {
|
|
234
|
+
* "count": 0
|
|
235
|
+
* }
|
|
236
|
+
*/
|
|
237
|
+
GetTargetUsersCountResponse: {
|
|
238
|
+
/** @description 配信対象人数 */
|
|
239
|
+
count: number;
|
|
240
|
+
};
|
|
241
|
+
/** TargetFilterSegments */
|
|
242
|
+
TargetFilterSegments: {
|
|
243
|
+
/** @description 行動セグメントコードの配列 */
|
|
244
|
+
behaviorSegmentCodes: string[];
|
|
245
|
+
/** @description 属性セグメントコードの配列 */
|
|
246
|
+
profileSegmentCodes: string[];
|
|
247
|
+
};
|
|
173
248
|
/**
|
|
174
249
|
* Pagination
|
|
175
250
|
* @description ページネーション
|
|
@@ -236,6 +311,23 @@ interface components {
|
|
|
236
311
|
title: string;
|
|
237
312
|
abstract: string;
|
|
238
313
|
};
|
|
314
|
+
/**
|
|
315
|
+
* Segment
|
|
316
|
+
* @example {
|
|
317
|
+
* "code": "code",
|
|
318
|
+
* "displayOrder": 0,
|
|
319
|
+
* "description": "description",
|
|
320
|
+
* "label": "label",
|
|
321
|
+
* "isActive": true
|
|
322
|
+
* }
|
|
323
|
+
*/
|
|
324
|
+
Segment: {
|
|
325
|
+
code: string;
|
|
326
|
+
label: string;
|
|
327
|
+
isActive: boolean;
|
|
328
|
+
displayOrder: number | null;
|
|
329
|
+
description: string | null;
|
|
330
|
+
};
|
|
239
331
|
/** CampaignDetailBase */
|
|
240
332
|
CampaignDetailBase: {
|
|
241
333
|
id: number;
|
|
@@ -277,7 +369,7 @@ interface components {
|
|
|
277
369
|
mailSubject: string | null;
|
|
278
370
|
preHeaderText: string | null;
|
|
279
371
|
deliveredUsersCount: number | null;
|
|
280
|
-
|
|
372
|
+
target_filters: components["schemas"]["CurationMailMagazineTargetFilter"][];
|
|
281
373
|
projects: components["schemas"]["CurationMailMagazineTargetProject"][];
|
|
282
374
|
banners: components["schemas"]["CurationMailMagazineBanner"][];
|
|
283
375
|
};
|
|
@@ -305,11 +397,11 @@ interface components {
|
|
|
305
397
|
targetUsersCount: number;
|
|
306
398
|
excludedUsersCount: number;
|
|
307
399
|
};
|
|
308
|
-
/**
|
|
309
|
-
|
|
400
|
+
/** CurationMailMagazineTargetFilter */
|
|
401
|
+
CurationMailMagazineTargetFilter: {
|
|
310
402
|
id: number;
|
|
311
|
-
|
|
312
|
-
|
|
403
|
+
behaviorSegmentCodes: string[];
|
|
404
|
+
profileSegmentCodes: string[];
|
|
313
405
|
};
|
|
314
406
|
/** CurationMailMagazineTargetProject */
|
|
315
407
|
CurationMailMagazineTargetProject: {
|
|
@@ -340,14 +432,14 @@ interface components {
|
|
|
340
432
|
utmCampaign: string | null;
|
|
341
433
|
mailSubject: string | null;
|
|
342
434
|
preHeaderText: string | null;
|
|
343
|
-
|
|
435
|
+
target_filters: components["schemas"]["CurationMailMagazineTargetFilterFormData"][];
|
|
344
436
|
projects: components["schemas"]["CurationMailMagazineProjectFormData"][];
|
|
345
437
|
banners: components["schemas"]["CurationMailMagazineBannerFormData"][];
|
|
346
438
|
};
|
|
347
439
|
/** PersonalizedMailMagazineTargetCsvFormData */
|
|
348
440
|
PersonalizedMailMagazineTargetCsvFormData: components["schemas"]["PersonalizedMailMagazineTargetDeleteCsvFormData"] | components["schemas"]["PersonalizedMailMagazineTargetUploadCsvFormData"];
|
|
349
|
-
/**
|
|
350
|
-
|
|
441
|
+
/** CurationMailMagazineTargetFilterFormData */
|
|
442
|
+
CurationMailMagazineTargetFilterFormData: {
|
|
351
443
|
id: string | null;
|
|
352
444
|
behaviorSgumentCodes: string[];
|
|
353
445
|
profileSgumentCodes: string[];
|
|
@@ -572,6 +664,45 @@ interface operations {
|
|
|
572
664
|
};
|
|
573
665
|
};
|
|
574
666
|
};
|
|
667
|
+
/** 配信先の行動セグメントの一覧を返す */
|
|
668
|
+
GetBehaviorSegments: {
|
|
669
|
+
responses: {
|
|
670
|
+
/** @description OK */
|
|
671
|
+
200: {
|
|
672
|
+
content: {
|
|
673
|
+
"application/json": components["schemas"]["GetBehaviorSegmentsResponse"];
|
|
674
|
+
};
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
/** 配信先の属性セグメントの一覧を返す */
|
|
679
|
+
GetProfileSegments: {
|
|
680
|
+
responses: {
|
|
681
|
+
/** @description OK */
|
|
682
|
+
200: {
|
|
683
|
+
content: {
|
|
684
|
+
"application/json": components["schemas"]["GetProfileSegmentsResponse"];
|
|
685
|
+
};
|
|
686
|
+
};
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
/** 配信先設定時の配信対象人数を取得する */
|
|
690
|
+
GetTargetUsersCount: {
|
|
691
|
+
parameters: {
|
|
692
|
+
query?: {
|
|
693
|
+
/** @description 配信対象セグメントの配列 */
|
|
694
|
+
target_filters?: components["schemas"]["TargetFilterSegments"][];
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
responses: {
|
|
698
|
+
/** @description OK */
|
|
699
|
+
200: {
|
|
700
|
+
content: {
|
|
701
|
+
"application/json": components["schemas"]["GetTargetUsersCountResponse"];
|
|
702
|
+
};
|
|
703
|
+
};
|
|
704
|
+
};
|
|
705
|
+
};
|
|
575
706
|
}
|
|
576
707
|
|
|
577
708
|
export type { $defs, components, external, operations, paths, webhooks };
|
package/dist/schemaType.d.ts
CHANGED
|
@@ -27,6 +27,18 @@ interface paths {
|
|
|
27
27
|
/** プロジェクト情報を取得する */
|
|
28
28
|
get: operations["GetProjectsProjectIdOrKeyword"];
|
|
29
29
|
};
|
|
30
|
+
"/api/segments/behavior_segments": {
|
|
31
|
+
/** 配信先の行動セグメントの一覧を返す */
|
|
32
|
+
get: operations["GetBehaviorSegments"];
|
|
33
|
+
};
|
|
34
|
+
"/api/segments/profile_segments": {
|
|
35
|
+
/** 配信先の属性セグメントの一覧を返す */
|
|
36
|
+
get: operations["GetProfileSegments"];
|
|
37
|
+
};
|
|
38
|
+
"/api/segments/target_users_count": {
|
|
39
|
+
/** 配信先設定時の配信対象人数を取得する */
|
|
40
|
+
get: operations["GetTargetUsersCount"];
|
|
41
|
+
};
|
|
30
42
|
}
|
|
31
43
|
type webhooks = Record<string, never>;
|
|
32
44
|
interface components {
|
|
@@ -170,6 +182,69 @@ interface components {
|
|
|
170
182
|
GetProjectsProjectIdOrKeywordResponse: {
|
|
171
183
|
project: components["schemas"]["ReadyforProject"];
|
|
172
184
|
};
|
|
185
|
+
/**
|
|
186
|
+
* @example {
|
|
187
|
+
* "behaviorSegments": [
|
|
188
|
+
* {
|
|
189
|
+
* "code": "code",
|
|
190
|
+
* "displayOrder": 0,
|
|
191
|
+
* "description": "description",
|
|
192
|
+
* "label": "label",
|
|
193
|
+
* "isActive": true
|
|
194
|
+
* },
|
|
195
|
+
* {
|
|
196
|
+
* "code": "code",
|
|
197
|
+
* "displayOrder": 0,
|
|
198
|
+
* "description": "description",
|
|
199
|
+
* "label": "label",
|
|
200
|
+
* "isActive": true
|
|
201
|
+
* }
|
|
202
|
+
* ]
|
|
203
|
+
* }
|
|
204
|
+
*/
|
|
205
|
+
GetBehaviorSegmentsResponse: {
|
|
206
|
+
behaviorSegments: components["schemas"]["Segment"][];
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* @example {
|
|
210
|
+
* "profileSegments": [
|
|
211
|
+
* {
|
|
212
|
+
* "code": "code",
|
|
213
|
+
* "displayOrder": 0,
|
|
214
|
+
* "description": "description",
|
|
215
|
+
* "label": "label",
|
|
216
|
+
* "isActive": true
|
|
217
|
+
* },
|
|
218
|
+
* {
|
|
219
|
+
* "code": "code",
|
|
220
|
+
* "displayOrder": 0,
|
|
221
|
+
* "description": "description",
|
|
222
|
+
* "label": "label",
|
|
223
|
+
* "isActive": true
|
|
224
|
+
* }
|
|
225
|
+
* ]
|
|
226
|
+
* }
|
|
227
|
+
*/
|
|
228
|
+
GetProfileSegmentsResponse: {
|
|
229
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* GetTargetUsersCountResponse
|
|
233
|
+
* @example {
|
|
234
|
+
* "count": 0
|
|
235
|
+
* }
|
|
236
|
+
*/
|
|
237
|
+
GetTargetUsersCountResponse: {
|
|
238
|
+
/** @description 配信対象人数 */
|
|
239
|
+
count: number;
|
|
240
|
+
};
|
|
241
|
+
/** TargetFilterSegments */
|
|
242
|
+
TargetFilterSegments: {
|
|
243
|
+
/** @description 行動セグメントコードの配列 */
|
|
244
|
+
behaviorSegmentCodes: string[];
|
|
245
|
+
/** @description 属性セグメントコードの配列 */
|
|
246
|
+
profileSegmentCodes: string[];
|
|
247
|
+
};
|
|
173
248
|
/**
|
|
174
249
|
* Pagination
|
|
175
250
|
* @description ページネーション
|
|
@@ -236,6 +311,23 @@ interface components {
|
|
|
236
311
|
title: string;
|
|
237
312
|
abstract: string;
|
|
238
313
|
};
|
|
314
|
+
/**
|
|
315
|
+
* Segment
|
|
316
|
+
* @example {
|
|
317
|
+
* "code": "code",
|
|
318
|
+
* "displayOrder": 0,
|
|
319
|
+
* "description": "description",
|
|
320
|
+
* "label": "label",
|
|
321
|
+
* "isActive": true
|
|
322
|
+
* }
|
|
323
|
+
*/
|
|
324
|
+
Segment: {
|
|
325
|
+
code: string;
|
|
326
|
+
label: string;
|
|
327
|
+
isActive: boolean;
|
|
328
|
+
displayOrder: number | null;
|
|
329
|
+
description: string | null;
|
|
330
|
+
};
|
|
239
331
|
/** CampaignDetailBase */
|
|
240
332
|
CampaignDetailBase: {
|
|
241
333
|
id: number;
|
|
@@ -277,7 +369,7 @@ interface components {
|
|
|
277
369
|
mailSubject: string | null;
|
|
278
370
|
preHeaderText: string | null;
|
|
279
371
|
deliveredUsersCount: number | null;
|
|
280
|
-
|
|
372
|
+
target_filters: components["schemas"]["CurationMailMagazineTargetFilter"][];
|
|
281
373
|
projects: components["schemas"]["CurationMailMagazineTargetProject"][];
|
|
282
374
|
banners: components["schemas"]["CurationMailMagazineBanner"][];
|
|
283
375
|
};
|
|
@@ -305,11 +397,11 @@ interface components {
|
|
|
305
397
|
targetUsersCount: number;
|
|
306
398
|
excludedUsersCount: number;
|
|
307
399
|
};
|
|
308
|
-
/**
|
|
309
|
-
|
|
400
|
+
/** CurationMailMagazineTargetFilter */
|
|
401
|
+
CurationMailMagazineTargetFilter: {
|
|
310
402
|
id: number;
|
|
311
|
-
|
|
312
|
-
|
|
403
|
+
behaviorSegmentCodes: string[];
|
|
404
|
+
profileSegmentCodes: string[];
|
|
313
405
|
};
|
|
314
406
|
/** CurationMailMagazineTargetProject */
|
|
315
407
|
CurationMailMagazineTargetProject: {
|
|
@@ -340,14 +432,14 @@ interface components {
|
|
|
340
432
|
utmCampaign: string | null;
|
|
341
433
|
mailSubject: string | null;
|
|
342
434
|
preHeaderText: string | null;
|
|
343
|
-
|
|
435
|
+
target_filters: components["schemas"]["CurationMailMagazineTargetFilterFormData"][];
|
|
344
436
|
projects: components["schemas"]["CurationMailMagazineProjectFormData"][];
|
|
345
437
|
banners: components["schemas"]["CurationMailMagazineBannerFormData"][];
|
|
346
438
|
};
|
|
347
439
|
/** PersonalizedMailMagazineTargetCsvFormData */
|
|
348
440
|
PersonalizedMailMagazineTargetCsvFormData: components["schemas"]["PersonalizedMailMagazineTargetDeleteCsvFormData"] | components["schemas"]["PersonalizedMailMagazineTargetUploadCsvFormData"];
|
|
349
|
-
/**
|
|
350
|
-
|
|
441
|
+
/** CurationMailMagazineTargetFilterFormData */
|
|
442
|
+
CurationMailMagazineTargetFilterFormData: {
|
|
351
443
|
id: string | null;
|
|
352
444
|
behaviorSgumentCodes: string[];
|
|
353
445
|
profileSgumentCodes: string[];
|
|
@@ -572,6 +664,45 @@ interface operations {
|
|
|
572
664
|
};
|
|
573
665
|
};
|
|
574
666
|
};
|
|
667
|
+
/** 配信先の行動セグメントの一覧を返す */
|
|
668
|
+
GetBehaviorSegments: {
|
|
669
|
+
responses: {
|
|
670
|
+
/** @description OK */
|
|
671
|
+
200: {
|
|
672
|
+
content: {
|
|
673
|
+
"application/json": components["schemas"]["GetBehaviorSegmentsResponse"];
|
|
674
|
+
};
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
/** 配信先の属性セグメントの一覧を返す */
|
|
679
|
+
GetProfileSegments: {
|
|
680
|
+
responses: {
|
|
681
|
+
/** @description OK */
|
|
682
|
+
200: {
|
|
683
|
+
content: {
|
|
684
|
+
"application/json": components["schemas"]["GetProfileSegmentsResponse"];
|
|
685
|
+
};
|
|
686
|
+
};
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
/** 配信先設定時の配信対象人数を取得する */
|
|
690
|
+
GetTargetUsersCount: {
|
|
691
|
+
parameters: {
|
|
692
|
+
query?: {
|
|
693
|
+
/** @description 配信対象セグメントの配列 */
|
|
694
|
+
target_filters?: components["schemas"]["TargetFilterSegments"][];
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
responses: {
|
|
698
|
+
/** @description OK */
|
|
699
|
+
200: {
|
|
700
|
+
content: {
|
|
701
|
+
"application/json": components["schemas"]["GetTargetUsersCountResponse"];
|
|
702
|
+
};
|
|
703
|
+
};
|
|
704
|
+
};
|
|
705
|
+
};
|
|
575
706
|
}
|
|
576
707
|
|
|
577
708
|
export type { $defs, components, external, operations, paths, webhooks };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@readyfor/api-client-pigeon",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.194.0-pr968.ce9cda6",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -20,11 +20,7 @@
|
|
|
20
20
|
"require": "./dist/hooks/index.js"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
|
-
"scripts": {
|
|
24
|
-
"build": "tsup"
|
|
25
|
-
},
|
|
26
23
|
"devDependencies": {
|
|
27
|
-
"@readyfor/api-client-base": "0.187.0",
|
|
28
24
|
"@types/qs": "6.9.18",
|
|
29
25
|
"@types/react": "^18.3.12",
|
|
30
26
|
"@types/use-sync-external-store": "0.0.6",
|
|
@@ -32,15 +28,16 @@
|
|
|
32
28
|
"react": "^18.3.1",
|
|
33
29
|
"swr": "^2.3.3",
|
|
34
30
|
"use-sync-external-store": "^1.2.2",
|
|
35
|
-
"zod": "^3.24.1"
|
|
31
|
+
"zod": "^3.24.1",
|
|
32
|
+
"@readyfor/api-client-base": "0.194.0-pr968.ce9cda6"
|
|
36
33
|
},
|
|
37
34
|
"peerDependencies": {
|
|
38
|
-
"@readyfor/api-client-base": "*",
|
|
39
35
|
"qs": "^6",
|
|
40
36
|
"react": "^18",
|
|
41
37
|
"swr": "^2.3.3",
|
|
42
38
|
"use-sync-external-store": "1.2.2",
|
|
43
|
-
"zod": "^3"
|
|
39
|
+
"zod": "^3",
|
|
40
|
+
"@readyfor/api-client-base": "0.194.0-pr968.ce9cda6"
|
|
44
41
|
},
|
|
45
42
|
"peerDependenciesMeta": {
|
|
46
43
|
"react": {
|
|
@@ -65,5 +62,7 @@
|
|
|
65
62
|
"src"
|
|
66
63
|
]
|
|
67
64
|
},
|
|
68
|
-
"
|
|
69
|
-
|
|
65
|
+
"scripts": {
|
|
66
|
+
"build": "tsup"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
File without changes
|