@readyfor/api-client-pigeon 0.239.0 → 0.240.0-pr981.599560e
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-VUY6GQWT.mjs → chunk-27GLDQK3.mjs} +1 -1
- package/dist/chunk-2B6GQILG.mjs +24 -0
- package/dist/chunk-2MRIEXEQ.mjs +29 -0
- package/dist/chunk-4YF2M7Y7.mjs +29 -0
- package/dist/chunk-AQVUMZVL.mjs +24 -0
- package/dist/chunk-CABZT6BU.mjs +30 -0
- package/dist/{chunk-3BSY3CC4.mjs → chunk-EN3CP4JR.mjs} +1 -1
- package/dist/chunk-HNVHV5GD.mjs +41 -0
- package/dist/chunk-JXZJCPX3.mjs +28 -0
- package/dist/chunk-NKU3JO55.mjs +37 -0
- package/dist/chunk-O4CHNDYY.mjs +28 -0
- package/dist/{chunk-DQW3ZEJN.mjs → chunk-QKM5JPTE.mjs} +1 -1
- package/dist/{chunk-S2M3EJKW.mjs → chunk-T3IYQXXP.mjs} +1 -1
- package/dist/{chunk-LUUW3QOB.mjs → chunk-TLGSSZT7.mjs} +1 -1
- package/dist/chunk-UTUZQQT6.mjs +25 -0
- package/dist/{chunk-ZDQDW24D.mjs → chunk-UU5WXXGN.mjs} +1 -1
- package/dist/{chunk-KL2BCQLU.mjs → chunk-W6D6J2QD.mjs} +1 -1
- package/dist/chunk-YT25LCGA.mjs +48 -0
- package/dist/fetch/campaigns.d.mts +4 -4
- package/dist/fetch/campaigns.d.ts +4 -4
- package/dist/fetch/campaigns.js +23 -12
- package/dist/fetch/campaigns.mjs +1 -1
- package/dist/fetch/campaignsCampaignIdImagesId.d.mts +2 -2
- package/dist/fetch/campaignsCampaignIdImagesId.d.ts +2 -2
- package/dist/fetch/campaignsCampaignIdImagesId.js +14 -5
- package/dist/fetch/campaignsCampaignIdImagesId.mjs +1 -1
- package/dist/fetch/campaignsId.d.mts +6 -6
- package/dist/fetch/campaignsId.d.ts +6 -6
- package/dist/fetch/campaignsId.js +28 -15
- package/dist/fetch/campaignsId.mjs +1 -1
- package/dist/fetch/campaignsIdDeliveryJob.d.mts +4 -4
- package/dist/fetch/campaignsIdDeliveryJob.d.ts +4 -4
- package/dist/fetch/campaignsIdDeliveryJob.js +24 -10
- package/dist/fetch/campaignsIdDeliveryJob.mjs +1 -1
- package/dist/fetch/campaignsIdImages.d.mts +2 -2
- package/dist/fetch/campaignsIdImages.d.ts +2 -2
- package/dist/fetch/campaignsIdImages.js +13 -5
- package/dist/fetch/campaignsIdImages.mjs +1 -1
- package/dist/fetch/campaignsIdPreview.d.mts +2 -2
- package/dist/fetch/campaignsIdPreview.d.ts +2 -2
- package/dist/fetch/campaignsIdPreview.js +14 -5
- package/dist/fetch/campaignsIdPreview.mjs +1 -1
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.mts +2 -2
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.ts +2 -2
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.js +17 -8
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.mjs +1 -1
- package/dist/fetch/projectsProjectIdOrKeyword.d.mts +2 -2
- package/dist/fetch/projectsProjectIdOrKeyword.d.ts +2 -2
- package/dist/fetch/projectsProjectIdOrKeyword.js +14 -5
- package/dist/fetch/projectsProjectIdOrKeyword.mjs +1 -1
- package/dist/fetch/segmentsBehaviorSegments.d.mts +2 -2
- package/dist/fetch/segmentsBehaviorSegments.d.ts +2 -2
- package/dist/fetch/segmentsBehaviorSegments.js +9 -5
- package/dist/fetch/segmentsBehaviorSegments.mjs +1 -1
- package/dist/fetch/segmentsProfileSegments.d.mts +2 -2
- package/dist/fetch/segmentsProfileSegments.d.ts +2 -2
- package/dist/fetch/segmentsProfileSegments.js +9 -5
- package/dist/fetch/segmentsProfileSegments.mjs +1 -1
- package/dist/fetch/segmentsTargetUsersCount.d.mts +2 -2
- package/dist/fetch/segmentsTargetUsersCount.d.ts +2 -2
- package/dist/fetch/segmentsTargetUsersCount.js +13 -5
- package/dist/fetch/segmentsTargetUsersCount.mjs +1 -1
- package/dist/hooks/index.js +11 -7
- package/dist/hooks/index.mjs +18 -18
- package/dist/hooks/useCampaigns.js +1 -1
- package/dist/hooks/useCampaigns.mjs +12 -12
- package/dist/hooks/useCampaignsId.js +1 -1
- package/dist/hooks/useCampaignsId.mjs +12 -12
- package/dist/hooks/useCampaignsIdPreview.js +3 -1
- package/dist/hooks/useCampaignsIdPreview.mjs +12 -12
- package/dist/hooks/useProjectsProjectIdOrKeyword.js +3 -1
- package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +12 -12
- package/dist/hooks/useSegmentsBehaviorSegments.js +1 -1
- package/dist/hooks/useSegmentsBehaviorSegments.mjs +12 -12
- package/dist/hooks/useSegmentsProfileSegments.js +1 -1
- package/dist/hooks/useSegmentsProfileSegments.mjs +12 -12
- package/dist/hooks/useSegmentsTargetUsersCount.js +1 -1
- package/dist/hooks/useSegmentsTargetUsersCount.mjs +12 -12
- package/dist/index.js +178 -80
- package/dist/index.mjs +11 -11
- package/package.json +12 -13
- package/dist/chunk-6DE2SHQZ.mjs +0 -19
- package/dist/chunk-BGIB7JQD.mjs +0 -19
- package/dist/chunk-D455PCO3.mjs +0 -19
- package/dist/chunk-DH3UXOBA.mjs +0 -19
- package/dist/chunk-EYJTETGN.mjs +0 -34
- package/dist/chunk-KBTZNIQJ.mjs +0 -20
- package/dist/chunk-MFCSQX6F.mjs +0 -29
- package/dist/chunk-NIBXTDD3.mjs +0 -15
- package/dist/chunk-NKNUFH54.mjs +0 -19
- package/dist/chunk-VJU27CZQ.mjs +0 -19
- package/dist/chunk-YV4XRZY2.mjs +0 -22
|
@@ -3,7 +3,7 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type CampaignsIdGetOperation = paths["/api/campaigns/{id}"]["get"];
|
|
5
5
|
type CampaignsIdGetResponse = CampaignsIdGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildCampaignsIdGetFetcher: (
|
|
6
|
+
declare const buildCampaignsIdGetFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
7
|
campaignDetail: {
|
|
8
8
|
curationMailMagazine: {
|
|
9
9
|
utmCampaign: string | null;
|
|
@@ -76,7 +76,7 @@ type CampaignsIdGetPath = ForceDig<CampaignsIdGetOperation, [
|
|
|
76
76
|
"parameters",
|
|
77
77
|
"path"
|
|
78
78
|
]>;
|
|
79
|
-
declare const getCampaignsId: (path: CampaignsIdGetPath,
|
|
79
|
+
declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
80
80
|
campaignDetail: {
|
|
81
81
|
curationMailMagazine: {
|
|
82
82
|
utmCampaign: string | null;
|
|
@@ -146,15 +146,15 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, requestInit?: RequestIn
|
|
|
146
146
|
};
|
|
147
147
|
}>;
|
|
148
148
|
type CampaignsIdDeleteOperation = paths["/api/campaigns/{id}"]["delete"];
|
|
149
|
-
declare const buildCampaignsIdDeleteFetcher: (
|
|
149
|
+
declare const buildCampaignsIdDeleteFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
150
150
|
type CampaignsIdDeletePath = ForceDig<CampaignsIdDeleteOperation, [
|
|
151
151
|
"parameters",
|
|
152
152
|
"path"
|
|
153
153
|
]>;
|
|
154
|
-
declare const deleteCampaignsId: (path: CampaignsIdDeletePath,
|
|
154
|
+
declare const deleteCampaignsId: (path: CampaignsIdDeletePath, customRequestInit?: RequestInit) => Promise<void>;
|
|
155
155
|
type CampaignsIdPatchOperation = paths["/api/campaigns/{id}"]["patch"];
|
|
156
156
|
type CampaignsIdPatchResponse = CampaignsIdPatchOperation["responses"]["200"]["content"]["application/json"];
|
|
157
|
-
declare const buildCampaignsIdPatchFetcher: (
|
|
157
|
+
declare const buildCampaignsIdPatchFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
158
158
|
campaignDetail: {
|
|
159
159
|
curationMailMagazine: {
|
|
160
160
|
utmCampaign: string | null;
|
|
@@ -232,7 +232,7 @@ type CampaignsIdPatchRequestBody = ForceDig<CampaignsIdPatchOperation, [
|
|
|
232
232
|
"content",
|
|
233
233
|
"multipart/form-data"
|
|
234
234
|
]>;
|
|
235
|
-
declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormData,
|
|
235
|
+
declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<{
|
|
236
236
|
campaignDetail: {
|
|
237
237
|
curationMailMagazine: {
|
|
238
238
|
utmCampaign: string | null;
|
|
@@ -3,7 +3,7 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type CampaignsIdGetOperation = paths["/api/campaigns/{id}"]["get"];
|
|
5
5
|
type CampaignsIdGetResponse = CampaignsIdGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildCampaignsIdGetFetcher: (
|
|
6
|
+
declare const buildCampaignsIdGetFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
7
|
campaignDetail: {
|
|
8
8
|
curationMailMagazine: {
|
|
9
9
|
utmCampaign: string | null;
|
|
@@ -76,7 +76,7 @@ type CampaignsIdGetPath = ForceDig<CampaignsIdGetOperation, [
|
|
|
76
76
|
"parameters",
|
|
77
77
|
"path"
|
|
78
78
|
]>;
|
|
79
|
-
declare const getCampaignsId: (path: CampaignsIdGetPath,
|
|
79
|
+
declare const getCampaignsId: (path: CampaignsIdGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
80
80
|
campaignDetail: {
|
|
81
81
|
curationMailMagazine: {
|
|
82
82
|
utmCampaign: string | null;
|
|
@@ -146,15 +146,15 @@ declare const getCampaignsId: (path: CampaignsIdGetPath, requestInit?: RequestIn
|
|
|
146
146
|
};
|
|
147
147
|
}>;
|
|
148
148
|
type CampaignsIdDeleteOperation = paths["/api/campaigns/{id}"]["delete"];
|
|
149
|
-
declare const buildCampaignsIdDeleteFetcher: (
|
|
149
|
+
declare const buildCampaignsIdDeleteFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
150
150
|
type CampaignsIdDeletePath = ForceDig<CampaignsIdDeleteOperation, [
|
|
151
151
|
"parameters",
|
|
152
152
|
"path"
|
|
153
153
|
]>;
|
|
154
|
-
declare const deleteCampaignsId: (path: CampaignsIdDeletePath,
|
|
154
|
+
declare const deleteCampaignsId: (path: CampaignsIdDeletePath, customRequestInit?: RequestInit) => Promise<void>;
|
|
155
155
|
type CampaignsIdPatchOperation = paths["/api/campaigns/{id}"]["patch"];
|
|
156
156
|
type CampaignsIdPatchResponse = CampaignsIdPatchOperation["responses"]["200"]["content"]["application/json"];
|
|
157
|
-
declare const buildCampaignsIdPatchFetcher: (
|
|
157
|
+
declare const buildCampaignsIdPatchFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
158
158
|
campaignDetail: {
|
|
159
159
|
curationMailMagazine: {
|
|
160
160
|
utmCampaign: string | null;
|
|
@@ -232,7 +232,7 @@ type CampaignsIdPatchRequestBody = ForceDig<CampaignsIdPatchOperation, [
|
|
|
232
232
|
"content",
|
|
233
233
|
"multipart/form-data"
|
|
234
234
|
]>;
|
|
235
|
-
declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormData,
|
|
235
|
+
declare const patchCampaignsId: (path: CampaignsIdPatchPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<{
|
|
236
236
|
campaignDetail: {
|
|
237
237
|
curationMailMagazine: {
|
|
238
238
|
utmCampaign: string | null;
|
|
@@ -309,21 +309,34 @@ var GetCampaignsResponse = import_zod.z.object({
|
|
|
309
309
|
});
|
|
310
310
|
|
|
311
311
|
// src/fetch/campaignsId.ts
|
|
312
|
-
var buildCampaignsIdGetFetcher = (
|
|
313
|
-
var getCampaignsId = (path,
|
|
314
|
-
(0, import_api_client_base.__internal__requestUrl)("/api/campaigns/{id}", path)
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
(
|
|
320
|
-
|
|
321
|
-
);
|
|
322
|
-
var
|
|
323
|
-
|
|
324
|
-
(0, import_api_client_base.
|
|
325
|
-
|
|
326
|
-
|
|
312
|
+
var buildCampaignsIdGetFetcher = (customRequestInit) => (0, import_api_client_base.createJsonFetcher)(CampaignsCampaignIdResponse, { ...customRequestInit });
|
|
313
|
+
var getCampaignsId = (path, customRequestInit) => {
|
|
314
|
+
const requestInfo = (0, import_api_client_base.__internal__requestUrl)("/api/campaigns/{id}", path);
|
|
315
|
+
const requestInit = (0, import_api_client_base.buildRequestInitWithDefaultConfig)({
|
|
316
|
+
...customRequestInit,
|
|
317
|
+
method: "GET"
|
|
318
|
+
});
|
|
319
|
+
return buildCampaignsIdGetFetcher(requestInit)(requestInfo);
|
|
320
|
+
};
|
|
321
|
+
var buildCampaignsIdDeleteFetcher = (customRequestInit) => (0, import_api_client_base.createVoidFetcher)({ ...customRequestInit });
|
|
322
|
+
var deleteCampaignsId = (path, customRequestInit) => {
|
|
323
|
+
const requestInfo = (0, import_api_client_base.__internal__requestUrl)("/api/campaigns/{id}", path);
|
|
324
|
+
const requestInit = (0, import_api_client_base.buildRequestInitWithDefaultConfig)({
|
|
325
|
+
...customRequestInit,
|
|
326
|
+
method: "DELETE"
|
|
327
|
+
});
|
|
328
|
+
return buildCampaignsIdDeleteFetcher(requestInit)(requestInfo);
|
|
329
|
+
};
|
|
330
|
+
var buildCampaignsIdPatchFetcher = (customRequestInit) => (0, import_api_client_base.createJsonFetcher)(CampaignsCampaignIdResponse, { ...customRequestInit });
|
|
331
|
+
var patchCampaignsId = (path, requestBody, customRequestInit) => {
|
|
332
|
+
const requestInfo = (0, import_api_client_base.__internal__requestUrl)("/api/campaigns/{id}", path);
|
|
333
|
+
const requestInit = (0, import_api_client_base.buildRequestInitWithDefaultConfig)({
|
|
334
|
+
...customRequestInit,
|
|
335
|
+
method: "PATCH",
|
|
336
|
+
body: requestBody
|
|
337
|
+
});
|
|
338
|
+
return buildCampaignsIdPatchFetcher(requestInit)(requestInfo);
|
|
339
|
+
};
|
|
327
340
|
// Annotate the CommonJS export names for ESM import in node:
|
|
328
341
|
0 && (module.exports = {
|
|
329
342
|
buildCampaignsIdDeleteFetcher,
|
|
@@ -2,18 +2,18 @@ import { paths } from '../schemaType.mjs';
|
|
|
2
2
|
import { ForceDig } from '@readyfor/api-client-base';
|
|
3
3
|
|
|
4
4
|
type CampaignsIdDeliveryJobPostOperation = paths["/api/campaigns/{id}/delivery_job"]["post"];
|
|
5
|
-
declare const buildCampaignsIdDeliveryJobPostFetcher: (
|
|
5
|
+
declare const buildCampaignsIdDeliveryJobPostFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
6
6
|
type CampaignsIdDeliveryJobPostPath = ForceDig<CampaignsIdDeliveryJobPostOperation, [
|
|
7
7
|
"parameters",
|
|
8
8
|
"path"
|
|
9
9
|
]>;
|
|
10
|
-
declare const postCampaignsIdDeliveryJob: (path: CampaignsIdDeliveryJobPostPath,
|
|
10
|
+
declare const postCampaignsIdDeliveryJob: (path: CampaignsIdDeliveryJobPostPath, customRequestInit?: RequestInit) => Promise<void>;
|
|
11
11
|
type CampaignsIdDeliveryJobDeleteOperation = paths["/api/campaigns/{id}/delivery_job"]["delete"];
|
|
12
|
-
declare const buildCampaignsIdDeliveryJobDeleteFetcher: (
|
|
12
|
+
declare const buildCampaignsIdDeliveryJobDeleteFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
13
13
|
type CampaignsIdDeliveryJobDeletePath = ForceDig<CampaignsIdDeliveryJobDeleteOperation, [
|
|
14
14
|
"parameters",
|
|
15
15
|
"path"
|
|
16
16
|
]>;
|
|
17
|
-
declare const deleteCampaignsIdDeliveryJob: (path: CampaignsIdDeliveryJobDeletePath,
|
|
17
|
+
declare const deleteCampaignsIdDeliveryJob: (path: CampaignsIdDeliveryJobDeletePath, customRequestInit?: RequestInit) => Promise<void>;
|
|
18
18
|
|
|
19
19
|
export { type CampaignsIdDeliveryJobDeletePath, type CampaignsIdDeliveryJobPostPath, buildCampaignsIdDeliveryJobDeleteFetcher, buildCampaignsIdDeliveryJobPostFetcher, deleteCampaignsIdDeliveryJob, postCampaignsIdDeliveryJob };
|
|
@@ -2,18 +2,18 @@ import { paths } from '../schemaType.js';
|
|
|
2
2
|
import { ForceDig } from '@readyfor/api-client-base';
|
|
3
3
|
|
|
4
4
|
type CampaignsIdDeliveryJobPostOperation = paths["/api/campaigns/{id}/delivery_job"]["post"];
|
|
5
|
-
declare const buildCampaignsIdDeliveryJobPostFetcher: (
|
|
5
|
+
declare const buildCampaignsIdDeliveryJobPostFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
6
6
|
type CampaignsIdDeliveryJobPostPath = ForceDig<CampaignsIdDeliveryJobPostOperation, [
|
|
7
7
|
"parameters",
|
|
8
8
|
"path"
|
|
9
9
|
]>;
|
|
10
|
-
declare const postCampaignsIdDeliveryJob: (path: CampaignsIdDeliveryJobPostPath,
|
|
10
|
+
declare const postCampaignsIdDeliveryJob: (path: CampaignsIdDeliveryJobPostPath, customRequestInit?: RequestInit) => Promise<void>;
|
|
11
11
|
type CampaignsIdDeliveryJobDeleteOperation = paths["/api/campaigns/{id}/delivery_job"]["delete"];
|
|
12
|
-
declare const buildCampaignsIdDeliveryJobDeleteFetcher: (
|
|
12
|
+
declare const buildCampaignsIdDeliveryJobDeleteFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
13
13
|
type CampaignsIdDeliveryJobDeletePath = ForceDig<CampaignsIdDeliveryJobDeleteOperation, [
|
|
14
14
|
"parameters",
|
|
15
15
|
"path"
|
|
16
16
|
]>;
|
|
17
|
-
declare const deleteCampaignsIdDeliveryJob: (path: CampaignsIdDeliveryJobDeletePath,
|
|
17
|
+
declare const deleteCampaignsIdDeliveryJob: (path: CampaignsIdDeliveryJobDeletePath, customRequestInit?: RequestInit) => Promise<void>;
|
|
18
18
|
|
|
19
19
|
export { type CampaignsIdDeliveryJobDeletePath, type CampaignsIdDeliveryJobPostPath, buildCampaignsIdDeliveryJobDeleteFetcher, buildCampaignsIdDeliveryJobPostFetcher, deleteCampaignsIdDeliveryJob, postCampaignsIdDeliveryJob };
|
|
@@ -27,16 +27,30 @@ __export(campaignsIdDeliveryJob_exports, {
|
|
|
27
27
|
});
|
|
28
28
|
module.exports = __toCommonJS(campaignsIdDeliveryJob_exports);
|
|
29
29
|
var import_api_client_base = require("@readyfor/api-client-base");
|
|
30
|
-
var buildCampaignsIdDeliveryJobPostFetcher = (
|
|
31
|
-
var postCampaignsIdDeliveryJob = (path,
|
|
32
|
-
(0, import_api_client_base.__internal__requestUrl)(
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
);
|
|
30
|
+
var buildCampaignsIdDeliveryJobPostFetcher = (customRequestInit) => (0, import_api_client_base.createVoidFetcher)({ ...customRequestInit });
|
|
31
|
+
var postCampaignsIdDeliveryJob = (path, customRequestInit) => {
|
|
32
|
+
const requestInfo = (0, import_api_client_base.__internal__requestUrl)(
|
|
33
|
+
"/api/campaigns/{id}/delivery_job",
|
|
34
|
+
path
|
|
35
|
+
);
|
|
36
|
+
const requestInit = (0, import_api_client_base.buildRequestInitWithDefaultConfig)({
|
|
37
|
+
...customRequestInit,
|
|
38
|
+
method: "POST"
|
|
39
|
+
});
|
|
40
|
+
return buildCampaignsIdDeliveryJobPostFetcher(requestInit)(requestInfo);
|
|
41
|
+
};
|
|
42
|
+
var buildCampaignsIdDeliveryJobDeleteFetcher = (customRequestInit) => (0, import_api_client_base.createVoidFetcher)({ ...customRequestInit });
|
|
43
|
+
var deleteCampaignsIdDeliveryJob = (path, customRequestInit) => {
|
|
44
|
+
const requestInfo = (0, import_api_client_base.__internal__requestUrl)(
|
|
45
|
+
"/api/campaigns/{id}/delivery_job",
|
|
46
|
+
path
|
|
47
|
+
);
|
|
48
|
+
const requestInit = (0, import_api_client_base.buildRequestInitWithDefaultConfig)({
|
|
49
|
+
...customRequestInit,
|
|
50
|
+
method: "DELETE"
|
|
51
|
+
});
|
|
52
|
+
return buildCampaignsIdDeliveryJobDeleteFetcher(requestInit)(requestInfo);
|
|
53
|
+
};
|
|
40
54
|
// Annotate the CommonJS export names for ESM import in node:
|
|
41
55
|
0 && (module.exports = {
|
|
42
56
|
buildCampaignsIdDeliveryJobDeleteFetcher,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
buildCampaignsIdDeliveryJobPostFetcher,
|
|
4
4
|
deleteCampaignsIdDeliveryJob,
|
|
5
5
|
postCampaignsIdDeliveryJob
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-NKU3JO55.mjs";
|
|
7
7
|
export {
|
|
8
8
|
buildCampaignsIdDeliveryJobDeleteFetcher,
|
|
9
9
|
buildCampaignsIdDeliveryJobPostFetcher,
|
|
@@ -3,7 +3,7 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type CampaignsIdImagesPostOperation = paths["/api/campaigns/{id}/images"]["post"];
|
|
5
5
|
type CampaignsIdImagesPostResponse = CampaignsIdImagesPostOperation["responses"]["201"]["content"]["application/json"];
|
|
6
|
-
declare const buildCampaignsIdImagesPostFetcher: (
|
|
6
|
+
declare const buildCampaignsIdImagesPostFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
7
|
id: number;
|
|
8
8
|
key: string;
|
|
9
9
|
}>;
|
|
@@ -16,7 +16,7 @@ type CampaignsIdImagesPostRequestBody = ForceDig<CampaignsIdImagesPostOperation,
|
|
|
16
16
|
"content",
|
|
17
17
|
"multipart/form-data"
|
|
18
18
|
]>;
|
|
19
|
-
declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData,
|
|
19
|
+
declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<{
|
|
20
20
|
id: number;
|
|
21
21
|
key: string;
|
|
22
22
|
}>;
|
|
@@ -3,7 +3,7 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type CampaignsIdImagesPostOperation = paths["/api/campaigns/{id}/images"]["post"];
|
|
5
5
|
type CampaignsIdImagesPostResponse = CampaignsIdImagesPostOperation["responses"]["201"]["content"]["application/json"];
|
|
6
|
-
declare const buildCampaignsIdImagesPostFetcher: (
|
|
6
|
+
declare const buildCampaignsIdImagesPostFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
7
|
id: number;
|
|
8
8
|
key: string;
|
|
9
9
|
}>;
|
|
@@ -16,7 +16,7 @@ type CampaignsIdImagesPostRequestBody = ForceDig<CampaignsIdImagesPostOperation,
|
|
|
16
16
|
"content",
|
|
17
17
|
"multipart/form-data"
|
|
18
18
|
]>;
|
|
19
|
-
declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData,
|
|
19
|
+
declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData, customRequestInit?: RequestInit) => Promise<{
|
|
20
20
|
id: number;
|
|
21
21
|
key: string;
|
|
22
22
|
}>;
|
|
@@ -305,11 +305,19 @@ var GetCampaignsResponse = import_zod.z.object({
|
|
|
305
305
|
});
|
|
306
306
|
|
|
307
307
|
// src/fetch/campaignsIdImages.ts
|
|
308
|
-
var buildCampaignsIdImagesPostFetcher = (
|
|
309
|
-
var postCampaignsIdImages = (path, requestBody,
|
|
310
|
-
(0, import_api_client_base.__internal__requestUrl)(
|
|
311
|
-
|
|
312
|
-
|
|
308
|
+
var buildCampaignsIdImagesPostFetcher = (customRequestInit) => (0, import_api_client_base.createJsonFetcher)(Image, { ...customRequestInit });
|
|
309
|
+
var postCampaignsIdImages = (path, requestBody, customRequestInit) => {
|
|
310
|
+
const requestInfo = (0, import_api_client_base.__internal__requestUrl)(
|
|
311
|
+
"/api/campaigns/{id}/images",
|
|
312
|
+
path
|
|
313
|
+
);
|
|
314
|
+
const requestInit = (0, import_api_client_base.buildRequestInitWithDefaultConfig)({
|
|
315
|
+
...customRequestInit,
|
|
316
|
+
method: "POST",
|
|
317
|
+
body: requestBody
|
|
318
|
+
});
|
|
319
|
+
return buildCampaignsIdImagesPostFetcher(requestInit)(requestInfo);
|
|
320
|
+
};
|
|
313
321
|
// Annotate the CommonJS export names for ESM import in node:
|
|
314
322
|
0 && (module.exports = {
|
|
315
323
|
buildCampaignsIdImagesPostFetcher,
|
|
@@ -3,14 +3,14 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type CampaignsIdPreviewGetOperation = paths["/api/campaigns/{id}/preview"]["get"];
|
|
5
5
|
type CampaignsIdPreviewGetResponse = CampaignsIdPreviewGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildCampaignsIdPreviewGetFetcher: (
|
|
6
|
+
declare const buildCampaignsIdPreviewGetFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
7
|
content: string;
|
|
8
8
|
}>;
|
|
9
9
|
type CampaignsIdPreviewGetPath = ForceDig<CampaignsIdPreviewGetOperation, [
|
|
10
10
|
"parameters",
|
|
11
11
|
"path"
|
|
12
12
|
]>;
|
|
13
|
-
declare const getCampaignsIdPreview: (path: CampaignsIdPreviewGetPath,
|
|
13
|
+
declare const getCampaignsIdPreview: (path: CampaignsIdPreviewGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
14
14
|
content: string;
|
|
15
15
|
}>;
|
|
16
16
|
|
|
@@ -3,14 +3,14 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type CampaignsIdPreviewGetOperation = paths["/api/campaigns/{id}/preview"]["get"];
|
|
5
5
|
type CampaignsIdPreviewGetResponse = CampaignsIdPreviewGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildCampaignsIdPreviewGetFetcher: (
|
|
6
|
+
declare const buildCampaignsIdPreviewGetFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
7
|
content: string;
|
|
8
8
|
}>;
|
|
9
9
|
type CampaignsIdPreviewGetPath = ForceDig<CampaignsIdPreviewGetOperation, [
|
|
10
10
|
"parameters",
|
|
11
11
|
"path"
|
|
12
12
|
]>;
|
|
13
|
-
declare const getCampaignsIdPreview: (path: CampaignsIdPreviewGetPath,
|
|
13
|
+
declare const getCampaignsIdPreview: (path: CampaignsIdPreviewGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
14
14
|
content: string;
|
|
15
15
|
}>;
|
|
16
16
|
|
|
@@ -305,11 +305,20 @@ var GetCampaignsResponse = import_zod.z.object({
|
|
|
305
305
|
});
|
|
306
306
|
|
|
307
307
|
// src/fetch/campaignsIdPreview.ts
|
|
308
|
-
var buildCampaignsIdPreviewGetFetcher = (
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
)
|
|
308
|
+
var buildCampaignsIdPreviewGetFetcher = (customRequestInit) => (0, import_api_client_base.createJsonFetcher)(GetCampaignsCampaignIdPreviewResponse, {
|
|
309
|
+
...customRequestInit
|
|
310
|
+
});
|
|
311
|
+
var getCampaignsIdPreview = (path, customRequestInit) => {
|
|
312
|
+
const requestInfo = (0, import_api_client_base.__internal__requestUrl)(
|
|
313
|
+
"/api/campaigns/{id}/preview",
|
|
314
|
+
path
|
|
315
|
+
);
|
|
316
|
+
const requestInit = (0, import_api_client_base.buildRequestInitWithDefaultConfig)({
|
|
317
|
+
...customRequestInit,
|
|
318
|
+
method: "GET"
|
|
319
|
+
});
|
|
320
|
+
return buildCampaignsIdPreviewGetFetcher(requestInit)(requestInfo);
|
|
321
|
+
};
|
|
313
322
|
// Annotate the CommonJS export names for ESM import in node:
|
|
314
323
|
0 && (module.exports = {
|
|
315
324
|
buildCampaignsIdPreviewGetFetcher,
|
|
@@ -2,7 +2,7 @@ import { paths } from '../schemaType.mjs';
|
|
|
2
2
|
import { ForceDig } from '@readyfor/api-client-base';
|
|
3
3
|
|
|
4
4
|
type CampaignsIdPreviewDeliveryEmailPostOperation = paths["/api/campaigns/{id}/preview_delivery_email"]["post"];
|
|
5
|
-
declare const buildCampaignsIdPreviewDeliveryEmailPostFetcher: (
|
|
5
|
+
declare const buildCampaignsIdPreviewDeliveryEmailPostFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
6
6
|
type CampaignsIdPreviewDeliveryEmailPostPath = ForceDig<CampaignsIdPreviewDeliveryEmailPostOperation, [
|
|
7
7
|
"parameters",
|
|
8
8
|
"path"
|
|
@@ -12,6 +12,6 @@ type CampaignsIdPreviewDeliveryEmailPostRequestBody = ForceDig<CampaignsIdPrevie
|
|
|
12
12
|
"content",
|
|
13
13
|
"application/json"
|
|
14
14
|
]>;
|
|
15
|
-
declare const postCampaignsIdPreviewDeliveryEmail: (path: CampaignsIdPreviewDeliveryEmailPostPath, requestBody: CampaignsIdPreviewDeliveryEmailPostRequestBody,
|
|
15
|
+
declare const postCampaignsIdPreviewDeliveryEmail: (path: CampaignsIdPreviewDeliveryEmailPostPath, requestBody: CampaignsIdPreviewDeliveryEmailPostRequestBody, customRequestInit?: RequestInit) => Promise<void>;
|
|
16
16
|
|
|
17
17
|
export { type CampaignsIdPreviewDeliveryEmailPostPath, type CampaignsIdPreviewDeliveryEmailPostRequestBody, buildCampaignsIdPreviewDeliveryEmailPostFetcher, postCampaignsIdPreviewDeliveryEmail };
|
|
@@ -2,7 +2,7 @@ import { paths } from '../schemaType.js';
|
|
|
2
2
|
import { ForceDig } from '@readyfor/api-client-base';
|
|
3
3
|
|
|
4
4
|
type CampaignsIdPreviewDeliveryEmailPostOperation = paths["/api/campaigns/{id}/preview_delivery_email"]["post"];
|
|
5
|
-
declare const buildCampaignsIdPreviewDeliveryEmailPostFetcher: (
|
|
5
|
+
declare const buildCampaignsIdPreviewDeliveryEmailPostFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
6
6
|
type CampaignsIdPreviewDeliveryEmailPostPath = ForceDig<CampaignsIdPreviewDeliveryEmailPostOperation, [
|
|
7
7
|
"parameters",
|
|
8
8
|
"path"
|
|
@@ -12,6 +12,6 @@ type CampaignsIdPreviewDeliveryEmailPostRequestBody = ForceDig<CampaignsIdPrevie
|
|
|
12
12
|
"content",
|
|
13
13
|
"application/json"
|
|
14
14
|
]>;
|
|
15
|
-
declare const postCampaignsIdPreviewDeliveryEmail: (path: CampaignsIdPreviewDeliveryEmailPostPath, requestBody: CampaignsIdPreviewDeliveryEmailPostRequestBody,
|
|
15
|
+
declare const postCampaignsIdPreviewDeliveryEmail: (path: CampaignsIdPreviewDeliveryEmailPostPath, requestBody: CampaignsIdPreviewDeliveryEmailPostRequestBody, customRequestInit?: RequestInit) => Promise<void>;
|
|
16
16
|
|
|
17
17
|
export { type CampaignsIdPreviewDeliveryEmailPostPath, type CampaignsIdPreviewDeliveryEmailPostRequestBody, buildCampaignsIdPreviewDeliveryEmailPostFetcher, postCampaignsIdPreviewDeliveryEmail };
|
|
@@ -25,16 +25,25 @@ __export(campaignsIdPreviewDeliveryEmail_exports, {
|
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(campaignsIdPreviewDeliveryEmail_exports);
|
|
27
27
|
var import_api_client_base = require("@readyfor/api-client-base");
|
|
28
|
-
var buildCampaignsIdPreviewDeliveryEmailPostFetcher = (
|
|
29
|
-
var postCampaignsIdPreviewDeliveryEmail = (path, requestBody,
|
|
30
|
-
(0, import_api_client_base.__internal__requestUrl)(
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
var buildCampaignsIdPreviewDeliveryEmailPostFetcher = (customRequestInit) => (0, import_api_client_base.createVoidFetcher)({ ...customRequestInit });
|
|
29
|
+
var postCampaignsIdPreviewDeliveryEmail = (path, requestBody, customRequestInit) => {
|
|
30
|
+
const requestInfo = (0, import_api_client_base.__internal__requestUrl)(
|
|
31
|
+
"/api/campaigns/{id}/preview_delivery_email",
|
|
32
|
+
path
|
|
33
|
+
);
|
|
34
|
+
const requestInit = (0, import_api_client_base.buildRequestInitWithDefaultConfig)({
|
|
35
|
+
...customRequestInit,
|
|
33
36
|
method: "POST",
|
|
34
|
-
headers: {
|
|
37
|
+
headers: {
|
|
38
|
+
...customRequestInit?.headers,
|
|
39
|
+
"Content-Type": "application/json"
|
|
40
|
+
},
|
|
35
41
|
body: JSON.stringify(requestBody)
|
|
36
|
-
}
|
|
37
|
-
)
|
|
42
|
+
});
|
|
43
|
+
return buildCampaignsIdPreviewDeliveryEmailPostFetcher(requestInit)(
|
|
44
|
+
requestInfo
|
|
45
|
+
);
|
|
46
|
+
};
|
|
38
47
|
// Annotate the CommonJS export names for ESM import in node:
|
|
39
48
|
0 && (module.exports = {
|
|
40
49
|
buildCampaignsIdPreviewDeliveryEmailPostFetcher,
|
|
@@ -3,7 +3,7 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type ProjectsProjectIdOrKeywordGetOperation = paths["/api/projects/{project_id_or_keyword}"]["get"];
|
|
5
5
|
type ProjectsProjectIdOrKeywordGetResponse = ProjectsProjectIdOrKeywordGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildProjectsProjectIdOrKeywordGetFetcher: (
|
|
6
|
+
declare const buildProjectsProjectIdOrKeywordGetFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
7
|
project: {
|
|
8
8
|
title: string;
|
|
9
9
|
projectId: number;
|
|
@@ -15,7 +15,7 @@ type ProjectsProjectIdOrKeywordGetPath = ForceDig<ProjectsProjectIdOrKeywordGetO
|
|
|
15
15
|
"parameters",
|
|
16
16
|
"path"
|
|
17
17
|
]>;
|
|
18
|
-
declare const getProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath,
|
|
18
|
+
declare const getProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
19
19
|
project: {
|
|
20
20
|
title: string;
|
|
21
21
|
projectId: number;
|
|
@@ -3,7 +3,7 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type ProjectsProjectIdOrKeywordGetOperation = paths["/api/projects/{project_id_or_keyword}"]["get"];
|
|
5
5
|
type ProjectsProjectIdOrKeywordGetResponse = ProjectsProjectIdOrKeywordGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildProjectsProjectIdOrKeywordGetFetcher: (
|
|
6
|
+
declare const buildProjectsProjectIdOrKeywordGetFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
7
|
project: {
|
|
8
8
|
title: string;
|
|
9
9
|
projectId: number;
|
|
@@ -15,7 +15,7 @@ type ProjectsProjectIdOrKeywordGetPath = ForceDig<ProjectsProjectIdOrKeywordGetO
|
|
|
15
15
|
"parameters",
|
|
16
16
|
"path"
|
|
17
17
|
]>;
|
|
18
|
-
declare const getProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath,
|
|
18
|
+
declare const getProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
19
19
|
project: {
|
|
20
20
|
title: string;
|
|
21
21
|
projectId: number;
|
|
@@ -305,11 +305,20 @@ var GetCampaignsResponse = import_zod.z.object({
|
|
|
305
305
|
});
|
|
306
306
|
|
|
307
307
|
// src/fetch/projectsProjectIdOrKeyword.ts
|
|
308
|
-
var buildProjectsProjectIdOrKeywordGetFetcher = (
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
)
|
|
308
|
+
var buildProjectsProjectIdOrKeywordGetFetcher = (customRequestInit) => (0, import_api_client_base.createJsonFetcher)(GetProjectsProjectIdOrKeywordResponse, {
|
|
309
|
+
...customRequestInit
|
|
310
|
+
});
|
|
311
|
+
var getProjectsProjectIdOrKeyword = (path, customRequestInit) => {
|
|
312
|
+
const requestInfo = (0, import_api_client_base.__internal__requestUrl)(
|
|
313
|
+
"/api/projects/{project_id_or_keyword}",
|
|
314
|
+
path
|
|
315
|
+
);
|
|
316
|
+
const requestInit = (0, import_api_client_base.buildRequestInitWithDefaultConfig)({
|
|
317
|
+
...customRequestInit,
|
|
318
|
+
method: "GET"
|
|
319
|
+
});
|
|
320
|
+
return buildProjectsProjectIdOrKeywordGetFetcher(requestInit)(requestInfo);
|
|
321
|
+
};
|
|
313
322
|
// Annotate the CommonJS export names for ESM import in node:
|
|
314
323
|
0 && (module.exports = {
|
|
315
324
|
buildProjectsProjectIdOrKeywordGetFetcher,
|
|
@@ -2,7 +2,7 @@ import { paths } from '../schemaType.mjs';
|
|
|
2
2
|
|
|
3
3
|
type SegmentsBehaviorSegmentsGetOperation = paths["/api/segments/behavior_segments"]["get"];
|
|
4
4
|
type SegmentsBehaviorSegmentsGetResponse = SegmentsBehaviorSegmentsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
-
declare const buildSegmentsBehaviorSegmentsGetFetcher: (
|
|
5
|
+
declare const buildSegmentsBehaviorSegmentsGetFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
6
|
behaviorSegments: {
|
|
7
7
|
code: string;
|
|
8
8
|
description: string | null;
|
|
@@ -11,7 +11,7 @@ declare const buildSegmentsBehaviorSegmentsGetFetcher: (requestInit?: RequestIni
|
|
|
11
11
|
displayOrder: number | null;
|
|
12
12
|
}[];
|
|
13
13
|
}>;
|
|
14
|
-
declare const getSegmentsBehaviorSegments: (
|
|
14
|
+
declare const getSegmentsBehaviorSegments: (customRequestInit?: RequestInit) => Promise<{
|
|
15
15
|
behaviorSegments: {
|
|
16
16
|
code: string;
|
|
17
17
|
description: string | null;
|
|
@@ -2,7 +2,7 @@ import { paths } from '../schemaType.js';
|
|
|
2
2
|
|
|
3
3
|
type SegmentsBehaviorSegmentsGetOperation = paths["/api/segments/behavior_segments"]["get"];
|
|
4
4
|
type SegmentsBehaviorSegmentsGetResponse = SegmentsBehaviorSegmentsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
-
declare const buildSegmentsBehaviorSegmentsGetFetcher: (
|
|
5
|
+
declare const buildSegmentsBehaviorSegmentsGetFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
6
|
behaviorSegments: {
|
|
7
7
|
code: string;
|
|
8
8
|
description: string | null;
|
|
@@ -11,7 +11,7 @@ declare const buildSegmentsBehaviorSegmentsGetFetcher: (requestInit?: RequestIni
|
|
|
11
11
|
displayOrder: number | null;
|
|
12
12
|
}[];
|
|
13
13
|
}>;
|
|
14
|
-
declare const getSegmentsBehaviorSegments: (
|
|
14
|
+
declare const getSegmentsBehaviorSegments: (customRequestInit?: RequestInit) => Promise<{
|
|
15
15
|
behaviorSegments: {
|
|
16
16
|
code: string;
|
|
17
17
|
description: string | null;
|
|
@@ -305,11 +305,15 @@ var GetCampaignsResponse = import_zod.z.object({
|
|
|
305
305
|
});
|
|
306
306
|
|
|
307
307
|
// src/fetch/segmentsBehaviorSegments.ts
|
|
308
|
-
var buildSegmentsBehaviorSegmentsGetFetcher = (
|
|
309
|
-
var getSegmentsBehaviorSegments = (
|
|
310
|
-
(0, import_api_client_base.__internal__requestUrl)("/api/segments/behavior_segments")
|
|
311
|
-
|
|
312
|
-
|
|
308
|
+
var buildSegmentsBehaviorSegmentsGetFetcher = (customRequestInit) => (0, import_api_client_base.createJsonFetcher)(GetBehaviorSegmentsResponse, { ...customRequestInit });
|
|
309
|
+
var getSegmentsBehaviorSegments = (customRequestInit) => {
|
|
310
|
+
const requestInfo = (0, import_api_client_base.__internal__requestUrl)("/api/segments/behavior_segments");
|
|
311
|
+
const requestInit = (0, import_api_client_base.buildRequestInitWithDefaultConfig)({
|
|
312
|
+
...customRequestInit,
|
|
313
|
+
method: "GET"
|
|
314
|
+
});
|
|
315
|
+
return buildSegmentsBehaviorSegmentsGetFetcher(requestInit)(requestInfo);
|
|
316
|
+
};
|
|
313
317
|
// Annotate the CommonJS export names for ESM import in node:
|
|
314
318
|
0 && (module.exports = {
|
|
315
319
|
buildSegmentsBehaviorSegmentsGetFetcher,
|