@readyfor/api-client-readyfor-api 0.258.0-pr1021.8be398d → 0.258.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 +6772 -678
- package/dist/components.d.ts +6772 -678
- package/dist/fetch/v2ContributionsCard3dSecureExecContribution.d.mts +30 -2
- package/dist/fetch/v2ContributionsCard3dSecureExecContribution.d.ts +30 -2
- package/dist/fetch/v2ContributionsCard3dSecureRetryContribution.d.mts +30 -2
- package/dist/fetch/v2ContributionsCard3dSecureRetryContribution.d.ts +30 -2
- package/dist/fetch/v2ContributionsCheckOrderStatus.d.mts +14 -2
- package/dist/fetch/v2ContributionsCheckOrderStatus.d.ts +14 -2
- package/dist/fetch/v2ContributionsCheckOwnerFriend.d.mts +6 -2
- package/dist/fetch/v2ContributionsCheckOwnerFriend.d.ts +6 -2
- package/dist/fetch/v2ContributionsExecContribution.d.mts +10 -2
- package/dist/fetch/v2ContributionsExecContribution.d.ts +10 -2
- package/dist/fetch/v2ContributionsOrderInfo.d.mts +88 -2
- package/dist/fetch/v2ContributionsOrderInfo.d.ts +88 -2
- package/dist/fetch/v2ContributionsPaymentInfo.d.mts +52 -2
- package/dist/fetch/v2ContributionsPaymentInfo.d.ts +52 -2
- package/dist/fetch/v2ContributionsPaymentMethods.d.mts +40 -2
- package/dist/fetch/v2ContributionsPaymentMethods.d.ts +40 -2
- package/dist/fetch/v2ContributionsPostComment.d.mts +6 -2
- package/dist/fetch/v2ContributionsPostComment.d.ts +6 -2
- package/dist/fetch/v2ContributionsProjectInfo.d.mts +126 -2
- package/dist/fetch/v2ContributionsProjectInfo.d.ts +126 -2
- package/dist/fetch/v2ContributionsRecommendedProjects.d.mts +46 -2
- package/dist/fetch/v2ContributionsRecommendedProjects.d.ts +46 -2
- package/dist/fetch/v2ContributionsRecommendedTags.d.mts +12 -2
- package/dist/fetch/v2ContributionsRecommendedTags.d.ts +12 -2
- package/dist/fetch/v2ContributionsRecurringCancelContribution.d.mts +6 -2
- package/dist/fetch/v2ContributionsRecurringCancelContribution.d.ts +6 -2
- package/dist/fetch/v2ContributionsRecurringChangePaymentInfo.d.mts +8 -2
- package/dist/fetch/v2ContributionsRecurringChangePaymentInfo.d.ts +8 -2
- package/dist/fetch/v2ContributionsRetryContribution.d.mts +10 -2
- package/dist/fetch/v2ContributionsRetryContribution.d.ts +10 -2
- package/dist/fetch/v2ContributionsUpdateCommentedUserName.d.mts +6 -2
- package/dist/fetch/v2ContributionsUpdateCommentedUserName.d.ts +6 -2
- package/dist/fetch/v2ContributionsUserInfo.d.mts +92 -2
- package/dist/fetch/v2ContributionsUserInfo.d.ts +92 -2
- package/dist/fetch/v2ContributionsValidPaymentInfo.d.mts +6 -2
- package/dist/fetch/v2ContributionsValidPaymentInfo.d.ts +6 -2
- package/dist/fetch/v2ContributionsValidSelectedRewards.d.mts +6 -2
- package/dist/fetch/v2ContributionsValidSelectedRewards.d.ts +6 -2
- package/dist/fetch/v2ContributionsValidUserDelivery.d.mts +6 -2
- package/dist/fetch/v2ContributionsValidUserDelivery.d.ts +6 -2
- package/dist/fetch/v2FundraisingBulkMessagesOwnedPublicProjects.d.mts +14 -2
- package/dist/fetch/v2FundraisingBulkMessagesOwnedPublicProjects.d.ts +14 -2
- package/dist/fetch/v2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.mts +14 -2
- package/dist/fetch/v2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.ts +14 -2
- package/dist/fetch/v2FundraisingBulkMessagesTargetUsers.d.mts +14 -2
- package/dist/fetch/v2FundraisingBulkMessagesTargetUsers.d.ts +14 -2
- package/dist/fetch/v2FundraisingBulkMessagesTargetUsersCount.d.mts +6 -2
- package/dist/fetch/v2FundraisingBulkMessagesTargetUsersCount.d.ts +6 -2
- package/dist/fetch/v2FundraisingContributors.d.mts +48 -2
- package/dist/fetch/v2FundraisingContributors.d.ts +48 -2
- package/dist/fetch/v2FundraisingContributorsCount.d.mts +14 -2
- package/dist/fetch/v2FundraisingContributorsCount.d.ts +14 -2
- package/dist/fetch/v2FundraisingContributorsCsvGenerations.d.mts +22 -2
- package/dist/fetch/v2FundraisingContributorsCsvGenerations.d.ts +22 -2
- package/dist/fetch/v2FundraisingContributorsUsers.d.mts +14 -2
- package/dist/fetch/v2FundraisingContributorsUsers.d.ts +14 -2
- package/dist/fetch/v2FundraisingOrdersCsvGenerations.d.mts +22 -2
- package/dist/fetch/v2FundraisingOrdersCsvGenerations.d.ts +22 -2
- package/dist/fetch/v2FundraisingProjectsProjectIdOfflineDonation.d.mts +8 -2
- package/dist/fetch/v2FundraisingProjectsProjectIdOfflineDonation.d.ts +8 -2
- package/dist/fetch/v2FundraisingProjectsProjectIdPaymentSummary.d.mts +38 -2
- package/dist/fetch/v2FundraisingProjectsProjectIdPaymentSummary.d.ts +38 -2
- package/dist/fetch/v2FundraisingRewards.d.mts +92 -2
- package/dist/fetch/v2FundraisingRewards.d.ts +92 -2
- package/dist/fetch/v2FundraisingRewardsAll.d.mts +12 -2
- package/dist/fetch/v2FundraisingRewardsAll.d.ts +12 -2
- package/dist/fetch/v2FundraisingRewardsCsvGenerations.d.mts +22 -2
- package/dist/fetch/v2FundraisingRewardsCsvGenerations.d.ts +22 -2
- package/dist/fetch/v2FundraisingRewardsDeliveryStateProgress.d.mts +22 -2
- package/dist/fetch/v2FundraisingRewardsDeliveryStateProgress.d.ts +22 -2
- package/dist/fetch/v2FundraisingRewardsRewardId.d.mts +64 -2
- package/dist/fetch/v2FundraisingRewardsRewardId.d.ts +64 -2
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrders.d.mts +104 -2
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrders.d.ts +104 -2
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrdersAll.d.mts +22 -2
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrdersAll.d.ts +22 -2
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.mts +104 -2
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.ts +104 -2
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +16 -2
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +16 -2
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.mts +12 -2
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.ts +12 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrders.d.mts +134 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrders.d.ts +134 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrdersAll.d.mts +22 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrdersAll.d.ts +22 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.mts +168 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.ts +168 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +16 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +16 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.mts +12 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.ts +12 -2
- package/dist/fetch/v2OwnerCrmContributorsOrders.d.mts +78 -2
- package/dist/fetch/v2OwnerCrmContributorsOrders.d.ts +78 -2
- package/dist/fetch/v2OwnerCrmContributorsProjects.d.mts +16 -2
- package/dist/fetch/v2OwnerCrmContributorsProjects.d.ts +16 -2
- package/dist/fetch/v2OwnerCrmContributorsUpdateMemo.d.mts +6 -2
- package/dist/fetch/v2OwnerCrmContributorsUpdateMemo.d.ts +6 -2
- package/dist/fetch/v2OwnerCrmContributorsUser.d.mts +34 -2
- package/dist/fetch/v2OwnerCrmContributorsUser.d.ts +34 -2
- package/dist/fetch/v2ResourcesBankBranches.d.mts +18 -2
- package/dist/fetch/v2ResourcesBankBranches.d.ts +18 -2
- package/dist/fetch/v2ResourcesBanks.d.mts +14 -2
- package/dist/fetch/v2ResourcesBanks.d.ts +14 -2
- package/dist/fetch/v2ResourcesUsers.d.mts +18 -2
- package/dist/fetch/v2ResourcesUsers.d.ts +18 -2
- package/dist/fetch/v2Token.d.mts +6 -2
- package/dist/fetch/v2Token.d.ts +6 -2
- package/package.json +14 -13
|
@@ -3,11 +3,101 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type V2FundraisingRewardsGetOperation = paths["/api/v2/fundraising/rewards"]["get"];
|
|
5
5
|
type V2FundraisingRewardsGetResponse = V2FundraisingRewardsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildV2FundraisingRewardsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
6
|
+
declare const buildV2FundraisingRewardsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
+
needsDeliveryDeadlineAlert: boolean;
|
|
8
|
+
rewards: {
|
|
9
|
+
price: number;
|
|
10
|
+
id: number;
|
|
11
|
+
thumbnailUrl: string;
|
|
12
|
+
project: {
|
|
13
|
+
id: number;
|
|
14
|
+
title: string;
|
|
15
|
+
expiredAt: string;
|
|
16
|
+
};
|
|
17
|
+
deliveryRate: number;
|
|
18
|
+
orderReward: {
|
|
19
|
+
rewardCount: number;
|
|
20
|
+
waitPaymentRewardCount?: number | undefined;
|
|
21
|
+
};
|
|
22
|
+
rewardStock: {
|
|
23
|
+
__type: "limitedRewardStock";
|
|
24
|
+
stockCount: number;
|
|
25
|
+
} | {
|
|
26
|
+
__type: "unlimitedRewardStock";
|
|
27
|
+
};
|
|
28
|
+
notDeliveryStartedCount: number;
|
|
29
|
+
needsDeliveryDeadlineAlert: boolean;
|
|
30
|
+
estimatedArrivalMonth?: string | undefined;
|
|
31
|
+
shipCompletedAt?: string | undefined;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
leftDaysToDeliveryDeadline?: number | undefined;
|
|
34
|
+
}[];
|
|
35
|
+
rewardsCount: {
|
|
36
|
+
notStarted: number;
|
|
37
|
+
completed: number;
|
|
38
|
+
actionNotNeeded: number;
|
|
39
|
+
};
|
|
40
|
+
pagination: {
|
|
41
|
+
totalPages: number;
|
|
42
|
+
totalCount: number;
|
|
43
|
+
currentPerPage: number;
|
|
44
|
+
currentPage: number;
|
|
45
|
+
isFirstPage: boolean;
|
|
46
|
+
isLastPage: boolean;
|
|
47
|
+
prevPage?: number | undefined;
|
|
48
|
+
nextPage?: number | undefined;
|
|
49
|
+
};
|
|
50
|
+
scopedProjectIds: number[];
|
|
51
|
+
}>;
|
|
7
52
|
type V2FundraisingRewardsGetQuery = ForceDig<V2FundraisingRewardsGetOperation, [
|
|
8
53
|
"parameters",
|
|
9
54
|
"query"
|
|
10
55
|
]>;
|
|
11
|
-
declare const getV2FundraisingRewards: (query: V2FundraisingRewardsGetQuery, customRequestInit?: RequestInit) => Promise<
|
|
56
|
+
declare const getV2FundraisingRewards: (query: V2FundraisingRewardsGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
57
|
+
needsDeliveryDeadlineAlert: boolean;
|
|
58
|
+
rewards: {
|
|
59
|
+
price: number;
|
|
60
|
+
id: number;
|
|
61
|
+
thumbnailUrl: string;
|
|
62
|
+
project: {
|
|
63
|
+
id: number;
|
|
64
|
+
title: string;
|
|
65
|
+
expiredAt: string;
|
|
66
|
+
};
|
|
67
|
+
deliveryRate: number;
|
|
68
|
+
orderReward: {
|
|
69
|
+
rewardCount: number;
|
|
70
|
+
waitPaymentRewardCount?: number | undefined;
|
|
71
|
+
};
|
|
72
|
+
rewardStock: {
|
|
73
|
+
__type: "limitedRewardStock";
|
|
74
|
+
stockCount: number;
|
|
75
|
+
} | {
|
|
76
|
+
__type: "unlimitedRewardStock";
|
|
77
|
+
};
|
|
78
|
+
notDeliveryStartedCount: number;
|
|
79
|
+
needsDeliveryDeadlineAlert: boolean;
|
|
80
|
+
estimatedArrivalMonth?: string | undefined;
|
|
81
|
+
shipCompletedAt?: string | undefined;
|
|
82
|
+
title?: string | undefined;
|
|
83
|
+
leftDaysToDeliveryDeadline?: number | undefined;
|
|
84
|
+
}[];
|
|
85
|
+
rewardsCount: {
|
|
86
|
+
notStarted: number;
|
|
87
|
+
completed: number;
|
|
88
|
+
actionNotNeeded: number;
|
|
89
|
+
};
|
|
90
|
+
pagination: {
|
|
91
|
+
totalPages: number;
|
|
92
|
+
totalCount: number;
|
|
93
|
+
currentPerPage: number;
|
|
94
|
+
currentPage: number;
|
|
95
|
+
isFirstPage: boolean;
|
|
96
|
+
isLastPage: boolean;
|
|
97
|
+
prevPage?: number | undefined;
|
|
98
|
+
nextPage?: number | undefined;
|
|
99
|
+
};
|
|
100
|
+
scopedProjectIds: number[];
|
|
101
|
+
}>;
|
|
12
102
|
|
|
13
103
|
export { type V2FundraisingRewardsGetQuery, type V2FundraisingRewardsGetResponse, buildV2FundraisingRewardsGetFetcher, getV2FundraisingRewards };
|
|
@@ -3,11 +3,21 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type V2FundraisingRewardsAllGetOperation = paths["/api/v2/fundraising/rewards/all"]["get"];
|
|
5
5
|
type V2FundraisingRewardsAllGetResponse = V2FundraisingRewardsAllGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildV2FundraisingRewardsAllGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
6
|
+
declare const buildV2FundraisingRewardsAllGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
+
rewards: {
|
|
8
|
+
id: number;
|
|
9
|
+
projectId: number;
|
|
10
|
+
}[];
|
|
11
|
+
}>;
|
|
7
12
|
type V2FundraisingRewardsAllGetQuery = ForceDig<V2FundraisingRewardsAllGetOperation, [
|
|
8
13
|
"parameters",
|
|
9
14
|
"query"
|
|
10
15
|
]>;
|
|
11
|
-
declare const getV2FundraisingRewardsAll: (query: V2FundraisingRewardsAllGetQuery, customRequestInit?: RequestInit) => Promise<
|
|
16
|
+
declare const getV2FundraisingRewardsAll: (query: V2FundraisingRewardsAllGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
17
|
+
rewards: {
|
|
18
|
+
id: number;
|
|
19
|
+
projectId: number;
|
|
20
|
+
}[];
|
|
21
|
+
}>;
|
|
12
22
|
|
|
13
23
|
export { type V2FundraisingRewardsAllGetQuery, type V2FundraisingRewardsAllGetResponse, buildV2FundraisingRewardsAllGetFetcher, getV2FundraisingRewardsAll };
|
|
@@ -3,11 +3,21 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type V2FundraisingRewardsAllGetOperation = paths["/api/v2/fundraising/rewards/all"]["get"];
|
|
5
5
|
type V2FundraisingRewardsAllGetResponse = V2FundraisingRewardsAllGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildV2FundraisingRewardsAllGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
6
|
+
declare const buildV2FundraisingRewardsAllGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
+
rewards: {
|
|
8
|
+
id: number;
|
|
9
|
+
projectId: number;
|
|
10
|
+
}[];
|
|
11
|
+
}>;
|
|
7
12
|
type V2FundraisingRewardsAllGetQuery = ForceDig<V2FundraisingRewardsAllGetOperation, [
|
|
8
13
|
"parameters",
|
|
9
14
|
"query"
|
|
10
15
|
]>;
|
|
11
|
-
declare const getV2FundraisingRewardsAll: (query: V2FundraisingRewardsAllGetQuery, customRequestInit?: RequestInit) => Promise<
|
|
16
|
+
declare const getV2FundraisingRewardsAll: (query: V2FundraisingRewardsAllGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
17
|
+
rewards: {
|
|
18
|
+
id: number;
|
|
19
|
+
projectId: number;
|
|
20
|
+
}[];
|
|
21
|
+
}>;
|
|
12
22
|
|
|
13
23
|
export { type V2FundraisingRewardsAllGetQuery, type V2FundraisingRewardsAllGetResponse, buildV2FundraisingRewardsAllGetFetcher, getV2FundraisingRewardsAll };
|
|
@@ -3,8 +3,28 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type V2FundraisingRewardsCsvGenerationsGetOperation = paths["/api/v2/fundraising/rewards_csv/generations"]["get"];
|
|
5
5
|
type V2FundraisingRewardsCsvGenerationsGetResponse = V2FundraisingRewardsCsvGenerationsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildV2FundraisingRewardsCsvGenerationsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
7
|
-
|
|
6
|
+
declare const buildV2FundraisingRewardsCsvGenerationsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
+
status: "failed";
|
|
8
|
+
} | {
|
|
9
|
+
status: "generated";
|
|
10
|
+
generatedAt: string;
|
|
11
|
+
} | {
|
|
12
|
+
status: "processing";
|
|
13
|
+
progressRate: number;
|
|
14
|
+
} | {
|
|
15
|
+
status: "none";
|
|
16
|
+
}>;
|
|
17
|
+
declare const getV2FundraisingRewardsCsvGenerations: (customRequestInit?: RequestInit) => Promise<{
|
|
18
|
+
status: "failed";
|
|
19
|
+
} | {
|
|
20
|
+
status: "generated";
|
|
21
|
+
generatedAt: string;
|
|
22
|
+
} | {
|
|
23
|
+
status: "processing";
|
|
24
|
+
progressRate: number;
|
|
25
|
+
} | {
|
|
26
|
+
status: "none";
|
|
27
|
+
}>;
|
|
8
28
|
type V2FundraisingRewardsCsvGenerationsPostOperation = paths["/api/v2/fundraising/rewards_csv/generations"]["post"];
|
|
9
29
|
declare const buildV2FundraisingRewardsCsvGenerationsPostFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
10
30
|
type V2FundraisingRewardsCsvGenerationsPostHeader = ForceDig<V2FundraisingRewardsCsvGenerationsPostOperation, [
|
|
@@ -3,8 +3,28 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type V2FundraisingRewardsCsvGenerationsGetOperation = paths["/api/v2/fundraising/rewards_csv/generations"]["get"];
|
|
5
5
|
type V2FundraisingRewardsCsvGenerationsGetResponse = V2FundraisingRewardsCsvGenerationsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildV2FundraisingRewardsCsvGenerationsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
7
|
-
|
|
6
|
+
declare const buildV2FundraisingRewardsCsvGenerationsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
+
status: "failed";
|
|
8
|
+
} | {
|
|
9
|
+
status: "generated";
|
|
10
|
+
generatedAt: string;
|
|
11
|
+
} | {
|
|
12
|
+
status: "processing";
|
|
13
|
+
progressRate: number;
|
|
14
|
+
} | {
|
|
15
|
+
status: "none";
|
|
16
|
+
}>;
|
|
17
|
+
declare const getV2FundraisingRewardsCsvGenerations: (customRequestInit?: RequestInit) => Promise<{
|
|
18
|
+
status: "failed";
|
|
19
|
+
} | {
|
|
20
|
+
status: "generated";
|
|
21
|
+
generatedAt: string;
|
|
22
|
+
} | {
|
|
23
|
+
status: "processing";
|
|
24
|
+
progressRate: number;
|
|
25
|
+
} | {
|
|
26
|
+
status: "none";
|
|
27
|
+
}>;
|
|
8
28
|
type V2FundraisingRewardsCsvGenerationsPostOperation = paths["/api/v2/fundraising/rewards_csv/generations"]["post"];
|
|
9
29
|
declare const buildV2FundraisingRewardsCsvGenerationsPostFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
10
30
|
type V2FundraisingRewardsCsvGenerationsPostHeader = ForceDig<V2FundraisingRewardsCsvGenerationsPostOperation, [
|
|
@@ -2,7 +2,27 @@ import { paths } from '../schemaType.mjs';
|
|
|
2
2
|
|
|
3
3
|
type V2FundraisingRewardsDeliveryStateProgressGetOperation = paths["/api/v2/fundraising/rewards/delivery_state/progress"]["get"];
|
|
4
4
|
type V2FundraisingRewardsDeliveryStateProgressGetResponse = V2FundraisingRewardsDeliveryStateProgressGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
-
declare const buildV2FundraisingRewardsDeliveryStateProgressGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
6
|
-
|
|
5
|
+
declare const buildV2FundraisingRewardsDeliveryStateProgressGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
status: "failed";
|
|
7
|
+
} | {
|
|
8
|
+
status: "completed";
|
|
9
|
+
completedAt: string;
|
|
10
|
+
} | {
|
|
11
|
+
status: "processing";
|
|
12
|
+
progressRate: number;
|
|
13
|
+
} | {
|
|
14
|
+
status: "none";
|
|
15
|
+
}>;
|
|
16
|
+
declare const getV2FundraisingRewardsDeliveryStateProgress: (customRequestInit?: RequestInit) => Promise<{
|
|
17
|
+
status: "failed";
|
|
18
|
+
} | {
|
|
19
|
+
status: "completed";
|
|
20
|
+
completedAt: string;
|
|
21
|
+
} | {
|
|
22
|
+
status: "processing";
|
|
23
|
+
progressRate: number;
|
|
24
|
+
} | {
|
|
25
|
+
status: "none";
|
|
26
|
+
}>;
|
|
7
27
|
|
|
8
28
|
export { type V2FundraisingRewardsDeliveryStateProgressGetResponse, buildV2FundraisingRewardsDeliveryStateProgressGetFetcher, getV2FundraisingRewardsDeliveryStateProgress };
|
|
@@ -2,7 +2,27 @@ import { paths } from '../schemaType.js';
|
|
|
2
2
|
|
|
3
3
|
type V2FundraisingRewardsDeliveryStateProgressGetOperation = paths["/api/v2/fundraising/rewards/delivery_state/progress"]["get"];
|
|
4
4
|
type V2FundraisingRewardsDeliveryStateProgressGetResponse = V2FundraisingRewardsDeliveryStateProgressGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
-
declare const buildV2FundraisingRewardsDeliveryStateProgressGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
6
|
-
|
|
5
|
+
declare const buildV2FundraisingRewardsDeliveryStateProgressGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
status: "failed";
|
|
7
|
+
} | {
|
|
8
|
+
status: "completed";
|
|
9
|
+
completedAt: string;
|
|
10
|
+
} | {
|
|
11
|
+
status: "processing";
|
|
12
|
+
progressRate: number;
|
|
13
|
+
} | {
|
|
14
|
+
status: "none";
|
|
15
|
+
}>;
|
|
16
|
+
declare const getV2FundraisingRewardsDeliveryStateProgress: (customRequestInit?: RequestInit) => Promise<{
|
|
17
|
+
status: "failed";
|
|
18
|
+
} | {
|
|
19
|
+
status: "completed";
|
|
20
|
+
completedAt: string;
|
|
21
|
+
} | {
|
|
22
|
+
status: "processing";
|
|
23
|
+
progressRate: number;
|
|
24
|
+
} | {
|
|
25
|
+
status: "none";
|
|
26
|
+
}>;
|
|
7
27
|
|
|
8
28
|
export { type V2FundraisingRewardsDeliveryStateProgressGetResponse, buildV2FundraisingRewardsDeliveryStateProgressGetFetcher, getV2FundraisingRewardsDeliveryStateProgress };
|
|
@@ -3,11 +3,73 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type V2FundraisingRewardsRewardIdGetOperation = paths["/api/v2/fundraising/rewards/{reward_id}"]["get"];
|
|
5
5
|
type V2FundraisingRewardsRewardIdGetResponse = V2FundraisingRewardsRewardIdGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildV2FundraisingRewardsRewardIdGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
6
|
+
declare const buildV2FundraisingRewardsRewardIdGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
+
price: number;
|
|
8
|
+
id: number;
|
|
9
|
+
thumbnailUrl: string;
|
|
10
|
+
project: {
|
|
11
|
+
id: number;
|
|
12
|
+
title: string;
|
|
13
|
+
expiredAt: string;
|
|
14
|
+
};
|
|
15
|
+
deliveryState: "notStarted" | "completed" | "actionNotNeeded";
|
|
16
|
+
deliveryRate: number;
|
|
17
|
+
orderReward: {
|
|
18
|
+
rewardCount: number;
|
|
19
|
+
waitPaymentRewardCount?: number | undefined;
|
|
20
|
+
};
|
|
21
|
+
rewardStock: {
|
|
22
|
+
__type: "limitedRewardStock";
|
|
23
|
+
stockCount: number;
|
|
24
|
+
} | {
|
|
25
|
+
__type: "unlimitedRewardStock";
|
|
26
|
+
};
|
|
27
|
+
notDeliveryStartedCount: number;
|
|
28
|
+
description: string;
|
|
29
|
+
shippingRequired: boolean;
|
|
30
|
+
estimatedArrivalMonth?: string | undefined;
|
|
31
|
+
shipCompletedAt?: string | undefined;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
rewardExOptions?: {
|
|
34
|
+
question: string;
|
|
35
|
+
answerSelections?: string[] | undefined;
|
|
36
|
+
}[] | undefined;
|
|
37
|
+
}>;
|
|
7
38
|
type V2FundraisingRewardsRewardIdGetPath = ForceDig<V2FundraisingRewardsRewardIdGetOperation, [
|
|
8
39
|
"parameters",
|
|
9
40
|
"path"
|
|
10
41
|
]>;
|
|
11
|
-
declare const getV2FundraisingRewardsRewardId: (path: V2FundraisingRewardsRewardIdGetPath, customRequestInit?: RequestInit) => Promise<
|
|
42
|
+
declare const getV2FundraisingRewardsRewardId: (path: V2FundraisingRewardsRewardIdGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
43
|
+
price: number;
|
|
44
|
+
id: number;
|
|
45
|
+
thumbnailUrl: string;
|
|
46
|
+
project: {
|
|
47
|
+
id: number;
|
|
48
|
+
title: string;
|
|
49
|
+
expiredAt: string;
|
|
50
|
+
};
|
|
51
|
+
deliveryState: "notStarted" | "completed" | "actionNotNeeded";
|
|
52
|
+
deliveryRate: number;
|
|
53
|
+
orderReward: {
|
|
54
|
+
rewardCount: number;
|
|
55
|
+
waitPaymentRewardCount?: number | undefined;
|
|
56
|
+
};
|
|
57
|
+
rewardStock: {
|
|
58
|
+
__type: "limitedRewardStock";
|
|
59
|
+
stockCount: number;
|
|
60
|
+
} | {
|
|
61
|
+
__type: "unlimitedRewardStock";
|
|
62
|
+
};
|
|
63
|
+
notDeliveryStartedCount: number;
|
|
64
|
+
description: string;
|
|
65
|
+
shippingRequired: boolean;
|
|
66
|
+
estimatedArrivalMonth?: string | undefined;
|
|
67
|
+
shipCompletedAt?: string | undefined;
|
|
68
|
+
title?: string | undefined;
|
|
69
|
+
rewardExOptions?: {
|
|
70
|
+
question: string;
|
|
71
|
+
answerSelections?: string[] | undefined;
|
|
72
|
+
}[] | undefined;
|
|
73
|
+
}>;
|
|
12
74
|
|
|
13
75
|
export { type V2FundraisingRewardsRewardIdGetPath, type V2FundraisingRewardsRewardIdGetResponse, buildV2FundraisingRewardsRewardIdGetFetcher, getV2FundraisingRewardsRewardId };
|
|
@@ -3,11 +3,73 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type V2FundraisingRewardsRewardIdGetOperation = paths["/api/v2/fundraising/rewards/{reward_id}"]["get"];
|
|
5
5
|
type V2FundraisingRewardsRewardIdGetResponse = V2FundraisingRewardsRewardIdGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildV2FundraisingRewardsRewardIdGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
6
|
+
declare const buildV2FundraisingRewardsRewardIdGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
+
price: number;
|
|
8
|
+
id: number;
|
|
9
|
+
thumbnailUrl: string;
|
|
10
|
+
project: {
|
|
11
|
+
id: number;
|
|
12
|
+
title: string;
|
|
13
|
+
expiredAt: string;
|
|
14
|
+
};
|
|
15
|
+
deliveryState: "notStarted" | "completed" | "actionNotNeeded";
|
|
16
|
+
deliveryRate: number;
|
|
17
|
+
orderReward: {
|
|
18
|
+
rewardCount: number;
|
|
19
|
+
waitPaymentRewardCount?: number | undefined;
|
|
20
|
+
};
|
|
21
|
+
rewardStock: {
|
|
22
|
+
__type: "limitedRewardStock";
|
|
23
|
+
stockCount: number;
|
|
24
|
+
} | {
|
|
25
|
+
__type: "unlimitedRewardStock";
|
|
26
|
+
};
|
|
27
|
+
notDeliveryStartedCount: number;
|
|
28
|
+
description: string;
|
|
29
|
+
shippingRequired: boolean;
|
|
30
|
+
estimatedArrivalMonth?: string | undefined;
|
|
31
|
+
shipCompletedAt?: string | undefined;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
rewardExOptions?: {
|
|
34
|
+
question: string;
|
|
35
|
+
answerSelections?: string[] | undefined;
|
|
36
|
+
}[] | undefined;
|
|
37
|
+
}>;
|
|
7
38
|
type V2FundraisingRewardsRewardIdGetPath = ForceDig<V2FundraisingRewardsRewardIdGetOperation, [
|
|
8
39
|
"parameters",
|
|
9
40
|
"path"
|
|
10
41
|
]>;
|
|
11
|
-
declare const getV2FundraisingRewardsRewardId: (path: V2FundraisingRewardsRewardIdGetPath, customRequestInit?: RequestInit) => Promise<
|
|
42
|
+
declare const getV2FundraisingRewardsRewardId: (path: V2FundraisingRewardsRewardIdGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
43
|
+
price: number;
|
|
44
|
+
id: number;
|
|
45
|
+
thumbnailUrl: string;
|
|
46
|
+
project: {
|
|
47
|
+
id: number;
|
|
48
|
+
title: string;
|
|
49
|
+
expiredAt: string;
|
|
50
|
+
};
|
|
51
|
+
deliveryState: "notStarted" | "completed" | "actionNotNeeded";
|
|
52
|
+
deliveryRate: number;
|
|
53
|
+
orderReward: {
|
|
54
|
+
rewardCount: number;
|
|
55
|
+
waitPaymentRewardCount?: number | undefined;
|
|
56
|
+
};
|
|
57
|
+
rewardStock: {
|
|
58
|
+
__type: "limitedRewardStock";
|
|
59
|
+
stockCount: number;
|
|
60
|
+
} | {
|
|
61
|
+
__type: "unlimitedRewardStock";
|
|
62
|
+
};
|
|
63
|
+
notDeliveryStartedCount: number;
|
|
64
|
+
description: string;
|
|
65
|
+
shippingRequired: boolean;
|
|
66
|
+
estimatedArrivalMonth?: string | undefined;
|
|
67
|
+
shipCompletedAt?: string | undefined;
|
|
68
|
+
title?: string | undefined;
|
|
69
|
+
rewardExOptions?: {
|
|
70
|
+
question: string;
|
|
71
|
+
answerSelections?: string[] | undefined;
|
|
72
|
+
}[] | undefined;
|
|
73
|
+
}>;
|
|
12
74
|
|
|
13
75
|
export { type V2FundraisingRewardsRewardIdGetPath, type V2FundraisingRewardsRewardIdGetResponse, buildV2FundraisingRewardsRewardIdGetFetcher, getV2FundraisingRewardsRewardId };
|
|
@@ -3,11 +3,113 @@ import { QueryPropsFor, ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type V2FundraisingSpotCrowdfundingProjectOrdersGetOperation = paths["/api/v2/fundraising/spot_crowdfunding_project_orders"]["get"];
|
|
5
5
|
type V2FundraisingSpotCrowdfundingProjectOrdersGetResponse = V2FundraisingSpotCrowdfundingProjectOrdersGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
6
|
+
declare const buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
+
ordersCount: {
|
|
8
|
+
ongoing: number;
|
|
9
|
+
closed: number;
|
|
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
|
+
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
|
+
id: number;
|
|
32
|
+
project: {
|
|
33
|
+
id: number;
|
|
34
|
+
title: string;
|
|
35
|
+
keyword?: string | undefined;
|
|
36
|
+
};
|
|
37
|
+
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
38
|
+
payment: {
|
|
39
|
+
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
40
|
+
state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
|
|
41
|
+
};
|
|
42
|
+
rewardDeliveries: {
|
|
43
|
+
rewardThumbnailUrl: string;
|
|
44
|
+
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
45
|
+
rewardTitle?: string | undefined;
|
|
46
|
+
}[];
|
|
47
|
+
deliveryProtected: boolean;
|
|
48
|
+
needsPaymentDeadlineAlert: boolean;
|
|
49
|
+
hasRewardExOptionAnswer: boolean;
|
|
50
|
+
delivery?: {
|
|
51
|
+
zipCode: string;
|
|
52
|
+
deliveryAddress: string;
|
|
53
|
+
phoneNumber: string;
|
|
54
|
+
deliveryName: string;
|
|
55
|
+
} | undefined;
|
|
56
|
+
}[];
|
|
57
|
+
}>;
|
|
7
58
|
type V2FundraisingSpotCrowdfundingProjectOrdersGetQuery = QueryPropsFor<ForceDig<V2FundraisingSpotCrowdfundingProjectOrdersGetOperation, [
|
|
8
59
|
"parameters",
|
|
9
60
|
"query"
|
|
10
61
|
]>>;
|
|
11
|
-
declare const getV2FundraisingSpotCrowdfundingProjectOrders: (query: V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, customRequestInit?: RequestInit) => Promise<
|
|
62
|
+
declare const getV2FundraisingSpotCrowdfundingProjectOrders: (query: V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
63
|
+
ordersCount: {
|
|
64
|
+
ongoing: number;
|
|
65
|
+
closed: number;
|
|
66
|
+
};
|
|
67
|
+
needsPaymentDeadlineAlert: boolean;
|
|
68
|
+
pagination: {
|
|
69
|
+
totalPages: number;
|
|
70
|
+
totalCount: number;
|
|
71
|
+
currentPerPage: number;
|
|
72
|
+
currentPage: number;
|
|
73
|
+
isFirstPage: boolean;
|
|
74
|
+
isLastPage: boolean;
|
|
75
|
+
prevPage?: number | undefined;
|
|
76
|
+
nextPage?: number | undefined;
|
|
77
|
+
};
|
|
78
|
+
orders: {
|
|
79
|
+
contributor: {
|
|
80
|
+
email: string | null;
|
|
81
|
+
name: string;
|
|
82
|
+
id: number;
|
|
83
|
+
imageUrl?: string | undefined;
|
|
84
|
+
};
|
|
85
|
+
createdAt: string;
|
|
86
|
+
payAmount: number;
|
|
87
|
+
id: number;
|
|
88
|
+
project: {
|
|
89
|
+
id: number;
|
|
90
|
+
title: string;
|
|
91
|
+
keyword?: string | undefined;
|
|
92
|
+
};
|
|
93
|
+
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
94
|
+
payment: {
|
|
95
|
+
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
96
|
+
state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
|
|
97
|
+
};
|
|
98
|
+
rewardDeliveries: {
|
|
99
|
+
rewardThumbnailUrl: string;
|
|
100
|
+
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
101
|
+
rewardTitle?: string | undefined;
|
|
102
|
+
}[];
|
|
103
|
+
deliveryProtected: boolean;
|
|
104
|
+
needsPaymentDeadlineAlert: boolean;
|
|
105
|
+
hasRewardExOptionAnswer: boolean;
|
|
106
|
+
delivery?: {
|
|
107
|
+
zipCode: string;
|
|
108
|
+
deliveryAddress: string;
|
|
109
|
+
phoneNumber: string;
|
|
110
|
+
deliveryName: string;
|
|
111
|
+
} | undefined;
|
|
112
|
+
}[];
|
|
113
|
+
}>;
|
|
12
114
|
|
|
13
115
|
export { type V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, type V2FundraisingSpotCrowdfundingProjectOrdersGetResponse, buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher, getV2FundraisingSpotCrowdfundingProjectOrders };
|
|
@@ -3,11 +3,113 @@ import { QueryPropsFor, ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type V2FundraisingSpotCrowdfundingProjectOrdersGetOperation = paths["/api/v2/fundraising/spot_crowdfunding_project_orders"]["get"];
|
|
5
5
|
type V2FundraisingSpotCrowdfundingProjectOrdersGetResponse = V2FundraisingSpotCrowdfundingProjectOrdersGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
6
|
+
declare const buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
+
ordersCount: {
|
|
8
|
+
ongoing: number;
|
|
9
|
+
closed: number;
|
|
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
|
+
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
|
+
id: number;
|
|
32
|
+
project: {
|
|
33
|
+
id: number;
|
|
34
|
+
title: string;
|
|
35
|
+
keyword?: string | undefined;
|
|
36
|
+
};
|
|
37
|
+
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
38
|
+
payment: {
|
|
39
|
+
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
40
|
+
state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
|
|
41
|
+
};
|
|
42
|
+
rewardDeliveries: {
|
|
43
|
+
rewardThumbnailUrl: string;
|
|
44
|
+
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
45
|
+
rewardTitle?: string | undefined;
|
|
46
|
+
}[];
|
|
47
|
+
deliveryProtected: boolean;
|
|
48
|
+
needsPaymentDeadlineAlert: boolean;
|
|
49
|
+
hasRewardExOptionAnswer: boolean;
|
|
50
|
+
delivery?: {
|
|
51
|
+
zipCode: string;
|
|
52
|
+
deliveryAddress: string;
|
|
53
|
+
phoneNumber: string;
|
|
54
|
+
deliveryName: string;
|
|
55
|
+
} | undefined;
|
|
56
|
+
}[];
|
|
57
|
+
}>;
|
|
7
58
|
type V2FundraisingSpotCrowdfundingProjectOrdersGetQuery = QueryPropsFor<ForceDig<V2FundraisingSpotCrowdfundingProjectOrdersGetOperation, [
|
|
8
59
|
"parameters",
|
|
9
60
|
"query"
|
|
10
61
|
]>>;
|
|
11
|
-
declare const getV2FundraisingSpotCrowdfundingProjectOrders: (query: V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, customRequestInit?: RequestInit) => Promise<
|
|
62
|
+
declare const getV2FundraisingSpotCrowdfundingProjectOrders: (query: V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
63
|
+
ordersCount: {
|
|
64
|
+
ongoing: number;
|
|
65
|
+
closed: number;
|
|
66
|
+
};
|
|
67
|
+
needsPaymentDeadlineAlert: boolean;
|
|
68
|
+
pagination: {
|
|
69
|
+
totalPages: number;
|
|
70
|
+
totalCount: number;
|
|
71
|
+
currentPerPage: number;
|
|
72
|
+
currentPage: number;
|
|
73
|
+
isFirstPage: boolean;
|
|
74
|
+
isLastPage: boolean;
|
|
75
|
+
prevPage?: number | undefined;
|
|
76
|
+
nextPage?: number | undefined;
|
|
77
|
+
};
|
|
78
|
+
orders: {
|
|
79
|
+
contributor: {
|
|
80
|
+
email: string | null;
|
|
81
|
+
name: string;
|
|
82
|
+
id: number;
|
|
83
|
+
imageUrl?: string | undefined;
|
|
84
|
+
};
|
|
85
|
+
createdAt: string;
|
|
86
|
+
payAmount: number;
|
|
87
|
+
id: number;
|
|
88
|
+
project: {
|
|
89
|
+
id: number;
|
|
90
|
+
title: string;
|
|
91
|
+
keyword?: string | undefined;
|
|
92
|
+
};
|
|
93
|
+
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
94
|
+
payment: {
|
|
95
|
+
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
96
|
+
state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
|
|
97
|
+
};
|
|
98
|
+
rewardDeliveries: {
|
|
99
|
+
rewardThumbnailUrl: string;
|
|
100
|
+
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
101
|
+
rewardTitle?: string | undefined;
|
|
102
|
+
}[];
|
|
103
|
+
deliveryProtected: boolean;
|
|
104
|
+
needsPaymentDeadlineAlert: boolean;
|
|
105
|
+
hasRewardExOptionAnswer: boolean;
|
|
106
|
+
delivery?: {
|
|
107
|
+
zipCode: string;
|
|
108
|
+
deliveryAddress: string;
|
|
109
|
+
phoneNumber: string;
|
|
110
|
+
deliveryName: string;
|
|
111
|
+
} | undefined;
|
|
112
|
+
}[];
|
|
113
|
+
}>;
|
|
12
114
|
|
|
13
115
|
export { type V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, type V2FundraisingSpotCrowdfundingProjectOrdersGetResponse, buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher, getV2FundraisingSpotCrowdfundingProjectOrders };
|