@readyfor/api-client-pigeon 1.22.0-pr1284.dc25e7e → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-24W5FWW7.mjs +27 -0
- package/dist/chunk-45QYVVV2.mjs +44 -0
- package/dist/chunk-5XEJOYX6.mjs +0 -0
- package/dist/chunk-6337UNDD.mjs +27 -0
- package/dist/chunk-CXALAOMT.mjs +48 -0
- package/dist/chunk-GVEIZAMY.mjs +359 -0
- package/dist/chunk-JVMIOVIM.mjs +29 -0
- package/dist/chunk-LMM3AGZ6.mjs +36 -0
- package/dist/chunk-MCYE5BYS.mjs +25 -0
- package/dist/chunk-MKV3OPBP.mjs +42 -0
- package/dist/chunk-MYQ5EIA6.mjs +50 -0
- package/dist/chunk-NA23PDIV.mjs +28 -0
- package/dist/chunk-P4EIALGR.mjs +24 -0
- package/dist/chunk-RWX2GYF3.mjs +39 -0
- package/dist/chunk-SBWG7GGI.mjs +52 -0
- package/dist/chunk-THNPXV56.mjs +24 -0
- package/dist/chunk-TPXQJS55.mjs +44 -0
- package/dist/chunk-UHDD26HF.mjs +44 -0
- package/dist/chunk-VUG5S4M4.mjs +42 -0
- package/dist/chunk-XNOKTUME.mjs +30 -0
- package/dist/components.d.mts +1107 -0
- package/dist/components.d.ts +1107 -2
- package/dist/components.js +444 -284
- package/dist/components.mjs +130 -221
- package/dist/fetch/campaigns.d.mts +88 -0
- package/dist/fetch/campaigns.d.ts +88 -2
- package/dist/fetch/campaigns.js +350 -22
- package/dist/fetch/campaigns.mjs +12 -18
- package/dist/{campaignsCampaignIdImagesId-BzoZ_38r.d.ts → fetch/campaignsCampaignIdImagesId.d.mts} +8 -6
- package/dist/fetch/campaignsCampaignIdImagesId.d.ts +12 -2
- package/dist/fetch/campaignsCampaignIdImagesId.js +44 -11
- package/dist/fetch/campaignsCampaignIdImagesId.mjs +7 -8
- package/dist/fetch/campaignsId.d.mts +321 -0
- package/dist/fetch/campaignsId.d.ts +321 -2
- package/dist/fetch/campaignsId.js +360 -27
- package/dist/fetch/campaignsId.mjs +16 -22
- package/dist/{campaignsIdDeliveryJob--2Nogu0k.d.ts → fetch/campaignsIdDeliveryJob.d.mts} +12 -7
- package/dist/fetch/campaignsIdDeliveryJob.d.ts +19 -2
- package/dist/fetch/campaignsIdDeliveryJob.js +56 -17
- package/dist/fetch/campaignsIdDeliveryJob.mjs +11 -13
- package/dist/{campaignsIdImages-DMSAp5-N.d.ts → fetch/campaignsIdImages.d.mts} +17 -11
- package/dist/fetch/campaignsIdImages.d.ts +24 -2
- package/dist/fetch/campaignsIdImages.js +341 -15
- package/dist/fetch/campaignsIdImages.mjs +8 -12
- package/dist/{campaignsIdPreview-C10ENt3B.d.ts → fetch/campaignsIdPreview.d.mts} +10 -8
- package/dist/fetch/campaignsIdPreview.d.ts +17 -2
- package/dist/fetch/campaignsIdPreview.js +338 -12
- package/dist/fetch/campaignsIdPreview.mjs +8 -9
- package/dist/{campaignsIdPreviewDeliveryEmail-BxkiUV8X.d.ts → fetch/campaignsIdPreviewDeliveryEmail.d.mts} +13 -7
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.d.ts +17 -2
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.js +48 -15
- package/dist/fetch/campaignsIdPreviewDeliveryEmail.mjs +7 -12
- package/dist/fetch/projectsProjectIdOrKeyword.d.mts +27 -0
- package/dist/fetch/projectsProjectIdOrKeyword.d.ts +27 -2
- package/dist/fetch/projectsProjectIdOrKeyword.js +338 -12
- package/dist/fetch/projectsProjectIdOrKeyword.mjs +8 -9
- package/dist/fetch/segmentsBehaviorSegments.d.mts +24 -0
- package/dist/fetch/segmentsBehaviorSegments.d.ts +24 -2
- package/dist/fetch/segmentsBehaviorSegments.js +335 -12
- package/dist/fetch/segmentsBehaviorSegments.mjs +8 -9
- package/dist/fetch/segmentsProfileSegments.d.mts +24 -0
- package/dist/fetch/segmentsProfileSegments.d.ts +24 -2
- package/dist/fetch/segmentsProfileSegments.js +335 -12
- package/dist/fetch/segmentsProfileSegments.mjs +8 -9
- package/dist/{segmentsTargetUsersCount-CjScWKqF.d.ts → fetch/segmentsTargetUsersCount.d.mts} +10 -8
- package/dist/fetch/segmentsTargetUsersCount.d.ts +17 -2
- package/dist/fetch/segmentsTargetUsersCount.js +339 -12
- package/dist/fetch/segmentsTargetUsersCount.mjs +8 -9
- package/dist/hooks/index.d.mts +20 -0
- package/dist/hooks/index.d.ts +20 -8
- package/dist/hooks/index.js +670 -29
- package/dist/hooks/index.mjs +71 -8
- package/dist/hooks/useCampaigns.d.mts +44 -0
- package/dist/hooks/useCampaigns.d.ts +37 -37
- package/dist/hooks/useCampaigns.js +404 -33
- package/dist/hooks/useCampaigns.mjs +22 -27
- package/dist/hooks/useCampaignsId.d.mts +39 -0
- package/dist/hooks/useCampaignsId.d.ts +33 -33
- package/dist/hooks/useCampaignsId.js +404 -33
- package/dist/hooks/useCampaignsId.mjs +22 -27
- package/dist/hooks/useCampaignsIdPreview.d.mts +39 -0
- package/dist/hooks/useCampaignsIdPreview.d.ts +33 -32
- package/dist/hooks/useCampaignsIdPreview.js +404 -33
- package/dist/hooks/useCampaignsIdPreview.mjs +22 -27
- package/dist/hooks/useProjectsProjectIdOrKeyword.d.mts +39 -0
- package/dist/hooks/useProjectsProjectIdOrKeyword.d.ts +33 -33
- package/dist/hooks/useProjectsProjectIdOrKeyword.js +410 -33
- package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +22 -27
- package/dist/hooks/useSegmentsBehaviorSegments.d.mts +38 -0
- package/dist/hooks/useSegmentsBehaviorSegments.d.ts +32 -33
- package/dist/hooks/useSegmentsBehaviorSegments.js +402 -33
- package/dist/hooks/useSegmentsBehaviorSegments.mjs +22 -27
- package/dist/hooks/useSegmentsProfileSegments.d.mts +38 -0
- package/dist/hooks/useSegmentsProfileSegments.d.ts +32 -33
- package/dist/hooks/useSegmentsProfileSegments.js +402 -33
- package/dist/hooks/useSegmentsProfileSegments.mjs +22 -27
- package/dist/hooks/useSegmentsTargetUsersCount.d.mts +39 -0
- package/dist/hooks/useSegmentsTargetUsersCount.d.ts +33 -32
- package/dist/hooks/useSegmentsTargetUsersCount.js +412 -33
- package/dist/hooks/useSegmentsTargetUsersCount.mjs +22 -27
- package/dist/index.d.mts +15 -0
- package/dist/index.d.ts +15 -14
- package/dist/index.js +703 -106
- package/dist/index.mjs +213 -13
- package/dist/schemaType.d.mts +887 -0
- package/dist/schemaType.d.ts +887 -2
- package/dist/schemaType.js +18 -0
- package/dist/schemaType.mjs +0 -1
- package/package.json +19 -4
- package/dist/campaigns-DZNsI5kN.d.ts +0 -82
- package/dist/campaignsId-qIqhKTZn.d.ts +0 -309
- package/dist/chunk-8l464Juk.js +0 -28
- package/dist/components-CkziYCTx.d.ts +0 -1108
- package/dist/index-DRYular4.d.ts +0 -1
- package/dist/projectsProjectIdOrKeyword-Cayu4ZMd.d.ts +0 -25
- package/dist/schemaType-DcWvaCEH.d.ts +0 -782
- package/dist/segmentsBehaviorSegments-B6cq3XGV.d.ts +0 -25
- package/dist/segmentsProfileSegments-CMzmpqMd.d.ts +0 -25
|
@@ -1,39 +1,38 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import * as swr_infinite from 'swr/infinite';
|
|
2
|
+
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import * as swr__internal from 'swr/_internal';
|
|
4
|
+
import * as swr from 'swr';
|
|
5
|
+
import { Arguments } from 'swr';
|
|
6
|
+
import { components } from '../schemaType.js';
|
|
7
|
+
import { Configuration } from '@readyfor/api-client-base/react';
|
|
8
|
+
import { SegmentsProfileSegmentsGetResponse } from '../fetch/segmentsProfileSegments.js';
|
|
9
9
|
|
|
10
|
-
//#region src/hooks/useSegmentsProfileSegments.d.ts
|
|
11
10
|
declare const useSegmentsProfileSegments: (swrConfig?: Configuration<SegmentsProfileSegmentsGetResponse>) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
11
|
+
data: {
|
|
12
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
13
|
+
} | undefined;
|
|
14
|
+
error: any;
|
|
15
|
+
mutate: swr.KeyedMutator<{
|
|
16
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
17
|
+
}>;
|
|
18
|
+
isValidating: boolean;
|
|
19
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
20
|
+
key: string;
|
|
22
21
|
};
|
|
23
22
|
declare const useSegmentsProfileSegmentsImmutable: (swrConfig?: Configuration<SegmentsProfileSegmentsGetResponse>) => {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
23
|
+
data: {
|
|
24
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
25
|
+
} | undefined;
|
|
26
|
+
error: any;
|
|
27
|
+
mutate: swr.KeyedMutator<{
|
|
28
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
29
|
+
}>;
|
|
30
|
+
isValidating: boolean;
|
|
31
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
32
|
+
key: string;
|
|
34
33
|
};
|
|
35
|
-
declare const useSegmentsProfileSegmentsInfinite: <Args extends Arguments>(getKey: (keyBuilder: () => string) => SWRInfiniteKeyLoader<SegmentsProfileSegmentsGetResponse, Args>, swrConfig?: SWRInfiniteConfiguration<SegmentsProfileSegmentsGetResponse>) =>
|
|
36
|
-
|
|
34
|
+
declare const useSegmentsProfileSegmentsInfinite: <Args extends Arguments>(getKey: (keyBuilder: () => string) => SWRInfiniteKeyLoader<SegmentsProfileSegmentsGetResponse, Args>, swrConfig?: SWRInfiniteConfiguration<SegmentsProfileSegmentsGetResponse>) => swr_infinite.SWRInfiniteResponse<{
|
|
35
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
37
36
|
}, any>;
|
|
38
|
-
|
|
39
|
-
export { useSegmentsProfileSegments, useSegmentsProfileSegmentsImmutable, useSegmentsProfileSegmentsInfinite };
|
|
37
|
+
|
|
38
|
+
export { useSegmentsProfileSegments, useSegmentsProfileSegmentsImmutable, useSegmentsProfileSegmentsInfinite };
|
|
@@ -1,35 +1,404 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
swr = require_chunk.__toESM(swr);
|
|
12
|
-
let _readyfor_api_client_base_react = require("@readyfor/api-client-base/react");
|
|
13
|
-
//#region src/hooks/useSegmentsProfileSegments.ts
|
|
14
|
-
const segmentsProfileSegmentsGetFetcher = require_fetch_segmentsProfileSegments.buildSegmentsProfileSegmentsGetFetcher();
|
|
15
|
-
const useSegmentsProfileSegments = (swrConfig = {}) => {
|
|
16
|
-
const key = (0, _readyfor_api_client_base.__internal__requestUrl)("/api/segments/profile_segments");
|
|
17
|
-
const requestInit = (0, _readyfor_api_client_base_react.useRequestInit)();
|
|
18
|
-
return {
|
|
19
|
-
key,
|
|
20
|
-
...(0, swr.default)(swrConfig?.shouldNotFetch ? null : key, require_fetch_segmentsProfileSegments.buildSegmentsProfileSegmentsGetFetcher(requestInit), swrConfig)
|
|
21
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
22
11
|
};
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
30
19
|
};
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
exports
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/hooks/useSegmentsProfileSegments.ts
|
|
31
|
+
var useSegmentsProfileSegments_exports = {};
|
|
32
|
+
__export(useSegmentsProfileSegments_exports, {
|
|
33
|
+
useSegmentsProfileSegments: () => useSegmentsProfileSegments,
|
|
34
|
+
useSegmentsProfileSegmentsImmutable: () => useSegmentsProfileSegmentsImmutable,
|
|
35
|
+
useSegmentsProfileSegmentsInfinite: () => useSegmentsProfileSegmentsInfinite
|
|
36
|
+
});
|
|
37
|
+
module.exports = __toCommonJS(useSegmentsProfileSegments_exports);
|
|
38
|
+
var import_immutable = __toESM(require("swr/immutable"));
|
|
39
|
+
var import_infinite = __toESM(require("swr/infinite"));
|
|
40
|
+
var import_swr = __toESM(require("swr"));
|
|
41
|
+
var import_api_client_base12 = require("@readyfor/api-client-base");
|
|
42
|
+
var import_react = require("@readyfor/api-client-base/react");
|
|
43
|
+
|
|
44
|
+
// src/components.ts
|
|
45
|
+
var import_zod = require("zod");
|
|
46
|
+
var DeleteImageFormData = import_zod.z.object({ kind: import_zod.z.literal("delete") });
|
|
47
|
+
var UploadImageFormData = import_zod.z.object({
|
|
48
|
+
kind: import_zod.z.literal("upload"),
|
|
49
|
+
data: import_zod.z.union([import_zod.z.any(), import_zod.z.any()])
|
|
50
|
+
});
|
|
51
|
+
var ImageFormData = import_zod.z.union([
|
|
52
|
+
UploadImageFormData,
|
|
53
|
+
DeleteImageFormData
|
|
54
|
+
]);
|
|
55
|
+
var CurationMailMagazineTargetFilterFormData = import_zod.z.object({
|
|
56
|
+
id: import_zod.z.union([import_zod.z.number(), import_zod.z.null()]),
|
|
57
|
+
behaviorSegmentCodes: import_zod.z.array(import_zod.z.string()),
|
|
58
|
+
profileSegmentCodes: import_zod.z.array(import_zod.z.string())
|
|
59
|
+
});
|
|
60
|
+
var PersonalizedMailMagazineTargetUploadCsvRecordFormData = import_zod.z.object({
|
|
61
|
+
userId: import_zod.z.number(),
|
|
62
|
+
projectIds: import_zod.z.string()
|
|
63
|
+
});
|
|
64
|
+
var CurationMailMagazineTargetFilter = import_zod.z.object({
|
|
65
|
+
id: import_zod.z.number(),
|
|
66
|
+
behaviorSegmentCodes: import_zod.z.array(import_zod.z.string()),
|
|
67
|
+
profileSegmentCodes: import_zod.z.array(import_zod.z.string())
|
|
68
|
+
});
|
|
69
|
+
var CurationMailMagazineBannerFormData = import_zod.z.object({
|
|
70
|
+
id: import_zod.z.union([import_zod.z.number(), import_zod.z.null()]),
|
|
71
|
+
slotNumber: import_zod.z.number(),
|
|
72
|
+
image: import_zod.z.union([ImageFormData, import_zod.z.null()]),
|
|
73
|
+
url: import_zod.z.union([import_zod.z.string(), import_zod.z.null()])
|
|
74
|
+
});
|
|
75
|
+
var CurationMailMagazineProjectFormData = import_zod.z.object({
|
|
76
|
+
id: import_zod.z.union([import_zod.z.number(), import_zod.z.null()]),
|
|
77
|
+
slotNumber: import_zod.z.number(),
|
|
78
|
+
readyforProjectId: import_zod.z.number(),
|
|
79
|
+
isPaidSlot: import_zod.z.boolean(),
|
|
80
|
+
title: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
81
|
+
description: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
82
|
+
thumbnail: import_zod.z.union([ImageFormData, import_zod.z.null()]),
|
|
83
|
+
tag: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
84
|
+
tagUrl: import_zod.z.union([import_zod.z.string(), import_zod.z.null()])
|
|
85
|
+
});
|
|
86
|
+
var CurationMailMagazineFormDataBase = import_zod.z.object({
|
|
87
|
+
utmCampaign: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
88
|
+
subject: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
89
|
+
preHeaderText: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
90
|
+
targetFilters: import_zod.z.array(CurationMailMagazineTargetFilterFormData)
|
|
91
|
+
});
|
|
92
|
+
var PersonalizedMailMagazineTargetUploadCsvFormData = import_zod.z.object({
|
|
93
|
+
kind: import_zod.z.literal("uploadCsv"),
|
|
94
|
+
fileName: import_zod.z.string(),
|
|
95
|
+
records: import_zod.z.array(PersonalizedMailMagazineTargetUploadCsvRecordFormData)
|
|
96
|
+
});
|
|
97
|
+
var PersonalizedMailMagazineTargetDeleteCsvFormData = import_zod.z.object({
|
|
98
|
+
kind: import_zod.z.literal("deleteTargetCsv")
|
|
99
|
+
});
|
|
100
|
+
var Image = import_zod.z.object({ id: import_zod.z.number(), key: import_zod.z.string() });
|
|
101
|
+
var CurationMailMagazineDetailBase = import_zod.z.object({
|
|
102
|
+
utmCampaign: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
103
|
+
subject: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
104
|
+
preHeaderText: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
105
|
+
deliveredUsersCount: import_zod.z.union([import_zod.z.number(), import_zod.z.null()]),
|
|
106
|
+
targetFilters: import_zod.z.array(CurationMailMagazineTargetFilter)
|
|
107
|
+
});
|
|
108
|
+
var CurationMailMagazineBanner = import_zod.z.object({
|
|
109
|
+
id: import_zod.z.number(),
|
|
110
|
+
slotNumber: import_zod.z.number(),
|
|
111
|
+
imageUrl: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
112
|
+
url: import_zod.z.union([import_zod.z.string(), import_zod.z.null()])
|
|
113
|
+
});
|
|
114
|
+
var CurationMailMagazineTargetProject = import_zod.z.object({
|
|
115
|
+
id: import_zod.z.number(),
|
|
116
|
+
readyforProjectId: import_zod.z.number(),
|
|
117
|
+
slotNumber: import_zod.z.number(),
|
|
118
|
+
isPaidSlot: import_zod.z.boolean(),
|
|
119
|
+
title: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
120
|
+
description: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
121
|
+
thumbnailUrl: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
122
|
+
tag: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
123
|
+
tagUrl: import_zod.z.union([import_zod.z.string(), import_zod.z.null()])
|
|
124
|
+
});
|
|
125
|
+
var CurationMailMagazineFormDataBodyKindTemplate = import_zod.z.intersection(
|
|
126
|
+
CurationMailMagazineFormDataBase,
|
|
127
|
+
import_zod.z.object({
|
|
128
|
+
bodyKind: import_zod.z.literal("template"),
|
|
129
|
+
projects: import_zod.z.array(CurationMailMagazineProjectFormData),
|
|
130
|
+
banners: import_zod.z.array(CurationMailMagazineBannerFormData)
|
|
131
|
+
})
|
|
132
|
+
);
|
|
133
|
+
var CurationMailMagazineFormDataBodyKindFreeFormat = import_zod.z.intersection(
|
|
134
|
+
CurationMailMagazineFormDataBase,
|
|
135
|
+
import_zod.z.object({
|
|
136
|
+
bodyKind: import_zod.z.literal("freeFormat"),
|
|
137
|
+
htmlBody: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
138
|
+
htmlStyle: import_zod.z.union([import_zod.z.string(), import_zod.z.null()])
|
|
139
|
+
})
|
|
140
|
+
);
|
|
141
|
+
var PersonalizedMailMagazineTargetCsvFormData = import_zod.z.union([
|
|
142
|
+
PersonalizedMailMagazineTargetDeleteCsvFormData,
|
|
143
|
+
PersonalizedMailMagazineTargetUploadCsvFormData
|
|
144
|
+
]);
|
|
145
|
+
var CurationMailMagazineDetailBodyKindFreeFormat = import_zod.z.intersection(
|
|
146
|
+
CurationMailMagazineDetailBase,
|
|
147
|
+
import_zod.z.object({
|
|
148
|
+
bodyKind: import_zod.z.literal("freeFormat"),
|
|
149
|
+
htmlBody: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
150
|
+
htmlStyle: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
151
|
+
images: import_zod.z.array(Image)
|
|
152
|
+
})
|
|
153
|
+
);
|
|
154
|
+
var CurationMailMagazineDetailBodyKindTemplate = import_zod.z.intersection(
|
|
155
|
+
CurationMailMagazineDetailBase,
|
|
156
|
+
import_zod.z.object({
|
|
157
|
+
bodyKind: import_zod.z.literal("template"),
|
|
158
|
+
projects: import_zod.z.array(CurationMailMagazineTargetProject),
|
|
159
|
+
banners: import_zod.z.array(CurationMailMagazineBanner)
|
|
160
|
+
})
|
|
161
|
+
);
|
|
162
|
+
var PersonalizedMailMagazineDetailTarget = import_zod.z.object({
|
|
163
|
+
csvFileName: import_zod.z.string(),
|
|
164
|
+
targetUsersCount: import_zod.z.number(),
|
|
165
|
+
excludedUsersCount: import_zod.z.number()
|
|
166
|
+
});
|
|
167
|
+
var CurationMailMagazineFormData = import_zod.z.union([
|
|
168
|
+
CurationMailMagazineFormDataBodyKindFreeFormat,
|
|
169
|
+
CurationMailMagazineFormDataBodyKindTemplate
|
|
170
|
+
]);
|
|
171
|
+
var PersonalizedMailMagazineFormData = import_zod.z.object({
|
|
172
|
+
utmCampaign: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
173
|
+
targetCsv: import_zod.z.union([PersonalizedMailMagazineTargetCsvFormData, import_zod.z.null()])
|
|
174
|
+
});
|
|
175
|
+
var CurationMailMagazineDetail = import_zod.z.union([
|
|
176
|
+
CurationMailMagazineDetailBodyKindTemplate,
|
|
177
|
+
CurationMailMagazineDetailBodyKindFreeFormat
|
|
178
|
+
]);
|
|
179
|
+
var CampaignStatus = import_zod.z.union([
|
|
180
|
+
import_zod.z.literal("draft"),
|
|
181
|
+
import_zod.z.literal("scheduled"),
|
|
182
|
+
import_zod.z.literal("delivering"),
|
|
183
|
+
import_zod.z.literal("delivered"),
|
|
184
|
+
import_zod.z.literal("deliveryFailed")
|
|
185
|
+
]);
|
|
186
|
+
var PersonalizedMailMagazineDetail = import_zod.z.object({
|
|
187
|
+
utmCampaign: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
188
|
+
target: import_zod.z.union([PersonalizedMailMagazineDetailTarget, import_zod.z.null()])
|
|
189
|
+
});
|
|
190
|
+
var CampaignKindDataCurationMailMagazineFormData = import_zod.z.object({
|
|
191
|
+
kind: import_zod.z.literal("curationMailMagazine"),
|
|
192
|
+
curationMailMagazine: CurationMailMagazineFormData
|
|
193
|
+
});
|
|
194
|
+
var CampaignBaseFormData = import_zod.z.object({
|
|
195
|
+
title: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
196
|
+
deliveryScheduledAt: import_zod.z.union([import_zod.z.string(), import_zod.z.null()])
|
|
197
|
+
});
|
|
198
|
+
var CampaignKindDataPersonalizedMailMagazineFormData = import_zod.z.object({
|
|
199
|
+
kind: import_zod.z.literal("personalizedMailMagazine"),
|
|
200
|
+
personalizedMailMagazine: PersonalizedMailMagazineFormData
|
|
201
|
+
});
|
|
202
|
+
var CampaignDetailKindDataCurationMailMagazine = import_zod.z.object({
|
|
203
|
+
kind: import_zod.z.literal("curationMailMagazine"),
|
|
204
|
+
curationMailMagazine: CurationMailMagazineDetail
|
|
205
|
+
});
|
|
206
|
+
var CampaignDetailBase = import_zod.z.object({
|
|
207
|
+
id: import_zod.z.number(),
|
|
208
|
+
status: CampaignStatus,
|
|
209
|
+
title: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
210
|
+
deliveryScheduledAt: import_zod.z.union([import_zod.z.string(), import_zod.z.null()])
|
|
211
|
+
});
|
|
212
|
+
var CampaignDetailKindDataPersonalizedMailMagazine = import_zod.z.object({
|
|
213
|
+
kind: import_zod.z.literal("personalizedMailMagazine"),
|
|
214
|
+
personalizedMailMagazine: PersonalizedMailMagazineDetail
|
|
215
|
+
});
|
|
216
|
+
var BodyKind = import_zod.z.union([
|
|
217
|
+
import_zod.z.literal("template"),
|
|
218
|
+
import_zod.z.literal("freeFormat")
|
|
219
|
+
]);
|
|
220
|
+
var CampaignBase = import_zod.z.object({
|
|
221
|
+
id: import_zod.z.number(),
|
|
222
|
+
title: import_zod.z.optional(import_zod.z.union([import_zod.z.string(), import_zod.z.null()])),
|
|
223
|
+
status: CampaignStatus,
|
|
224
|
+
deliveryAt: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]),
|
|
225
|
+
lastEditorName: import_zod.z.string(),
|
|
226
|
+
lastEditedAt: import_zod.z.string()
|
|
227
|
+
});
|
|
228
|
+
var CampaignWithCurationMailMagazineFormData = import_zod.z.intersection(
|
|
229
|
+
CampaignBaseFormData,
|
|
230
|
+
CampaignKindDataCurationMailMagazineFormData
|
|
231
|
+
);
|
|
232
|
+
var CampaignWithPersonalizedMailMagazineFormData = import_zod.z.intersection(
|
|
233
|
+
CampaignBaseFormData,
|
|
234
|
+
CampaignKindDataPersonalizedMailMagazineFormData
|
|
235
|
+
);
|
|
236
|
+
var CampaignDetailWithCurationMailMagazine = import_zod.z.intersection(
|
|
237
|
+
CampaignDetailBase,
|
|
238
|
+
CampaignDetailKindDataCurationMailMagazine
|
|
239
|
+
);
|
|
240
|
+
var CampaignDetailWithPersonalizedMailMagazine = import_zod.z.intersection(
|
|
241
|
+
CampaignDetailBase,
|
|
242
|
+
CampaignDetailKindDataPersonalizedMailMagazine
|
|
243
|
+
);
|
|
244
|
+
var CurationMailMagazineCampaign = import_zod.z.intersection(
|
|
245
|
+
CampaignBase,
|
|
246
|
+
import_zod.z.object({ kind: import_zod.z.literal("curationMailMagazine"), bodyKind: BodyKind })
|
|
247
|
+
);
|
|
248
|
+
var PersonalizedMailMagazineCampaign = import_zod.z.intersection(
|
|
249
|
+
CampaignBase,
|
|
250
|
+
import_zod.z.object({ kind: import_zod.z.literal("personalizedMailMagazine") })
|
|
251
|
+
);
|
|
252
|
+
var Segment = import_zod.z.object({
|
|
253
|
+
code: import_zod.z.string(),
|
|
254
|
+
label: import_zod.z.string(),
|
|
255
|
+
isActive: import_zod.z.boolean(),
|
|
256
|
+
displayOrder: import_zod.z.union([import_zod.z.number(), import_zod.z.null()]),
|
|
257
|
+
description: import_zod.z.union([import_zod.z.string(), import_zod.z.null()])
|
|
258
|
+
});
|
|
259
|
+
var ReadyforProject = import_zod.z.object({
|
|
260
|
+
projectId: import_zod.z.number(),
|
|
261
|
+
keyword: import_zod.z.string(),
|
|
262
|
+
title: import_zod.z.string(),
|
|
263
|
+
abstract: import_zod.z.string()
|
|
264
|
+
});
|
|
265
|
+
var CampaignFormData = import_zod.z.union([
|
|
266
|
+
CampaignWithPersonalizedMailMagazineFormData,
|
|
267
|
+
CampaignWithCurationMailMagazineFormData
|
|
268
|
+
]);
|
|
269
|
+
var CampaignDetail = import_zod.z.union([
|
|
270
|
+
CampaignDetailWithPersonalizedMailMagazine,
|
|
271
|
+
CampaignDetailWithCurationMailMagazine
|
|
272
|
+
]);
|
|
273
|
+
var CreateCampaignKindPersonalizedMailMagazineFormData = import_zod.z.object({
|
|
274
|
+
kind: import_zod.z.literal("personalizedMailMagazine")
|
|
275
|
+
});
|
|
276
|
+
var CreateCampaignKindCurationMailMagazineFormData = import_zod.z.object({
|
|
277
|
+
kind: import_zod.z.literal("curationMailMagazine"),
|
|
278
|
+
bodyKind: BodyKind
|
|
279
|
+
});
|
|
280
|
+
var Pagination = import_zod.z.object({
|
|
281
|
+
totalPages: import_zod.z.number(),
|
|
282
|
+
totalCount: import_zod.z.number(),
|
|
283
|
+
currentPerPage: import_zod.z.number(),
|
|
284
|
+
currentPage: import_zod.z.number(),
|
|
285
|
+
prevPage: import_zod.z.union([import_zod.z.number(), import_zod.z.null()]),
|
|
286
|
+
nextPage: import_zod.z.union([import_zod.z.number(), import_zod.z.null()]),
|
|
287
|
+
isFirstPage: import_zod.z.boolean(),
|
|
288
|
+
isLastPage: import_zod.z.boolean()
|
|
289
|
+
});
|
|
290
|
+
var Campaign = import_zod.z.union([
|
|
291
|
+
PersonalizedMailMagazineCampaign,
|
|
292
|
+
CurationMailMagazineCampaign
|
|
293
|
+
]);
|
|
294
|
+
var TargetFilterSegments = import_zod.z.object({
|
|
295
|
+
behaviorSegmentCodes: import_zod.z.array(import_zod.z.string()),
|
|
296
|
+
profileSegmentCodes: import_zod.z.array(import_zod.z.string())
|
|
297
|
+
});
|
|
298
|
+
var GetTargetUsersCountResponse = import_zod.z.object({ count: import_zod.z.number() });
|
|
299
|
+
var GetProfileSegmentsResponse = import_zod.z.object({
|
|
300
|
+
profileSegments: import_zod.z.array(Segment)
|
|
301
|
+
});
|
|
302
|
+
var GetBehaviorSegmentsResponse = import_zod.z.object({
|
|
303
|
+
behaviorSegments: import_zod.z.array(Segment)
|
|
304
|
+
});
|
|
305
|
+
var GetProjectsProjectIdOrKeywordResponse = import_zod.z.object({
|
|
306
|
+
project: ReadyforProject
|
|
307
|
+
});
|
|
308
|
+
var PostCampaignsCampaignIdImagesReqeustBody = import_zod.z.object({
|
|
309
|
+
image: import_zod.z.union([import_zod.z.any(), import_zod.z.any()])
|
|
310
|
+
});
|
|
311
|
+
var PostCampaignsCampaignIdPreviewDeliveryEmailRequestBody = import_zod.z.object({
|
|
312
|
+
emails: import_zod.z.array(import_zod.z.string())
|
|
313
|
+
});
|
|
314
|
+
var GetCampaignsCampaignIdPreviewResponse = import_zod.z.object({
|
|
315
|
+
content: import_zod.z.string()
|
|
316
|
+
});
|
|
317
|
+
var HttpErrorBadRequest = import_zod.z.object({ errors: import_zod.z.array(import_zod.z.string()) });
|
|
318
|
+
var PatchCampaignsCampaignIdRequestBody = import_zod.z.object({
|
|
319
|
+
formData: CampaignFormData
|
|
320
|
+
});
|
|
321
|
+
var CampaignsCampaignIdResponse = import_zod.z.object({
|
|
322
|
+
campaignDetail: CampaignDetail
|
|
323
|
+
});
|
|
324
|
+
var CampaignKind = import_zod.z.union([
|
|
325
|
+
import_zod.z.literal("curationMailMagazine"),
|
|
326
|
+
import_zod.z.literal("personalizedMailMagazine")
|
|
327
|
+
]);
|
|
328
|
+
var PostCampaignsRequestBody = import_zod.z.union([
|
|
329
|
+
CreateCampaignKindCurationMailMagazineFormData,
|
|
330
|
+
CreateCampaignKindPersonalizedMailMagazineFormData
|
|
331
|
+
]);
|
|
332
|
+
var PostCampaignsResponse = import_zod.z.object({ id: import_zod.z.number() });
|
|
333
|
+
var GetCampaignsResponse = import_zod.z.object({
|
|
334
|
+
campaigns: import_zod.z.array(Campaign),
|
|
335
|
+
pagination: Pagination
|
|
336
|
+
});
|
|
337
|
+
|
|
338
|
+
// src/fetch/campaigns.ts
|
|
339
|
+
var import_api_client_base = require("@readyfor/api-client-base");
|
|
340
|
+
|
|
341
|
+
// src/fetch/campaignsId.ts
|
|
342
|
+
var import_api_client_base2 = require("@readyfor/api-client-base");
|
|
343
|
+
|
|
344
|
+
// src/fetch/campaignsIdDeliveryJob.ts
|
|
345
|
+
var import_api_client_base3 = require("@readyfor/api-client-base");
|
|
346
|
+
|
|
347
|
+
// src/fetch/campaignsIdPreview.ts
|
|
348
|
+
var import_api_client_base4 = require("@readyfor/api-client-base");
|
|
349
|
+
|
|
350
|
+
// src/fetch/campaignsIdPreviewDeliveryEmail.ts
|
|
351
|
+
var import_api_client_base5 = require("@readyfor/api-client-base");
|
|
352
|
+
|
|
353
|
+
// src/fetch/campaignsIdImages.ts
|
|
354
|
+
var import_api_client_base6 = require("@readyfor/api-client-base");
|
|
355
|
+
|
|
356
|
+
// src/fetch/campaignsCampaignIdImagesId.ts
|
|
357
|
+
var import_api_client_base7 = require("@readyfor/api-client-base");
|
|
358
|
+
|
|
359
|
+
// src/fetch/projectsProjectIdOrKeyword.ts
|
|
360
|
+
var import_api_client_base8 = require("@readyfor/api-client-base");
|
|
361
|
+
|
|
362
|
+
// src/fetch/segmentsBehaviorSegments.ts
|
|
363
|
+
var import_api_client_base9 = require("@readyfor/api-client-base");
|
|
364
|
+
|
|
365
|
+
// src/fetch/segmentsProfileSegments.ts
|
|
366
|
+
var import_api_client_base10 = require("@readyfor/api-client-base");
|
|
367
|
+
var buildSegmentsProfileSegmentsGetFetcher = (requestInit) => (0, import_api_client_base10.createJsonFetcher)(GetProfileSegmentsResponse, { ...requestInit });
|
|
368
|
+
|
|
369
|
+
// src/fetch/segmentsTargetUsersCount.ts
|
|
370
|
+
var import_api_client_base11 = require("@readyfor/api-client-base");
|
|
371
|
+
|
|
372
|
+
// src/hooks/useSegmentsProfileSegments.ts
|
|
373
|
+
var segmentsProfileSegmentsGetFetcher = buildSegmentsProfileSegmentsGetFetcher();
|
|
374
|
+
var useSegmentsProfileSegments = (swrConfig = {}) => {
|
|
375
|
+
const key = (0, import_api_client_base12.__internal__requestUrl)("/api/segments/profile_segments");
|
|
376
|
+
const requestInit = (0, import_react.useRequestInit)();
|
|
377
|
+
const result = (0, import_swr.default)(
|
|
378
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
379
|
+
buildSegmentsProfileSegmentsGetFetcher(requestInit),
|
|
380
|
+
swrConfig
|
|
381
|
+
);
|
|
382
|
+
return { key, ...result };
|
|
383
|
+
};
|
|
384
|
+
var useSegmentsProfileSegmentsImmutable = (swrConfig = {}) => {
|
|
385
|
+
const key = (0, import_api_client_base12.__internal__requestUrl)("/api/segments/profile_segments");
|
|
386
|
+
const requestInit = (0, import_react.useRequestInit)();
|
|
387
|
+
const result = (0, import_immutable.default)(
|
|
388
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
389
|
+
buildSegmentsProfileSegmentsGetFetcher(requestInit),
|
|
390
|
+
swrConfig
|
|
391
|
+
);
|
|
392
|
+
return { key, ...result };
|
|
393
|
+
};
|
|
394
|
+
var useSegmentsProfileSegmentsInfinite = (getKey, swrConfig) => (0, import_infinite.default)(
|
|
395
|
+
getKey(() => (0, import_api_client_base12.__internal__requestUrl)("/api/segments/profile_segments")),
|
|
396
|
+
segmentsProfileSegmentsGetFetcher,
|
|
397
|
+
swrConfig
|
|
398
|
+
);
|
|
399
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
400
|
+
0 && (module.exports = {
|
|
401
|
+
useSegmentsProfileSegments,
|
|
402
|
+
useSegmentsProfileSegmentsImmutable,
|
|
403
|
+
useSegmentsProfileSegmentsInfinite
|
|
404
|
+
});
|
|
@@ -1,28 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import {
|
|
2
|
+
useSegmentsProfileSegments,
|
|
3
|
+
useSegmentsProfileSegmentsImmutable,
|
|
4
|
+
useSegmentsProfileSegmentsInfinite
|
|
5
|
+
} from "../chunk-MKV3OPBP.mjs";
|
|
6
|
+
import "../chunk-5XEJOYX6.mjs";
|
|
7
|
+
import "../chunk-6337UNDD.mjs";
|
|
8
|
+
import "../chunk-JVMIOVIM.mjs";
|
|
9
|
+
import "../chunk-24W5FWW7.mjs";
|
|
10
|
+
import "../chunk-THNPXV56.mjs";
|
|
11
|
+
import "../chunk-P4EIALGR.mjs";
|
|
12
|
+
import "../chunk-NA23PDIV.mjs";
|
|
13
|
+
import "../chunk-RWX2GYF3.mjs";
|
|
14
|
+
import "../chunk-MCYE5BYS.mjs";
|
|
15
|
+
import "../chunk-CXALAOMT.mjs";
|
|
16
|
+
import "../chunk-LMM3AGZ6.mjs";
|
|
17
|
+
import "../chunk-XNOKTUME.mjs";
|
|
18
|
+
import "../chunk-GVEIZAMY.mjs";
|
|
19
|
+
export {
|
|
20
|
+
useSegmentsProfileSegments,
|
|
21
|
+
useSegmentsProfileSegmentsImmutable,
|
|
22
|
+
useSegmentsProfileSegmentsInfinite
|
|
17
23
|
};
|
|
18
|
-
const useSegmentsProfileSegmentsImmutable = (swrConfig = {}) => {
|
|
19
|
-
const key = __internal__requestUrl("/api/segments/profile_segments");
|
|
20
|
-
const requestInit = useRequestInit();
|
|
21
|
-
return {
|
|
22
|
-
key,
|
|
23
|
-
...useSWRImmutable(swrConfig?.shouldNotFetch ? null : key, buildSegmentsProfileSegmentsGetFetcher(requestInit), swrConfig)
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
const useSegmentsProfileSegmentsInfinite = (getKey, swrConfig) => useSWRInfinite(getKey(() => __internal__requestUrl("/api/segments/profile_segments")), segmentsProfileSegmentsGetFetcher, swrConfig);
|
|
27
|
-
//#endregion
|
|
28
|
-
export { useSegmentsProfileSegments, useSegmentsProfileSegmentsImmutable, useSegmentsProfileSegmentsInfinite };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as swr_infinite from 'swr/infinite';
|
|
2
|
+
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import * as swr__internal from 'swr/_internal';
|
|
4
|
+
import * as swr from 'swr';
|
|
5
|
+
import { Arguments } from 'swr';
|
|
6
|
+
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
|
+
import { SegmentsTargetUsersCountGetQuery, SegmentsTargetUsersCountGetResponse } from '../fetch/segmentsTargetUsersCount.mjs';
|
|
8
|
+
import '../schemaType.mjs';
|
|
9
|
+
import '@readyfor/api-client-base';
|
|
10
|
+
|
|
11
|
+
declare const useSegmentsTargetUsersCount: (query: SegmentsTargetUsersCountGetQuery, swrConfig?: Configuration<SegmentsTargetUsersCountGetResponse>) => {
|
|
12
|
+
data: {
|
|
13
|
+
count: number;
|
|
14
|
+
} | undefined;
|
|
15
|
+
error: any;
|
|
16
|
+
mutate: swr.KeyedMutator<{
|
|
17
|
+
count: number;
|
|
18
|
+
}>;
|
|
19
|
+
isValidating: boolean;
|
|
20
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
21
|
+
key: string;
|
|
22
|
+
};
|
|
23
|
+
declare const useSegmentsTargetUsersCountImmutable: (query: SegmentsTargetUsersCountGetQuery, swrConfig?: Configuration<SegmentsTargetUsersCountGetResponse>) => {
|
|
24
|
+
data: {
|
|
25
|
+
count: number;
|
|
26
|
+
} | undefined;
|
|
27
|
+
error: any;
|
|
28
|
+
mutate: swr.KeyedMutator<{
|
|
29
|
+
count: number;
|
|
30
|
+
}>;
|
|
31
|
+
isValidating: boolean;
|
|
32
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
33
|
+
key: string;
|
|
34
|
+
};
|
|
35
|
+
declare const useSegmentsTargetUsersCountInfinite: <Args extends Arguments>(getKey: (keyBuilder: (query: SegmentsTargetUsersCountGetQuery) => string) => SWRInfiniteKeyLoader<SegmentsTargetUsersCountGetResponse, Args>, swrConfig?: SWRInfiniteConfiguration<SegmentsTargetUsersCountGetResponse>) => swr_infinite.SWRInfiniteResponse<{
|
|
36
|
+
count: number;
|
|
37
|
+
}, any>;
|
|
38
|
+
|
|
39
|
+
export { useSegmentsTargetUsersCount, useSegmentsTargetUsersCountImmutable, useSegmentsTargetUsersCountInfinite };
|