@readyfor/api-client-pigeon 0.207.2-pr974.caa0ee1 → 0.208.0-pr975.4fd93b5
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 +9 -77
- package/dist/hooks/useCampaigns.d.ts +9 -77
- package/dist/hooks/useCampaigns.mjs +1 -1
- package/dist/hooks/useCampaignsId.d.mts +5 -197
- package/dist/hooks/useCampaignsId.d.ts +5 -197
- package/dist/hooks/useCampaignsId.mjs +1 -1
- package/dist/hooks/useCampaignsIdPreview.mjs +1 -1
- package/dist/hooks/useProjectsProjectIdOrKeyword.d.mts +5 -25
- package/dist/hooks/useProjectsProjectIdOrKeyword.d.ts +5 -25
- package/dist/hooks/useProjectsProjectIdOrKeyword.mjs +1 -1
- package/dist/hooks/useSegmentsBehaviorSegments.d.mts +5 -29
- package/dist/hooks/useSegmentsBehaviorSegments.d.ts +5 -29
- package/dist/hooks/useSegmentsBehaviorSegments.mjs +1 -1
- package/dist/hooks/useSegmentsProfileSegments.d.mts +5 -29
- package/dist/hooks/useSegmentsProfileSegments.d.ts +5 -29
- package/dist/hooks/useSegmentsProfileSegments.mjs +1 -1
- package/dist/hooks/useSegmentsTargetUsersCount.mjs +1 -1
- package/dist/index.mjs +4 -4
- package/package.json +3 -3
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 '../schemaType.mjs';
|
|
10
9
|
import 'swr';
|
|
10
|
+
import '../schemaType.mjs';
|
|
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 '../schemaType.js';
|
|
10
9
|
import 'swr';
|
|
10
|
+
import '../schemaType.js';
|
|
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,3 +1,8 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useProjectsProjectIdOrKeyword,
|
|
3
|
+
useProjectsProjectIdOrKeywordImmutable,
|
|
4
|
+
useProjectsProjectIdOrKeywordInfinite
|
|
5
|
+
} from "../chunk-7EJYWAM4.mjs";
|
|
1
6
|
import {
|
|
2
7
|
useSegmentsBehaviorSegments,
|
|
3
8
|
useSegmentsBehaviorSegmentsImmutable,
|
|
@@ -28,11 +33,6 @@ import {
|
|
|
28
33
|
useCampaignsIdPreviewImmutable,
|
|
29
34
|
useCampaignsIdPreviewInfinite
|
|
30
35
|
} 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-KBTZNIQJ.mjs";
|
|
46
45
|
import "../chunk-HQKSU4DI.mjs";
|
|
46
|
+
import "../chunk-KBTZNIQJ.mjs";
|
|
47
47
|
export {
|
|
48
48
|
useCampaigns,
|
|
49
49
|
useCampaignsId,
|
|
@@ -1,55 +1,21 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
-
import { components } from '../schemaType.mjs';
|
|
4
3
|
import * as swr from 'swr';
|
|
5
4
|
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
|
-
|
|
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
|
-
};
|
|
12
|
+
campaigns: components["schemas"]["Campaign"][];
|
|
13
|
+
pagination: components["schemas"]["Pagination"];
|
|
31
14
|
} | undefined;
|
|
32
15
|
error: any;
|
|
33
16
|
mutate: swr.KeyedMutator<{
|
|
34
|
-
campaigns:
|
|
35
|
-
|
|
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
|
-
};
|
|
17
|
+
campaigns: components["schemas"]["Campaign"][];
|
|
18
|
+
pagination: components["schemas"]["Pagination"];
|
|
53
19
|
}>;
|
|
54
20
|
isValidating: boolean;
|
|
55
21
|
isLoading: boolean;
|
|
@@ -57,47 +23,13 @@ declare const useCampaigns: (query: CampaignsGetQuery, swrConfig?: Configuration
|
|
|
57
23
|
};
|
|
58
24
|
declare const useCampaignsImmutable: (query: CampaignsGetQuery, swrConfig?: Configuration<CampaignsGetResponse>) => {
|
|
59
25
|
data: {
|
|
60
|
-
campaigns:
|
|
61
|
-
|
|
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
|
-
};
|
|
26
|
+
campaigns: components["schemas"]["Campaign"][];
|
|
27
|
+
pagination: components["schemas"]["Pagination"];
|
|
79
28
|
} | undefined;
|
|
80
29
|
error: any;
|
|
81
30
|
mutate: swr.KeyedMutator<{
|
|
82
|
-
campaigns:
|
|
83
|
-
|
|
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
|
-
};
|
|
31
|
+
campaigns: components["schemas"]["Campaign"][];
|
|
32
|
+
pagination: components["schemas"]["Pagination"];
|
|
101
33
|
}>;
|
|
102
34
|
isValidating: boolean;
|
|
103
35
|
isLoading: boolean;
|
|
@@ -1,55 +1,21 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
-
import { components } from '../schemaType.js';
|
|
4
3
|
import * as swr from 'swr';
|
|
5
4
|
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
|
-
|
|
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
|
-
};
|
|
12
|
+
campaigns: components["schemas"]["Campaign"][];
|
|
13
|
+
pagination: components["schemas"]["Pagination"];
|
|
31
14
|
} | undefined;
|
|
32
15
|
error: any;
|
|
33
16
|
mutate: swr.KeyedMutator<{
|
|
34
|
-
campaigns:
|
|
35
|
-
|
|
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
|
-
};
|
|
17
|
+
campaigns: components["schemas"]["Campaign"][];
|
|
18
|
+
pagination: components["schemas"]["Pagination"];
|
|
53
19
|
}>;
|
|
54
20
|
isValidating: boolean;
|
|
55
21
|
isLoading: boolean;
|
|
@@ -57,47 +23,13 @@ declare const useCampaigns: (query: CampaignsGetQuery, swrConfig?: Configuration
|
|
|
57
23
|
};
|
|
58
24
|
declare const useCampaignsImmutable: (query: CampaignsGetQuery, swrConfig?: Configuration<CampaignsGetResponse>) => {
|
|
59
25
|
data: {
|
|
60
|
-
campaigns:
|
|
61
|
-
|
|
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
|
-
};
|
|
26
|
+
campaigns: components["schemas"]["Campaign"][];
|
|
27
|
+
pagination: components["schemas"]["Pagination"];
|
|
79
28
|
} | undefined;
|
|
80
29
|
error: any;
|
|
81
30
|
mutate: swr.KeyedMutator<{
|
|
82
|
-
campaigns:
|
|
83
|
-
|
|
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
|
-
};
|
|
31
|
+
campaigns: components["schemas"]["Campaign"][];
|
|
32
|
+
pagination: components["schemas"]["Pagination"];
|
|
101
33
|
}>;
|
|
102
34
|
isValidating: boolean;
|
|
103
35
|
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-KBTZNIQJ.mjs";
|
|
16
15
|
import "../chunk-HQKSU4DI.mjs";
|
|
16
|
+
import "../chunk-KBTZNIQJ.mjs";
|
|
17
17
|
export {
|
|
18
18
|
useCampaigns,
|
|
19
19
|
useCampaignsImmutable,
|
|
@@ -1,115 +1,19 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
-
import { components } from '../schemaType.mjs';
|
|
4
3
|
import * as swr from 'swr';
|
|
5
4
|
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:
|
|
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
|
-
};
|
|
12
|
+
campaignDetail: components["schemas"]["CampaignDetail"];
|
|
61
13
|
} | undefined;
|
|
62
14
|
error: any;
|
|
63
15
|
mutate: swr.KeyedMutator<{
|
|
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
|
-
};
|
|
16
|
+
campaignDetail: components["schemas"]["CampaignDetail"];
|
|
113
17
|
}>;
|
|
114
18
|
isValidating: boolean;
|
|
115
19
|
isLoading: boolean;
|
|
@@ -117,107 +21,11 @@ declare const useCampaignsId: (path: CampaignsIdGetPath, swrConfig?: Configurati
|
|
|
117
21
|
};
|
|
118
22
|
declare const useCampaignsIdImmutable: (path: CampaignsIdGetPath, swrConfig?: Configuration<CampaignsIdGetResponse>) => {
|
|
119
23
|
data: {
|
|
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
|
-
};
|
|
24
|
+
campaignDetail: components["schemas"]["CampaignDetail"];
|
|
169
25
|
} | undefined;
|
|
170
26
|
error: any;
|
|
171
27
|
mutate: swr.KeyedMutator<{
|
|
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
|
-
};
|
|
28
|
+
campaignDetail: components["schemas"]["CampaignDetail"];
|
|
221
29
|
}>;
|
|
222
30
|
isValidating: boolean;
|
|
223
31
|
isLoading: boolean;
|
|
@@ -1,115 +1,19 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
-
import { components } from '../schemaType.js';
|
|
4
3
|
import * as swr from 'swr';
|
|
5
4
|
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:
|
|
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
|
-
};
|
|
12
|
+
campaignDetail: components["schemas"]["CampaignDetail"];
|
|
61
13
|
} | undefined;
|
|
62
14
|
error: any;
|
|
63
15
|
mutate: swr.KeyedMutator<{
|
|
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
|
-
};
|
|
16
|
+
campaignDetail: components["schemas"]["CampaignDetail"];
|
|
113
17
|
}>;
|
|
114
18
|
isValidating: boolean;
|
|
115
19
|
isLoading: boolean;
|
|
@@ -117,107 +21,11 @@ declare const useCampaignsId: (path: CampaignsIdGetPath, swrConfig?: Configurati
|
|
|
117
21
|
};
|
|
118
22
|
declare const useCampaignsIdImmutable: (path: CampaignsIdGetPath, swrConfig?: Configuration<CampaignsIdGetResponse>) => {
|
|
119
23
|
data: {
|
|
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
|
-
};
|
|
24
|
+
campaignDetail: components["schemas"]["CampaignDetail"];
|
|
169
25
|
} | undefined;
|
|
170
26
|
error: any;
|
|
171
27
|
mutate: swr.KeyedMutator<{
|
|
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
|
-
};
|
|
28
|
+
campaignDetail: components["schemas"]["CampaignDetail"];
|
|
221
29
|
}>;
|
|
222
30
|
isValidating: boolean;
|
|
223
31
|
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-KBTZNIQJ.mjs";
|
|
16
15
|
import "../chunk-HQKSU4DI.mjs";
|
|
16
|
+
import "../chunk-KBTZNIQJ.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-KBTZNIQJ.mjs";
|
|
16
15
|
import "../chunk-HQKSU4DI.mjs";
|
|
16
|
+
import "../chunk-KBTZNIQJ.mjs";
|
|
17
17
|
export {
|
|
18
18
|
useCampaignsIdPreview,
|
|
19
19
|
useCampaignsIdPreviewImmutable,
|
|
@@ -1,29 +1,19 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
-
import { components } from '../schemaType.mjs';
|
|
4
3
|
import * as swr from 'swr';
|
|
5
4
|
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:
|
|
13
|
-
title: string;
|
|
14
|
-
projectId: number;
|
|
15
|
-
keyword: string;
|
|
16
|
-
abstract: string;
|
|
17
|
-
};
|
|
12
|
+
project: components["schemas"]["ReadyforProject"];
|
|
18
13
|
} | undefined;
|
|
19
14
|
error: any;
|
|
20
15
|
mutate: swr.KeyedMutator<{
|
|
21
|
-
project:
|
|
22
|
-
title: string;
|
|
23
|
-
projectId: number;
|
|
24
|
-
keyword: string;
|
|
25
|
-
abstract: string;
|
|
26
|
-
};
|
|
16
|
+
project: components["schemas"]["ReadyforProject"];
|
|
27
17
|
}>;
|
|
28
18
|
isValidating: boolean;
|
|
29
19
|
isLoading: boolean;
|
|
@@ -31,21 +21,11 @@ declare const useProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGe
|
|
|
31
21
|
};
|
|
32
22
|
declare const useProjectsProjectIdOrKeywordImmutable: (path: ProjectsProjectIdOrKeywordGetPath, swrConfig?: Configuration<ProjectsProjectIdOrKeywordGetResponse>) => {
|
|
33
23
|
data: {
|
|
34
|
-
project:
|
|
35
|
-
title: string;
|
|
36
|
-
projectId: number;
|
|
37
|
-
keyword: string;
|
|
38
|
-
abstract: string;
|
|
39
|
-
};
|
|
24
|
+
project: components["schemas"]["ReadyforProject"];
|
|
40
25
|
} | undefined;
|
|
41
26
|
error: any;
|
|
42
27
|
mutate: swr.KeyedMutator<{
|
|
43
|
-
project:
|
|
44
|
-
title: string;
|
|
45
|
-
projectId: number;
|
|
46
|
-
keyword: string;
|
|
47
|
-
abstract: string;
|
|
48
|
-
};
|
|
28
|
+
project: components["schemas"]["ReadyforProject"];
|
|
49
29
|
}>;
|
|
50
30
|
isValidating: boolean;
|
|
51
31
|
isLoading: boolean;
|
|
@@ -1,29 +1,19 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
-
import { components } from '../schemaType.js';
|
|
4
3
|
import * as swr from 'swr';
|
|
5
4
|
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:
|
|
13
|
-
title: string;
|
|
14
|
-
projectId: number;
|
|
15
|
-
keyword: string;
|
|
16
|
-
abstract: string;
|
|
17
|
-
};
|
|
12
|
+
project: components["schemas"]["ReadyforProject"];
|
|
18
13
|
} | undefined;
|
|
19
14
|
error: any;
|
|
20
15
|
mutate: swr.KeyedMutator<{
|
|
21
|
-
project:
|
|
22
|
-
title: string;
|
|
23
|
-
projectId: number;
|
|
24
|
-
keyword: string;
|
|
25
|
-
abstract: string;
|
|
26
|
-
};
|
|
16
|
+
project: components["schemas"]["ReadyforProject"];
|
|
27
17
|
}>;
|
|
28
18
|
isValidating: boolean;
|
|
29
19
|
isLoading: boolean;
|
|
@@ -31,21 +21,11 @@ declare const useProjectsProjectIdOrKeyword: (path: ProjectsProjectIdOrKeywordGe
|
|
|
31
21
|
};
|
|
32
22
|
declare const useProjectsProjectIdOrKeywordImmutable: (path: ProjectsProjectIdOrKeywordGetPath, swrConfig?: Configuration<ProjectsProjectIdOrKeywordGetResponse>) => {
|
|
33
23
|
data: {
|
|
34
|
-
project:
|
|
35
|
-
title: string;
|
|
36
|
-
projectId: number;
|
|
37
|
-
keyword: string;
|
|
38
|
-
abstract: string;
|
|
39
|
-
};
|
|
24
|
+
project: components["schemas"]["ReadyforProject"];
|
|
40
25
|
} | undefined;
|
|
41
26
|
error: any;
|
|
42
27
|
mutate: swr.KeyedMutator<{
|
|
43
|
-
project:
|
|
44
|
-
title: string;
|
|
45
|
-
projectId: number;
|
|
46
|
-
keyword: string;
|
|
47
|
-
abstract: string;
|
|
48
|
-
};
|
|
28
|
+
project: components["schemas"]["ReadyforProject"];
|
|
49
29
|
}>;
|
|
50
30
|
isValidating: boolean;
|
|
51
31
|
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-KBTZNIQJ.mjs";
|
|
16
15
|
import "../chunk-HQKSU4DI.mjs";
|
|
16
|
+
import "../chunk-KBTZNIQJ.mjs";
|
|
17
17
|
export {
|
|
18
18
|
useProjectsProjectIdOrKeyword,
|
|
19
19
|
useProjectsProjectIdOrKeywordImmutable,
|
|
@@ -1,30 +1,18 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
-
import { components } from '../schemaType.mjs';
|
|
4
3
|
import * as swr from 'swr';
|
|
5
4
|
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:
|
|
12
|
-
code: string;
|
|
13
|
-
description: string | null;
|
|
14
|
-
label: string;
|
|
15
|
-
isActive: boolean;
|
|
16
|
-
displayOrder: number | null;
|
|
17
|
-
}[];
|
|
11
|
+
behaviorSegments: components["schemas"]["Segment"][];
|
|
18
12
|
} | undefined;
|
|
19
13
|
error: any;
|
|
20
14
|
mutate: swr.KeyedMutator<{
|
|
21
|
-
behaviorSegments:
|
|
22
|
-
code: string;
|
|
23
|
-
description: string | null;
|
|
24
|
-
label: string;
|
|
25
|
-
isActive: boolean;
|
|
26
|
-
displayOrder: number | null;
|
|
27
|
-
}[];
|
|
15
|
+
behaviorSegments: components["schemas"]["Segment"][];
|
|
28
16
|
}>;
|
|
29
17
|
isValidating: boolean;
|
|
30
18
|
isLoading: boolean;
|
|
@@ -32,23 +20,11 @@ declare const useSegmentsBehaviorSegments: (swrConfig?: Configuration<SegmentsBe
|
|
|
32
20
|
};
|
|
33
21
|
declare const useSegmentsBehaviorSegmentsImmutable: (swrConfig?: Configuration<SegmentsBehaviorSegmentsGetResponse>) => {
|
|
34
22
|
data: {
|
|
35
|
-
behaviorSegments:
|
|
36
|
-
code: string;
|
|
37
|
-
description: string | null;
|
|
38
|
-
label: string;
|
|
39
|
-
isActive: boolean;
|
|
40
|
-
displayOrder: number | null;
|
|
41
|
-
}[];
|
|
23
|
+
behaviorSegments: components["schemas"]["Segment"][];
|
|
42
24
|
} | undefined;
|
|
43
25
|
error: any;
|
|
44
26
|
mutate: swr.KeyedMutator<{
|
|
45
|
-
behaviorSegments:
|
|
46
|
-
code: string;
|
|
47
|
-
description: string | null;
|
|
48
|
-
label: string;
|
|
49
|
-
isActive: boolean;
|
|
50
|
-
displayOrder: number | null;
|
|
51
|
-
}[];
|
|
27
|
+
behaviorSegments: components["schemas"]["Segment"][];
|
|
52
28
|
}>;
|
|
53
29
|
isValidating: boolean;
|
|
54
30
|
isLoading: boolean;
|
|
@@ -1,30 +1,18 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
-
import { components } from '../schemaType.js';
|
|
4
3
|
import * as swr from 'swr';
|
|
5
4
|
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:
|
|
12
|
-
code: string;
|
|
13
|
-
description: string | null;
|
|
14
|
-
label: string;
|
|
15
|
-
isActive: boolean;
|
|
16
|
-
displayOrder: number | null;
|
|
17
|
-
}[];
|
|
11
|
+
behaviorSegments: components["schemas"]["Segment"][];
|
|
18
12
|
} | undefined;
|
|
19
13
|
error: any;
|
|
20
14
|
mutate: swr.KeyedMutator<{
|
|
21
|
-
behaviorSegments:
|
|
22
|
-
code: string;
|
|
23
|
-
description: string | null;
|
|
24
|
-
label: string;
|
|
25
|
-
isActive: boolean;
|
|
26
|
-
displayOrder: number | null;
|
|
27
|
-
}[];
|
|
15
|
+
behaviorSegments: components["schemas"]["Segment"][];
|
|
28
16
|
}>;
|
|
29
17
|
isValidating: boolean;
|
|
30
18
|
isLoading: boolean;
|
|
@@ -32,23 +20,11 @@ declare const useSegmentsBehaviorSegments: (swrConfig?: Configuration<SegmentsBe
|
|
|
32
20
|
};
|
|
33
21
|
declare const useSegmentsBehaviorSegmentsImmutable: (swrConfig?: Configuration<SegmentsBehaviorSegmentsGetResponse>) => {
|
|
34
22
|
data: {
|
|
35
|
-
behaviorSegments:
|
|
36
|
-
code: string;
|
|
37
|
-
description: string | null;
|
|
38
|
-
label: string;
|
|
39
|
-
isActive: boolean;
|
|
40
|
-
displayOrder: number | null;
|
|
41
|
-
}[];
|
|
23
|
+
behaviorSegments: components["schemas"]["Segment"][];
|
|
42
24
|
} | undefined;
|
|
43
25
|
error: any;
|
|
44
26
|
mutate: swr.KeyedMutator<{
|
|
45
|
-
behaviorSegments:
|
|
46
|
-
code: string;
|
|
47
|
-
description: string | null;
|
|
48
|
-
label: string;
|
|
49
|
-
isActive: boolean;
|
|
50
|
-
displayOrder: number | null;
|
|
51
|
-
}[];
|
|
27
|
+
behaviorSegments: components["schemas"]["Segment"][];
|
|
52
28
|
}>;
|
|
53
29
|
isValidating: boolean;
|
|
54
30
|
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-KBTZNIQJ.mjs";
|
|
16
15
|
import "../chunk-HQKSU4DI.mjs";
|
|
16
|
+
import "../chunk-KBTZNIQJ.mjs";
|
|
17
17
|
export {
|
|
18
18
|
useSegmentsBehaviorSegments,
|
|
19
19
|
useSegmentsBehaviorSegmentsImmutable,
|
|
@@ -1,30 +1,18 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
-
import { components } from '../schemaType.mjs';
|
|
4
3
|
import * as swr from 'swr';
|
|
5
4
|
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:
|
|
12
|
-
code: string;
|
|
13
|
-
description: string | null;
|
|
14
|
-
label: string;
|
|
15
|
-
isActive: boolean;
|
|
16
|
-
displayOrder: number | null;
|
|
17
|
-
}[];
|
|
11
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
18
12
|
} | undefined;
|
|
19
13
|
error: any;
|
|
20
14
|
mutate: swr.KeyedMutator<{
|
|
21
|
-
profileSegments:
|
|
22
|
-
code: string;
|
|
23
|
-
description: string | null;
|
|
24
|
-
label: string;
|
|
25
|
-
isActive: boolean;
|
|
26
|
-
displayOrder: number | null;
|
|
27
|
-
}[];
|
|
15
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
28
16
|
}>;
|
|
29
17
|
isValidating: boolean;
|
|
30
18
|
isLoading: boolean;
|
|
@@ -32,23 +20,11 @@ declare const useSegmentsProfileSegments: (swrConfig?: Configuration<SegmentsPro
|
|
|
32
20
|
};
|
|
33
21
|
declare const useSegmentsProfileSegmentsImmutable: (swrConfig?: Configuration<SegmentsProfileSegmentsGetResponse>) => {
|
|
34
22
|
data: {
|
|
35
|
-
profileSegments:
|
|
36
|
-
code: string;
|
|
37
|
-
description: string | null;
|
|
38
|
-
label: string;
|
|
39
|
-
isActive: boolean;
|
|
40
|
-
displayOrder: number | null;
|
|
41
|
-
}[];
|
|
23
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
42
24
|
} | undefined;
|
|
43
25
|
error: any;
|
|
44
26
|
mutate: swr.KeyedMutator<{
|
|
45
|
-
profileSegments:
|
|
46
|
-
code: string;
|
|
47
|
-
description: string | null;
|
|
48
|
-
label: string;
|
|
49
|
-
isActive: boolean;
|
|
50
|
-
displayOrder: number | null;
|
|
51
|
-
}[];
|
|
27
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
52
28
|
}>;
|
|
53
29
|
isValidating: boolean;
|
|
54
30
|
isLoading: boolean;
|
|
@@ -1,30 +1,18 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
-
import { components } from '../schemaType.js';
|
|
4
3
|
import * as swr from 'swr';
|
|
5
4
|
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:
|
|
12
|
-
code: string;
|
|
13
|
-
description: string | null;
|
|
14
|
-
label: string;
|
|
15
|
-
isActive: boolean;
|
|
16
|
-
displayOrder: number | null;
|
|
17
|
-
}[];
|
|
11
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
18
12
|
} | undefined;
|
|
19
13
|
error: any;
|
|
20
14
|
mutate: swr.KeyedMutator<{
|
|
21
|
-
profileSegments:
|
|
22
|
-
code: string;
|
|
23
|
-
description: string | null;
|
|
24
|
-
label: string;
|
|
25
|
-
isActive: boolean;
|
|
26
|
-
displayOrder: number | null;
|
|
27
|
-
}[];
|
|
15
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
28
16
|
}>;
|
|
29
17
|
isValidating: boolean;
|
|
30
18
|
isLoading: boolean;
|
|
@@ -32,23 +20,11 @@ declare const useSegmentsProfileSegments: (swrConfig?: Configuration<SegmentsPro
|
|
|
32
20
|
};
|
|
33
21
|
declare const useSegmentsProfileSegmentsImmutable: (swrConfig?: Configuration<SegmentsProfileSegmentsGetResponse>) => {
|
|
34
22
|
data: {
|
|
35
|
-
profileSegments:
|
|
36
|
-
code: string;
|
|
37
|
-
description: string | null;
|
|
38
|
-
label: string;
|
|
39
|
-
isActive: boolean;
|
|
40
|
-
displayOrder: number | null;
|
|
41
|
-
}[];
|
|
23
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
42
24
|
} | undefined;
|
|
43
25
|
error: any;
|
|
44
26
|
mutate: swr.KeyedMutator<{
|
|
45
|
-
profileSegments:
|
|
46
|
-
code: string;
|
|
47
|
-
description: string | null;
|
|
48
|
-
label: string;
|
|
49
|
-
isActive: boolean;
|
|
50
|
-
displayOrder: number | null;
|
|
51
|
-
}[];
|
|
27
|
+
profileSegments: components["schemas"]["Segment"][];
|
|
52
28
|
}>;
|
|
53
29
|
isValidating: boolean;
|
|
54
30
|
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-KBTZNIQJ.mjs";
|
|
16
15
|
import "../chunk-HQKSU4DI.mjs";
|
|
16
|
+
import "../chunk-KBTZNIQJ.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-KBTZNIQJ.mjs";
|
|
16
15
|
import "../chunk-HQKSU4DI.mjs";
|
|
16
|
+
import "../chunk-KBTZNIQJ.mjs";
|
|
17
17
|
export {
|
|
18
18
|
useSegmentsTargetUsersCount,
|
|
19
19
|
useSegmentsTargetUsersCountImmutable,
|
package/dist/index.mjs
CHANGED
|
@@ -39,10 +39,6 @@ import {
|
|
|
39
39
|
buildCampaignsIdPreviewGetFetcher,
|
|
40
40
|
getCampaignsIdPreview
|
|
41
41
|
} from "./chunk-MCXNTHWW.mjs";
|
|
42
|
-
import {
|
|
43
|
-
buildCampaignsIdPreviewDeliveryEmailPostFetcher,
|
|
44
|
-
postCampaignsIdPreviewDeliveryEmail
|
|
45
|
-
} from "./chunk-KBTZNIQJ.mjs";
|
|
46
42
|
import {
|
|
47
43
|
Campaign,
|
|
48
44
|
CampaignBaseFormData,
|
|
@@ -94,6 +90,10 @@ import {
|
|
|
94
90
|
TargetFilterSegments,
|
|
95
91
|
UploadImageFormData
|
|
96
92
|
} 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.
|
|
3
|
+
"version": "0.208.0-pr975.4fd93b5",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"swr": "catalog:",
|
|
30
30
|
"use-sync-external-store": "catalog:use-sync-external-store",
|
|
31
31
|
"zod": "^3.24.1",
|
|
32
|
-
"@readyfor/api-client-base": "0.
|
|
32
|
+
"@readyfor/api-client-base": "0.208.0-pr975.4fd93b5"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"qs": "^6",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"swr": "^2.3.3",
|
|
38
38
|
"use-sync-external-store": "^1.2.2",
|
|
39
39
|
"zod": "^3",
|
|
40
|
-
"@readyfor/api-client-base": "0.
|
|
40
|
+
"@readyfor/api-client-base": "0.208.0-pr975.4fd93b5"
|
|
41
41
|
},
|
|
42
42
|
"peerDependenciesMeta": {
|
|
43
43
|
"react": {
|