@readyfor/api-client-pigeon 0.240.0-pr982.47c0748 → 0.241.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.
Files changed (92) hide show
  1. package/dist/{chunk-EN3CP4JR.mjs → chunk-3BSY3CC4.mjs} +1 -1
  2. package/dist/chunk-6DE2SHQZ.mjs +19 -0
  3. package/dist/chunk-BGIB7JQD.mjs +19 -0
  4. package/dist/chunk-D455PCO3.mjs +19 -0
  5. package/dist/chunk-DH3UXOBA.mjs +19 -0
  6. package/dist/{chunk-QKM5JPTE.mjs → chunk-DQW3ZEJN.mjs} +1 -1
  7. package/dist/chunk-EYJTETGN.mjs +34 -0
  8. package/dist/chunk-KBTZNIQJ.mjs +20 -0
  9. package/dist/{chunk-W6D6J2QD.mjs → chunk-KL2BCQLU.mjs} +1 -1
  10. package/dist/{chunk-TLGSSZT7.mjs → chunk-LUUW3QOB.mjs} +1 -1
  11. package/dist/chunk-MFCSQX6F.mjs +29 -0
  12. package/dist/chunk-NIBXTDD3.mjs +15 -0
  13. package/dist/chunk-NKNUFH54.mjs +19 -0
  14. package/dist/{chunk-T3IYQXXP.mjs → chunk-S2M3EJKW.mjs} +1 -1
  15. package/dist/chunk-VJU27CZQ.mjs +19 -0
  16. package/dist/{chunk-27GLDQK3.mjs → chunk-VUY6GQWT.mjs} +1 -1
  17. package/dist/chunk-YV4XRZY2.mjs +22 -0
  18. package/dist/{chunk-UU5WXXGN.mjs → chunk-ZDQDW24D.mjs} +1 -1
  19. package/dist/fetch/campaigns.d.mts +4 -4
  20. package/dist/fetch/campaigns.d.ts +4 -4
  21. package/dist/fetch/campaigns.js +12 -23
  22. package/dist/fetch/campaigns.mjs +1 -1
  23. package/dist/fetch/campaignsCampaignIdImagesId.d.mts +2 -2
  24. package/dist/fetch/campaignsCampaignIdImagesId.d.ts +2 -2
  25. package/dist/fetch/campaignsCampaignIdImagesId.js +5 -14
  26. package/dist/fetch/campaignsCampaignIdImagesId.mjs +1 -1
  27. package/dist/fetch/campaignsId.d.mts +6 -6
  28. package/dist/fetch/campaignsId.d.ts +6 -6
  29. package/dist/fetch/campaignsId.js +15 -28
  30. package/dist/fetch/campaignsId.mjs +1 -1
  31. package/dist/fetch/campaignsIdDeliveryJob.d.mts +4 -4
  32. package/dist/fetch/campaignsIdDeliveryJob.d.ts +4 -4
  33. package/dist/fetch/campaignsIdDeliveryJob.js +10 -24
  34. package/dist/fetch/campaignsIdDeliveryJob.mjs +1 -1
  35. package/dist/fetch/campaignsIdImages.d.mts +2 -2
  36. package/dist/fetch/campaignsIdImages.d.ts +2 -2
  37. package/dist/fetch/campaignsIdImages.js +5 -13
  38. package/dist/fetch/campaignsIdImages.mjs +1 -1
  39. package/dist/fetch/campaignsIdPreview.d.mts +2 -2
  40. package/dist/fetch/campaignsIdPreview.d.ts +2 -2
  41. package/dist/fetch/campaignsIdPreview.js +5 -14
  42. package/dist/fetch/campaignsIdPreview.mjs +1 -1
  43. package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.mts +2 -2
  44. package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.ts +2 -2
  45. package/dist/fetch/campaignsIdPreviewDeliveryEmail.js +8 -17
  46. package/dist/fetch/campaignsIdPreviewDeliveryEmail.mjs +1 -1
  47. package/dist/fetch/projectsProjectIdOrKeyword.d.mts +2 -2
  48. package/dist/fetch/projectsProjectIdOrKeyword.d.ts +2 -2
  49. package/dist/fetch/projectsProjectIdOrKeyword.js +5 -14
  50. package/dist/fetch/projectsProjectIdOrKeyword.mjs +1 -1
  51. package/dist/fetch/segmentsBehaviorSegments.d.mts +2 -2
  52. package/dist/fetch/segmentsBehaviorSegments.d.ts +2 -2
  53. package/dist/fetch/segmentsBehaviorSegments.js +5 -9
  54. package/dist/fetch/segmentsBehaviorSegments.mjs +1 -1
  55. package/dist/fetch/segmentsProfileSegments.d.mts +2 -2
  56. package/dist/fetch/segmentsProfileSegments.d.ts +2 -2
  57. package/dist/fetch/segmentsProfileSegments.js +5 -9
  58. package/dist/fetch/segmentsProfileSegments.mjs +1 -1
  59. package/dist/fetch/segmentsTargetUsersCount.d.mts +2 -2
  60. package/dist/fetch/segmentsTargetUsersCount.d.ts +2 -2
  61. package/dist/fetch/segmentsTargetUsersCount.js +5 -13
  62. package/dist/fetch/segmentsTargetUsersCount.mjs +1 -1
  63. package/dist/hooks/index.js +7 -11
  64. package/dist/hooks/index.mjs +18 -18
  65. package/dist/hooks/useCampaigns.js +1 -1
  66. package/dist/hooks/useCampaigns.mjs +12 -12
  67. package/dist/hooks/useCampaignsId.js +1 -1
  68. package/dist/hooks/useCampaignsId.mjs +12 -12
  69. package/dist/hooks/useCampaignsIdPreview.js +1 -3
  70. package/dist/hooks/useCampaignsIdPreview.mjs +12 -12
  71. package/dist/hooks/useProjectsProjectIdOrKeyword.js +1 -3
  72. package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +12 -12
  73. package/dist/hooks/useSegmentsBehaviorSegments.js +1 -1
  74. package/dist/hooks/useSegmentsBehaviorSegments.mjs +12 -12
  75. package/dist/hooks/useSegmentsProfileSegments.js +1 -1
  76. package/dist/hooks/useSegmentsProfileSegments.mjs +12 -12
  77. package/dist/hooks/useSegmentsTargetUsersCount.js +1 -1
  78. package/dist/hooks/useSegmentsTargetUsersCount.mjs +12 -12
  79. package/dist/index.js +80 -178
  80. package/dist/index.mjs +11 -11
  81. package/package.json +13 -12
  82. package/dist/chunk-2B6GQILG.mjs +0 -24
  83. package/dist/chunk-2MRIEXEQ.mjs +0 -29
  84. package/dist/chunk-4YF2M7Y7.mjs +0 -29
  85. package/dist/chunk-AQVUMZVL.mjs +0 -24
  86. package/dist/chunk-CABZT6BU.mjs +0 -30
  87. package/dist/chunk-HNVHV5GD.mjs +0 -41
  88. package/dist/chunk-JXZJCPX3.mjs +0 -28
  89. package/dist/chunk-NKU3JO55.mjs +0 -37
  90. package/dist/chunk-O4CHNDYY.mjs +0 -28
  91. package/dist/chunk-UTUZQQT6.mjs +0 -25
  92. package/dist/chunk-YT25LCGA.mjs +0 -48
