@readyfor/api-client-readyfor-api 0.207.1 → 0.207.2-pr974.caa0ee1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hooks/useV2ContributionsOrderInfo.d.mts +149 -21
- package/dist/hooks/useV2ContributionsOrderInfo.d.ts +149 -21
- package/dist/hooks/useV2ContributionsPaymentInfo.d.mts +93 -9
- package/dist/hooks/useV2ContributionsPaymentInfo.d.ts +93 -9
- package/dist/hooks/useV2ContributionsPaymentMethods.d.mts +69 -21
- package/dist/hooks/useV2ContributionsPaymentMethods.d.ts +69 -21
- package/dist/hooks/useV2ContributionsProjectInfo.d.mts +185 -41
- package/dist/hooks/useV2ContributionsProjectInfo.d.ts +185 -41
- package/dist/hooks/useV2ContributionsRecommendedProjects.d.mts +85 -5
- package/dist/hooks/useV2ContributionsRecommendedProjects.d.ts +85 -5
- package/dist/hooks/useV2ContributionsRecommendedTags.d.mts +17 -5
- package/dist/hooks/useV2ContributionsRecommendedTags.d.ts +17 -5
- package/dist/hooks/useV2ContributionsUserInfo.d.mts +169 -25
- package/dist/hooks/useV2ContributionsUserInfo.d.ts +169 -25
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.mts +21 -5
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.ts +21 -5
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.mts +21 -5
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.ts +21 -5
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.mts +21 -5
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.ts +21 -5
- package/dist/hooks/useV2FundraisingContributors.d.mts +89 -9
- package/dist/hooks/useV2FundraisingContributors.d.ts +89 -9
- package/dist/hooks/useV2FundraisingContributorsCount.d.mts +21 -5
- package/dist/hooks/useV2FundraisingContributorsCount.d.ts +21 -5
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.d.mts +20 -20
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.d.ts +20 -20
- package/dist/hooks/useV2FundraisingContributorsUsers.d.mts +21 -5
- package/dist/hooks/useV2FundraisingContributorsUsers.d.ts +21 -5
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.d.mts +20 -20
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.d.ts +20 -20
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.mts +69 -21
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.ts +69 -21
- package/dist/hooks/useV2FundraisingRewards.d.mts +169 -13
- package/dist/hooks/useV2FundraisingRewards.d.ts +169 -13
- package/dist/hooks/useV2FundraisingRewardsAll.d.mts +17 -5
- package/dist/hooks/useV2FundraisingRewardsAll.d.ts +17 -5
- 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 +105 -45
- package/dist/hooks/useV2FundraisingRewardsRewardId.d.ts +105 -45
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.mts +197 -13
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.ts +197 -13
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.mts +37 -5
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.ts +37 -5
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.mts +193 -45
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.ts +193 -45
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +25 -5
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +25 -5
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.mts +17 -5
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.ts +17 -5
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.mts +153 -13
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.ts +153 -13
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.mts +37 -5
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.ts +37 -5
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.mts +169 -49
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.ts +169 -49
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +25 -5
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +25 -5
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.mts +17 -5
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.ts +17 -5
- package/dist/hooks/useV2OwnerCrmContributorsOrders.d.mts +149 -9
- package/dist/hooks/useV2OwnerCrmContributorsOrders.d.ts +149 -9
- package/dist/hooks/useV2OwnerCrmContributorsProjects.d.mts +25 -5
- package/dist/hooks/useV2OwnerCrmContributorsProjects.d.ts +25 -5
- package/dist/hooks/useV2OwnerCrmContributorsUser.d.mts +40 -40
- package/dist/hooks/useV2OwnerCrmContributorsUser.d.ts +40 -40
- package/dist/hooks/useV2ResourcesBankBranches.d.mts +29 -5
- package/dist/hooks/useV2ResourcesBankBranches.d.ts +29 -5
- package/dist/hooks/useV2ResourcesBanks.d.mts +21 -5
- package/dist/hooks/useV2ResourcesBanks.d.ts +21 -5
- package/dist/hooks/useV2ResourcesUsers.d.mts +29 -5
- package/dist/hooks/useV2ResourcesUsers.d.ts +29 -5
- package/package.json +11 -12
|
@@ -1,25 +1,117 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.js';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.js';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { 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
|
-
|
|
12
|
+
ordersCount: {
|
|
13
|
+
ongoing: number;
|
|
14
|
+
closed: number;
|
|
15
|
+
};
|
|
15
16
|
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
|
+
}[];
|
|
16
62
|
} | undefined;
|
|
17
63
|
error: any;
|
|
18
64
|
mutate: swr.KeyedMutator<{
|
|
19
|
-
ordersCount:
|
|
20
|
-
|
|
21
|
-
|
|
65
|
+
ordersCount: {
|
|
66
|
+
ongoing: number;
|
|
67
|
+
closed: number;
|
|
68
|
+
};
|
|
22
69
|
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
|
+
}[];
|
|
23
115
|
}>;
|
|
24
116
|
isValidating: boolean;
|
|
25
117
|
isLoading: boolean;
|
|
@@ -27,17 +119,109 @@ declare const useV2FundraisingSpotCrowdfundingProjectOrders: (query: V2Fundraisi
|
|
|
27
119
|
};
|
|
28
120
|
declare const useV2FundraisingSpotCrowdfundingProjectOrdersImmutable: (query: V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, swrConfig?: Configuration<V2FundraisingSpotCrowdfundingProjectOrdersGetResponse>) => {
|
|
29
121
|
data: {
|
|
30
|
-
ordersCount:
|
|
31
|
-
|
|
32
|
-
|
|
122
|
+
ordersCount: {
|
|
123
|
+
ongoing: number;
|
|
124
|
+
closed: number;
|
|
125
|
+
};
|
|
33
126
|
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
|
+
}[];
|
|
34
172
|
} | undefined;
|
|
35
173
|
error: any;
|
|
36
174
|
mutate: swr.KeyedMutator<{
|
|
37
|
-
ordersCount:
|
|
38
|
-
|
|
39
|
-
|
|
175
|
+
ordersCount: {
|
|
176
|
+
ongoing: number;
|
|
177
|
+
closed: number;
|
|
178
|
+
};
|
|
40
179
|
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
|
+
}[];
|
|
41
225
|
}>;
|
|
42
226
|
isValidating: boolean;
|
|
43
227
|
isLoading: boolean;
|
|
@@ -1,19 +1,35 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.mjs';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.mjs';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { 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:
|
|
12
|
+
orders: {
|
|
13
|
+
contributor: {
|
|
14
|
+
email: string | null;
|
|
15
|
+
name: string;
|
|
16
|
+
id: number;
|
|
17
|
+
imageUrl?: string | undefined;
|
|
18
|
+
};
|
|
19
|
+
id: number;
|
|
20
|
+
}[];
|
|
13
21
|
} | undefined;
|
|
14
22
|
error: any;
|
|
15
23
|
mutate: swr.KeyedMutator<{
|
|
16
|
-
orders:
|
|
24
|
+
orders: {
|
|
25
|
+
contributor: {
|
|
26
|
+
email: string | null;
|
|
27
|
+
name: string;
|
|
28
|
+
id: number;
|
|
29
|
+
imageUrl?: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
id: number;
|
|
32
|
+
}[];
|
|
17
33
|
}>;
|
|
18
34
|
isValidating: boolean;
|
|
19
35
|
isLoading: boolean;
|
|
@@ -21,11 +37,27 @@ declare const useV2FundraisingSpotCrowdfundingProjectOrdersAll: (query: V2Fundra
|
|
|
21
37
|
};
|
|
22
38
|
declare const useV2FundraisingSpotCrowdfundingProjectOrdersAllImmutable: (query: V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery, swrConfig?: Configuration<V2FundraisingSpotCrowdfundingProjectOrdersAllGetResponse>) => {
|
|
23
39
|
data: {
|
|
24
|
-
orders:
|
|
40
|
+
orders: {
|
|
41
|
+
contributor: {
|
|
42
|
+
email: string | null;
|
|
43
|
+
name: string;
|
|
44
|
+
id: number;
|
|
45
|
+
imageUrl?: string | undefined;
|
|
46
|
+
};
|
|
47
|
+
id: number;
|
|
48
|
+
}[];
|
|
25
49
|
} | undefined;
|
|
26
50
|
error: any;
|
|
27
51
|
mutate: swr.KeyedMutator<{
|
|
28
|
-
orders:
|
|
52
|
+
orders: {
|
|
53
|
+
contributor: {
|
|
54
|
+
email: string | null;
|
|
55
|
+
name: string;
|
|
56
|
+
id: number;
|
|
57
|
+
imageUrl?: string | undefined;
|
|
58
|
+
};
|
|
59
|
+
id: number;
|
|
60
|
+
}[];
|
|
29
61
|
}>;
|
|
30
62
|
isValidating: boolean;
|
|
31
63
|
isLoading: boolean;
|
|
@@ -1,19 +1,35 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.js';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.js';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { 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:
|
|
12
|
+
orders: {
|
|
13
|
+
contributor: {
|
|
14
|
+
email: string | null;
|
|
15
|
+
name: string;
|
|
16
|
+
id: number;
|
|
17
|
+
imageUrl?: string | undefined;
|
|
18
|
+
};
|
|
19
|
+
id: number;
|
|
20
|
+
}[];
|
|
13
21
|
} | undefined;
|
|
14
22
|
error: any;
|
|
15
23
|
mutate: swr.KeyedMutator<{
|
|
16
|
-
orders:
|
|
24
|
+
orders: {
|
|
25
|
+
contributor: {
|
|
26
|
+
email: string | null;
|
|
27
|
+
name: string;
|
|
28
|
+
id: number;
|
|
29
|
+
imageUrl?: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
id: number;
|
|
32
|
+
}[];
|
|
17
33
|
}>;
|
|
18
34
|
isValidating: boolean;
|
|
19
35
|
isLoading: boolean;
|
|
@@ -21,11 +37,27 @@ declare const useV2FundraisingSpotCrowdfundingProjectOrdersAll: (query: V2Fundra
|
|
|
21
37
|
};
|
|
22
38
|
declare const useV2FundraisingSpotCrowdfundingProjectOrdersAllImmutable: (query: V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery, swrConfig?: Configuration<V2FundraisingSpotCrowdfundingProjectOrdersAllGetResponse>) => {
|
|
23
39
|
data: {
|
|
24
|
-
orders:
|
|
40
|
+
orders: {
|
|
41
|
+
contributor: {
|
|
42
|
+
email: string | null;
|
|
43
|
+
name: string;
|
|
44
|
+
id: number;
|
|
45
|
+
imageUrl?: string | undefined;
|
|
46
|
+
};
|
|
47
|
+
id: number;
|
|
48
|
+
}[];
|
|
25
49
|
} | undefined;
|
|
26
50
|
error: any;
|
|
27
51
|
mutate: swr.KeyedMutator<{
|
|
28
|
-
orders:
|
|
52
|
+
orders: {
|
|
53
|
+
contributor: {
|
|
54
|
+
email: string | null;
|
|
55
|
+
name: string;
|
|
56
|
+
id: number;
|
|
57
|
+
imageUrl?: string | undefined;
|
|
58
|
+
};
|
|
59
|
+
id: number;
|
|
60
|
+
}[];
|
|
29
61
|
}>;
|
|
30
62
|
isValidating: boolean;
|
|
31
63
|
isLoading: boolean;
|
|
@@ -1,43 +1,117 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.mjs';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.mjs';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { 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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
contributor: {
|
|
13
|
+
imageUrl: string;
|
|
14
|
+
email: string | null;
|
|
15
|
+
name: string;
|
|
16
|
+
id: number;
|
|
17
|
+
isActive: boolean;
|
|
18
|
+
hasValidOrder: boolean;
|
|
19
|
+
};
|
|
16
20
|
createdAt: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
payAmount: number;
|
|
22
|
+
id: number;
|
|
23
|
+
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
24
|
+
project: {
|
|
25
|
+
id: number;
|
|
26
|
+
title: string;
|
|
27
|
+
};
|
|
28
|
+
payment: {
|
|
29
|
+
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
30
|
+
state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
|
|
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
|
+
}[];
|
|
22
46
|
privacyProtected: boolean;
|
|
23
|
-
|
|
24
|
-
|
|
47
|
+
delivery?: {
|
|
48
|
+
zipCode: string;
|
|
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;
|
|
25
62
|
} | undefined;
|
|
26
63
|
error: any;
|
|
27
64
|
mutate: swr.KeyedMutator<{
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
65
|
+
contributor: {
|
|
66
|
+
imageUrl: string;
|
|
67
|
+
email: string | null;
|
|
68
|
+
name: string;
|
|
69
|
+
id: number;
|
|
70
|
+
isActive: boolean;
|
|
71
|
+
hasValidOrder: boolean;
|
|
72
|
+
};
|
|
32
73
|
createdAt: string;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
74
|
+
payAmount: number;
|
|
75
|
+
id: number;
|
|
76
|
+
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
77
|
+
project: {
|
|
78
|
+
id: number;
|
|
79
|
+
title: string;
|
|
80
|
+
};
|
|
81
|
+
payment: {
|
|
82
|
+
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
83
|
+
state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
|
|
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
|
+
}[];
|
|
38
99
|
privacyProtected: boolean;
|
|
39
|
-
|
|
40
|
-
|
|
100
|
+
delivery?: {
|
|
101
|
+
zipCode: string;
|
|
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;
|
|
41
115
|
}>;
|
|
42
116
|
isValidating: boolean;
|
|
43
117
|
isLoading: boolean;
|
|
@@ -45,35 +119,109 @@ declare const useV2FundraisingSpotCrowdfundingProjectOrdersOrderId: (path: V2Fun
|
|
|
45
119
|
};
|
|
46
120
|
declare const useV2FundraisingSpotCrowdfundingProjectOrdersOrderIdImmutable: (path: V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetPath, swrConfig?: Configuration<V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetResponse>) => {
|
|
47
121
|
data: {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
122
|
+
contributor: {
|
|
123
|
+
imageUrl: string;
|
|
124
|
+
email: string | null;
|
|
125
|
+
name: string;
|
|
126
|
+
id: number;
|
|
127
|
+
isActive: boolean;
|
|
128
|
+
hasValidOrder: boolean;
|
|
129
|
+
};
|
|
52
130
|
createdAt: string;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
131
|
+
payAmount: number;
|
|
132
|
+
id: number;
|
|
133
|
+
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
134
|
+
project: {
|
|
135
|
+
id: number;
|
|
136
|
+
title: string;
|
|
137
|
+
};
|
|
138
|
+
payment: {
|
|
139
|
+
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
140
|
+
state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
|
|
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
|
+
}[];
|
|
58
156
|
privacyProtected: boolean;
|
|
59
|
-
|
|
60
|
-
|
|
157
|
+
delivery?: {
|
|
158
|
+
zipCode: string;
|
|
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;
|
|
61
172
|
} | undefined;
|
|
62
173
|
error: any;
|
|
63
174
|
mutate: swr.KeyedMutator<{
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
175
|
+
contributor: {
|
|
176
|
+
imageUrl: string;
|
|
177
|
+
email: string | null;
|
|
178
|
+
name: string;
|
|
179
|
+
id: number;
|
|
180
|
+
isActive: boolean;
|
|
181
|
+
hasValidOrder: boolean;
|
|
182
|
+
};
|
|
68
183
|
createdAt: string;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
184
|
+
payAmount: number;
|
|
185
|
+
id: number;
|
|
186
|
+
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
187
|
+
project: {
|
|
188
|
+
id: number;
|
|
189
|
+
title: string;
|
|
190
|
+
};
|
|
191
|
+
payment: {
|
|
192
|
+
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
193
|
+
state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
|
|
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
|
+
}[];
|
|
74
209
|
privacyProtected: boolean;
|
|
75
|
-
|
|
76
|
-
|
|
210
|
+
delivery?: {
|
|
211
|
+
zipCode: string;
|
|
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;
|
|
77
225
|
}>;
|
|
78
226
|
isValidating: boolean;
|
|
79
227
|
isLoading: boolean;
|