@readyfor/api-client-pigeon 0.244.0-pr981.aa1d2e5 → 0.244.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-JWVQXFDL.mjs → chunk-3BSY3CC4.mjs} +1 -1
- package/dist/chunk-6DE2SHQZ.mjs +19 -0
- package/dist/chunk-BGIB7JQD.mjs +19 -0
- package/dist/chunk-D455PCO3.mjs +19 -0
- package/dist/chunk-DH3UXOBA.mjs +19 -0
- package/dist/{chunk-7JRHKS3K.mjs → chunk-DQW3ZEJN.mjs} +1 -1
- package/dist/chunk-EYJTETGN.mjs +34 -0
- package/dist/chunk-KBTZNIQJ.mjs +20 -0
- package/dist/{chunk-2FPDBPJY.mjs → chunk-KL2BCQLU.mjs} +1 -1
- package/dist/{chunk-G6IJEAVR.mjs → chunk-LUUW3QOB.mjs} +1 -1
- package/dist/chunk-MFCSQX6F.mjs +29 -0
- package/dist/chunk-NIBXTDD3.mjs +15 -0
- package/dist/chunk-NKNUFH54.mjs +19 -0
- package/dist/{chunk-OLAYQE52.mjs → chunk-S2M3EJKW.mjs} +1 -1
- package/dist/chunk-VJU27CZQ.mjs +19 -0
- package/dist/{chunk-NIZUYZOH.mjs → chunk-VUY6GQWT.mjs} +1 -1
- package/dist/chunk-YV4XRZY2.mjs +22 -0
- package/dist/{chunk-HD6B7N5S.mjs → chunk-ZDQDW24D.mjs} +1 -1
- package/dist/fetch/campaigns.d.mts +2 -2
- package/dist/fetch/campaigns.d.ts +2 -2
- package/dist/fetch/campaigns.js +10 -18
- package/dist/fetch/campaigns.mjs +1 -1
- package/dist/fetch/campaignsCampaignIdImagesId.d.mts +1 -1
- package/dist/fetch/campaignsCampaignIdImagesId.d.ts +1 -1
- package/dist/fetch/campaignsCampaignIdImagesId.js +4 -12
- package/dist/fetch/campaignsCampaignIdImagesId.mjs +1 -1
- package/dist/fetch/campaignsId.d.mts +3 -3
- package/dist/fetch/campaignsId.d.ts +3 -3
- package/dist/fetch/campaignsId.js +12 -24
- package/dist/fetch/campaignsId.mjs +1 -1
- package/dist/fetch/campaignsIdDeliveryJob.d.mts +2 -2
- package/dist/fetch/campaignsIdDeliveryJob.d.ts +2 -2
- package/dist/fetch/campaignsIdDeliveryJob.js +8 -20
- package/dist/fetch/campaignsIdDeliveryJob.mjs +1 -1
- package/dist/fetch/campaignsIdImages.d.mts +1 -1
- package/dist/fetch/campaignsIdImages.d.ts +1 -1
- package/dist/fetch/campaignsIdImages.js +4 -13
- package/dist/fetch/campaignsIdImages.mjs +1 -1
- package/dist/fetch/campaignsIdPreview.d.mts +1 -1
- package/dist/fetch/campaignsIdPreview.d.ts +1 -1
- package/dist/fetch/campaignsIdPreview.js +4 -10
- package/dist/fetch/campaignsIdPreview.mjs +1 -1
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.mts +1 -1
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.ts +1 -1
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.js +9 -16
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.mjs +1 -1
- package/dist/fetch/projectsProjectIdOrKeyword.d.mts +1 -1
- package/dist/fetch/projectsProjectIdOrKeyword.d.ts +1 -1
- package/dist/fetch/projectsProjectIdOrKeyword.js +4 -10
- package/dist/fetch/projectsProjectIdOrKeyword.mjs +1 -1
- package/dist/fetch/segmentsBehaviorSegments.d.mts +1 -1
- package/dist/fetch/segmentsBehaviorSegments.d.ts +1 -1
- package/dist/fetch/segmentsBehaviorSegments.js +4 -7
- package/dist/fetch/segmentsBehaviorSegments.mjs +1 -1
- package/dist/fetch/segmentsProfileSegments.d.mts +1 -1
- package/dist/fetch/segmentsProfileSegments.d.ts +1 -1
- package/dist/fetch/segmentsProfileSegments.js +4 -7
- package/dist/fetch/segmentsProfileSegments.mjs +1 -1
- package/dist/fetch/segmentsTargetUsersCount.d.mts +1 -1
- package/dist/fetch/segmentsTargetUsersCount.d.ts +1 -1
- package/dist/fetch/segmentsTargetUsersCount.js +4 -11
- package/dist/fetch/segmentsTargetUsersCount.mjs +1 -1
- package/dist/hooks/index.mjs +18 -18
- package/dist/hooks/useCampaigns.mjs +12 -12
- package/dist/hooks/useCampaignsId.mjs +12 -12
- package/dist/hooks/useCampaignsIdPreview.mjs +12 -12
- package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +12 -12
- package/dist/hooks/useSegmentsBehaviorSegments.mjs +12 -12
- package/dist/hooks/useSegmentsProfileSegments.mjs +12 -12
- package/dist/hooks/useSegmentsTargetUsersCount.mjs +12 -12
- package/dist/index.js +67 -148
- package/dist/index.mjs +11 -11
- package/package.json +13 -12
- package/dist/chunk-2ANX7NRV.mjs +0 -24
- package/dist/chunk-4GY6JZ77.mjs +0 -39
- package/dist/chunk-6JHFWIAW.mjs +0 -27
- package/dist/chunk-6ZETET36.mjs +0 -24
- package/dist/chunk-IKRY3IDS.mjs +0 -28
- package/dist/chunk-JVMIOVIM.mjs +0 -29
- package/dist/chunk-LMM3AGZ6.mjs +0 -36
- package/dist/chunk-MCYE5BYS.mjs +0 -25
- package/dist/chunk-OODNPRT4.mjs +0 -30
- package/dist/chunk-TP3CBDVX.mjs +0 -48
- package/dist/chunk-X2WL4YZH.mjs +0 -27
package/dist/chunk-LMM3AGZ6.mjs
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
// src/fetch/campaignsIdDeliveryJob.ts
|
|
2
|
-
import {
|
|
3
|
-
createVoidFetcher,
|
|
4
|
-
__internal__requestUrl,
|
|
5
|
-
buildRequestInitWithDefaultConfig,
|
|
6
|
-
mergeRequestInit
|
|
7
|
-
} from "@readyfor/api-client-base";
|
|
8
|
-
var buildCampaignsIdDeliveryJobPostFetcher = (requestInit) => createVoidFetcher({ ...requestInit });
|
|
9
|
-
var postCampaignsIdDeliveryJob = (path, customRequestInit) => {
|
|
10
|
-
const requestInfo = __internal__requestUrl(
|
|
11
|
-
"/api/campaigns/{id}/delivery_job",
|
|
12
|
-
path
|
|
13
|
-
);
|
|
14
|
-
const requestInit = buildRequestInitWithDefaultConfig(
|
|
15
|
-
mergeRequestInit(customRequestInit ?? {}, { method: "POST" })
|
|
16
|
-
);
|
|
17
|
-
return buildCampaignsIdDeliveryJobPostFetcher(requestInit)(requestInfo);
|
|
18
|
-
};
|
|
19
|
-
var buildCampaignsIdDeliveryJobDeleteFetcher = (requestInit) => createVoidFetcher({ ...requestInit });
|
|
20
|
-
var deleteCampaignsIdDeliveryJob = (path, customRequestInit) => {
|
|
21
|
-
const requestInfo = __internal__requestUrl(
|
|
22
|
-
"/api/campaigns/{id}/delivery_job",
|
|
23
|
-
path
|
|
24
|
-
);
|
|
25
|
-
const requestInit = buildRequestInitWithDefaultConfig(
|
|
26
|
-
mergeRequestInit(customRequestInit ?? {}, { method: "DELETE" })
|
|
27
|
-
);
|
|
28
|
-
return buildCampaignsIdDeliveryJobDeleteFetcher(requestInit)(requestInfo);
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export {
|
|
32
|
-
buildCampaignsIdDeliveryJobPostFetcher,
|
|
33
|
-
postCampaignsIdDeliveryJob,
|
|
34
|
-
buildCampaignsIdDeliveryJobDeleteFetcher,
|
|
35
|
-
deleteCampaignsIdDeliveryJob
|
|
36
|
-
};
|
package/dist/chunk-MCYE5BYS.mjs
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// src/fetch/campaignsCampaignIdImagesId.ts
|
|
2
|
-
import {
|
|
3
|
-
createVoidFetcher,
|
|
4
|
-
__internal__requestUrl,
|
|
5
|
-
buildRequestInitWithDefaultConfig,
|
|
6
|
-
mergeRequestInit
|
|
7
|
-
} from "@readyfor/api-client-base";
|
|
8
|
-
var buildCampaignsCampaignIdImagesIdDeleteFetcher = (requestInit) => createVoidFetcher({ ...requestInit });
|
|
9
|
-
var deleteCampaignsCampaignIdImagesId = (path, customRequestInit) => {
|
|
10
|
-
const requestInfo = __internal__requestUrl(
|
|
11
|
-
"/api/campaigns/{campaign_id}/images/{id}",
|
|
12
|
-
path
|
|
13
|
-
);
|
|
14
|
-
const requestInit = buildRequestInitWithDefaultConfig(
|
|
15
|
-
mergeRequestInit(customRequestInit ?? {}, { method: "DELETE" })
|
|
16
|
-
);
|
|
17
|
-
return buildCampaignsCampaignIdImagesIdDeleteFetcher(requestInit)(
|
|
18
|
-
requestInfo
|
|
19
|
-
);
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
buildCampaignsCampaignIdImagesIdDeleteFetcher,
|
|
24
|
-
deleteCampaignsCampaignIdImagesId
|
|
25
|
-
};
|
package/dist/chunk-OODNPRT4.mjs
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Image
|
|
3
|
-
} from "./chunk-QCIAYUXK.mjs";
|
|
4
|
-
|
|
5
|
-
// src/fetch/campaignsIdImages.ts
|
|
6
|
-
import {
|
|
7
|
-
createJsonFetcher,
|
|
8
|
-
__internal__requestUrl,
|
|
9
|
-
buildRequestInitWithDefaultConfig,
|
|
10
|
-
mergeRequestInit
|
|
11
|
-
} from "@readyfor/api-client-base";
|
|
12
|
-
var buildCampaignsIdImagesPostFetcher = (requestInit) => createJsonFetcher(Image, { ...requestInit });
|
|
13
|
-
var postCampaignsIdImages = (path, requestBody, customRequestInit) => {
|
|
14
|
-
const requestInfo = __internal__requestUrl(
|
|
15
|
-
"/api/campaigns/{id}/images",
|
|
16
|
-
path
|
|
17
|
-
);
|
|
18
|
-
const requestInit = buildRequestInitWithDefaultConfig(
|
|
19
|
-
mergeRequestInit(customRequestInit ?? {}, {
|
|
20
|
-
method: "POST",
|
|
21
|
-
body: requestBody
|
|
22
|
-
})
|
|
23
|
-
);
|
|
24
|
-
return buildCampaignsIdImagesPostFetcher(requestInit)(requestInfo);
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export {
|
|
28
|
-
buildCampaignsIdImagesPostFetcher,
|
|
29
|
-
postCampaignsIdImages
|
|
30
|
-
};
|
package/dist/chunk-TP3CBDVX.mjs
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CampaignsCampaignIdResponse
|
|
3
|
-
} from "./chunk-QCIAYUXK.mjs";
|
|
4
|
-
|
|
5
|
-
// src/fetch/campaignsId.ts
|
|
6
|
-
import {
|
|
7
|
-
createJsonFetcher,
|
|
8
|
-
__internal__requestUrl,
|
|
9
|
-
buildRequestInitWithDefaultConfig,
|
|
10
|
-
mergeRequestInit,
|
|
11
|
-
createVoidFetcher
|
|
12
|
-
} from "@readyfor/api-client-base";
|
|
13
|
-
var buildCampaignsIdGetFetcher = (requestInit) => createJsonFetcher(CampaignsCampaignIdResponse, { ...requestInit });
|
|
14
|
-
var getCampaignsId = (path, customRequestInit) => {
|
|
15
|
-
const requestInfo = __internal__requestUrl("/api/campaigns/{id}", path);
|
|
16
|
-
const requestInit = buildRequestInitWithDefaultConfig(
|
|
17
|
-
mergeRequestInit(customRequestInit ?? {}, { method: "GET" })
|
|
18
|
-
);
|
|
19
|
-
return buildCampaignsIdGetFetcher(requestInit)(requestInfo);
|
|
20
|
-
};
|
|
21
|
-
var buildCampaignsIdDeleteFetcher = (requestInit) => createVoidFetcher({ ...requestInit });
|
|
22
|
-
var deleteCampaignsId = (path, customRequestInit) => {
|
|
23
|
-
const requestInfo = __internal__requestUrl("/api/campaigns/{id}", path);
|
|
24
|
-
const requestInit = buildRequestInitWithDefaultConfig(
|
|
25
|
-
mergeRequestInit(customRequestInit ?? {}, { method: "DELETE" })
|
|
26
|
-
);
|
|
27
|
-
return buildCampaignsIdDeleteFetcher(requestInit)(requestInfo);
|
|
28
|
-
};
|
|
29
|
-
var buildCampaignsIdPatchFetcher = (requestInit) => createJsonFetcher(CampaignsCampaignIdResponse, { ...requestInit });
|
|
30
|
-
var patchCampaignsId = (path, requestBody, customRequestInit) => {
|
|
31
|
-
const requestInfo = __internal__requestUrl("/api/campaigns/{id}", path);
|
|
32
|
-
const requestInit = buildRequestInitWithDefaultConfig(
|
|
33
|
-
mergeRequestInit(customRequestInit ?? {}, {
|
|
34
|
-
method: "PATCH",
|
|
35
|
-
body: requestBody
|
|
36
|
-
})
|
|
37
|
-
);
|
|
38
|
-
return buildCampaignsIdPatchFetcher(requestInit)(requestInfo);
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
export {
|
|
42
|
-
buildCampaignsIdGetFetcher,
|
|
43
|
-
getCampaignsId,
|
|
44
|
-
buildCampaignsIdDeleteFetcher,
|
|
45
|
-
deleteCampaignsId,
|
|
46
|
-
buildCampaignsIdPatchFetcher,
|
|
47
|
-
patchCampaignsId
|
|
48
|
-
};
|
package/dist/chunk-X2WL4YZH.mjs
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
GetCampaignsCampaignIdPreviewResponse
|
|
3
|
-
} from "./chunk-QCIAYUXK.mjs";
|
|
4
|
-
|
|
5
|
-
// src/fetch/campaignsIdPreview.ts
|
|
6
|
-
import {
|
|
7
|
-
createJsonFetcher,
|
|
8
|
-
__internal__requestUrl,
|
|
9
|
-
buildRequestInitWithDefaultConfig,
|
|
10
|
-
mergeRequestInit
|
|
11
|
-
} from "@readyfor/api-client-base";
|
|
12
|
-
var buildCampaignsIdPreviewGetFetcher = (requestInit) => createJsonFetcher(GetCampaignsCampaignIdPreviewResponse, { ...requestInit });
|
|
13
|
-
var getCampaignsIdPreview = (path, customRequestInit) => {
|
|
14
|
-
const requestInfo = __internal__requestUrl(
|
|
15
|
-
"/api/campaigns/{id}/preview",
|
|
16
|
-
path
|
|
17
|
-
);
|
|
18
|
-
const requestInit = buildRequestInitWithDefaultConfig(
|
|
19
|
-
mergeRequestInit(customRequestInit ?? {}, { method: "GET" })
|
|
20
|
-
);
|
|
21
|
-
return buildCampaignsIdPreviewGetFetcher(requestInit)(requestInfo);
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export {
|
|
25
|
-
buildCampaignsIdPreviewGetFetcher,
|
|
26
|
-
getCampaignsIdPreview
|
|
27
|
-
};
|