@readyfor/api-client-readyfor-api 0.259.0-pr1021.bf09149 → 0.259.0-pr1028.cb4729e
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 +7102 -698
- package/dist/components.d.ts +7102 -698
- 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/v2FundraisingContributorsId.d.mts +34 -2
- package/dist/fetch/v2FundraisingContributorsId.d.ts +34 -2
- package/dist/fetch/v2FundraisingContributorsIdMemo.d.mts +6 -2
- package/dist/fetch/v2FundraisingContributorsIdMemo.d.ts +6 -2
- package/dist/fetch/v2FundraisingContributorsIdOrders.d.mts +78 -2
- package/dist/fetch/v2FundraisingContributorsIdOrders.d.ts +78 -2
- package/dist/fetch/v2FundraisingContributorsOwnedPublicProjects.d.mts +16 -2
- package/dist/fetch/v2FundraisingContributorsOwnedPublicProjects.d.ts +16 -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/dist/hooks/index.d.mts +0 -1
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/useV2ContributionsCheckOrderStatus.d.mts +2 -3
- package/dist/hooks/useV2ContributionsCheckOrderStatus.d.ts +2 -3
- package/dist/hooks/useV2ContributionsCheckOwnerFriend.d.mts +2 -3
- package/dist/hooks/useV2ContributionsCheckOwnerFriend.d.ts +2 -3
- package/dist/hooks/useV2ContributionsOrderInfo.d.mts +2 -3
- package/dist/hooks/useV2ContributionsOrderInfo.d.ts +2 -3
- package/dist/hooks/useV2ContributionsPaymentInfo.d.mts +2 -3
- package/dist/hooks/useV2ContributionsPaymentInfo.d.ts +2 -3
- package/dist/hooks/useV2ContributionsPaymentMethods.d.mts +2 -3
- package/dist/hooks/useV2ContributionsPaymentMethods.d.ts +2 -3
- package/dist/hooks/useV2ContributionsProjectInfo.d.mts +2 -3
- package/dist/hooks/useV2ContributionsProjectInfo.d.ts +2 -3
- package/dist/hooks/useV2ContributionsRecommendedProjects.d.mts +2 -3
- package/dist/hooks/useV2ContributionsRecommendedProjects.d.ts +2 -3
- package/dist/hooks/useV2ContributionsRecommendedTags.d.mts +2 -3
- package/dist/hooks/useV2ContributionsRecommendedTags.d.ts +2 -3
- package/dist/hooks/useV2ContributionsUserInfo.d.mts +2 -3
- package/dist/hooks/useV2ContributionsUserInfo.d.ts +2 -3
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.mts +2 -3
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.ts +2 -3
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.mts +2 -3
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.ts +2 -3
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.mts +2 -3
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.ts +2 -3
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsersCount.d.mts +2 -3
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsersCount.d.ts +2 -3
- package/dist/hooks/useV2FundraisingContributors.d.mts +2 -3
- package/dist/hooks/useV2FundraisingContributors.d.ts +2 -3
- package/dist/hooks/useV2FundraisingContributorsCount.d.mts +2 -3
- package/dist/hooks/useV2FundraisingContributorsCount.d.ts +2 -3
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.d.mts +2 -3
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.d.ts +2 -3
- package/dist/hooks/useV2FundraisingContributorsId.d.mts +2 -3
- package/dist/hooks/useV2FundraisingContributorsId.d.ts +2 -3
- package/dist/hooks/useV2FundraisingContributorsIdOrders.d.mts +2 -3
- package/dist/hooks/useV2FundraisingContributorsIdOrders.d.ts +2 -3
- package/dist/hooks/useV2FundraisingContributorsOwnedPublicProjects.d.mts +2 -3
- package/dist/hooks/useV2FundraisingContributorsOwnedPublicProjects.d.ts +2 -3
- package/dist/hooks/useV2FundraisingContributorsUsers.d.mts +2 -3
- package/dist/hooks/useV2FundraisingContributorsUsers.d.ts +2 -3
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.d.mts +2 -3
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.d.ts +2 -3
- package/dist/hooks/useV2FundraisingProjectsProjectIdOfflineDonation.d.mts +2 -3
- package/dist/hooks/useV2FundraisingProjectsProjectIdOfflineDonation.d.ts +2 -3
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.mts +2 -3
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.ts +2 -3
- package/dist/hooks/useV2FundraisingRewards.d.mts +2 -3
- package/dist/hooks/useV2FundraisingRewards.d.ts +2 -3
- package/dist/hooks/useV2FundraisingRewardsAll.d.mts +2 -3
- package/dist/hooks/useV2FundraisingRewardsAll.d.ts +2 -3
- package/dist/hooks/useV2FundraisingRewardsCsvGenerations.d.mts +2 -3
- package/dist/hooks/useV2FundraisingRewardsCsvGenerations.d.ts +2 -3
- package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.d.mts +2 -3
- package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.d.ts +2 -3
- package/dist/hooks/useV2FundraisingRewardsRewardId.d.mts +2 -3
- package/dist/hooks/useV2FundraisingRewardsRewardId.d.ts +2 -3
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.mts +2 -3
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.ts +2 -3
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.mts +2 -3
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.ts +2 -3
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.mts +2 -3
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.ts +2 -3
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +2 -3
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +2 -3
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.mts +2 -3
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.ts +2 -3
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.mts +2 -3
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.ts +2 -3
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.mts +2 -3
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.ts +2 -3
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.mts +2 -3
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.ts +2 -3
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +2 -3
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +2 -3
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.mts +2 -3
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.ts +2 -3
- package/dist/hooks/useV2OwnerCrmContributorsOrders.d.mts +2 -3
- package/dist/hooks/useV2OwnerCrmContributorsOrders.d.ts +2 -3
- package/dist/hooks/useV2OwnerCrmContributorsProjects.d.mts +2 -3
- package/dist/hooks/useV2OwnerCrmContributorsProjects.d.ts +2 -3
- package/dist/hooks/useV2OwnerCrmContributorsUser.d.mts +2 -3
- package/dist/hooks/useV2OwnerCrmContributorsUser.d.ts +2 -3
- package/dist/hooks/useV2ResourcesBankBranches.d.mts +2 -3
- package/dist/hooks/useV2ResourcesBankBranches.d.ts +2 -3
- package/dist/hooks/useV2ResourcesBanks.d.mts +2 -3
- package/dist/hooks/useV2ResourcesBanks.d.ts +2 -3
- package/dist/hooks/useV2ResourcesUsers.d.mts +2 -3
- package/dist/hooks/useV2ResourcesUsers.d.ts +2 -3
- package/dist/hooks/useV2Token.d.mts +2 -3
- package/dist/hooks/useV2Token.d.ts +2 -3
- package/package.json +5 -5
|
@@ -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 };
|
|
@@ -3,11 +3,31 @@ import { QueryPropsFor, ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type V2FundraisingSpotCrowdfundingProjectOrdersAllGetOperation = paths["/api/v2/fundraising/spot_crowdfunding_project_orders/all"]["get"];
|
|
5
5
|
type V2FundraisingSpotCrowdfundingProjectOrdersAllGetResponse = V2FundraisingSpotCrowdfundingProjectOrdersAllGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildV2FundraisingSpotCrowdfundingProjectOrdersAllGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
6
|
+
declare const buildV2FundraisingSpotCrowdfundingProjectOrdersAllGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
+
orders: {
|
|
8
|
+
contributor: {
|
|
9
|
+
email: string | null;
|
|
10
|
+
name: string;
|
|
11
|
+
id: number;
|
|
12
|
+
imageUrl?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
id: number;
|
|
15
|
+
}[];
|
|
16
|
+
}>;
|
|
7
17
|
type V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery = QueryPropsFor<ForceDig<V2FundraisingSpotCrowdfundingProjectOrdersAllGetOperation, [
|
|
8
18
|
"parameters",
|
|
9
19
|
"query"
|
|
10
20
|
]>>;
|
|
11
|
-
declare const getV2FundraisingSpotCrowdfundingProjectOrdersAll: (query: V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery, customRequestInit?: RequestInit) => Promise<
|
|
21
|
+
declare const getV2FundraisingSpotCrowdfundingProjectOrdersAll: (query: V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
22
|
+
orders: {
|
|
23
|
+
contributor: {
|
|
24
|
+
email: string | null;
|
|
25
|
+
name: string;
|
|
26
|
+
id: number;
|
|
27
|
+
imageUrl?: string | undefined;
|
|
28
|
+
};
|
|
29
|
+
id: number;
|
|
30
|
+
}[];
|
|
31
|
+
}>;
|
|
12
32
|
|
|
13
33
|
export { type V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery, type V2FundraisingSpotCrowdfundingProjectOrdersAllGetResponse, buildV2FundraisingSpotCrowdfundingProjectOrdersAllGetFetcher, getV2FundraisingSpotCrowdfundingProjectOrdersAll };
|
|
@@ -3,11 +3,31 @@ import { QueryPropsFor, ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
4
4
|
type V2FundraisingSpotCrowdfundingProjectOrdersAllGetOperation = paths["/api/v2/fundraising/spot_crowdfunding_project_orders/all"]["get"];
|
|
5
5
|
type V2FundraisingSpotCrowdfundingProjectOrdersAllGetResponse = V2FundraisingSpotCrowdfundingProjectOrdersAllGetOperation["responses"]["200"]["content"]["application/json"];
|
|
6
|
-
declare const buildV2FundraisingSpotCrowdfundingProjectOrdersAllGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
6
|
+
declare const buildV2FundraisingSpotCrowdfundingProjectOrdersAllGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
7
|
+
orders: {
|
|
8
|
+
contributor: {
|
|
9
|
+
email: string | null;
|
|
10
|
+
name: string;
|
|
11
|
+
id: number;
|
|
12
|
+
imageUrl?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
id: number;
|
|
15
|
+
}[];
|
|
16
|
+
}>;
|
|
7
17
|
type V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery = QueryPropsFor<ForceDig<V2FundraisingSpotCrowdfundingProjectOrdersAllGetOperation, [
|
|
8
18
|
"parameters",
|
|
9
19
|
"query"
|
|
10
20
|
]>>;
|
|
11
|
-
declare const getV2FundraisingSpotCrowdfundingProjectOrdersAll: (query: V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery, customRequestInit?: RequestInit) => Promise<
|
|
21
|
+
declare const getV2FundraisingSpotCrowdfundingProjectOrdersAll: (query: V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery, customRequestInit?: RequestInit) => Promise<{
|
|
22
|
+
orders: {
|
|
23
|
+
contributor: {
|
|
24
|
+
email: string | null;
|
|
25
|
+
name: string;
|
|
26
|
+
id: number;
|
|
27
|
+
imageUrl?: string | undefined;
|
|
28
|
+
};
|
|
29
|
+
id: number;
|
|
30
|
+
}[];
|
|
31
|
+
}>;
|
|
12
32
|
|
|
13
33
|
export { type V2FundraisingSpotCrowdfundingProjectOrdersAllGetQuery, type V2FundraisingSpotCrowdfundingProjectOrdersAllGetResponse, buildV2FundraisingSpotCrowdfundingProjectOrdersAllGetFetcher, getV2FundraisingSpotCrowdfundingProjectOrdersAll };
|
|
@@ -3,11 +3,113 @@ import { ForceDig } from '@readyfor/api-client-base';
|
|
|
3
3
|
|
|
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
|
-
declare const buildV2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<
|
|
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
|
+
id: number;
|
|
18
|
+
project: {
|
|
19
|
+
id: number;
|
|
20
|
+
title: string;
|
|
21
|
+
};
|
|
22
|
+
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
23
|
+
comments: {
|
|
24
|
+
imageUrl: string;
|
|
25
|
+
name: string;
|
|
26
|
+
createdAt: string;
|
|
27
|
+
content: string;
|
|
28
|
+
}[];
|
|
29
|
+
payment: {
|
|
30
|
+
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
31
|
+
state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
|
|
32
|
+
};
|
|
33
|
+
rewardDeliveries: {
|
|
34
|
+
price: number;
|
|
35
|
+
id: number;
|
|
36
|
+
rewardThumbnailUrl: string;
|
|
37
|
+
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
38
|
+
selectedCount: number;
|
|
39
|
+
rewardTitle?: string | undefined;
|
|
40
|
+
}[];
|
|
41
|
+
privacyProtected: boolean;
|
|
42
|
+
delivery?: {
|
|
43
|
+
zipCode: string;
|
|
44
|
+
deliveryAddress: string;
|
|
45
|
+
phoneNumber: string;
|
|
46
|
+
deliveryName: string;
|
|
47
|
+
} | undefined;
|
|
48
|
+
orderRewardExOptions?: {
|
|
49
|
+
options: {
|
|
50
|
+
question: string;
|
|
51
|
+
answer?: string | undefined;
|
|
52
|
+
}[];
|
|
53
|
+
rewardThumbnailUrl: string;
|
|
54
|
+
rewardTitle?: string | undefined;
|
|
55
|
+
}[] | undefined;
|
|
56
|
+
paymentDeadline?: string | undefined;
|
|
57
|
+
}>;
|
|
7
58
|
type V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetPath = ForceDig<V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetOperation, [
|
|
8
59
|
"parameters",
|
|
9
60
|
"path"
|
|
10
61
|
]>;
|
|
11
|
-
declare const getV2FundraisingSpotCrowdfundingProjectOrdersOrderId: (path: V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetPath, customRequestInit?: RequestInit) => Promise<
|
|
62
|
+
declare const getV2FundraisingSpotCrowdfundingProjectOrdersOrderId: (path: V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetPath, customRequestInit?: RequestInit) => Promise<{
|
|
63
|
+
contributor: {
|
|
64
|
+
imageUrl: string;
|
|
65
|
+
email: string | null;
|
|
66
|
+
name: string;
|
|
67
|
+
id: number;
|
|
68
|
+
isActive: boolean;
|
|
69
|
+
hasValidOrder: boolean;
|
|
70
|
+
};
|
|
71
|
+
createdAt: string;
|
|
72
|
+
payAmount: number;
|
|
73
|
+
id: number;
|
|
74
|
+
project: {
|
|
75
|
+
id: number;
|
|
76
|
+
title: string;
|
|
77
|
+
};
|
|
78
|
+
state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
|
|
79
|
+
comments: {
|
|
80
|
+
imageUrl: string;
|
|
81
|
+
name: string;
|
|
82
|
+
createdAt: string;
|
|
83
|
+
content: string;
|
|
84
|
+
}[];
|
|
85
|
+
payment: {
|
|
86
|
+
type: "creditCard" | "bankTransfer" | "convenienceStore";
|
|
87
|
+
state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
|
|
88
|
+
};
|
|
89
|
+
rewardDeliveries: {
|
|
90
|
+
price: number;
|
|
91
|
+
id: number;
|
|
92
|
+
rewardThumbnailUrl: string;
|
|
93
|
+
deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
|
|
94
|
+
selectedCount: number;
|
|
95
|
+
rewardTitle?: string | undefined;
|
|
96
|
+
}[];
|
|
97
|
+
privacyProtected: boolean;
|
|
98
|
+
delivery?: {
|
|
99
|
+
zipCode: string;
|
|
100
|
+
deliveryAddress: string;
|
|
101
|
+
phoneNumber: string;
|
|
102
|
+
deliveryName: string;
|
|
103
|
+
} | undefined;
|
|
104
|
+
orderRewardExOptions?: {
|
|
105
|
+
options: {
|
|
106
|
+
question: string;
|
|
107
|
+
answer?: string | undefined;
|
|
108
|
+
}[];
|
|
109
|
+
rewardThumbnailUrl: string;
|
|
110
|
+
rewardTitle?: string | undefined;
|
|
111
|
+
}[] | undefined;
|
|
112
|
+
paymentDeadline?: string | undefined;
|
|
113
|
+
}>;
|
|
12
114
|
|
|
13
115
|
export { type V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetPath, type V2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetResponse, buildV2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetFetcher, getV2FundraisingSpotCrowdfundingProjectOrdersOrderId };
|