@readyfor/api-client-pigeon 1.56.0 → 1.57.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/{campaigns-LEBocNQU.d.ts → campaigns-DDtYbWoB.d.ts} +1 -2
- package/dist/{campaignsCampaignIdImagesId-DIP7fWuW.d.ts → campaignsCampaignIdImagesId-BH09WR7W.d.ts} +1 -2
- package/dist/{campaignsId-X2RgW373.d.ts → campaignsId-DQza8d9k.d.ts} +1 -2
- package/dist/{campaignsIdDeliveryJob-DSQt-XKJ.d.ts → campaignsIdDeliveryJob-BJsnXOjT.d.ts} +1 -2
- package/dist/{campaignsIdImages-FaCqdOz5.d.ts → campaignsIdImages-Pz8eYTn9.d.ts} +1 -2
- package/dist/{campaignsIdPreview-DwXWXR_K.d.ts → campaignsIdPreview-DYFaHTVi.d.ts} +1 -2
- package/dist/{campaignsIdPreviewDeliveryEmail-C4seDDrW.d.ts → campaignsIdPreviewDeliveryEmail-TSYH58L-.d.ts} +1 -2
- package/dist/{campaignsIdUtmCampaignConflicts-BeorXcqm.d.ts → campaignsIdUtmCampaignConflicts-DdPPODc1.d.ts} +1 -2
- package/dist/{components-CrQeer-F.d.ts → components-D7oBjOuU.d.ts} +0 -1
- package/dist/components.d.ts +1 -1
- package/dist/fetch/campaigns.d.ts +1 -1
- package/dist/fetch/campaigns.js +5 -3
- package/dist/fetch/campaigns.mjs +5 -3
- package/dist/fetch/campaignsCampaignIdImagesId.d.ts +1 -1
- package/dist/fetch/campaignsCampaignIdImagesId.js +2 -1
- package/dist/fetch/campaignsCampaignIdImagesId.mjs +2 -1
- package/dist/fetch/campaignsId.d.ts +1 -1
- package/dist/fetch/campaignsId.js +7 -4
- package/dist/fetch/campaignsId.mjs +7 -4
- package/dist/fetch/campaignsIdDeliveryJob.d.ts +1 -1
- package/dist/fetch/campaignsIdDeliveryJob.js +4 -2
- package/dist/fetch/campaignsIdDeliveryJob.mjs +4 -2
- package/dist/fetch/campaignsIdImages.d.ts +1 -1
- package/dist/fetch/campaignsIdImages.js +3 -2
- package/dist/fetch/campaignsIdImages.mjs +3 -2
- package/dist/fetch/campaignsIdPreview.d.ts +1 -1
- package/dist/fetch/campaignsIdPreview.js +2 -1
- package/dist/fetch/campaignsIdPreview.mjs +2 -1
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.ts +1 -1
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.js +3 -2
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.mjs +3 -2
- package/dist/fetch/campaignsIdUtmCampaignConflicts.d.ts +1 -1
- package/dist/fetch/campaignsIdUtmCampaignConflicts.js +2 -1
- package/dist/fetch/campaignsIdUtmCampaignConflicts.mjs +2 -1
- package/dist/fetch/projectsProjectIdOrKeyword.d.ts +1 -1
- package/dist/fetch/projectsProjectIdOrKeyword.js +2 -1
- package/dist/fetch/projectsProjectIdOrKeyword.mjs +2 -1
- package/dist/fetch/segmentsBehaviorSegments.d.ts +1 -1
- package/dist/fetch/segmentsBehaviorSegments.js +2 -1
- package/dist/fetch/segmentsBehaviorSegments.mjs +2 -1
- package/dist/fetch/segmentsProfileSegments.d.ts +1 -1
- package/dist/fetch/segmentsProfileSegments.js +2 -1
- package/dist/fetch/segmentsProfileSegments.mjs +2 -1
- package/dist/fetch/segmentsTargetUsersCount.d.ts +1 -1
- package/dist/fetch/segmentsTargetUsersCount.js +2 -1
- package/dist/fetch/segmentsTargetUsersCount.mjs +2 -1
- package/dist/hooks/useCampaigns.d.ts +3 -3
- package/dist/hooks/useCampaignsId.d.ts +3 -3
- package/dist/hooks/useCampaignsIdPreview.d.ts +2 -2
- package/dist/hooks/useCampaignsIdUtmCampaignConflicts.d.ts +3 -3
- package/dist/hooks/useProjectsProjectIdOrKeyword.d.ts +3 -3
- package/dist/hooks/useSegmentsBehaviorSegments.d.ts +3 -3
- package/dist/hooks/useSegmentsProfileSegments.d.ts +3 -3
- package/dist/hooks/useSegmentsTargetUsersCount.d.ts +2 -2
- package/dist/index-Dcw20Fxt.d.ts +11 -0
- package/dist/index.d.ts +15 -14
- package/dist/{projectsProjectIdOrKeyword-DetWiAqZ.d.ts → projectsProjectIdOrKeyword-D-UYpSMV.d.ts} +1 -2
- package/dist/{schemaType-C89wY8r-.d.ts → schemaType-CE85S8j4.d.ts} +212 -103
- package/dist/schemaType.d.ts +1 -1
- package/dist/{segmentsBehaviorSegments-BLoTM6gb.d.ts → segmentsBehaviorSegments-DUS9e7nZ.d.ts} +1 -2
- package/dist/{segmentsProfileSegments-EIFHyFDp.d.ts → segmentsProfileSegments-CYwn6u65.d.ts} +1 -2
- package/dist/{segmentsTargetUsersCount-B3kHRl-9.d.ts → segmentsTargetUsersCount-DgFx5ETI.d.ts} +1 -2
- package/package.json +4 -4
- package/dist/index-BVVgDSdq.d.ts +0 -1
|
@@ -5,29 +5,40 @@
|
|
|
5
5
|
*/
|
|
6
6
|
interface paths {
|
|
7
7
|
"/api/campaigns": {
|
|
8
|
-
/** キャンペーン一覧を取得する */
|
|
8
|
+
/** キャンペーン一覧を取得する */
|
|
9
|
+
get: operations["GetCampaigns"];
|
|
10
|
+
/** キャンペーンを作成する */
|
|
9
11
|
post: operations["PostCampaigns"];
|
|
10
12
|
};
|
|
11
13
|
"/api/campaigns/{id}": {
|
|
12
|
-
/** キャンペーン詳細を取得する */
|
|
13
|
-
|
|
14
|
+
/** キャンペーン詳細を取得する */
|
|
15
|
+
get: operations["GetCampaignsCampaignId"];
|
|
16
|
+
/** キャンペーンを削除する */
|
|
17
|
+
delete: operations["DeleteCampaignsCampaignId"];
|
|
18
|
+
/** キャンペーンを更新する */
|
|
14
19
|
patch: operations["PatchCampaignsCampaignId"];
|
|
15
20
|
};
|
|
16
21
|
"/api/campaigns/{id}/delivery_job": {
|
|
17
|
-
/** キャンペーンの配信予約をする */
|
|
22
|
+
/** キャンペーンの配信予約をする */
|
|
23
|
+
post: operations["PostCampaignsCampaignIdDeliveryJob"];
|
|
24
|
+
/** キャンペーンの配信予約を取り消す */
|
|
18
25
|
delete: operations["DeleteCampaignsCampaignIdDeliveryJob"];
|
|
19
26
|
};
|
|
20
27
|
"/api/campaigns/{id}/preview": {
|
|
21
|
-
/** メルマガのプレビューを取得する */
|
|
28
|
+
/** メルマガのプレビューを取得する */
|
|
29
|
+
get: operations["GetCampaignsCampaignIdPreview"];
|
|
22
30
|
};
|
|
23
31
|
"/api/campaigns/{id}/preview_delivery_email": {
|
|
24
|
-
/** メルマガのテスト配信 */
|
|
32
|
+
/** メルマガのテスト配信 */
|
|
33
|
+
post: operations["PostCampaignsCampaignIdPreviewDeliveryEmail"];
|
|
25
34
|
};
|
|
26
35
|
"/api/campaigns/{id}/utm_campaign_conflicts": {
|
|
27
|
-
/** utm_campaign の重複キャンペーンを取得する */
|
|
36
|
+
/** utm_campaign の重複キャンペーンを取得する */
|
|
37
|
+
get: operations["GetCampaignsCampaignIdUtmCampaignConflicts"];
|
|
28
38
|
};
|
|
29
39
|
"/api/campaigns/{id}/images": {
|
|
30
|
-
/** 画像をアップロードする */
|
|
40
|
+
/** 画像をアップロードする */
|
|
41
|
+
post: {
|
|
31
42
|
parameters: {
|
|
32
43
|
path: {
|
|
33
44
|
id: number;
|
|
@@ -39,7 +50,8 @@ interface paths {
|
|
|
39
50
|
};
|
|
40
51
|
};
|
|
41
52
|
responses: {
|
|
42
|
-
/** @description Created */
|
|
53
|
+
/** @description Created */
|
|
54
|
+
201: {
|
|
43
55
|
content: {
|
|
44
56
|
"application/json": components["schemas"]["Image"];
|
|
45
57
|
};
|
|
@@ -48,7 +60,8 @@ interface paths {
|
|
|
48
60
|
};
|
|
49
61
|
};
|
|
50
62
|
"/api/campaigns/{campaign_id}/images/{id}": {
|
|
51
|
-
/** アップロードされた画像を削除する */
|
|
63
|
+
/** アップロードされた画像を削除する */
|
|
64
|
+
delete: {
|
|
52
65
|
parameters: {
|
|
53
66
|
path: {
|
|
54
67
|
campaign_id: number;
|
|
@@ -56,23 +69,28 @@ interface paths {
|
|
|
56
69
|
};
|
|
57
70
|
};
|
|
58
71
|
responses: {
|
|
59
|
-
/** @description No Content */
|
|
72
|
+
/** @description No Content */
|
|
73
|
+
204: {
|
|
60
74
|
content: never;
|
|
61
75
|
};
|
|
62
76
|
};
|
|
63
77
|
};
|
|
64
78
|
};
|
|
65
79
|
"/api/projects/{project_id_or_keyword}": {
|
|
66
|
-
/** プロジェクト情報を取得する */
|
|
80
|
+
/** プロジェクト情報を取得する */
|
|
81
|
+
get: operations["GetProjectsProjectIdOrKeyword"];
|
|
67
82
|
};
|
|
68
83
|
"/api/segments/behavior_segments": {
|
|
69
|
-
/** 配信先の行動セグメントの一覧を返す */
|
|
84
|
+
/** 配信先の行動セグメントの一覧を返す */
|
|
85
|
+
get: operations["GetBehaviorSegments"];
|
|
70
86
|
};
|
|
71
87
|
"/api/segments/profile_segments": {
|
|
72
|
-
/** 配信先の属性セグメントの一覧を返す */
|
|
88
|
+
/** 配信先の属性セグメントの一覧を返す */
|
|
89
|
+
get: operations["GetProfileSegments"];
|
|
73
90
|
};
|
|
74
91
|
"/api/segments/target_users_count": {
|
|
75
|
-
/** 配信先設定時の配信対象人数を取得する */
|
|
92
|
+
/** 配信先設定時の配信対象人数を取得する */
|
|
93
|
+
get: operations["GetTargetUsersCount"];
|
|
76
94
|
};
|
|
77
95
|
}
|
|
78
96
|
type webhooks = Record<string, never>;
|
|
@@ -130,18 +148,23 @@ interface components {
|
|
|
130
148
|
* }
|
|
131
149
|
*/
|
|
132
150
|
PersonalizedMailMagazineCampaign: components["schemas"]["CampaignBase"] & {
|
|
133
|
-
/** @enum {string} */
|
|
134
|
-
|
|
151
|
+
/** @enum {string} */
|
|
152
|
+
kind: "personalizedMailMagazine";
|
|
153
|
+
};
|
|
154
|
+
/** Campaign */
|
|
135
155
|
CampaignBase: {
|
|
136
156
|
id: number;
|
|
137
157
|
title?: string | null;
|
|
138
|
-
status: components["schemas"]["CampaignStatus"];
|
|
158
|
+
status: components["schemas"]["CampaignStatus"];
|
|
159
|
+
/** Format: date-time */
|
|
139
160
|
deliveryAt: string | null;
|
|
140
|
-
lastEditorName: string;
|
|
161
|
+
lastEditorName: string;
|
|
162
|
+
/** Format: date-time */
|
|
141
163
|
lastEditedAt: string;
|
|
142
164
|
};
|
|
143
165
|
CurationMailMagazineCampaign: components["schemas"]["CampaignBase"] & {
|
|
144
|
-
/** @enum {string} */
|
|
166
|
+
/** @enum {string} */
|
|
167
|
+
kind: "curationMailMagazine";
|
|
145
168
|
bodyKind: components["schemas"]["BodyKind"];
|
|
146
169
|
};
|
|
147
170
|
/**
|
|
@@ -152,7 +175,8 @@ interface components {
|
|
|
152
175
|
*/
|
|
153
176
|
PostCampaignsResponse: {
|
|
154
177
|
id: number;
|
|
155
|
-
};
|
|
178
|
+
};
|
|
179
|
+
/** PostCampaignsRequestBody */
|
|
156
180
|
PostCampaignsRequestBody: components["schemas"]["CreateCampaignKindCurationMailMagazineFormData"] | components["schemas"]["CreateCampaignKindPersonalizedMailMagazineFormData"];
|
|
157
181
|
/**
|
|
158
182
|
* CreateCampaignKindCurationMailMagazineFormData
|
|
@@ -162,11 +186,14 @@ interface components {
|
|
|
162
186
|
* }
|
|
163
187
|
*/
|
|
164
188
|
CreateCampaignKindCurationMailMagazineFormData: {
|
|
165
|
-
/** @enum {string} */
|
|
189
|
+
/** @enum {string} */
|
|
190
|
+
kind: "curationMailMagazine";
|
|
166
191
|
bodyKind: components["schemas"]["BodyKind"];
|
|
167
|
-
};
|
|
192
|
+
};
|
|
193
|
+
/** CreateCampaignKindPersonalizedMailMagazineFormData */
|
|
168
194
|
CreateCampaignKindPersonalizedMailMagazineFormData: {
|
|
169
|
-
/** @enum {string} */
|
|
195
|
+
/** @enum {string} */
|
|
196
|
+
kind: "personalizedMailMagazine";
|
|
170
197
|
};
|
|
171
198
|
/**
|
|
172
199
|
* CampaignStatus
|
|
@@ -195,7 +222,8 @@ interface components {
|
|
|
195
222
|
*/
|
|
196
223
|
CampaignsCampaignIdResponse: {
|
|
197
224
|
campaignDetail: components["schemas"]["CampaignDetail"];
|
|
198
|
-
};
|
|
225
|
+
};
|
|
226
|
+
/** CampaignDetail */
|
|
199
227
|
CampaignDetail: components["schemas"]["CampaignDetailWithPersonalizedMailMagazine"] | components["schemas"]["CampaignDetailWithCurationMailMagazine"];
|
|
200
228
|
PatchCampaignsCampaignIdRequestBody: {
|
|
201
229
|
formData: components["schemas"]["CampaignFormData"];
|
|
@@ -261,9 +289,11 @@ interface components {
|
|
|
261
289
|
ConflictingCampaign: {
|
|
262
290
|
id: number;
|
|
263
291
|
title: string | null;
|
|
264
|
-
};
|
|
292
|
+
};
|
|
293
|
+
/** PostCampaignsCampaignIdImagesReqeustBody */
|
|
265
294
|
PostCampaignsCampaignIdImagesReqeustBody: {
|
|
266
|
-
/** Format: binary */
|
|
295
|
+
/** Format: binary */
|
|
296
|
+
image: File | Blob;
|
|
267
297
|
};
|
|
268
298
|
/**
|
|
269
299
|
* CurationMailMagazine_Image
|
|
@@ -343,10 +373,14 @@ interface components {
|
|
|
343
373
|
* }
|
|
344
374
|
*/
|
|
345
375
|
GetTargetUsersCountResponse: {
|
|
346
|
-
/** @description 配信対象人数 */
|
|
347
|
-
|
|
376
|
+
/** @description 配信対象人数 */
|
|
377
|
+
count: number;
|
|
378
|
+
};
|
|
379
|
+
/** TargetFilterSegments */
|
|
348
380
|
TargetFilterSegments: {
|
|
349
|
-
/** @description 行動セグメントコードの配列 */
|
|
381
|
+
/** @description 行動セグメントコードの配列 */
|
|
382
|
+
behaviorSegmentCodes: string[];
|
|
383
|
+
/** @description 属性セグメントコードの配列 */
|
|
350
384
|
profileSegmentCodes: string[];
|
|
351
385
|
};
|
|
352
386
|
/**
|
|
@@ -364,13 +398,21 @@ interface components {
|
|
|
364
398
|
* }
|
|
365
399
|
*/
|
|
366
400
|
Pagination: {
|
|
367
|
-
/** @description 合計ページ */
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
401
|
+
/** @description 合計ページ */
|
|
402
|
+
totalPages: number;
|
|
403
|
+
/** @description 合計件数 */
|
|
404
|
+
totalCount: number;
|
|
405
|
+
/** @description 1ページあたりのレコード数 */
|
|
406
|
+
currentPerPage: number;
|
|
407
|
+
/** @description 現在のページ */
|
|
408
|
+
currentPage: number;
|
|
409
|
+
/** @description 前のページ */
|
|
410
|
+
prevPage: number | null;
|
|
411
|
+
/** @description 次のページ */
|
|
412
|
+
nextPage: number | null;
|
|
413
|
+
/** @description 最初のページかどうか */
|
|
414
|
+
isFirstPage: boolean;
|
|
415
|
+
/** @description 最後のページかどうか */
|
|
374
416
|
isLastPage: boolean;
|
|
375
417
|
};
|
|
376
418
|
/**
|
|
@@ -392,8 +434,10 @@ interface components {
|
|
|
392
434
|
* "status": "draft"
|
|
393
435
|
* }
|
|
394
436
|
*/
|
|
395
|
-
CampaignDetailWithPersonalizedMailMagazine: components["schemas"]["CampaignDetailBase"] & components["schemas"]["CampaignDetailKindDataPersonalizedMailMagazine"];
|
|
396
|
-
|
|
437
|
+
CampaignDetailWithPersonalizedMailMagazine: components["schemas"]["CampaignDetailBase"] & components["schemas"]["CampaignDetailKindDataPersonalizedMailMagazine"];
|
|
438
|
+
/** CampaignDetailWithCurationMailMagazine */
|
|
439
|
+
CampaignDetailWithCurationMailMagazine: components["schemas"]["CampaignDetailBase"] & components["schemas"]["CampaignDetailKindDataCurationMailMagazine"];
|
|
440
|
+
/** CampaignFormData */
|
|
397
441
|
CampaignFormData: components["schemas"]["CampaignWithPersonalizedMailMagazineFormData"] | components["schemas"]["CampaignWithCurationMailMagazineFormData"];
|
|
398
442
|
/**
|
|
399
443
|
* ReadyforProject
|
|
@@ -426,22 +470,30 @@ interface components {
|
|
|
426
470
|
isActive: boolean;
|
|
427
471
|
displayOrder: number | null;
|
|
428
472
|
description: string | null;
|
|
429
|
-
};
|
|
473
|
+
};
|
|
474
|
+
/** CampaignDetailBase */
|
|
430
475
|
CampaignDetailBase: {
|
|
431
476
|
id: number;
|
|
432
477
|
status: components["schemas"]["CampaignStatus"];
|
|
433
|
-
title: string | null;
|
|
478
|
+
title: string | null;
|
|
479
|
+
/** Format: date-time */
|
|
434
480
|
deliveryScheduledAt: string | null;
|
|
435
|
-
};
|
|
481
|
+
};
|
|
482
|
+
/** CampaignDetailKindDataPersonalizedMailMagazine */
|
|
436
483
|
CampaignDetailKindDataPersonalizedMailMagazine: {
|
|
437
|
-
/** @enum {string} */
|
|
484
|
+
/** @enum {string} */
|
|
485
|
+
kind: "personalizedMailMagazine";
|
|
438
486
|
personalizedMailMagazine: components["schemas"]["PersonalizedMailMagazineDetail"];
|
|
439
|
-
};
|
|
487
|
+
};
|
|
488
|
+
/** CampaignDetailKindDataCurationMailMagazine */
|
|
440
489
|
CampaignDetailKindDataCurationMailMagazine: {
|
|
441
|
-
/** @enum {string} */
|
|
490
|
+
/** @enum {string} */
|
|
491
|
+
kind: "curationMailMagazine";
|
|
442
492
|
curationMailMagazine: components["schemas"]["CurationMailMagazineDetail"];
|
|
443
|
-
};
|
|
444
|
-
|
|
493
|
+
};
|
|
494
|
+
/** CampaignWithPersonalizedMailMagazineFormData */
|
|
495
|
+
CampaignWithPersonalizedMailMagazineFormData: components["schemas"]["CampaignBaseFormData"] & components["schemas"]["CampaignKindDataPersonalizedMailMagazineFormData"];
|
|
496
|
+
/** CampaignWithCurationMailMagazineFormData */
|
|
445
497
|
CampaignWithCurationMailMagazineFormData: components["schemas"]["CampaignBaseFormData"] & components["schemas"]["CampaignKindDataCurationMailMagazineFormData"];
|
|
446
498
|
/**
|
|
447
499
|
* PersonalizedMailMagazineDetail
|
|
@@ -453,48 +505,64 @@ interface components {
|
|
|
453
505
|
PersonalizedMailMagazineDetail: {
|
|
454
506
|
utmCampaign: string | null;
|
|
455
507
|
target: components["schemas"]["PersonalizedMailMagazineDetailTarget"] | null;
|
|
456
|
-
};
|
|
457
|
-
|
|
508
|
+
};
|
|
509
|
+
/** CurationMailMagazineDetail */
|
|
510
|
+
CurationMailMagazineDetail: components["schemas"]["CurationMailMagazineDetailBodyKindTemplate"] | components["schemas"]["CurationMailMagazineDetailBodyKindFreeFormat"];
|
|
511
|
+
/** CampaignBaseFormData */
|
|
458
512
|
CampaignBaseFormData: {
|
|
459
|
-
title: string | null;
|
|
513
|
+
title: string | null;
|
|
514
|
+
/** Format: date-time */
|
|
460
515
|
deliveryScheduledAt: string | null;
|
|
461
|
-
};
|
|
516
|
+
};
|
|
517
|
+
/** CampaignKindDataPersonalizedMailMagazineFormData */
|
|
462
518
|
CampaignKindDataPersonalizedMailMagazineFormData: {
|
|
463
|
-
/** @enum {string} */
|
|
519
|
+
/** @enum {string} */
|
|
520
|
+
kind: "personalizedMailMagazine";
|
|
464
521
|
personalizedMailMagazine: components["schemas"]["PersonalizedMailMagazineFormData"];
|
|
465
|
-
};
|
|
522
|
+
};
|
|
523
|
+
/** CampaignKindDataCurationMailMagazineFormData */
|
|
466
524
|
CampaignKindDataCurationMailMagazineFormData: {
|
|
467
|
-
/** @enum {string} */
|
|
525
|
+
/** @enum {string} */
|
|
526
|
+
kind: "curationMailMagazine";
|
|
468
527
|
curationMailMagazine: components["schemas"]["CurationMailMagazineFormData"];
|
|
469
|
-
};
|
|
528
|
+
};
|
|
529
|
+
/** PersonalizedMailMagazineDetailTarget */
|
|
470
530
|
PersonalizedMailMagazineDetailTarget: {
|
|
471
531
|
csvFileName: string;
|
|
472
532
|
targetUsersCount: number;
|
|
473
533
|
excludedUsersCount: number;
|
|
474
|
-
};
|
|
534
|
+
};
|
|
535
|
+
/** CurationMailMagazineDetailBodyKindTemplate */
|
|
475
536
|
CurationMailMagazineDetailBodyKindTemplate: components["schemas"]["CurationMailMagazineDetailBase"] & {
|
|
476
|
-
/** @enum {string} */
|
|
537
|
+
/** @enum {string} */
|
|
538
|
+
bodyKind: "template";
|
|
477
539
|
projects: components["schemas"]["CurationMailMagazineTargetProject"][];
|
|
478
540
|
banners: components["schemas"]["CurationMailMagazineBanner"][];
|
|
479
|
-
};
|
|
541
|
+
};
|
|
542
|
+
/** CurationMailMagazineDetailBodyKindFreeFormat */
|
|
480
543
|
CurationMailMagazineDetailBodyKindFreeFormat: components["schemas"]["CurationMailMagazineDetailBase"] & {
|
|
481
|
-
/** @enum {string} */
|
|
544
|
+
/** @enum {string} */
|
|
545
|
+
bodyKind: "freeFormat";
|
|
482
546
|
htmlBody: string | null;
|
|
483
547
|
htmlStyle: string | null;
|
|
484
548
|
images: components["schemas"]["Image"][];
|
|
485
|
-
};
|
|
549
|
+
};
|
|
550
|
+
/** PersonalizedMailMagazineFormData */
|
|
486
551
|
PersonalizedMailMagazineFormData: {
|
|
487
552
|
utmCampaign: string | null;
|
|
488
553
|
targetCsv: components["schemas"]["PersonalizedMailMagazineTargetCsvFormData"] | null;
|
|
489
|
-
};
|
|
490
|
-
|
|
554
|
+
};
|
|
555
|
+
/** CurationMailMagazineFormData */
|
|
556
|
+
CurationMailMagazineFormData: components["schemas"]["CurationMailMagazineFormDataBodyKindFreeFormat"] | components["schemas"]["CurationMailMagazineFormDataBodyKindTemplate"];
|
|
557
|
+
/** CurationMailMagazineDetailBase */
|
|
491
558
|
CurationMailMagazineDetailBase: {
|
|
492
559
|
utmCampaign: string | null;
|
|
493
560
|
subject: string | null;
|
|
494
561
|
preHeaderText: string | null;
|
|
495
562
|
deliveredUsersCount: number | null;
|
|
496
563
|
targetFilters: components["schemas"]["CurationMailMagazineTargetFilter"][];
|
|
497
|
-
};
|
|
564
|
+
};
|
|
565
|
+
/** CurationMailMagazineTargetProject */
|
|
498
566
|
CurationMailMagazineTargetProject: {
|
|
499
567
|
id: number;
|
|
500
568
|
readyforProjectId: number;
|
|
@@ -505,43 +573,56 @@ interface components {
|
|
|
505
573
|
thumbnailUrl: string | null;
|
|
506
574
|
tag: string | null;
|
|
507
575
|
tagUrl: string | null;
|
|
508
|
-
};
|
|
576
|
+
};
|
|
577
|
+
/** CurationMailMagazineBanner */
|
|
509
578
|
CurationMailMagazineBanner: {
|
|
510
579
|
id: number;
|
|
511
580
|
slotNumber: number;
|
|
512
581
|
imageUrl: string | null;
|
|
513
582
|
url: string | null;
|
|
514
|
-
};
|
|
515
|
-
|
|
583
|
+
};
|
|
584
|
+
/** PersonalizedMailMagazineTargetCsvFormData */
|
|
585
|
+
PersonalizedMailMagazineTargetCsvFormData: components["schemas"]["PersonalizedMailMagazineTargetDeleteCsvFormData"] | components["schemas"]["PersonalizedMailMagazineTargetUploadCsvFormData"];
|
|
586
|
+
/** CurationMailMagazineBannerFormDataBodyKindFreeFormat */
|
|
516
587
|
CurationMailMagazineFormDataBodyKindFreeFormat: components["schemas"]["CurationMailMagazineFormDataBase"] & {
|
|
517
|
-
/** @enum {string} */
|
|
588
|
+
/** @enum {string} */
|
|
589
|
+
bodyKind: "freeFormat";
|
|
518
590
|
htmlBody: string | null;
|
|
519
591
|
htmlStyle: string | null;
|
|
520
|
-
};
|
|
592
|
+
};
|
|
593
|
+
/** CurationMailMagazineFormDataBodyKindTemplate */
|
|
521
594
|
CurationMailMagazineFormDataBodyKindTemplate: components["schemas"]["CurationMailMagazineFormDataBase"] & {
|
|
522
|
-
/** @enum {string} */
|
|
595
|
+
/** @enum {string} */
|
|
596
|
+
bodyKind: "template";
|
|
523
597
|
projects: components["schemas"]["CurationMailMagazineProjectFormData"][];
|
|
524
598
|
banners: components["schemas"]["CurationMailMagazineBannerFormData"][];
|
|
525
|
-
};
|
|
599
|
+
};
|
|
600
|
+
/** CurationMailMagazineTargetFilter */
|
|
526
601
|
CurationMailMagazineTargetFilter: {
|
|
527
602
|
id: number;
|
|
528
603
|
behaviorSegmentCodes: string[];
|
|
529
604
|
profileSegmentCodes: string[];
|
|
530
|
-
};
|
|
605
|
+
};
|
|
606
|
+
/** PersonalizedMailMagazineTargetDeleteCsvFormData */
|
|
531
607
|
PersonalizedMailMagazineTargetDeleteCsvFormData: {
|
|
532
|
-
/** @enum {string} */
|
|
533
|
-
|
|
608
|
+
/** @enum {string} */
|
|
609
|
+
kind: "deleteTargetCsv";
|
|
610
|
+
};
|
|
611
|
+
/** PersonalizedMailMagazineTargetUploadCsvFormData */
|
|
534
612
|
PersonalizedMailMagazineTargetUploadCsvFormData: {
|
|
535
|
-
/** @enum {string} */
|
|
613
|
+
/** @enum {string} */
|
|
614
|
+
kind: "uploadCsv";
|
|
536
615
|
fileName: string;
|
|
537
616
|
records: components["schemas"]["PersonalizedMailMagazineTargetUploadCsvRecordFormData"][];
|
|
538
|
-
};
|
|
617
|
+
};
|
|
618
|
+
/** CurationMailMagazineFormData */
|
|
539
619
|
CurationMailMagazineFormDataBase: {
|
|
540
620
|
utmCampaign: string | null;
|
|
541
621
|
subject: string | null;
|
|
542
622
|
preHeaderText: string | null;
|
|
543
623
|
targetFilters: components["schemas"]["CurationMailMagazineTargetFilterFormData"][];
|
|
544
|
-
};
|
|
624
|
+
};
|
|
625
|
+
/** CurationMailMagazineProjectFormData */
|
|
545
626
|
CurationMailMagazineProjectFormData: {
|
|
546
627
|
id: number | null;
|
|
547
628
|
slotNumber: number;
|
|
@@ -552,7 +633,8 @@ interface components {
|
|
|
552
633
|
thumbnail: components["schemas"]["ImageFormData"] | null;
|
|
553
634
|
tag: string | null;
|
|
554
635
|
tagUrl: string | null;
|
|
555
|
-
};
|
|
636
|
+
};
|
|
637
|
+
/** CurationMailMagazineBannerFormData */
|
|
556
638
|
CurationMailMagazineBannerFormData: {
|
|
557
639
|
id: number | null;
|
|
558
640
|
slotNumber: number;
|
|
@@ -573,19 +655,26 @@ interface components {
|
|
|
573
655
|
PersonalizedMailMagazineTargetUploadCsvRecordFormData: {
|
|
574
656
|
userId: number;
|
|
575
657
|
projectIds: string;
|
|
576
|
-
};
|
|
658
|
+
};
|
|
659
|
+
/** CurationMailMagazineTargetFilterFormData */
|
|
577
660
|
CurationMailMagazineTargetFilterFormData: {
|
|
578
661
|
id: number | null;
|
|
579
662
|
behaviorSegmentCodes: string[];
|
|
580
663
|
profileSegmentCodes: string[];
|
|
581
|
-
};
|
|
582
|
-
|
|
664
|
+
};
|
|
665
|
+
/** ImageFormData */
|
|
666
|
+
ImageFormData: components["schemas"]["UploadImageFormData"] | components["schemas"]["DeleteImageFormData"];
|
|
667
|
+
/** UploadImageFormData */
|
|
583
668
|
UploadImageFormData: {
|
|
584
|
-
/** @enum {string} */
|
|
669
|
+
/** @enum {string} */
|
|
670
|
+
kind: "upload";
|
|
671
|
+
/** Format: binary */
|
|
585
672
|
data: File | Blob;
|
|
586
|
-
};
|
|
673
|
+
};
|
|
674
|
+
/** DeleteImageFormData */
|
|
587
675
|
DeleteImageFormData: {
|
|
588
|
-
/** @enum {string} */
|
|
676
|
+
/** @enum {string} */
|
|
677
|
+
kind: "delete";
|
|
589
678
|
};
|
|
590
679
|
};
|
|
591
680
|
responses: never;
|
|
@@ -610,7 +699,8 @@ interface operations {
|
|
|
610
699
|
};
|
|
611
700
|
};
|
|
612
701
|
responses: {
|
|
613
|
-
/** @description OK */
|
|
702
|
+
/** @description OK */
|
|
703
|
+
200: {
|
|
614
704
|
content: {
|
|
615
705
|
"application/json": components["schemas"]["GetCampaignsResponse"];
|
|
616
706
|
};
|
|
@@ -625,7 +715,8 @@ interface operations {
|
|
|
625
715
|
};
|
|
626
716
|
};
|
|
627
717
|
responses: {
|
|
628
|
-
/** @description Created */
|
|
718
|
+
/** @description Created */
|
|
719
|
+
201: {
|
|
629
720
|
content: {
|
|
630
721
|
"application/json": components["schemas"]["PostCampaignsResponse"];
|
|
631
722
|
};
|
|
@@ -640,7 +731,8 @@ interface operations {
|
|
|
640
731
|
};
|
|
641
732
|
};
|
|
642
733
|
responses: {
|
|
643
|
-
/** @description OK */
|
|
734
|
+
/** @description OK */
|
|
735
|
+
200: {
|
|
644
736
|
content: {
|
|
645
737
|
"application/json": components["schemas"]["CampaignsCampaignIdResponse"];
|
|
646
738
|
};
|
|
@@ -655,7 +747,8 @@ interface operations {
|
|
|
655
747
|
};
|
|
656
748
|
};
|
|
657
749
|
responses: {
|
|
658
|
-
/** @description No Content */
|
|
750
|
+
/** @description No Content */
|
|
751
|
+
204: {
|
|
659
752
|
content: never;
|
|
660
753
|
};
|
|
661
754
|
};
|
|
@@ -673,11 +766,13 @@ interface operations {
|
|
|
673
766
|
};
|
|
674
767
|
};
|
|
675
768
|
responses: {
|
|
676
|
-
/** @description OK */
|
|
769
|
+
/** @description OK */
|
|
770
|
+
200: {
|
|
677
771
|
content: {
|
|
678
772
|
"application/json": components["schemas"]["CampaignsCampaignIdResponse"];
|
|
679
773
|
};
|
|
680
|
-
};
|
|
774
|
+
};
|
|
775
|
+
/** @description Bad Request */
|
|
681
776
|
400: {
|
|
682
777
|
content: {
|
|
683
778
|
"application/json": components["schemas"]["HttpErrorBadRequest"];
|
|
@@ -693,9 +788,11 @@ interface operations {
|
|
|
693
788
|
};
|
|
694
789
|
};
|
|
695
790
|
responses: {
|
|
696
|
-
/** @description Created */
|
|
791
|
+
/** @description Created */
|
|
792
|
+
201: {
|
|
697
793
|
content: never;
|
|
698
|
-
};
|
|
794
|
+
};
|
|
795
|
+
/** @description Bad Request */
|
|
699
796
|
400: {
|
|
700
797
|
content: {
|
|
701
798
|
"application/json": components["schemas"]["HttpErrorBadRequest"];
|
|
@@ -711,9 +808,11 @@ interface operations {
|
|
|
711
808
|
};
|
|
712
809
|
};
|
|
713
810
|
responses: {
|
|
714
|
-
/** @description No Content */
|
|
811
|
+
/** @description No Content */
|
|
812
|
+
204: {
|
|
715
813
|
content: never;
|
|
716
|
-
};
|
|
814
|
+
};
|
|
815
|
+
/** @description Bad Request */
|
|
717
816
|
400: {
|
|
718
817
|
content: {
|
|
719
818
|
"application/json": components["schemas"]["HttpErrorBadRequest"];
|
|
@@ -729,7 +828,8 @@ interface operations {
|
|
|
729
828
|
};
|
|
730
829
|
};
|
|
731
830
|
responses: {
|
|
732
|
-
/** @description OK */
|
|
831
|
+
/** @description OK */
|
|
832
|
+
200: {
|
|
733
833
|
content: {
|
|
734
834
|
"application/json": components["schemas"]["GetCampaignsCampaignIdPreviewResponse"];
|
|
735
835
|
};
|
|
@@ -749,9 +849,11 @@ interface operations {
|
|
|
749
849
|
};
|
|
750
850
|
};
|
|
751
851
|
responses: {
|
|
752
|
-
/** @description Created */
|
|
852
|
+
/** @description Created */
|
|
853
|
+
201: {
|
|
753
854
|
content: never;
|
|
754
|
-
};
|
|
855
|
+
};
|
|
856
|
+
/** @description Bad Request */
|
|
755
857
|
400: {
|
|
756
858
|
content: {
|
|
757
859
|
"application/json": components["schemas"]["HttpErrorBadRequest"];
|
|
@@ -763,14 +865,16 @@ interface operations {
|
|
|
763
865
|
GetCampaignsCampaignIdUtmCampaignConflicts: {
|
|
764
866
|
parameters: {
|
|
765
867
|
query: {
|
|
766
|
-
/** @description チェックしたい utm_campaign の値 */
|
|
868
|
+
/** @description チェックしたい utm_campaign の値 */
|
|
869
|
+
value: string;
|
|
767
870
|
};
|
|
768
871
|
path: {
|
|
769
872
|
id: number;
|
|
770
873
|
};
|
|
771
874
|
};
|
|
772
875
|
responses: {
|
|
773
|
-
/** @description OK */
|
|
876
|
+
/** @description OK */
|
|
877
|
+
200: {
|
|
774
878
|
content: {
|
|
775
879
|
"application/json": components["schemas"]["GetCampaignsCampaignIdUtmCampaignConflictsResponse"];
|
|
776
880
|
};
|
|
@@ -785,7 +889,8 @@ interface operations {
|
|
|
785
889
|
};
|
|
786
890
|
};
|
|
787
891
|
responses: {
|
|
788
|
-
/** @description OK */
|
|
892
|
+
/** @description OK */
|
|
893
|
+
200: {
|
|
789
894
|
content: {
|
|
790
895
|
"application/json": components["schemas"]["GetProjectsProjectIdOrKeywordResponse"];
|
|
791
896
|
};
|
|
@@ -795,7 +900,8 @@ interface operations {
|
|
|
795
900
|
/** 配信先の行動セグメントの一覧を返す */
|
|
796
901
|
GetBehaviorSegments: {
|
|
797
902
|
responses: {
|
|
798
|
-
/** @description OK */
|
|
903
|
+
/** @description OK */
|
|
904
|
+
200: {
|
|
799
905
|
content: {
|
|
800
906
|
"application/json": components["schemas"]["GetBehaviorSegmentsResponse"];
|
|
801
907
|
};
|
|
@@ -805,7 +911,8 @@ interface operations {
|
|
|
805
911
|
/** 配信先の属性セグメントの一覧を返す */
|
|
806
912
|
GetProfileSegments: {
|
|
807
913
|
responses: {
|
|
808
|
-
/** @description OK */
|
|
914
|
+
/** @description OK */
|
|
915
|
+
200: {
|
|
809
916
|
content: {
|
|
810
917
|
"application/json": components["schemas"]["GetProfileSegmentsResponse"];
|
|
811
918
|
};
|
|
@@ -816,11 +923,13 @@ interface operations {
|
|
|
816
923
|
GetTargetUsersCount: {
|
|
817
924
|
parameters: {
|
|
818
925
|
query?: {
|
|
819
|
-
/** @description 配信対象セグメントの配列 */
|
|
926
|
+
/** @description 配信対象セグメントの配列 */
|
|
927
|
+
targetFilters?: components["schemas"]["TargetFilterSegments"][];
|
|
820
928
|
};
|
|
821
929
|
};
|
|
822
930
|
responses: {
|
|
823
|
-
/** @description OK */
|
|
931
|
+
/** @description OK */
|
|
932
|
+
200: {
|
|
824
933
|
content: {
|
|
825
934
|
"application/json": components["schemas"]["GetTargetUsersCountResponse"];
|
|
826
935
|
};
|
package/dist/schemaType.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as paths, i as operations, n as components, o as webhooks, r as external, t as $defs } from "./schemaType-
|
|
1
|
+
import { a as paths, i as operations, n as components, o as webhooks, r as external, t as $defs } from "./schemaType-CE85S8j4.js";
|
|
2
2
|
export { $defs, components, external, operations, paths, webhooks };
|
package/dist/{segmentsBehaviorSegments-BLoTM6gb.d.ts → segmentsBehaviorSegments-DUS9e7nZ.d.ts}
RENAMED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { a as paths } from "./schemaType-
|
|
2
|
-
|
|
1
|
+
import { a as paths } from "./schemaType-CE85S8j4.js";
|
|
3
2
|
//#region src/fetch/segmentsBehaviorSegments.d.ts
|
|
4
3
|
type SegmentsBehaviorSegmentsGetOperation = paths["/api/segments/behavior_segments"]["get"];
|
|
5
4
|
type SegmentsBehaviorSegmentsGetResponse = SegmentsBehaviorSegmentsGetOperation["responses"]["200"]["content"]["application/json"];
|
package/dist/{segmentsProfileSegments-EIFHyFDp.d.ts → segmentsProfileSegments-CYwn6u65.d.ts}
RENAMED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { a as paths } from "./schemaType-
|
|
2
|
-
|
|
1
|
+
import { a as paths } from "./schemaType-CE85S8j4.js";
|
|
3
2
|
//#region src/fetch/segmentsProfileSegments.d.ts
|
|
4
3
|
type SegmentsProfileSegmentsGetOperation = paths["/api/segments/profile_segments"]["get"];
|
|
5
4
|
type SegmentsProfileSegmentsGetResponse = SegmentsProfileSegmentsGetOperation["responses"]["200"]["content"]["application/json"];
|