@readyfor/api-client-readyfor-api 0.207.2-pr974.caa0ee1 → 0.207.2
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/useV2ContributionsOrderInfo.d.mts +21 -149
- package/dist/hooks/useV2ContributionsOrderInfo.d.ts +21 -149
- package/dist/hooks/useV2ContributionsPaymentInfo.d.mts +9 -93
- package/dist/hooks/useV2ContributionsPaymentInfo.d.ts +9 -93
- package/dist/hooks/useV2ContributionsPaymentMethods.d.mts +21 -69
- package/dist/hooks/useV2ContributionsPaymentMethods.d.ts +21 -69
- package/dist/hooks/useV2ContributionsProjectInfo.d.mts +41 -185
- package/dist/hooks/useV2ContributionsProjectInfo.d.ts +41 -185
- package/dist/hooks/useV2ContributionsRecommendedProjects.d.mts +5 -85
- package/dist/hooks/useV2ContributionsRecommendedProjects.d.ts +5 -85
- package/dist/hooks/useV2ContributionsRecommendedTags.d.mts +5 -17
- package/dist/hooks/useV2ContributionsRecommendedTags.d.ts +5 -17
- package/dist/hooks/useV2ContributionsUserInfo.d.mts +25 -169
- package/dist/hooks/useV2ContributionsUserInfo.d.ts +25 -169
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.mts +5 -21
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.ts +5 -21
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.mts +5 -21
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.ts +5 -21
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.mts +5 -21
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.ts +5 -21
- package/dist/hooks/useV2FundraisingContributors.d.mts +9 -89
- package/dist/hooks/useV2FundraisingContributors.d.ts +9 -89
- package/dist/hooks/useV2FundraisingContributorsCount.d.mts +5 -21
- package/dist/hooks/useV2FundraisingContributorsCount.d.ts +5 -21
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.d.mts +20 -20
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.d.ts +20 -20
- package/dist/hooks/useV2FundraisingContributorsUsers.d.mts +5 -21
- package/dist/hooks/useV2FundraisingContributorsUsers.d.ts +5 -21
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.d.mts +20 -20
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.d.ts +20 -20
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.mts +21 -69
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.ts +21 -69
- package/dist/hooks/useV2FundraisingRewards.d.mts +13 -169
- package/dist/hooks/useV2FundraisingRewards.d.ts +13 -169
- package/dist/hooks/useV2FundraisingRewardsAll.d.mts +5 -17
- package/dist/hooks/useV2FundraisingRewardsAll.d.ts +5 -17
- package/dist/hooks/useV2FundraisingRewardsCsvGenerations.d.mts +20 -20
- package/dist/hooks/useV2FundraisingRewardsCsvGenerations.d.ts +20 -20
- package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.d.mts +20 -20
- package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.d.ts +20 -20
- package/dist/hooks/useV2FundraisingRewardsRewardId.d.mts +45 -105
- package/dist/hooks/useV2FundraisingRewardsRewardId.d.ts +45 -105
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.mts +13 -197
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.ts +13 -197
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.mts +5 -37
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.ts +5 -37
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.mts +45 -193
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.ts +45 -193
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +5 -25
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +5 -25
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.mts +5 -17
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.ts +5 -17
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.mts +13 -153
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.ts +13 -153
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.mts +5 -37
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.ts +5 -37
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.mts +49 -169
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.ts +49 -169
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +5 -25
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +5 -25
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.mts +5 -17
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.ts +5 -17
- package/dist/hooks/useV2OwnerCrmContributorsOrders.d.mts +9 -149
- package/dist/hooks/useV2OwnerCrmContributorsOrders.d.ts +9 -149
- package/dist/hooks/useV2OwnerCrmContributorsProjects.d.mts +5 -25
- package/dist/hooks/useV2OwnerCrmContributorsProjects.d.ts +5 -25
- package/dist/hooks/useV2OwnerCrmContributorsUser.d.mts +40 -40
- package/dist/hooks/useV2OwnerCrmContributorsUser.d.ts +40 -40
- package/dist/hooks/useV2ResourcesBankBranches.d.mts +5 -29
- package/dist/hooks/useV2ResourcesBankBranches.d.ts +5 -29
- package/dist/hooks/useV2ResourcesBanks.d.mts +5 -21
- package/dist/hooks/useV2ResourcesBanks.d.ts +5 -21
- package/dist/hooks/useV2ResourcesUsers.d.mts +5 -29
- package/dist/hooks/useV2ResourcesUsers.d.ts +5 -29
- package/package.json +12 -11
|
@@ -1,24 +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 { V2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetResponse } from '../fetch/v2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.js';
|
|
8
8
|
|
|
9
9
|
declare const useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects: (swrConfig?: Configuration<V2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetResponse>) => {
|
|
10
10
|
data: {
|
|
11
|
-
projects:
|
|
12
|
-
id: number;
|
|
13
|
-
title: string;
|
|
14
|
-
}[];
|
|
11
|
+
projects: components["schemas"]["Fundraising_OwnedProject"][];
|
|
15
12
|
} | undefined;
|
|
16
13
|
error: any;
|
|
17
14
|
mutate: swr.KeyedMutator<{
|
|
18
|
-
projects:
|
|
19
|
-
id: number;
|
|
20
|
-
title: string;
|
|
21
|
-
}[];
|
|
15
|
+
projects: components["schemas"]["Fundraising_OwnedProject"][];
|
|
22
16
|
}>;
|
|
23
17
|
isValidating: boolean;
|
|
24
18
|
isLoading: boolean;
|
|
@@ -26,17 +20,11 @@ declare const useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects: (sw
|
|
|
26
20
|
};
|
|
27
21
|
declare const useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsImmutable: (swrConfig?: Configuration<V2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetResponse>) => {
|
|
28
22
|
data: {
|
|
29
|
-
projects:
|
|
30
|
-
id: number;
|
|
31
|
-
title: string;
|
|
32
|
-
}[];
|
|
23
|
+
projects: components["schemas"]["Fundraising_OwnedProject"][];
|
|
33
24
|
} | undefined;
|
|
34
25
|
error: any;
|
|
35
26
|
mutate: swr.KeyedMutator<{
|
|
36
|
-
projects:
|
|
37
|
-
id: number;
|
|
38
|
-
title: string;
|
|
39
|
-
}[];
|
|
27
|
+
projects: components["schemas"]["Fundraising_OwnedProject"][];
|
|
40
28
|
}>;
|
|
41
29
|
isValidating: boolean;
|
|
42
30
|
isLoading: boolean;
|
|
@@ -1,91 +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 { V2OwnerCrmContributorsOrdersGetQuery, V2OwnerCrmContributorsOrdersGetResponse } from '../fetch/v2OwnerCrmContributorsOrders.mjs';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useV2OwnerCrmContributorsOrders: (query: V2OwnerCrmContributorsOrdersGetQuery, swrConfig?: Configuration<V2OwnerCrmContributorsOrdersGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
totalCount: number;
|
|
15
|
-
currentPerPage: number;
|
|
16
|
-
currentPage: number;
|
|
17
|
-
isFirstPage: boolean;
|
|
18
|
-
isLastPage: boolean;
|
|
19
|
-
prevPage?: number | undefined;
|
|
20
|
-
nextPage?: number | undefined;
|
|
21
|
-
};
|
|
22
|
-
orders: {
|
|
23
|
-
id: number;
|
|
24
|
-
project: {
|
|
25
|
-
imageUrl: string;
|
|
26
|
-
id: number;
|
|
27
|
-
title: string;
|
|
28
|
-
fundingModel: 0 | 1 | 3 | 4;
|
|
29
|
-
};
|
|
30
|
-
amount: number;
|
|
31
|
-
orderedAt: string;
|
|
32
|
-
settlementStatus: string;
|
|
33
|
-
orderRewards: {
|
|
34
|
-
options: {
|
|
35
|
-
name: string;
|
|
36
|
-
value?: string | undefined;
|
|
37
|
-
}[];
|
|
38
|
-
id: number;
|
|
39
|
-
title: string;
|
|
40
|
-
deliveryState: "unnecessary" | "complete" | "fail" | "unprocess";
|
|
41
|
-
quantity: number;
|
|
42
|
-
}[];
|
|
43
|
-
delivery?: {
|
|
44
|
-
phoneNumber: string;
|
|
45
|
-
receiverName: string;
|
|
46
|
-
address: string;
|
|
47
|
-
} | undefined;
|
|
48
|
-
}[];
|
|
12
|
+
orders: components["schemas"]["OwnerCrm_OrderWithOrderRewards"][];
|
|
13
|
+
pagination: components["schemas"]["OwnerCrm_Pagination"];
|
|
49
14
|
} | undefined;
|
|
50
15
|
error: any;
|
|
51
16
|
mutate: swr.KeyedMutator<{
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
totalCount: number;
|
|
55
|
-
currentPerPage: number;
|
|
56
|
-
currentPage: number;
|
|
57
|
-
isFirstPage: boolean;
|
|
58
|
-
isLastPage: boolean;
|
|
59
|
-
prevPage?: number | undefined;
|
|
60
|
-
nextPage?: number | undefined;
|
|
61
|
-
};
|
|
62
|
-
orders: {
|
|
63
|
-
id: number;
|
|
64
|
-
project: {
|
|
65
|
-
imageUrl: string;
|
|
66
|
-
id: number;
|
|
67
|
-
title: string;
|
|
68
|
-
fundingModel: 0 | 1 | 3 | 4;
|
|
69
|
-
};
|
|
70
|
-
amount: number;
|
|
71
|
-
orderedAt: string;
|
|
72
|
-
settlementStatus: string;
|
|
73
|
-
orderRewards: {
|
|
74
|
-
options: {
|
|
75
|
-
name: string;
|
|
76
|
-
value?: string | undefined;
|
|
77
|
-
}[];
|
|
78
|
-
id: number;
|
|
79
|
-
title: string;
|
|
80
|
-
deliveryState: "unnecessary" | "complete" | "fail" | "unprocess";
|
|
81
|
-
quantity: number;
|
|
82
|
-
}[];
|
|
83
|
-
delivery?: {
|
|
84
|
-
phoneNumber: string;
|
|
85
|
-
receiverName: string;
|
|
86
|
-
address: string;
|
|
87
|
-
} | undefined;
|
|
88
|
-
}[];
|
|
17
|
+
orders: components["schemas"]["OwnerCrm_OrderWithOrderRewards"][];
|
|
18
|
+
pagination: components["schemas"]["OwnerCrm_Pagination"];
|
|
89
19
|
}>;
|
|
90
20
|
isValidating: boolean;
|
|
91
21
|
isLoading: boolean;
|
|
@@ -93,83 +23,13 @@ declare const useV2OwnerCrmContributorsOrders: (query: V2OwnerCrmContributorsOrd
|
|
|
93
23
|
};
|
|
94
24
|
declare const useV2OwnerCrmContributorsOrdersImmutable: (query: V2OwnerCrmContributorsOrdersGetQuery, swrConfig?: Configuration<V2OwnerCrmContributorsOrdersGetResponse>) => {
|
|
95
25
|
data: {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
totalCount: number;
|
|
99
|
-
currentPerPage: number;
|
|
100
|
-
currentPage: number;
|
|
101
|
-
isFirstPage: boolean;
|
|
102
|
-
isLastPage: boolean;
|
|
103
|
-
prevPage?: number | undefined;
|
|
104
|
-
nextPage?: number | undefined;
|
|
105
|
-
};
|
|
106
|
-
orders: {
|
|
107
|
-
id: number;
|
|
108
|
-
project: {
|
|
109
|
-
imageUrl: string;
|
|
110
|
-
id: number;
|
|
111
|
-
title: string;
|
|
112
|
-
fundingModel: 0 | 1 | 3 | 4;
|
|
113
|
-
};
|
|
114
|
-
amount: number;
|
|
115
|
-
orderedAt: string;
|
|
116
|
-
settlementStatus: string;
|
|
117
|
-
orderRewards: {
|
|
118
|
-
options: {
|
|
119
|
-
name: string;
|
|
120
|
-
value?: string | undefined;
|
|
121
|
-
}[];
|
|
122
|
-
id: number;
|
|
123
|
-
title: string;
|
|
124
|
-
deliveryState: "unnecessary" | "complete" | "fail" | "unprocess";
|
|
125
|
-
quantity: number;
|
|
126
|
-
}[];
|
|
127
|
-
delivery?: {
|
|
128
|
-
phoneNumber: string;
|
|
129
|
-
receiverName: string;
|
|
130
|
-
address: string;
|
|
131
|
-
} | undefined;
|
|
132
|
-
}[];
|
|
26
|
+
orders: components["schemas"]["OwnerCrm_OrderWithOrderRewards"][];
|
|
27
|
+
pagination: components["schemas"]["OwnerCrm_Pagination"];
|
|
133
28
|
} | undefined;
|
|
134
29
|
error: any;
|
|
135
30
|
mutate: swr.KeyedMutator<{
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
totalCount: number;
|
|
139
|
-
currentPerPage: number;
|
|
140
|
-
currentPage: number;
|
|
141
|
-
isFirstPage: boolean;
|
|
142
|
-
isLastPage: boolean;
|
|
143
|
-
prevPage?: number | undefined;
|
|
144
|
-
nextPage?: number | undefined;
|
|
145
|
-
};
|
|
146
|
-
orders: {
|
|
147
|
-
id: number;
|
|
148
|
-
project: {
|
|
149
|
-
imageUrl: string;
|
|
150
|
-
id: number;
|
|
151
|
-
title: string;
|
|
152
|
-
fundingModel: 0 | 1 | 3 | 4;
|
|
153
|
-
};
|
|
154
|
-
amount: number;
|
|
155
|
-
orderedAt: string;
|
|
156
|
-
settlementStatus: string;
|
|
157
|
-
orderRewards: {
|
|
158
|
-
options: {
|
|
159
|
-
name: string;
|
|
160
|
-
value?: string | undefined;
|
|
161
|
-
}[];
|
|
162
|
-
id: number;
|
|
163
|
-
title: string;
|
|
164
|
-
deliveryState: "unnecessary" | "complete" | "fail" | "unprocess";
|
|
165
|
-
quantity: number;
|
|
166
|
-
}[];
|
|
167
|
-
delivery?: {
|
|
168
|
-
phoneNumber: string;
|
|
169
|
-
receiverName: string;
|
|
170
|
-
address: string;
|
|
171
|
-
} | undefined;
|
|
172
|
-
}[];
|
|
31
|
+
orders: components["schemas"]["OwnerCrm_OrderWithOrderRewards"][];
|
|
32
|
+
pagination: components["schemas"]["OwnerCrm_Pagination"];
|
|
173
33
|
}>;
|
|
174
34
|
isValidating: boolean;
|
|
175
35
|
isLoading: boolean;
|
|
@@ -1,91 +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 { V2OwnerCrmContributorsOrdersGetQuery, V2OwnerCrmContributorsOrdersGetResponse } from '../fetch/v2OwnerCrmContributorsOrders.js';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useV2OwnerCrmContributorsOrders: (query: V2OwnerCrmContributorsOrdersGetQuery, swrConfig?: Configuration<V2OwnerCrmContributorsOrdersGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
totalCount: number;
|
|
15
|
-
currentPerPage: number;
|
|
16
|
-
currentPage: number;
|
|
17
|
-
isFirstPage: boolean;
|
|
18
|
-
isLastPage: boolean;
|
|
19
|
-
prevPage?: number | undefined;
|
|
20
|
-
nextPage?: number | undefined;
|
|
21
|
-
};
|
|
22
|
-
orders: {
|
|
23
|
-
id: number;
|
|
24
|
-
project: {
|
|
25
|
-
imageUrl: string;
|
|
26
|
-
id: number;
|
|
27
|
-
title: string;
|
|
28
|
-
fundingModel: 0 | 1 | 3 | 4;
|
|
29
|
-
};
|
|
30
|
-
amount: number;
|
|
31
|
-
orderedAt: string;
|
|
32
|
-
settlementStatus: string;
|
|
33
|
-
orderRewards: {
|
|
34
|
-
options: {
|
|
35
|
-
name: string;
|
|
36
|
-
value?: string | undefined;
|
|
37
|
-
}[];
|
|
38
|
-
id: number;
|
|
39
|
-
title: string;
|
|
40
|
-
deliveryState: "unnecessary" | "complete" | "fail" | "unprocess";
|
|
41
|
-
quantity: number;
|
|
42
|
-
}[];
|
|
43
|
-
delivery?: {
|
|
44
|
-
phoneNumber: string;
|
|
45
|
-
receiverName: string;
|
|
46
|
-
address: string;
|
|
47
|
-
} | undefined;
|
|
48
|
-
}[];
|
|
12
|
+
orders: components["schemas"]["OwnerCrm_OrderWithOrderRewards"][];
|
|
13
|
+
pagination: components["schemas"]["OwnerCrm_Pagination"];
|
|
49
14
|
} | undefined;
|
|
50
15
|
error: any;
|
|
51
16
|
mutate: swr.KeyedMutator<{
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
totalCount: number;
|
|
55
|
-
currentPerPage: number;
|
|
56
|
-
currentPage: number;
|
|
57
|
-
isFirstPage: boolean;
|
|
58
|
-
isLastPage: boolean;
|
|
59
|
-
prevPage?: number | undefined;
|
|
60
|
-
nextPage?: number | undefined;
|
|
61
|
-
};
|
|
62
|
-
orders: {
|
|
63
|
-
id: number;
|
|
64
|
-
project: {
|
|
65
|
-
imageUrl: string;
|
|
66
|
-
id: number;
|
|
67
|
-
title: string;
|
|
68
|
-
fundingModel: 0 | 1 | 3 | 4;
|
|
69
|
-
};
|
|
70
|
-
amount: number;
|
|
71
|
-
orderedAt: string;
|
|
72
|
-
settlementStatus: string;
|
|
73
|
-
orderRewards: {
|
|
74
|
-
options: {
|
|
75
|
-
name: string;
|
|
76
|
-
value?: string | undefined;
|
|
77
|
-
}[];
|
|
78
|
-
id: number;
|
|
79
|
-
title: string;
|
|
80
|
-
deliveryState: "unnecessary" | "complete" | "fail" | "unprocess";
|
|
81
|
-
quantity: number;
|
|
82
|
-
}[];
|
|
83
|
-
delivery?: {
|
|
84
|
-
phoneNumber: string;
|
|
85
|
-
receiverName: string;
|
|
86
|
-
address: string;
|
|
87
|
-
} | undefined;
|
|
88
|
-
}[];
|
|
17
|
+
orders: components["schemas"]["OwnerCrm_OrderWithOrderRewards"][];
|
|
18
|
+
pagination: components["schemas"]["OwnerCrm_Pagination"];
|
|
89
19
|
}>;
|
|
90
20
|
isValidating: boolean;
|
|
91
21
|
isLoading: boolean;
|
|
@@ -93,83 +23,13 @@ declare const useV2OwnerCrmContributorsOrders: (query: V2OwnerCrmContributorsOrd
|
|
|
93
23
|
};
|
|
94
24
|
declare const useV2OwnerCrmContributorsOrdersImmutable: (query: V2OwnerCrmContributorsOrdersGetQuery, swrConfig?: Configuration<V2OwnerCrmContributorsOrdersGetResponse>) => {
|
|
95
25
|
data: {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
totalCount: number;
|
|
99
|
-
currentPerPage: number;
|
|
100
|
-
currentPage: number;
|
|
101
|
-
isFirstPage: boolean;
|
|
102
|
-
isLastPage: boolean;
|
|
103
|
-
prevPage?: number | undefined;
|
|
104
|
-
nextPage?: number | undefined;
|
|
105
|
-
};
|
|
106
|
-
orders: {
|
|
107
|
-
id: number;
|
|
108
|
-
project: {
|
|
109
|
-
imageUrl: string;
|
|
110
|
-
id: number;
|
|
111
|
-
title: string;
|
|
112
|
-
fundingModel: 0 | 1 | 3 | 4;
|
|
113
|
-
};
|
|
114
|
-
amount: number;
|
|
115
|
-
orderedAt: string;
|
|
116
|
-
settlementStatus: string;
|
|
117
|
-
orderRewards: {
|
|
118
|
-
options: {
|
|
119
|
-
name: string;
|
|
120
|
-
value?: string | undefined;
|
|
121
|
-
}[];
|
|
122
|
-
id: number;
|
|
123
|
-
title: string;
|
|
124
|
-
deliveryState: "unnecessary" | "complete" | "fail" | "unprocess";
|
|
125
|
-
quantity: number;
|
|
126
|
-
}[];
|
|
127
|
-
delivery?: {
|
|
128
|
-
phoneNumber: string;
|
|
129
|
-
receiverName: string;
|
|
130
|
-
address: string;
|
|
131
|
-
} | undefined;
|
|
132
|
-
}[];
|
|
26
|
+
orders: components["schemas"]["OwnerCrm_OrderWithOrderRewards"][];
|
|
27
|
+
pagination: components["schemas"]["OwnerCrm_Pagination"];
|
|
133
28
|
} | undefined;
|
|
134
29
|
error: any;
|
|
135
30
|
mutate: swr.KeyedMutator<{
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
totalCount: number;
|
|
139
|
-
currentPerPage: number;
|
|
140
|
-
currentPage: number;
|
|
141
|
-
isFirstPage: boolean;
|
|
142
|
-
isLastPage: boolean;
|
|
143
|
-
prevPage?: number | undefined;
|
|
144
|
-
nextPage?: number | undefined;
|
|
145
|
-
};
|
|
146
|
-
orders: {
|
|
147
|
-
id: number;
|
|
148
|
-
project: {
|
|
149
|
-
imageUrl: string;
|
|
150
|
-
id: number;
|
|
151
|
-
title: string;
|
|
152
|
-
fundingModel: 0 | 1 | 3 | 4;
|
|
153
|
-
};
|
|
154
|
-
amount: number;
|
|
155
|
-
orderedAt: string;
|
|
156
|
-
settlementStatus: string;
|
|
157
|
-
orderRewards: {
|
|
158
|
-
options: {
|
|
159
|
-
name: string;
|
|
160
|
-
value?: string | undefined;
|
|
161
|
-
}[];
|
|
162
|
-
id: number;
|
|
163
|
-
title: string;
|
|
164
|
-
deliveryState: "unnecessary" | "complete" | "fail" | "unprocess";
|
|
165
|
-
quantity: number;
|
|
166
|
-
}[];
|
|
167
|
-
delivery?: {
|
|
168
|
-
phoneNumber: string;
|
|
169
|
-
receiverName: string;
|
|
170
|
-
address: string;
|
|
171
|
-
} | undefined;
|
|
172
|
-
}[];
|
|
31
|
+
orders: components["schemas"]["OwnerCrm_OrderWithOrderRewards"][];
|
|
32
|
+
pagination: components["schemas"]["OwnerCrm_Pagination"];
|
|
173
33
|
}>;
|
|
174
34
|
isValidating: boolean;
|
|
175
35
|
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.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 { V2OwnerCrmContributorsProjectsGetQuery, V2OwnerCrmContributorsProjectsGetResponse } from '../fetch/v2OwnerCrmContributorsProjects.mjs';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useV2OwnerCrmContributorsProjects: (query: V2OwnerCrmContributorsProjectsGetQuery, swrConfig?: Configuration<V2OwnerCrmContributorsProjectsGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
projects:
|
|
13
|
-
imageUrl: string;
|
|
14
|
-
id: number;
|
|
15
|
-
title: string;
|
|
16
|
-
fundingModel: 0 | 1 | 3 | 4;
|
|
17
|
-
}[];
|
|
12
|
+
projects: components["schemas"]["OwnerCrm_Project"][];
|
|
18
13
|
} | undefined;
|
|
19
14
|
error: any;
|
|
20
15
|
mutate: swr.KeyedMutator<{
|
|
21
|
-
projects:
|
|
22
|
-
imageUrl: string;
|
|
23
|
-
id: number;
|
|
24
|
-
title: string;
|
|
25
|
-
fundingModel: 0 | 1 | 3 | 4;
|
|
26
|
-
}[];
|
|
16
|
+
projects: components["schemas"]["OwnerCrm_Project"][];
|
|
27
17
|
}>;
|
|
28
18
|
isValidating: boolean;
|
|
29
19
|
isLoading: boolean;
|
|
@@ -31,21 +21,11 @@ declare const useV2OwnerCrmContributorsProjects: (query: V2OwnerCrmContributorsP
|
|
|
31
21
|
};
|
|
32
22
|
declare const useV2OwnerCrmContributorsProjectsImmutable: (query: V2OwnerCrmContributorsProjectsGetQuery, swrConfig?: Configuration<V2OwnerCrmContributorsProjectsGetResponse>) => {
|
|
33
23
|
data: {
|
|
34
|
-
projects:
|
|
35
|
-
imageUrl: string;
|
|
36
|
-
id: number;
|
|
37
|
-
title: string;
|
|
38
|
-
fundingModel: 0 | 1 | 3 | 4;
|
|
39
|
-
}[];
|
|
24
|
+
projects: components["schemas"]["OwnerCrm_Project"][];
|
|
40
25
|
} | undefined;
|
|
41
26
|
error: any;
|
|
42
27
|
mutate: swr.KeyedMutator<{
|
|
43
|
-
projects:
|
|
44
|
-
imageUrl: string;
|
|
45
|
-
id: number;
|
|
46
|
-
title: string;
|
|
47
|
-
fundingModel: 0 | 1 | 3 | 4;
|
|
48
|
-
}[];
|
|
28
|
+
projects: components["schemas"]["OwnerCrm_Project"][];
|
|
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 { V2OwnerCrmContributorsProjectsGetQuery, V2OwnerCrmContributorsProjectsGetResponse } from '../fetch/v2OwnerCrmContributorsProjects.js';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useV2OwnerCrmContributorsProjects: (query: V2OwnerCrmContributorsProjectsGetQuery, swrConfig?: Configuration<V2OwnerCrmContributorsProjectsGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
projects:
|
|
13
|
-
imageUrl: string;
|
|
14
|
-
id: number;
|
|
15
|
-
title: string;
|
|
16
|
-
fundingModel: 0 | 1 | 3 | 4;
|
|
17
|
-
}[];
|
|
12
|
+
projects: components["schemas"]["OwnerCrm_Project"][];
|
|
18
13
|
} | undefined;
|
|
19
14
|
error: any;
|
|
20
15
|
mutate: swr.KeyedMutator<{
|
|
21
|
-
projects:
|
|
22
|
-
imageUrl: string;
|
|
23
|
-
id: number;
|
|
24
|
-
title: string;
|
|
25
|
-
fundingModel: 0 | 1 | 3 | 4;
|
|
26
|
-
}[];
|
|
16
|
+
projects: components["schemas"]["OwnerCrm_Project"][];
|
|
27
17
|
}>;
|
|
28
18
|
isValidating: boolean;
|
|
29
19
|
isLoading: boolean;
|
|
@@ -31,21 +21,11 @@ declare const useV2OwnerCrmContributorsProjects: (query: V2OwnerCrmContributorsP
|
|
|
31
21
|
};
|
|
32
22
|
declare const useV2OwnerCrmContributorsProjectsImmutable: (query: V2OwnerCrmContributorsProjectsGetQuery, swrConfig?: Configuration<V2OwnerCrmContributorsProjectsGetResponse>) => {
|
|
33
23
|
data: {
|
|
34
|
-
projects:
|
|
35
|
-
imageUrl: string;
|
|
36
|
-
id: number;
|
|
37
|
-
title: string;
|
|
38
|
-
fundingModel: 0 | 1 | 3 | 4;
|
|
39
|
-
}[];
|
|
24
|
+
projects: components["schemas"]["OwnerCrm_Project"][];
|
|
40
25
|
} | undefined;
|
|
41
26
|
error: any;
|
|
42
27
|
mutate: swr.KeyedMutator<{
|
|
43
|
-
projects:
|
|
44
|
-
imageUrl: string;
|
|
45
|
-
id: number;
|
|
46
|
-
title: string;
|
|
47
|
-
fundingModel: 0 | 1 | 3 | 4;
|
|
48
|
-
}[];
|
|
28
|
+
projects: components["schemas"]["OwnerCrm_Project"][];
|
|
49
29
|
}>;
|
|
50
30
|
isValidating: boolean;
|
|
51
31
|
isLoading: boolean;
|
|
@@ -9,39 +9,39 @@ import '@readyfor/api-client-base';
|
|
|
9
9
|
|
|
10
10
|
declare const useV2OwnerCrmContributorsUser: (query: V2OwnerCrmContributorsUserGetQuery, swrConfig?: Configuration<V2OwnerCrmContributorsUserGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
|
|
13
|
-
email: string;
|
|
12
|
+
id: number;
|
|
14
13
|
name: string;
|
|
15
|
-
|
|
14
|
+
email: string;
|
|
15
|
+
imageUrl: string;
|
|
16
|
+
facebookUrl?: string;
|
|
17
|
+
twitterUrl?: string;
|
|
18
|
+
url?: string;
|
|
16
19
|
totalAmount: number;
|
|
17
|
-
id: number;
|
|
18
20
|
totalCount: number;
|
|
19
|
-
isActive: boolean;
|
|
20
|
-
memo: string;
|
|
21
21
|
numberOfProjects: number;
|
|
22
|
+
latestContributionDate: string;
|
|
23
|
+
memo: string;
|
|
24
|
+
profile?: string;
|
|
25
|
+
isActive: boolean;
|
|
22
26
|
messageRoomId: number | null;
|
|
23
|
-
facebookUrl?: string | undefined;
|
|
24
|
-
twitterUrl?: string | undefined;
|
|
25
|
-
url?: string | undefined;
|
|
26
|
-
profile?: string | undefined;
|
|
27
27
|
} | undefined;
|
|
28
28
|
error: any;
|
|
29
29
|
mutate: swr.KeyedMutator<{
|
|
30
|
-
|
|
31
|
-
email: string;
|
|
30
|
+
id: number;
|
|
32
31
|
name: string;
|
|
33
|
-
|
|
32
|
+
email: string;
|
|
33
|
+
imageUrl: string;
|
|
34
|
+
facebookUrl?: string;
|
|
35
|
+
twitterUrl?: string;
|
|
36
|
+
url?: string;
|
|
34
37
|
totalAmount: number;
|
|
35
|
-
id: number;
|
|
36
38
|
totalCount: number;
|
|
37
|
-
isActive: boolean;
|
|
38
|
-
memo: string;
|
|
39
39
|
numberOfProjects: number;
|
|
40
|
+
latestContributionDate: string;
|
|
41
|
+
memo: string;
|
|
42
|
+
profile?: string;
|
|
43
|
+
isActive: boolean;
|
|
40
44
|
messageRoomId: number | null;
|
|
41
|
-
facebookUrl?: string | undefined;
|
|
42
|
-
twitterUrl?: string | undefined;
|
|
43
|
-
url?: string | undefined;
|
|
44
|
-
profile?: string | undefined;
|
|
45
45
|
}>;
|
|
46
46
|
isValidating: boolean;
|
|
47
47
|
isLoading: boolean;
|
|
@@ -49,39 +49,39 @@ declare const useV2OwnerCrmContributorsUser: (query: V2OwnerCrmContributorsUserG
|
|
|
49
49
|
};
|
|
50
50
|
declare const useV2OwnerCrmContributorsUserImmutable: (query: V2OwnerCrmContributorsUserGetQuery, swrConfig?: Configuration<V2OwnerCrmContributorsUserGetResponse>) => {
|
|
51
51
|
data: {
|
|
52
|
-
|
|
53
|
-
email: string;
|
|
52
|
+
id: number;
|
|
54
53
|
name: string;
|
|
55
|
-
|
|
54
|
+
email: string;
|
|
55
|
+
imageUrl: string;
|
|
56
|
+
facebookUrl?: string;
|
|
57
|
+
twitterUrl?: string;
|
|
58
|
+
url?: string;
|
|
56
59
|
totalAmount: number;
|
|
57
|
-
id: number;
|
|
58
60
|
totalCount: number;
|
|
59
|
-
isActive: boolean;
|
|
60
|
-
memo: string;
|
|
61
61
|
numberOfProjects: number;
|
|
62
|
+
latestContributionDate: string;
|
|
63
|
+
memo: string;
|
|
64
|
+
profile?: string;
|
|
65
|
+
isActive: boolean;
|
|
62
66
|
messageRoomId: number | null;
|
|
63
|
-
facebookUrl?: string | undefined;
|
|
64
|
-
twitterUrl?: string | undefined;
|
|
65
|
-
url?: string | undefined;
|
|
66
|
-
profile?: string | undefined;
|
|
67
67
|
} | undefined;
|
|
68
68
|
error: any;
|
|
69
69
|
mutate: swr.KeyedMutator<{
|
|
70
|
-
|
|
71
|
-
email: string;
|
|
70
|
+
id: number;
|
|
72
71
|
name: string;
|
|
73
|
-
|
|
72
|
+
email: string;
|
|
73
|
+
imageUrl: string;
|
|
74
|
+
facebookUrl?: string;
|
|
75
|
+
twitterUrl?: string;
|
|
76
|
+
url?: string;
|
|
74
77
|
totalAmount: number;
|
|
75
|
-
id: number;
|
|
76
78
|
totalCount: number;
|
|
77
|
-
isActive: boolean;
|
|
78
|
-
memo: string;
|
|
79
79
|
numberOfProjects: number;
|
|
80
|
+
latestContributionDate: string;
|
|
81
|
+
memo: string;
|
|
82
|
+
profile?: string;
|
|
83
|
+
isActive: boolean;
|
|
80
84
|
messageRoomId: number | null;
|
|
81
|
-
facebookUrl?: string | undefined;
|
|
82
|
-
twitterUrl?: string | undefined;
|
|
83
|
-
url?: string | undefined;
|
|
84
|
-
profile?: string | undefined;
|
|
85
85
|
}>;
|
|
86
86
|
isValidating: boolean;
|
|
87
87
|
isLoading: boolean;
|