@@ -309,34 +309,21 @@ var GetCampaignsResponse = import_zod.z.object({
309
309
  });
310
310
 
311
311
  // src/fetch/campaignsId.ts
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
- };
312
+ var buildCampaignsIdGetFetcher = (requestInit) => (0, import_api_client_base.createJsonFetcher)(CampaignsCampaignIdResponse, { ...requestInit });
313
+ var getCampaignsId = (path, requestInit) => buildCampaignsIdGetFetcher()(
314
+ (0, import_api_client_base.__internal__requestUrl)("/api/campaigns/{id}", path),
315
+ { ...requestInit, method: "GET" }
316
+ );
317
+ var buildCampaignsIdDeleteFetcher = (requestInit) => (0, import_api_client_base.createVoidFetcher)({ ...requestInit });
318
+ var deleteCampaignsId = (path, requestInit) => buildCampaignsIdDeleteFetcher()(
319
+ (0, import_api_client_base.__internal__requestUrl)("/api/campaigns/{id}", path),
320
+ { ...requestInit, method: "DELETE" }
321
+ );
322
+ var buildCampaignsIdPatchFetcher = (requestInit) => (0, import_api_client_base.createJsonFetcher)(CampaignsCampaignIdResponse, { ...requestInit });
323
+ var patchCampaignsId = (path, requestBody, requestInit) => buildCampaignsIdPatchFetcher()(
324
+ (0, import_api_client_base.__internal__requestUrl)("/api/campaigns/{id}", path),
325
+ { ...requestInit, method: "PATCH", body: requestBody }
326
+ );
340
327
  // Annotate the CommonJS export names for ESM import in node:
