@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,117 +1,25 @@
|
|
|
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 { V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, V2FundraisingSpotCrowdfundingProjectOrdersGetResponse } from '../fetch/v2FundraisingSpotCrowdfundingProjectOrders.js';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useV2FundraisingSpotCrowdfundingProjectOrders: (query: V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, swrConfig?: Configuration<V2FundraisingSpotCrowdfundingProjectOrdersGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
ordersCount:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
12
|
+
ordersCount: components["schemas"]["FundraisingOrders_SpotCrowdfundingOrdersCount"];
|
|
13
|
+
orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrder"][];
|
|
14
|
+
pagination: components["schemas"]["Fundraising_Pagination"];
|
|
16
15
|
needsPaymentDeadlineAlert: boolean;
|
|
17
|
-
pagination: {
|
|
18
|
-
totalPages: number;
|
|
19
|
-
totalCount: number;
|
|
20
|
-
currentPerPage: number;
|
|
21
|
-
currentPage: number;
|
|
22
|
-
isFirstPage: boolean;
|
|
23
|
-
isLastPage: boolean;
|
|
24
|
-
prevPage?: number | undefined;
|
|
25
|
-
nextPage?: number | undefined;
|
|
26
|
-
};
|
|
27
|
-
orders: {
|
|
28
|
-
contributor: {
|
|
29
|
-
email: string | null;
|
|
30
|
-
name: string;
|
|
31
|
-
id: number;
|
|
32
|
-
imageUrl?: string | undefined;
|
|
33
|
-
};
|
|
34
|
-
createdAt: string;
|
|
35
|
-
payAmount: number;
|
|
36
|
-
id: number;
|
|
37
|
-
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
38
|
-
project: {
|
|
39
|
-
id: number;
|
|
40
|
-
title: string;
|
|
41
|
-
keyword?: string | undefined;
|
|
42
|
-
};
|
|
43
|
-
payment: {
|
|
44
|
-
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
45
|
-
state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
|
|
46
|
-
};
|
|
47
|
-
rewardDeliveries: {
|
|
48
|
-
rewardThumbnailUrl: string;
|
|
49
|
-
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
50
|
-
rewardTitle?: string | undefined;
|
|
51
|
-
}[];
|
|
52
|
-
deliveryProtected: boolean;
|
|
53
|
-
needsPaymentDeadlineAlert: boolean;
|
|
54
|
-
hasRewardExOptionAnswer: boolean;
|
|
55
|
-
delivery?: {
|
|
56
|
-
zipCode: string;
|
|
57
|
-
deliveryAddress: string;
|
|
58
|
-
phoneNumber: string;
|
|
59
|
-
deliveryName: string;
|
|
60
|
-
} | undefined;
|
|
61
|
-
}[];
|
|
62
16
|
} | undefined;
|
|
63
17
|
error: any;
|
|
64
18
|
mutate: swr.KeyedMutator<{
|
|
65
|
-
ordersCount:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
};
|
|
19
|
+
ordersCount: components["schemas"]["FundraisingOrders_SpotCrowdfundingOrdersCount"];
|
|
20
|
+
orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrder"][];
|
|
21
|
+
pagination: components["schemas"]["Fundraising_Pagination"];
|
|
69
22
|
needsPaymentDeadlineAlert: boolean;
|
|
70
|
-
pagination: {
|
|
71
|
-
totalPages: number;
|
|
72
|
-
totalCount: number;
|
|
73
|
-
currentPerPage: number;
|
|
74
|
-
currentPage: number;
|
|
75
|
-
isFirstPage: boolean;
|
|
76
|
-
isLastPage: boolean;
|
|
77
|
-
prevPage?: number | undefined;
|
|
78
|
-
nextPage?: number | undefined;
|
|
79
|
-
};
|
|
80
|
-
orders: {
|
|
81
|
-
contributor: {
|
|
82
|
-
email: string | null;
|
|
83
|
-
name: string;
|
|
84
|
-
id: number;
|
|
85
|
-
imageUrl?: string | undefined;
|
|
86
|
-
};
|
|
87
|
-
createdAt: string;
|
|
88
|
-
payAmount: number;
|
|
89
|
-
id: number;
|
|
90
|
-
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
91
|
-
project: {
|
|
92
|
-
id: number;
|
|
93
|
-
title: string;
|
|
94
|
-
keyword?: string | undefined;
|
|
95
|
-
};
|
|
96
|
-
payment: {
|
|
97
|
-
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
98
|
-
state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
|
|
99
|
-
};
|
|
100
|
-
rewardDeliveries: {
|
|
101
|
-
rewardThumbnailUrl: string;
|
|
102
|
-
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
103
|
-
rewardTitle?: string | undefined;
|
|
104
|
-
}[];
|
|
105
|
-
deliveryProtected: boolean;
|
|
106
|
-
needsPaymentDeadlineAlert: boolean;
|
|
107
|
-
hasRewardExOptionAnswer: boolean;
|
|
108
|
-
delivery?: {
|
|
109
|
-
zipCode: string;
|
|
110
|
-
deliveryAddress: string;
|
|
111
|
-
phoneNumber: string;
|
|
112
|
-
deliveryName: string;
|
|
113
|
-
} | undefined;
|
|
114
|
-
}[];
|
|
115
23
|
}>;
|
|
116
24
|
isValidating: boolean;
|
|
117
25
|
isLoading: boolean;
|
|
@@ -119,109 +27,17 @@ declare const useV2FundraisingSpotCrowdfundingProjectOrders: (query: V2Fundraisi
|
|
|
119
27
|
};
|
|
120
28
|
declare const useV2FundraisingSpotCrowdfundingProjectOrdersImmutable: (query: V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, swrConfig?: Configuration<V2FundraisingSpotCrowdfundingProjectOrdersGetResponse>) => {
|
|
121
29
|
data: {
|
|
122
|
-
ordersCount:
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
};
|
|
30
|
+
ordersCount: components["schemas"]["FundraisingOrders_SpotCrowdfundingOrdersCount"];
|
|
31
|
+
orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrder"][];
|
|
32
|
+
pagination: components["schemas"]["Fundraising_Pagination"];
|
|
126
33
|
needsPaymentDeadlineAlert: boolean;
|
|
127
|
-
pagination: {
|
|
128
|
-
totalPages: number;
|
|
129
|
-
totalCount: number;
|
|
130
|
-
currentPerPage: number;
|
|
131
|
-
currentPage: number;
|
|
132
|
-
isFirstPage: boolean;
|
|
133
|
-
isLastPage: boolean;
|
|
134
|
-
prevPage?: number | undefined;
|
|
135
|
-
nextPage?: number | undefined;
|
|
136
|
-
};
|
|
137
|
-
orders: {
|
|
138
|
-
contributor: {
|
|
139
|
-
email: string | null;
|
|
140
|
-
name: string;
|
|
141
|
-
id: number;
|
|
142
|
-
imageUrl?: string | undefined;
|
|
143
|
-
};
|
|
144
|
-
createdAt: string;
|
|
145
|
-
payAmount: number;
|
|
146
|
-
id: number;
|
|
147
|
-
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
148
|
-
project: {
|
|
149
|
-
id: number;
|
|
150
|
-
title: string;
|
|
151
|
-
keyword?: string | undefined;
|
|
152
|
-
};
|
|
153
|
-
payment: {
|
|
154
|
-
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
155
|
-
state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
|
|
156
|
-
};
|
|
157
|
-
rewardDeliveries: {
|
|
158
|
-
rewardThumbnailUrl: string;
|
|
159
|
-
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
160
|
-
rewardTitle?: string | undefined;
|
|
161
|
-
}[];
|
|
162
|
-
deliveryProtected: boolean;
|
|
163
|
-
needsPaymentDeadlineAlert: boolean;
|
|
164
|
-
hasRewardExOptionAnswer: boolean;
|
|
165
|
-
delivery?: {
|
|
166
|
-
zipCode: string;
|
|
167
|
-
deliveryAddress: string;
|
|
168
|
-
phoneNumber: string;
|
|
169
|
-
deliveryName: string;
|
|
170
|
-
} | undefined;
|
|
171
|
-
}[];
|
|
172
34
|
} | undefined;
|
|
173
35
|
error: any;
|
|
174
36
|
mutate: swr.KeyedMutator<{
|
|
175
|
-
ordersCount:
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
};
|
|
37
|
+
ordersCount: components["schemas"]["FundraisingOrders_SpotCrowdfundingOrdersCount"];
|
|
38
|
+
orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrder"][];
|
|
39
|
+
pagination: components["schemas"]["Fundraising_Pagination"];
|
|
179
40
|
needsPaymentDeadlineAlert: boolean;
|
|
180
|
-
pagination: {
|
|
181
|
-
totalPages: number;
|
|
182
|
-
totalCount: number;
|
|
183
|
-
currentPerPage: number;
|
|
184
|
-
currentPage: number;
|
|
185
|
-
isFirstPage: boolean;
|
|
186
|
-
isLastPage: boolean;
|
|
187
|
-
prevPage?: number | undefined;
|
|
188
|
-
nextPage?: number | undefined;
|
|
189
|
-
};
|
|
190
|
-
orders: {
|
|
191
|
-
contributor: {
|
|
192
|
-
email: string | null;
|
|
193
|
-
name: string;
|
|
194
|
-
id: number;
|
|
195
|
-
imageUrl?: string | undefined;
|
|
196
|
-
};
|
|
197
|
-
createdAt: string;
|
|
198
|
-
payAmount: number;
|
|
199
|
-
id: number;
|
|
200
|
-
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
201
|
-
project: {
|
|
202
|
-
id: number;
|
|
203
|
-
title: string;
|
|
204
|
-
keyword?: string | undefined;
|
|
205
|
-
};
|
|
206
|
-
payment: {
|
|
207
|
-
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
208
|
-
state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
|
|
209
|
-
};
|
|
210
|
-
rewardDeliveries: {
|
|
211
|
-
rewardThumbnailUrl: string;
|
|
212
|
-
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
213
|
-
rewardTitle?: string | undefined;
|
|
214
|
-
}[];
|
|
215
|
-
deliveryProtected: boolean;
|
|
216
|
-
needsPaymentDeadlineAlert: boolean;
|
|
217
|
-
hasRewardExOptionAnswer: boolean;
|
|
218
|
-
delivery?: {
|
|
219
|
-
zipCode: string;
|
|
220
|
-
deliveryAddress: string;
|
|
221
|
-
phoneNumber: string;
|
|
222
|
-
deliveryName: string;
|
|
223
|
-
} | undefined;
|
|
224
|
-
}[];
|
|
225
41
|
}>;
|
|
226
42
|
isValidating: boolean;
|
|
227
43
|
isLoading: boolean;
|
|
@@ -1,35 +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 { V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery, V2FundraisingSpotCrowdfundingProjectOrdersAllGetResponse } from '../fetch/v2FundraisingSpotCrowdfundingProjectOrdersAll.mjs';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useV2FundraisingSpotCrowdfundingProjectOrdersAll: (query: V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery, swrConfig?: Configuration<V2FundraisingSpotCrowdfundingProjectOrdersAllGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
orders:
|
|
13
|
-
contributor: {
|
|
14
|
-
email: string | null;
|
|
15
|
-
name: string;
|
|
16
|
-
id: number;
|
|
17
|
-
imageUrl?: string | undefined;
|
|
18
|
-
};
|
|
19
|
-
id: number;
|
|
20
|
-
}[];
|
|
12
|
+
orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrderSummary"][];
|
|
21
13
|
} | undefined;
|
|
22
14
|
error: any;
|
|
23
15
|
mutate: swr.KeyedMutator<{
|
|
24
|
-
orders:
|
|
25
|
-
contributor: {
|
|
26
|
-
email: string | null;
|
|
27
|
-
name: string;
|
|
28
|
-
id: number;
|
|
29
|
-
imageUrl?: string | undefined;
|
|
30
|
-
};
|
|
31
|
-
id: number;
|
|
32
|
-
}[];
|
|
16
|
+
orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrderSummary"][];
|
|
33
17
|
}>;
|
|
34
18
|
isValidating: boolean;
|
|
35
19
|
isLoading: boolean;
|
|
@@ -37,27 +21,11 @@ declare const useV2FundraisingSpotCrowdfundingProjectOrdersAll: (query: V2Fundra
|
|
|
37
21
|
};
|
|
38
22
|
declare const useV2FundraisingSpotCrowdfundingProjectOrdersAllImmutable: (query: V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery, swrConfig?: Configuration<V2FundraisingSpotCrowdfundingProjectOrdersAllGetResponse>) => {
|
|
39
23
|
data: {
|
|
40
|
-
orders:
|
|
41
|
-
contributor: {
|
|
42
|
-
email: string | null;
|
|
43
|
-
name: string;
|
|
44
|
-
id: number;
|
|
45
|
-
imageUrl?: string | undefined;
|
|
46
|
-
};
|
|
47
|
-
id: number;
|
|
48
|
-
}[];
|
|
24
|
+
orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrderSummary"][];
|
|
49
25
|
} | undefined;
|
|
50
26
|
error: any;
|
|
51
27
|
mutate: swr.KeyedMutator<{
|
|
52
|
-
orders:
|
|
53
|
-
contributor: {
|
|
54
|
-
email: string | null;
|
|
55
|
-
name: string;
|
|
56
|
-
id: number;
|
|
57
|
-
imageUrl?: string | undefined;
|
|
58
|
-
};
|
|
59
|
-
id: number;
|
|
60
|
-
}[];
|
|
28
|
+
orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrderSummary"][];
|
|
61
29
|
}>;
|
|
62
30
|
isValidating: boolean;
|
|
63
31
|
isLoading: boolean;
|
|
@@ -1,35 +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 { V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery, V2FundraisingSpotCrowdfundingProjectOrdersAllGetResponse } from '../fetch/v2FundraisingSpotCrowdfundingProjectOrdersAll.js';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useV2FundraisingSpotCrowdfundingProjectOrdersAll: (query: V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery, swrConfig?: Configuration<V2FundraisingSpotCrowdfundingProjectOrdersAllGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
orders:
|
|
13
|
-
contributor: {
|
|
14
|
-
email: string | null;
|
|
15
|
-
name: string;
|
|
16
|
-
id: number;
|
|
17
|
-
imageUrl?: string | undefined;
|
|
18
|
-
};
|
|
19
|
-
id: number;
|
|
20
|
-
}[];
|
|
12
|
+
orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrderSummary"][];
|
|
21
13
|
} | undefined;
|
|
22
14
|
error: any;
|
|
23
15
|
mutate: swr.KeyedMutator<{
|
|
24
|
-
orders:
|
|
25
|
-
contributor: {
|
|
26
|
-
email: string | null;
|
|
27
|
-
name: string;
|
|
28
|
-
id: number;
|
|
29
|
-
imageUrl?: string | undefined;
|
|
30
|
-
};
|
|
31
|
-
id: number;
|
|
32
|
-
}[];
|
|
16
|
+
orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrderSummary"][];
|
|
33
17
|
}>;
|
|
34
18
|
isValidating: boolean;
|
|
35
19
|
isLoading: boolean;
|
|
@@ -37,27 +21,11 @@ declare const useV2FundraisingSpotCrowdfundingProjectOrdersAll: (query: V2Fundra
|
|
|
37
21
|
};
|
|
38
22
|
declare const useV2FundraisingSpotCrowdfundingProjectOrdersAllImmutable: (query: V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery, swrConfig?: Configuration<V2FundraisingSpotCrowdfundingProjectOrdersAllGetResponse>) => {
|
|
39
23
|
data: {
|
|
40
|
-
orders:
|
|
41
|
-
contributor: {
|
|
42
|
-
email: string | null;
|
|
43
|
-
name: string;
|
|
44
|
-
id: number;
|
|
45
|
-
imageUrl?: string | undefined;
|
|
46
|
-
};
|
|
47
|
-
id: number;
|
|
48
|
-
}[];
|
|
24
|
+
orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrderSummary"][];
|
|
49
25
|
} | undefined;
|
|
50
26
|
error: any;
|
|
51
27
|
mutate: swr.KeyedMutator<{
|
|
52
|
-
orders:
|
|
53
|
-
contributor: {
|
|
54
|
-
email: string | null;
|
|
55
|
-
name: string;
|
|
56
|
-
id: number;
|
|
57
|
-
imageUrl?: string | undefined;
|
|
58
|
-
};
|
|
59
|
-
id: number;
|
|
60
|
-
}[];
|
|
28
|
+
orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrderSummary"][];
|
|
61
29
|
}>;
|
|
62
30
|
isValidating: boolean;
|
|
63
31
|
isLoading: boolean;
|
|
@@ -1,117 +1,43 @@
|
|
|
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 { V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetPath, V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetResponse } from '../fetch/v2FundraisingSpotCrowdfundingProjectOrdersOrderId.mjs';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useV2FundraisingSpotCrowdfundingProjectOrdersOrderId: (path: V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetPath, swrConfig?: Configuration<V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
contributor: {
|
|
13
|
-
imageUrl: string;
|
|
14
|
-
email: string | null;
|
|
15
|
-
name: string;
|
|
16
|
-
id: number;
|
|
17
|
-
isActive: boolean;
|
|
18
|
-
hasValidOrder: boolean;
|
|
19
|
-
};
|
|
20
|
-
createdAt: string;
|
|
21
|
-
payAmount: number;
|
|
22
12
|
id: number;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
rewardDeliveries: {
|
|
33
|
-
price: number;
|
|
34
|
-
id: number;
|
|
35
|
-
rewardThumbnailUrl: string;
|
|
36
|
-
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
37
|
-
selectedCount: number;
|
|
38
|
-
rewardTitle?: string | undefined;
|
|
39
|
-
}[];
|
|
40
|
-
comments: {
|
|
41
|
-
imageUrl: string;
|
|
42
|
-
name: string;
|
|
43
|
-
createdAt: string;
|
|
44
|
-
content: string;
|
|
45
|
-
}[];
|
|
13
|
+
payAmount: number;
|
|
14
|
+
state: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrderState"];
|
|
15
|
+
payment: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrderPayment"];
|
|
16
|
+
createdAt: string;
|
|
17
|
+
contributor: components["schemas"]["FundraisingOrders_ContributorDetail"];
|
|
18
|
+
rewardDeliveries: components["schemas"]["FundraisingOrders_RewardDeliveryDetail"][];
|
|
19
|
+
orderRewardExOptions?: components["schemas"]["FundraisingOrders_RewardExOptions"][];
|
|
20
|
+
delivery?: components["schemas"]["FundraisingOrders_Delivery"];
|
|
21
|
+
comments: components["schemas"]["FundraisingOrders_Comment"][];
|
|
46
22
|
privacyProtected: boolean;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
deliveryAddress: string;
|
|
50
|
-
phoneNumber: string;
|
|
51
|
-
deliveryName: string;
|
|
52
|
-
} | undefined;
|
|
53
|
-
orderRewardExOptions?: {
|
|
54
|
-
options: {
|
|
55
|
-
question: string;
|
|
56
|
-
answer?: string | undefined;
|
|
57
|
-
}[];
|
|
58
|
-
rewardThumbnailUrl: string;
|
|
59
|
-
rewardTitle?: string | undefined;
|
|
60
|
-
}[] | undefined;
|
|
61
|
-
paymentDeadline?: string | undefined;
|
|
23
|
+
project: components["schemas"]["Fundraising_OwnedProject"];
|
|
24
|
+
paymentDeadline?: string;
|
|
62
25
|
} | undefined;
|
|
63
26
|
error: any;
|
|
64
27
|
mutate: swr.KeyedMutator<{
|
|
65
|
-
contributor: {
|
|
66
|
-
imageUrl: string;
|
|
67
|
-
email: string | null;
|
|
68
|
-
name: string;
|
|
69
|
-
id: number;
|
|
70
|
-
isActive: boolean;
|
|
71
|
-
hasValidOrder: boolean;
|
|
72
|
-
};
|
|
73
|
-
createdAt: string;
|
|
74
|
-
payAmount: number;
|
|
75
28
|
id: number;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
rewardDeliveries: {
|
|
86
|
-
price: number;
|
|
87
|
-
id: number;
|
|
88
|
-
rewardThumbnailUrl: string;
|
|
89
|
-
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
90
|
-
selectedCount: number;
|
|
91
|
-
rewardTitle?: string | undefined;
|
|
92
|
-
}[];
|
|
93
|
-
comments: {
|
|
94
|
-
imageUrl: string;
|
|
95
|
-
name: string;
|
|
96
|
-
createdAt: string;
|
|
97
|
-
content: string;
|
|
98
|
-
}[];
|
|
29
|
+
payAmount: number;
|
|
30
|
+
state: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrderState"];
|
|
31
|
+
payment: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrderPayment"];
|
|
32
|
+
createdAt: string;
|
|
33
|
+
contributor: components["schemas"]["FundraisingOrders_ContributorDetail"];
|
|
34
|
+
rewardDeliveries: components["schemas"]["FundraisingOrders_RewardDeliveryDetail"][];
|
|
35
|
+
orderRewardExOptions?: components["schemas"]["FundraisingOrders_RewardExOptions"][];
|
|
36
|
+
delivery?: components["schemas"]["FundraisingOrders_Delivery"];
|
|
37
|
+
comments: components["schemas"]["FundraisingOrders_Comment"][];
|
|
99
38
|
privacyProtected: boolean;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
deliveryAddress: string;
|
|
103
|
-
phoneNumber: string;
|
|
104
|
-
deliveryName: string;
|
|
105
|
-
} | undefined;
|
|
106
|
-
orderRewardExOptions?: {
|
|
107
|
-
options: {
|
|
108
|
-
question: string;
|
|
109
|
-
answer?: string | undefined;
|
|
110
|
-
}[];
|
|
111
|
-
rewardThumbnailUrl: string;
|
|
112
|
-
rewardTitle?: string | undefined;
|
|
113
|
-
}[] | undefined;
|
|
114
|
-
paymentDeadline?: string | undefined;
|
|
39
|
+
project: components["schemas"]["Fundraising_OwnedProject"];
|
|
40
|
+
paymentDeadline?: string;
|
|
115
41
|
}>;
|
|
116
42
|
isValidating: boolean;
|
|
117
43
|
isLoading: boolean;
|
|
@@ -119,109 +45,35 @@ declare const useV2FundraisingSpotCrowdfundingProjectOrdersOrderId: (path: V2Fun
|
|
|
119
45
|
};
|
|
120
46
|
declare const useV2FundraisingSpotCrowdfundingProjectOrdersOrderIdImmutable: (path: V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetPath, swrConfig?: Configuration<V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetResponse>) => {
|
|
121
47
|
data: {
|
|
122
|
-
contributor: {
|
|
123
|
-
imageUrl: string;
|
|
124
|
-
email: string | null;
|
|
125
|
-
name: string;
|
|
126
|
-
id: number;
|
|
127
|
-
isActive: boolean;
|
|
128
|
-
hasValidOrder: boolean;
|
|
129
|
-
};
|
|
130
|
-
createdAt: string;
|
|
131
|
-
payAmount: number;
|
|
132
48
|
id: number;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
rewardDeliveries: {
|
|
143
|
-
price: number;
|
|
144
|
-
id: number;
|
|
145
|
-
rewardThumbnailUrl: string;
|
|
146
|
-
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
147
|
-
selectedCount: number;
|
|
148
|
-
rewardTitle?: string | undefined;
|
|
149
|
-
}[];
|
|
150
|
-
comments: {
|
|
151
|
-
imageUrl: string;
|
|
152
|
-
name: string;
|
|
153
|
-
createdAt: string;
|
|
154
|
-
content: string;
|
|
155
|
-
}[];
|
|
49
|
+
payAmount: number;
|
|
50
|
+
state: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrderState"];
|
|
51
|
+
payment: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrderPayment"];
|
|
52
|
+
createdAt: string;
|
|
53
|
+
contributor: components["schemas"]["FundraisingOrders_ContributorDetail"];
|
|
54
|
+
rewardDeliveries: components["schemas"]["FundraisingOrders_RewardDeliveryDetail"][];
|
|
55
|
+
orderRewardExOptions?: components["schemas"]["FundraisingOrders_RewardExOptions"][];
|
|
56
|
+
delivery?: components["schemas"]["FundraisingOrders_Delivery"];
|
|
57
|
+
comments: components["schemas"]["FundraisingOrders_Comment"][];
|
|
156
58
|
privacyProtected: boolean;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
deliveryAddress: string;
|
|
160
|
-
phoneNumber: string;
|
|
161
|
-
deliveryName: string;
|
|
162
|
-
} | undefined;
|
|
163
|
-
orderRewardExOptions?: {
|
|
164
|
-
options: {
|
|
165
|
-
question: string;
|
|
166
|
-
answer?: string | undefined;
|
|
167
|
-
}[];
|
|
168
|
-
rewardThumbnailUrl: string;
|
|
169
|
-
rewardTitle?: string | undefined;
|
|
170
|
-
}[] | undefined;
|
|
171
|
-
paymentDeadline?: string | undefined;
|
|
59
|
+
project: components["schemas"]["Fundraising_OwnedProject"];
|
|
60
|
+
paymentDeadline?: string;
|
|
172
61
|
} | undefined;
|
|
173
62
|
error: any;
|
|
174
63
|
mutate: swr.KeyedMutator<{
|
|
175
|
-
contributor: {
|
|
176
|
-
imageUrl: string;
|
|
177
|
-
email: string | null;
|
|
178
|
-
name: string;
|
|
179
|
-
id: number;
|
|
180
|
-
isActive: boolean;
|
|
181
|
-
hasValidOrder: boolean;
|
|
182
|
-
};
|
|
183
|
-
createdAt: string;
|
|
184
|
-
payAmount: number;
|
|
185
64
|
id: number;
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
rewardDeliveries: {
|
|
196
|
-
price: number;
|
|
197
|
-
id: number;
|
|
198
|
-
rewardThumbnailUrl: string;
|
|
199
|
-
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
200
|
-
selectedCount: number;
|
|
201
|
-
rewardTitle?: string | undefined;
|
|
202
|
-
}[];
|
|
203
|
-
comments: {
|
|
204
|
-
imageUrl: string;
|
|
205
|
-
name: string;
|
|
206
|
-
createdAt: string;
|
|
207
|
-
content: string;
|
|
208
|
-
}[];
|
|
65
|
+
payAmount: number;
|
|
66
|
+
state: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrderState"];
|
|
67
|
+
payment: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrderPayment"];
|
|
68
|
+
createdAt: string;
|
|
69
|
+
contributor: components["schemas"]["FundraisingOrders_ContributorDetail"];
|
|
70
|
+
rewardDeliveries: components["schemas"]["FundraisingOrders_RewardDeliveryDetail"][];
|
|
71
|
+
orderRewardExOptions?: components["schemas"]["FundraisingOrders_RewardExOptions"][];
|
|
72
|
+
delivery?: components["schemas"]["FundraisingOrders_Delivery"];
|
|
73
|
+
comments: components["schemas"]["FundraisingOrders_Comment"][];
|
|
209
74
|
privacyProtected: boolean;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
deliveryAddress: string;
|
|
213
|
-
phoneNumber: string;
|
|
214
|
-
deliveryName: string;
|
|
215
|
-
} | undefined;
|
|
216
|
-
orderRewardExOptions?: {
|
|
217
|
-
options: {
|
|
218
|
-
question: string;
|
|
219
|
-
answer?: string | undefined;
|
|
220
|
-
}[];
|
|
221
|
-
rewardThumbnailUrl: string;
|
|
222
|
-
rewardTitle?: string | undefined;
|
|
223
|
-
}[] | undefined;
|
|
224
|
-
paymentDeadline?: string | undefined;
|
|
75
|
+
project: components["schemas"]["Fundraising_OwnedProject"];
|
|
76
|
+
paymentDeadline?: string;
|
|
225
77
|
}>;
|
|
226
78
|
isValidating: boolean;
|
|
227
79
|
isLoading: boolean;
|