@readyfor/api-client-pigeon 0.204.0 → 0.206.0-pr972.a0fd0c3
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-NRG2B6IH.mjs → chunk-2MMWMEXK.mjs} +1 -1
- package/dist/{chunk-LPRHBCYQ.mjs → chunk-4FARDKZH.mjs} +1 -1
- package/dist/{chunk-XZHFP5LC.mjs → chunk-4VTSMOLP.mjs} +1 -1
- package/dist/{chunk-K7GDUSMN.mjs → chunk-7EJYWAM4.mjs} +1 -1
- package/dist/{chunk-QVXGKDN7.mjs → chunk-ECVEPFAI.mjs} +1 -1
- package/dist/{chunk-VP2N74DP.mjs → chunk-FOCILVNV.mjs} +1 -1
- package/dist/{chunk-TCFEZAJT.mjs → chunk-FP5RUB46.mjs} +1 -1
- package/dist/{chunk-EU35TDAI.mjs → chunk-FUIJU2DC.mjs} +1 -1
- package/dist/{chunk-HXXKAZDM.mjs → chunk-HQKSU4DI.mjs} +4 -0
- package/dist/{chunk-6HAZ74NE.mjs → chunk-IPPG4HQB.mjs} +1 -1
- package/dist/chunk-KBTZNIQJ.mjs +20 -0
- package/dist/{chunk-HXNGO56J.mjs → chunk-MCXNTHWW.mjs} +1 -1
- package/dist/{chunk-SMZ4TQUF.mjs → chunk-NZ4GVNQD.mjs} +1 -1
- package/dist/{chunk-5W4KIPPC.mjs → chunk-S32VFOLV.mjs} +1 -1
- package/dist/{chunk-B6LDGLWA.mjs → chunk-V2EU732S.mjs} +1 -1
- package/dist/{chunk-A27E5C24.mjs → chunk-Z6OJIRKU.mjs} +1 -1
- package/dist/components.d.mts +8 -1
- package/dist/components.d.ts +8 -1
- package/dist/components.js +5 -0
- package/dist/components.mjs +3 -1
- package/dist/fetch/campaigns.js +3 -0
- package/dist/fetch/campaigns.mjs +2 -2
- package/dist/fetch/campaignsId.js +3 -0
- package/dist/fetch/campaignsId.mjs +2 -2
- package/dist/fetch/campaignsIdPreview.js +3 -0
- package/dist/fetch/campaignsIdPreview.mjs +2 -2
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.mts +17 -0
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.ts +17 -0
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.js +42 -0
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.mjs +8 -0
- package/dist/fetch/projectsProjectIdOrKeyword.js +3 -0
- package/dist/fetch/projectsProjectIdOrKeyword.mjs +2 -2
- package/dist/fetch/segmentsBehaviorSegments.js +3 -0
- package/dist/fetch/segmentsBehaviorSegments.mjs +2 -2
- package/dist/fetch/segmentsProfileSegments.js +3 -0
- package/dist/fetch/segmentsProfileSegments.mjs +2 -2
- package/dist/fetch/segmentsTargetUsersCount.js +3 -0
- package/dist/fetch/segmentsTargetUsersCount.mjs +2 -2
- package/dist/hooks/index.js +42 -36
- package/dist/hooks/index.mjs +21 -20
- package/dist/hooks/useCampaigns.js +14 -8
- package/dist/hooks/useCampaigns.mjs +11 -10
- package/dist/hooks/useCampaignsId.js +14 -8
- package/dist/hooks/useCampaignsId.mjs +11 -10
- package/dist/hooks/useCampaignsIdPreview.js +14 -8
- package/dist/hooks/useCampaignsIdPreview.mjs +11 -10
- package/dist/hooks/useProjectsProjectIdOrKeyword.js +15 -9
- package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +11 -10
- package/dist/hooks/useSegmentsBehaviorSegments.js +15 -9
- package/dist/hooks/useSegmentsBehaviorSegments.mjs +11 -10
- package/dist/hooks/useSegmentsProfileSegments.js +15 -9
- package/dist/hooks/useSegmentsProfileSegments.mjs +11 -10
- package/dist/hooks/useSegmentsTargetUsersCount.js +15 -9
- package/dist/hooks/useSegmentsTargetUsersCount.mjs +11 -10
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +36 -14
- package/dist/index.mjs +21 -13
- package/dist/schemaType.d.mts +41 -0
- package/dist/schemaType.d.ts +41 -0
- package/package.json +11 -12
- /package/dist/{chunk-OAIF3WPC.mjs → chunk-S7JMIMW4.mjs} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,22 +1,26 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-S7JMIMW4.mjs";
|
|
2
|
+
import {
|
|
3
|
+
buildProjectsProjectIdOrKeywordGetFetcher,
|
|
4
|
+
getProjectsProjectIdOrKeyword
|
|
5
|
+
} from "./chunk-V2EU732S.mjs";
|
|
2
6
|
import {
|
|
3
7
|
buildSegmentsBehaviorSegmentsGetFetcher,
|
|
4
8
|
getSegmentsBehaviorSegments
|
|
5
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Z6OJIRKU.mjs";
|
|
6
10
|
import {
|
|
7
11
|
buildSegmentsProfileSegmentsGetFetcher,
|
|
8
12
|
getSegmentsProfileSegments
|
|
9
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NZ4GVNQD.mjs";
|
|
10
14
|
import {
|
|
11
15
|
buildSegmentsTargetUsersCountGetFetcher,
|
|
12
16
|
getSegmentsTargetUsersCount
|
|
13
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FUIJU2DC.mjs";
|
|
14
18
|
import {
|
|
15
19
|
buildCampaignsGetFetcher,
|
|
16
20
|
buildCampaignsPostFetcher,
|
|
17
21
|
getCampaigns,
|
|
18
22
|
postCampaigns
|
|
19
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IPPG4HQB.mjs";
|
|
20
24
|
import {
|
|
21
25
|
buildCampaignsIdDeleteFetcher,
|
|
22
26
|
buildCampaignsIdGetFetcher,
|
|
@@ -24,7 +28,7 @@ import {
|
|
|
24
28
|
deleteCampaignsId,
|
|
25
29
|
getCampaignsId,
|
|
26
30
|
patchCampaignsId
|
|
27
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-FOCILVNV.mjs";
|
|
28
32
|
import {
|
|
29
33
|
buildCampaignsIdDeliveryJobDeleteFetcher,
|
|
30
34
|
buildCampaignsIdDeliveryJobPostFetcher,
|
|
@@ -34,11 +38,7 @@ import {
|
|
|
34
38
|
import {
|
|
35
39
|
buildCampaignsIdPreviewGetFetcher,
|
|
36
40
|
getCampaignsIdPreview
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import {
|
|
39
|
-
buildProjectsProjectIdOrKeywordGetFetcher,
|
|
40
|
-
getProjectsProjectIdOrKeyword
|
|
41
|
-
} from "./chunk-B6LDGLWA.mjs";
|
|
41
|
+
} from "./chunk-MCXNTHWW.mjs";
|
|
42
42
|
import {
|
|
43
43
|
Campaign,
|
|
44
44
|
CampaignBaseFormData,
|
|
@@ -82,13 +82,18 @@ import {
|
|
|
82
82
|
PersonalizedMailMagazineTargetDeleteCsvFormData,
|
|
83
83
|
PersonalizedMailMagazineTargetUploadCsvFormData,
|
|
84
84
|
PersonalizedMailMagazineTargetUploadCsvRecordFormData,
|
|
85
|
+
PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody,
|
|
85
86
|
PostCampaignsRequestBody,
|
|
86
87
|
PostCampaignsResponse,
|
|
87
88
|
ReadyforProject,
|
|
88
89
|
Segment,
|
|
89
90
|
TargetFilterSegments,
|
|
90
91
|
UploadImageFormData
|
|
91
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-HQKSU4DI.mjs";
|
|
93
|
+
import {
|
|
94
|
+
buildCampaignsIdPreviewDeliveryEmailPostFetcher,
|
|
95
|
+
postCampaignsIdPreviewDeliveryEmail
|
|
96
|
+
} from "./chunk-KBTZNIQJ.mjs";
|
|
92
97
|
export {
|
|
93
98
|
Campaign,
|
|
94
99
|
CampaignBaseFormData,
|
|
@@ -132,6 +137,7 @@ export {
|
|
|
132
137
|
PersonalizedMailMagazineTargetDeleteCsvFormData,
|
|
133
138
|
PersonalizedMailMagazineTargetUploadCsvFormData,
|
|
134
139
|
PersonalizedMailMagazineTargetUploadCsvRecordFormData,
|
|
140
|
+
PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody,
|
|
135
141
|
PostCampaignsRequestBody,
|
|
136
142
|
PostCampaignsResponse,
|
|
137
143
|
ReadyforProject,
|
|
@@ -144,6 +150,7 @@ export {
|
|
|
144
150
|
buildCampaignsIdDeliveryJobPostFetcher,
|
|
145
151
|
buildCampaignsIdGetFetcher,
|
|
146
152
|
buildCampaignsIdPatchFetcher,
|
|
153
|
+
buildCampaignsIdPreviewDeliveryEmailPostFetcher,
|
|
147
154
|
buildCampaignsIdPreviewGetFetcher,
|
|
148
155
|
buildCampaignsPostFetcher,
|
|
149
156
|
buildProjectsProjectIdOrKeywordGetFetcher,
|
|
@@ -161,5 +168,6 @@ export {
|
|
|
161
168
|
getSegmentsTargetUsersCount,
|
|
162
169
|
patchCampaignsId,
|
|
163
170
|
postCampaigns,
|
|
164
|
-
postCampaignsIdDeliveryJob
|
|
171
|
+
postCampaignsIdDeliveryJob,
|
|
172
|
+
postCampaignsIdPreviewDeliveryEmail
|
|
165
173
|
};
|
package/dist/schemaType.d.mts
CHANGED
|
@@ -27,6 +27,10 @@ interface paths {
|
|
|
27
27
|
/** メルマガのプレビューを取得する */
|
|
28
28
|
get: operations["GetCampaignsCampaignIdPreview"];
|
|
29
29
|
};
|
|
30
|
+
"/api/campaigns/{id}/preview_delivery_email": {
|
|
31
|
+
/** メルマガのテスト配信 */
|
|
32
|
+
post: operations["PostCampaignsCampaignIdPreviewDeliveryEmail"];
|
|
33
|
+
};
|
|
30
34
|
"/api/projects/{project_id_or_keyword}": {
|
|
31
35
|
/** プロジェクト情報を取得する */
|
|
32
36
|
get: operations["GetProjectsProjectIdOrKeyword"];
|
|
@@ -181,6 +185,18 @@ interface components {
|
|
|
181
185
|
GetCampaignsCampaignIdPreviewResponse: {
|
|
182
186
|
content: string;
|
|
183
187
|
};
|
|
188
|
+
/**
|
|
189
|
+
* PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody
|
|
190
|
+
* @example {
|
|
191
|
+
* "emails": [
|
|
192
|
+
* "emails",
|
|
193
|
+
* "emails"
|
|
194
|
+
* ]
|
|
195
|
+
* }
|
|
196
|
+
*/
|
|
197
|
+
PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody: {
|
|
198
|
+
emails: string[];
|
|
199
|
+
};
|
|
184
200
|
/**
|
|
185
201
|
* GetProjectsProjectIdOrKeywordResponse
|
|
186
202
|
* @example {
|
|
@@ -677,6 +693,31 @@ interface operations {
|
|
|
677
693
|
};
|
|
678
694
|
};
|
|
679
695
|
};
|
|
696
|
+
/** メルマガのテスト配信 */
|
|
697
|
+
PostCampaignsCampaignIdPreviewDeliveryEmail: {
|
|
698
|
+
parameters: {
|
|
699
|
+
path: {
|
|
700
|
+
id: number;
|
|
701
|
+
};
|
|
702
|
+
};
|
|
703
|
+
requestBody: {
|
|
704
|
+
content: {
|
|
705
|
+
"application/json": components["schemas"]["PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody"];
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
responses: {
|
|
709
|
+
/** @description Created */
|
|
710
|
+
201: {
|
|
711
|
+
content: never;
|
|
712
|
+
};
|
|
713
|
+
/** @description Bad Request */
|
|
714
|
+
400: {
|
|
715
|
+
content: {
|
|
716
|
+
"application/json": components["schemas"]["HttpErrorBadRequest"];
|
|
717
|
+
};
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
};
|
|
680
721
|
/** プロジェクト情報を取得する */
|
|
681
722
|
GetProjectsProjectIdOrKeyword: {
|
|
682
723
|
parameters: {
|
package/dist/schemaType.d.ts
CHANGED
|
@@ -27,6 +27,10 @@ interface paths {
|
|
|
27
27
|
/** メルマガのプレビューを取得する */
|
|
28
28
|
get: operations["GetCampaignsCampaignIdPreview"];
|
|
29
29
|
};
|
|
30
|
+
"/api/campaigns/{id}/preview_delivery_email": {
|
|
31
|
+
/** メルマガのテスト配信 */
|
|
32
|
+
post: operations["PostCampaignsCampaignIdPreviewDeliveryEmail"];
|
|
33
|
+
};
|
|
30
34
|
"/api/projects/{project_id_or_keyword}": {
|
|
31
35
|
/** プロジェクト情報を取得する */
|
|
32
36
|
get: operations["GetProjectsProjectIdOrKeyword"];
|
|
@@ -181,6 +185,18 @@ interface components {
|
|
|
181
185
|
GetCampaignsCampaignIdPreviewResponse: {
|
|
182
186
|
content: string;
|
|
183
187
|
};
|
|
188
|
+
/**
|
|
189
|
+
* PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody
|
|
190
|
+
* @example {
|
|
191
|
+
* "emails": [
|
|
192
|
+
* "emails",
|
|
193
|
+
* "emails"
|
|
194
|
+
* ]
|
|
195
|
+
* }
|
|
196
|
+
*/
|
|
197
|
+
PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody: {
|
|
198
|
+
emails: string[];
|
|
199
|
+
};
|
|
184
200
|
/**
|
|
185
201
|
* GetProjectsProjectIdOrKeywordResponse
|
|
186
202
|
* @example {
|
|
@@ -677,6 +693,31 @@ interface operations {
|
|
|
677
693
|
};
|
|
678
694
|
};
|
|
679
695
|
};
|
|
696
|
+
/** メルマガのテスト配信 */
|
|
697
|
+
PostCampaignsCampaignIdPreviewDeliveryEmail: {
|
|
698
|
+
parameters: {
|
|
699
|
+
path: {
|
|
700
|
+
id: number;
|
|
701
|
+
};
|
|
702
|
+
};
|
|
703
|
+
requestBody: {
|
|
704
|
+
content: {
|
|
705
|
+
"application/json": components["schemas"]["PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody"];
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
responses: {
|
|
709
|
+
/** @description Created */
|
|
710
|
+
201: {
|
|
711
|
+
content: never;
|
|
712
|
+
};
|
|
713
|
+
/** @description Bad Request */
|
|
714
|
+
400: {
|
|
715
|
+
content: {
|
|
716
|
+
"application/json": components["schemas"]["HttpErrorBadRequest"];
|
|
717
|
+
};
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
};
|
|
680
721
|
/** プロジェクト情報を取得する */
|
|
681
722
|
GetProjectsProjectIdOrKeyword: {
|
|
682
723
|
parameters: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@readyfor/api-client-pigeon",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.206.0-pr972.a0fd0c3",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -20,27 +20,24 @@
|
|
|
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.204.0",
|
|
28
24
|
"@types/qs": "6.9.18",
|
|
29
|
-
"@types/react": "
|
|
30
|
-
"@types/use-sync-external-store": "
|
|
25
|
+
"@types/react": "catalog:react19",
|
|
26
|
+
"@types/use-sync-external-store": "catalog:use-sync-external-store",
|
|
31
27
|
"qs": "^6.13.1",
|
|
32
28
|
"react": "catalog:react19",
|
|
33
29
|
"swr": "catalog:",
|
|
34
30
|
"use-sync-external-store": "catalog:use-sync-external-store",
|
|
35
|
-
"zod": "^3.24.1"
|
|
31
|
+
"zod": "^3.24.1",
|
|
32
|
+
"@readyfor/api-client-base": "0.206.0-pr972.a0fd0c3"
|
|
36
33
|
},
|
|
37
34
|
"peerDependencies": {
|
|
38
|
-
"@readyfor/api-client-base": "*",
|
|
39
35
|
"qs": "^6",
|
|
40
36
|
"react": ">=18.x <=19.x",
|
|
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.206.0-pr972.a0fd0c3"
|
|
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
|