@readyfor/api-client-pigeon 0.187.0 → 0.188.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/{chunk-OFV6CH56.mjs → chunk-3Z5NWUOW.mjs} +1 -1
- package/dist/chunk-4SU5CULQ.mjs +52 -0
- package/dist/{chunk-IWONQAFN.mjs → chunk-5MLVK6DT.mjs} +1 -1
- package/dist/chunk-BPH2HBOC.mjs +42 -0
- package/dist/{chunk-ZWYL7OFL.mjs → chunk-FQJQLQ46.mjs} +1 -1
- package/dist/{chunk-LXUPJN65.mjs → chunk-HSXALJPX.mjs} +1 -1
- package/dist/{chunk-324IXKQ7.mjs → chunk-IYLCHCAP.mjs} +25 -2
- package/dist/chunk-QUJ4NBJ3.mjs +19 -0
- package/dist/{chunk-SWDMGLLG.mjs → chunk-R2YUVCPF.mjs} +1 -1
- package/dist/chunk-SDN4KE74.mjs +19 -0
- package/dist/chunk-SM5VJ7AA.mjs +19 -0
- package/dist/{chunk-JGIFSXIQ.mjs → chunk-TLAACSJI.mjs} +1 -1
- package/dist/chunk-Z47EI77Z.mjs +42 -0
- package/dist/components.d.mts +187 -77
- package/dist/components.d.ts +187 -77
- package/dist/components.js +30 -2
- package/dist/components.mjs +11 -1
- package/dist/fetch/campaigns.js +20 -2
- package/dist/fetch/campaigns.mjs +2 -2
- package/dist/fetch/campaignsId.d.mts +8 -8
- package/dist/fetch/campaignsId.d.ts +8 -8
- package/dist/fetch/campaignsId.js +20 -2
- package/dist/fetch/campaignsId.mjs +2 -2
- package/dist/fetch/projectsProjectIdOrKeyword.js +20 -2
- 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 +173 -16
- package/dist/hooks/index.mjs +36 -9
- package/dist/hooks/useCampaigns.js +33 -6
- package/dist/hooks/useCampaigns.mjs +9 -6
- package/dist/hooks/useCampaignsId.js +33 -6
- package/dist/hooks/useCampaignsId.mjs +9 -6
- package/dist/hooks/useProjectsProjectIdOrKeyword.js +33 -6
- 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 +66 -2
- package/dist/index.mjs +33 -5
- package/dist/schemaType.d.mts +113 -2
- package/dist/schemaType.d.ts +113 -2
- package/package.json +3 -3
- /package/dist/{chunk-M47LJF5A.mjs → chunk-CEHYORRT.mjs} +0 -0
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,49 @@ 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
|
+
GetSegmentsResponse: {
|
|
206
|
+
behaviorSegments: components["schemas"]["Segment"][];
|
|
207
|
+
};
|
|
208
|
+
GetSegmentsResponse_1: {
|
|
209
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* TargetUsersCountResponse
|
|
213
|
+
* @example {
|
|
214
|
+
* "count": 0
|
|
215
|
+
* }
|
|
216
|
+
*/
|
|
217
|
+
TargetUsersCountResponse: {
|
|
218
|
+
/** @description 配信対象人数 */
|
|
219
|
+
count: number;
|
|
220
|
+
};
|
|
221
|
+
/** TargetSegments */
|
|
222
|
+
TargetSegments: {
|
|
223
|
+
/** @description 行動セグメントコードの配列 */
|
|
224
|
+
behaviorSegmentCodes: string[];
|
|
225
|
+
/** @description 属性セグメントコードの配列 */
|
|
226
|
+
profileSegmentCodes: string[];
|
|
227
|
+
};
|
|
173
228
|
/**
|
|
174
229
|
* Pagination
|
|
175
230
|
* @description ページネーション
|
|
@@ -236,6 +291,23 @@ interface components {
|
|
|
236
291
|
title: string;
|
|
237
292
|
abstract: string;
|
|
238
293
|
};
|
|
294
|
+
/**
|
|
295
|
+
* Segment
|
|
296
|
+
* @example {
|
|
297
|
+
* "code": "code",
|
|
298
|
+
* "displayOrder": 0,
|
|
299
|
+
* "description": "description",
|
|
300
|
+
* "label": "label",
|
|
301
|
+
* "isActive": true
|
|
302
|
+
* }
|
|
303
|
+
*/
|
|
304
|
+
Segment: {
|
|
305
|
+
code: string;
|
|
306
|
+
label: string;
|
|
307
|
+
isActive: boolean;
|
|
308
|
+
displayOrder: number | null;
|
|
309
|
+
description: string | null;
|
|
310
|
+
};
|
|
239
311
|
/** CampaignDetailBase */
|
|
240
312
|
CampaignDetailBase: {
|
|
241
313
|
id: number;
|
|
@@ -308,8 +380,8 @@ interface components {
|
|
|
308
380
|
/** CurationMailMagazineTarget */
|
|
309
381
|
CurationMailMagazineTarget: {
|
|
310
382
|
id: number;
|
|
311
|
-
|
|
312
|
-
|
|
383
|
+
behaviorSegmentCodes: string[];
|
|
384
|
+
profileSegmentCodes: string[];
|
|
313
385
|
};
|
|
314
386
|
/** CurationMailMagazineTargetProject */
|
|
315
387
|
CurationMailMagazineTargetProject: {
|
|
@@ -572,6 +644,45 @@ interface operations {
|
|
|
572
644
|
};
|
|
573
645
|
};
|
|
574
646
|
};
|
|
647
|
+
/** 配信先の行動セグメントの一覧を返す */
|
|
648
|
+
GetBehaviorSegments: {
|
|
649
|
+
responses: {
|
|
650
|
+
/** @description OK */
|
|
651
|
+
200: {
|
|
652
|
+
content: {
|
|
653
|
+
"application/json": components["schemas"]["GetSegmentsResponse"];
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
|
+
};
|
|
657
|
+
};
|
|
658
|
+
/** 配信先の属性セグメントの一覧を返す */
|
|
659
|
+
GetProfileSegments: {
|
|
660
|
+
responses: {
|
|
661
|
+
/** @description OK */
|
|
662
|
+
200: {
|
|
663
|
+
content: {
|
|
664
|
+
"application/json": components["schemas"]["GetSegmentsResponse"];
|
|
665
|
+
};
|
|
666
|
+
};
|
|
667
|
+
};
|
|
668
|
+
};
|
|
669
|
+
/** 配信先設定時の配信対象人数を取得する */
|
|
670
|
+
GetTargetUsersCount: {
|
|
671
|
+
parameters: {
|
|
672
|
+
query?: {
|
|
673
|
+
/** @description 配信対象セグメントの配列 */
|
|
674
|
+
targets?: components["schemas"]["TargetSegments"][];
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
responses: {
|
|
678
|
+
/** @description OK */
|
|
679
|
+
200: {
|
|
680
|
+
content: {
|
|
681
|
+
"application/json": components["schemas"]["TargetUsersCountResponse"];
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
};
|
|
685
|
+
};
|
|
575
686
|
}
|
|
576
687
|
|
|
577
688
|
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,49 @@ 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
|
+
GetSegmentsResponse: {
|
|
206
|
+
behaviorSegments: components["schemas"]["Segment"][];
|
|
207
|
+
};
|
|
208
|
+
GetSegmentsResponse_1: {
|
|
209
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* TargetUsersCountResponse
|
|
213
|
+
* @example {
|
|
214
|
+
* "count": 0
|
|
215
|
+
* }
|
|
216
|
+
*/
|
|
217
|
+
TargetUsersCountResponse: {
|
|
218
|
+
/** @description 配信対象人数 */
|
|
219
|
+
count: number;
|
|
220
|
+
};
|
|
221
|
+
/** TargetSegments */
|
|
222
|
+
TargetSegments: {
|
|
223
|
+
/** @description 行動セグメントコードの配列 */
|
|
224
|
+
behaviorSegmentCodes: string[];
|
|
225
|
+
/** @description 属性セグメントコードの配列 */
|
|
226
|
+
profileSegmentCodes: string[];
|
|
227
|
+
};
|
|
173
228
|
/**
|
|
174
229
|
* Pagination
|
|
175
230
|
* @description ページネーション
|
|
@@ -236,6 +291,23 @@ interface components {
|
|
|
236
291
|
title: string;
|
|
237
292
|
abstract: string;
|
|
238
293
|
};
|
|
294
|
+
/**
|
|
295
|
+
* Segment
|
|
296
|
+
* @example {
|
|
297
|
+
* "code": "code",
|
|
298
|
+
* "displayOrder": 0,
|
|
299
|
+
* "description": "description",
|
|
300
|
+
* "label": "label",
|
|
301
|
+
* "isActive": true
|
|
302
|
+
* }
|
|
303
|
+
*/
|
|
304
|
+
Segment: {
|
|
305
|
+
code: string;
|
|
306
|
+
label: string;
|
|
307
|
+
isActive: boolean;
|
|
308
|
+
displayOrder: number | null;
|
|
309
|
+
description: string | null;
|
|
310
|
+
};
|
|
239
311
|
/** CampaignDetailBase */
|
|
240
312
|
CampaignDetailBase: {
|
|
241
313
|
id: number;
|
|
@@ -308,8 +380,8 @@ interface components {
|
|
|
308
380
|
/** CurationMailMagazineTarget */
|
|
309
381
|
CurationMailMagazineTarget: {
|
|
310
382
|
id: number;
|
|
311
|
-
|
|
312
|
-
|
|
383
|
+
behaviorSegmentCodes: string[];
|
|
384
|
+
profileSegmentCodes: string[];
|
|
313
385
|
};
|
|
314
386
|
/** CurationMailMagazineTargetProject */
|
|
315
387
|
CurationMailMagazineTargetProject: {
|
|
@@ -572,6 +644,45 @@ interface operations {
|
|
|
572
644
|
};
|
|
573
645
|
};
|
|
574
646
|
};
|
|
647
|
+
/** 配信先の行動セグメントの一覧を返す */
|
|
648
|
+
GetBehaviorSegments: {
|
|
649
|
+
responses: {
|
|
650
|
+
/** @description OK */
|
|
651
|
+
200: {
|
|
652
|
+
content: {
|
|
653
|
+
"application/json": components["schemas"]["GetSegmentsResponse"];
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
|
+
};
|
|
657
|
+
};
|
|
658
|
+
/** 配信先の属性セグメントの一覧を返す */
|
|
659
|
+
GetProfileSegments: {
|
|
660
|
+
responses: {
|
|
661
|
+
/** @description OK */
|
|
662
|
+
200: {
|
|
663
|
+
content: {
|
|
664
|
+
"application/json": components["schemas"]["GetSegmentsResponse"];
|
|
665
|
+
};
|
|
666
|
+
};
|
|
667
|
+
};
|
|
668
|
+
};
|
|
669
|
+
/** 配信先設定時の配信対象人数を取得する */
|
|
670
|
+
GetTargetUsersCount: {
|
|
671
|
+
parameters: {
|
|
672
|
+
query?: {
|
|
673
|
+
/** @description 配信対象セグメントの配列 */
|
|
674
|
+
targets?: components["schemas"]["TargetSegments"][];
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
responses: {
|
|
678
|
+
/** @description OK */
|
|
679
|
+
200: {
|
|
680
|
+
content: {
|
|
681
|
+
"application/json": components["schemas"]["TargetUsersCountResponse"];
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
};
|
|
685
|
+
};
|
|
575
686
|
}
|
|
576
687
|
|
|
577
688
|
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.188.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"build": "tsup"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@readyfor/api-client-base": "0.
|
|
27
|
+
"@readyfor/api-client-base": "0.188.0",
|
|
28
28
|
"@types/qs": "6.9.18",
|
|
29
29
|
"@types/react": "^18.3.12",
|
|
30
30
|
"@types/use-sync-external-store": "0.0.6",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"src"
|
|
66
66
|
]
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "9debf2dce486fb682b72739a7a317016f9134a9e"
|
|
69
69
|
}
|
|
File without changes
|