@readyfor/api-client-pigeon 0.207.1 → 0.207.2-pr974.caa0ee1
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/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +6 -6
- package/dist/hooks/useCampaigns.d.mts +77 -9
- package/dist/hooks/useCampaigns.d.ts +77 -9
- package/dist/hooks/useCampaigns.mjs +1 -1
- package/dist/hooks/useCampaignsId.d.mts +197 -5
- package/dist/hooks/useCampaignsId.d.ts +197 -5
- package/dist/hooks/useCampaignsId.mjs +1 -1
- package/dist/hooks/useCampaignsIdPreview.mjs +1 -1
- package/dist/hooks/useProjectsProjectIdOrKeyword.d.mts +25 -5
- package/dist/hooks/useProjectsProjectIdOrKeyword.d.ts +25 -5
- package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +1 -1
- package/dist/hooks/useSegmentsBehaviorSegments.d.mts +29 -5
- package/dist/hooks/useSegmentsBehaviorSegments.d.ts +29 -5
- package/dist/hooks/useSegmentsBehaviorSegments.mjs +1 -1
- package/dist/hooks/useSegmentsProfileSegments.d.mts +29 -5
- package/dist/hooks/useSegmentsProfileSegments.d.ts +29 -5
- package/dist/hooks/useSegmentsProfileSegments.mjs +1 -1
- package/dist/hooks/useSegmentsTargetUsersCount.mjs +1 -1
- package/dist/index.mjs +4 -4
- package/package.json +11 -12
package/dist/hooks/index.d.mts
CHANGED
|
@@ -6,8 +6,8 @@ export { useSegmentsBehaviorSegments, useSegmentsBehaviorSegmentsImmutable, useS
|
|
|
6
6
|
export { useSegmentsProfileSegments, useSegmentsProfileSegmentsImmutable, useSegmentsProfileSegmentsInfinite } from './useSegmentsProfileSegments.mjs';
|
|
7
7
|
export { useSegmentsTargetUsersCount, useSegmentsTargetUsersCountImmutable, useSegmentsTargetUsersCountInfinite } from './useSegmentsTargetUsersCount.mjs';
|
|
8
8
|
import 'swr/infinite';
|
|
9
|
-
import 'swr';
|
|
10
9
|
import '../schemaType.mjs';
|
|
10
|
+
import 'swr';
|
|
11
11
|
import '@readyfor/api-client-base/react';
|
|
12
12
|
import '../fetch/campaigns.mjs';
|
|
13
13
|
import '@readyfor/api-client-base';
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ export { useSegmentsBehaviorSegments, useSegmentsBehaviorSegmentsImmutable, useS
|
|
|
6
6
|
export { useSegmentsProfileSegments, useSegmentsProfileSegmentsImmutable, useSegmentsProfileSegmentsInfinite } from './useSegmentsProfileSegments.js';
|
|
7
7
|
export { useSegmentsTargetUsersCount, useSegmentsTargetUsersCountImmutable, useSegmentsTargetUsersCountInfinite } from './useSegmentsTargetUsersCount.js';
|
|
8
8
|
import 'swr/infinite';
|
|
9
|
-
import 'swr';
|
|
10
9
|
import '../schemaType.js';
|
|
10
|
+
import 'swr';
|
|
11
11
|
import '@readyfor/api-client-base/react';
|
|
12
12
|
import '../fetch/campaigns.js';
|
|
13
13
|
import '@readyfor/api-client-base';
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useProjectsProjectIdOrKeyword,
|
|
3
|
-
useProjectsProjectIdOrKeywordImmutable,
|
|
4
|
-
useProjectsProjectIdOrKeywordInfinite
|
|
5
|
-
} from "../chunk-7EJYWAM4.mjs";
|
|
6
1
|
import {
|
|
7
2
|
useSegmentsBehaviorSegments,
|
|
8
3
|
useSegmentsBehaviorSegmentsImmutable,
|
|
@@ -33,6 +28,11 @@ import {
|
|
|
33
28
|
useCampaignsIdPreviewImmutable,
|
|
34
29
|
useCampaignsIdPreviewInfinite
|
|
35
30
|
} from "../chunk-FP5RUB46.mjs";
|
|
31
|
+
import {
|
|
32
|
+
useProjectsProjectIdOrKeyword,
|
|
33
|
+
useProjectsProjectIdOrKeywordImmutable,
|
|
34
|
+
useProjectsProjectIdOrKeywordInfinite
|
|
35
|
+
} from "../chunk-7EJYWAM4.mjs";
|
|
36
36
|
import "../chunk-S7JMIMW4.mjs";
|
|
37
37
|
import "../chunk-V2EU732S.mjs";
|
|
38
38
|
import "../chunk-Z6OJIRKU.mjs";
|
|
@@ -42,8 +42,8 @@ import "../chunk-IPPG4HQB.mjs";
|
|
|
42
42
|
import "../chunk-FOCILVNV.mjs";
|
|
43
43
|
import "../chunk-YV4XRZY2.mjs";
|
|
44
44
|
import "../chunk-MCXNTHWW.mjs";
|
|
45
|
-
import "../chunk-HQKSU4DI.mjs";
|
|
46
45
|
import "../chunk-KBTZNIQJ.mjs";
|
|
46
|
+
import "../chunk-HQKSU4DI.mjs";
|
|
47
47
|
export {
|
|
48
48
|
useCampaigns,
|
|
49
49
|
useCampaignsId,
|
|
@@ -1,21 +1,55 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.mjs';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.mjs';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { CampaignsGetQuery, CampaignsGetResponse } from '../fetch/campaigns.mjs';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useCampaigns: (query: CampaignsGetQuery, swrConfig?: Configuration<CampaignsGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
campaigns:
|
|
13
|
-
|
|
12
|
+
campaigns: {
|
|
13
|
+
kind: "curationMailMagazine" | "personalizedMailMagazine";
|
|
14
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
15
|
+
id: number;
|
|
16
|
+
deliveryAt: string | null;
|
|
17
|
+
lastEditorName: string;
|
|
18
|
+
lastEditedAt: string;
|
|
19
|
+
title?: string | null | undefined;
|
|
20
|
+
}[];
|
|
21
|
+
pagination: {
|
|
22
|
+
totalPages: number;
|
|
23
|
+
totalCount: number;
|
|
24
|
+
currentPerPage: number;
|
|
25
|
+
currentPage: number;
|
|
26
|
+
prevPage: number | null;
|
|
27
|
+
nextPage: number | null;
|
|
28
|
+
isFirstPage: boolean;
|
|
29
|
+
isLastPage: boolean;
|
|
30
|
+
};
|
|
14
31
|
} | undefined;
|
|
15
32
|
error: any;
|
|
16
33
|
mutate: swr.KeyedMutator<{
|
|
17
|
-
campaigns:
|
|
18
|
-
|
|
34
|
+
campaigns: {
|
|
35
|
+
kind: "curationMailMagazine" | "personalizedMailMagazine";
|
|
36
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
37
|
+
id: number;
|
|
38
|
+
deliveryAt: string | null;
|
|
39
|
+
lastEditorName: string;
|
|
40
|
+
lastEditedAt: string;
|
|
41
|
+
title?: string | null | undefined;
|
|
42
|
+
}[];
|
|
43
|
+
pagination: {
|
|
44
|
+
totalPages: number;
|
|
45
|
+
totalCount: number;
|
|
46
|
+
currentPerPage: number;
|
|
47
|
+
currentPage: number;
|
|
48
|
+
prevPage: number | null;
|
|
49
|
+
nextPage: number | null;
|
|
50
|
+
isFirstPage: boolean;
|
|
51
|
+
isLastPage: boolean;
|
|
52
|
+
};
|
|
19
53
|
}>;
|
|
20
54
|
isValidating: boolean;
|
|
21
55
|
isLoading: boolean;
|
|
@@ -23,13 +57,47 @@ declare const useCampaigns: (query: CampaignsGetQuery, swrConfig?: Configuration
|
|
|
23
57
|
};
|
|
24
58
|
declare const useCampaignsImmutable: (query: CampaignsGetQuery, swrConfig?: Configuration<CampaignsGetResponse>) => {
|
|
25
59
|
data: {
|
|
26
|
-
campaigns:
|
|
27
|
-
|
|
60
|
+
campaigns: {
|
|
61
|
+
kind: "curationMailMagazine" | "personalizedMailMagazine";
|
|
62
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
63
|
+
id: number;
|
|
64
|
+
deliveryAt: string | null;
|
|
65
|
+
lastEditorName: string;
|
|
66
|
+
lastEditedAt: string;
|
|
67
|
+
title?: string | null | undefined;
|
|
68
|
+
}[];
|
|
69
|
+
pagination: {
|
|
70
|
+
totalPages: number;
|
|
71
|
+
totalCount: number;
|
|
72
|
+
currentPerPage: number;
|
|
73
|
+
currentPage: number;
|
|
74
|
+
prevPage: number | null;
|
|
75
|
+
nextPage: number | null;
|
|
76
|
+
isFirstPage: boolean;
|
|
77
|
+
isLastPage: boolean;
|
|
78
|
+
};
|
|
28
79
|
} | undefined;
|
|
29
80
|
error: any;
|
|
30
81
|
mutate: swr.KeyedMutator<{
|
|
31
|
-
campaigns:
|
|
32
|
-
|
|
82
|
+
campaigns: {
|
|
83
|
+
kind: "curationMailMagazine" | "personalizedMailMagazine";
|
|
84
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
85
|
+
id: number;
|
|
86
|
+
deliveryAt: string | null;
|
|
87
|
+
lastEditorName: string;
|
|
88
|
+
lastEditedAt: string;
|
|
89
|
+
title?: string | null | undefined;
|
|
90
|
+
}[];
|
|
91
|
+
pagination: {
|
|
92
|
+
totalPages: number;
|
|
93
|
+
totalCount: number;
|
|
94
|
+
currentPerPage: number;
|
|
95
|
+
currentPage: number;
|
|
96
|
+
prevPage: number | null;
|
|
97
|
+
nextPage: number | null;
|
|
98
|
+
isFirstPage: boolean;
|
|
99
|
+
isLastPage: boolean;
|
|
100
|
+
};
|
|
33
101
|
}>;
|
|
34
102
|
isValidating: boolean;
|
|
35
103
|
isLoading: boolean;
|
|
@@ -1,21 +1,55 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.js';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.js';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { CampaignsGetQuery, CampaignsGetResponse } from '../fetch/campaigns.js';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useCampaigns: (query: CampaignsGetQuery, swrConfig?: Configuration<CampaignsGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
campaigns:
|
|
13
|
-
|
|
12
|
+
campaigns: {
|
|
13
|
+
kind: "curationMailMagazine" | "personalizedMailMagazine";
|
|
14
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
15
|
+
id: number;
|
|
16
|
+
deliveryAt: string | null;
|
|
17
|
+
lastEditorName: string;
|
|
18
|
+
lastEditedAt: string;
|
|
19
|
+
title?: string | null | undefined;
|
|
20
|
+
}[];
|
|
21
|
+
pagination: {
|
|
22
|
+
totalPages: number;
|
|
23
|
+
totalCount: number;
|
|
24
|
+
currentPerPage: number;
|
|
25
|
+
currentPage: number;
|
|
26
|
+
prevPage: number | null;
|
|
27
|
+
nextPage: number | null;
|
|
28
|
+
isFirstPage: boolean;
|
|
29
|
+
isLastPage: boolean;
|
|
30
|
+
};
|
|
14
31
|
} | undefined;
|
|
15
32
|
error: any;
|
|
16
33
|
mutate: swr.KeyedMutator<{
|
|
17
|
-
campaigns:
|
|
18
|
-
|
|
34
|
+
campaigns: {
|
|
35
|
+
kind: "curationMailMagazine" | "personalizedMailMagazine";
|
|
36
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
37
|
+
id: number;
|
|
38
|
+
deliveryAt: string | null;
|
|
39
|
+
lastEditorName: string;
|
|
40
|
+
lastEditedAt: string;
|
|
41
|
+
title?: string | null | undefined;
|
|
42
|
+
}[];
|
|
43
|
+
pagination: {
|
|
44
|
+
totalPages: number;
|
|
45
|
+
totalCount: number;
|
|
46
|
+
currentPerPage: number;
|
|
47
|
+
currentPage: number;
|
|
48
|
+
prevPage: number | null;
|
|
49
|
+
nextPage: number | null;
|
|
50
|
+
isFirstPage: boolean;
|
|
51
|
+
isLastPage: boolean;
|
|
52
|
+
};
|
|
19
53
|
}>;
|
|
20
54
|
isValidating: boolean;
|
|
21
55
|
isLoading: boolean;
|
|
@@ -23,13 +57,47 @@ declare const useCampaigns: (query: CampaignsGetQuery, swrConfig?: Configuration
|
|
|
23
57
|
};
|
|
24
58
|
declare const useCampaignsImmutable: (query: CampaignsGetQuery, swrConfig?: Configuration<CampaignsGetResponse>) => {
|
|
25
59
|
data: {
|
|
26
|
-
campaigns:
|
|
27
|
-
|
|
60
|
+
campaigns: {
|
|
61
|
+
kind: "curationMailMagazine" | "personalizedMailMagazine";
|
|
62
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
63
|
+
id: number;
|
|
64
|
+
deliveryAt: string | null;
|
|
65
|
+
lastEditorName: string;
|
|
66
|
+
lastEditedAt: string;
|
|
67
|
+
title?: string | null | undefined;
|
|
68
|
+
}[];
|
|
69
|
+
pagination: {
|
|
70
|
+
totalPages: number;
|
|
71
|
+
totalCount: number;
|
|
72
|
+
currentPerPage: number;
|
|
73
|
+
currentPage: number;
|
|
74
|
+
prevPage: number | null;
|
|
75
|
+
nextPage: number | null;
|
|
76
|
+
isFirstPage: boolean;
|
|
77
|
+
isLastPage: boolean;
|
|
78
|
+
};
|
|
28
79
|
} | undefined;
|
|
29
80
|
error: any;
|
|
30
81
|
mutate: swr.KeyedMutator<{
|
|
31
|
-
campaigns:
|
|
32
|
-
|
|
82
|
+
campaigns: {
|
|
83
|
+
kind: "curationMailMagazine" | "personalizedMailMagazine";
|
|
84
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
85
|
+
id: number;
|
|
86
|
+
deliveryAt: string | null;
|
|
87
|
+
lastEditorName: string;
|
|
88
|
+
lastEditedAt: string;
|
|
89
|
+
title?: string | null | undefined;
|
|
90
|
+
}[];
|
|
91
|
+
pagination: {
|
|
92
|
+
totalPages: number;
|
|
93
|
+
totalCount: number;
|
|
94
|
+
currentPerPage: number;
|
|
95
|
+
currentPage: number;
|
|
96
|
+
prevPage: number | null;
|
|
97
|
+
nextPage: number | null;
|
|
98
|
+
isFirstPage: boolean;
|
|
99
|
+
isLastPage: boolean;
|
|
100
|
+
};
|
|
33
101
|
}>;
|
|
34
102
|
isValidating: boolean;
|
|
35
103
|
isLoading: boolean;
|
|
@@ -12,8 +12,8 @@ import "../chunk-IPPG4HQB.mjs";
|
|
|
12
12
|
import "../chunk-FOCILVNV.mjs";
|
|
13
13
|
import "../chunk-YV4XRZY2.mjs";
|
|
14
14
|
import "../chunk-MCXNTHWW.mjs";
|
|
15
|
-
import "../chunk-HQKSU4DI.mjs";
|
|
16
15
|
import "../chunk-KBTZNIQJ.mjs";
|
|
16
|
+
import "../chunk-HQKSU4DI.mjs";
|
|
17
17
|
export {
|
|
18
18
|
useCampaigns,
|
|
19
19
|
useCampaignsImmutable,
|
|
@@ -1,19 +1,115 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.mjs';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.mjs';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { CampaignsIdGetPath, CampaignsIdGetResponse } from '../fetch/campaignsId.mjs';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useCampaignsId: (path: CampaignsIdGetPath, swrConfig?: Configuration<CampaignsIdGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
campaignDetail:
|
|
12
|
+
campaignDetail: {
|
|
13
|
+
curationMailMagazine: {
|
|
14
|
+
utmCampaign: string | null;
|
|
15
|
+
subject: string | null;
|
|
16
|
+
preHeaderText: string | null;
|
|
17
|
+
targetFilters: {
|
|
18
|
+
id: number;
|
|
19
|
+
behaviorSegmentCodes: string[];
|
|
20
|
+
profileSegmentCodes: string[];
|
|
21
|
+
}[];
|
|
22
|
+
projects: {
|
|
23
|
+
id: number;
|
|
24
|
+
slotNumber: number;
|
|
25
|
+
readyforProjectId: number;
|
|
26
|
+
isPaidSlot: boolean;
|
|
27
|
+
title: string | null;
|
|
28
|
+
description: string | null;
|
|
29
|
+
tag: string | null;
|
|
30
|
+
tagUrl: string | null;
|
|
31
|
+
thumbnailUrl: string | null;
|
|
32
|
+
}[];
|
|
33
|
+
banners: {
|
|
34
|
+
id: number;
|
|
35
|
+
slotNumber: number;
|
|
36
|
+
url: string | null;
|
|
37
|
+
imageUrl: string | null;
|
|
38
|
+
}[];
|
|
39
|
+
deliveredUsersCount: number | null;
|
|
40
|
+
};
|
|
41
|
+
kind: "curationMailMagazine";
|
|
42
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
43
|
+
id: number;
|
|
44
|
+
title: string | null;
|
|
45
|
+
deliveryScheduledAt: string | null;
|
|
46
|
+
} | {
|
|
47
|
+
personalizedMailMagazine: {
|
|
48
|
+
utmCampaign: string | null;
|
|
49
|
+
target: {
|
|
50
|
+
csvFileName: string;
|
|
51
|
+
targetUsersCount: number;
|
|
52
|
+
excludedUsersCount: number;
|
|
53
|
+
} | null;
|
|
54
|
+
};
|
|
55
|
+
kind: "personalizedMailMagazine";
|
|
56
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
57
|
+
id: number;
|
|
58
|
+
title: string | null;
|
|
59
|
+
deliveryScheduledAt: string | null;
|
|
60
|
+
};
|
|
13
61
|
} | undefined;
|
|
14
62
|
error: any;
|
|
15
63
|
mutate: swr.KeyedMutator<{
|
|
16
|
-
campaignDetail:
|
|
64
|
+
campaignDetail: {
|
|
65
|
+
curationMailMagazine: {
|
|
66
|
+
utmCampaign: string | null;
|
|
67
|
+
subject: string | null;
|
|
68
|
+
preHeaderText: string | null;
|
|
69
|
+
targetFilters: {
|
|
70
|
+
id: number;
|
|
71
|
+
behaviorSegmentCodes: string[];
|
|
72
|
+
profileSegmentCodes: string[];
|
|
73
|
+
}[];
|
|
74
|
+
projects: {
|
|
75
|
+
id: number;
|
|
76
|
+
slotNumber: number;
|
|
77
|
+
readyforProjectId: number;
|
|
78
|
+
isPaidSlot: boolean;
|
|
79
|
+
title: string | null;
|
|
80
|
+
description: string | null;
|
|
81
|
+
tag: string | null;
|
|
82
|
+
tagUrl: string | null;
|
|
83
|
+
thumbnailUrl: string | null;
|
|
84
|
+
}[];
|
|
85
|
+
banners: {
|
|
86
|
+
id: number;
|
|
87
|
+
slotNumber: number;
|
|
88
|
+
url: string | null;
|
|
89
|
+
imageUrl: string | null;
|
|
90
|
+
}[];
|
|
91
|
+
deliveredUsersCount: number | null;
|
|
92
|
+
};
|
|
93
|
+
kind: "curationMailMagazine";
|
|
94
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
95
|
+
id: number;
|
|
96
|
+
title: string | null;
|
|
97
|
+
deliveryScheduledAt: string | null;
|
|
98
|
+
} | {
|
|
99
|
+
personalizedMailMagazine: {
|
|
100
|
+
utmCampaign: string | null;
|
|
101
|
+
target: {
|
|
102
|
+
csvFileName: string;
|
|
103
|
+
targetUsersCount: number;
|
|
104
|
+
excludedUsersCount: number;
|
|
105
|
+
} | null;
|
|
106
|
+
};
|
|
107
|
+
kind: "personalizedMailMagazine";
|
|
108
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
109
|
+
id: number;
|
|
110
|
+
title: string | null;
|
|
111
|
+
deliveryScheduledAt: string | null;
|
|
112
|
+
};
|
|
17
113
|
}>;
|
|
18
114
|
isValidating: boolean;
|
|
19
115
|
isLoading: boolean;
|
|
@@ -21,11 +117,107 @@ declare const useCampaignsId: (path: CampaignsIdGetPath, swrConfig?: Configurati
|
|
|
21
117
|
};
|
|
22
118
|
declare const useCampaignsIdImmutable: (path: CampaignsIdGetPath, swrConfig?: Configuration<CampaignsIdGetResponse>) => {
|
|
23
119
|
data: {
|
|
24
|
-
campaignDetail:
|
|
120
|
+
campaignDetail: {
|
|
121
|
+
curationMailMagazine: {
|
|
122
|
+
utmCampaign: string | null;
|
|
123
|
+
subject: string | null;
|
|
124
|
+
preHeaderText: string | null;
|
|
125
|
+
targetFilters: {
|
|
126
|
+
id: number;
|
|
127
|
+
behaviorSegmentCodes: string[];
|
|
128
|
+
profileSegmentCodes: string[];
|
|
129
|
+
}[];
|
|
130
|
+
projects: {
|
|
131
|
+
id: number;
|
|
132
|
+
slotNumber: number;
|
|
133
|
+
readyforProjectId: number;
|
|
134
|
+
isPaidSlot: boolean;
|
|
135
|
+
title: string | null;
|
|
136
|
+
description: string | null;
|
|
137
|
+
tag: string | null;
|
|
138
|
+
tagUrl: string | null;
|
|
139
|
+
thumbnailUrl: string | null;
|
|
140
|
+
}[];
|
|
141
|
+
banners: {
|
|
142
|
+
id: number;
|
|
143
|
+
slotNumber: number;
|
|
144
|
+
url: string | null;
|
|
145
|
+
imageUrl: string | null;
|
|
146
|
+
}[];
|
|
147
|
+
deliveredUsersCount: number | null;
|
|
148
|
+
};
|
|
149
|
+
kind: "curationMailMagazine";
|
|
150
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
151
|
+
id: number;
|
|
152
|
+
title: string | null;
|
|
153
|
+
deliveryScheduledAt: string | null;
|
|
154
|
+
} | {
|
|
155
|
+
personalizedMailMagazine: {
|
|
156
|
+
utmCampaign: string | null;
|
|
157
|
+
target: {
|
|
158
|
+
csvFileName: string;
|
|
159
|
+
targetUsersCount: number;
|
|
160
|
+
excludedUsersCount: number;
|
|
161
|
+
} | null;
|
|
162
|
+
};
|
|
163
|
+
kind: "personalizedMailMagazine";
|
|
164
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
165
|
+
id: number;
|
|
166
|
+
title: string | null;
|
|
167
|
+
deliveryScheduledAt: string | null;
|
|
168
|
+
};
|
|
25
169
|
} | undefined;
|
|
26
170
|
error: any;
|
|
27
171
|
mutate: swr.KeyedMutator<{
|
|
28
|
-
campaignDetail:
|
|
172
|
+
campaignDetail: {
|
|
173
|
+
curationMailMagazine: {
|
|
174
|
+
utmCampaign: string | null;
|
|
175
|
+
subject: string | null;
|
|
176
|
+
preHeaderText: string | null;
|
|
177
|
+
targetFilters: {
|
|
178
|
+
id: number;
|
|
179
|
+
behaviorSegmentCodes: string[];
|
|
180
|
+
profileSegmentCodes: string[];
|
|
181
|
+
}[];
|
|
182
|
+
projects: {
|
|
183
|
+
id: number;
|
|
184
|
+
slotNumber: number;
|
|
185
|
+
readyforProjectId: number;
|
|
186
|
+
isPaidSlot: boolean;
|
|
187
|
+
title: string | null;
|
|
188
|
+
description: string | null;
|
|
189
|
+
tag: string | null;
|
|
190
|
+
tagUrl: string | null;
|
|
191
|
+
thumbnailUrl: string | null;
|
|
192
|
+
}[];
|
|
193
|
+
banners: {
|
|
194
|
+
id: number;
|
|
195
|
+
slotNumber: number;
|
|
196
|
+
url: string | null;
|
|
197
|
+
imageUrl: string | null;
|
|
198
|
+
}[];
|
|
199
|
+
deliveredUsersCount: number | null;
|
|
200
|
+
};
|
|
201
|
+
kind: "curationMailMagazine";
|
|
202
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
203
|
+
id: number;
|
|
204
|
+
title: string | null;
|
|
205
|
+
deliveryScheduledAt: string | null;
|
|
206
|
+
} | {
|
|
207
|
+
personalizedMailMagazine: {
|
|
208
|
+
utmCampaign: string | null;
|
|
209
|
+
target: {
|
|
210
|
+
csvFileName: string;
|
|
211
|
+
targetUsersCount: number;
|
|
212
|
+
excludedUsersCount: number;
|
|
213
|
+
} | null;
|
|
214
|
+
};
|
|
215
|
+
kind: "personalizedMailMagazine";
|
|
216
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
217
|
+
id: number;
|
|
218
|
+
title: string | null;
|
|
219
|
+
deliveryScheduledAt: string | null;
|
|
220
|
+
};
|
|
29
221
|
}>;
|
|
30
222
|
isValidating: boolean;
|
|
31
223
|
isLoading: boolean;
|
|
@@ -1,19 +1,115 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.js';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.js';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { CampaignsIdGetPath, CampaignsIdGetResponse } from '../fetch/campaignsId.js';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useCampaignsId: (path: CampaignsIdGetPath, swrConfig?: Configuration<CampaignsIdGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
campaignDetail:
|
|
12
|
+
campaignDetail: {
|
|
13
|
+
curationMailMagazine: {
|
|
14
|
+
utmCampaign: string | null;
|
|
15
|
+
subject: string | null;
|
|
16
|
+
preHeaderText: string | null;
|
|
17
|
+
targetFilters: {
|
|
18
|
+
id: number;
|
|
19
|
+
behaviorSegmentCodes: string[];
|
|
20
|
+
profileSegmentCodes: string[];
|
|
21
|
+
}[];
|
|
22
|
+
projects: {
|
|
23
|
+
id: number;
|
|
24
|
+
slotNumber: number;
|
|
25
|
+
readyforProjectId: number;
|
|
26
|
+
isPaidSlot: boolean;
|
|
27
|
+
title: string | null;
|
|
28
|
+
description: string | null;
|
|
29
|
+
tag: string | null;
|
|
30
|
+
tagUrl: string | null;
|
|
31
|
+
thumbnailUrl: string | null;
|
|
32
|
+
}[];
|
|
33
|
+
banners: {
|
|
34
|
+
id: number;
|
|
35
|
+
slotNumber: number;
|
|
36
|
+
url: string | null;
|
|
37
|
+
imageUrl: string | null;
|
|
38
|
+
}[];
|
|
39
|
+
deliveredUsersCount: number | null;
|
|
40
|
+
};
|
|
41
|
+
kind: "curationMailMagazine";
|
|
42
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
43
|
+
id: number;
|
|
44
|
+
title: string | null;
|
|
45
|
+
deliveryScheduledAt: string | null;
|
|
46
|
+
} | {
|
|
47
|
+
personalizedMailMagazine: {
|
|
48
|
+
utmCampaign: string | null;
|
|
49
|
+
target: {
|
|
50
|
+
csvFileName: string;
|
|
51
|
+
targetUsersCount: number;
|
|
52
|
+
excludedUsersCount: number;
|
|
53
|
+
} | null;
|
|
54
|
+
};
|
|
55
|
+
kind: "personalizedMailMagazine";
|
|
56
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
57
|
+
id: number;
|
|
58
|
+
title: string | null;
|
|
59
|
+
deliveryScheduledAt: string | null;
|
|
60
|
+
};
|
|
13
61
|
} | undefined;
|
|
14
62
|
error: any;
|
|
15
63
|
mutate: swr.KeyedMutator<{
|
|
16
|
-
campaignDetail:
|
|
64
|
+
campaignDetail: {
|
|
65
|
+
curationMailMagazine: {
|
|
66
|
+
utmCampaign: string | null;
|
|
67
|
+
subject: string | null;
|
|
68
|
+
preHeaderText: string | null;
|
|
69
|
+
targetFilters: {
|
|
70
|
+
id: number;
|
|
71
|
+
behaviorSegmentCodes: string[];
|
|
72
|
+
profileSegmentCodes: string[];
|
|
73
|
+
}[];
|
|
74
|
+
projects: {
|
|
75
|
+
id: number;
|
|
76
|
+
slotNumber: number;
|
|
77
|
+
readyforProjectId: number;
|
|
78
|
+
isPaidSlot: boolean;
|
|
79
|
+
title: string | null;
|
|
80
|
+
description: string | null;
|
|
81
|
+
tag: string | null;
|
|
82
|
+
tagUrl: string | null;
|
|
83
|
+
thumbnailUrl: string | null;
|
|
84
|
+
}[];
|
|
85
|
+
banners: {
|
|
86
|
+
id: number;
|
|
87
|
+
slotNumber: number;
|
|
88
|
+
url: string | null;
|
|
89
|
+
imageUrl: string | null;
|
|
90
|
+
}[];
|
|
91
|
+
deliveredUsersCount: number | null;
|
|
92
|
+
};
|
|
93
|
+
kind: "curationMailMagazine";
|
|
94
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
95
|
+
id: number;
|
|
96
|
+
title: string | null;
|
|
97
|
+
deliveryScheduledAt: string | null;
|
|
98
|
+
} | {
|
|
99
|
+
personalizedMailMagazine: {
|
|
100
|
+
utmCampaign: string | null;
|
|
101
|
+
target: {
|
|
102
|
+
csvFileName: string;
|
|
103
|
+
targetUsersCount: number;
|
|
104
|
+
excludedUsersCount: number;
|
|
105
|
+
} | null;
|
|
106
|
+
};
|
|
107
|
+
kind: "personalizedMailMagazine";
|
|
108
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
109
|
+
id: number;
|
|
110
|
+
title: string | null;
|
|
111
|
+
deliveryScheduledAt: string | null;
|
|
112
|
+
};
|
|
17
113
|
}>;
|
|
18
114
|
isValidating: boolean;
|
|
19
115
|
isLoading: boolean;
|
|
@@ -21,11 +117,107 @@ declare const useCampaignsId: (path: CampaignsIdGetPath, swrConfig?: Configurati
|
|
|
21
117
|
};
|
|
22
118
|
declare const useCampaignsIdImmutable: (path: CampaignsIdGetPath, swrConfig?: Configuration<CampaignsIdGetResponse>) => {
|
|
23
119
|
data: {
|
|
24
|
-
campaignDetail:
|
|
120
|
+
campaignDetail: {
|
|
121
|
+
curationMailMagazine: {
|
|
122
|
+
utmCampaign: string | null;
|
|
123
|
+
subject: string | null;
|
|
124
|
+
preHeaderText: string | null;
|
|
125
|
+
targetFilters: {
|
|
126
|
+
id: number;
|
|
127
|
+
behaviorSegmentCodes: string[];
|
|
128
|
+
profileSegmentCodes: string[];
|
|
129
|
+
}[];
|
|
130
|
+
projects: {
|
|
131
|
+
id: number;
|
|
132
|
+
slotNumber: number;
|
|
133
|
+
readyforProjectId: number;
|
|
134
|
+
isPaidSlot: boolean;
|
|
135
|
+
title: string | null;
|
|
136
|
+
description: string | null;
|
|
137
|
+
tag: string | null;
|
|
138
|
+
tagUrl: string | null;
|
|
139
|
+
thumbnailUrl: string | null;
|
|
140
|
+
}[];
|
|
141
|
+
banners: {
|
|
142
|
+
id: number;
|
|
143
|
+
slotNumber: number;
|
|
144
|
+
url: string | null;
|
|
145
|
+
imageUrl: string | null;
|
|
146
|
+
}[];
|
|
147
|
+
deliveredUsersCount: number | null;
|
|
148
|
+
};
|
|
149
|
+
kind: "curationMailMagazine";
|
|
150
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
151
|
+
id: number;
|
|
152
|
+
title: string | null;
|
|
153
|
+
deliveryScheduledAt: string | null;
|
|
154
|
+
} | {
|
|
155
|
+
personalizedMailMagazine: {
|
|
156
|
+
utmCampaign: string | null;
|
|
157
|
+
target: {
|
|
158
|
+
csvFileName: string;
|
|
159
|
+
targetUsersCount: number;
|
|
160
|
+
excludedUsersCount: number;
|
|
161
|
+
} | null;
|
|
162
|
+
};
|
|
163
|
+
kind: "personalizedMailMagazine";
|
|
164
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
165
|
+
id: number;
|
|
166
|
+
title: string | null;
|
|
167
|
+
deliveryScheduledAt: string | null;
|
|
168
|
+
};
|
|
25
169
|
} | undefined;
|
|
26
170
|
error: any;
|
|
27
171
|
mutate: swr.KeyedMutator<{
|
|
28
|
-
campaignDetail:
|
|
172
|
+
campaignDetail: {
|
|
173
|
+
curationMailMagazine: {
|
|
174
|
+
utmCampaign: string | null;
|
|
175
|
+
subject: string | null;
|
|
176
|
+
preHeaderText: string | null;
|
|
177
|
+
targetFilters: {
|
|
178
|
+
id: number;
|
|
179
|
+
behaviorSegmentCodes: string[];
|
|
180
|
+
profileSegmentCodes: string[];
|
|
181
|
+
}[];
|
|
182
|
+
projects: {
|
|
183
|
+
id: number;
|
|
184
|
+
slotNumber: number;
|
|
185
|
+
readyforProjectId: number;
|
|
186
|
+
isPaidSlot: boolean;
|
|
187
|
+
title: string | null;
|
|
188
|
+
description: string | null;
|
|
189
|
+
tag: string | null;
|
|
190
|
+
tagUrl: string | null;
|
|
191
|
+
thumbnailUrl: string | null;
|
|
192
|
+
}[];
|
|
193
|
+
banners: {
|
|
194
|
+
id: number;
|
|
195
|
+
slotNumber: number;
|
|
196
|
+
url: string | null;
|
|
197
|
+
imageUrl: string | null;
|
|
198
|
+
}[];
|
|
199
|
+
deliveredUsersCount: number | null;
|
|
200
|
+
};
|
|
201
|
+
kind: "curationMailMagazine";
|
|
202
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
203
|
+
id: number;
|
|
204
|
+
title: string | null;
|
|
205
|
+
deliveryScheduledAt: string | null;
|
|
206
|
+
} | {
|
|
207
|
+
personalizedMailMagazine: {
|
|
208
|
+
utmCampaign: string | null;
|
|
209
|
+
target: {
|
|
210
|
+
csvFileName: string;
|
|
211
|
+
targetUsersCount: number;
|
|
212
|
+
excludedUsersCount: number;
|
|
213
|
+
} | null;
|
|
214
|
+
};
|
|
215
|
+
kind: "personalizedMailMagazine";
|
|
216
|
+
status: "draft" | "scheduled" | "delivering" | "delivered" | "deliveryFailed";
|
|
217
|
+
id: number;
|
|
218
|
+
title: string | null;
|
|
219
|
+
deliveryScheduledAt: string | null;
|
|
220
|
+
};
|
|
29
221
|
}>;
|
|
30
222
|
isValidating: boolean;
|
|
31
223
|
isLoading: boolean;
|
|
@@ -12,8 +12,8 @@ import "../chunk-IPPG4HQB.mjs";
|
|
|
12
12
|
import "../chunk-FOCILVNV.mjs";
|
|
13
13
|
import "../chunk-YV4XRZY2.mjs";
|
|
14
14
|
import "../chunk-MCXNTHWW.mjs";
|
|
15
|
-
import "../chunk-HQKSU4DI.mjs";
|
|
16
15
|
import "../chunk-KBTZNIQJ.mjs";
|
|
16
|
+
import "../chunk-HQKSU4DI.mjs";
|
|
17
17
|
export {
|
|
18
18
|
useCampaignsId,
|
|
19
19
|
useCampaignsIdImmutable,
|
|
@@ -12,8 +12,8 @@ import "../chunk-IPPG4HQB.mjs";
|
|
|
12
12
|
import "../chunk-FOCILVNV.mjs";
|
|
13
13
|
import "../chunk-YV4XRZY2.mjs";
|
|
14
14
|
import "../chunk-MCXNTHWW.mjs";
|
|
15
|
-
import "../chunk-HQKSU4DI.mjs";
|
|
16
15
|
import "../chunk-KBTZNIQJ.mjs";
|
|
16
|
+
import "../chunk-HQKSU4DI.mjs";
|
|
17
17
|
export {
|
|
18
18
|
useCampaignsIdPreview,
|
|
19
19
|
useCampaignsIdPreviewImmutable,
|
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.mjs';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.mjs';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { ProjectsProjectIdOrKeywordGetPath, ProjectsProjectIdOrKeywordGetResponse } from '../fetch/projectsProjectIdOrKeyword.mjs';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath, swrConfig?: Configuration<ProjectsProjectIdOrKeywordGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
project:
|
|
12
|
+
project: {
|
|
13
|
+
title: string;
|
|
14
|
+
projectId: number;
|
|
15
|
+
keyword: string;
|
|
16
|
+
abstract: string;
|
|
17
|
+
};
|
|
13
18
|
} | undefined;
|
|
14
19
|
error: any;
|
|
15
20
|
mutate: swr.KeyedMutator<{
|
|
16
|
-
project:
|
|
21
|
+
project: {
|
|
22
|
+
title: string;
|
|
23
|
+
projectId: number;
|
|
24
|
+
keyword: string;
|
|
25
|
+
abstract: string;
|
|
26
|
+
};
|
|
17
27
|
}>;
|
|
18
28
|
isValidating: boolean;
|
|
19
29
|
isLoading: boolean;
|
|
@@ -21,11 +31,21 @@ declare const useProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGe
|
|
|
21
31
|
};
|
|
22
32
|
declare const useProjectsProjectIdOrKeywordImmutable: (path: ProjectsProjectIdOrKeywordGetPath, swrConfig?: Configuration<ProjectsProjectIdOrKeywordGetResponse>) => {
|
|
23
33
|
data: {
|
|
24
|
-
project:
|
|
34
|
+
project: {
|
|
35
|
+
title: string;
|
|
36
|
+
projectId: number;
|
|
37
|
+
keyword: string;
|
|
38
|
+
abstract: string;
|
|
39
|
+
};
|
|
25
40
|
} | undefined;
|
|
26
41
|
error: any;
|
|
27
42
|
mutate: swr.KeyedMutator<{
|
|
28
|
-
project:
|
|
43
|
+
project: {
|
|
44
|
+
title: string;
|
|
45
|
+
projectId: number;
|
|
46
|
+
keyword: string;
|
|
47
|
+
abstract: string;
|
|
48
|
+
};
|
|
29
49
|
}>;
|
|
30
50
|
isValidating: boolean;
|
|
31
51
|
isLoading: boolean;
|
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.js';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.js';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { ProjectsProjectIdOrKeywordGetPath, ProjectsProjectIdOrKeywordGetResponse } from '../fetch/projectsProjectIdOrKeyword.js';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGetPath, swrConfig?: Configuration<ProjectsProjectIdOrKeywordGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
project:
|
|
12
|
+
project: {
|
|
13
|
+
title: string;
|
|
14
|
+
projectId: number;
|
|
15
|
+
keyword: string;
|
|
16
|
+
abstract: string;
|
|
17
|
+
};
|
|
13
18
|
} | undefined;
|
|
14
19
|
error: any;
|
|
15
20
|
mutate: swr.KeyedMutator<{
|
|
16
|
-
project:
|
|
21
|
+
project: {
|
|
22
|
+
title: string;
|
|
23
|
+
projectId: number;
|
|
24
|
+
keyword: string;
|
|
25
|
+
abstract: string;
|
|
26
|
+
};
|
|
17
27
|
}>;
|
|
18
28
|
isValidating: boolean;
|
|
19
29
|
isLoading: boolean;
|
|
@@ -21,11 +31,21 @@ declare const useProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGe
|
|
|
21
31
|
};
|
|
22
32
|
declare const useProjectsProjectIdOrKeywordImmutable: (path: ProjectsProjectIdOrKeywordGetPath, swrConfig?: Configuration<ProjectsProjectIdOrKeywordGetResponse>) => {
|
|
23
33
|
data: {
|
|
24
|
-
project:
|
|
34
|
+
project: {
|
|
35
|
+
title: string;
|
|
36
|
+
projectId: number;
|
|
37
|
+
keyword: string;
|
|
38
|
+
abstract: string;
|
|
39
|
+
};
|
|
25
40
|
} | undefined;
|
|
26
41
|
error: any;
|
|
27
42
|
mutate: swr.KeyedMutator<{
|
|
28
|
-
project:
|
|
43
|
+
project: {
|
|
44
|
+
title: string;
|
|
45
|
+
projectId: number;
|
|
46
|
+
keyword: string;
|
|
47
|
+
abstract: string;
|
|
48
|
+
};
|
|
29
49
|
}>;
|
|
30
50
|
isValidating: boolean;
|
|
31
51
|
isLoading: boolean;
|
|
@@ -12,8 +12,8 @@ import "../chunk-IPPG4HQB.mjs";
|
|
|
12
12
|
import "../chunk-FOCILVNV.mjs";
|
|
13
13
|
import "../chunk-YV4XRZY2.mjs";
|
|
14
14
|
import "../chunk-MCXNTHWW.mjs";
|
|
15
|
-
import "../chunk-HQKSU4DI.mjs";
|
|
16
15
|
import "../chunk-KBTZNIQJ.mjs";
|
|
16
|
+
import "../chunk-HQKSU4DI.mjs";
|
|
17
17
|
export {
|
|
18
18
|
useProjectsProjectIdOrKeyword,
|
|
19
19
|
useProjectsProjectIdOrKeywordImmutable,
|
|
@@ -1,18 +1,30 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.mjs';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.mjs';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { SegmentsBehaviorSegmentsGetResponse } from '../fetch/segmentsBehaviorSegments.mjs';
|
|
8
8
|
|
|
9
9
|
declare const useSegmentsBehaviorSegments: (swrConfig?: Configuration<SegmentsBehaviorSegmentsGetResponse>) => {
|
|
10
10
|
data: {
|
|
11
|
-
behaviorSegments:
|
|
11
|
+
behaviorSegments: {
|
|
12
|
+
code: string;
|
|
13
|
+
description: string | null;
|
|
14
|
+
label: string;
|
|
15
|
+
isActive: boolean;
|
|
16
|
+
displayOrder: number | null;
|
|
17
|
+
}[];
|
|
12
18
|
} | undefined;
|
|
13
19
|
error: any;
|
|
14
20
|
mutate: swr.KeyedMutator<{
|
|
15
|
-
behaviorSegments:
|
|
21
|
+
behaviorSegments: {
|
|
22
|
+
code: string;
|
|
23
|
+
description: string | null;
|
|
24
|
+
label: string;
|
|
25
|
+
isActive: boolean;
|
|
26
|
+
displayOrder: number | null;
|
|
27
|
+
}[];
|
|
16
28
|
}>;
|
|
17
29
|
isValidating: boolean;
|
|
18
30
|
isLoading: boolean;
|
|
@@ -20,11 +32,23 @@ declare const useSegmentsBehaviorSegments: (swrConfig?: Configuration<SegmentsBe
|
|
|
20
32
|
};
|
|
21
33
|
declare const useSegmentsBehaviorSegmentsImmutable: (swrConfig?: Configuration<SegmentsBehaviorSegmentsGetResponse>) => {
|
|
22
34
|
data: {
|
|
23
|
-
behaviorSegments:
|
|
35
|
+
behaviorSegments: {
|
|
36
|
+
code: string;
|
|
37
|
+
description: string | null;
|
|
38
|
+
label: string;
|
|
39
|
+
isActive: boolean;
|
|
40
|
+
displayOrder: number | null;
|
|
41
|
+
}[];
|
|
24
42
|
} | undefined;
|
|
25
43
|
error: any;
|
|
26
44
|
mutate: swr.KeyedMutator<{
|
|
27
|
-
behaviorSegments:
|
|
45
|
+
behaviorSegments: {
|
|
46
|
+
code: string;
|
|
47
|
+
description: string | null;
|
|
48
|
+
label: string;
|
|
49
|
+
isActive: boolean;
|
|
50
|
+
displayOrder: number | null;
|
|
51
|
+
}[];
|
|
28
52
|
}>;
|
|
29
53
|
isValidating: boolean;
|
|
30
54
|
isLoading: boolean;
|
|
@@ -1,18 +1,30 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.js';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.js';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { SegmentsBehaviorSegmentsGetResponse } from '../fetch/segmentsBehaviorSegments.js';
|
|
8
8
|
|
|
9
9
|
declare const useSegmentsBehaviorSegments: (swrConfig?: Configuration<SegmentsBehaviorSegmentsGetResponse>) => {
|
|
10
10
|
data: {
|
|
11
|
-
behaviorSegments:
|
|
11
|
+
behaviorSegments: {
|
|
12
|
+
code: string;
|
|
13
|
+
description: string | null;
|
|
14
|
+
label: string;
|
|
15
|
+
isActive: boolean;
|
|
16
|
+
displayOrder: number | null;
|
|
17
|
+
}[];
|
|
12
18
|
} | undefined;
|
|
13
19
|
error: any;
|
|
14
20
|
mutate: swr.KeyedMutator<{
|
|
15
|
-
behaviorSegments:
|
|
21
|
+
behaviorSegments: {
|
|
22
|
+
code: string;
|
|
23
|
+
description: string | null;
|
|
24
|
+
label: string;
|
|
25
|
+
isActive: boolean;
|
|
26
|
+
displayOrder: number | null;
|
|
27
|
+
}[];
|
|
16
28
|
}>;
|
|
17
29
|
isValidating: boolean;
|
|
18
30
|
isLoading: boolean;
|
|
@@ -20,11 +32,23 @@ declare const useSegmentsBehaviorSegments: (swrConfig?: Configuration<SegmentsBe
|
|
|
20
32
|
};
|
|
21
33
|
declare const useSegmentsBehaviorSegmentsImmutable: (swrConfig?: Configuration<SegmentsBehaviorSegmentsGetResponse>) => {
|
|
22
34
|
data: {
|
|
23
|
-
behaviorSegments:
|
|
35
|
+
behaviorSegments: {
|
|
36
|
+
code: string;
|
|
37
|
+
description: string | null;
|
|
38
|
+
label: string;
|
|
39
|
+
isActive: boolean;
|
|
40
|
+
displayOrder: number | null;
|
|
41
|
+
}[];
|
|
24
42
|
} | undefined;
|
|
25
43
|
error: any;
|
|
26
44
|
mutate: swr.KeyedMutator<{
|
|
27
|
-
behaviorSegments:
|
|
45
|
+
behaviorSegments: {
|
|
46
|
+
code: string;
|
|
47
|
+
description: string | null;
|
|
48
|
+
label: string;
|
|
49
|
+
isActive: boolean;
|
|
50
|
+
displayOrder: number | null;
|
|
51
|
+
}[];
|
|
28
52
|
}>;
|
|
29
53
|
isValidating: boolean;
|
|
30
54
|
isLoading: boolean;
|
|
@@ -12,8 +12,8 @@ import "../chunk-IPPG4HQB.mjs";
|
|
|
12
12
|
import "../chunk-FOCILVNV.mjs";
|
|
13
13
|
import "../chunk-YV4XRZY2.mjs";
|
|
14
14
|
import "../chunk-MCXNTHWW.mjs";
|
|
15
|
-
import "../chunk-HQKSU4DI.mjs";
|
|
16
15
|
import "../chunk-KBTZNIQJ.mjs";
|
|
16
|
+
import "../chunk-HQKSU4DI.mjs";
|
|
17
17
|
export {
|
|
18
18
|
useSegmentsBehaviorSegments,
|
|
19
19
|
useSegmentsBehaviorSegmentsImmutable,
|
|
@@ -1,18 +1,30 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.mjs';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.mjs';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { SegmentsProfileSegmentsGetResponse } from '../fetch/segmentsProfileSegments.mjs';
|
|
8
8
|
|
|
9
9
|
declare const useSegmentsProfileSegments: (swrConfig?: Configuration<SegmentsProfileSegmentsGetResponse>) => {
|
|
10
10
|
data: {
|
|
11
|
-
profileSegments:
|
|
11
|
+
profileSegments: {
|
|
12
|
+
code: string;
|
|
13
|
+
description: string | null;
|
|
14
|
+
label: string;
|
|
15
|
+
isActive: boolean;
|
|
16
|
+
displayOrder: number | null;
|
|
17
|
+
}[];
|
|
12
18
|
} | undefined;
|
|
13
19
|
error: any;
|
|
14
20
|
mutate: swr.KeyedMutator<{
|
|
15
|
-
profileSegments:
|
|
21
|
+
profileSegments: {
|
|
22
|
+
code: string;
|
|
23
|
+
description: string | null;
|
|
24
|
+
label: string;
|
|
25
|
+
isActive: boolean;
|
|
26
|
+
displayOrder: number | null;
|
|
27
|
+
}[];
|
|
16
28
|
}>;
|
|
17
29
|
isValidating: boolean;
|
|
18
30
|
isLoading: boolean;
|
|
@@ -20,11 +32,23 @@ declare const useSegmentsProfileSegments: (swrConfig?: Configuration<SegmentsPro
|
|
|
20
32
|
};
|
|
21
33
|
declare const useSegmentsProfileSegmentsImmutable: (swrConfig?: Configuration<SegmentsProfileSegmentsGetResponse>) => {
|
|
22
34
|
data: {
|
|
23
|
-
profileSegments:
|
|
35
|
+
profileSegments: {
|
|
36
|
+
code: string;
|
|
37
|
+
description: string | null;
|
|
38
|
+
label: string;
|
|
39
|
+
isActive: boolean;
|
|
40
|
+
displayOrder: number | null;
|
|
41
|
+
}[];
|
|
24
42
|
} | undefined;
|
|
25
43
|
error: any;
|
|
26
44
|
mutate: swr.KeyedMutator<{
|
|
27
|
-
profileSegments:
|
|
45
|
+
profileSegments: {
|
|
46
|
+
code: string;
|
|
47
|
+
description: string | null;
|
|
48
|
+
label: string;
|
|
49
|
+
isActive: boolean;
|
|
50
|
+
displayOrder: number | null;
|
|
51
|
+
}[];
|
|
28
52
|
}>;
|
|
29
53
|
isValidating: boolean;
|
|
30
54
|
isLoading: boolean;
|
|
@@ -1,18 +1,30 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.js';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.js';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { SegmentsProfileSegmentsGetResponse } from '../fetch/segmentsProfileSegments.js';
|
|
8
8
|
|
|
9
9
|
declare const useSegmentsProfileSegments: (swrConfig?: Configuration<SegmentsProfileSegmentsGetResponse>) => {
|
|
10
10
|
data: {
|
|
11
|
-
profileSegments:
|
|
11
|
+
profileSegments: {
|
|
12
|
+
code: string;
|
|
13
|
+
description: string | null;
|
|
14
|
+
label: string;
|
|
15
|
+
isActive: boolean;
|
|
16
|
+
displayOrder: number | null;
|
|
17
|
+
}[];
|
|
12
18
|
} | undefined;
|
|
13
19
|
error: any;
|
|
14
20
|
mutate: swr.KeyedMutator<{
|
|
15
|
-
profileSegments:
|
|
21
|
+
profileSegments: {
|
|
22
|
+
code: string;
|
|
23
|
+
description: string | null;
|
|
24
|
+
label: string;
|
|
25
|
+
isActive: boolean;
|
|
26
|
+
displayOrder: number | null;
|
|
27
|
+
}[];
|
|
16
28
|
}>;
|
|
17
29
|
isValidating: boolean;
|
|
18
30
|
isLoading: boolean;
|
|
@@ -20,11 +32,23 @@ declare const useSegmentsProfileSegments: (swrConfig?: Configuration<SegmentsPro
|
|
|
20
32
|
};
|
|
21
33
|
declare const useSegmentsProfileSegmentsImmutable: (swrConfig?: Configuration<SegmentsProfileSegmentsGetResponse>) => {
|
|
22
34
|
data: {
|
|
23
|
-
profileSegments:
|
|
35
|
+
profileSegments: {
|
|
36
|
+
code: string;
|
|
37
|
+
description: string | null;
|
|
38
|
+
label: string;
|
|
39
|
+
isActive: boolean;
|
|
40
|
+
displayOrder: number | null;
|
|
41
|
+
}[];
|
|
24
42
|
} | undefined;
|
|
25
43
|
error: any;
|
|
26
44
|
mutate: swr.KeyedMutator<{
|
|
27
|
-
profileSegments:
|
|
45
|
+
profileSegments: {
|
|
46
|
+
code: string;
|
|
47
|
+
description: string | null;
|
|
48
|
+
label: string;
|
|
49
|
+
isActive: boolean;
|
|
50
|
+
displayOrder: number | null;
|
|
51
|
+
}[];
|
|
28
52
|
}>;
|
|
29
53
|
isValidating: boolean;
|
|
30
54
|
isLoading: boolean;
|
|
@@ -12,8 +12,8 @@ import "../chunk-IPPG4HQB.mjs";
|
|
|
12
12
|
import "../chunk-FOCILVNV.mjs";
|
|
13
13
|
import "../chunk-YV4XRZY2.mjs";
|
|
14
14
|
import "../chunk-MCXNTHWW.mjs";
|
|
15
|
-
import "../chunk-HQKSU4DI.mjs";
|
|
16
15
|
import "../chunk-KBTZNIQJ.mjs";
|
|
16
|
+
import "../chunk-HQKSU4DI.mjs";
|
|
17
17
|
export {
|
|
18
18
|
useSegmentsProfileSegments,
|
|
19
19
|
useSegmentsProfileSegmentsImmutable,
|
|
@@ -12,8 +12,8 @@ import "../chunk-IPPG4HQB.mjs";
|
|
|
12
12
|
import "../chunk-FOCILVNV.mjs";
|
|
13
13
|
import "../chunk-YV4XRZY2.mjs";
|
|
14
14
|
import "../chunk-MCXNTHWW.mjs";
|
|
15
|
-
import "../chunk-HQKSU4DI.mjs";
|
|
16
15
|
import "../chunk-KBTZNIQJ.mjs";
|
|
16
|
+
import "../chunk-HQKSU4DI.mjs";
|
|
17
17
|
export {
|
|
18
18
|
useSegmentsTargetUsersCount,
|
|
19
19
|
useSegmentsTargetUsersCountImmutable,
|
package/dist/index.mjs
CHANGED
|
@@ -39,6 +39,10 @@ import {
|
|
|
39
39
|
buildCampaignsIdPreviewGetFetcher,
|
|
40
40
|
getCampaignsIdPreview
|
|
41
41
|
} from "./chunk-MCXNTHWW.mjs";
|
|
42
|
+
import {
|
|
43
|
+
buildCampaignsIdPreviewDeliveryEmailPostFetcher,
|
|
44
|
+
postCampaignsIdPreviewDeliveryEmail
|
|
45
|
+
} from "./chunk-KBTZNIQJ.mjs";
|
|
42
46
|
import {
|
|
43
47
|
Campaign,
|
|
44
48
|
CampaignBaseFormData,
|
|
@@ -90,10 +94,6 @@ import {
|
|
|
90
94
|
TargetFilterSegments,
|
|
91
95
|
UploadImageFormData
|
|
92
96
|
} from "./chunk-HQKSU4DI.mjs";
|
|
93
|
-
import {
|
|
94
|
-
buildCampaignsIdPreviewDeliveryEmailPostFetcher,
|
|
95
|
-
postCampaignsIdPreviewDeliveryEmail
|
|
96
|
-
} from "./chunk-KBTZNIQJ.mjs";
|
|
97
97
|
export {
|
|
98
98
|
Campaign,
|
|
99
99
|
CampaignBaseFormData,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@readyfor/api-client-pigeon",
|
|
3
|
-
"version": "0.207.
|
|
3
|
+
"version": "0.207.2-pr974.caa0ee1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -20,27 +20,24 @@
|
|
|
20
20
|
"require": "./dist/hooks/index.js"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
|
-
"scripts": {
|
|
24
|
-
"build": "tsup"
|
|
25
|
-
},
|
|
26
23
|
"devDependencies": {
|
|
27
|
-
"@readyfor/api-client-base": "0.207.1",
|
|
28
24
|
"@types/qs": "6.9.18",
|
|
29
|
-
"@types/react": "
|
|
30
|
-
"@types/use-sync-external-store": "
|
|
25
|
+
"@types/react": "catalog:react19",
|
|
26
|
+
"@types/use-sync-external-store": "catalog:use-sync-external-store",
|
|
31
27
|
"qs": "^6.13.1",
|
|
32
28
|
"react": "catalog:react19",
|
|
33
29
|
"swr": "catalog:",
|
|
34
30
|
"use-sync-external-store": "catalog:use-sync-external-store",
|
|
35
|
-
"zod": "^3.24.1"
|
|
31
|
+
"zod": "^3.24.1",
|
|
32
|
+
"@readyfor/api-client-base": "0.207.2-pr974.caa0ee1"
|
|
36
33
|
},
|
|
37
34
|
"peerDependencies": {
|
|
38
|
-
"@readyfor/api-client-base": "*",
|
|
39
35
|
"qs": "^6",
|
|
40
36
|
"react": ">=18.x <=19.x",
|
|
41
37
|
"swr": "^2.3.3",
|
|
42
38
|
"use-sync-external-store": "^1.2.2",
|
|
43
|
-
"zod": "^3"
|
|
39
|
+
"zod": "^3",
|
|
40
|
+
"@readyfor/api-client-base": "0.207.2-pr974.caa0ee1"
|
|
44
41
|
},
|
|
45
42
|
"peerDependenciesMeta": {
|
|
46
43
|
"react": {
|
|
@@ -65,5 +62,7 @@
|
|
|
65
62
|
"src"
|
|
66
63
|
]
|
|
67
64
|
},
|
|
68
|
-
"
|
|
69
|
-
|
|
65
|
+
"scripts": {
|
|
66
|
+
"build": "tsup"
|
|
67
|
+
}
|
|
68
|
+
}
|