@readyfor/api-client-readyfor-api 0.328.0 → 1.0.0
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/components.d.mts +713 -7037
- package/dist/components.d.ts +713 -7037
- package/dist/fetch/v2ContributionsCard3dSecureExecContribution.d.mts +6 -6
- package/dist/fetch/v2ContributionsCard3dSecureExecContribution.d.ts +6 -6
- package/dist/fetch/v2ContributionsCard3dSecureRetryContribution.d.mts +6 -6
- package/dist/fetch/v2ContributionsCard3dSecureRetryContribution.d.ts +6 -6
- package/dist/fetch/v2ContributionsOrderInfo.d.mts +24 -24
- package/dist/fetch/v2ContributionsOrderInfo.d.ts +24 -24
- package/dist/fetch/v2ContributionsProjectInfo.d.mts +38 -38
- package/dist/fetch/v2ContributionsProjectInfo.d.ts +38 -38
- package/dist/fetch/v2ContributionsRecommendedProjects.d.mts +6 -6
- package/dist/fetch/v2ContributionsRecommendedProjects.d.ts +6 -6
- package/dist/fetch/v2ContributionsRecommendedTags.d.mts +2 -2
- package/dist/fetch/v2ContributionsRecommendedTags.d.ts +2 -2
- package/dist/fetch/v2ContributionsUserInfo.d.mts +24 -24
- package/dist/fetch/v2ContributionsUserInfo.d.ts +24 -24
- package/dist/fetch/v2FundraisingBulkMessagesTargetUsers.d.mts +4 -4
- package/dist/fetch/v2FundraisingBulkMessagesTargetUsers.d.ts +4 -4
- package/dist/fetch/v2FundraisingContributors.d.mts +18 -18
- package/dist/fetch/v2FundraisingContributors.d.ts +18 -18
- package/dist/fetch/v2FundraisingContributorsId.d.mts +12 -12
- package/dist/fetch/v2FundraisingContributorsId.d.ts +12 -12
- package/dist/fetch/v2FundraisingContributorsIdOrders.d.mts +36 -36
- package/dist/fetch/v2FundraisingContributorsIdOrders.d.ts +36 -36
- package/dist/fetch/v2FundraisingContributorsOwnedPublicProjects.d.mts +2 -2
- package/dist/fetch/v2FundraisingContributorsOwnedPublicProjects.d.ts +2 -2
- package/dist/fetch/v2FundraisingContributorsUsers.d.mts +2 -2
- package/dist/fetch/v2FundraisingContributorsUsers.d.ts +2 -2
- package/dist/fetch/v2FundraisingProjectsProjectIdPaymentSummary.d.mts +12 -12
- package/dist/fetch/v2FundraisingProjectsProjectIdPaymentSummary.d.ts +12 -12
- package/dist/fetch/v2FundraisingRewards.d.mts +28 -28
- package/dist/fetch/v2FundraisingRewards.d.ts +28 -28
- package/dist/fetch/v2FundraisingRewardsRewardId.d.mts +20 -20
- package/dist/fetch/v2FundraisingRewardsRewardId.d.ts +20 -20
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrders.d.mts +48 -48
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrders.d.ts +48 -48
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrdersAll.d.mts +6 -6
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrdersAll.d.ts +6 -6
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.mts +60 -60
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.ts +60 -60
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrders.d.mts +48 -48
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrders.d.ts +48 -48
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrdersAll.d.mts +6 -6
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrdersAll.d.ts +6 -6
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.mts +98 -98
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.ts +98 -98
- package/dist/fetch/v2ResourcesBankBranches.d.mts +4 -4
- package/dist/fetch/v2ResourcesBankBranches.d.ts +4 -4
- package/dist/fetch/v2ResourcesBanks.d.mts +4 -4
- package/dist/fetch/v2ResourcesBanks.d.ts +4 -4
- package/dist/fetch/v2ResourcesUsers.d.mts +2 -2
- package/dist/fetch/v2ResourcesUsers.d.ts +2 -2
- package/package.json +4 -4
|
@@ -4,16 +4,10 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
4
4
|
type V2FundraisingRewardsRewardIdGetOperation = paths["/api/v2/fundraising/rewards/{reward_id}"]["get"];
|
|
5
5
|
type V2FundraisingRewardsRewardIdGetResponse = V2FundraisingRewardsRewardIdGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
6
|
declare const buildV2FundraisingRewardsRewardIdGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
-
price: number;
|
|
8
7
|
id: number;
|
|
8
|
+
description: string;
|
|
9
9
|
thumbnailUrl: string;
|
|
10
|
-
|
|
11
|
-
id: number;
|
|
12
|
-
title: string;
|
|
13
|
-
expiredAt: string;
|
|
14
|
-
};
|
|
15
|
-
deliveryState: "notStarted" | "completed" | "actionNotNeeded";
|
|
16
|
-
deliveryRate: number;
|
|
10
|
+
price: number;
|
|
17
11
|
orderReward: {
|
|
18
12
|
rewardCount: number;
|
|
19
13
|
waitPaymentRewardCount?: number | undefined;
|
|
@@ -24,12 +18,18 @@ declare const buildV2FundraisingRewardsRewardIdGetFetcher: (requestInit?: Reques
|
|
|
24
18
|
} | {
|
|
25
19
|
__type: "unlimitedRewardStock";
|
|
26
20
|
};
|
|
21
|
+
deliveryRate: number;
|
|
22
|
+
deliveryState: "notStarted" | "completed" | "actionNotNeeded";
|
|
27
23
|
notDeliveryStartedCount: number;
|
|
28
|
-
description: string;
|
|
29
24
|
shippingRequired: boolean;
|
|
25
|
+
project: {
|
|
26
|
+
id: number;
|
|
27
|
+
title: string;
|
|
28
|
+
expiredAt: string;
|
|
29
|
+
};
|
|
30
|
+
title?: string | undefined;
|
|
30
31
|
estimatedArrivalMonth?: string | undefined;
|
|
31
32
|
shipCompletedAt?: string | undefined;
|
|
32
|
-
title?: string | undefined;
|
|
33
33
|
rewardExOptions?: {
|
|
34
34
|
question: string;
|
|
35
35
|
answerSelections?: string[] | undefined;
|
|
@@ -40,16 +40,10 @@ type V2FundraisingRewardsRewardIdGetPath = ForceDig<V2FundraisingRewardsRewardId
|
|
|
40
40
|
"path"
|
|
41
41
|
]>;
|
|
42
42
|
declare const getV2FundraisingRewardsRewardId: (path: V2FundraisingRewardsRewardIdGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
43
|
-
price: number;
|
|
44
43
|
id: number;
|
|
44
|
+
description: string;
|
|
45
45
|
thumbnailUrl: string;
|
|
46
|
-
|
|
47
|
-
id: number;
|
|
48
|
-
title: string;
|
|
49
|
-
expiredAt: string;
|
|
50
|
-
};
|
|
51
|
-
deliveryState: "notStarted" | "completed" | "actionNotNeeded";
|
|
52
|
-
deliveryRate: number;
|
|
46
|
+
price: number;
|
|
53
47
|
orderReward: {
|
|
54
48
|
rewardCount: number;
|
|
55
49
|
waitPaymentRewardCount?: number | undefined;
|
|
@@ -60,12 +54,18 @@ declare const getV2FundraisingRewardsRewardId: (path: V2FundraisingRewardsReward
|
|
|
60
54
|
} | {
|
|
61
55
|
__type: "unlimitedRewardStock";
|
|
62
56
|
};
|
|
57
|
+
deliveryRate: number;
|
|
58
|
+
deliveryState: "notStarted" | "completed" | "actionNotNeeded";
|
|
63
59
|
notDeliveryStartedCount: number;
|
|
64
|
-
description: string;
|
|
65
60
|
shippingRequired: boolean;
|
|
61
|
+
project: {
|
|
62
|
+
id: number;
|
|
63
|
+
title: string;
|
|
64
|
+
expiredAt: string;
|
|
65
|
+
};
|
|
66
|
+
title?: string | undefined;
|
|
66
67
|
estimatedArrivalMonth?: string | undefined;
|
|
67
68
|
shipCompletedAt?: string | undefined;
|
|
68
|
-
title?: string | undefined;
|
|
69
69
|
rewardExOptions?: {
|
|
70
70
|
question: string;
|
|
71
71
|
answerSelections?: string[] | undefined;
|
|
@@ -4,16 +4,10 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
4
4
|
type V2FundraisingRewardsRewardIdGetOperation = paths["/api/v2/fundraising/rewards/{reward_id}"]["get"];
|
|
5
5
|
type V2FundraisingRewardsRewardIdGetResponse = V2FundraisingRewardsRewardIdGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
6
|
declare const buildV2FundraisingRewardsRewardIdGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
-
price: number;
|
|
8
7
|
id: number;
|
|
8
|
+
description: string;
|
|
9
9
|
thumbnailUrl: string;
|
|
10
|
-
|
|
11
|
-
id: number;
|
|
12
|
-
title: string;
|
|
13
|
-
expiredAt: string;
|
|
14
|
-
};
|
|
15
|
-
deliveryState: "notStarted" | "completed" | "actionNotNeeded";
|
|
16
|
-
deliveryRate: number;
|
|
10
|
+
price: number;
|
|
17
11
|
orderReward: {
|
|
18
12
|
rewardCount: number;
|
|
19
13
|
waitPaymentRewardCount?: number | undefined;
|
|
@@ -24,12 +18,18 @@ declare const buildV2FundraisingRewardsRewardIdGetFetcher: (requestInit?: Reques
|
|
|
24
18
|
} | {
|
|
25
19
|
__type: "unlimitedRewardStock";
|
|
26
20
|
};
|
|
21
|
+
deliveryRate: number;
|
|
22
|
+
deliveryState: "notStarted" | "completed" | "actionNotNeeded";
|
|
27
23
|
notDeliveryStartedCount: number;
|
|
28
|
-
description: string;
|
|
29
24
|
shippingRequired: boolean;
|
|
25
|
+
project: {
|
|
26
|
+
id: number;
|
|
27
|
+
title: string;
|
|
28
|
+
expiredAt: string;
|
|
29
|
+
};
|
|
30
|
+
title?: string | undefined;
|
|
30
31
|
estimatedArrivalMonth?: string | undefined;
|
|
31
32
|
shipCompletedAt?: string | undefined;
|
|
32
|
-
title?: string | undefined;
|
|
33
33
|
rewardExOptions?: {
|
|
34
34
|
question: string;
|
|
35
35
|
answerSelections?: string[] | undefined;
|
|
@@ -40,16 +40,10 @@ type V2FundraisingRewardsRewardIdGetPath = ForceDig<V2FundraisingRewardsRewardId
|
|
|
40
40
|
"path"
|
|
41
41
|
]>;
|
|
42
42
|
declare const getV2FundraisingRewardsRewardId: (path: V2FundraisingRewardsRewardIdGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
43
|
-
price: number;
|
|
44
43
|
id: number;
|
|
44
|
+
description: string;
|
|
45
45
|
thumbnailUrl: string;
|
|
46
|
-
|
|
47
|
-
id: number;
|
|
48
|
-
title: string;
|
|
49
|
-
expiredAt: string;
|
|
50
|
-
};
|
|
51
|
-
deliveryState: "notStarted" | "completed" | "actionNotNeeded";
|
|
52
|
-
deliveryRate: number;
|
|
46
|
+
price: number;
|
|
53
47
|
orderReward: {
|
|
54
48
|
rewardCount: number;
|
|
55
49
|
waitPaymentRewardCount?: number | undefined;
|
|
@@ -60,12 +54,18 @@ declare const getV2FundraisingRewardsRewardId: (path: V2FundraisingRewardsReward
|
|
|
60
54
|
} | {
|
|
61
55
|
__type: "unlimitedRewardStock";
|
|
62
56
|
};
|
|
57
|
+
deliveryRate: number;
|
|
58
|
+
deliveryState: "notStarted" | "completed" | "actionNotNeeded";
|
|
63
59
|
notDeliveryStartedCount: number;
|
|
64
|
-
description: string;
|
|
65
60
|
shippingRequired: boolean;
|
|
61
|
+
project: {
|
|
62
|
+
id: number;
|
|
63
|
+
title: string;
|
|
64
|
+
expiredAt: string;
|
|
65
|
+
};
|
|
66
|
+
title?: string | undefined;
|
|
66
67
|
estimatedArrivalMonth?: string | undefined;
|
|
67
68
|
shipCompletedAt?: string | undefined;
|
|
68
|
-
title?: string | undefined;
|
|
69
69
|
rewardExOptions?: {
|
|
70
70
|
question: string;
|
|
71
71
|
answerSelections?: string[] | undefined;
|
|
@@ -8,32 +8,10 @@ declare const buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher: (reques
|
|
|
8
8
|
ongoing: number;
|
|
9
9
|
closed: number;
|
|
10
10
|
};
|
|
11
|
-
needsPaymentDeadlineAlert: boolean;
|
|
12
|
-
pagination: {
|
|
13
|
-
totalPages: number;
|
|
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
11
|
orders: {
|
|
23
|
-
contributor: {
|
|
24
|
-
email: string | null;
|
|
25
|
-
name: string;
|
|
26
|
-
id: number;
|
|
27
|
-
imageUrl?: string | undefined;
|
|
28
|
-
};
|
|
29
|
-
createdAt: string;
|
|
30
|
-
payAmount: number;
|
|
31
12
|
id: number;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
title: string;
|
|
35
|
-
keyword?: string | undefined;
|
|
36
|
-
};
|
|
13
|
+
payAmount: number;
|
|
14
|
+
createdAt: string;
|
|
37
15
|
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
38
16
|
payment: {
|
|
39
17
|
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
@@ -44,7 +22,18 @@ declare const buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher: (reques
|
|
|
44
22
|
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
45
23
|
rewardTitle?: string | undefined;
|
|
46
24
|
}[];
|
|
25
|
+
contributor: {
|
|
26
|
+
id: number;
|
|
27
|
+
name: string;
|
|
28
|
+
email: string | null;
|
|
29
|
+
imageUrl?: string | undefined;
|
|
30
|
+
};
|
|
47
31
|
deliveryProtected: boolean;
|
|
32
|
+
project: {
|
|
33
|
+
id: number;
|
|
34
|
+
title: string;
|
|
35
|
+
keyword?: string | undefined;
|
|
36
|
+
};
|
|
48
37
|
needsPaymentDeadlineAlert: boolean;
|
|
49
38
|
hasRewardExOptionAnswer: boolean;
|
|
50
39
|
delivery?: {
|
|
@@ -57,17 +46,6 @@ declare const buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher: (reques
|
|
|
57
46
|
} | undefined;
|
|
58
47
|
comment?: string | undefined;
|
|
59
48
|
}[];
|
|
60
|
-
}>;
|
|
61
|
-
type V2FundraisingSpotCrowdfundingProjectOrdersGetQuery = QueryPropsFor<ForceDig<V2FundraisingSpotCrowdfundingProjectOrdersGetOperation, [
|
|
62
|
-
"parameters",
|
|
63
|
-
"query"
|
|
64
|
-
]>>;
|
|
65
|
-
declare const getV2FundraisingSpotCrowdfundingProjectOrders: (query: V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
66
|
-
ordersCount: {
|
|
67
|
-
ongoing: number;
|
|
68
|
-
closed: number;
|
|
69
|
-
};
|
|
70
|
-
needsPaymentDeadlineAlert: boolean;
|
|
71
49
|
pagination: {
|
|
72
50
|
totalPages: number;
|
|
73
51
|
totalCount: number;
|
|
@@ -78,21 +56,21 @@ declare const getV2FundraisingSpotCrowdfundingProjectOrders: (query: V2Fundraisi
|
|
|
78
56
|
prevPage?: number | undefined;
|
|
79
57
|
nextPage?: number | undefined;
|
|
80
58
|
};
|
|
59
|
+
needsPaymentDeadlineAlert: boolean;
|
|
60
|
+
}>;
|
|
61
|
+
type V2FundraisingSpotCrowdfundingProjectOrdersGetQuery = QueryPropsFor<ForceDig<V2FundraisingSpotCrowdfundingProjectOrdersGetOperation, [
|
|
62
|
+
"parameters",
|
|
63
|
+
"query"
|
|
64
|
+
]>>;
|
|
65
|
+
declare const getV2FundraisingSpotCrowdfundingProjectOrders: (query: V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
66
|
+
ordersCount: {
|
|
67
|
+
ongoing: number;
|
|
68
|
+
closed: number;
|
|
69
|
+
};
|
|
81
70
|
orders: {
|
|
82
|
-
contributor: {
|
|
83
|
-
email: string | null;
|
|
84
|
-
name: string;
|
|
85
|
-
id: number;
|
|
86
|
-
imageUrl?: string | undefined;
|
|
87
|
-
};
|
|
88
|
-
createdAt: string;
|
|
89
|
-
payAmount: number;
|
|
90
71
|
id: number;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
title: string;
|
|
94
|
-
keyword?: string | undefined;
|
|
95
|
-
};
|
|
72
|
+
payAmount: number;
|
|
73
|
+
createdAt: string;
|
|
96
74
|
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
97
75
|
payment: {
|
|
98
76
|
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
@@ -103,7 +81,18 @@ declare const getV2FundraisingSpotCrowdfundingProjectOrders: (query: V2Fundraisi
|
|
|
103
81
|
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
104
82
|
rewardTitle?: string | undefined;
|
|
105
83
|
}[];
|
|
84
|
+
contributor: {
|
|
85
|
+
id: number;
|
|
86
|
+
name: string;
|
|
87
|
+
email: string | null;
|
|
88
|
+
imageUrl?: string | undefined;
|
|
89
|
+
};
|
|
106
90
|
deliveryProtected: boolean;
|
|
91
|
+
project: {
|
|
92
|
+
id: number;
|
|
93
|
+
title: string;
|
|
94
|
+
keyword?: string | undefined;
|
|
95
|
+
};
|
|
107
96
|
needsPaymentDeadlineAlert: boolean;
|
|
108
97
|
hasRewardExOptionAnswer: boolean;
|
|
109
98
|
delivery?: {
|
|
@@ -116,6 +105,17 @@ declare const getV2FundraisingSpotCrowdfundingProjectOrders: (query: V2Fundraisi
|
|
|
116
105
|
} | undefined;
|
|
117
106
|
comment?: string | undefined;
|
|
118
107
|
}[];
|
|
108
|
+
pagination: {
|
|
109
|
+
totalPages: number;
|
|
110
|
+
totalCount: number;
|
|
111
|
+
currentPerPage: number;
|
|
112
|
+
currentPage: number;
|
|
113
|
+
isFirstPage: boolean;
|
|
114
|
+
isLastPage: boolean;
|
|
115
|
+
prevPage?: number | undefined;
|
|
116
|
+
nextPage?: number | undefined;
|
|
117
|
+
};
|
|
118
|
+
needsPaymentDeadlineAlert: boolean;
|
|
119
119
|
}>;
|
|
120
120
|
|
|
121
121
|
export { type V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, type V2FundraisingSpotCrowdfundingProjectOrdersGetResponse, buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher, getV2FundraisingSpotCrowdfundingProjectOrders };
|
|
@@ -8,32 +8,10 @@ declare const buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher: (reques
|
|
|
8
8
|
ongoing: number;
|
|
9
9
|
closed: number;
|
|
10
10
|
};
|
|
11
|
-
needsPaymentDeadlineAlert: boolean;
|
|
12
|
-
pagination: {
|
|
13
|
-
totalPages: number;
|
|
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
11
|
orders: {
|
|
23
|
-
contributor: {
|
|
24
|
-
email: string | null;
|
|
25
|
-
name: string;
|
|
26
|
-
id: number;
|
|
27
|
-
imageUrl?: string | undefined;
|
|
28
|
-
};
|
|
29
|
-
createdAt: string;
|
|
30
|
-
payAmount: number;
|
|
31
12
|
id: number;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
title: string;
|
|
35
|
-
keyword?: string | undefined;
|
|
36
|
-
};
|
|
13
|
+
payAmount: number;
|
|
14
|
+
createdAt: string;
|
|
37
15
|
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
38
16
|
payment: {
|
|
39
17
|
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
@@ -44,7 +22,18 @@ declare const buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher: (reques
|
|
|
44
22
|
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
45
23
|
rewardTitle?: string | undefined;
|
|
46
24
|
}[];
|
|
25
|
+
contributor: {
|
|
26
|
+
id: number;
|
|
27
|
+
name: string;
|
|
28
|
+
email: string | null;
|
|
29
|
+
imageUrl?: string | undefined;
|
|
30
|
+
};
|
|
47
31
|
deliveryProtected: boolean;
|
|
32
|
+
project: {
|
|
33
|
+
id: number;
|
|
34
|
+
title: string;
|
|
35
|
+
keyword?: string | undefined;
|
|
36
|
+
};
|
|
48
37
|
needsPaymentDeadlineAlert: boolean;
|
|
49
38
|
hasRewardExOptionAnswer: boolean;
|
|
50
39
|
delivery?: {
|
|
@@ -57,17 +46,6 @@ declare const buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher: (reques
|
|
|
57
46
|
} | undefined;
|
|
58
47
|
comment?: string | undefined;
|
|
59
48
|
}[];
|
|
60
|
-
}>;
|
|
61
|
-
type V2FundraisingSpotCrowdfundingProjectOrdersGetQuery = QueryPropsFor<ForceDig<V2FundraisingSpotCrowdfundingProjectOrdersGetOperation, [
|
|
62
|
-
"parameters",
|
|
63
|
-
"query"
|
|
64
|
-
]>>;
|
|
65
|
-
declare const getV2FundraisingSpotCrowdfundingProjectOrders: (query: V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
66
|
-
ordersCount: {
|
|
67
|
-
ongoing: number;
|
|
68
|
-
closed: number;
|
|
69
|
-
};
|
|
70
|
-
needsPaymentDeadlineAlert: boolean;
|
|
71
49
|
pagination: {
|
|
72
50
|
totalPages: number;
|
|
73
51
|
totalCount: number;
|
|
@@ -78,21 +56,21 @@ declare const getV2FundraisingSpotCrowdfundingProjectOrders: (query: V2Fundraisi
|
|
|
78
56
|
prevPage?: number | undefined;
|
|
79
57
|
nextPage?: number | undefined;
|
|
80
58
|
};
|
|
59
|
+
needsPaymentDeadlineAlert: boolean;
|
|
60
|
+
}>;
|
|
61
|
+
type V2FundraisingSpotCrowdfundingProjectOrdersGetQuery = QueryPropsFor<ForceDig<V2FundraisingSpotCrowdfundingProjectOrdersGetOperation, [
|
|
62
|
+
"parameters",
|
|
63
|
+
"query"
|
|
64
|
+
]>>;
|
|
65
|
+
declare const getV2FundraisingSpotCrowdfundingProjectOrders: (query: V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
66
|
+
ordersCount: {
|
|
67
|
+
ongoing: number;
|
|
68
|
+
closed: number;
|
|
69
|
+
};
|
|
81
70
|
orders: {
|
|
82
|
-
contributor: {
|
|
83
|
-
email: string | null;
|
|
84
|
-
name: string;
|
|
85
|
-
id: number;
|
|
86
|
-
imageUrl?: string | undefined;
|
|
87
|
-
};
|
|
88
|
-
createdAt: string;
|
|
89
|
-
payAmount: number;
|
|
90
71
|
id: number;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
title: string;
|
|
94
|
-
keyword?: string | undefined;
|
|
95
|
-
};
|
|
72
|
+
payAmount: number;
|
|
73
|
+
createdAt: string;
|
|
96
74
|
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
97
75
|
payment: {
|
|
98
76
|
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
@@ -103,7 +81,18 @@ declare const getV2FundraisingSpotCrowdfundingProjectOrders: (query: V2Fundraisi
|
|
|
103
81
|
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
104
82
|
rewardTitle?: string | undefined;
|
|
105
83
|
}[];
|
|
84
|
+
contributor: {
|
|
85
|
+
id: number;
|
|
86
|
+
name: string;
|
|
87
|
+
email: string | null;
|
|
88
|
+
imageUrl?: string | undefined;
|
|
89
|
+
};
|
|
106
90
|
deliveryProtected: boolean;
|
|
91
|
+
project: {
|
|
92
|
+
id: number;
|
|
93
|
+
title: string;
|
|
94
|
+
keyword?: string | undefined;
|
|
95
|
+
};
|
|
107
96
|
needsPaymentDeadlineAlert: boolean;
|
|
108
97
|
hasRewardExOptionAnswer: boolean;
|
|
109
98
|
delivery?: {
|
|
@@ -116,6 +105,17 @@ declare const getV2FundraisingSpotCrowdfundingProjectOrders: (query: V2Fundraisi
|
|
|
116
105
|
} | undefined;
|
|
117
106
|
comment?: string | undefined;
|
|
118
107
|
}[];
|
|
108
|
+
pagination: {
|
|
109
|
+
totalPages: number;
|
|
110
|
+
totalCount: number;
|
|
111
|
+
currentPerPage: number;
|
|
112
|
+
currentPage: number;
|
|
113
|
+
isFirstPage: boolean;
|
|
114
|
+
isLastPage: boolean;
|
|
115
|
+
prevPage?: number | undefined;
|
|
116
|
+
nextPage?: number | undefined;
|
|
117
|
+
};
|
|
118
|
+
needsPaymentDeadlineAlert: boolean;
|
|
119
119
|
}>;
|
|
120
120
|
|
|
121
121
|
export { type V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, type V2FundraisingSpotCrowdfundingProjectOrdersGetResponse, buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher, getV2FundraisingSpotCrowdfundingProjectOrders };
|
|
@@ -5,13 +5,13 @@ type V2FundraisingSpotCrowdfundingProjectOrdersAllGetOperation = paths["/api/v2/
|
|
|
5
5
|
type V2FundraisingSpotCrowdfundingProjectOrdersAllGetResponse = V2FundraisingSpotCrowdfundingProjectOrdersAllGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
6
|
declare const buildV2FundraisingSpotCrowdfundingProjectOrdersAllGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
7
|
orders: {
|
|
8
|
+
id: number;
|
|
8
9
|
contributor: {
|
|
9
|
-
email: string | null;
|
|
10
|
-
name: string;
|
|
11
10
|
id: number;
|
|
11
|
+
name: string;
|
|
12
|
+
email: string | null;
|
|
12
13
|
imageUrl?: string | undefined;
|
|
13
14
|
};
|
|
14
|
-
id: number;
|
|
15
15
|
}[];
|
|
16
16
|
}>;
|
|
17
17
|
type V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery = QueryPropsFor<ForceDig<V2FundraisingSpotCrowdfundingProjectOrdersAllGetOperation, [
|
|
@@ -20,13 +20,13 @@ type V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery = QueryPropsFor<Force
|
|
|
20
20
|
]>>;
|
|
21
21
|
declare const getV2FundraisingSpotCrowdfundingProjectOrdersAll: (query: V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
22
22
|
orders: {
|
|
23
|
+
id: number;
|
|
23
24
|
contributor: {
|
|
24
|
-
email: string | null;
|
|
25
|
-
name: string;
|
|
26
25
|
id: number;
|
|
26
|
+
name: string;
|
|
27
|
+
email: string | null;
|
|
27
28
|
imageUrl?: string | undefined;
|
|
28
29
|
};
|
|
29
|
-
id: number;
|
|
30
30
|
}[];
|
|
31
31
|
}>;
|
|
32
32
|
|
|
@@ -5,13 +5,13 @@ type V2FundraisingSpotCrowdfundingProjectOrdersAllGetOperation = paths["/api/v2/
|
|
|
5
5
|
type V2FundraisingSpotCrowdfundingProjectOrdersAllGetResponse = V2FundraisingSpotCrowdfundingProjectOrdersAllGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
6
|
declare const buildV2FundraisingSpotCrowdfundingProjectOrdersAllGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
7
|
orders: {
|
|
8
|
+
id: number;
|
|
8
9
|
contributor: {
|
|
9
|
-
email: string | null;
|
|
10
|
-
name: string;
|
|
11
10
|
id: number;
|
|
11
|
+
name: string;
|
|
12
|
+
email: string | null;
|
|
12
13
|
imageUrl?: string | undefined;
|
|
13
14
|
};
|
|
14
|
-
id: number;
|
|
15
15
|
}[];
|
|
16
16
|
}>;
|
|
17
17
|
type V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery = QueryPropsFor<ForceDig<V2FundraisingSpotCrowdfundingProjectOrdersAllGetOperation, [
|
|
@@ -20,13 +20,13 @@ type V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery = QueryPropsFor<Force
|
|
|
20
20
|
]>>;
|
|
21
21
|
declare const getV2FundraisingSpotCrowdfundingProjectOrdersAll: (query: V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
22
22
|
orders: {
|
|
23
|
+
id: number;
|
|
23
24
|
contributor: {
|
|
24
|
-
email: string | null;
|
|
25
|
-
name: string;
|
|
26
25
|
id: number;
|
|
26
|
+
name: string;
|
|
27
|
+
email: string | null;
|
|
27
28
|
imageUrl?: string | undefined;
|
|
28
29
|
};
|
|
29
|
-
id: number;
|
|
30
30
|
}[];
|
|
31
31
|
}>;
|
|
32
32
|
|
|
@@ -4,41 +4,49 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
4
4
|
type V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetOperation = paths["/api/v2/fundraising/spot_crowdfunding_project_orders/{order_id}"]["get"];
|
|
5
5
|
type V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetResponse = V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
6
|
declare const buildV2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
-
contributor: {
|
|
8
|
-
imageUrl: string;
|
|
9
|
-
email: string | null;
|
|
10
|
-
name: string;
|
|
11
|
-
id: number;
|
|
12
|
-
isActive: boolean;
|
|
13
|
-
hasValidOrder: boolean;
|
|
14
|
-
};
|
|
15
|
-
createdAt: string;
|
|
16
|
-
payAmount: number;
|
|
17
7
|
id: number;
|
|
18
|
-
|
|
19
|
-
id: number;
|
|
20
|
-
title: string;
|
|
21
|
-
};
|
|
8
|
+
payAmount: number;
|
|
22
9
|
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
23
|
-
comments: {
|
|
24
|
-
imageUrl: string;
|
|
25
|
-
name: string;
|
|
26
|
-
createdAt: string;
|
|
27
|
-
content: string;
|
|
28
|
-
}[];
|
|
29
10
|
payment: {
|
|
30
11
|
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
31
12
|
state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
|
|
32
13
|
};
|
|
14
|
+
createdAt: string;
|
|
15
|
+
contributor: {
|
|
16
|
+
id: number;
|
|
17
|
+
name: string;
|
|
18
|
+
email: string | null;
|
|
19
|
+
isActive: boolean;
|
|
20
|
+
hasValidOrder: boolean;
|
|
21
|
+
imageUrl: string;
|
|
22
|
+
};
|
|
33
23
|
rewardDeliveries: {
|
|
34
|
-
price: number;
|
|
35
24
|
id: number;
|
|
36
25
|
rewardThumbnailUrl: string;
|
|
37
|
-
|
|
26
|
+
price: number;
|
|
38
27
|
selectedCount: number;
|
|
28
|
+
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
39
29
|
rewardTitle?: string | undefined;
|
|
40
30
|
}[];
|
|
31
|
+
comments: {
|
|
32
|
+
name: string;
|
|
33
|
+
imageUrl: string;
|
|
34
|
+
content: string;
|
|
35
|
+
createdAt: string;
|
|
36
|
+
}[];
|
|
41
37
|
privacyProtected: boolean;
|
|
38
|
+
project: {
|
|
39
|
+
id: number;
|
|
40
|
+
title: string;
|
|
41
|
+
};
|
|
42
|
+
orderRewardExOptions?: {
|
|
43
|
+
rewardThumbnailUrl: string;
|
|
44
|
+
options: {
|
|
45
|
+
question: string;
|
|
46
|
+
answer?: string | undefined;
|
|
47
|
+
}[];
|
|
48
|
+
rewardTitle?: string | undefined;
|
|
49
|
+
}[] | undefined;
|
|
42
50
|
delivery?: {
|
|
43
51
|
zipCode: string;
|
|
44
52
|
deliveryAddress: string;
|
|
@@ -47,14 +55,6 @@ declare const buildV2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetFetcher:
|
|
|
47
55
|
deliveryNameKana: string | null;
|
|
48
56
|
editedAt: string | null;
|
|
49
57
|
} | undefined;
|
|
50
|
-
orderRewardExOptions?: {
|
|
51
|
-
options: {
|
|
52
|
-
question: string;
|
|
53
|
-
answer?: string | undefined;
|
|
54
|
-
}[];
|
|
55
|
-
rewardThumbnailUrl: string;
|
|
56
|
-
rewardTitle?: string | undefined;
|
|
57
|
-
}[] | undefined;
|
|
58
58
|
paymentDeadline?: string | undefined;
|
|
59
59
|
}>;
|
|
60
60
|
type V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetPath = ForceDig<V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetOperation, [
|
|
@@ -62,41 +62,49 @@ type V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetPath = ForceDig<V2Fundr
|
|
|
62
62
|
"path"
|
|
63
63
|
]>;
|
|
64
64
|
declare const getV2FundraisingSpotCrowdfundingProjectOrdersOrderId: (path: V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
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
65
|
id: number;
|
|
76
|
-
|
|
77
|
-
id: number;
|
|
78
|
-
title: string;
|
|
79
|
-
};
|
|
66
|
+
payAmount: number;
|
|
80
67
|
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
81
|
-
comments: {
|
|
82
|
-
imageUrl: string;
|
|
83
|
-
name: string;
|
|
84
|
-
createdAt: string;
|
|
85
|
-
content: string;
|
|
86
|
-
}[];
|
|
87
68
|
payment: {
|
|
88
69
|
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
89
70
|
state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
|
|
90
71
|
};
|
|
72
|
+
createdAt: string;
|
|
73
|
+
contributor: {
|
|
74
|
+
id: number;
|
|
75
|
+
name: string;
|
|
76
|
+
email: string | null;
|
|
77
|
+
isActive: boolean;
|
|
78
|
+
hasValidOrder: boolean;
|
|
79
|
+
imageUrl: string;
|
|
80
|
+
};
|
|
91
81
|
rewardDeliveries: {
|
|
92
|
-
price: number;
|
|
93
82
|
id: number;
|
|
94
83
|
rewardThumbnailUrl: string;
|
|
95
|
-
|
|
84
|
+
price: number;
|
|
96
85
|
selectedCount: number;
|
|
86
|
+
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
97
87
|
rewardTitle?: string | undefined;
|
|
98
88
|
}[];
|
|
89
|
+
comments: {
|
|
90
|
+
name: string;
|
|
91
|
+
imageUrl: string;
|
|
92
|
+
content: string;
|
|
93
|
+
createdAt: string;
|
|
94
|
+
}[];
|
|
99
95
|
privacyProtected: boolean;
|
|
96
|
+
project: {
|
|
97
|
+
id: number;
|
|
98
|
+
title: string;
|
|
99
|
+
};
|
|
100
|
+
orderRewardExOptions?: {
|
|
101
|
+
rewardThumbnailUrl: string;
|
|
102
|
+
options: {
|
|
103
|
+
question: string;
|
|
104
|
+
answer?: string | undefined;
|
|
105
|
+
}[];
|
|
106
|
+
rewardTitle?: string | undefined;
|
|
107
|
+
}[] | undefined;
|
|
100
108
|
delivery?: {
|
|
101
109
|
zipCode: string;
|
|
102
110
|
deliveryAddress: string;
|
|
@@ -105,14 +113,6 @@ declare const getV2FundraisingSpotCrowdfundingProjectOrdersOrderId: (path: V2Fun
|
|
|
105
113
|
deliveryNameKana: string | null;
|
|
106
114
|
editedAt: string | null;
|
|
107
115
|
} | undefined;
|
|
108
|
-
orderRewardExOptions?: {
|
|
109
|
-
options: {
|
|
110
|
-
question: string;
|
|
111
|
-
answer?: string | undefined;
|
|
112
|
-
}[];
|
|
113
|
-
rewardThumbnailUrl: string;
|
|
114
|
-
rewardTitle?: string | undefined;
|
|
115
|
-
}[] | undefined;
|
|
116
116
|
paymentDeadline?: string | undefined;
|
|
117
117
|
}>;
|
|
118
118
|
|