@readyfor/api-client-pigeon 1.33.0 → 1.35.0-pr1340.3976ee2
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-BRYKH7om.d.ts +94 -0
- package/dist/fetch/campaigns.d.ts +1 -1
- package/dist/fetch/campaignsCampaignIdImagesId.d.ts +1 -1
- package/dist/fetch/campaignsId.d.ts +1 -1
- package/dist/fetch/campaignsIdDeliveryJob.d.ts +1 -1
- package/dist/fetch/campaignsIdPreview.d.ts +1 -1
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.ts +1 -1
- package/dist/fetch/campaignsIdUtmCampaignConflicts.d.ts +1 -1
- package/dist/fetch/projectsProjectIdOrKeyword.d.ts +1 -1
- package/dist/fetch/segmentsBehaviorSegments.d.ts +1 -1
- package/dist/fetch/segmentsProfileSegments.d.ts +1 -1
- package/dist/fetch/segmentsTargetUsersCount.d.ts +1 -1
- package/dist/hooks/useCampaigns.d.ts +1 -1
- package/dist/hooks/useCampaignsId.d.ts +1 -1
- package/dist/hooks/useCampaignsIdPreview.d.ts +1 -1
- package/dist/hooks/useCampaignsIdUtmCampaignConflicts.d.ts +1 -1
- package/dist/hooks/useProjectsProjectIdOrKeyword.d.ts +1 -1
- package/dist/hooks/useSegmentsBehaviorSegments.d.ts +1 -1
- package/dist/hooks/useSegmentsProfileSegments.d.ts +1 -1
- package/dist/hooks/useSegmentsTargetUsersCount.d.ts +1 -1
- package/dist/index.d.ts +6 -11
- package/package.json +3 -3
- package/dist/campaigns-D-CYf-hw.d.ts +0 -82
- package/dist/campaignsId-DiN3JHkp.d.ts +0 -309
- package/dist/campaignsIdUtmCampaignConflicts-_-DB_ipL.d.ts +0 -22
- package/dist/index-CfvILin8.d.ts +0 -1
- package/dist/projectsProjectIdOrKeyword-Ban9sKOb.d.ts +0 -25
- package/dist/segmentsBehaviorSegments-BrIySLy_.d.ts +0 -25
- package/dist/segmentsProfileSegments-C6SMDxJH.d.ts +0 -25
- /package/dist/{campaignsCampaignIdImagesId-B7ArYDiN.d.ts → campaignsCampaignIdImagesId-CmZYbd0g.d.ts} +0 -0
- /package/dist/{campaignsIdDeliveryJob-K7sVCfEZ.d.ts → campaignsIdDeliveryJob-Dx9WMdjR.d.ts} +0 -0
- /package/dist/{campaignsIdPreview-C6YkpCrW.d.ts → campaignsIdPreview-KDjRh6Hn.d.ts} +0 -0
- /package/dist/{campaignsIdPreviewDeliveryEmail-N4hGhyYE.d.ts → campaignsIdPreviewDeliveryEmail-DWGRW9aj.d.ts} +0 -0
- /package/dist/{segmentsTargetUsersCount-vu9VJLE9.d.ts → segmentsTargetUsersCount-3I5k_t6q.d.ts} +0 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { a as paths, n as components } from "./schemaType-C7Ke0u8R.js";
|
|
2
|
+
import { ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
|
|
4
|
+
//#region src/fetch/campaignsId.d.ts
|
|
5
|
+
type CampaignsIdGetOperation = paths["/api/campaigns/{id}"]["get"];
|
|
6
|
+
type CampaignsIdGetResponse = CampaignsIdGetOperation["responses"]["200"]["content"]["application/json"];
|
|
7
|
+
declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
8
|
+
campaignDetail: components["schemas"]["CampaignDetail"];
|
|
9
|
+
}>;
|
|
10
|
+
type CampaignsIdGetPath = ForceDig<CampaignsIdGetOperation, ["parameters", "path"]>;
|
|
11
|
+
declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
12
|
+
campaignDetail: components["schemas"]["CampaignDetail"];
|
|
13
|
+
}>;
|
|
14
|
+
type CampaignsIdDeleteOperation = paths["/api/campaigns/{id}"]["delete"];
|
|
15
|
+
declare const buildCampaignsIdDeleteFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
16
|
+
type CampaignsIdDeletePath = ForceDig<CampaignsIdDeleteOperation, ["parameters", "path"]>;
|
|
17
|
+
declare const deleteCampaignsId: (path: CampaignsIdDeletePath, customRequestInit?: RequestInit) => Promise<void>;
|
|
18
|
+
type CampaignsIdPatchOperation = paths["/api/campaigns/{id}"]["patch"];
|
|
19
|
+
type CampaignsIdPatchResponse = CampaignsIdPatchOperation["responses"]["200"]["content"]["application/json"];
|
|
20
|
+
declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
21
|
+
campaignDetail: components["schemas"]["CampaignDetail"];
|
|
22
|
+
}>;
|
|
23
|
+
type CampaignsIdPatchPath = ForceDig<CampaignsIdPatchOperation, ["parameters", "path"]>;
|
|
24
|
+
type CampaignsIdPatchRequestBody = ForceDig<CampaignsIdPatchOperation, ["requestBody", "content", "multipart/form-data"]>;
|
|
25
|
+
declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<{
|
|
26
|
+
campaignDetail: components["schemas"]["CampaignDetail"];
|
|
27
|
+
}>;
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/fetch/campaignsIdUtmCampaignConflicts.d.ts
|
|
30
|
+
type CampaignsIdUtmCampaignConflictsGetOperation = paths["/api/campaigns/{id}/utm_campaign_conflicts"]["get"];
|
|
31
|
+
type CampaignsIdUtmCampaignConflictsGetResponse = CampaignsIdUtmCampaignConflictsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
32
|
+
declare const buildCampaignsIdUtmCampaignConflictsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
33
|
+
campaigns: components["schemas"]["ConflictingCampaign"][];
|
|
34
|
+
}>;
|
|
35
|
+
type CampaignsIdUtmCampaignConflictsGetPath = ForceDig<CampaignsIdUtmCampaignConflictsGetOperation, ["parameters", "path"]>;
|
|
36
|
+
type CampaignsIdUtmCampaignConflictsGetQuery = ForceDig<CampaignsIdUtmCampaignConflictsGetOperation, ["parameters", "query"]>;
|
|
37
|
+
declare const getCampaignsIdUtmCampaignConflicts: (path: CampaignsIdUtmCampaignConflictsGetPath, query: CampaignsIdUtmCampaignConflictsGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
38
|
+
campaigns: components["schemas"]["ConflictingCampaign"][];
|
|
39
|
+
}>;
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region src/fetch/projectsProjectIdOrKeyword.d.ts
|
|
42
|
+
type ProjectsProjectIdOrKeywordGetOperation = paths["/api/projects/{project_id_or_keyword}"]["get"];
|
|
43
|
+
type ProjectsProjectIdOrKeywordGetResponse = ProjectsProjectIdOrKeywordGetOperation["responses"]["200"]["content"]["application/json"];
|
|
44
|
+
declare const buildProjectsProjectIdOrKeywordGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
45
|
+
project: components["schemas"]["ReadyforProject"];
|
|
46
|
+
}>;
|
|
47
|
+
type ProjectsProjectIdOrKeywordGetPath = ForceDig<ProjectsProjectIdOrKeywordGetOperation, ["parameters", "path"]>;
|
|
48
|
+
declare const getProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
49
|
+
project: components["schemas"]["ReadyforProject"];
|
|
50
|
+
}>;
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/fetch/segmentsBehaviorSegments.d.ts
|
|
53
|
+
type SegmentsBehaviorSegmentsGetOperation = paths["/api/segments/behavior_segments"]["get"];
|
|
54
|
+
type SegmentsBehaviorSegmentsGetResponse = SegmentsBehaviorSegmentsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
55
|
+
declare const buildSegmentsBehaviorSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
56
|
+
behaviorSegments: components["schemas"]["Segment"][];
|
|
57
|
+
}>;
|
|
58
|
+
declare const getSegmentsBehaviorSegments: (customRequestInit?: RequestInit) => Promise<{
|
|
59
|
+
behaviorSegments: components["schemas"]["Segment"][];
|
|
60
|
+
}>;
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region src/fetch/segmentsProfileSegments.d.ts
|
|
63
|
+
type SegmentsProfileSegmentsGetOperation = paths["/api/segments/profile_segments"]["get"];
|
|
64
|
+
type SegmentsProfileSegmentsGetResponse = SegmentsProfileSegmentsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
65
|
+
declare const buildSegmentsProfileSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
66
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
67
|
+
}>;
|
|
68
|
+
declare const getSegmentsProfileSegments: (customRequestInit?: RequestInit) => Promise<{
|
|
69
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
70
|
+
}>;
|
|
71
|
+
//#endregion
|
|
72
|
+
//#region src/fetch/campaigns.d.ts
|
|
73
|
+
type CampaignsGetOperation = paths["/api/campaigns"]["get"];
|
|
74
|
+
type CampaignsGetResponse = CampaignsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
75
|
+
declare const buildCampaignsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
76
|
+
campaigns: components["schemas"]["Campaign"][];
|
|
77
|
+
pagination: components["schemas"]["Pagination"];
|
|
78
|
+
}>;
|
|
79
|
+
type CampaignsGetQuery = ForceDig<CampaignsGetOperation, ["parameters", "query"]>;
|
|
80
|
+
declare const getCampaigns: (query: CampaignsGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
81
|
+
campaigns: components["schemas"]["Campaign"][];
|
|
82
|
+
pagination: components["schemas"]["Pagination"];
|
|
83
|
+
}>;
|
|
84
|
+
type CampaignsPostOperation = paths["/api/campaigns"]["post"];
|
|
85
|
+
type CampaignsPostResponse = CampaignsPostOperation["responses"]["201"]["content"]["application/json"];
|
|
86
|
+
declare const buildCampaignsPostFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
87
|
+
id: number;
|
|
88
|
+
}>;
|
|
89
|
+
type CampaignsPostRequestBody = ForceDig<CampaignsPostOperation, ["requestBody", "content", "application/json"]>;
|
|
90
|
+
declare const postCampaigns: (requestBody: CampaignsPostRequestBody, customRequestInit?: RequestInit) => Promise<{
|
|
91
|
+
id: number;
|
|
92
|
+
}>;
|
|
93
|
+
//#endregion
|
|
94
|
+
export { buildCampaignsIdDeleteFetcher as A, getCampaignsIdUtmCampaignConflicts as C, CampaignsIdPatchPath as D, CampaignsIdGetResponse as E, patchCampaignsId as F, buildCampaignsIdPatchFetcher as M, deleteCampaignsId as N, CampaignsIdPatchRequestBody as O, getCampaignsId as P, buildCampaignsIdUtmCampaignConflictsGetFetcher as S, CampaignsIdGetPath as T, buildProjectsProjectIdOrKeywordGetFetcher as _, buildCampaignsGetFetcher as a, CampaignsIdUtmCampaignConflictsGetQuery as b, postCampaigns as c, getSegmentsProfileSegments as d, SegmentsBehaviorSegmentsGetResponse as f, ProjectsProjectIdOrKeywordGetResponse as g, ProjectsProjectIdOrKeywordGetPath as h, CampaignsPostResponse as i, buildCampaignsIdGetFetcher as j, CampaignsIdPatchResponse as k, SegmentsProfileSegmentsGetResponse as l, getSegmentsBehaviorSegments as m, CampaignsGetResponse as n, buildCampaignsPostFetcher as o, buildSegmentsBehaviorSegmentsGetFetcher as p, CampaignsPostRequestBody as r, getCampaigns as s, CampaignsGetQuery as t, buildSegmentsProfileSegmentsGetFetcher as u, getProjectsProjectIdOrKeyword as v, CampaignsIdDeletePath as w, CampaignsIdUtmCampaignConflictsGetResponse as x, CampaignsIdUtmCampaignConflictsGetPath as y };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as buildCampaignsGetFetcher, c as postCampaigns, i as CampaignsPostResponse, n as CampaignsGetResponse, o as buildCampaignsPostFetcher, r as CampaignsPostRequestBody, s as getCampaigns, t as CampaignsGetQuery } from "../campaigns-
|
|
1
|
+
import { a as buildCampaignsGetFetcher, c as postCampaigns, i as CampaignsPostResponse, n as CampaignsGetResponse, o as buildCampaignsPostFetcher, r as CampaignsPostRequestBody, s as getCampaigns, t as CampaignsGetQuery } from "../campaigns-BRYKH7om.js";
|
|
2
2
|
export { CampaignsGetQuery, CampaignsGetResponse, CampaignsPostRequestBody, CampaignsPostResponse, buildCampaignsGetFetcher, buildCampaignsPostFetcher, getCampaigns, postCampaigns };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as buildCampaignsCampaignIdImagesIdDeleteFetcher, r as deleteCampaignsCampaignIdImagesId, t as CampaignsCampaignIdImagesIdDeletePath } from "../campaignsCampaignIdImagesId-
|
|
1
|
+
import { n as buildCampaignsCampaignIdImagesIdDeleteFetcher, r as deleteCampaignsCampaignIdImagesId, t as CampaignsCampaignIdImagesIdDeletePath } from "../campaignsCampaignIdImagesId-CmZYbd0g.js";
|
|
2
2
|
export { CampaignsCampaignIdImagesIdDeletePath, buildCampaignsCampaignIdImagesIdDeleteFetcher, deleteCampaignsCampaignIdImagesId };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as buildCampaignsIdDeleteFetcher, D as CampaignsIdPatchPath, E as CampaignsIdGetResponse, F as patchCampaignsId, M as buildCampaignsIdPatchFetcher, N as deleteCampaignsId, O as CampaignsIdPatchRequestBody, P as getCampaignsId, T as CampaignsIdGetPath, j as buildCampaignsIdGetFetcher, k as CampaignsIdPatchResponse, w as CampaignsIdDeletePath } from "../campaigns-BRYKH7om.js";
|
|
2
2
|
export { CampaignsIdDeletePath, CampaignsIdGetPath, CampaignsIdGetResponse, CampaignsIdPatchPath, CampaignsIdPatchRequestBody, CampaignsIdPatchResponse, buildCampaignsIdDeleteFetcher, buildCampaignsIdGetFetcher, buildCampaignsIdPatchFetcher, deleteCampaignsId, getCampaignsId, patchCampaignsId };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as deleteCampaignsIdDeliveryJob, i as buildCampaignsIdDeliveryJobPostFetcher, n as CampaignsIdDeliveryJobPostPath, o as postCampaignsIdDeliveryJob, r as buildCampaignsIdDeliveryJobDeleteFetcher, t as CampaignsIdDeliveryJobDeletePath } from "../campaignsIdDeliveryJob-
|
|
1
|
+
import { a as deleteCampaignsIdDeliveryJob, i as buildCampaignsIdDeliveryJobPostFetcher, n as CampaignsIdDeliveryJobPostPath, o as postCampaignsIdDeliveryJob, r as buildCampaignsIdDeliveryJobDeleteFetcher, t as CampaignsIdDeliveryJobDeletePath } from "../campaignsIdDeliveryJob-Dx9WMdjR.js";
|
|
2
2
|
export { CampaignsIdDeliveryJobDeletePath, CampaignsIdDeliveryJobPostPath, buildCampaignsIdDeliveryJobDeleteFetcher, buildCampaignsIdDeliveryJobPostFetcher, deleteCampaignsIdDeliveryJob, postCampaignsIdDeliveryJob };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as getCampaignsIdPreview, n as CampaignsIdPreviewGetResponse, r as buildCampaignsIdPreviewGetFetcher, t as CampaignsIdPreviewGetPath } from "../campaignsIdPreview-
|
|
1
|
+
import { i as getCampaignsIdPreview, n as CampaignsIdPreviewGetResponse, r as buildCampaignsIdPreviewGetFetcher, t as CampaignsIdPreviewGetPath } from "../campaignsIdPreview-KDjRh6Hn.js";
|
|
2
2
|
export { CampaignsIdPreviewGetPath, CampaignsIdPreviewGetResponse, buildCampaignsIdPreviewGetFetcher, getCampaignsIdPreview };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as postCampaignsIdPreviewDeliveryEmail, n as CampaignsIdPreviewDeliveryEmailPostRequestBody, r as buildCampaignsIdPreviewDeliveryEmailPostFetcher, t as CampaignsIdPreviewDeliveryEmailPostPath } from "../campaignsIdPreviewDeliveryEmail-
|
|
1
|
+
import { i as postCampaignsIdPreviewDeliveryEmail, n as CampaignsIdPreviewDeliveryEmailPostRequestBody, r as buildCampaignsIdPreviewDeliveryEmailPostFetcher, t as CampaignsIdPreviewDeliveryEmailPostPath } from "../campaignsIdPreviewDeliveryEmail-DWGRW9aj.js";
|
|
2
2
|
export { CampaignsIdPreviewDeliveryEmailPostPath, CampaignsIdPreviewDeliveryEmailPostRequestBody, buildCampaignsIdPreviewDeliveryEmailPostFetcher, postCampaignsIdPreviewDeliveryEmail };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as getCampaignsIdUtmCampaignConflicts, S as buildCampaignsIdUtmCampaignConflictsGetFetcher, b as CampaignsIdUtmCampaignConflictsGetQuery, x as CampaignsIdUtmCampaignConflictsGetResponse, y as CampaignsIdUtmCampaignConflictsGetPath } from "../campaigns-BRYKH7om.js";
|
|
2
2
|
export { CampaignsIdUtmCampaignConflictsGetPath, CampaignsIdUtmCampaignConflictsGetQuery, CampaignsIdUtmCampaignConflictsGetResponse, buildCampaignsIdUtmCampaignConflictsGetFetcher, getCampaignsIdUtmCampaignConflicts };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as buildProjectsProjectIdOrKeywordGetFetcher, g as ProjectsProjectIdOrKeywordGetResponse, h as ProjectsProjectIdOrKeywordGetPath, v as getProjectsProjectIdOrKeyword } from "../campaigns-BRYKH7om.js";
|
|
2
2
|
export { ProjectsProjectIdOrKeywordGetPath, ProjectsProjectIdOrKeywordGetResponse, buildProjectsProjectIdOrKeywordGetFetcher, getProjectsProjectIdOrKeyword };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as SegmentsBehaviorSegmentsGetResponse, m as getSegmentsBehaviorSegments, p as buildSegmentsBehaviorSegmentsGetFetcher } from "../campaigns-BRYKH7om.js";
|
|
2
2
|
export { SegmentsBehaviorSegmentsGetResponse, buildSegmentsBehaviorSegmentsGetFetcher, getSegmentsBehaviorSegments };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as getSegmentsProfileSegments, l as SegmentsProfileSegmentsGetResponse, u as buildSegmentsProfileSegmentsGetFetcher } from "../campaigns-BRYKH7om.js";
|
|
2
2
|
export { SegmentsProfileSegmentsGetResponse, buildSegmentsProfileSegmentsGetFetcher, getSegmentsProfileSegments };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as getSegmentsTargetUsersCount, n as SegmentsTargetUsersCountGetResponse, r as buildSegmentsTargetUsersCountGetFetcher, t as SegmentsTargetUsersCountGetQuery } from "../segmentsTargetUsersCount-
|
|
1
|
+
import { i as getSegmentsTargetUsersCount, n as SegmentsTargetUsersCountGetResponse, r as buildSegmentsTargetUsersCountGetFetcher, t as SegmentsTargetUsersCountGetQuery } from "../segmentsTargetUsersCount-3I5k_t6q.js";
|
|
2
2
|
export { SegmentsTargetUsersCountGetQuery, SegmentsTargetUsersCountGetResponse, buildSegmentsTargetUsersCountGetFetcher, getSegmentsTargetUsersCount };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as components } from "../schemaType-C7Ke0u8R.js";
|
|
2
|
-
import { n as CampaignsGetResponse, t as CampaignsGetQuery } from "../campaigns-
|
|
2
|
+
import { n as CampaignsGetResponse, t as CampaignsGetQuery } from "../campaigns-BRYKH7om.js";
|
|
3
3
|
import * as _$swr from "swr";
|
|
4
4
|
import { Arguments } from "swr";
|
|
5
5
|
import * as _$swr__internal0 from "swr/_internal";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as components } from "../schemaType-C7Ke0u8R.js";
|
|
2
|
-
import {
|
|
2
|
+
import { E as CampaignsIdGetResponse, T as CampaignsIdGetPath } from "../campaigns-BRYKH7om.js";
|
|
3
3
|
import * as _$swr from "swr";
|
|
4
4
|
import { Arguments } from "swr";
|
|
5
5
|
import * as _$swr__internal0 from "swr/_internal";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as CampaignsIdPreviewGetResponse, t as CampaignsIdPreviewGetPath } from "../campaignsIdPreview-
|
|
1
|
+
import { n as CampaignsIdPreviewGetResponse, t as CampaignsIdPreviewGetPath } from "../campaignsIdPreview-KDjRh6Hn.js";
|
|
2
2
|
import * as _$swr from "swr";
|
|
3
3
|
import { Arguments } from "swr";
|
|
4
4
|
import * as _$swr__internal0 from "swr/_internal";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as components } from "../schemaType-C7Ke0u8R.js";
|
|
2
|
-
import {
|
|
2
|
+
import { b as CampaignsIdUtmCampaignConflictsGetQuery, x as CampaignsIdUtmCampaignConflictsGetResponse, y as CampaignsIdUtmCampaignConflictsGetPath } from "../campaigns-BRYKH7om.js";
|
|
3
3
|
import * as _$swr from "swr";
|
|
4
4
|
import { Arguments } from "swr";
|
|
5
5
|
import * as _$swr__internal0 from "swr/_internal";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as components } from "../schemaType-C7Ke0u8R.js";
|
|
2
|
-
import {
|
|
2
|
+
import { g as ProjectsProjectIdOrKeywordGetResponse, h as ProjectsProjectIdOrKeywordGetPath } from "../campaigns-BRYKH7om.js";
|
|
3
3
|
import * as _$swr from "swr";
|
|
4
4
|
import { Arguments } from "swr";
|
|
5
5
|
import * as _$swr__internal0 from "swr/_internal";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as components } from "../schemaType-C7Ke0u8R.js";
|
|
2
|
-
import {
|
|
2
|
+
import { f as SegmentsBehaviorSegmentsGetResponse } from "../campaigns-BRYKH7om.js";
|
|
3
3
|
import * as _$swr from "swr";
|
|
4
4
|
import { Arguments } from "swr";
|
|
5
5
|
import * as _$swr__internal0 from "swr/_internal";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as components } from "../schemaType-C7Ke0u8R.js";
|
|
2
|
-
import {
|
|
2
|
+
import { l as SegmentsProfileSegmentsGetResponse } from "../campaigns-BRYKH7om.js";
|
|
3
3
|
import * as _$swr from "swr";
|
|
4
4
|
import { Arguments } from "swr";
|
|
5
5
|
import * as _$swr__internal0 from "swr/_internal";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as SegmentsTargetUsersCountGetResponse, t as SegmentsTargetUsersCountGetQuery } from "../segmentsTargetUsersCount-
|
|
1
|
+
import { n as SegmentsTargetUsersCountGetResponse, t as SegmentsTargetUsersCountGetQuery } from "../segmentsTargetUsersCount-3I5k_t6q.js";
|
|
2
2
|
import * as _$swr from "swr";
|
|
3
3
|
import { Arguments } from "swr";
|
|
4
4
|
import * as _$swr__internal0 from "swr/_internal";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import { $ as PersonalizedMailMagazineFormData, A as CurationMailMagazineFormDataBase, B as GetCampaignsCampaignIdUtmCampaignConflictsResponse, C as CurationMailMagazineBannerFormData, D as CurationMailMagazineDetailBodyKindFreeFormat, E as CurationMailMagazineDetailBase, F as CurationMailMagazineTargetFilterFormData, G as HttpErrorBadRequest, H as GetProfileSegmentsResponse, I as CurationMailMagazineTargetProject, J as Pagination, K as Image, L as DeleteImageFormData, M as CurationMailMagazineFormDataBodyKindTemplate, N as CurationMailMagazineProjectFormData, O as CurationMailMagazineDetailBodyKindTemplate, P as CurationMailMagazineTargetFilter, Q as PersonalizedMailMagazineDetailTarget, R as GetBehaviorSegmentsResponse, S as CurationMailMagazineBanner, T as CurationMailMagazineDetail, U as GetProjectsProjectIdOrKeywordResponse, V as GetCampaignsResponse, W as GetTargetUsersCountResponse, X as PersonalizedMailMagazineCampaign, Y as PatchCampaignsCampaignIdRequestBody, Z as PersonalizedMailMagazineDetail, _ as CampaignWithPersonalizedMailMagazineFormData, a as CampaignDetail, at as PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody, b as CreateCampaignKindCurationMailMagazineFormData, c as CampaignDetailKindDataPersonalizedMailMagazine, ct as ReadyforProject, d as CampaignFormData, dt as UploadImageFormData, et as PersonalizedMailMagazineTargetCsvFormData, f as CampaignKind, g as CampaignWithCurationMailMagazineFormData, h as CampaignStatus, i as CampaignBaseFormData, it as PostCampaignsCampaignIdImagesReqeustBody, j as CurationMailMagazineFormDataBodyKindFreeFormat, k as CurationMailMagazineFormData, l as CampaignDetailWithCurationMailMagazine, lt as Segment, m as CampaignKindDataPersonalizedMailMagazineFormData, n as Campaign, nt as PersonalizedMailMagazineTargetUploadCsvFormData, o as CampaignDetailBase, ot as PostCampaignsRequestBody, p as CampaignKindDataCurationMailMagazineFormData, q as ImageFormData, r as CampaignBase, rt as PersonalizedMailMagazineTargetUploadCsvRecordFormData, s as CampaignDetailKindDataCurationMailMagazine, st as PostCampaignsResponse, t as BodyKind, tt as PersonalizedMailMagazineTargetDeleteCsvFormData, u as CampaignDetailWithPersonalizedMailMagazine, ut as TargetFilterSegments, v as CampaignsCampaignIdResponse, w as CurationMailMagazineCampaign, x as CreateCampaignKindPersonalizedMailMagazineFormData, y as ConflictingCampaign, z as GetCampaignsCampaignIdPreviewResponse } from "./components-CiBwSkzZ.js";
|
|
2
2
|
import { a as paths, i as operations, n as components, o as webhooks, r as external, t as $defs } from "./schemaType-C7Ke0u8R.js";
|
|
3
|
-
import { a as buildCampaignsGetFetcher, c as postCampaigns, i as CampaignsPostResponse, n as CampaignsGetResponse, o as buildCampaignsPostFetcher, r as CampaignsPostRequestBody, s as getCampaigns, t as CampaignsGetQuery } from "./campaigns-
|
|
4
|
-
import { n as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { A as buildCampaignsIdDeleteFetcher, C as getCampaignsIdUtmCampaignConflicts, D as CampaignsIdPatchPath, E as CampaignsIdGetResponse, F as patchCampaignsId, M as buildCampaignsIdPatchFetcher, N as deleteCampaignsId, O as CampaignsIdPatchRequestBody, P as getCampaignsId, S as buildCampaignsIdUtmCampaignConflictsGetFetcher, T as CampaignsIdGetPath, _ as buildProjectsProjectIdOrKeywordGetFetcher, a as buildCampaignsGetFetcher, b as CampaignsIdUtmCampaignConflictsGetQuery, c as postCampaigns, d as getSegmentsProfileSegments, f as SegmentsBehaviorSegmentsGetResponse, g as ProjectsProjectIdOrKeywordGetResponse, h as ProjectsProjectIdOrKeywordGetPath, i as CampaignsPostResponse, j as buildCampaignsIdGetFetcher, k as CampaignsIdPatchResponse, l as SegmentsProfileSegmentsGetResponse, m as getSegmentsBehaviorSegments, n as CampaignsGetResponse, o as buildCampaignsPostFetcher, p as buildSegmentsBehaviorSegmentsGetFetcher, r as CampaignsPostRequestBody, s as getCampaigns, t as CampaignsGetQuery, u as buildSegmentsProfileSegmentsGetFetcher, v as getProjectsProjectIdOrKeyword, w as CampaignsIdDeletePath, x as CampaignsIdUtmCampaignConflictsGetResponse, y as CampaignsIdUtmCampaignConflictsGetPath } from "./campaigns-BRYKH7om.js";
|
|
4
|
+
import { a as deleteCampaignsIdDeliveryJob, i as buildCampaignsIdDeliveryJobPostFetcher, n as CampaignsIdDeliveryJobPostPath, o as postCampaignsIdDeliveryJob, r as buildCampaignsIdDeliveryJobDeleteFetcher, t as CampaignsIdDeliveryJobDeletePath } from "./campaignsIdDeliveryJob-Dx9WMdjR.js";
|
|
5
|
+
import { i as getCampaignsIdPreview, n as CampaignsIdPreviewGetResponse, r as buildCampaignsIdPreviewGetFetcher, t as CampaignsIdPreviewGetPath } from "./campaignsIdPreview-KDjRh6Hn.js";
|
|
6
|
+
import { i as postCampaignsIdPreviewDeliveryEmail, n as CampaignsIdPreviewDeliveryEmailPostRequestBody, r as buildCampaignsIdPreviewDeliveryEmailPostFetcher, t as CampaignsIdPreviewDeliveryEmailPostPath } from "./campaignsIdPreviewDeliveryEmail-DWGRW9aj.js";
|
|
7
7
|
import { a as postCampaignsIdImages, i as buildCampaignsIdImagesPostFetcher, n as CampaignsIdImagesPostRequestBody, r as CampaignsIdImagesPostResponse, t as CampaignsIdImagesPostPath } from "./campaignsIdImages-BI9xhJ7Y.js";
|
|
8
|
-
import {
|
|
9
|
-
import { i as
|
|
10
|
-
import { a as getCampaignsIdUtmCampaignConflicts, i as buildCampaignsIdUtmCampaignConflictsGetFetcher, n as CampaignsIdUtmCampaignConflictsGetQuery, r as CampaignsIdUtmCampaignConflictsGetResponse, t as CampaignsIdUtmCampaignConflictsGetPath } from "./campaignsIdUtmCampaignConflicts-_-DB_ipL.js";
|
|
11
|
-
import { i as getProjectsProjectIdOrKeyword, n as ProjectsProjectIdOrKeywordGetResponse, r as buildProjectsProjectIdOrKeywordGetFetcher, t as ProjectsProjectIdOrKeywordGetPath } from "./projectsProjectIdOrKeyword-Ban9sKOb.js";
|
|
12
|
-
import { n as buildSegmentsBehaviorSegmentsGetFetcher, r as getSegmentsBehaviorSegments, t as SegmentsBehaviorSegmentsGetResponse } from "./segmentsBehaviorSegments-BrIySLy_.js";
|
|
13
|
-
import { n as buildSegmentsProfileSegmentsGetFetcher, r as getSegmentsProfileSegments, t as SegmentsProfileSegmentsGetResponse } from "./segmentsProfileSegments-C6SMDxJH.js";
|
|
14
|
-
import { i as getSegmentsTargetUsersCount, n as SegmentsTargetUsersCountGetResponse, r as buildSegmentsTargetUsersCountGetFetcher, t as SegmentsTargetUsersCountGetQuery } from "./segmentsTargetUsersCount-vu9VJLE9.js";
|
|
8
|
+
import { n as buildCampaignsCampaignIdImagesIdDeleteFetcher, r as deleteCampaignsCampaignIdImagesId, t as CampaignsCampaignIdImagesIdDeletePath } from "./campaignsCampaignIdImagesId-CmZYbd0g.js";
|
|
9
|
+
import { i as getSegmentsTargetUsersCount, n as SegmentsTargetUsersCountGetResponse, r as buildSegmentsTargetUsersCountGetFetcher, t as SegmentsTargetUsersCountGetQuery } from "./segmentsTargetUsersCount-3I5k_t6q.js";
|
|
15
10
|
export { $defs, BodyKind, Campaign, CampaignBase, CampaignBaseFormData, CampaignDetail, CampaignDetailBase, CampaignDetailKindDataCurationMailMagazine, CampaignDetailKindDataPersonalizedMailMagazine, CampaignDetailWithCurationMailMagazine, CampaignDetailWithPersonalizedMailMagazine, CampaignFormData, CampaignKind, CampaignKindDataCurationMailMagazineFormData, CampaignKindDataPersonalizedMailMagazineFormData, CampaignStatus, CampaignWithCurationMailMagazineFormData, CampaignWithPersonalizedMailMagazineFormData, CampaignsCampaignIdImagesIdDeletePath, CampaignsCampaignIdResponse, CampaignsGetQuery, CampaignsGetResponse, CampaignsIdDeletePath, CampaignsIdDeliveryJobDeletePath, CampaignsIdDeliveryJobPostPath, CampaignsIdGetPath, CampaignsIdGetResponse, CampaignsIdImagesPostPath, CampaignsIdImagesPostRequestBody, CampaignsIdImagesPostResponse, CampaignsIdPatchPath, CampaignsIdPatchRequestBody, CampaignsIdPatchResponse, CampaignsIdPreviewDeliveryEmailPostPath, CampaignsIdPreviewDeliveryEmailPostRequestBody, CampaignsIdPreviewGetPath, CampaignsIdPreviewGetResponse, CampaignsIdUtmCampaignConflictsGetPath, CampaignsIdUtmCampaignConflictsGetQuery, CampaignsIdUtmCampaignConflictsGetResponse, CampaignsPostRequestBody, CampaignsPostResponse, ConflictingCampaign, CreateCampaignKindCurationMailMagazineFormData, CreateCampaignKindPersonalizedMailMagazineFormData, CurationMailMagazineBanner, CurationMailMagazineBannerFormData, CurationMailMagazineCampaign, CurationMailMagazineDetail, CurationMailMagazineDetailBase, CurationMailMagazineDetailBodyKindFreeFormat, CurationMailMagazineDetailBodyKindTemplate, CurationMailMagazineFormData, CurationMailMagazineFormDataBase, CurationMailMagazineFormDataBodyKindFreeFormat, CurationMailMagazineFormDataBodyKindTemplate, CurationMailMagazineProjectFormData, CurationMailMagazineTargetFilter, CurationMailMagazineTargetFilterFormData, CurationMailMagazineTargetProject, DeleteImageFormData, GetBehaviorSegmentsResponse, GetCampaignsCampaignIdPreviewResponse, GetCampaignsCampaignIdUtmCampaignConflictsResponse, GetCampaignsResponse, GetProfileSegmentsResponse, GetProjectsProjectIdOrKeywordResponse, GetTargetUsersCountResponse, HttpErrorBadRequest, Image, ImageFormData, Pagination, PatchCampaignsCampaignIdRequestBody, PersonalizedMailMagazineCampaign, PersonalizedMailMagazineDetail, PersonalizedMailMagazineDetailTarget, PersonalizedMailMagazineFormData, PersonalizedMailMagazineTargetCsvFormData, PersonalizedMailMagazineTargetDeleteCsvFormData, PersonalizedMailMagazineTargetUploadCsvFormData, PersonalizedMailMagazineTargetUploadCsvRecordFormData, PostCampaignsCampaignIdImagesReqeustBody, PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody, PostCampaignsRequestBody, PostCampaignsResponse, ProjectsProjectIdOrKeywordGetPath, ProjectsProjectIdOrKeywordGetResponse, ReadyforProject, Segment, SegmentsBehaviorSegmentsGetResponse, SegmentsProfileSegmentsGetResponse, SegmentsTargetUsersCountGetQuery, SegmentsTargetUsersCountGetResponse, TargetFilterSegments, UploadImageFormData, buildCampaignsCampaignIdImagesIdDeleteFetcher, buildCampaignsGetFetcher, buildCampaignsIdDeleteFetcher, buildCampaignsIdDeliveryJobDeleteFetcher, buildCampaignsIdDeliveryJobPostFetcher, buildCampaignsIdGetFetcher, buildCampaignsIdImagesPostFetcher, buildCampaignsIdPatchFetcher, buildCampaignsIdPreviewDeliveryEmailPostFetcher, buildCampaignsIdPreviewGetFetcher, buildCampaignsIdUtmCampaignConflictsGetFetcher, buildCampaignsPostFetcher, buildProjectsProjectIdOrKeywordGetFetcher, buildSegmentsBehaviorSegmentsGetFetcher, buildSegmentsProfileSegmentsGetFetcher, buildSegmentsTargetUsersCountGetFetcher, components, deleteCampaignsCampaignIdImagesId, deleteCampaignsId, deleteCampaignsIdDeliveryJob, external, getCampaigns, getCampaignsId, getCampaignsIdPreview, getCampaignsIdUtmCampaignConflicts, getProjectsProjectIdOrKeyword, getSegmentsBehaviorSegments, getSegmentsProfileSegments, getSegmentsTargetUsersCount, operations, patchCampaignsId, paths, postCampaigns, postCampaignsIdDeliveryJob, postCampaignsIdImages, postCampaignsIdPreviewDeliveryEmail, webhooks };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@readyfor/api-client-pigeon",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.35.0-pr1340.3976ee2",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"swr": "2.4.1",
|
|
37
37
|
"use-sync-external-store": "1.6.0",
|
|
38
38
|
"zod": "^4.3.6",
|
|
39
|
-
"@readyfor/api-client-base": "1.
|
|
39
|
+
"@readyfor/api-client-base": "1.35.0-pr1340.3976ee2"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"qs": "^6",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"swr": "^2.3.3",
|
|
45
45
|
"use-sync-external-store": "^1.2.2",
|
|
46
46
|
"zod": "^4",
|
|
47
|
-
"@readyfor/api-client-base": "1.
|
|
47
|
+
"@readyfor/api-client-base": "1.35.0-pr1340.3976ee2"
|
|
48
48
|
},
|
|
49
49
|
"peerDependenciesMeta": {
|
|
50
50
|
"react": {
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { a as paths } from "./schemaType-C7Ke0u8R.js";
|
|
2
|
-
import { ForceDig } from "@readyfor/api-client-base";
|
|
3
|
-
|
|
4
|
-
//#region src/fetch/campaigns.d.ts
|
|
5
|
-
type CampaignsGetOperation = paths["/api/campaigns"]["get"];
|
|
6
|
-
type CampaignsGetResponse = CampaignsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
7
|
-
declare const buildCampaignsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
8
|
-
campaigns: (({
|
|
9
|
-
id: number;
|
|
10
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
11
|
-
deliveryAt: string | null;
|
|
12
|
-
lastEditorName: string;
|
|
13
|
-
lastEditedAt: string;
|
|
14
|
-
title?: string | null | undefined;
|
|
15
|
-
} & {
|
|
16
|
-
kind: "curationMailMagazine";
|
|
17
|
-
bodyKind: "template" | "freeFormat";
|
|
18
|
-
}) | ({
|
|
19
|
-
id: number;
|
|
20
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
21
|
-
deliveryAt: string | null;
|
|
22
|
-
lastEditorName: string;
|
|
23
|
-
lastEditedAt: string;
|
|
24
|
-
title?: string | null | undefined;
|
|
25
|
-
} & {
|
|
26
|
-
kind: "personalizedMailMagazine";
|
|
27
|
-
}))[];
|
|
28
|
-
pagination: {
|
|
29
|
-
totalPages: number;
|
|
30
|
-
totalCount: number;
|
|
31
|
-
currentPerPage: number;
|
|
32
|
-
currentPage: number;
|
|
33
|
-
prevPage: number | null;
|
|
34
|
-
nextPage: number | null;
|
|
35
|
-
isFirstPage: boolean;
|
|
36
|
-
isLastPage: boolean;
|
|
37
|
-
};
|
|
38
|
-
}>;
|
|
39
|
-
type CampaignsGetQuery = ForceDig<CampaignsGetOperation, ["parameters", "query"]>;
|
|
40
|
-
declare const getCampaigns: (query: CampaignsGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
41
|
-
campaigns: (({
|
|
42
|
-
id: number;
|
|
43
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
44
|
-
deliveryAt: string | null;
|
|
45
|
-
lastEditorName: string;
|
|
46
|
-
lastEditedAt: string;
|
|
47
|
-
title?: string | null | undefined;
|
|
48
|
-
} & {
|
|
49
|
-
kind: "curationMailMagazine";
|
|
50
|
-
bodyKind: "template" | "freeFormat";
|
|
51
|
-
}) | ({
|
|
52
|
-
id: number;
|
|
53
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
54
|
-
deliveryAt: string | null;
|
|
55
|
-
lastEditorName: string;
|
|
56
|
-
lastEditedAt: string;
|
|
57
|
-
title?: string | null | undefined;
|
|
58
|
-
} & {
|
|
59
|
-
kind: "personalizedMailMagazine";
|
|
60
|
-
}))[];
|
|
61
|
-
pagination: {
|
|
62
|
-
totalPages: number;
|
|
63
|
-
totalCount: number;
|
|
64
|
-
currentPerPage: number;
|
|
65
|
-
currentPage: number;
|
|
66
|
-
prevPage: number | null;
|
|
67
|
-
nextPage: number | null;
|
|
68
|
-
isFirstPage: boolean;
|
|
69
|
-
isLastPage: boolean;
|
|
70
|
-
};
|
|
71
|
-
}>;
|
|
72
|
-
type CampaignsPostOperation = paths["/api/campaigns"]["post"];
|
|
73
|
-
type CampaignsPostResponse = CampaignsPostOperation["responses"]["201"]["content"]["application/json"];
|
|
74
|
-
declare const buildCampaignsPostFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
75
|
-
id: number;
|
|
76
|
-
}>;
|
|
77
|
-
type CampaignsPostRequestBody = ForceDig<CampaignsPostOperation, ["requestBody", "content", "application/json"]>;
|
|
78
|
-
declare const postCampaigns: (requestBody: CampaignsPostRequestBody, customRequestInit?: RequestInit) => Promise<{
|
|
79
|
-
id: number;
|
|
80
|
-
}>;
|
|
81
|
-
//#endregion
|
|
82
|
-
export { buildCampaignsGetFetcher as a, postCampaigns as c, CampaignsPostResponse as i, CampaignsGetResponse as n, buildCampaignsPostFetcher as o, CampaignsPostRequestBody as r, getCampaigns as s, CampaignsGetQuery as t };
|
|
@@ -1,309 +0,0 @@
|
|
|
1
|
-
import { a as paths } from "./schemaType-C7Ke0u8R.js";
|
|
2
|
-
import { ForceDig } from "@readyfor/api-client-base";
|
|
3
|
-
|
|
4
|
-
//#region src/fetch/campaignsId.d.ts
|
|
5
|
-
type CampaignsIdGetOperation = paths["/api/campaigns/{id}"]["get"];
|
|
6
|
-
type CampaignsIdGetResponse = CampaignsIdGetOperation["responses"]["200"]["content"]["application/json"];
|
|
7
|
-
declare const buildCampaignsIdGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
8
|
-
campaignDetail: ({
|
|
9
|
-
id: number;
|
|
10
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
11
|
-
title: string | null;
|
|
12
|
-
deliveryScheduledAt: string | null;
|
|
13
|
-
} & {
|
|
14
|
-
kind: "curationMailMagazine";
|
|
15
|
-
curationMailMagazine: ({
|
|
16
|
-
utmCampaign: string | null;
|
|
17
|
-
subject: string | null;
|
|
18
|
-
preHeaderText: string | null;
|
|
19
|
-
deliveredUsersCount: number | null;
|
|
20
|
-
targetFilters: {
|
|
21
|
-
id: number;
|
|
22
|
-
behaviorSegmentCodes: string[];
|
|
23
|
-
profileSegmentCodes: string[];
|
|
24
|
-
}[];
|
|
25
|
-
} & {
|
|
26
|
-
bodyKind: "freeFormat";
|
|
27
|
-
htmlBody: string | null;
|
|
28
|
-
htmlStyle: string | null;
|
|
29
|
-
images: {
|
|
30
|
-
id: number;
|
|
31
|
-
key: string;
|
|
32
|
-
}[];
|
|
33
|
-
}) | ({
|
|
34
|
-
utmCampaign: string | null;
|
|
35
|
-
subject: string | null;
|
|
36
|
-
preHeaderText: string | null;
|
|
37
|
-
deliveredUsersCount: number | null;
|
|
38
|
-
targetFilters: {
|
|
39
|
-
id: number;
|
|
40
|
-
behaviorSegmentCodes: string[];
|
|
41
|
-
profileSegmentCodes: string[];
|
|
42
|
-
}[];
|
|
43
|
-
} & {
|
|
44
|
-
bodyKind: "template";
|
|
45
|
-
projects: {
|
|
46
|
-
id: number;
|
|
47
|
-
readyforProjectId: number;
|
|
48
|
-
slotNumber: number;
|
|
49
|
-
isPaidSlot: boolean;
|
|
50
|
-
title: string | null;
|
|
51
|
-
description: string | null;
|
|
52
|
-
thumbnailUrl: string | null;
|
|
53
|
-
tag: string | null;
|
|
54
|
-
tagUrl: string | null;
|
|
55
|
-
}[];
|
|
56
|
-
banners: {
|
|
57
|
-
id: number;
|
|
58
|
-
slotNumber: number;
|
|
59
|
-
imageUrl: string | null;
|
|
60
|
-
url: string | null;
|
|
61
|
-
}[];
|
|
62
|
-
});
|
|
63
|
-
}) | ({
|
|
64
|
-
id: number;
|
|
65
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
66
|
-
title: string | null;
|
|
67
|
-
deliveryScheduledAt: string | null;
|
|
68
|
-
} & {
|
|
69
|
-
kind: "personalizedMailMagazine";
|
|
70
|
-
personalizedMailMagazine: {
|
|
71
|
-
utmCampaign: string | null;
|
|
72
|
-
target: {
|
|
73
|
-
csvFileName: string;
|
|
74
|
-
targetUsersCount: number;
|
|
75
|
-
excludedUsersCount: number;
|
|
76
|
-
} | null;
|
|
77
|
-
};
|
|
78
|
-
});
|
|
79
|
-
}>;
|
|
80
|
-
type CampaignsIdGetPath = ForceDig<CampaignsIdGetOperation, ["parameters", "path"]>;
|
|
81
|
-
declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
82
|
-
campaignDetail: ({
|
|
83
|
-
id: number;
|
|
84
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
85
|
-
title: string | null;
|
|
86
|
-
deliveryScheduledAt: string | null;
|
|
87
|
-
} & {
|
|
88
|
-
kind: "curationMailMagazine";
|
|
89
|
-
curationMailMagazine: ({
|
|
90
|
-
utmCampaign: string | null;
|
|
91
|
-
subject: string | null;
|
|
92
|
-
preHeaderText: string | null;
|
|
93
|
-
deliveredUsersCount: number | null;
|
|
94
|
-
targetFilters: {
|
|
95
|
-
id: number;
|
|
96
|
-
behaviorSegmentCodes: string[];
|
|
97
|
-
profileSegmentCodes: string[];
|
|
98
|
-
}[];
|
|
99
|
-
} & {
|
|
100
|
-
bodyKind: "freeFormat";
|
|
101
|
-
htmlBody: string | null;
|
|
102
|
-
htmlStyle: string | null;
|
|
103
|
-
images: {
|
|
104
|
-
id: number;
|
|
105
|
-
key: string;
|
|
106
|
-
}[];
|
|
107
|
-
}) | ({
|
|
108
|
-
utmCampaign: string | null;
|
|
109
|
-
subject: string | null;
|
|
110
|
-
preHeaderText: string | null;
|
|
111
|
-
deliveredUsersCount: number | null;
|
|
112
|
-
targetFilters: {
|
|
113
|
-
id: number;
|
|
114
|
-
behaviorSegmentCodes: string[];
|
|
115
|
-
profileSegmentCodes: string[];
|
|
116
|
-
}[];
|
|
117
|
-
} & {
|
|
118
|
-
bodyKind: "template";
|
|
119
|
-
projects: {
|
|
120
|
-
id: number;
|
|
121
|
-
readyforProjectId: number;
|
|
122
|
-
slotNumber: number;
|
|
123
|
-
isPaidSlot: boolean;
|
|
124
|
-
title: string | null;
|
|
125
|
-
description: string | null;
|
|
126
|
-
thumbnailUrl: string | null;
|
|
127
|
-
tag: string | null;
|
|
128
|
-
tagUrl: string | null;
|
|
129
|
-
}[];
|
|
130
|
-
banners: {
|
|
131
|
-
id: number;
|
|
132
|
-
slotNumber: number;
|
|
133
|
-
imageUrl: string | null;
|
|
134
|
-
url: string | null;
|
|
135
|
-
}[];
|
|
136
|
-
});
|
|
137
|
-
}) | ({
|
|
138
|
-
id: number;
|
|
139
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
140
|
-
title: string | null;
|
|
141
|
-
deliveryScheduledAt: string | null;
|
|
142
|
-
} & {
|
|
143
|
-
kind: "personalizedMailMagazine";
|
|
144
|
-
personalizedMailMagazine: {
|
|
145
|
-
utmCampaign: string | null;
|
|
146
|
-
target: {
|
|
147
|
-
csvFileName: string;
|
|
148
|
-
targetUsersCount: number;
|
|
149
|
-
excludedUsersCount: number;
|
|
150
|
-
} | null;
|
|
151
|
-
};
|
|
152
|
-
});
|
|
153
|
-
}>;
|
|
154
|
-
type CampaignsIdDeleteOperation = paths["/api/campaigns/{id}"]["delete"];
|
|
155
|
-
declare const buildCampaignsIdDeleteFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
156
|
-
type CampaignsIdDeletePath = ForceDig<CampaignsIdDeleteOperation, ["parameters", "path"]>;
|
|
157
|
-
declare const deleteCampaignsId: (path: CampaignsIdDeletePath, customRequestInit?: RequestInit) => Promise<void>;
|
|
158
|
-
type CampaignsIdPatchOperation = paths["/api/campaigns/{id}"]["patch"];
|
|
159
|
-
type CampaignsIdPatchResponse = CampaignsIdPatchOperation["responses"]["200"]["content"]["application/json"];
|
|
160
|
-
declare const buildCampaignsIdPatchFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
161
|
-
campaignDetail: ({
|
|
162
|
-
id: number;
|
|
163
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
164
|
-
title: string | null;
|
|
165
|
-
deliveryScheduledAt: string | null;
|
|
166
|
-
} & {
|
|
167
|
-
kind: "curationMailMagazine";
|
|
168
|
-
curationMailMagazine: ({
|
|
169
|
-
utmCampaign: string | null;
|
|
170
|
-
subject: string | null;
|
|
171
|
-
preHeaderText: string | null;
|
|
172
|
-
deliveredUsersCount: number | null;
|
|
173
|
-
targetFilters: {
|
|
174
|
-
id: number;
|
|
175
|
-
behaviorSegmentCodes: string[];
|
|
176
|
-
profileSegmentCodes: string[];
|
|
177
|
-
}[];
|
|
178
|
-
} & {
|
|
179
|
-
bodyKind: "freeFormat";
|
|
180
|
-
htmlBody: string | null;
|
|
181
|
-
htmlStyle: string | null;
|
|
182
|
-
images: {
|
|
183
|
-
id: number;
|
|
184
|
-
key: string;
|
|
185
|
-
}[];
|
|
186
|
-
}) | ({
|
|
187
|
-
utmCampaign: string | null;
|
|
188
|
-
subject: string | null;
|
|
189
|
-
preHeaderText: string | null;
|
|
190
|
-
deliveredUsersCount: number | null;
|
|
191
|
-
targetFilters: {
|
|
192
|
-
id: number;
|
|
193
|
-
behaviorSegmentCodes: string[];
|
|
194
|
-
profileSegmentCodes: string[];
|
|
195
|
-
}[];
|
|
196
|
-
} & {
|
|
197
|
-
bodyKind: "template";
|
|
198
|
-
projects: {
|
|
199
|
-
id: number;
|
|
200
|
-
readyforProjectId: number;
|
|
201
|
-
slotNumber: number;
|
|
202
|
-
isPaidSlot: boolean;
|
|
203
|
-
title: string | null;
|
|
204
|
-
description: string | null;
|
|
205
|
-
thumbnailUrl: string | null;
|
|
206
|
-
tag: string | null;
|
|
207
|
-
tagUrl: string | null;
|
|
208
|
-
}[];
|
|
209
|
-
banners: {
|
|
210
|
-
id: number;
|
|
211
|
-
slotNumber: number;
|
|
212
|
-
imageUrl: string | null;
|
|
213
|
-
url: string | null;
|
|
214
|
-
}[];
|
|
215
|
-
});
|
|
216
|
-
}) | ({
|
|
217
|
-
id: number;
|
|
218
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
219
|
-
title: string | null;
|
|
220
|
-
deliveryScheduledAt: string | null;
|
|
221
|
-
} & {
|
|
222
|
-
kind: "personalizedMailMagazine";
|
|
223
|
-
personalizedMailMagazine: {
|
|
224
|
-
utmCampaign: string | null;
|
|
225
|
-
target: {
|
|
226
|
-
csvFileName: string;
|
|
227
|
-
targetUsersCount: number;
|
|
228
|
-
excludedUsersCount: number;
|
|
229
|
-
} | null;
|
|
230
|
-
};
|
|
231
|
-
});
|
|
232
|
-
}>;
|
|
233
|
-
type CampaignsIdPatchPath = ForceDig<CampaignsIdPatchOperation, ["parameters", "path"]>;
|
|
234
|
-
type CampaignsIdPatchRequestBody = ForceDig<CampaignsIdPatchOperation, ["requestBody", "content", "multipart/form-data"]>;
|
|
235
|
-
declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<{
|
|
236
|
-
campaignDetail: ({
|
|
237
|
-
id: number;
|
|
238
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
239
|
-
title: string | null;
|
|
240
|
-
deliveryScheduledAt: string | null;
|
|
241
|
-
} & {
|
|
242
|
-
kind: "curationMailMagazine";
|
|
243
|
-
curationMailMagazine: ({
|
|
244
|
-
utmCampaign: string | null;
|
|
245
|
-
subject: string | null;
|
|
246
|
-
preHeaderText: string | null;
|
|
247
|
-
deliveredUsersCount: number | null;
|
|
248
|
-
targetFilters: {
|
|
249
|
-
id: number;
|
|
250
|
-
behaviorSegmentCodes: string[];
|
|
251
|
-
profileSegmentCodes: string[];
|
|
252
|
-
}[];
|
|
253
|
-
} & {
|
|
254
|
-
bodyKind: "freeFormat";
|
|
255
|
-
htmlBody: string | null;
|
|
256
|
-
htmlStyle: string | null;
|
|
257
|
-
images: {
|
|
258
|
-
id: number;
|
|
259
|
-
key: string;
|
|
260
|
-
}[];
|
|
261
|
-
}) | ({
|
|
262
|
-
utmCampaign: string | null;
|
|
263
|
-
subject: string | null;
|
|
264
|
-
preHeaderText: string | null;
|
|
265
|
-
deliveredUsersCount: number | null;
|
|
266
|
-
targetFilters: {
|
|
267
|
-
id: number;
|
|
268
|
-
behaviorSegmentCodes: string[];
|
|
269
|
-
profileSegmentCodes: string[];
|
|
270
|
-
}[];
|
|
271
|
-
} & {
|
|
272
|
-
bodyKind: "template";
|
|
273
|
-
projects: {
|
|
274
|
-
id: number;
|
|
275
|
-
readyforProjectId: number;
|
|
276
|
-
slotNumber: number;
|
|
277
|
-
isPaidSlot: boolean;
|
|
278
|
-
title: string | null;
|
|
279
|
-
description: string | null;
|
|
280
|
-
thumbnailUrl: string | null;
|
|
281
|
-
tag: string | null;
|
|
282
|
-
tagUrl: string | null;
|
|
283
|
-
}[];
|
|
284
|
-
banners: {
|
|
285
|
-
id: number;
|
|
286
|
-
slotNumber: number;
|
|
287
|
-
imageUrl: string | null;
|
|
288
|
-
url: string | null;
|
|
289
|
-
}[];
|
|
290
|
-
});
|
|
291
|
-
}) | ({
|
|
292
|
-
id: number;
|
|
293
|
-
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
294
|
-
title: string | null;
|
|
295
|
-
deliveryScheduledAt: string | null;
|
|
296
|
-
} & {
|
|
297
|
-
kind: "personalizedMailMagazine";
|
|
298
|
-
personalizedMailMagazine: {
|
|
299
|
-
utmCampaign: string | null;
|
|
300
|
-
target: {
|
|
301
|
-
csvFileName: string;
|
|
302
|
-
targetUsersCount: number;
|
|
303
|
-
excludedUsersCount: number;
|
|
304
|
-
} | null;
|
|
305
|
-
};
|
|
306
|
-
});
|
|
307
|
-
}>;
|
|
308
|
-
//#endregion
|
|
309
|
-
export { CampaignsIdPatchRequestBody as a, buildCampaignsIdGetFetcher as c, getCampaignsId as d, patchCampaignsId as f, CampaignsIdPatchPath as i, buildCampaignsIdPatchFetcher as l, CampaignsIdGetPath as n, CampaignsIdPatchResponse as o, CampaignsIdGetResponse as r, buildCampaignsIdDeleteFetcher as s, CampaignsIdDeletePath as t, deleteCampaignsId as u };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { a as paths } from "./schemaType-C7Ke0u8R.js";
|
|
2
|
-
import { ForceDig } from "@readyfor/api-client-base";
|
|
3
|
-
|
|
4
|
-
//#region src/fetch/campaignsIdUtmCampaignConflicts.d.ts
|
|
5
|
-
type CampaignsIdUtmCampaignConflictsGetOperation = paths["/api/campaigns/{id}/utm_campaign_conflicts"]["get"];
|
|
6
|
-
type CampaignsIdUtmCampaignConflictsGetResponse = CampaignsIdUtmCampaignConflictsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
7
|
-
declare const buildCampaignsIdUtmCampaignConflictsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
8
|
-
campaigns: {
|
|
9
|
-
id: number;
|
|
10
|
-
title: string | null;
|
|
11
|
-
}[];
|
|
12
|
-
}>;
|
|
13
|
-
type CampaignsIdUtmCampaignConflictsGetPath = ForceDig<CampaignsIdUtmCampaignConflictsGetOperation, ["parameters", "path"]>;
|
|
14
|
-
type CampaignsIdUtmCampaignConflictsGetQuery = ForceDig<CampaignsIdUtmCampaignConflictsGetOperation, ["parameters", "query"]>;
|
|
15
|
-
declare const getCampaignsIdUtmCampaignConflicts: (path: CampaignsIdUtmCampaignConflictsGetPath, query: CampaignsIdUtmCampaignConflictsGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
16
|
-
campaigns: {
|
|
17
|
-
id: number;
|
|
18
|
-
title: string | null;
|
|
19
|
-
}[];
|
|
20
|
-
}>;
|
|
21
|
-
//#endregion
|
|
22
|
-
export { getCampaignsIdUtmCampaignConflicts as a, buildCampaignsIdUtmCampaignConflictsGetFetcher as i, CampaignsIdUtmCampaignConflictsGetQuery as n, CampaignsIdUtmCampaignConflictsGetResponse as r, CampaignsIdUtmCampaignConflictsGetPath as t };
|
package/dist/index-CfvILin8.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { a as paths } from "./schemaType-C7Ke0u8R.js";
|
|
2
|
-
import { ForceDig } from "@readyfor/api-client-base";
|
|
3
|
-
|
|
4
|
-
//#region src/fetch/projectsProjectIdOrKeyword.d.ts
|
|
5
|
-
type ProjectsProjectIdOrKeywordGetOperation = paths["/api/projects/{project_id_or_keyword}"]["get"];
|
|
6
|
-
type ProjectsProjectIdOrKeywordGetResponse = ProjectsProjectIdOrKeywordGetOperation["responses"]["200"]["content"]["application/json"];
|
|
7
|
-
declare const buildProjectsProjectIdOrKeywordGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
8
|
-
project: {
|
|
9
|
-
projectId: number;
|
|
10
|
-
keyword: string;
|
|
11
|
-
title: string;
|
|
12
|
-
abstract: string;
|
|
13
|
-
};
|
|
14
|
-
}>;
|
|
15
|
-
type ProjectsProjectIdOrKeywordGetPath = ForceDig<ProjectsProjectIdOrKeywordGetOperation, ["parameters", "path"]>;
|
|
16
|
-
declare const getProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
17
|
-
project: {
|
|
18
|
-
projectId: number;
|
|
19
|
-
keyword: string;
|
|
20
|
-
title: string;
|
|
21
|
-
abstract: string;
|
|
22
|
-
};
|
|
23
|
-
}>;
|
|
24
|
-
//#endregion
|
|
25
|
-
export { getProjectsProjectIdOrKeyword as i, ProjectsProjectIdOrKeywordGetResponse as n, buildProjectsProjectIdOrKeywordGetFetcher as r, ProjectsProjectIdOrKeywordGetPath as t };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { a as paths } from "./schemaType-C7Ke0u8R.js";
|
|
2
|
-
|
|
3
|
-
//#region src/fetch/segmentsBehaviorSegments.d.ts
|
|
4
|
-
type SegmentsBehaviorSegmentsGetOperation = paths["/api/segments/behavior_segments"]["get"];
|
|
5
|
-
type SegmentsBehaviorSegmentsGetResponse = SegmentsBehaviorSegmentsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildSegmentsBehaviorSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
-
behaviorSegments: {
|
|
8
|
-
code: string;
|
|
9
|
-
label: string;
|
|
10
|
-
isActive: boolean;
|
|
11
|
-
displayOrder: number | null;
|
|
12
|
-
description: string | null;
|
|
13
|
-
}[];
|
|
14
|
-
}>;
|
|
15
|
-
declare const getSegmentsBehaviorSegments: (customRequestInit?: RequestInit) => Promise<{
|
|
16
|
-
behaviorSegments: {
|
|
17
|
-
code: string;
|
|
18
|
-
label: string;
|
|
19
|
-
isActive: boolean;
|
|
20
|
-
displayOrder: number | null;
|
|
21
|
-
description: string | null;
|
|
22
|
-
}[];
|
|
23
|
-
}>;
|
|
24
|
-
//#endregion
|
|
25
|
-
export { buildSegmentsBehaviorSegmentsGetFetcher as n, getSegmentsBehaviorSegments as r, SegmentsBehaviorSegmentsGetResponse as t };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { a as paths } from "./schemaType-C7Ke0u8R.js";
|
|
2
|
-
|
|
3
|
-
//#region src/fetch/segmentsProfileSegments.d.ts
|
|
4
|
-
type SegmentsProfileSegmentsGetOperation = paths["/api/segments/profile_segments"]["get"];
|
|
5
|
-
type SegmentsProfileSegmentsGetResponse = SegmentsProfileSegmentsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildSegmentsProfileSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
-
profileSegments: {
|
|
8
|
-
code: string;
|
|
9
|
-
label: string;
|
|
10
|
-
isActive: boolean;
|
|
11
|
-
displayOrder: number | null;
|
|
12
|
-
description: string | null;
|
|
13
|
-
}[];
|
|
14
|
-
}>;
|
|
15
|
-
declare const getSegmentsProfileSegments: (customRequestInit?: RequestInit) => Promise<{
|
|
16
|
-
profileSegments: {
|
|
17
|
-
code: string;
|
|
18
|
-
label: string;
|
|
19
|
-
isActive: boolean;
|
|
20
|
-
displayOrder: number | null;
|
|
21
|
-
description: string | null;
|
|
22
|
-
}[];
|
|
23
|
-
}>;
|
|
24
|
-
//#endregion
|
|
25
|
-
export { buildSegmentsProfileSegmentsGetFetcher as n, getSegmentsProfileSegments as r, SegmentsProfileSegmentsGetResponse as t };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{segmentsTargetUsersCount-vu9VJLE9.d.ts → segmentsTargetUsersCount-3I5k_t6q.d.ts}
RENAMED
|
File without changes
|