@readyfor/api-client-pigeon 1.155.0 → 1.155.1-pr1531.13bc07e
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-CvlNCzxv.d.ts → campaigns-BPGFLNBk.d.ts} +1 -3
- package/dist/{campaignsCampaignIdImagesId-k8im1ib-.d.ts → campaignsCampaignIdImagesId-Bg8VdWdK.d.ts} +1 -3
- package/dist/{campaignsId-CtvgOwmQ.d.ts → campaignsId-CJrCSwgn.d.ts} +1 -3
- package/dist/{campaignsIdDeliveryJob-Byny266Y.d.ts → campaignsIdDeliveryJob-Cf4-Ckao.d.ts} +1 -3
- package/dist/{campaignsIdImages-Bp8LnM0e.d.ts → campaignsIdImages-BDuAnjF9.d.ts} +1 -3
- package/dist/{campaignsIdPreview-2ps5etqF.d.ts → campaignsIdPreview-ua-DbzxQ.d.ts} +1 -3
- package/dist/{campaignsIdPreviewDeliveryEmail-BgarmoDe.d.ts → campaignsIdPreviewDeliveryEmail-CGHtSsk7.d.ts} +1 -3
- package/dist/{campaignsIdUtmCampaignConflicts-gl2bruNS.d.ts → campaignsIdUtmCampaignConflicts-rRT4cpxW.d.ts} +1 -3
- package/dist/{components-D7oBjOuU.d.ts → components-NsRUpoRJ.d.ts} +0 -2
- package/dist/components.d.ts +1 -1
- package/dist/components.js +1 -2
- package/dist/components.mjs +1 -2
- package/dist/fetch/campaigns.d.ts +1 -1
- package/dist/fetch/campaigns.js +1 -2
- package/dist/fetch/campaigns.mjs +1 -2
- package/dist/fetch/campaignsCampaignIdImagesId.d.ts +1 -1
- package/dist/fetch/campaignsCampaignIdImagesId.js +1 -2
- package/dist/fetch/campaignsCampaignIdImagesId.mjs +1 -2
- package/dist/fetch/campaignsId.d.ts +1 -1
- package/dist/fetch/campaignsId.js +1 -2
- package/dist/fetch/campaignsId.mjs +1 -2
- package/dist/fetch/campaignsIdDeliveryJob.d.ts +1 -1
- package/dist/fetch/campaignsIdDeliveryJob.js +1 -2
- package/dist/fetch/campaignsIdDeliveryJob.mjs +1 -2
- package/dist/fetch/campaignsIdImages.d.ts +1 -1
- package/dist/fetch/campaignsIdImages.js +1 -2
- package/dist/fetch/campaignsIdImages.mjs +1 -2
- package/dist/fetch/campaignsIdPreview.d.ts +1 -1
- package/dist/fetch/campaignsIdPreview.js +1 -2
- package/dist/fetch/campaignsIdPreview.mjs +1 -2
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.ts +1 -1
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.js +1 -2
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.mjs +1 -2
- package/dist/fetch/campaignsIdUtmCampaignConflicts.d.ts +1 -1
- package/dist/fetch/campaignsIdUtmCampaignConflicts.js +1 -2
- package/dist/fetch/campaignsIdUtmCampaignConflicts.mjs +1 -2
- package/dist/fetch/projectsProjectIdOrKeyword.d.ts +1 -1
- package/dist/fetch/projectsProjectIdOrKeyword.js +1 -2
- package/dist/fetch/projectsProjectIdOrKeyword.mjs +1 -2
- package/dist/fetch/segmentsBehaviorSegments.d.ts +1 -1
- package/dist/fetch/segmentsBehaviorSegments.js +1 -2
- package/dist/fetch/segmentsBehaviorSegments.mjs +1 -2
- package/dist/fetch/segmentsProfileSegments.d.ts +1 -1
- package/dist/fetch/segmentsProfileSegments.js +1 -2
- package/dist/fetch/segmentsProfileSegments.mjs +1 -2
- package/dist/fetch/segmentsTargetUsersCount.d.ts +1 -1
- package/dist/fetch/segmentsTargetUsersCount.js +1 -2
- package/dist/fetch/segmentsTargetUsersCount.mjs +1 -2
- package/dist/hooks/useCampaigns.d.ts +4 -6
- package/dist/hooks/useCampaigns.js +2 -3
- package/dist/hooks/useCampaigns.mjs +1 -2
- package/dist/hooks/useCampaignsId.d.ts +4 -6
- package/dist/hooks/useCampaignsId.js +2 -3
- package/dist/hooks/useCampaignsId.mjs +1 -2
- package/dist/hooks/useCampaignsIdPreview.d.ts +3 -5
- package/dist/hooks/useCampaignsIdPreview.js +2 -3
- package/dist/hooks/useCampaignsIdPreview.mjs +1 -2
- package/dist/hooks/useCampaignsIdUtmCampaignConflicts.d.ts +4 -6
- package/dist/hooks/useCampaignsIdUtmCampaignConflicts.js +2 -3
- package/dist/hooks/useCampaignsIdUtmCampaignConflicts.mjs +1 -2
- package/dist/hooks/useProjectsProjectIdOrKeyword.d.ts +4 -6
- package/dist/hooks/useProjectsProjectIdOrKeyword.js +2 -3
- package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +1 -2
- package/dist/hooks/useSegmentsBehaviorSegments.d.ts +4 -6
- package/dist/hooks/useSegmentsBehaviorSegments.js +2 -3
- package/dist/hooks/useSegmentsBehaviorSegments.mjs +1 -2
- package/dist/hooks/useSegmentsProfileSegments.d.ts +4 -6
- package/dist/hooks/useSegmentsProfileSegments.js +2 -3
- package/dist/hooks/useSegmentsProfileSegments.mjs +1 -2
- package/dist/hooks/useSegmentsTargetUsersCount.d.ts +3 -5
- package/dist/hooks/useSegmentsTargetUsersCount.js +2 -3
- package/dist/hooks/useSegmentsTargetUsersCount.mjs +1 -2
- package/dist/index-CKNSVOfh.d.ts +13 -0
- package/dist/index.d.ts +15 -15
- package/dist/{projectsProjectIdOrKeyword-BR8FhVy4.d.ts → projectsProjectIdOrKeyword-D3G_Rtr7.d.ts} +1 -3
- package/dist/{rolldown-runtime-VH7oDXx4.js → rolldown-runtime-CmQyd0Gu.js} +1 -2
- package/dist/{schemaType-Cc8pwM2-.d.ts → schemaType-DNnjW7qF.d.ts} +0 -2
- package/dist/schemaType.d.ts +1 -1
- package/dist/{segmentsBehaviorSegments-DoXz0AdM.d.ts → segmentsBehaviorSegments-iEXzaqD4.d.ts} +1 -3
- package/dist/{segmentsProfileSegments-CJsPVcer.d.ts → segmentsProfileSegments-Bk6DuDmH.d.ts} +1 -3
- package/dist/{segmentsTargetUsersCount-MEtr24uM.d.ts → segmentsTargetUsersCount-BA_I8aDM.d.ts} +1 -3
- package/package.json +3 -3
- package/dist/index-DiPmAnzG.d.ts +0 -13
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { GetProfileSegmentsResponse } from "../components.mjs";
|
|
2
2
|
import { __internal__requestUrl, buildRequestInitWithDefaultConfig, createJsonFetcher, mergeRequestInit } from "@readyfor/api-client-base";
|
|
3
|
-
|
|
3
|
+
// src/fetch/segmentsProfileSegments.ts
|
|
4
4
|
const buildSegmentsProfileSegmentsGetFetcher = (requestInit, options) => createJsonFetcher(GetProfileSegmentsResponse, { ...requestInit }, options);
|
|
5
5
|
const getSegmentsProfileSegments = (customRequestInit, options) => {
|
|
6
6
|
const requestInfo = __internal__requestUrl("/api/segments/profile_segments");
|
|
7
7
|
const requestInit = buildRequestInitWithDefaultConfig(mergeRequestInit(customRequestInit ?? {}, { method: "GET" }));
|
|
8
8
|
return buildSegmentsProfileSegmentsGetFetcher(requestInit, options)(requestInfo);
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { 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-BA_I8aDM.js";
|
|
2
2
|
export { SegmentsTargetUsersCountGetQuery, SegmentsTargetUsersCountGetResponse, buildSegmentsTargetUsersCountGetFetcher, getSegmentsTargetUsersCount };
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_components = require("../components.js");
|
|
3
3
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
4
|
-
|
|
4
|
+
// src/fetch/segmentsTargetUsersCount.ts
|
|
5
5
|
const buildSegmentsTargetUsersCountGetFetcher = (requestInit, options) => (0, _readyfor_api_client_base.createJsonFetcher)(require_components.GetTargetUsersCountResponse, { ...requestInit }, options);
|
|
6
6
|
const getSegmentsTargetUsersCount = (query, customRequestInit, options) => {
|
|
7
7
|
const requestInfo = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/segments/target_users_count", { query });
|
|
8
8
|
const requestInit = (0, _readyfor_api_client_base.buildRequestInitWithDefaultConfig)((0, _readyfor_api_client_base.mergeRequestInit)(customRequestInit ?? {}, { method: "GET" }));
|
|
9
9
|
return buildSegmentsTargetUsersCountGetFetcher(requestInit, options)(requestInfo);
|
|
10
10
|
};
|
|
11
|
-
//#endregion
|
|
12
11
|
exports.buildSegmentsTargetUsersCountGetFetcher = buildSegmentsTargetUsersCountGetFetcher;
|
|
13
12
|
exports.getSegmentsTargetUsersCount = getSegmentsTargetUsersCount;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { GetTargetUsersCountResponse } from "../components.mjs";
|
|
2
2
|
import { __internal__requestUrl, buildRequestInitWithDefaultConfig, createJsonFetcher, mergeRequestInit } from "@readyfor/api-client-base";
|
|
3
|
-
|
|
3
|
+
// src/fetch/segmentsTargetUsersCount.ts
|
|
4
4
|
const buildSegmentsTargetUsersCountGetFetcher = (requestInit, options) => createJsonFetcher(GetTargetUsersCountResponse, { ...requestInit }, options);
|
|
5
5
|
const getSegmentsTargetUsersCount = (query, customRequestInit, options) => {
|
|
6
6
|
const requestInfo = __internal__requestUrl("/api/segments/target_users_count", { query });
|
|
7
7
|
const requestInit = buildRequestInitWithDefaultConfig(mergeRequestInit(customRequestInit ?? {}, { method: "GET" }));
|
|
8
8
|
return buildSegmentsTargetUsersCountGetFetcher(requestInit, options)(requestInfo);
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { buildSegmentsTargetUsersCountGetFetcher, getSegmentsTargetUsersCount };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { n as components } from "../schemaType-
|
|
2
|
-
import { n as CampaignsGetResponse, t as CampaignsGetQuery } from "../campaigns-
|
|
3
|
-
import "../index-
|
|
1
|
+
import { n as components } from "../schemaType-DNnjW7qF.js";
|
|
2
|
+
import { n as CampaignsGetResponse, t as CampaignsGetQuery } from "../campaigns-BPGFLNBk.js";
|
|
3
|
+
import "../index-CKNSVOfh.js";
|
|
4
4
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
5
5
|
import { Arguments } from "swr";
|
|
6
6
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
7
|
-
//#region src/hooks/useCampaigns.d.ts
|
|
8
7
|
export declare const useCampaigns: (query: CampaignsGetQuery, swrConfig?: Configuration<CampaignsGetResponse>) => {
|
|
9
8
|
data: {
|
|
10
9
|
campaigns: components["schemas"]["Campaign"][];
|
|
@@ -36,5 +35,4 @@ export declare const useCampaignsImmutable: (query: CampaignsGetQuery, swrConfig
|
|
|
36
35
|
export declare const useCampaignsInfinite: <Args extends Arguments>(getKey: (keyBuilder: (query: CampaignsGetQuery) => string) => SWRInfiniteKeyLoader<CampaignsGetResponse, Args>, swrConfig?: SWRInfiniteConfiguration<CampaignsGetResponse>) => import("swr/infinite").SWRInfiniteResponse<{
|
|
37
36
|
campaigns: components["schemas"]["Campaign"][];
|
|
38
37
|
pagination: components["schemas"]["Pagination"];
|
|
39
|
-
}, any>;
|
|
40
|
-
//#endregion
|
|
38
|
+
}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_rolldown_runtime = require("../rolldown-runtime-
|
|
2
|
+
const require_rolldown_runtime = require("../rolldown-runtime-CmQyd0Gu.js");
|
|
3
3
|
const require_fetch_campaigns = require("../fetch/campaigns.js");
|
|
4
4
|
require("../index.js");
|
|
5
5
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
@@ -10,7 +10,7 @@ swr_infinite = require_rolldown_runtime.__toESM(swr_infinite);
|
|
|
10
10
|
let swr = require("swr");
|
|
11
11
|
swr = require_rolldown_runtime.__toESM(swr);
|
|
12
12
|
let _readyfor_api_client_base_react = require("@readyfor/api-client-base/react");
|
|
13
|
-
|
|
13
|
+
// src/hooks/useCampaigns.ts
|
|
14
14
|
const campaignsGetFetcher = require_fetch_campaigns.buildCampaignsGetFetcher();
|
|
15
15
|
const useCampaigns = (query, swrConfig = {}) => {
|
|
16
16
|
const key = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/campaigns", { query });
|
|
@@ -29,7 +29,6 @@ const useCampaignsImmutable = (query, swrConfig = {}) => {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
const useCampaignsInfinite = (getKey, swrConfig) => (0, swr_infinite.default)(getKey((query) => (0, _readyfor_api_client_base.__internal__requestUrl)("/api/campaigns", { query })), campaignsGetFetcher, swrConfig);
|
|
32
|
-
//#endregion
|
|
33
32
|
exports.useCampaigns = useCampaigns;
|
|
34
33
|
exports.useCampaignsImmutable = useCampaignsImmutable;
|
|
35
34
|
exports.useCampaignsInfinite = useCampaignsInfinite;
|
|
@@ -5,7 +5,7 @@ import useSWRImmutable from "swr/immutable";
|
|
|
5
5
|
import useSWRInfinite from "swr/infinite";
|
|
6
6
|
import useSWR from "swr";
|
|
7
7
|
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
8
|
-
|
|
8
|
+
// src/hooks/useCampaigns.ts
|
|
9
9
|
const campaignsGetFetcher = buildCampaignsGetFetcher();
|
|
10
10
|
const useCampaigns = (query, swrConfig = {}) => {
|
|
11
11
|
const key = __internal__requestUrl("/api/campaigns", { query });
|
|
@@ -24,5 +24,4 @@ const useCampaignsImmutable = (query, swrConfig = {}) => {
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
const useCampaignsInfinite = (getKey, swrConfig) => useSWRInfinite(getKey((query) => __internal__requestUrl("/api/campaigns", { query })), campaignsGetFetcher, swrConfig);
|
|
27
|
-
//#endregion
|
|
28
27
|
export { useCampaigns, useCampaignsImmutable, useCampaignsInfinite };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { n as components } from "../schemaType-
|
|
2
|
-
import { n as CampaignsIdGetPath, r as CampaignsIdGetResponse } from "../campaignsId-
|
|
3
|
-
import "../index-
|
|
1
|
+
import { n as components } from "../schemaType-DNnjW7qF.js";
|
|
2
|
+
import { n as CampaignsIdGetPath, r as CampaignsIdGetResponse } from "../campaignsId-CJrCSwgn.js";
|
|
3
|
+
import "../index-CKNSVOfh.js";
|
|
4
4
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
5
5
|
import { Arguments } from "swr";
|
|
6
6
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
7
|
-
//#region src/hooks/useCampaignsId.d.ts
|
|
8
7
|
export declare const useCampaignsId: (path: CampaignsIdGetPath, swrConfig?: Configuration<CampaignsIdGetResponse>) => {
|
|
9
8
|
data: {
|
|
10
9
|
campaignDetail: components["schemas"]["CampaignDetail"];
|
|
@@ -31,5 +30,4 @@ export declare const useCampaignsIdImmutable: (path: CampaignsIdGetPath, swrConf
|
|
|
31
30
|
};
|
|
32
31
|
export declare const useCampaignsIdInfinite: <Args extends Arguments>(getKey: (keyBuilder: (path: CampaignsIdGetPath) => string) => SWRInfiniteKeyLoader<CampaignsIdGetResponse, Args>, swrConfig?: SWRInfiniteConfiguration<CampaignsIdGetResponse>) => import("swr/infinite").SWRInfiniteResponse<{
|
|
33
32
|
campaignDetail: components["schemas"]["CampaignDetail"];
|
|
34
|
-
}, any>;
|
|
35
|
-
//#endregion
|
|
33
|
+
}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_rolldown_runtime = require("../rolldown-runtime-
|
|
2
|
+
const require_rolldown_runtime = require("../rolldown-runtime-CmQyd0Gu.js");
|
|
3
3
|
const require_fetch_campaignsId = require("../fetch/campaignsId.js");
|
|
4
4
|
require("../index.js");
|
|
5
5
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
@@ -10,7 +10,7 @@ swr_infinite = require_rolldown_runtime.__toESM(swr_infinite);
|
|
|
10
10
|
let swr = require("swr");
|
|
11
11
|
swr = require_rolldown_runtime.__toESM(swr);
|
|
12
12
|
let _readyfor_api_client_base_react = require("@readyfor/api-client-base/react");
|
|
13
|
-
|
|
13
|
+
// src/hooks/useCampaignsId.ts
|
|
14
14
|
const campaignsIdGetFetcher = require_fetch_campaignsId.buildCampaignsIdGetFetcher();
|
|
15
15
|
const useCampaignsId = (path, swrConfig = {}) => {
|
|
16
16
|
const key = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/campaigns/{id}", { path });
|
|
@@ -29,7 +29,6 @@ const useCampaignsIdImmutable = (path, swrConfig = {}) => {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
const useCampaignsIdInfinite = (getKey, swrConfig) => (0, swr_infinite.default)(getKey((path) => (0, _readyfor_api_client_base.__internal__requestUrl)("/api/campaigns/{id}", { path })), campaignsIdGetFetcher, swrConfig);
|
|
32
|
-
//#endregion
|
|
33
32
|
exports.useCampaignsId = useCampaignsId;
|
|
34
33
|
exports.useCampaignsIdImmutable = useCampaignsIdImmutable;
|
|
35
34
|
exports.useCampaignsIdInfinite = useCampaignsIdInfinite;
|
|
@@ -5,7 +5,7 @@ import useSWRImmutable from "swr/immutable";
|
|
|
5
5
|
import useSWRInfinite from "swr/infinite";
|
|
6
6
|
import useSWR from "swr";
|
|
7
7
|
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
8
|
-
|
|
8
|
+
// src/hooks/useCampaignsId.ts
|
|
9
9
|
const campaignsIdGetFetcher = buildCampaignsIdGetFetcher();
|
|
10
10
|
const useCampaignsId = (path, swrConfig = {}) => {
|
|
11
11
|
const key = __internal__requestUrl("/api/campaigns/{id}", { path });
|
|
@@ -24,5 +24,4 @@ const useCampaignsIdImmutable = (path, swrConfig = {}) => {
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
const useCampaignsIdInfinite = (getKey, swrConfig) => useSWRInfinite(getKey((path) => __internal__requestUrl("/api/campaigns/{id}", { path })), campaignsIdGetFetcher, swrConfig);
|
|
27
|
-
//#endregion
|
|
28
27
|
export { useCampaignsId, useCampaignsIdImmutable, useCampaignsIdInfinite };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { n as CampaignsIdPreviewGetResponse, t as CampaignsIdPreviewGetPath } from "../campaignsIdPreview-
|
|
2
|
-
import "../index-
|
|
1
|
+
import { n as CampaignsIdPreviewGetResponse, t as CampaignsIdPreviewGetPath } from "../campaignsIdPreview-ua-DbzxQ.js";
|
|
2
|
+
import "../index-CKNSVOfh.js";
|
|
3
3
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
4
4
|
import { Arguments } from "swr";
|
|
5
5
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
6
|
-
//#region src/hooks/useCampaignsIdPreview.d.ts
|
|
7
6
|
export declare const useCampaignsIdPreview: (path: CampaignsIdPreviewGetPath, swrConfig?: Configuration<CampaignsIdPreviewGetResponse>) => {
|
|
8
7
|
data: {
|
|
9
8
|
content: string;
|
|
@@ -30,5 +29,4 @@ export declare const useCampaignsIdPreviewImmutable: (path: CampaignsIdPreviewGe
|
|
|
30
29
|
};
|
|
31
30
|
export declare const useCampaignsIdPreviewInfinite: <Args extends Arguments>(getKey: (keyBuilder: (path: CampaignsIdPreviewGetPath) => string) => SWRInfiniteKeyLoader<CampaignsIdPreviewGetResponse, Args>, swrConfig?: SWRInfiniteConfiguration<CampaignsIdPreviewGetResponse>) => import("swr/infinite").SWRInfiniteResponse<{
|
|
32
31
|
content: string;
|
|
33
|
-
}, any>;
|
|
34
|
-
//#endregion
|
|
32
|
+
}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_rolldown_runtime = require("../rolldown-runtime-
|
|
2
|
+
const require_rolldown_runtime = require("../rolldown-runtime-CmQyd0Gu.js");
|
|
3
3
|
const require_fetch_campaignsIdPreview = require("../fetch/campaignsIdPreview.js");
|
|
4
4
|
require("../index.js");
|
|
5
5
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
@@ -10,7 +10,7 @@ swr_infinite = require_rolldown_runtime.__toESM(swr_infinite);
|
|
|
10
10
|
let swr = require("swr");
|
|
11
11
|
swr = require_rolldown_runtime.__toESM(swr);
|
|
12
12
|
let _readyfor_api_client_base_react = require("@readyfor/api-client-base/react");
|
|
13
|
-
|
|
13
|
+
// src/hooks/useCampaignsIdPreview.ts
|
|
14
14
|
const campaignsIdPreviewGetFetcher = require_fetch_campaignsIdPreview.buildCampaignsIdPreviewGetFetcher();
|
|
15
15
|
const useCampaignsIdPreview = (path, swrConfig = {}) => {
|
|
16
16
|
const key = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/campaigns/{id}/preview", { path });
|
|
@@ -29,7 +29,6 @@ const useCampaignsIdPreviewImmutable = (path, swrConfig = {}) => {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
const useCampaignsIdPreviewInfinite = (getKey, swrConfig) => (0, swr_infinite.default)(getKey((path) => (0, _readyfor_api_client_base.__internal__requestUrl)("/api/campaigns/{id}/preview", { path })), campaignsIdPreviewGetFetcher, swrConfig);
|
|
32
|
-
//#endregion
|
|
33
32
|
exports.useCampaignsIdPreview = useCampaignsIdPreview;
|
|
34
33
|
exports.useCampaignsIdPreviewImmutable = useCampaignsIdPreviewImmutable;
|
|
35
34
|
exports.useCampaignsIdPreviewInfinite = useCampaignsIdPreviewInfinite;
|
|
@@ -5,7 +5,7 @@ import useSWRImmutable from "swr/immutable";
|
|
|
5
5
|
import useSWRInfinite from "swr/infinite";
|
|
6
6
|
import useSWR from "swr";
|
|
7
7
|
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
8
|
-
|
|
8
|
+
// src/hooks/useCampaignsIdPreview.ts
|
|
9
9
|
const campaignsIdPreviewGetFetcher = buildCampaignsIdPreviewGetFetcher();
|
|
10
10
|
const useCampaignsIdPreview = (path, swrConfig = {}) => {
|
|
11
11
|
const key = __internal__requestUrl("/api/campaigns/{id}/preview", { path });
|
|
@@ -24,5 +24,4 @@ const useCampaignsIdPreviewImmutable = (path, swrConfig = {}) => {
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
const useCampaignsIdPreviewInfinite = (getKey, swrConfig) => useSWRInfinite(getKey((path) => __internal__requestUrl("/api/campaigns/{id}/preview", { path })), campaignsIdPreviewGetFetcher, swrConfig);
|
|
27
|
-
//#endregion
|
|
28
27
|
export { useCampaignsIdPreview, useCampaignsIdPreviewImmutable, useCampaignsIdPreviewInfinite };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { n as components } from "../schemaType-
|
|
2
|
-
import { n as CampaignsIdUtmCampaignConflictsGetQuery, r as CampaignsIdUtmCampaignConflictsGetResponse, t as CampaignsIdUtmCampaignConflictsGetPath } from "../campaignsIdUtmCampaignConflicts-
|
|
3
|
-
import "../index-
|
|
1
|
+
import { n as components } from "../schemaType-DNnjW7qF.js";
|
|
2
|
+
import { n as CampaignsIdUtmCampaignConflictsGetQuery, r as CampaignsIdUtmCampaignConflictsGetResponse, t as CampaignsIdUtmCampaignConflictsGetPath } from "../campaignsIdUtmCampaignConflicts-rRT4cpxW.js";
|
|
3
|
+
import "../index-CKNSVOfh.js";
|
|
4
4
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
5
5
|
import { Arguments } from "swr";
|
|
6
6
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
7
|
-
//#region src/hooks/useCampaignsIdUtmCampaignConflicts.d.ts
|
|
8
7
|
export declare const useCampaignsIdUtmCampaignConflicts: (path: CampaignsIdUtmCampaignConflictsGetPath, query: CampaignsIdUtmCampaignConflictsGetQuery, swrConfig?: Configuration<CampaignsIdUtmCampaignConflictsGetResponse>) => {
|
|
9
8
|
data: {
|
|
10
9
|
campaigns: components["schemas"]["ConflictingCampaign"][];
|
|
@@ -31,5 +30,4 @@ export declare const useCampaignsIdUtmCampaignConflictsImmutable: (path: Campaig
|
|
|
31
30
|
};
|
|
32
31
|
export declare const useCampaignsIdUtmCampaignConflictsInfinite: <Args extends Arguments>(getKey: (keyBuilder: (path: CampaignsIdUtmCampaignConflictsGetPath, query: CampaignsIdUtmCampaignConflictsGetQuery) => string) => SWRInfiniteKeyLoader<CampaignsIdUtmCampaignConflictsGetResponse, Args>, swrConfig?: SWRInfiniteConfiguration<CampaignsIdUtmCampaignConflictsGetResponse>) => import("swr/infinite").SWRInfiniteResponse<{
|
|
33
32
|
campaigns: components["schemas"]["ConflictingCampaign"][];
|
|
34
|
-
}, any>;
|
|
35
|
-
//#endregion
|
|
33
|
+
}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_rolldown_runtime = require("../rolldown-runtime-
|
|
2
|
+
const require_rolldown_runtime = require("../rolldown-runtime-CmQyd0Gu.js");
|
|
3
3
|
const require_fetch_campaignsIdUtmCampaignConflicts = require("../fetch/campaignsIdUtmCampaignConflicts.js");
|
|
4
4
|
require("../index.js");
|
|
5
5
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
@@ -10,7 +10,7 @@ swr_infinite = require_rolldown_runtime.__toESM(swr_infinite);
|
|
|
10
10
|
let swr = require("swr");
|
|
11
11
|
swr = require_rolldown_runtime.__toESM(swr);
|
|
12
12
|
let _readyfor_api_client_base_react = require("@readyfor/api-client-base/react");
|
|
13
|
-
|
|
13
|
+
// src/hooks/useCampaignsIdUtmCampaignConflicts.ts
|
|
14
14
|
const campaignsIdUtmCampaignConflictsGetFetcher = require_fetch_campaignsIdUtmCampaignConflicts.buildCampaignsIdUtmCampaignConflictsGetFetcher();
|
|
15
15
|
const useCampaignsIdUtmCampaignConflicts = (path, query, swrConfig = {}) => {
|
|
16
16
|
const key = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/campaigns/{id}/utm_campaign_conflicts", {
|
|
@@ -38,7 +38,6 @@ const useCampaignsIdUtmCampaignConflictsInfinite = (getKey, swrConfig) => (0, sw
|
|
|
38
38
|
path,
|
|
39
39
|
query
|
|
40
40
|
})), campaignsIdUtmCampaignConflictsGetFetcher, swrConfig);
|
|
41
|
-
//#endregion
|
|
42
41
|
exports.useCampaignsIdUtmCampaignConflicts = useCampaignsIdUtmCampaignConflicts;
|
|
43
42
|
exports.useCampaignsIdUtmCampaignConflictsImmutable = useCampaignsIdUtmCampaignConflictsImmutable;
|
|
44
43
|
exports.useCampaignsIdUtmCampaignConflictsInfinite = useCampaignsIdUtmCampaignConflictsInfinite;
|
|
@@ -5,7 +5,7 @@ import useSWRImmutable from "swr/immutable";
|
|
|
5
5
|
import useSWRInfinite from "swr/infinite";
|
|
6
6
|
import useSWR from "swr";
|
|
7
7
|
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
8
|
-
|
|
8
|
+
// src/hooks/useCampaignsIdUtmCampaignConflicts.ts
|
|
9
9
|
const campaignsIdUtmCampaignConflictsGetFetcher = buildCampaignsIdUtmCampaignConflictsGetFetcher();
|
|
10
10
|
const useCampaignsIdUtmCampaignConflicts = (path, query, swrConfig = {}) => {
|
|
11
11
|
const key = __internal__requestUrl("/api/campaigns/{id}/utm_campaign_conflicts", {
|
|
@@ -33,5 +33,4 @@ const useCampaignsIdUtmCampaignConflictsInfinite = (getKey, swrConfig) => useSWR
|
|
|
33
33
|
path,
|
|
34
34
|
query
|
|
35
35
|
})), campaignsIdUtmCampaignConflictsGetFetcher, swrConfig);
|
|
36
|
-
//#endregion
|
|
37
36
|
export { useCampaignsIdUtmCampaignConflicts, useCampaignsIdUtmCampaignConflictsImmutable, useCampaignsIdUtmCampaignConflictsInfinite };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { n as components } from "../schemaType-
|
|
2
|
-
import { n as ProjectsProjectIdOrKeywordGetResponse, t as ProjectsProjectIdOrKeywordGetPath } from "../projectsProjectIdOrKeyword-
|
|
3
|
-
import "../index-
|
|
1
|
+
import { n as components } from "../schemaType-DNnjW7qF.js";
|
|
2
|
+
import { n as ProjectsProjectIdOrKeywordGetResponse, t as ProjectsProjectIdOrKeywordGetPath } from "../projectsProjectIdOrKeyword-D3G_Rtr7.js";
|
|
3
|
+
import "../index-CKNSVOfh.js";
|
|
4
4
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
5
5
|
import { Arguments } from "swr";
|
|
6
6
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
7
|
-
//#region src/hooks/useProjectsProjectIdOrKeyword.d.ts
|
|
8
7
|
export declare const useProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath, swrConfig?: Configuration<ProjectsProjectIdOrKeywordGetResponse>) => {
|
|
9
8
|
data: {
|
|
10
9
|
project: components["schemas"]["ReadyforProject"];
|
|
@@ -31,5 +30,4 @@ export declare const useProjectsProjectIdOrKeywordImmutable: (path: ProjectsProj
|
|
|
31
30
|
};
|
|
32
31
|
export declare const useProjectsProjectIdOrKeywordInfinite: <Args extends Arguments>(getKey: (keyBuilder: (path: ProjectsProjectIdOrKeywordGetPath) => string) => SWRInfiniteKeyLoader<ProjectsProjectIdOrKeywordGetResponse, Args>, swrConfig?: SWRInfiniteConfiguration<ProjectsProjectIdOrKeywordGetResponse>) => import("swr/infinite").SWRInfiniteResponse<{
|
|
33
32
|
project: components["schemas"]["ReadyforProject"];
|
|
34
|
-
}, any>;
|
|
35
|
-
//#endregion
|
|
33
|
+
}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_rolldown_runtime = require("../rolldown-runtime-
|
|
2
|
+
const require_rolldown_runtime = require("../rolldown-runtime-CmQyd0Gu.js");
|
|
3
3
|
const require_fetch_projectsProjectIdOrKeyword = require("../fetch/projectsProjectIdOrKeyword.js");
|
|
4
4
|
require("../index.js");
|
|
5
5
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
@@ -10,7 +10,7 @@ swr_infinite = require_rolldown_runtime.__toESM(swr_infinite);
|
|
|
10
10
|
let swr = require("swr");
|
|
11
11
|
swr = require_rolldown_runtime.__toESM(swr);
|
|
12
12
|
let _readyfor_api_client_base_react = require("@readyfor/api-client-base/react");
|
|
13
|
-
|
|
13
|
+
// src/hooks/useProjectsProjectIdOrKeyword.ts
|
|
14
14
|
const projectsProjectIdOrKeywordGetFetcher = require_fetch_projectsProjectIdOrKeyword.buildProjectsProjectIdOrKeywordGetFetcher();
|
|
15
15
|
const useProjectsProjectIdOrKeyword = (path, swrConfig = {}) => {
|
|
16
16
|
const key = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/projects/{project_id_or_keyword}", { path });
|
|
@@ -29,7 +29,6 @@ const useProjectsProjectIdOrKeywordImmutable = (path, swrConfig = {}) => {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
const useProjectsProjectIdOrKeywordInfinite = (getKey, swrConfig) => (0, swr_infinite.default)(getKey((path) => (0, _readyfor_api_client_base.__internal__requestUrl)("/api/projects/{project_id_or_keyword}", { path })), projectsProjectIdOrKeywordGetFetcher, swrConfig);
|
|
32
|
-
//#endregion
|
|
33
32
|
exports.useProjectsProjectIdOrKeyword = useProjectsProjectIdOrKeyword;
|
|
34
33
|
exports.useProjectsProjectIdOrKeywordImmutable = useProjectsProjectIdOrKeywordImmutable;
|
|
35
34
|
exports.useProjectsProjectIdOrKeywordInfinite = useProjectsProjectIdOrKeywordInfinite;
|
|
@@ -5,7 +5,7 @@ import useSWRImmutable from "swr/immutable";
|
|
|
5
5
|
import useSWRInfinite from "swr/infinite";
|
|
6
6
|
import useSWR from "swr";
|
|
7
7
|
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
8
|
-
|
|
8
|
+
// src/hooks/useProjectsProjectIdOrKeyword.ts
|
|
9
9
|
const projectsProjectIdOrKeywordGetFetcher = buildProjectsProjectIdOrKeywordGetFetcher();
|
|
10
10
|
const useProjectsProjectIdOrKeyword = (path, swrConfig = {}) => {
|
|
11
11
|
const key = __internal__requestUrl("/api/projects/{project_id_or_keyword}", { path });
|
|
@@ -24,5 +24,4 @@ const useProjectsProjectIdOrKeywordImmutable = (path, swrConfig = {}) => {
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
const useProjectsProjectIdOrKeywordInfinite = (getKey, swrConfig) => useSWRInfinite(getKey((path) => __internal__requestUrl("/api/projects/{project_id_or_keyword}", { path })), projectsProjectIdOrKeywordGetFetcher, swrConfig);
|
|
27
|
-
//#endregion
|
|
28
27
|
export { useProjectsProjectIdOrKeyword, useProjectsProjectIdOrKeywordImmutable, useProjectsProjectIdOrKeywordInfinite };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { n as components } from "../schemaType-
|
|
2
|
-
import { t as SegmentsBehaviorSegmentsGetResponse } from "../segmentsBehaviorSegments-
|
|
3
|
-
import "../index-
|
|
1
|
+
import { n as components } from "../schemaType-DNnjW7qF.js";
|
|
2
|
+
import { t as SegmentsBehaviorSegmentsGetResponse } from "../segmentsBehaviorSegments-iEXzaqD4.js";
|
|
3
|
+
import "../index-CKNSVOfh.js";
|
|
4
4
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
5
5
|
import { Arguments } from "swr";
|
|
6
6
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
7
|
-
//#region src/hooks/useSegmentsBehaviorSegments.d.ts
|
|
8
7
|
export declare const useSegmentsBehaviorSegments: (swrConfig?: Configuration<SegmentsBehaviorSegmentsGetResponse>) => {
|
|
9
8
|
data: {
|
|
10
9
|
behaviorSegments: components["schemas"]["Segment"][];
|
|
@@ -31,5 +30,4 @@ export declare const useSegmentsBehaviorSegmentsImmutable: (swrConfig?: Configur
|
|
|
31
30
|
};
|
|
32
31
|
export declare const useSegmentsBehaviorSegmentsInfinite: <Args extends Arguments>(getKey: (keyBuilder: () => string) => SWRInfiniteKeyLoader<SegmentsBehaviorSegmentsGetResponse, Args>, swrConfig?: SWRInfiniteConfiguration<SegmentsBehaviorSegmentsGetResponse>) => import("swr/infinite").SWRInfiniteResponse<{
|
|
33
32
|
behaviorSegments: components["schemas"]["Segment"][];
|
|
34
|
-
}, any>;
|
|
35
|
-
//#endregion
|
|
33
|
+
}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_rolldown_runtime = require("../rolldown-runtime-
|
|
2
|
+
const require_rolldown_runtime = require("../rolldown-runtime-CmQyd0Gu.js");
|
|
3
3
|
const require_fetch_segmentsBehaviorSegments = require("../fetch/segmentsBehaviorSegments.js");
|
|
4
4
|
require("../index.js");
|
|
5
5
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
@@ -10,7 +10,7 @@ swr_infinite = require_rolldown_runtime.__toESM(swr_infinite);
|
|
|
10
10
|
let swr = require("swr");
|
|
11
11
|
swr = require_rolldown_runtime.__toESM(swr);
|
|
12
12
|
let _readyfor_api_client_base_react = require("@readyfor/api-client-base/react");
|
|
13
|
-
|
|
13
|
+
// src/hooks/useSegmentsBehaviorSegments.ts
|
|
14
14
|
const segmentsBehaviorSegmentsGetFetcher = require_fetch_segmentsBehaviorSegments.buildSegmentsBehaviorSegmentsGetFetcher();
|
|
15
15
|
const useSegmentsBehaviorSegments = (swrConfig = {}) => {
|
|
16
16
|
const key = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/segments/behavior_segments");
|
|
@@ -29,7 +29,6 @@ const useSegmentsBehaviorSegmentsImmutable = (swrConfig = {}) => {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
const useSegmentsBehaviorSegmentsInfinite = (getKey, swrConfig) => (0, swr_infinite.default)(getKey(() => (0, _readyfor_api_client_base.__internal__requestUrl)("/api/segments/behavior_segments")), segmentsBehaviorSegmentsGetFetcher, swrConfig);
|
|
32
|
-
//#endregion
|
|
33
32
|
exports.useSegmentsBehaviorSegments = useSegmentsBehaviorSegments;
|
|
34
33
|
exports.useSegmentsBehaviorSegmentsImmutable = useSegmentsBehaviorSegmentsImmutable;
|
|
35
34
|
exports.useSegmentsBehaviorSegmentsInfinite = useSegmentsBehaviorSegmentsInfinite;
|
|
@@ -5,7 +5,7 @@ import useSWRImmutable from "swr/immutable";
|
|
|
5
5
|
import useSWRInfinite from "swr/infinite";
|
|
6
6
|
import useSWR from "swr";
|
|
7
7
|
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
8
|
-
|
|
8
|
+
// src/hooks/useSegmentsBehaviorSegments.ts
|
|
9
9
|
const segmentsBehaviorSegmentsGetFetcher = buildSegmentsBehaviorSegmentsGetFetcher();
|
|
10
10
|
const useSegmentsBehaviorSegments = (swrConfig = {}) => {
|
|
11
11
|
const key = __internal__requestUrl("/api/segments/behavior_segments");
|
|
@@ -24,5 +24,4 @@ const useSegmentsBehaviorSegmentsImmutable = (swrConfig = {}) => {
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
const useSegmentsBehaviorSegmentsInfinite = (getKey, swrConfig) => useSWRInfinite(getKey(() => __internal__requestUrl("/api/segments/behavior_segments")), segmentsBehaviorSegmentsGetFetcher, swrConfig);
|
|
27
|
-
//#endregion
|
|
28
27
|
export { useSegmentsBehaviorSegments, useSegmentsBehaviorSegmentsImmutable, useSegmentsBehaviorSegmentsInfinite };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { n as components } from "../schemaType-
|
|
2
|
-
import { t as SegmentsProfileSegmentsGetResponse } from "../segmentsProfileSegments-
|
|
3
|
-
import "../index-
|
|
1
|
+
import { n as components } from "../schemaType-DNnjW7qF.js";
|
|
2
|
+
import { t as SegmentsProfileSegmentsGetResponse } from "../segmentsProfileSegments-Bk6DuDmH.js";
|
|
3
|
+
import "../index-CKNSVOfh.js";
|
|
4
4
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
5
5
|
import { Arguments } from "swr";
|
|
6
6
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
7
|
-
//#region src/hooks/useSegmentsProfileSegments.d.ts
|
|
8
7
|
export declare const useSegmentsProfileSegments: (swrConfig?: Configuration<SegmentsProfileSegmentsGetResponse>) => {
|
|
9
8
|
data: {
|
|
10
9
|
profileSegments: components["schemas"]["Segment"][];
|
|
@@ -31,5 +30,4 @@ export declare const useSegmentsProfileSegmentsImmutable: (swrConfig?: Configura
|
|
|
31
30
|
};
|
|
32
31
|
export declare const useSegmentsProfileSegmentsInfinite: <Args extends Arguments>(getKey: (keyBuilder: () => string) => SWRInfiniteKeyLoader<SegmentsProfileSegmentsGetResponse, Args>, swrConfig?: SWRInfiniteConfiguration<SegmentsProfileSegmentsGetResponse>) => import("swr/infinite").SWRInfiniteResponse<{
|
|
33
32
|
profileSegments: components["schemas"]["Segment"][];
|
|
34
|
-
}, any>;
|
|
35
|
-
//#endregion
|
|
33
|
+
}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_rolldown_runtime = require("../rolldown-runtime-
|
|
2
|
+
const require_rolldown_runtime = require("../rolldown-runtime-CmQyd0Gu.js");
|
|
3
3
|
const require_fetch_segmentsProfileSegments = require("../fetch/segmentsProfileSegments.js");
|
|
4
4
|
require("../index.js");
|
|
5
5
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
@@ -10,7 +10,7 @@ swr_infinite = require_rolldown_runtime.__toESM(swr_infinite);
|
|
|
10
10
|
let swr = require("swr");
|
|
11
11
|
swr = require_rolldown_runtime.__toESM(swr);
|
|
12
12
|
let _readyfor_api_client_base_react = require("@readyfor/api-client-base/react");
|
|
13
|
-
|
|
13
|
+
// src/hooks/useSegmentsProfileSegments.ts
|
|
14
14
|
const segmentsProfileSegmentsGetFetcher = require_fetch_segmentsProfileSegments.buildSegmentsProfileSegmentsGetFetcher();
|
|
15
15
|
const useSegmentsProfileSegments = (swrConfig = {}) => {
|
|
16
16
|
const key = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/segments/profile_segments");
|
|
@@ -29,7 +29,6 @@ const useSegmentsProfileSegmentsImmutable = (swrConfig = {}) => {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
const useSegmentsProfileSegmentsInfinite = (getKey, swrConfig) => (0, swr_infinite.default)(getKey(() => (0, _readyfor_api_client_base.__internal__requestUrl)("/api/segments/profile_segments")), segmentsProfileSegmentsGetFetcher, swrConfig);
|
|
32
|
-
//#endregion
|
|
33
32
|
exports.useSegmentsProfileSegments = useSegmentsProfileSegments;
|
|
34
33
|
exports.useSegmentsProfileSegmentsImmutable = useSegmentsProfileSegmentsImmutable;
|
|
35
34
|
exports.useSegmentsProfileSegmentsInfinite = useSegmentsProfileSegmentsInfinite;
|
|
@@ -5,7 +5,7 @@ import useSWRImmutable from "swr/immutable";
|
|
|
5
5
|
import useSWRInfinite from "swr/infinite";
|
|
6
6
|
import useSWR from "swr";
|
|
7
7
|
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
8
|
-
|
|
8
|
+
// src/hooks/useSegmentsProfileSegments.ts
|
|
9
9
|
const segmentsProfileSegmentsGetFetcher = buildSegmentsProfileSegmentsGetFetcher();
|
|
10
10
|
const useSegmentsProfileSegments = (swrConfig = {}) => {
|
|
11
11
|
const key = __internal__requestUrl("/api/segments/profile_segments");
|
|
@@ -24,5 +24,4 @@ const useSegmentsProfileSegmentsImmutable = (swrConfig = {}) => {
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
const useSegmentsProfileSegmentsInfinite = (getKey, swrConfig) => useSWRInfinite(getKey(() => __internal__requestUrl("/api/segments/profile_segments")), segmentsProfileSegmentsGetFetcher, swrConfig);
|
|
27
|
-
//#endregion
|
|
28
27
|
export { useSegmentsProfileSegments, useSegmentsProfileSegmentsImmutable, useSegmentsProfileSegmentsInfinite };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { n as SegmentsTargetUsersCountGetResponse, t as SegmentsTargetUsersCountGetQuery } from "../segmentsTargetUsersCount-
|
|
2
|
-
import "../index-
|
|
1
|
+
import { n as SegmentsTargetUsersCountGetResponse, t as SegmentsTargetUsersCountGetQuery } from "../segmentsTargetUsersCount-BA_I8aDM.js";
|
|
2
|
+
import "../index-CKNSVOfh.js";
|
|
3
3
|
import { SWRInfiniteConfiguration, SWRInfiniteKeyLoader } from "swr/infinite";
|
|
4
4
|
import { Arguments } from "swr";
|
|
5
5
|
import { Configuration } from "@readyfor/api-client-base/react";
|
|
6
|
-
//#region src/hooks/useSegmentsTargetUsersCount.d.ts
|
|
7
6
|
export declare const useSegmentsTargetUsersCount: (query: SegmentsTargetUsersCountGetQuery, swrConfig?: Configuration<SegmentsTargetUsersCountGetResponse>) => {
|
|
8
7
|
data: {
|
|
9
8
|
count: number;
|
|
@@ -30,5 +29,4 @@ export declare const useSegmentsTargetUsersCountImmutable: (query: SegmentsTarge
|
|
|
30
29
|
};
|
|
31
30
|
export declare const useSegmentsTargetUsersCountInfinite: <Args extends Arguments>(getKey: (keyBuilder: (query: SegmentsTargetUsersCountGetQuery) => string) => SWRInfiniteKeyLoader<SegmentsTargetUsersCountGetResponse, Args>, swrConfig?: SWRInfiniteConfiguration<SegmentsTargetUsersCountGetResponse>) => import("swr/infinite").SWRInfiniteResponse<{
|
|
32
31
|
count: number;
|
|
33
|
-
}, any>;
|
|
34
|
-
//#endregion
|
|
32
|
+
}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_rolldown_runtime = require("../rolldown-runtime-
|
|
2
|
+
const require_rolldown_runtime = require("../rolldown-runtime-CmQyd0Gu.js");
|
|
3
3
|
const require_fetch_segmentsTargetUsersCount = require("../fetch/segmentsTargetUsersCount.js");
|
|
4
4
|
require("../index.js");
|
|
5
5
|
let _readyfor_api_client_base = require("@readyfor/api-client-base");
|
|
@@ -10,7 +10,7 @@ swr_infinite = require_rolldown_runtime.__toESM(swr_infinite);
|
|
|
10
10
|
let swr = require("swr");
|
|
11
11
|
swr = require_rolldown_runtime.__toESM(swr);
|
|
12
12
|
let _readyfor_api_client_base_react = require("@readyfor/api-client-base/react");
|
|
13
|
-
|
|
13
|
+
// src/hooks/useSegmentsTargetUsersCount.ts
|
|
14
14
|
const segmentsTargetUsersCountGetFetcher = require_fetch_segmentsTargetUsersCount.buildSegmentsTargetUsersCountGetFetcher();
|
|
15
15
|
const useSegmentsTargetUsersCount = (query, swrConfig = {}) => {
|
|
16
16
|
const key = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/segments/target_users_count", { query });
|
|
@@ -29,7 +29,6 @@ const useSegmentsTargetUsersCountImmutable = (query, swrConfig = {}) => {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
const useSegmentsTargetUsersCountInfinite = (getKey, swrConfig) => (0, swr_infinite.default)(getKey((query) => (0, _readyfor_api_client_base.__internal__requestUrl)("/api/segments/target_users_count", { query })), segmentsTargetUsersCountGetFetcher, swrConfig);
|
|
32
|
-
//#endregion
|
|
33
32
|
exports.useSegmentsTargetUsersCount = useSegmentsTargetUsersCount;
|
|
34
33
|
exports.useSegmentsTargetUsersCountImmutable = useSegmentsTargetUsersCountImmutable;
|
|
35
34
|
exports.useSegmentsTargetUsersCountInfinite = useSegmentsTargetUsersCountInfinite;
|
|
@@ -5,7 +5,7 @@ import useSWRImmutable from "swr/immutable";
|
|
|
5
5
|
import useSWRInfinite from "swr/infinite";
|
|
6
6
|
import useSWR from "swr";
|
|
7
7
|
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
8
|
-
|
|
8
|
+
// src/hooks/useSegmentsTargetUsersCount.ts
|
|
9
9
|
const segmentsTargetUsersCountGetFetcher = buildSegmentsTargetUsersCountGetFetcher();
|
|
10
10
|
const useSegmentsTargetUsersCount = (query, swrConfig = {}) => {
|
|
11
11
|
const key = __internal__requestUrl("/api/segments/target_users_count", { query });
|
|
@@ -24,5 +24,4 @@ const useSegmentsTargetUsersCountImmutable = (query, swrConfig = {}) => {
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
const useSegmentsTargetUsersCountInfinite = (getKey, swrConfig) => useSWRInfinite(getKey((query) => __internal__requestUrl("/api/segments/target_users_count", { query })), segmentsTargetUsersCountGetFetcher, swrConfig);
|
|
27
|
-
//#endregion
|
|
28
27
|
export { useSegmentsTargetUsersCount, useSegmentsTargetUsersCountImmutable, useSegmentsTargetUsersCountInfinite };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./components-NsRUpoRJ.js";
|
|
2
|
+
import "./campaigns-BPGFLNBk.js";
|
|
3
|
+
import "./campaignsCampaignIdImagesId-Bg8VdWdK.js";
|
|
4
|
+
import "./campaignsId-CJrCSwgn.js";
|
|
5
|
+
import "./campaignsIdDeliveryJob-Cf4-Ckao.js";
|
|
6
|
+
import "./campaignsIdImages-BDuAnjF9.js";
|
|
7
|
+
import "./campaignsIdPreview-ua-DbzxQ.js";
|
|
8
|
+
import "./campaignsIdPreviewDeliveryEmail-CGHtSsk7.js";
|
|
9
|
+
import "./campaignsIdUtmCampaignConflicts-rRT4cpxW.js";
|
|
10
|
+
import "./projectsProjectIdOrKeyword-D3G_Rtr7.js";
|
|
11
|
+
import "./segmentsBehaviorSegments-iEXzaqD4.js";
|
|
12
|
+
import "./segmentsProfileSegments-Bk6DuDmH.js";
|
|
13
|
+
import "./segmentsTargetUsersCount-BA_I8aDM.js";
|