341
328
  0 && (module.exports = {
342
329
  buildCampaignsIdDeleteFetcher,
@@ -5,7 +5,7 @@ import {
5
5
  deleteCampaignsId,
6
6
  getCampaignsId,
7
7
  patchCampaignsId
8
- } from "../chunk-YT25LCGA.mjs";
8
+ } from "../chunk-EYJTETGN.mjs";
9
9
  import "../chunk-QCIAYUXK.mjs";
10
10
  export {
11
11
  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: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
5
+ declare const buildCampaignsIdDeliveryJobPostFetcher: (requestInit?: 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, customRequestInit?: RequestInit) => Promise<void>;
10
+ declare const postCampaignsIdDeliveryJob: (path: CampaignsIdDeliveryJobPostPath, requestInit?: RequestInit) => Promise<void>;
11
11
  type CampaignsIdDeliveryJobDeleteOperation = paths["/api/campaigns/{id}/delivery_job"]["delete"];
12
- declare const buildCampaignsIdDeliveryJobDeleteFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
12
+ declare const buildCampaignsIdDeliveryJobDeleteFetcher: (requestInit?: 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, customRequestInit?: RequestInit) => Promise<void>;
17
+ declare const deleteCampaignsIdDeliveryJob: (path: CampaignsIdDeliveryJobDeletePath, requestInit?: 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: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
5
+ declare const buildCampaignsIdDeliveryJobPostFetcher: (requestInit?: 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, customRequestInit?: RequestInit) => Promise<void>;
10
+ declare const postCampaignsIdDeliveryJob: (path: CampaignsIdDeliveryJobPostPath, requestInit?: RequestInit) => Promise<void>;
11
11
  type CampaignsIdDeliveryJobDeleteOperation = paths["/api/campaigns/{id}/delivery_job"]["delete"];
12
- declare const buildCampaignsIdDeliveryJobDeleteFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
12
+ declare const buildCampaignsIdDeliveryJobDeleteFetcher: (requestInit?: 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, customRequestInit?: RequestInit) => Promise<void>;
17
+ declare const deleteCampaignsIdDeliveryJob: (path: CampaignsIdDeliveryJobDeletePath, requestInit?: RequestInit) => Promise<void>;
18
18
 
19
19
  export { type CampaignsIdDeliveryJobDeletePath, type CampaignsIdDeliveryJobPostPath, buildCampaignsIdDeliveryJobDeleteFetcher, buildCampaignsIdDeliveryJobPostFetcher, deleteCampaignsIdDeliveryJob, postCampaignsIdDeliveryJob };
@@ -27,30 +27,16 @@ __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 = (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
- };
30
+ var buildCampaignsIdDeliveryJobPostFetcher = (requestInit) => (0, import_api_client_base.createVoidFetcher)({ ...requestInit });
31
+ var postCampaignsIdDeliveryJob = (path, requestInit) => buildCampaignsIdDeliveryJobPostFetcher()(
32
+ (0, import_api_client_base.__internal__requestUrl)("/api/campaigns/{id}/delivery_job", path),
33
+ { ...requestInit, method: "POST" }
34
+ );
35
+ var buildCampaignsIdDeliveryJobDeleteFetcher = (requestInit) => (0, import_api_client_base.createVoidFetcher)({ ...requestInit });
36
+ var deleteCampaignsIdDeliveryJob = (path, requestInit) => buildCampaignsIdDeliveryJobDeleteFetcher()(
37
+ (0, import_api_client_base.__internal__requestUrl)("/api/campaigns/{id}/delivery_job", path),
38
+ { ...requestInit, method: "DELETE" }
39
+ );
54
40
  // Annotate the CommonJS export names for ESM import in node:
55
41
  0 && (module.exports = {
56
42
  buildCampaignsIdDeliveryJobDeleteFetcher,
@@ -3,7 +3,7 @@ import {
3
3
  buildCampaignsIdDeliveryJobPostFetcher,
4
4
  deleteCampaignsIdDeliveryJob,
5
5
  postCampaignsIdDeliveryJob
6
- } from "../chunk-NKU3JO55.mjs";
6
+ } from "../chunk-YV4XRZY2.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: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
+ declare const buildCampaignsIdImagesPostFetcher: (requestInit?: 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, customRequestInit?: RequestInit) => Promise<{
19
+ declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData, requestInit?: 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: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
+ declare const buildCampaignsIdImagesPostFetcher: (requestInit?: 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, customRequestInit?: RequestInit) => Promise<{
19
+ declare const postCampaignsIdImages: (path: CampaignsIdImagesPostPath, requestBody: FormData, requestInit?: RequestInit) => Promise<{
20
20
  id: number;
21
21
  key: string;
22
22
  }>;
@@ -305,19 +305,11 @@ var GetCampaignsResponse = import_zod.z.object({
305
305
  });
306
306
 
307
307
  // src/fetch/campaignsIdImages.ts
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
- };
308
+ var buildCampaignsIdImagesPostFetcher = (requestInit) => (0, import_api_client_base.createJsonFetcher)(Image, { ...requestInit });
309
+ var postCampaignsIdImages = (path, requestBody, requestInit) => buildCampaignsIdImagesPostFetcher()(
310
+ (0, import_api_client_base.__internal__requestUrl)("/api/campaigns/{id}/images", path),
311
+ { ...requestInit, method: "POST", body: requestBody }
312
+ );
321
313
  // Annotate the CommonJS export names for ESM import in node:
322
314
  0 && (module.exports = {
323
315
  buildCampaignsIdImagesPostFetcher,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildCampaignsIdImagesPostFetcher,
3
3
  postCampaignsIdImages
4
- } from "../chunk-JXZJCPX3.mjs";
4
+ } from "../chunk-6DE2SHQZ.mjs";
5
5
  import "../chunk-QCIAYUXK.mjs";
6
6
  export {
7
7
  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: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
+ declare const buildCampaignsIdPreviewGetFetcher: (requestInit?: 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, customRequestInit?: RequestInit) => Promise<{
13
+ declare const getCampaignsIdPreview: (path: CampaignsIdPreviewGetPath, requestInit?: 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: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
+ declare const buildCampaignsIdPreviewGetFetcher: (requestInit?: 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, customRequestInit?: RequestInit) => Promise<{
13
+ declare const getCampaignsIdPreview: (path: CampaignsIdPreviewGetPath, requestInit?: RequestInit) => Promise<{
14
14
  content: string;
15
15
  }>;
16
16
 
@@ -305,20 +305,11 @@ var GetCampaignsResponse = import_zod.z.object({
305
305
  });
306
306
 
307
307
  // src/fetch/campaignsIdPreview.ts
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
- };
308
+ var buildCampaignsIdPreviewGetFetcher = (requestInit) => (0, import_api_client_base.createJsonFetcher)(GetCampaignsCampaignIdPreviewResponse, { ...requestInit });
309
+ var getCampaignsIdPreview = (path, requestInit) => buildCampaignsIdPreviewGetFetcher()(
310
+ (0, import_api_client_base.__internal__requestUrl)("/api/campaigns/{id}/preview", path),
311
+ { ...requestInit, method: "GET" }
312
+ );
322
313
  // Annotate the CommonJS export names for ESM import in node:
323
314
  0 && (module.exports = {
324
315
  buildCampaignsIdPreviewGetFetcher,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildCampaignsIdPreviewGetFetcher,
3
3
  getCampaignsIdPreview
4
- } from "../chunk-4YF2M7Y7.mjs";
4
+ } from "../chunk-DH3UXOBA.mjs";
5
5
  import "../chunk-QCIAYUXK.mjs";
6
6
  export {
7
7
  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: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
5
+ declare const buildCampaignsIdPreviewDeliveryEmailPostFetcher: (requestInit?: 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, customRequestInit?: RequestInit) => Promise<void>;
15
+ declare const postCampaignsIdPreviewDeliveryEmail: (path: CampaignsIdPreviewDeliveryEmailPostPath, requestBody: CampaignsIdPreviewDeliveryEmailPostRequestBody, requestInit?: 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: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
5
+ declare const buildCampaignsIdPreviewDeliveryEmailPostFetcher: (requestInit?: 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, customRequestInit?: RequestInit) => Promise<void>;
15
+ declare const postCampaignsIdPreviewDeliveryEmail: (path: CampaignsIdPreviewDeliveryEmailPostPath, requestBody: CampaignsIdPreviewDeliveryEmailPostRequestBody, requestInit?: RequestInit) => Promise<void>;
16
16
 
17
17
  export { type CampaignsIdPreviewDeliveryEmailPostPath, type CampaignsIdPreviewDeliveryEmailPostRequestBody, buildCampaignsIdPreviewDeliveryEmailPostFetcher, postCampaignsIdPreviewDeliveryEmail };
@@ -25,25 +25,16 @@ __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 = (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,
28
+ var buildCampaignsIdPreviewDeliveryEmailPostFetcher = (requestInit) => (0, import_api_client_base.createVoidFetcher)({ ...requestInit });
29
+ var postCampaignsIdPreviewDeliveryEmail = (path, requestBody, requestInit) => buildCampaignsIdPreviewDeliveryEmailPostFetcher()(
30
+ (0, import_api_client_base.__internal__requestUrl)("/api/campaigns/{id}/preview_delivery_email", path),
31
+ {
32
+ ...requestInit,
36
33
  method: "POST",
37
- headers: {
38
- ...customRequestInit?.headers,
39
- "Content-Type": "application/json"
40
- },
34
+ headers: { ...requestInit?.headers, "Content-Type": "application/json" },
41
35
  body: JSON.stringify(requestBody)
42
- });
43
- return buildCampaignsIdPreviewDeliveryEmailPostFetcher(requestInit)(
44
- requestInfo
45
- );
46
- };
36
+ }
37
+ );
47
38
  // Annotate the CommonJS export names for ESM import in node:
48
39
  0 && (module.exports = {
49
40
  buildCampaignsIdPreviewDeliveryEmailPostFetcher,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildCampaignsIdPreviewDeliveryEmailPostFetcher,
3
3
  postCampaignsIdPreviewDeliveryEmail
4
- } from "../chunk-CABZT6BU.mjs";
4
+ } from "../chunk-KBTZNIQJ.mjs";
5
5
  export {
6
6
  buildCampaignsIdPreviewDeliveryEmailPostFetcher,
7
7
  postCampaignsIdPreviewDeliveryEmail
@@ -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: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
+ declare const buildProjectsProjectIdOrKeywordGetFetcher: (requestInit?: 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, customRequestInit?: RequestInit) => Promise<{
18
+ declare const getProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath, requestInit?: 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: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
+ declare const buildProjectsProjectIdOrKeywordGetFetcher: (requestInit?: 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, customRequestInit?: RequestInit) => Promise<{
18
+ declare const getProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath, requestInit?: RequestInit) => Promise<{
19
19
  project: {
20
20
  title: string;
21
21
  projectId: number;
@@ -305,20 +305,11 @@ var GetCampaignsResponse = import_zod.z.object({
305
305
  });
306
306
 
307
307
  // src/fetch/projectsProjectIdOrKeyword.ts
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
- };
308
+ var buildProjectsProjectIdOrKeywordGetFetcher = (requestInit) => (0, import_api_client_base.createJsonFetcher)(GetProjectsProjectIdOrKeywordResponse, { ...requestInit });
309
+ var getProjectsProjectIdOrKeyword = (path, requestInit) => buildProjectsProjectIdOrKeywordGetFetcher()(
310
+ (0, import_api_client_base.__internal__requestUrl)("/api/projects/{project_id_or_keyword}", path),
311
+ { ...requestInit, method: "GET" }
312
+ );
322
313
  // Annotate the CommonJS export names for ESM import in node:
323
314
  0 && (module.exports = {
324
315
  buildProjectsProjectIdOrKeywordGetFetcher,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildProjectsProjectIdOrKeywordGetFetcher,
3
3
  getProjectsProjectIdOrKeyword
4
- } from "../chunk-2MRIEXEQ.mjs";
4
+ } from "../chunk-VJU27CZQ.mjs";
5
5
  import "../chunk-QCIAYUXK.mjs";
6
6
  export {
7
7
  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: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
5
+ declare const buildSegmentsBehaviorSegmentsGetFetcher: (requestInit?: 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: (customRequestInit?: Requ
11
11
  displayOrder: number | null;
12
12
  }[];
13
13
  }>;
14
- declare const getSegmentsBehaviorSegments: (customRequestInit?: RequestInit) => Promise<{
14
+ declare const getSegmentsBehaviorSegments: (requestInit?: 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: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
5
+ declare const buildSegmentsBehaviorSegmentsGetFetcher: (requestInit?: 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: (customRequestInit?: Requ
11
11
  displayOrder: number | null;
12
12
  }[];
13
13
  }>;
14
- declare const getSegmentsBehaviorSegments: (customRequestInit?: RequestInit) => Promise<{
14
+ declare const getSegmentsBehaviorSegments: (requestInit?: RequestInit) => Promise<{
15
15
  behaviorSegments: {
16
16
  code: string;
17
17
  description: string | null;
@@ -305,15 +305,11 @@ var GetCampaignsResponse = import_zod.z.object({
305
305
  });
306
306
 
307
307
  // src/fetch/segmentsBehaviorSegments.ts
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
- };
308
+ var buildSegmentsBehaviorSegmentsGetFetcher = (requestInit) => (0, import_api_client_base.createJsonFetcher)(GetBehaviorSegmentsResponse, { ...requestInit });
309
+ var getSegmentsBehaviorSegments = (requestInit) => buildSegmentsBehaviorSegmentsGetFetcher()(
310
+ (0, import_api_client_base.__internal__requestUrl)("/api/segments/behavior_segments"),
311
+ { ...requestInit, method: "GET" }
312
+ );
317
313
  // Annotate the CommonJS export names for ESM import in node:
318
314
  0 && (module.exports = {
319
315
  buildSegmentsBehaviorSegmentsGetFetcher,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildSegmentsBehaviorSegmentsGetFetcher,
3
3
  getSegmentsBehaviorSegments
4
- } from "../chunk-2B6GQILG.mjs";
4
+ } from "../chunk-D455PCO3.mjs";
5
5
  import "../chunk-QCIAYUXK.mjs";
6
6
  export {
7
7
  buildSegmentsBehaviorSegmentsGetFetcher,
@@ -2,7 +2,7 @@ import { paths } from '../schemaType.mjs';
2
2
 
3
3
  type SegmentsProfileSegmentsGetOperation = paths["/api/segments/profile_segments"]["get"];
4
4
  type SegmentsProfileSegmentsGetResponse = SegmentsProfileSegmentsGetOperation["responses"]["200"]["content"]["application/json"];
5
- declare const buildSegmentsProfileSegmentsGetFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
5
+ declare const buildSegmentsProfileSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
6
  profileSegments: {
7
7
  code: string;
8
8
  description: string | null;
@@ -11,7 +11,7 @@ declare const buildSegmentsProfileSegmentsGetFetcher: (customRequestInit?: Reque
11
11
  displayOrder: number | null;
12
12
  }[];
13
13
  }>;
14
- declare const getSegmentsProfileSegments: (customRequestInit?: RequestInit) => Promise<{
14
+ declare const getSegmentsProfileSegments: (requestInit?: RequestInit) => Promise<{
15
15
  profileSegments: {
16
16
  code: string;
17
17
  description: string | null;
@@ -2,7 +2,7 @@ import { paths } from '../schemaType.js';
2
2
 
3
3
  type SegmentsProfileSegmentsGetOperation = paths["/api/segments/profile_segments"]["get"];
4
4
  type SegmentsProfileSegmentsGetResponse = SegmentsProfileSegmentsGetOperation["responses"]["200"]["content"]["application/json"];
5
- declare const buildSegmentsProfileSegmentsGetFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
5
+ declare const buildSegmentsProfileSegmentsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
6
6
  profileSegments: {
7
7
  code: string;
8
8
  description: string | null;
@@ -11,7 +11,7 @@ declare const buildSegmentsProfileSegmentsGetFetcher: (customRequestInit?: Reque
11
11
  displayOrder: number | null;
12
12
  }[];
13
13
  }>;
14
- declare const getSegmentsProfileSegments: (customRequestInit?: RequestInit) => Promise<{
14
+ declare const getSegmentsProfileSegments: (requestInit?: RequestInit) => Promise<{
15
15
  profileSegments: {
16
16
  code: string;
17
17
  description: string | null;
@@ -305,15 +305,11 @@ var GetCampaignsResponse = import_zod.z.object({
305
305
  });
306
306
 
307
307
  // src/fetch/segmentsProfileSegments.ts
308
- var buildSegmentsProfileSegmentsGetFetcher = (customRequestInit) => (0, import_api_client_base.createJsonFetcher)(GetProfileSegmentsResponse, { ...customRequestInit });
309
- var getSegmentsProfileSegments = (customRequestInit) => {
310
- const requestInfo = (0, import_api_client_base.__internal__requestUrl)("/api/segments/profile_segments");
311
- const requestInit = (0, import_api_client_base.buildRequestInitWithDefaultConfig)({
312
- ...customRequestInit,
313
- method: "GET"
314
- });
315
- return buildSegmentsProfileSegmentsGetFetcher(requestInit)(requestInfo);
316
- };
308
+ var buildSegmentsProfileSegmentsGetFetcher = (requestInit) => (0, import_api_client_base.createJsonFetcher)(GetProfileSegmentsResponse, { ...requestInit });
309
+ var getSegmentsProfileSegments = (requestInit) => buildSegmentsProfileSegmentsGetFetcher()(
310
+ (0, import_api_client_base.__internal__requestUrl)("/api/segments/profile_segments"),
311
+ { ...requestInit, method: "GET" }
312
+ );
317
313
  // Annotate the CommonJS export names for ESM import in node:
318
314
  0 && (module.exports = {
319
315
  buildSegmentsProfileSegmentsGetFetcher,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildSegmentsProfileSegmentsGetFetcher,
3
3
  getSegmentsProfileSegments
4
- } from "../chunk-AQVUMZVL.mjs";
4
+ } from "../chunk-NKNUFH54.mjs";
5
5
  import "../chunk-QCIAYUXK.mjs";
6
6
  export {
7
7
  buildSegmentsProfileSegmentsGetFetcher,