@readyfor/api-client-pigeon 1.177.0 → 1.178.0-pr1557.a89e9f0
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.ts +66 -1114
- package/dist/components.js +130 -289
- package/dist/components.mjs +65 -224
- package/dist/fetch/campaigns.d.ts +6 -6
- package/dist/fetch/campaigns.js +4 -3
- package/dist/fetch/campaigns.mjs +2 -1
- package/dist/fetch/campaignsId.d.ts +111 -111
- package/dist/fetch/campaignsId.js +3 -3
- package/dist/fetch/campaignsId.mjs +1 -1
- package/dist/fetch/campaignsIdImages.js +2 -2
- package/dist/fetch/campaignsIdImages.mjs +1 -1
- package/dist/fetch/campaignsIdPreview.js +2 -2
- package/dist/fetch/campaignsIdPreview.mjs +1 -1
- package/dist/fetch/campaignsIdUtmCampaignConflicts.js +2 -2
- package/dist/fetch/campaignsIdUtmCampaignConflicts.mjs +1 -1
- package/dist/fetch/projectsProjectIdOrKeyword.js +2 -2
- package/dist/fetch/projectsProjectIdOrKeyword.mjs +1 -1
- package/dist/fetch/segmentsBehaviorSegments.js +2 -2
- package/dist/fetch/segmentsBehaviorSegments.mjs +1 -1
- package/dist/fetch/segmentsProfileSegments.js +2 -2
- package/dist/fetch/segmentsProfileSegments.mjs +1 -1
- package/dist/fetch/segmentsTargetUsersCount.js +2 -2
- package/dist/fetch/segmentsTargetUsersCount.mjs +1 -1
- package/dist/hooks/useCampaigns.d.ts +1 -1
- package/dist/hooks/useCampaigns.js +0 -1
- package/dist/hooks/useCampaigns.mjs +0 -1
- package/dist/hooks/useCampaignsId.d.ts +1 -1
- package/dist/hooks/useCampaignsId.js +0 -1
- package/dist/hooks/useCampaignsId.mjs +0 -1
- package/dist/hooks/useCampaignsIdPreview.d.ts +0 -1
- package/dist/hooks/useCampaignsIdPreview.js +0 -1
- package/dist/hooks/useCampaignsIdPreview.mjs +0 -1
- package/dist/hooks/useCampaignsIdUtmCampaignConflicts.d.ts +1 -1
- package/dist/hooks/useCampaignsIdUtmCampaignConflicts.js +0 -1
- package/dist/hooks/useCampaignsIdUtmCampaignConflicts.mjs +0 -1
- package/dist/hooks/useProjectsProjectIdOrKeyword.d.ts +1 -1
- package/dist/hooks/useProjectsProjectIdOrKeyword.js +0 -1
- package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +0 -1
- package/dist/hooks/useSegmentsBehaviorSegments.d.ts +1 -1
- package/dist/hooks/useSegmentsBehaviorSegments.js +0 -1
- package/dist/hooks/useSegmentsBehaviorSegments.mjs +0 -1
- package/dist/hooks/useSegmentsProfileSegments.d.ts +1 -1
- package/dist/hooks/useSegmentsProfileSegments.js +0 -1
- package/dist/hooks/useSegmentsProfileSegments.mjs +0 -1
- package/dist/hooks/useSegmentsTargetUsersCount.d.ts +0 -1
- package/dist/hooks/useSegmentsTargetUsersCount.js +0 -1
- package/dist/hooks/useSegmentsTargetUsersCount.mjs +0 -1
- package/dist/index.d.ts +66 -1
- package/dist/index.js +131 -66
- package/dist/index.mjs +66 -1
- package/dist/schemas/BodyKind.d.ts +2 -0
- package/dist/schemas/BodyKind.js +5 -0
- package/dist/schemas/BodyKind.mjs +4 -0
- package/dist/schemas/Campaign.d.ts +21 -0
- package/dist/schemas/Campaign.js +6 -0
- package/dist/schemas/Campaign.mjs +6 -0
- package/dist/schemas/CampaignBase.d.ts +9 -0
- package/dist/schemas/CampaignBase.js +13 -0
- package/dist/schemas/CampaignBase.mjs +12 -0
- package/dist/schemas/CampaignBaseFormData.d.ts +5 -0
- package/dist/schemas/CampaignBaseFormData.js +8 -0
- package/dist/schemas/CampaignBaseFormData.mjs +7 -0
- package/dist/schemas/CampaignDetail.d.ts +72 -0
- package/dist/schemas/CampaignDetail.js +6 -0
- package/dist/schemas/CampaignDetail.mjs +6 -0
- package/dist/schemas/CampaignDetailBase.d.ts +7 -0
- package/dist/schemas/CampaignDetailBase.js +11 -0
- package/dist/schemas/CampaignDetailBase.mjs +10 -0
- package/dist/schemas/CampaignDetailKindDataCurationMailMagazine.d.ts +52 -0
- package/dist/schemas/CampaignDetailKindDataCurationMailMagazine.js +9 -0
- package/dist/schemas/CampaignDetailKindDataCurationMailMagazine.mjs +8 -0
- package/dist/schemas/CampaignDetailKindDataPersonalizedMailMagazine.d.ts +12 -0
- package/dist/schemas/CampaignDetailKindDataPersonalizedMailMagazine.js +9 -0
- package/dist/schemas/CampaignDetailKindDataPersonalizedMailMagazine.mjs +8 -0
- package/dist/schemas/CampaignDetailWithCurationMailMagazine.d.ts +57 -0
- package/dist/schemas/CampaignDetailWithCurationMailMagazine.js +6 -0
- package/dist/schemas/CampaignDetailWithCurationMailMagazine.mjs +6 -0
- package/dist/schemas/CampaignDetailWithPersonalizedMailMagazine.d.ts +17 -0
- package/dist/schemas/CampaignDetailWithPersonalizedMailMagazine.js +6 -0
- package/dist/schemas/CampaignDetailWithPersonalizedMailMagazine.mjs +6 -0
- package/dist/schemas/CampaignFormData.d.ts +77 -0
- package/dist/schemas/CampaignFormData.js +6 -0
- package/dist/schemas/CampaignFormData.mjs +6 -0
- package/dist/schemas/CampaignKind.d.ts +2 -0
- package/dist/schemas/CampaignKind.js +5 -0
- package/dist/schemas/CampaignKind.mjs +4 -0
- package/dist/schemas/CampaignKindDataCurationMailMagazineFormData.d.ts +56 -0
- package/dist/schemas/CampaignKindDataCurationMailMagazineFormData.js +9 -0
- package/dist/schemas/CampaignKindDataCurationMailMagazineFormData.mjs +8 -0
- package/dist/schemas/CampaignKindDataPersonalizedMailMagazineFormData.d.ts +17 -0
- package/dist/schemas/CampaignKindDataPersonalizedMailMagazineFormData.js +9 -0
- package/dist/schemas/CampaignKindDataPersonalizedMailMagazineFormData.mjs +8 -0
- package/dist/schemas/CampaignStatus.d.ts +2 -0
- package/dist/schemas/CampaignStatus.js +11 -0
- package/dist/schemas/CampaignStatus.mjs +10 -0
- package/dist/schemas/CampaignWithCurationMailMagazineFormData.d.ts +59 -0
- package/dist/schemas/CampaignWithCurationMailMagazineFormData.js +6 -0
- package/dist/schemas/CampaignWithCurationMailMagazineFormData.mjs +6 -0
- package/dist/schemas/CampaignWithPersonalizedMailMagazineFormData.d.ts +20 -0
- package/dist/schemas/CampaignWithPersonalizedMailMagazineFormData.js +6 -0
- package/dist/schemas/CampaignWithPersonalizedMailMagazineFormData.mjs +6 -0
- package/dist/schemas/CampaignsCampaignIdResponse.d.ts +74 -0
- package/dist/schemas/CampaignsCampaignIdResponse.js +5 -0
- package/dist/schemas/CampaignsCampaignIdResponse.mjs +5 -0
- package/dist/schemas/ConflictingCampaign.d.ts +5 -0
- package/dist/schemas/ConflictingCampaign.js +8 -0
- package/dist/schemas/ConflictingCampaign.mjs +7 -0
- package/dist/schemas/CreateCampaignKindCurationMailMagazineFormData.d.ts +5 -0
- package/dist/schemas/CreateCampaignKindCurationMailMagazineFormData.js +9 -0
- package/dist/schemas/CreateCampaignKindCurationMailMagazineFormData.mjs +8 -0
- package/dist/schemas/CreateCampaignKindPersonalizedMailMagazineFormData.d.ts +4 -0
- package/dist/schemas/CreateCampaignKindPersonalizedMailMagazineFormData.js +5 -0
- package/dist/schemas/CreateCampaignKindPersonalizedMailMagazineFormData.mjs +4 -0
- package/dist/schemas/CurationMailMagazineBanner.d.ts +7 -0
- package/dist/schemas/CurationMailMagazineBanner.js +10 -0
- package/dist/schemas/CurationMailMagazineBanner.mjs +9 -0
- package/dist/schemas/CurationMailMagazineBannerFormData.d.ts +12 -0
- package/dist/schemas/CurationMailMagazineBannerFormData.js +11 -0
- package/dist/schemas/CurationMailMagazineBannerFormData.mjs +10 -0
- package/dist/schemas/CurationMailMagazineCampaign.d.ts +12 -0
- package/dist/schemas/CurationMailMagazineCampaign.js +10 -0
- package/dist/schemas/CurationMailMagazineCampaign.mjs +9 -0
- package/dist/schemas/CurationMailMagazineDetail.d.ts +49 -0
- package/dist/schemas/CurationMailMagazineDetail.js +6 -0
- package/dist/schemas/CurationMailMagazineDetail.mjs +6 -0
- package/dist/schemas/CurationMailMagazineDetailBase.d.ts +12 -0
- package/dist/schemas/CurationMailMagazineDetailBase.js +12 -0
- package/dist/schemas/CurationMailMagazineDetailBase.mjs +11 -0
- package/dist/schemas/CurationMailMagazineDetailBodyKindFreeFormat.d.ts +20 -0
- package/dist/schemas/CurationMailMagazineDetailBodyKindFreeFormat.js +12 -0
- package/dist/schemas/CurationMailMagazineDetailBodyKindFreeFormat.mjs +11 -0
- package/dist/schemas/CurationMailMagazineDetailBodyKindTemplate.d.ts +31 -0
- package/dist/schemas/CurationMailMagazineDetailBodyKindTemplate.js +12 -0
- package/dist/schemas/CurationMailMagazineDetailBodyKindTemplate.mjs +11 -0
- package/dist/schemas/CurationMailMagazineFormData.d.ts +53 -0
- package/dist/schemas/CurationMailMagazineFormData.js +6 -0
- package/dist/schemas/CurationMailMagazineFormData.mjs +6 -0
- package/dist/schemas/CurationMailMagazineFormDataBase.d.ts +11 -0
- package/dist/schemas/CurationMailMagazineFormDataBase.js +11 -0
- package/dist/schemas/CurationMailMagazineFormDataBase.mjs +10 -0
- package/dist/schemas/CurationMailMagazineFormDataBodyKindFreeFormat.d.ts +15 -0
- package/dist/schemas/CurationMailMagazineFormDataBodyKindFreeFormat.js +10 -0
- package/dist/schemas/CurationMailMagazineFormDataBodyKindFreeFormat.mjs +9 -0
- package/dist/schemas/CurationMailMagazineFormDataBodyKindTemplate.d.ts +40 -0
- package/dist/schemas/CurationMailMagazineFormDataBodyKindTemplate.js +12 -0
- package/dist/schemas/CurationMailMagazineFormDataBodyKindTemplate.mjs +11 -0
- package/dist/schemas/CurationMailMagazineProjectFormData.d.ts +17 -0
- package/dist/schemas/CurationMailMagazineProjectFormData.js +16 -0
- package/dist/schemas/CurationMailMagazineProjectFormData.mjs +15 -0
- package/dist/schemas/CurationMailMagazineTargetFilter.d.ts +6 -0
- package/dist/schemas/CurationMailMagazineTargetFilter.js +9 -0
- package/dist/schemas/CurationMailMagazineTargetFilter.mjs +8 -0
- package/dist/schemas/CurationMailMagazineTargetFilterFormData.d.ts +6 -0
- package/dist/schemas/CurationMailMagazineTargetFilterFormData.js +9 -0
- package/dist/schemas/CurationMailMagazineTargetFilterFormData.mjs +8 -0
- package/dist/schemas/CurationMailMagazineTargetProject.d.ts +12 -0
- package/dist/schemas/CurationMailMagazineTargetProject.js +15 -0
- package/dist/schemas/CurationMailMagazineTargetProject.mjs +14 -0
- package/dist/schemas/DeleteImageFormData.d.ts +4 -0
- package/dist/schemas/DeleteImageFormData.js +5 -0
- package/dist/schemas/DeleteImageFormData.mjs +4 -0
- package/dist/schemas/GetBehaviorSegmentsResponse.d.ts +10 -0
- package/dist/schemas/GetBehaviorSegmentsResponse.js +6 -0
- package/dist/schemas/GetBehaviorSegmentsResponse.mjs +5 -0
- package/dist/schemas/GetCampaignsCampaignIdPreviewResponse.d.ts +4 -0
- package/dist/schemas/GetCampaignsCampaignIdPreviewResponse.js +5 -0
- package/dist/schemas/GetCampaignsCampaignIdPreviewResponse.mjs +4 -0
- package/dist/schemas/GetCampaignsCampaignIdUtmCampaignConflictsResponse.d.ts +7 -0
- package/dist/schemas/GetCampaignsCampaignIdUtmCampaignConflictsResponse.js +6 -0
- package/dist/schemas/GetCampaignsCampaignIdUtmCampaignConflictsResponse.mjs +5 -0
- package/dist/schemas/GetCampaignsResponse.d.ts +33 -0
- package/dist/schemas/GetCampaignsResponse.js +10 -0
- package/dist/schemas/GetCampaignsResponse.mjs +9 -0
- package/dist/schemas/GetProfileSegmentsResponse.d.ts +10 -0
- package/dist/schemas/GetProfileSegmentsResponse.js +6 -0
- package/dist/schemas/GetProfileSegmentsResponse.mjs +5 -0
- package/dist/schemas/GetProjectsProjectIdOrKeywordResponse.d.ts +9 -0
- package/dist/schemas/GetProjectsProjectIdOrKeywordResponse.js +5 -0
- package/dist/schemas/GetProjectsProjectIdOrKeywordResponse.mjs +5 -0
- package/dist/schemas/GetTargetUsersCountResponse.d.ts +4 -0
- package/dist/schemas/GetTargetUsersCountResponse.js +5 -0
- package/dist/schemas/GetTargetUsersCountResponse.mjs +4 -0
- package/dist/schemas/HttpErrorBadRequest.d.ts +4 -0
- package/dist/schemas/HttpErrorBadRequest.js +5 -0
- package/dist/schemas/HttpErrorBadRequest.mjs +4 -0
- package/dist/schemas/Image.d.ts +5 -0
- package/dist/schemas/Image.js +8 -0
- package/dist/schemas/Image.mjs +7 -0
- package/dist/schemas/ImageFormData.d.ts +7 -0
- package/dist/schemas/ImageFormData.js +6 -0
- package/dist/schemas/ImageFormData.mjs +6 -0
- package/dist/schemas/Pagination.d.ts +11 -0
- package/dist/schemas/Pagination.js +14 -0
- package/dist/schemas/Pagination.mjs +13 -0
- package/dist/schemas/PatchCampaignsCampaignIdRequestBody.d.ts +79 -0
- package/dist/schemas/PatchCampaignsCampaignIdRequestBody.js +5 -0
- package/dist/schemas/PatchCampaignsCampaignIdRequestBody.mjs +5 -0
- package/dist/schemas/PersonalizedMailMagazineCampaign.d.ts +11 -0
- package/dist/schemas/PersonalizedMailMagazineCampaign.js +6 -0
- package/dist/schemas/PersonalizedMailMagazineCampaign.mjs +5 -0
- package/dist/schemas/PersonalizedMailMagazineDetail.d.ts +9 -0
- package/dist/schemas/PersonalizedMailMagazineDetail.js +9 -0
- package/dist/schemas/PersonalizedMailMagazineDetail.mjs +8 -0
- package/dist/schemas/PersonalizedMailMagazineDetailTarget.d.ts +6 -0
- package/dist/schemas/PersonalizedMailMagazineDetailTarget.js +9 -0
- package/dist/schemas/PersonalizedMailMagazineDetailTarget.mjs +8 -0
- package/dist/schemas/PersonalizedMailMagazineFormData.d.ts +14 -0
- package/dist/schemas/PersonalizedMailMagazineFormData.js +9 -0
- package/dist/schemas/PersonalizedMailMagazineFormData.mjs +8 -0
- package/dist/schemas/PersonalizedMailMagazineTargetCsvFormData.d.ts +11 -0
- package/dist/schemas/PersonalizedMailMagazineTargetCsvFormData.js +6 -0
- package/dist/schemas/PersonalizedMailMagazineTargetCsvFormData.mjs +6 -0
- package/dist/schemas/PersonalizedMailMagazineTargetDeleteCsvFormData.d.ts +4 -0
- package/dist/schemas/PersonalizedMailMagazineTargetDeleteCsvFormData.js +5 -0
- package/dist/schemas/PersonalizedMailMagazineTargetDeleteCsvFormData.mjs +4 -0
- package/dist/schemas/PersonalizedMailMagazineTargetUploadCsvFormData.d.ts +9 -0
- package/dist/schemas/PersonalizedMailMagazineTargetUploadCsvFormData.js +10 -0
- package/dist/schemas/PersonalizedMailMagazineTargetUploadCsvFormData.mjs +9 -0
- package/dist/schemas/PersonalizedMailMagazineTargetUploadCsvRecordFormData.d.ts +5 -0
- package/dist/schemas/PersonalizedMailMagazineTargetUploadCsvRecordFormData.js +8 -0
- package/dist/schemas/PersonalizedMailMagazineTargetUploadCsvRecordFormData.mjs +7 -0
- package/dist/schemas/PostCampaignsCampaignIdImagesReqeustBody.d.ts +4 -0
- package/dist/schemas/PostCampaignsCampaignIdImagesReqeustBody.js +5 -0
- package/dist/schemas/PostCampaignsCampaignIdImagesReqeustBody.mjs +4 -0
- package/dist/schemas/PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody.d.ts +4 -0
- package/dist/schemas/PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody.js +5 -0
- package/dist/schemas/PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody.mjs +4 -0
- package/dist/schemas/PostCampaignsRequestBody.d.ts +7 -0
- package/dist/schemas/PostCampaignsRequestBody.js +6 -0
- package/dist/schemas/PostCampaignsRequestBody.mjs +6 -0
- package/dist/schemas/PostCampaignsResponse.d.ts +4 -0
- package/dist/schemas/PostCampaignsResponse.js +5 -0
- package/dist/schemas/PostCampaignsResponse.mjs +4 -0
- package/dist/schemas/ReadyforProject.d.ts +7 -0
- package/dist/schemas/ReadyforProject.js +10 -0
- package/dist/schemas/ReadyforProject.mjs +9 -0
- package/dist/schemas/Segment.d.ts +8 -0
- package/dist/schemas/Segment.js +11 -0
- package/dist/schemas/Segment.mjs +10 -0
- package/dist/schemas/TargetFilterSegments.d.ts +5 -0
- package/dist/schemas/TargetFilterSegments.js +8 -0
- package/dist/schemas/TargetFilterSegments.mjs +7 -0
- package/dist/schemas/UploadImageFormData.d.ts +5 -0
- package/dist/schemas/UploadImageFormData.js +8 -0
- package/dist/schemas/UploadImageFormData.mjs +7 -0
- package/package.json +4 -3
|
@@ -8,6 +8,21 @@ export declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit, opt
|
|
|
8
8
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
9
9
|
title: string | null;
|
|
10
10
|
deliveryScheduledAt: string | null;
|
|
11
|
+
} & {
|
|
12
|
+
kind: "personalizedMailMagazine";
|
|
13
|
+
personalizedMailMagazine: {
|
|
14
|
+
utmCampaign: string | null;
|
|
15
|
+
target: {
|
|
16
|
+
csvFileName: string;
|
|
17
|
+
targetUsersCount: number;
|
|
18
|
+
excludedUsersCount: number;
|
|
19
|
+
} | null;
|
|
20
|
+
};
|
|
21
|
+
}) | ({
|
|
22
|
+
id: number;
|
|
23
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
24
|
+
title: string | null;
|
|
25
|
+
deliveryScheduledAt: string | null;
|
|
11
26
|
} & {
|
|
12
27
|
kind: "curationMailMagazine";
|
|
13
28
|
curationMailMagazine: ({
|
|
@@ -20,24 +35,6 @@ export declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit, opt
|
|
|
20
35
|
behaviorSegmentCodes: string[];
|
|
21
36
|
profileSegmentCodes: string[];
|
|
22
37
|
}[];
|
|
23
|
-
} & {
|
|
24
|
-
bodyKind: "freeFormat";
|
|
25
|
-
htmlBody: string | null;
|
|
26
|
-
htmlStyle: string | null;
|
|
27
|
-
images: {
|
|
28
|
-
id: number;
|
|
29
|
-
key: string;
|
|
30
|
-
}[];
|
|
31
|
-
}) | ({
|
|
32
|
-
utmCampaign: string | null;
|
|
33
|
-
subject: string | null;
|
|
34
|
-
preHeaderText: string | null;
|
|
35
|
-
deliveredUsersCount: number | null;
|
|
36
|
-
targetFilters: {
|
|
37
|
-
id: number;
|
|
38
|
-
behaviorSegmentCodes: string[];
|
|
39
|
-
profileSegmentCodes: string[];
|
|
40
|
-
}[];
|
|
41
38
|
} & {
|
|
42
39
|
bodyKind: "template";
|
|
43
40
|
projects: {
|
|
@@ -57,8 +54,30 @@ export declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit, opt
|
|
|
57
54
|
imageUrl: string | null;
|
|
58
55
|
url: string | null;
|
|
59
56
|
}[];
|
|
57
|
+
}) | ({
|
|
58
|
+
utmCampaign: string | null;
|
|
59
|
+
subject: string | null;
|
|
60
|
+
preHeaderText: string | null;
|
|
61
|
+
deliveredUsersCount: number | null;
|
|
62
|
+
targetFilters: {
|
|
63
|
+
id: number;
|
|
64
|
+
behaviorSegmentCodes: string[];
|
|
65
|
+
profileSegmentCodes: string[];
|
|
66
|
+
}[];
|
|
67
|
+
} & {
|
|
68
|
+
bodyKind: "freeFormat";
|
|
69
|
+
htmlBody: string | null;
|
|
70
|
+
htmlStyle: string | null;
|
|
71
|
+
images: {
|
|
72
|
+
id: number;
|
|
73
|
+
key: string;
|
|
74
|
+
}[];
|
|
60
75
|
});
|
|
61
|
-
})
|
|
76
|
+
});
|
|
77
|
+
}>;
|
|
78
|
+
export type CampaignsIdGetPath = ForceDig<CampaignsIdGetOperation, ["parameters", "path"]>;
|
|
79
|
+
export declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
80
|
+
campaignDetail: ({
|
|
62
81
|
id: number;
|
|
63
82
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
64
83
|
title: string | null;
|
|
@@ -73,11 +92,7 @@ export declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit, opt
|
|
|
73
92
|
excludedUsersCount: number;
|
|
74
93
|
} | null;
|
|
75
94
|
};
|
|
76
|
-
})
|
|
77
|
-
}>;
|
|
78
|
-
export type CampaignsIdGetPath = ForceDig<CampaignsIdGetOperation, ["parameters", "path"]>;
|
|
79
|
-
export declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
80
|
-
campaignDetail: ({
|
|
95
|
+
}) | ({
|
|
81
96
|
id: number;
|
|
82
97
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
83
98
|
title: string | null;
|
|
@@ -94,24 +109,6 @@ export declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestIni
|
|
|
94
109
|
behaviorSegmentCodes: string[];
|
|
95
110
|
profileSegmentCodes: string[];
|
|
96
111
|
}[];
|
|
97
|
-
} & {
|
|
98
|
-
bodyKind: "freeFormat";
|
|
99
|
-
htmlBody: string | null;
|
|
100
|
-
htmlStyle: string | null;
|
|
101
|
-
images: {
|
|
102
|
-
id: number;
|
|
103
|
-
key: string;
|
|
104
|
-
}[];
|
|
105
|
-
}) | ({
|
|
106
|
-
utmCampaign: string | null;
|
|
107
|
-
subject: string | null;
|
|
108
|
-
preHeaderText: string | null;
|
|
109
|
-
deliveredUsersCount: number | null;
|
|
110
|
-
targetFilters: {
|
|
111
|
-
id: number;
|
|
112
|
-
behaviorSegmentCodes: string[];
|
|
113
|
-
profileSegmentCodes: string[];
|
|
114
|
-
}[];
|
|
115
112
|
} & {
|
|
116
113
|
bodyKind: "template";
|
|
117
114
|
projects: {
|
|
@@ -131,8 +128,35 @@ export declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestIni
|
|
|
131
128
|
imageUrl: string | null;
|
|
132
129
|
url: string | null;
|
|
133
130
|
}[];
|
|
131
|
+
}) | ({
|
|
132
|
+
utmCampaign: string | null;
|
|
133
|
+
subject: string | null;
|
|
134
|
+
preHeaderText: string | null;
|
|
135
|
+
deliveredUsersCount: number | null;
|
|
136
|
+
targetFilters: {
|
|
137
|
+
id: number;
|
|
138
|
+
behaviorSegmentCodes: string[];
|
|
139
|
+
profileSegmentCodes: string[];
|
|
140
|
+
}[];
|
|
141
|
+
} & {
|
|
142
|
+
bodyKind: "freeFormat";
|
|
143
|
+
htmlBody: string | null;
|
|
144
|
+
htmlStyle: string | null;
|
|
145
|
+
images: {
|
|
146
|
+
id: number;
|
|
147
|
+
key: string;
|
|
148
|
+
}[];
|
|
134
149
|
});
|
|
135
|
-
})
|
|
150
|
+
});
|
|
151
|
+
}>;
|
|
152
|
+
type CampaignsIdDeleteOperation = paths["/api/campaigns/{id}"]["delete"];
|
|
153
|
+
export declare const buildCampaignsIdDeleteFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
154
|
+
export type CampaignsIdDeletePath = ForceDig<CampaignsIdDeleteOperation, ["parameters", "path"]>;
|
|
155
|
+
export declare const deleteCampaignsId: (path: CampaignsIdDeletePath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
|
|
156
|
+
type CampaignsIdPatchOperation = paths["/api/campaigns/{id}"]["patch"];
|
|
157
|
+
export type CampaignsIdPatchResponse = CampaignsIdPatchOperation["responses"]["200"]["content"]["application/json"];
|
|
158
|
+
export declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
159
|
+
campaignDetail: ({
|
|
136
160
|
id: number;
|
|
137
161
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
138
162
|
title: string | null;
|
|
@@ -147,16 +171,7 @@ export declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestIni
|
|
|
147
171
|
excludedUsersCount: number;
|
|
148
172
|
} | null;
|
|
149
173
|
};
|
|
150
|
-
})
|
|
151
|
-
}>;
|
|
152
|
-
type CampaignsIdDeleteOperation = paths["/api/campaigns/{id}"]["delete"];
|
|
153
|
-
export declare const buildCampaignsIdDeleteFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
154
|
-
export type CampaignsIdDeletePath = ForceDig<CampaignsIdDeleteOperation, ["parameters", "path"]>;
|
|
155
|
-
export declare const deleteCampaignsId: (path: CampaignsIdDeletePath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
|
|
156
|
-
type CampaignsIdPatchOperation = paths["/api/campaigns/{id}"]["patch"];
|
|
157
|
-
export type CampaignsIdPatchResponse = CampaignsIdPatchOperation["responses"]["200"]["content"]["application/json"];
|
|
158
|
-
export declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
159
|
-
campaignDetail: ({
|
|
174
|
+
}) | ({
|
|
160
175
|
id: number;
|
|
161
176
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
162
177
|
title: string | null;
|
|
@@ -173,24 +188,6 @@ export declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit, o
|
|
|
173
188
|
behaviorSegmentCodes: string[];
|
|
174
189
|
profileSegmentCodes: string[];
|
|
175
190
|
}[];
|
|
176
|
-
} & {
|
|
177
|
-
bodyKind: "freeFormat";
|
|
178
|
-
htmlBody: string | null;
|
|
179
|
-
htmlStyle: string | null;
|
|
180
|
-
images: {
|
|
181
|
-
id: number;
|
|
182
|
-
key: string;
|
|
183
|
-
}[];
|
|
184
|
-
}) | ({
|
|
185
|
-
utmCampaign: string | null;
|
|
186
|
-
subject: string | null;
|
|
187
|
-
preHeaderText: string | null;
|
|
188
|
-
deliveredUsersCount: number | null;
|
|
189
|
-
targetFilters: {
|
|
190
|
-
id: number;
|
|
191
|
-
behaviorSegmentCodes: string[];
|
|
192
|
-
profileSegmentCodes: string[];
|
|
193
|
-
}[];
|
|
194
191
|
} & {
|
|
195
192
|
bodyKind: "template";
|
|
196
193
|
projects: {
|
|
@@ -210,8 +207,31 @@ export declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit, o
|
|
|
210
207
|
imageUrl: string | null;
|
|
211
208
|
url: string | null;
|
|
212
209
|
}[];
|
|
210
|
+
}) | ({
|
|
211
|
+
utmCampaign: string | null;
|
|
212
|
+
subject: string | null;
|
|
213
|
+
preHeaderText: string | null;
|
|
214
|
+
deliveredUsersCount: number | null;
|
|
215
|
+
targetFilters: {
|
|
216
|
+
id: number;
|
|
217
|
+
behaviorSegmentCodes: string[];
|
|
218
|
+
profileSegmentCodes: string[];
|
|
219
|
+
}[];
|
|
220
|
+
} & {
|
|
221
|
+
bodyKind: "freeFormat";
|
|
222
|
+
htmlBody: string | null;
|
|
223
|
+
htmlStyle: string | null;
|
|
224
|
+
images: {
|
|
225
|
+
id: number;
|
|
226
|
+
key: string;
|
|
227
|
+
}[];
|
|
213
228
|
});
|
|
214
|
-
})
|
|
229
|
+
});
|
|
230
|
+
}>;
|
|
231
|
+
export type CampaignsIdPatchPath = ForceDig<CampaignsIdPatchOperation, ["parameters", "path"]>;
|
|
232
|
+
export type CampaignsIdPatchRequestBody = ForceDig<CampaignsIdPatchOperation, ["requestBody", "content", "multipart/form-data"]>;
|
|
233
|
+
export declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormData, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
234
|
+
campaignDetail: ({
|
|
215
235
|
id: number;
|
|
216
236
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
217
237
|
title: string | null;
|
|
@@ -226,12 +246,7 @@ export declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit, o
|
|
|
226
246
|
excludedUsersCount: number;
|
|
227
247
|
} | null;
|
|
228
248
|
};
|
|
229
|
-
})
|
|
230
|
-
}>;
|
|
231
|
-
export type CampaignsIdPatchPath = ForceDig<CampaignsIdPatchOperation, ["parameters", "path"]>;
|
|
232
|
-
export type CampaignsIdPatchRequestBody = ForceDig<CampaignsIdPatchOperation, ["requestBody", "content", "multipart/form-data"]>;
|
|
233
|
-
export declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormData, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
234
|
-
campaignDetail: ({
|
|
249
|
+
}) | ({
|
|
235
250
|
id: number;
|
|
236
251
|
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
237
252
|
title: string | null;
|
|
@@ -248,24 +263,6 @@ export declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody:
|
|
|
248
263
|
behaviorSegmentCodes: string[];
|
|
249
264
|
profileSegmentCodes: string[];
|
|
250
265
|
}[];
|
|
251
|
-
} & {
|
|
252
|
-
bodyKind: "freeFormat";
|
|
253
|
-
htmlBody: string | null;
|
|
254
|
-
htmlStyle: string | null;
|
|
255
|
-
images: {
|
|
256
|
-
id: number;
|
|
257
|
-
key: string;
|
|
258
|
-
}[];
|
|
259
|
-
}) | ({
|
|
260
|
-
utmCampaign: string | null;
|
|
261
|
-
subject: string | null;
|
|
262
|
-
preHeaderText: string | null;
|
|
263
|
-
deliveredUsersCount: number | null;
|
|
264
|
-
targetFilters: {
|
|
265
|
-
id: number;
|
|
266
|
-
behaviorSegmentCodes: string[];
|
|
267
|
-
profileSegmentCodes: string[];
|
|
268
|
-
}[];
|
|
269
266
|
} & {
|
|
270
267
|
bodyKind: "template";
|
|
271
268
|
projects: {
|
|
@@ -285,22 +282,25 @@ export declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody:
|
|
|
285
282
|
imageUrl: string | null;
|
|
286
283
|
url: string | null;
|
|
287
284
|
}[];
|
|
288
|
-
})
|
|
289
|
-
}) | ({
|
|
290
|
-
id: number;
|
|
291
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
292
|
-
title: string | null;
|
|
293
|
-
deliveryScheduledAt: string | null;
|
|
294
|
-
} & {
|
|
295
|
-
kind: "personalizedMailMagazine";
|
|
296
|
-
personalizedMailMagazine: {
|
|
285
|
+
}) | ({
|
|
297
286
|
utmCampaign: string | null;
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
287
|
+
subject: string | null;
|
|
288
|
+
preHeaderText: string | null;
|
|
289
|
+
deliveredUsersCount: number | null;
|
|
290
|
+
targetFilters: {
|
|
291
|
+
id: number;
|
|
292
|
+
behaviorSegmentCodes: string[];
|
|
293
|
+
profileSegmentCodes: string[];
|
|
294
|
+
}[];
|
|
295
|
+
} & {
|
|
296
|
+
bodyKind: "freeFormat";
|
|
297
|
+
htmlBody: string | null;
|
|
298
|
+
htmlStyle: string | null;
|
|
299
|
+
images: {
|
|
300
|
+
id: number;
|
|
301
|
+
key: string;
|
|
302
|
+
}[];
|
|
303
|
+
});
|
|
304
304
|
});
|
|
305
305
|
}>;
|
|
306
306
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_schemas_CampaignsCampaignIdResponse = require("../schemas/CampaignsCampaignIdResponse.js");
|
|
3
3
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
4
4
|
// src/fetch/campaignsId.ts
|
|
5
|
-
const buildCampaignsIdGetFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(
|
|
5
|
+
const buildCampaignsIdGetFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(require_schemas_CampaignsCampaignIdResponse.CampaignsCampaignIdResponse, { ...requestInit }, options);
|
|
6
6
|
const getCampaignsId = (path, customRequestInit, options) => {
|
|
7
7
|
const requestInfo = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/campaigns/{id}", { path });
|
|
8
8
|
const requestInit = (0, _readyfor_api_client_base.buildRequestInitWithDefaultConfig)((0, _readyfor_api_client_base.mergeRequestInit)(customRequestInit ?? {}, { method: "GET" }));
|
|
@@ -14,7 +14,7 @@ const deleteCampaignsId = (path, customRequestInit, options) => {
|
|
|
14
14
|
const requestInit = (0, _readyfor_api_client_base.buildRequestInitWithDefaultConfig)((0, _readyfor_api_client_base.mergeRequestInit)(customRequestInit ?? {}, { method: "DELETE" }));
|
|
15
15
|
return buildCampaignsIdDeleteFetcher(requestInit, options)(requestInfo);
|
|
16
16
|
};
|
|
17
|
-
const buildCampaignsIdPatchFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(
|
|
17
|
+
const buildCampaignsIdPatchFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(require_schemas_CampaignsCampaignIdResponse.CampaignsCampaignIdResponse, { ...requestInit }, options);
|
|
18
18
|
const patchCampaignsId = (path, requestBody, customRequestInit, options) => {
|
|
19
19
|
const requestInfo = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/campaigns/{id}", { path });
|
|
20
20
|
const requestInit = (0, _readyfor_api_client_base.buildRequestInitWithDefaultConfig)((0, _readyfor_api_client_base.mergeRequestInit)(customRequestInit ?? {}, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CampaignsCampaignIdResponse } from "../
|
|
1
|
+
import { CampaignsCampaignIdResponse } from "../schemas/CampaignsCampaignIdResponse.mjs";
|
|
2
2
|
import { __internal__requestUrl, buildRequestInitWithDefaultConfig, createJsonFetcher, createVoidFetcher, mergeRequestInit } from "@readyfor/api-client-base";
|
|
3
3
|
// src/fetch/campaignsId.ts
|
|
4
4
|
const buildCampaignsIdGetFetcher = (requestInit, options) => createJsonFetcher(CampaignsCampaignIdResponse, { ...requestInit }, options);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_schemas_Image = require("../schemas/Image.js");
|
|
3
3
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
4
4
|
// src/fetch/campaignsIdImages.ts
|
|
5
|
-
const buildCampaignsIdImagesPostFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(
|
|
5
|
+
const buildCampaignsIdImagesPostFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(require_schemas_Image.Image, { ...requestInit }, options);
|
|
6
6
|
const postCampaignsIdImages = (path, requestBody, customRequestInit, options) => {
|
|
7
7
|
const requestInfo = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/campaigns/{id}/images", { path });
|
|
8
8
|
const requestInit = (0, _readyfor_api_client_base.buildRequestInitWithDefaultConfig)((0, _readyfor_api_client_base.mergeRequestInit)(customRequestInit ?? {}, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Image } from "../
|
|
1
|
+
import { Image } from "../schemas/Image.mjs";
|
|
2
2
|
import { __internal__requestUrl, buildRequestInitWithDefaultConfig, createJsonFetcher, mergeRequestInit } from "@readyfor/api-client-base";
|
|
3
3
|
// src/fetch/campaignsIdImages.ts
|
|
4
4
|
const buildCampaignsIdImagesPostFetcher = (requestInit, options) => createJsonFetcher(Image, { ...requestInit }, options);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_schemas_GetCampaignsCampaignIdPreviewResponse = require("../schemas/GetCampaignsCampaignIdPreviewResponse.js");
|
|
3
3
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
4
4
|
// src/fetch/campaignsIdPreview.ts
|
|
5
|
-
const buildCampaignsIdPreviewGetFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(
|
|
5
|
+
const buildCampaignsIdPreviewGetFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(require_schemas_GetCampaignsCampaignIdPreviewResponse.GetCampaignsCampaignIdPreviewResponse, { ...requestInit }, options);
|
|
6
6
|
const getCampaignsIdPreview = (path, customRequestInit, options) => {
|
|
7
7
|
const requestInfo = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/campaigns/{id}/preview", { path });
|
|
8
8
|
const requestInit = (0, _readyfor_api_client_base.buildRequestInitWithDefaultConfig)((0, _readyfor_api_client_base.mergeRequestInit)(customRequestInit ?? {}, { method: "GET" }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetCampaignsCampaignIdPreviewResponse } from "../
|
|
1
|
+
import { GetCampaignsCampaignIdPreviewResponse } from "../schemas/GetCampaignsCampaignIdPreviewResponse.mjs";
|
|
2
2
|
import { __internal__requestUrl, buildRequestInitWithDefaultConfig, createJsonFetcher, mergeRequestInit } from "@readyfor/api-client-base";
|
|
3
3
|
// src/fetch/campaignsIdPreview.ts
|
|
4
4
|
const buildCampaignsIdPreviewGetFetcher = (requestInit, options) => createJsonFetcher(GetCampaignsCampaignIdPreviewResponse, { ...requestInit }, options);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_schemas_GetCampaignsCampaignIdUtmCampaignConflictsResponse = require("../schemas/GetCampaignsCampaignIdUtmCampaignConflictsResponse.js");
|
|
3
3
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
4
4
|
// src/fetch/campaignsIdUtmCampaignConflicts.ts
|
|
5
|
-
const buildCampaignsIdUtmCampaignConflictsGetFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(
|
|
5
|
+
const buildCampaignsIdUtmCampaignConflictsGetFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(require_schemas_GetCampaignsCampaignIdUtmCampaignConflictsResponse.GetCampaignsCampaignIdUtmCampaignConflictsResponse, { ...requestInit }, options);
|
|
6
6
|
const getCampaignsIdUtmCampaignConflicts = (path, query, customRequestInit, options) => {
|
|
7
7
|
const requestInfo = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/campaigns/{id}/utm_campaign_conflicts", {
|
|
8
8
|
path,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetCampaignsCampaignIdUtmCampaignConflictsResponse } from "../
|
|
1
|
+
import { GetCampaignsCampaignIdUtmCampaignConflictsResponse } from "../schemas/GetCampaignsCampaignIdUtmCampaignConflictsResponse.mjs";
|
|
2
2
|
import { __internal__requestUrl, buildRequestInitWithDefaultConfig, createJsonFetcher, mergeRequestInit } from "@readyfor/api-client-base";
|
|
3
3
|
// src/fetch/campaignsIdUtmCampaignConflicts.ts
|
|
4
4
|
const buildCampaignsIdUtmCampaignConflictsGetFetcher = (requestInit, options) => createJsonFetcher(GetCampaignsCampaignIdUtmCampaignConflictsResponse, { ...requestInit }, options);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_schemas_GetProjectsProjectIdOrKeywordResponse = require("../schemas/GetProjectsProjectIdOrKeywordResponse.js");
|
|
3
3
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
4
4
|
// src/fetch/projectsProjectIdOrKeyword.ts
|
|
5
|
-
const buildProjectsProjectIdOrKeywordGetFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(
|
|
5
|
+
const buildProjectsProjectIdOrKeywordGetFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(require_schemas_GetProjectsProjectIdOrKeywordResponse.GetProjectsProjectIdOrKeywordResponse, { ...requestInit }, options);
|
|
6
6
|
const getProjectsProjectIdOrKeyword = (path, customRequestInit, options) => {
|
|
7
7
|
const requestInfo = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/projects/{project_id_or_keyword}", { path });
|
|
8
8
|
const requestInit = (0, _readyfor_api_client_base.buildRequestInitWithDefaultConfig)((0, _readyfor_api_client_base.mergeRequestInit)(customRequestInit ?? {}, { method: "GET" }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetProjectsProjectIdOrKeywordResponse } from "../
|
|
1
|
+
import { GetProjectsProjectIdOrKeywordResponse } from "../schemas/GetProjectsProjectIdOrKeywordResponse.mjs";
|
|
2
2
|
import { __internal__requestUrl, buildRequestInitWithDefaultConfig, createJsonFetcher, mergeRequestInit } from "@readyfor/api-client-base";
|
|
3
3
|
// src/fetch/projectsProjectIdOrKeyword.ts
|
|
4
4
|
const buildProjectsProjectIdOrKeywordGetFetcher = (requestInit, options) => createJsonFetcher(GetProjectsProjectIdOrKeywordResponse, { ...requestInit }, options);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_schemas_GetBehaviorSegmentsResponse = require("../schemas/GetBehaviorSegmentsResponse.js");
|
|
3
3
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
4
4
|
// src/fetch/segmentsBehaviorSegments.ts
|
|
5
|
-
const buildSegmentsBehaviorSegmentsGetFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(
|
|
5
|
+
const buildSegmentsBehaviorSegmentsGetFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(require_schemas_GetBehaviorSegmentsResponse.GetBehaviorSegmentsResponse, { ...requestInit }, options);
|
|
6
6
|
const getSegmentsBehaviorSegments = (customRequestInit, options) => {
|
|
7
7
|
const requestInfo = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/segments/behavior_segments");
|
|
8
8
|
const requestInit = (0, _readyfor_api_client_base.buildRequestInitWithDefaultConfig)((0, _readyfor_api_client_base.mergeRequestInit)(customRequestInit ?? {}, { method: "GET" }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetBehaviorSegmentsResponse } from "../
|
|
1
|
+
import { GetBehaviorSegmentsResponse } from "../schemas/GetBehaviorSegmentsResponse.mjs";
|
|
2
2
|
import { __internal__requestUrl, buildRequestInitWithDefaultConfig, createJsonFetcher, mergeRequestInit } from "@readyfor/api-client-base";
|
|
3
3
|
// src/fetch/segmentsBehaviorSegments.ts
|
|
4
4
|
const buildSegmentsBehaviorSegmentsGetFetcher = (requestInit, options) => createJsonFetcher(GetBehaviorSegmentsResponse, { ...requestInit }, options);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_schemas_GetProfileSegmentsResponse = require("../schemas/GetProfileSegmentsResponse.js");
|
|
3
3
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
4
4
|
// src/fetch/segmentsProfileSegments.ts
|
|
5
|
-
const buildSegmentsProfileSegmentsGetFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(
|
|
5
|
+
const buildSegmentsProfileSegmentsGetFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(require_schemas_GetProfileSegmentsResponse.GetProfileSegmentsResponse, { ...requestInit }, options);
|
|
6
6
|
const getSegmentsProfileSegments = (customRequestInit, options) => {
|
|
7
7
|
const requestInfo = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/segments/profile_segments");
|
|
8
8
|
const requestInit = (0, _readyfor_api_client_base.buildRequestInitWithDefaultConfig)((0, _readyfor_api_client_base.mergeRequestInit)(customRequestInit ?? {}, { method: "GET" }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetProfileSegmentsResponse } from "../
|
|
1
|
+
import { GetProfileSegmentsResponse } from "../schemas/GetProfileSegmentsResponse.mjs";
|
|
2
2
|
import { __internal__requestUrl, buildRequestInitWithDefaultConfig, createJsonFetcher, mergeRequestInit } from "@readyfor/api-client-base";
|
|
3
3
|
// src/fetch/segmentsProfileSegments.ts
|
|
4
4
|
const buildSegmentsProfileSegmentsGetFetcher = (requestInit, options) => createJsonFetcher(GetProfileSegmentsResponse, { ...requestInit }, options);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_schemas_GetTargetUsersCountResponse = require("../schemas/GetTargetUsersCountResponse.js");
|
|
3
3
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
4
4
|
// src/fetch/segmentsTargetUsersCount.ts
|
|
5
|
-
const buildSegmentsTargetUsersCountGetFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(
|
|
5
|
+
const buildSegmentsTargetUsersCountGetFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(require_schemas_GetTargetUsersCountResponse.GetTargetUsersCountResponse, { ...requestInit }, options);
|
|
6
6
|
const getSegmentsTargetUsersCount = (query, customRequestInit, options) => {
|
|
7
7
|
const requestInfo = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/segments/target_users_count", { query });
|
|
8
8
|
const requestInit = (0, _readyfor_api_client_base.buildRequestInitWithDefaultConfig)((0, _readyfor_api_client_base.mergeRequestInit)(customRequestInit ?? {}, { method: "GET" }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetTargetUsersCountResponse } from "../
|
|
1
|
+
import { GetTargetUsersCountResponse } from "../schemas/GetTargetUsersCountResponse.mjs";
|
|
2
2
|
import { __internal__requestUrl, buildRequestInitWithDefaultConfig, createJsonFetcher, mergeRequestInit } from "@readyfor/api-client-base";
|
|
3
3
|
// src/fetch/segmentsTargetUsersCount.ts
|
|
4
4
|
const buildSegmentsTargetUsersCountGetFetcher = (requestInit, options) => createJsonFetcher(GetTargetUsersCountResponse, { ...requestInit }, options);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { components } from "../schemaType.js";
|
|
2
|
-
import { CampaignsGetQuery, CampaignsGetResponse } from "../fetch/campaigns.js";
|
|
3
2
|
import "../index.js";
|
|
3
|
+
import { CampaignsGetQuery, CampaignsGetResponse } from "../fetch/campaigns.js";
|
|
4
4
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
5
5
|
import { Arguments } from "swr";
|
|
6
6
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("../rolldown-runtime-CmQyd0Gu.js");
|
|
3
3
|
const require_fetch_campaigns = require("../fetch/campaigns.js");
|
|
4
|
-
require("../index.js");
|
|
5
4
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
6
5
|
let swr_immutable = require("swr/immutable");
|
|
7
6
|
swr_immutable = require_rolldown_runtime.__toESM(swr_immutable);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { components } from "../schemaType.js";
|
|
2
|
-
import { CampaignsIdGetPath, CampaignsIdGetResponse } from "../fetch/campaignsId.js";
|
|
3
2
|
import "../index.js";
|
|
3
|
+
import { CampaignsIdGetPath, CampaignsIdGetResponse } from "../fetch/campaignsId.js";
|
|
4
4
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
5
5
|
import { Arguments } from "swr";
|
|
6
6
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("../rolldown-runtime-CmQyd0Gu.js");
|
|
3
3
|
const require_fetch_campaignsId = require("../fetch/campaignsId.js");
|
|
4
|
-
require("../index.js");
|
|
5
4
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
6
5
|
let swr_immutable = require("swr/immutable");
|
|
7
6
|
swr_immutable = require_rolldown_runtime.__toESM(swr_immutable);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CampaignsIdPreviewGetPath, CampaignsIdPreviewGetResponse } from "../fetch/campaignsIdPreview.js";
|
|
2
|
-
import "../index.js";
|
|
3
2
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
4
3
|
import { Arguments } from "swr";
|
|
5
4
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("../rolldown-runtime-CmQyd0Gu.js");
|
|
3
3
|
const require_fetch_campaignsIdPreview = require("../fetch/campaignsIdPreview.js");
|
|
4
|
-
require("../index.js");
|
|
5
4
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
6
5
|
let swr_immutable = require("swr/immutable");
|
|
7
6
|
swr_immutable = require_rolldown_runtime.__toESM(swr_immutable);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { components } from "../schemaType.js";
|
|
2
|
-
import { CampaignsIdUtmCampaignConflictsGetPath, CampaignsIdUtmCampaignConflictsGetQuery, CampaignsIdUtmCampaignConflictsGetResponse } from "../fetch/campaignsIdUtmCampaignConflicts.js";
|
|
3
2
|
import "../index.js";
|
|
3
|
+
import { CampaignsIdUtmCampaignConflictsGetPath, CampaignsIdUtmCampaignConflictsGetQuery, CampaignsIdUtmCampaignConflictsGetResponse } from "../fetch/campaignsIdUtmCampaignConflicts.js";
|
|
4
4
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
5
5
|
import { Arguments } from "swr";
|
|
6
6
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("../rolldown-runtime-CmQyd0Gu.js");
|
|
3
3
|
const require_fetch_campaignsIdUtmCampaignConflicts = require("../fetch/campaignsIdUtmCampaignConflicts.js");
|
|
4
|
-
require("../index.js");
|
|
5
4
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
6
5
|
let swr_immutable = require("swr/immutable");
|
|
7
6
|
swr_immutable = require_rolldown_runtime.__toESM(swr_immutable);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { buildCampaignsIdUtmCampaignConflictsGetFetcher } from "../fetch/campaignsIdUtmCampaignConflicts.mjs";
|
|
2
|
-
import "../index.mjs";
|
|
3
2
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
4
3
|
import useSWRImmutable from "swr/immutable";
|
|
5
4
|
import useSWRInfinite from "swr/infinite";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { components } from "../schemaType.js";
|
|
2
|
-
import { ProjectsProjectIdOrKeywordGetPath, ProjectsProjectIdOrKeywordGetResponse } from "../fetch/projectsProjectIdOrKeyword.js";
|
|
3
2
|
import "../index.js";
|
|
3
|
+
import { ProjectsProjectIdOrKeywordGetPath, ProjectsProjectIdOrKeywordGetResponse } from "../fetch/projectsProjectIdOrKeyword.js";
|
|
4
4
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
5
5
|
import { Arguments } from "swr";
|
|
6
6
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("../rolldown-runtime-CmQyd0Gu.js");
|
|
3
3
|
const require_fetch_projectsProjectIdOrKeyword = require("../fetch/projectsProjectIdOrKeyword.js");
|
|
4
|
-
require("../index.js");
|
|
5
4
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
6
5
|
let swr_immutable = require("swr/immutable");
|
|
7
6
|
swr_immutable = require_rolldown_runtime.__toESM(swr_immutable);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { buildProjectsProjectIdOrKeywordGetFetcher } from "../fetch/projectsProjectIdOrKeyword.mjs";
|
|
2
|
-
import "../index.mjs";
|
|
3
2
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
4
3
|
import useSWRImmutable from "swr/immutable";
|
|
5
4
|
import useSWRInfinite from "swr/infinite";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { components } from "../schemaType.js";
|
|
2
|
-
import { SegmentsBehaviorSegmentsGetResponse } from "../fetch/segmentsBehaviorSegments.js";
|
|
3
2
|
import "../index.js";
|
|
3
|
+
import { SegmentsBehaviorSegmentsGetResponse } from "../fetch/segmentsBehaviorSegments.js";
|
|
4
4
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
5
5
|
import { Arguments } from "swr";
|
|
6
6
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("../rolldown-runtime-CmQyd0Gu.js");
|
|
3
3
|
const require_fetch_segmentsBehaviorSegments = require("../fetch/segmentsBehaviorSegments.js");
|
|
4
|
-
require("../index.js");
|
|
5
4
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
6
5
|
let swr_immutable = require("swr/immutable");
|
|
7
6
|
swr_immutable = require_rolldown_runtime.__toESM(swr_immutable);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { buildSegmentsBehaviorSegmentsGetFetcher } from "../fetch/segmentsBehaviorSegments.mjs";
|
|
2
|
-
import "../index.mjs";
|
|
3
2
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
4
3
|
import useSWRImmutable from "swr/immutable";
|
|
5
4
|
import useSWRInfinite from "swr/infinite";
|