@readyfor/api-client-readyfor-api 1.160.0-pr1544.cc20411 → 1.160.0-pr1545.13b04e3
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.ts +2599 -2
- package/dist/fetch/v2ContributionsCancelContribution.d.ts +12 -2
- package/dist/fetch/v2ContributionsCard3dSecureExecContribution.d.ts +37 -2
- package/dist/fetch/v2ContributionsCard3dSecureRetryContribution.d.ts +37 -2
- package/dist/fetch/v2ContributionsCheckOrderStatus.d.ts +20 -2
- package/dist/fetch/v2ContributionsCheckOwnerFriend.d.ts +12 -2
- package/dist/fetch/v2ContributionsExecContribution.d.ts +18 -2
- package/dist/fetch/v2ContributionsOrderInfo.d.ts +148 -2
- package/dist/fetch/v2ContributionsPaymentInfo.d.ts +26 -2
- package/dist/fetch/v2ContributionsPaymentMethods.d.ts +45 -2
- package/dist/fetch/v2ContributionsPostComment.d.ts +12 -2
- package/dist/fetch/v2ContributionsPostSurveyAnswer.d.ts +12 -2
- package/dist/fetch/v2ContributionsProjectInfo.d.ts +132 -2
- package/dist/fetch/v2ContributionsRecommendedProjects.d.ts +52 -2
- package/dist/fetch/v2ContributionsRecommendedTags.d.ts +18 -2
- package/dist/fetch/v2ContributionsRecurringCancelContribution.d.ts +14 -2
- package/dist/fetch/v2ContributionsRecurringChangePaymentInfo.d.ts +16 -2
- package/dist/fetch/v2ContributionsRecurringUpdateUserDelivery.d.ts +16 -2
- package/dist/fetch/v2ContributionsRetryContribution.d.ts +18 -2
- package/dist/fetch/v2ContributionsSurvey.d.ts +58 -2
- package/dist/fetch/v2ContributionsUpdateCommentedUserName.d.ts +13 -2
- package/dist/fetch/v2ContributionsUpdateUserDelivery.d.ts +12 -2
- package/dist/fetch/v2ContributionsUserInfo.d.ts +98 -2
- package/dist/fetch/v2ContributionsValidPaymentInfo.d.ts +13 -2
- package/dist/fetch/v2ContributionsValidSelectedRewards.d.ts +12 -2
- package/dist/fetch/v2ContributionsValidUserDelivery.d.ts +13 -2
- package/dist/fetch/v2FundraisingBulkMessagesOwnedPublicProjects.d.ts +19 -2
- package/dist/fetch/v2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.ts +20 -2
- package/dist/fetch/v2FundraisingBulkMessagesTargetUsers.d.ts +20 -2
- package/dist/fetch/v2FundraisingBulkMessagesTargetUsersCount.d.ts +11 -2
- package/dist/fetch/v2FundraisingContributors.d.ts +54 -2
- package/dist/fetch/v2FundraisingContributorsCount.d.ts +20 -2
- package/dist/fetch/v2FundraisingContributorsCsv.d.ts +7 -2
- package/dist/fetch/v2FundraisingContributorsCsvGenerations.d.ts +36 -2
- package/dist/fetch/v2FundraisingContributorsId.d.ts +40 -2
- package/dist/fetch/v2FundraisingContributorsIdMemo.d.ts +14 -2
- package/dist/fetch/v2FundraisingContributorsIdOrders.d.ts +85 -2
- package/dist/fetch/v2FundraisingContributorsOwnedPublicProjects.d.ts +21 -2
- package/dist/fetch/v2FundraisingContributorsUsers.d.ts +20 -2
- package/dist/fetch/v2FundraisingOrdersCsv.d.ts +7 -2
- package/dist/fetch/v2FundraisingOrdersCsvGenerations.d.ts +36 -2
- package/dist/fetch/v2FundraisingOrdersRewardDeliveriesOrderRewardId.d.ts +9 -2
- package/dist/fetch/v2FundraisingProjectsProjectIdOfflineDonation.d.ts +14 -2
- package/dist/fetch/v2FundraisingProjectsProjectIdOfflineDonationPaymentRecordsCsv.d.ts +8 -2
- package/dist/fetch/v2FundraisingProjectsProjectIdPaymentSummary.d.ts +44 -2
- package/dist/fetch/v2FundraisingReplyCommentsOrderId.d.ts +9 -2
- package/dist/fetch/v2FundraisingRewards.d.ts +98 -2
- package/dist/fetch/v2FundraisingRewardsAll.d.ts +18 -2
- package/dist/fetch/v2FundraisingRewardsCsv.d.ts +7 -2
- package/dist/fetch/v2FundraisingRewardsCsvGenerations.d.ts +36 -2
- package/dist/fetch/v2FundraisingRewardsDeliveryState.d.ts +8 -2
- package/dist/fetch/v2FundraisingRewardsDeliveryStateProgress.d.ts +27 -2
- package/dist/fetch/v2FundraisingRewardsRewardId.d.ts +70 -2
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrders.d.ts +116 -2
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrdersAll.d.ts +28 -2
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.ts +114 -2
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +28 -2
- package/dist/fetch/v2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.ts +17 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingOrderTransactionsCsv.d.ts +7 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingOrderTransactionsCsvGenerations.d.ts +36 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingOrdersCsv.d.ts +7 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingOrdersCsvGenerations.d.ts +36 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrders.d.ts +202 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrdersAll.d.ts +28 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.ts +274 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +60 -2
- package/dist/fetch/v2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.ts +17 -2
- package/dist/fetch/v2PartnerCommpanyOrdersCsvsOrdersCsvId.d.ts +8 -2
- package/dist/fetch/v2ResourcesBankBranches.d.ts +24 -2
- package/dist/fetch/v2ResourcesBanks.d.ts +20 -2
- package/dist/fetch/v2ResourcesUsers.d.ts +24 -2
- package/dist/fetch/v2Token.d.ts +11 -2
- package/dist/hooks/useV2ContributionsCheckOrderStatus.d.ts +2 -2
- package/dist/hooks/useV2ContributionsCheckOwnerFriend.d.ts +2 -2
- package/dist/hooks/useV2ContributionsOrderInfo.d.ts +3 -3
- package/dist/hooks/useV2ContributionsPaymentInfo.d.ts +3 -3
- package/dist/hooks/useV2ContributionsPaymentMethods.d.ts +3 -3
- package/dist/hooks/useV2ContributionsProjectInfo.d.ts +3 -3
- package/dist/hooks/useV2ContributionsRecommendedProjects.d.ts +3 -3
- package/dist/hooks/useV2ContributionsRecommendedTags.d.ts +3 -3
- package/dist/hooks/useV2ContributionsSurvey.d.ts +3 -3
- package/dist/hooks/useV2ContributionsUserInfo.d.ts +3 -3
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.ts +3 -3
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.ts +3 -3
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.ts +3 -3
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsersCount.d.ts +2 -2
- package/dist/hooks/useV2FundraisingContributors.d.ts +3 -3
- package/dist/hooks/useV2FundraisingContributorsCount.d.ts +3 -3
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.d.ts +2 -2
- package/dist/hooks/useV2FundraisingContributorsId.d.ts +2 -2
- package/dist/hooks/useV2FundraisingContributorsIdOrders.d.ts +3 -3
- package/dist/hooks/useV2FundraisingContributorsOwnedPublicProjects.d.ts +3 -3
- package/dist/hooks/useV2FundraisingContributorsUsers.d.ts +3 -3
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.d.ts +2 -2
- package/dist/hooks/useV2FundraisingProjectsProjectIdOfflineDonation.d.ts +2 -2
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.ts +3 -3
- package/dist/hooks/useV2FundraisingRewards.d.ts +3 -3
- package/dist/hooks/useV2FundraisingRewardsAll.d.ts +3 -3
- package/dist/hooks/useV2FundraisingRewardsCsvGenerations.d.ts +2 -2
- package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.d.ts +2 -2
- package/dist/hooks/useV2FundraisingRewardsRewardId.d.ts +3 -3
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.ts +3 -3
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.ts +3 -3
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.ts +3 -3
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +3 -3
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.ts +3 -3
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingOrderTransactionsCsvGenerations.d.ts +2 -2
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingOrdersCsvGenerations.d.ts +2 -2
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.ts +3 -3
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.ts +3 -3
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.ts +3 -3
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +3 -3
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.ts +3 -3
- package/dist/hooks/useV2ResourcesBankBranches.d.ts +3 -3
- package/dist/hooks/useV2ResourcesBanks.d.ts +3 -3
- package/dist/hooks/useV2ResourcesUsers.d.ts +3 -3
- package/dist/hooks/useV2Token.d.ts +2 -2
- package/dist/index.d.ts +73 -74
- package/dist/schemaType.d.ts +7335 -2
- package/package.json +3 -3
- package/dist/components-CO0hpXVY.d.ts +0 -2600
- package/dist/index-DJF86FQB.d.ts +0 -72
- package/dist/schemaType-kiROK5hk.d.ts +0 -7336
- package/dist/v2ContributionsCancelContribution-mn3SRHsM.d.ts +0 -12
- package/dist/v2ContributionsCard3dSecureExecContribution-BhgDyADL.d.ts +0 -37
- package/dist/v2ContributionsCard3dSecureRetryContribution-CtC8GLnI.d.ts +0 -37
- package/dist/v2ContributionsCheckOrderStatus-DLhRlGO6.d.ts +0 -20
- package/dist/v2ContributionsCheckOwnerFriend-Bw2iJCPF.d.ts +0 -12
- package/dist/v2ContributionsExecContribution-d1qiTGiV.d.ts +0 -18
- package/dist/v2ContributionsOrderInfo-Cw5qFM6c.d.ts +0 -148
- package/dist/v2ContributionsPaymentInfo-D8-u0acO.d.ts +0 -26
- package/dist/v2ContributionsPaymentMethods-Bd_s8ook.d.ts +0 -45
- package/dist/v2ContributionsPostComment-BlaPOPDS.d.ts +0 -12
- package/dist/v2ContributionsPostSurveyAnswer-ybjx6aN8.d.ts +0 -12
- package/dist/v2ContributionsProjectInfo-BYHtE0MA.d.ts +0 -132
- package/dist/v2ContributionsRecommendedProjects-D_PlLav5.d.ts +0 -52
- package/dist/v2ContributionsRecommendedTags-Ba0lWQ7D.d.ts +0 -18
- package/dist/v2ContributionsRecurringCancelContribution-D7LMYlXV.d.ts +0 -14
- package/dist/v2ContributionsRecurringChangePaymentInfo-laLOnKyT.d.ts +0 -16
- package/dist/v2ContributionsRecurringUpdateUserDelivery-_JydXOSq.d.ts +0 -16
- package/dist/v2ContributionsRetryContribution-oFkAaT4Q.d.ts +0 -18
- package/dist/v2ContributionsSurvey-B0oGSNyZ.d.ts +0 -58
- package/dist/v2ContributionsUpdateCommentedUserName-DFq-RoT_.d.ts +0 -13
- package/dist/v2ContributionsUpdateUserDelivery-C6AyEYaB.d.ts +0 -12
- package/dist/v2ContributionsUserInfo-C_jNKvXB.d.ts +0 -98
- package/dist/v2ContributionsValidPaymentInfo-BJLQyqi5.d.ts +0 -13
- package/dist/v2ContributionsValidSelectedRewards-_Eo1Ss8h.d.ts +0 -12
- package/dist/v2ContributionsValidUserDelivery-xvRON5Ni.d.ts +0 -13
- package/dist/v2FundraisingBulkMessagesOwnedPublicProjects-D-TxVoDV.d.ts +0 -19
- package/dist/v2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards-BE-zdZFg.d.ts +0 -20
- package/dist/v2FundraisingBulkMessagesTargetUsers-aLMVGarV.d.ts +0 -20
- package/dist/v2FundraisingBulkMessagesTargetUsersCount-ebir-KCb.d.ts +0 -11
- package/dist/v2FundraisingContributors-n5vl4oWh.d.ts +0 -54
- package/dist/v2FundraisingContributorsCount-BBysbLp1.d.ts +0 -20
- package/dist/v2FundraisingContributorsCsv-CQI9XXIy.d.ts +0 -7
- package/dist/v2FundraisingContributorsCsvGenerations-Bb4jc6Hk.d.ts +0 -36
- package/dist/v2FundraisingContributorsId-vhwdUtuG.d.ts +0 -40
- package/dist/v2FundraisingContributorsIdMemo-CqS1Gn7z.d.ts +0 -14
- package/dist/v2FundraisingContributorsIdOrders-Cka3HvY1.d.ts +0 -85
- package/dist/v2FundraisingContributorsOwnedPublicProjects-Cam9DnWX.d.ts +0 -21
- package/dist/v2FundraisingContributorsUsers-CF9s4sQs.d.ts +0 -20
- package/dist/v2FundraisingOrdersCsv-DELnBNoN.d.ts +0 -7
- package/dist/v2FundraisingOrdersCsvGenerations-COxoCB0y.d.ts +0 -36
- package/dist/v2FundraisingOrdersRewardDeliveriesOrderRewardId-BgFon1P_.d.ts +0 -9
- package/dist/v2FundraisingProjectsProjectIdOfflineDonation-D5MPJWl4.d.ts +0 -14
- package/dist/v2FundraisingProjectsProjectIdOfflineDonationPaymentRecordsCsv-B1mPXfW8.d.ts +0 -8
- package/dist/v2FundraisingProjectsProjectIdPaymentSummary-C_ABkH9h.d.ts +0 -44
- package/dist/v2FundraisingReplyCommentsOrderId-BLAW43u2.d.ts +0 -9
- package/dist/v2FundraisingRewards-BOQBLxuG.d.ts +0 -98
- package/dist/v2FundraisingRewardsAll-57YULILM.d.ts +0 -18
- package/dist/v2FundraisingRewardsCsv-X-Xgmu_o.d.ts +0 -7
- package/dist/v2FundraisingRewardsCsvGenerations-CV_kwVlp.d.ts +0 -36
- package/dist/v2FundraisingRewardsDeliveryState-uN433z35.d.ts +0 -8
- package/dist/v2FundraisingRewardsDeliveryStateProgress-BGc0_l4P.d.ts +0 -27
- package/dist/v2FundraisingRewardsRewardId-C1rO-jFB.d.ts +0 -70
- package/dist/v2FundraisingSpotCrowdfundingProjectOrders-B2mCNg3Z.d.ts +0 -116
- package/dist/v2FundraisingSpotCrowdfundingProjectOrdersAll-B2trEu9l.d.ts +0 -28
- package/dist/v2FundraisingSpotCrowdfundingProjectOrdersOrderId-CLFMGjxv.d.ts +0 -114
- package/dist/v2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards-CXrMkIWv.d.ts +0 -28
- package/dist/v2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects-L5JGyIK9.d.ts +0 -17
- package/dist/v2FundraisingSteadyCrowdfundingOrderTransactionsCsv-C44cYasu.d.ts +0 -7
- package/dist/v2FundraisingSteadyCrowdfundingOrderTransactionsCsvGenerations-D2vOhUZB.d.ts +0 -36
- package/dist/v2FundraisingSteadyCrowdfundingOrdersCsv-DhgsrjKd.d.ts +0 -7
- package/dist/v2FundraisingSteadyCrowdfundingOrdersCsvGenerations-CgXgKcM4.d.ts +0 -36
- package/dist/v2FundraisingSteadyCrowdfundingProjectOrders-Di4Bn55J.d.ts +0 -202
- package/dist/v2FundraisingSteadyCrowdfundingProjectOrdersAll-C0yTucI5.d.ts +0 -28
- package/dist/v2FundraisingSteadyCrowdfundingProjectOrdersOrderId-CPkUIed6.d.ts +0 -274
- package/dist/v2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards--rJpeibE.d.ts +0 -60
- package/dist/v2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects-DoksOPID.d.ts +0 -17
- package/dist/v2PartnerCommpanyOrdersCsvsOrdersCsvId-DxncybFY.d.ts +0 -8
- package/dist/v2ResourcesBankBranches-BsiHrMos.d.ts +0 -24
- package/dist/v2ResourcesBanks-BBOF_Xuw.d.ts +0 -20
- package/dist/v2ResourcesUsers-h_xTicPK.d.ts +0 -24
- package/dist/v2Token-BpD-wyGl.d.ts +0 -11
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2ContributionsCancelContributionPostOperation = paths["/api/v2/contributions/cancel_contribution"]["post"];
|
|
4
|
+
export type V2ContributionsCancelContributionPostResponse = V2ContributionsCancelContributionPostOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2ContributionsCancelContributionPostFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
result: boolean;
|
|
7
|
+
}>;
|
|
8
|
+
export type V2ContributionsCancelContributionPostRequestBody = ForceDig<V2ContributionsCancelContributionPostOperation, ["requestBody", "content", "application/json"]>;
|
|
9
|
+
export declare const postV2ContributionsCancelContribution: (requestBody: V2ContributionsCancelContributionPostRequestBody, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
10
|
+
result: boolean;
|
|
11
|
+
}>;
|
|
12
|
+
export {};
|
|
@@ -1,2 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2ContributionsCard3dSecureExecContributionPostOperation = paths["/api/v2/contributions/card3d_secure/exec_contribution"]["post"];
|
|
4
|
+
export type V2ContributionsCard3dSecureExecContributionPostResponse = V2ContributionsCard3dSecureExecContributionPostOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2ContributionsCard3dSecureExecContributionPostFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
result: boolean;
|
|
7
|
+
orderId: number;
|
|
8
|
+
payAmount: number;
|
|
9
|
+
contributionLimit: number;
|
|
10
|
+
contributionAmount: number;
|
|
11
|
+
selectedRewards: {
|
|
12
|
+
id: number;
|
|
13
|
+
num: number;
|
|
14
|
+
rewardOptionValues: {
|
|
15
|
+
id: number;
|
|
16
|
+
value: string;
|
|
17
|
+
}[] | null;
|
|
18
|
+
}[];
|
|
19
|
+
}>;
|
|
20
|
+
export type V2ContributionsCard3dSecureExecContributionPostHeader = ForceDig<V2ContributionsCard3dSecureExecContributionPostOperation, ["parameters", "header"]>;
|
|
21
|
+
export type V2ContributionsCard3dSecureExecContributionPostRequestBody = ForceDig<V2ContributionsCard3dSecureExecContributionPostOperation, ["requestBody", "content", "application/json"]>;
|
|
22
|
+
export declare const postV2ContributionsCard3dSecureExecContribution: (headers: V2ContributionsCard3dSecureExecContributionPostHeader, requestBody: V2ContributionsCard3dSecureExecContributionPostRequestBody, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
23
|
+
result: boolean;
|
|
24
|
+
orderId: number;
|
|
25
|
+
payAmount: number;
|
|
26
|
+
contributionLimit: number;
|
|
27
|
+
contributionAmount: number;
|
|
28
|
+
selectedRewards: {
|
|
29
|
+
id: number;
|
|
30
|
+
num: number;
|
|
31
|
+
rewardOptionValues: {
|
|
32
|
+
id: number;
|
|
33
|
+
value: string;
|
|
34
|
+
}[] | null;
|
|
35
|
+
}[];
|
|
36
|
+
}>;
|
|
37
|
+
export {};
|
|
@@ -1,2 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2ContributionsCard3dSecureRetryContributionPostOperation = paths["/api/v2/contributions/card3d_secure/retry_contribution"]["post"];
|
|
4
|
+
export type V2ContributionsCard3dSecureRetryContributionPostResponse = V2ContributionsCard3dSecureRetryContributionPostOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2ContributionsCard3dSecureRetryContributionPostFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
result: boolean;
|
|
7
|
+
orderId: number;
|
|
8
|
+
payAmount: number;
|
|
9
|
+
contributionLimit: number;
|
|
10
|
+
contributionAmount: number;
|
|
11
|
+
selectedRewards: {
|
|
12
|
+
id: number;
|
|
13
|
+
num: number;
|
|
14
|
+
rewardOptionValues: {
|
|
15
|
+
id: number;
|
|
16
|
+
value: string;
|
|
17
|
+
}[] | null;
|
|
18
|
+
}[];
|
|
19
|
+
}>;
|
|
20
|
+
export type V2ContributionsCard3dSecureRetryContributionPostHeader = ForceDig<V2ContributionsCard3dSecureRetryContributionPostOperation, ["parameters", "header"]>;
|
|
21
|
+
export type V2ContributionsCard3dSecureRetryContributionPostRequestBody = ForceDig<V2ContributionsCard3dSecureRetryContributionPostOperation, ["requestBody", "content", "application/json"]>;
|
|
22
|
+
export declare const postV2ContributionsCard3dSecureRetryContribution: (headers: V2ContributionsCard3dSecureRetryContributionPostHeader, requestBody: V2ContributionsCard3dSecureRetryContributionPostRequestBody, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
23
|
+
result: boolean;
|
|
24
|
+
orderId: number;
|
|
25
|
+
payAmount: number;
|
|
26
|
+
contributionLimit: number;
|
|
27
|
+
contributionAmount: number;
|
|
28
|
+
selectedRewards: {
|
|
29
|
+
id: number;
|
|
30
|
+
num: number;
|
|
31
|
+
rewardOptionValues: {
|
|
32
|
+
id: number;
|
|
33
|
+
value: string;
|
|
34
|
+
}[] | null;
|
|
35
|
+
}[];
|
|
36
|
+
}>;
|
|
37
|
+
export {};
|
|
@@ -1,2 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2ContributionsCheckOrderStatusGetOperation = paths["/api/v2/contributions/check_order_status"]["get"];
|
|
4
|
+
export type V2ContributionsCheckOrderStatusGetResponse = V2ContributionsCheckOrderStatusGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2ContributionsCheckOrderStatusGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
bankStatus: "ok" | "waiting";
|
|
7
|
+
cvsStatus: "ok" | "waiting";
|
|
8
|
+
paymentStatus: 0 | 1 | 2;
|
|
9
|
+
retryOrderId: number | null;
|
|
10
|
+
waitingPaymentBatch: boolean | null;
|
|
11
|
+
}>;
|
|
12
|
+
export type V2ContributionsCheckOrderStatusGetQuery = ForceDig<V2ContributionsCheckOrderStatusGetOperation, ["parameters", "query"]>;
|
|
13
|
+
export declare const getV2ContributionsCheckOrderStatus: (query: V2ContributionsCheckOrderStatusGetQuery, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
14
|
+
bankStatus: "ok" | "waiting";
|
|
15
|
+
cvsStatus: "ok" | "waiting";
|
|
16
|
+
paymentStatus: 0 | 1 | 2;
|
|
17
|
+
retryOrderId: number | null;
|
|
18
|
+
waitingPaymentBatch: boolean | null;
|
|
19
|
+
}>;
|
|
20
|
+
export {};
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2ContributionsCheckOwnerFriendGetOperation = paths["/api/v2/contributions/check_owner_friend"]["get"];
|
|
4
|
+
export type V2ContributionsCheckOwnerFriendGetResponse = V2ContributionsCheckOwnerFriendGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2ContributionsCheckOwnerFriendGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
result: boolean | null;
|
|
7
|
+
}>;
|
|
8
|
+
export type V2ContributionsCheckOwnerFriendGetQuery = ForceDig<V2ContributionsCheckOwnerFriendGetOperation, ["parameters", "query"]>;
|
|
9
|
+
export declare const getV2ContributionsCheckOwnerFriend: (query: V2ContributionsCheckOwnerFriendGetQuery, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
10
|
+
result: boolean | null;
|
|
11
|
+
}>;
|
|
12
|
+
export {};
|
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2ContributionsExecContributionPostOperation = paths["/api/v2/contributions/exec_contribution"]["post"];
|
|
4
|
+
export type V2ContributionsExecContributionPostResponse = V2ContributionsExecContributionPostOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2ContributionsExecContributionPostFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
result: boolean;
|
|
7
|
+
orderId: number;
|
|
8
|
+
redirect3dSecureUrl: string | null;
|
|
9
|
+
}>;
|
|
10
|
+
export type V2ContributionsExecContributionPostHeader = ForceDig<V2ContributionsExecContributionPostOperation, ["parameters", "header"]>;
|
|
11
|
+
export type V2ContributionsExecContributionPostQuery = ForceDig<V2ContributionsExecContributionPostOperation, ["parameters", "query"]>;
|
|
12
|
+
export type V2ContributionsExecContributionPostRequestBody = ForceDig<V2ContributionsExecContributionPostOperation, ["requestBody", "content", "application/json"]>;
|
|
13
|
+
export declare const postV2ContributionsExecContribution: (headers: V2ContributionsExecContributionPostHeader, query: V2ContributionsExecContributionPostQuery, requestBody: V2ContributionsExecContributionPostRequestBody, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
14
|
+
result: boolean;
|
|
15
|
+
orderId: number;
|
|
16
|
+
redirect3dSecureUrl: string | null;
|
|
17
|
+
}>;
|
|
18
|
+
export {};
|
|
@@ -1,2 +1,148 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2ContributionsOrderInfoGetOperation = paths["/api/v2/contributions/order_info"]["get"];
|
|
4
|
+
export type V2ContributionsOrderInfoGetResponse = V2ContributionsOrderInfoGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2ContributionsOrderInfoGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
payAmount: number;
|
|
7
|
+
contributionLimit: number;
|
|
8
|
+
contributionAmount: number | null;
|
|
9
|
+
commentExists: boolean;
|
|
10
|
+
bankInfo: {
|
|
11
|
+
limitDateTime: string;
|
|
12
|
+
limitDateTimeMessage: string | null;
|
|
13
|
+
bankName: string;
|
|
14
|
+
bankCode: string;
|
|
15
|
+
branchName: string;
|
|
16
|
+
branchCode: string;
|
|
17
|
+
accountType: string;
|
|
18
|
+
accountNum: string;
|
|
19
|
+
accountName: string;
|
|
20
|
+
accountNameKana: string | null;
|
|
21
|
+
transferName: string | null;
|
|
22
|
+
transferAmount: number;
|
|
23
|
+
} | null;
|
|
24
|
+
cvsInfo: {
|
|
25
|
+
paymentNumbers: {
|
|
26
|
+
label: string;
|
|
27
|
+
value: string;
|
|
28
|
+
}[];
|
|
29
|
+
paymentTerm: string;
|
|
30
|
+
amount: number;
|
|
31
|
+
cvsName: string;
|
|
32
|
+
} | null;
|
|
33
|
+
selectedRewards: {
|
|
34
|
+
id: number;
|
|
35
|
+
num: number;
|
|
36
|
+
rewardOptionValues: {
|
|
37
|
+
id: number;
|
|
38
|
+
value: string;
|
|
39
|
+
}[] | null;
|
|
40
|
+
requireDelivery?: boolean | undefined;
|
|
41
|
+
title?: string | null | undefined;
|
|
42
|
+
description?: string | null | undefined;
|
|
43
|
+
estimatedArrivalMonth?: string | null | undefined;
|
|
44
|
+
imageUrl?: string | null | undefined;
|
|
45
|
+
price?: number | undefined;
|
|
46
|
+
priceType?: "fixed" | "variable" | undefined;
|
|
47
|
+
amount?: number | undefined;
|
|
48
|
+
}[];
|
|
49
|
+
paymentType: "onetime" | "yearly" | "monthly";
|
|
50
|
+
nextBillingDate: string | null;
|
|
51
|
+
contributorSystemUsageFee: {
|
|
52
|
+
fee: number;
|
|
53
|
+
salesTax: number;
|
|
54
|
+
totalAmount: number;
|
|
55
|
+
} | null;
|
|
56
|
+
comment?: string | undefined;
|
|
57
|
+
userDelivery?: {
|
|
58
|
+
receiverLastName: string;
|
|
59
|
+
receiverFirstName: string;
|
|
60
|
+
receiverLastNameKana: string | null;
|
|
61
|
+
receiverFirstNameKana: string | null;
|
|
62
|
+
zipCode1: string;
|
|
63
|
+
zipCode2: string;
|
|
64
|
+
address1: string;
|
|
65
|
+
address2: string;
|
|
66
|
+
address3: string;
|
|
67
|
+
phoneNumber1: string;
|
|
68
|
+
phoneNumber2: string;
|
|
69
|
+
phoneNumber3: string;
|
|
70
|
+
} | null | undefined;
|
|
71
|
+
fundingModel?: "allOrNothing" | "keepItAll" | "regularSteady" | undefined;
|
|
72
|
+
deliveryEditable?: boolean | undefined;
|
|
73
|
+
cancelable?: boolean | undefined;
|
|
74
|
+
cancelUnavailableReason?: "project_closed" | "project_achieved" | "already_canceled" | "aborted_with_refund" | "bank_maintenance" | "cvs_maintenance" | null | undefined;
|
|
75
|
+
}>;
|
|
76
|
+
export type V2ContributionsOrderInfoGetQuery = ForceDig<V2ContributionsOrderInfoGetOperation, ["parameters", "query"]>;
|
|
77
|
+
export declare const getV2ContributionsOrderInfo: (query: V2ContributionsOrderInfoGetQuery, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
78
|
+
payAmount: number;
|
|
79
|
+
contributionLimit: number;
|
|
80
|
+
contributionAmount: number | null;
|
|
81
|
+
commentExists: boolean;
|
|
82
|
+
bankInfo: {
|
|
83
|
+
limitDateTime: string;
|
|
84
|
+
limitDateTimeMessage: string | null;
|
|
85
|
+
bankName: string;
|
|
86
|
+
bankCode: string;
|
|
87
|
+
branchName: string;
|
|
88
|
+
branchCode: string;
|
|
89
|
+
accountType: string;
|
|
90
|
+
accountNum: string;
|
|
91
|
+
accountName: string;
|
|
92
|
+
accountNameKana: string | null;
|
|
93
|
+
transferName: string | null;
|
|
94
|
+
transferAmount: number;
|
|
95
|
+
} | null;
|
|
96
|
+
cvsInfo: {
|
|
97
|
+
paymentNumbers: {
|
|
98
|
+
label: string;
|
|
99
|
+
value: string;
|
|
100
|
+
}[];
|
|
101
|
+
paymentTerm: string;
|
|
102
|
+
amount: number;
|
|
103
|
+
cvsName: string;
|
|
104
|
+
} | null;
|
|
105
|
+
selectedRewards: {
|
|
106
|
+
id: number;
|
|
107
|
+
num: number;
|
|
108
|
+
rewardOptionValues: {
|
|
109
|
+
id: number;
|
|
110
|
+
value: string;
|
|
111
|
+
}[] | null;
|
|
112
|
+
requireDelivery?: boolean | undefined;
|
|
113
|
+
title?: string | null | undefined;
|
|
114
|
+
description?: string | null | undefined;
|
|
115
|
+
estimatedArrivalMonth?: string | null | undefined;
|
|
116
|
+
imageUrl?: string | null | undefined;
|
|
117
|
+
price?: number | undefined;
|
|
118
|
+
priceType?: "fixed" | "variable" | undefined;
|
|
119
|
+
amount?: number | undefined;
|
|
120
|
+
}[];
|
|
121
|
+
paymentType: "onetime" | "yearly" | "monthly";
|
|
122
|
+
nextBillingDate: string | null;
|
|
123
|
+
contributorSystemUsageFee: {
|
|
124
|
+
fee: number;
|
|
125
|
+
salesTax: number;
|
|
126
|
+
totalAmount: number;
|
|
127
|
+
} | null;
|
|
128
|
+
comment?: string | undefined;
|
|
129
|
+
userDelivery?: {
|
|
130
|
+
receiverLastName: string;
|
|
131
|
+
receiverFirstName: string;
|
|
132
|
+
receiverLastNameKana: string | null;
|
|
133
|
+
receiverFirstNameKana: string | null;
|
|
134
|
+
zipCode1: string;
|
|
135
|
+
zipCode2: string;
|
|
136
|
+
address1: string;
|
|
137
|
+
address2: string;
|
|
138
|
+
address3: string;
|
|
139
|
+
phoneNumber1: string;
|
|
140
|
+
phoneNumber2: string;
|
|
141
|
+
phoneNumber3: string;
|
|
142
|
+
} | null | undefined;
|
|
143
|
+
fundingModel?: "allOrNothing" | "keepItAll" | "regularSteady" | undefined;
|
|
144
|
+
deliveryEditable?: boolean | undefined;
|
|
145
|
+
cancelable?: boolean | undefined;
|
|
146
|
+
cancelUnavailableReason?: "project_closed" | "project_achieved" | "already_canceled" | "aborted_with_refund" | "bank_maintenance" | "cvs_maintenance" | null | undefined;
|
|
147
|
+
}>;
|
|
148
|
+
export {};
|
|
@@ -1,2 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2ContributionsPaymentInfoGetOperation = paths["/api/v2/contributions/payment_info"]["get"];
|
|
4
|
+
export type V2ContributionsPaymentInfoGetResponse = V2ContributionsPaymentInfoGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2ContributionsPaymentInfoGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
paymentDescriptor: {
|
|
7
|
+
id: number | null;
|
|
8
|
+
paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | null;
|
|
9
|
+
};
|
|
10
|
+
paymentDetail: {
|
|
11
|
+
id: number;
|
|
12
|
+
} | null;
|
|
13
|
+
hasDefaultPaymentMethod: boolean;
|
|
14
|
+
}>;
|
|
15
|
+
export type V2ContributionsPaymentInfoGetQuery = ForceDig<V2ContributionsPaymentInfoGetOperation, ["parameters", "query"]>;
|
|
16
|
+
export declare const getV2ContributionsPaymentInfo: (query: V2ContributionsPaymentInfoGetQuery, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
17
|
+
paymentDescriptor: {
|
|
18
|
+
id: number | null;
|
|
19
|
+
paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | null;
|
|
20
|
+
};
|
|
21
|
+
paymentDetail: {
|
|
22
|
+
id: number;
|
|
23
|
+
} | null;
|
|
24
|
+
hasDefaultPaymentMethod: boolean;
|
|
25
|
+
}>;
|
|
26
|
+
export {};
|
|
@@ -1,2 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions } from "@readyfor/api-client-base";
|
|
3
|
+
type V2ContributionsPaymentMethodsGetOperation = paths["/api/v2/contributions/payment_methods"]["get"];
|
|
4
|
+
export type V2ContributionsPaymentMethodsGetResponse = V2ContributionsPaymentMethodsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2ContributionsPaymentMethodsGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<({
|
|
6
|
+
paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
|
|
7
|
+
statuses: {
|
|
8
|
+
cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
|
|
9
|
+
enable: boolean;
|
|
10
|
+
maintenance: {
|
|
11
|
+
inMaintenance: boolean;
|
|
12
|
+
beginAt: string | null;
|
|
13
|
+
endAt: string | null;
|
|
14
|
+
};
|
|
15
|
+
}[];
|
|
16
|
+
} | {
|
|
17
|
+
enable: boolean;
|
|
18
|
+
maintenance: {
|
|
19
|
+
inMaintenance: boolean;
|
|
20
|
+
beginAt: string | null;
|
|
21
|
+
endAt: string | null;
|
|
22
|
+
};
|
|
23
|
+
paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
|
|
24
|
+
})[]>;
|
|
25
|
+
export declare const getV2ContributionsPaymentMethods: (customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<({
|
|
26
|
+
paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
|
|
27
|
+
statuses: {
|
|
28
|
+
cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
|
|
29
|
+
enable: boolean;
|
|
30
|
+
maintenance: {
|
|
31
|
+
inMaintenance: boolean;
|
|
32
|
+
beginAt: string | null;
|
|
33
|
+
endAt: string | null;
|
|
34
|
+
};
|
|
35
|
+
}[];
|
|
36
|
+
} | {
|
|
37
|
+
enable: boolean;
|
|
38
|
+
maintenance: {
|
|
39
|
+
inMaintenance: boolean;
|
|
40
|
+
beginAt: string | null;
|
|
41
|
+
endAt: string | null;
|
|
42
|
+
};
|
|
43
|
+
paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
|
|
44
|
+
})[]>;
|
|
45
|
+
export {};
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2ContributionsPostCommentPostOperation = paths["/api/v2/contributions/post_comment"]["post"];
|
|
4
|
+
export type V2ContributionsPostCommentPostResponse = V2ContributionsPostCommentPostOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2ContributionsPostCommentPostFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
result?: boolean | undefined;
|
|
7
|
+
}>;
|
|
8
|
+
export type V2ContributionsPostCommentPostRequestBody = ForceDig<V2ContributionsPostCommentPostOperation, ["requestBody", "content", "application/json"]>;
|
|
9
|
+
export declare const postV2ContributionsPostComment: (requestBody: V2ContributionsPostCommentPostRequestBody, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
10
|
+
result?: boolean | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
export {};
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2ContributionsPostSurveyAnswerPostOperation = paths["/api/v2/contributions/post_survey_answer"]["post"];
|
|
4
|
+
export type V2ContributionsPostSurveyAnswerPostResponse = V2ContributionsPostSurveyAnswerPostOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2ContributionsPostSurveyAnswerPostFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
result: boolean;
|
|
7
|
+
}>;
|
|
8
|
+
export type V2ContributionsPostSurveyAnswerPostRequestBody = ForceDig<V2ContributionsPostSurveyAnswerPostOperation, ["requestBody", "content", "application/json"]>;
|
|
9
|
+
export declare const postV2ContributionsPostSurveyAnswer: (requestBody: V2ContributionsPostSurveyAnswerPostRequestBody, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
10
|
+
result: boolean;
|
|
11
|
+
}>;
|
|
12
|
+
export {};
|
|
@@ -1,2 +1,132 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2ContributionsProjectInfoGetOperation = paths["/api/v2/contributions/project_info"]["get"];
|
|
4
|
+
export type V2ContributionsProjectInfoGetResponse = V2ContributionsProjectInfoGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2ContributionsProjectInfoGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
id: number;
|
|
7
|
+
userId: number;
|
|
8
|
+
title: string;
|
|
9
|
+
prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
|
|
10
|
+
expiredAt: string | null;
|
|
11
|
+
fundingTypeNotation: string;
|
|
12
|
+
fundingModel: 0 | 1 | 3;
|
|
13
|
+
rewardNotation: string;
|
|
14
|
+
requiredPeopleNum: number | null;
|
|
15
|
+
remainingDayOrTimeValue: string | null;
|
|
16
|
+
paymentMethodRestriction: 0 | 2 | 4 | 6;
|
|
17
|
+
supportType: "charity" | "furusato" | "normal";
|
|
18
|
+
ownerName: string;
|
|
19
|
+
ownerImage: {
|
|
20
|
+
src: string;
|
|
21
|
+
alt: string;
|
|
22
|
+
};
|
|
23
|
+
image: {
|
|
24
|
+
src: string;
|
|
25
|
+
alt: string;
|
|
26
|
+
};
|
|
27
|
+
rewards: {
|
|
28
|
+
id: number;
|
|
29
|
+
title: string;
|
|
30
|
+
image: {
|
|
31
|
+
src: string;
|
|
32
|
+
alt: string;
|
|
33
|
+
} | null;
|
|
34
|
+
price: number;
|
|
35
|
+
description: string;
|
|
36
|
+
currentReservedStockCount: number | null;
|
|
37
|
+
contributionLimit: number | null;
|
|
38
|
+
stockCount: string;
|
|
39
|
+
deliverySchedule: string | null;
|
|
40
|
+
requireDelivery: boolean;
|
|
41
|
+
rewardOptions: {
|
|
42
|
+
id: number;
|
|
43
|
+
name: string;
|
|
44
|
+
inputType: 0 | 5;
|
|
45
|
+
selections?: {
|
|
46
|
+
id: number;
|
|
47
|
+
label: string;
|
|
48
|
+
}[] | undefined;
|
|
49
|
+
}[] | null;
|
|
50
|
+
paymentType: "onetime" | "yearly" | "monthly";
|
|
51
|
+
minPrice: number | null;
|
|
52
|
+
}[];
|
|
53
|
+
hashTags: string[];
|
|
54
|
+
contributorSystemUsageFee: {
|
|
55
|
+
fee: number;
|
|
56
|
+
salesTax: number;
|
|
57
|
+
totalAmount: number;
|
|
58
|
+
} | null;
|
|
59
|
+
gmopgPaymentSetting: {
|
|
60
|
+
shopId: string;
|
|
61
|
+
mpTokenCredentials: {
|
|
62
|
+
apiKey: string;
|
|
63
|
+
publicKey: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
fundedPercent: number | null;
|
|
67
|
+
}>;
|
|
68
|
+
export type V2ContributionsProjectInfoGetQuery = ForceDig<V2ContributionsProjectInfoGetOperation, ["parameters", "query"]>;
|
|
69
|
+
export declare const getV2ContributionsProjectInfo: (query: V2ContributionsProjectInfoGetQuery, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
70
|
+
id: number;
|
|
71
|
+
userId: number;
|
|
72
|
+
title: string;
|
|
73
|
+
prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
|
|
74
|
+
expiredAt: string | null;
|
|
75
|
+
fundingTypeNotation: string;
|
|
76
|
+
fundingModel: 0 | 1 | 3;
|
|
77
|
+
rewardNotation: string;
|
|
78
|
+
requiredPeopleNum: number | null;
|
|
79
|
+
remainingDayOrTimeValue: string | null;
|
|
80
|
+
paymentMethodRestriction: 0 | 2 | 4 | 6;
|
|
81
|
+
supportType: "charity" | "furusato" | "normal";
|
|
82
|
+
ownerName: string;
|
|
83
|
+
ownerImage: {
|
|
84
|
+
src: string;
|
|
85
|
+
alt: string;
|
|
86
|
+
};
|
|
87
|
+
image: {
|
|
88
|
+
src: string;
|
|
89
|
+
alt: string;
|
|
90
|
+
};
|
|
91
|
+
rewards: {
|
|
92
|
+
id: number;
|
|
93
|
+
title: string;
|
|
94
|
+
image: {
|
|
95
|
+
src: string;
|
|
96
|
+
alt: string;
|
|
97
|
+
} | null;
|
|
98
|
+
price: number;
|
|
99
|
+
description: string;
|
|
100
|
+
currentReservedStockCount: number | null;
|
|
101
|
+
contributionLimit: number | null;
|
|
102
|
+
stockCount: string;
|
|
103
|
+
deliverySchedule: string | null;
|
|
104
|
+
requireDelivery: boolean;
|
|
105
|
+
rewardOptions: {
|
|
106
|
+
id: number;
|
|
107
|
+
name: string;
|
|
108
|
+
inputType: 0 | 5;
|
|
109
|
+
selections?: {
|
|
110
|
+
id: number;
|
|
111
|
+
label: string;
|
|
112
|
+
}[] | undefined;
|
|
113
|
+
}[] | null;
|
|
114
|
+
paymentType: "onetime" | "yearly" | "monthly";
|
|
115
|
+
minPrice: number | null;
|
|
116
|
+
}[];
|
|
117
|
+
hashTags: string[];
|
|
118
|
+
contributorSystemUsageFee: {
|
|
119
|
+
fee: number;
|
|
120
|
+
salesTax: number;
|
|
121
|
+
totalAmount: number;
|
|
122
|
+
} | null;
|
|
123
|
+
gmopgPaymentSetting: {
|
|
124
|
+
shopId: string;
|
|
125
|
+
mpTokenCredentials: {
|
|
126
|
+
apiKey: string;
|
|
127
|
+
publicKey: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
fundedPercent: number | null;
|
|
131
|
+
}>;
|
|
132
|
+
export {};
|
|
@@ -1,2 +1,52 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2ContributionsRecommendedProjectsGetOperation = paths["/api/v2/contributions/recommended_projects"]["get"];
|
|
4
|
+
export type V2ContributionsRecommendedProjectsGetResponse = V2ContributionsRecommendedProjectsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2ContributionsRecommendedProjectsGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
projects: {
|
|
7
|
+
keyword: string;
|
|
8
|
+
title: string;
|
|
9
|
+
state: "none" | "new" | "successful" | "nextGoal" | "achieved";
|
|
10
|
+
tagName: string;
|
|
11
|
+
imageUrl: string;
|
|
12
|
+
fundingModel: "allOrNothing" | "keepItAll" | "regularSteady";
|
|
13
|
+
fundingTypeNotation: string;
|
|
14
|
+
userImageUrl: string;
|
|
15
|
+
userFullName: string;
|
|
16
|
+
currentContributionCount: number;
|
|
17
|
+
currentContributionAmount: number;
|
|
18
|
+
expiryDateLabel: string;
|
|
19
|
+
expiryDateValue: string;
|
|
20
|
+
gaugeInfo: {
|
|
21
|
+
fundedPercent: number | null;
|
|
22
|
+
isStretchGoalDisplayed: boolean;
|
|
23
|
+
progressRate1st: number;
|
|
24
|
+
progressRate2st: number | null;
|
|
25
|
+
};
|
|
26
|
+
}[];
|
|
27
|
+
}>;
|
|
28
|
+
export type V2ContributionsRecommendedProjectsGetQuery = ForceDig<V2ContributionsRecommendedProjectsGetOperation, ["parameters", "query"]>;
|
|
29
|
+
export declare const getV2ContributionsRecommendedProjects: (query: V2ContributionsRecommendedProjectsGetQuery, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
30
|
+
projects: {
|
|
31
|
+
keyword: string;
|
|
32
|
+
title: string;
|
|
33
|
+
state: "none" | "new" | "successful" | "nextGoal" | "achieved";
|
|
34
|
+
tagName: string;
|
|
35
|
+
imageUrl: string;
|
|
36
|
+
fundingModel: "allOrNothing" | "keepItAll" | "regularSteady";
|
|
37
|
+
fundingTypeNotation: string;
|
|
38
|
+
userImageUrl: string;
|
|
39
|
+
userFullName: string;
|
|
40
|
+
currentContributionCount: number;
|
|
41
|
+
currentContributionAmount: number;
|
|
42
|
+
expiryDateLabel: string;
|
|
43
|
+
expiryDateValue: string;
|
|
44
|
+
gaugeInfo: {
|
|
45
|
+
fundedPercent: number | null;
|
|
46
|
+
isStretchGoalDisplayed: boolean;
|
|
47
|
+
progressRate1st: number;
|
|
48
|
+
progressRate2st: number | null;
|
|
49
|
+
};
|
|
50
|
+
}[];
|
|
51
|
+
}>;
|
|
52
|
+
export {};
|
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2ContributionsRecommendedTagsGetOperation = paths["/api/v2/contributions/recommended_tags"]["get"];
|
|
4
|
+
export type V2ContributionsRecommendedTagsGetResponse = V2ContributionsRecommendedTagsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2ContributionsRecommendedTagsGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
tags: {
|
|
7
|
+
keyword: string;
|
|
8
|
+
name: string;
|
|
9
|
+
}[];
|
|
10
|
+
}>;
|
|
11
|
+
export type V2ContributionsRecommendedTagsGetQuery = ForceDig<V2ContributionsRecommendedTagsGetOperation, ["parameters", "query"]>;
|
|
12
|
+
export declare const getV2ContributionsRecommendedTags: (query: V2ContributionsRecommendedTagsGetQuery, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
13
|
+
tags: {
|
|
14
|
+
keyword: string;
|
|
15
|
+
name: string;
|
|
16
|
+
}[];
|
|
17
|
+
}>;
|
|
18
|
+
export {};
|