@readyfor/api-client-readyfor-api 1.159.0 → 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,85 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2FundraisingContributorsIdOrdersGetOperation = paths["/api/v2/fundraising/contributors/{id}/orders"]["get"];
|
|
4
|
+
export type V2FundraisingContributorsIdOrdersGetResponse = V2FundraisingContributorsIdOrdersGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2FundraisingContributorsIdOrdersGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
orders: {
|
|
7
|
+
id: number;
|
|
8
|
+
orderedAt: string;
|
|
9
|
+
project: {
|
|
10
|
+
id: number;
|
|
11
|
+
title: string;
|
|
12
|
+
imageUrl: string;
|
|
13
|
+
fundingModel: 0 | 1 | 3;
|
|
14
|
+
};
|
|
15
|
+
amount: number;
|
|
16
|
+
settlementStatus: string;
|
|
17
|
+
orderRewards: {
|
|
18
|
+
id: number;
|
|
19
|
+
title: string;
|
|
20
|
+
deliveryState: "unnecessary" | "complete" | "fail" | "unprocess";
|
|
21
|
+
quantity: number;
|
|
22
|
+
options: {
|
|
23
|
+
name: string;
|
|
24
|
+
value?: string | undefined;
|
|
25
|
+
}[];
|
|
26
|
+
}[];
|
|
27
|
+
delivery?: {
|
|
28
|
+
receiverName: string;
|
|
29
|
+
address: string;
|
|
30
|
+
phoneNumber: string;
|
|
31
|
+
} | undefined;
|
|
32
|
+
}[];
|
|
33
|
+
pagination: {
|
|
34
|
+
totalPages: number;
|
|
35
|
+
totalCount: number;
|
|
36
|
+
currentPerPage: number;
|
|
37
|
+
currentPage: number;
|
|
38
|
+
isFirstPage: boolean;
|
|
39
|
+
isLastPage: boolean;
|
|
40
|
+
prevPage?: number | undefined;
|
|
41
|
+
nextPage?: number | undefined;
|
|
42
|
+
};
|
|
43
|
+
}>;
|
|
44
|
+
export type V2FundraisingContributorsIdOrdersGetPath = ForceDig<V2FundraisingContributorsIdOrdersGetOperation, ["parameters", "path"]>;
|
|
45
|
+
export type V2FundraisingContributorsIdOrdersGetQuery = ForceDig<V2FundraisingContributorsIdOrdersGetOperation, ["parameters", "query"]>;
|
|
46
|
+
export declare const getV2FundraisingContributorsIdOrders: (path: V2FundraisingContributorsIdOrdersGetPath, query: V2FundraisingContributorsIdOrdersGetQuery, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
47
|
+
orders: {
|
|
48
|
+
id: number;
|
|
49
|
+
orderedAt: string;
|
|
50
|
+
project: {
|
|
51
|
+
id: number;
|
|
52
|
+
title: string;
|
|
53
|
+
imageUrl: string;
|
|
54
|
+
fundingModel: 0 | 1 | 3;
|
|
55
|
+
};
|
|
56
|
+
amount: number;
|
|
57
|
+
settlementStatus: string;
|
|
58
|
+
orderRewards: {
|
|
59
|
+
id: number;
|
|
60
|
+
title: string;
|
|
61
|
+
deliveryState: "unnecessary" | "complete" | "fail" | "unprocess";
|
|
62
|
+
quantity: number;
|
|
63
|
+
options: {
|
|
64
|
+
name: string;
|
|
65
|
+
value?: string | undefined;
|
|
66
|
+
}[];
|
|
67
|
+
}[];
|
|
68
|
+
delivery?: {
|
|
69
|
+
receiverName: string;
|
|
70
|
+
address: string;
|
|
71
|
+
phoneNumber: string;
|
|
72
|
+
} | undefined;
|
|
73
|
+
}[];
|
|
74
|
+
pagination: {
|
|
75
|
+
totalPages: number;
|
|
76
|
+
totalCount: number;
|
|
77
|
+
currentPerPage: number;
|
|
78
|
+
currentPage: number;
|
|
79
|
+
isFirstPage: boolean;
|
|
80
|
+
isLastPage: boolean;
|
|
81
|
+
prevPage?: number | undefined;
|
|
82
|
+
nextPage?: number | undefined;
|
|
83
|
+
};
|
|
84
|
+
}>;
|
|
85
|
+
export {};
|
|
@@ -1,2 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions } from "@readyfor/api-client-base";
|
|
3
|
+
type V2FundraisingContributorsOwnedPublicProjectsGetOperation = paths["/api/v2/fundraising/contributors/owned_public_projects"]["get"];
|
|
4
|
+
export type V2FundraisingContributorsOwnedPublicProjectsGetResponse = V2FundraisingContributorsOwnedPublicProjectsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2FundraisingContributorsOwnedPublicProjectsGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
projects: {
|
|
7
|
+
id: number;
|
|
8
|
+
title: string;
|
|
9
|
+
imageUrl: string;
|
|
10
|
+
fundingModel: 0 | 1 | 3;
|
|
11
|
+
}[];
|
|
12
|
+
}>;
|
|
13
|
+
export declare const getV2FundraisingContributorsOwnedPublicProjects: (customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
14
|
+
projects: {
|
|
15
|
+
id: number;
|
|
16
|
+
title: string;
|
|
17
|
+
imageUrl: string;
|
|
18
|
+
fundingModel: 0 | 1 | 3;
|
|
19
|
+
}[];
|
|
20
|
+
}>;
|
|
21
|
+
export {};
|
|
@@ -1,2 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig, QueryPropsFor } from "@readyfor/api-client-base";
|
|
3
|
+
type V2FundraisingContributorsUsersGetOperation = paths["/api/v2/fundraising/contributors/users"]["get"];
|
|
4
|
+
export type V2FundraisingContributorsUsersGetResponse = V2FundraisingContributorsUsersGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2FundraisingContributorsUsersGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
users: {
|
|
7
|
+
id: number;
|
|
8
|
+
name: string;
|
|
9
|
+
imageUrl?: string | undefined;
|
|
10
|
+
}[];
|
|
11
|
+
}>;
|
|
12
|
+
export type V2FundraisingContributorsUsersGetQuery = QueryPropsFor<ForceDig<V2FundraisingContributorsUsersGetOperation, ["parameters", "query"]>>;
|
|
13
|
+
export declare const getV2FundraisingContributorsUsers: (query: V2FundraisingContributorsUsersGetQuery, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
14
|
+
users: {
|
|
15
|
+
id: number;
|
|
16
|
+
name: string;
|
|
17
|
+
imageUrl?: string | undefined;
|
|
18
|
+
}[];
|
|
19
|
+
}>;
|
|
20
|
+
export {};
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions } from "@readyfor/api-client-base";
|
|
3
|
+
type V2FundraisingOrdersCsvGetOperation = paths["/api/v2/fundraising/orders_csv"]["get"];
|
|
4
|
+
export type V2FundraisingOrdersCsvGetResponse = V2FundraisingOrdersCsvGetOperation["responses"]["200"]["content"]["text/csv"];
|
|
5
|
+
export declare const buildV2FundraisingOrdersCsvGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<import("@readyfor/api-client-base").BlobFetcherResponse>;
|
|
6
|
+
export declare const getV2FundraisingOrdersCsv: (customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<import("@readyfor/api-client-base").BlobFetcherResponse>;
|
|
7
|
+
export {};
|
|
@@ -1,2 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2FundraisingOrdersCsvGenerationsGetOperation = paths["/api/v2/fundraising/orders_csv/generations"]["get"];
|
|
4
|
+
export type V2FundraisingOrdersCsvGenerationsGetResponse = V2FundraisingOrdersCsvGenerationsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2FundraisingOrdersCsvGenerationsGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
status: "failed";
|
|
7
|
+
} | {
|
|
8
|
+
status: "generated";
|
|
9
|
+
generatedAt: string;
|
|
10
|
+
} | {
|
|
11
|
+
status: "processing";
|
|
12
|
+
progressRate: number;
|
|
13
|
+
} | {
|
|
14
|
+
status: "none";
|
|
15
|
+
}>;
|
|
16
|
+
export declare const getV2FundraisingOrdersCsvGenerations: (customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
17
|
+
status: "failed";
|
|
18
|
+
} | {
|
|
19
|
+
status: "generated";
|
|
20
|
+
generatedAt: string;
|
|
21
|
+
} | {
|
|
22
|
+
status: "processing";
|
|
23
|
+
progressRate: number;
|
|
24
|
+
} | {
|
|
25
|
+
status: "none";
|
|
26
|
+
}>;
|
|
27
|
+
type V2FundraisingOrdersCsvGenerationsPostOperation = paths["/api/v2/fundraising/orders_csv/generations"]["post"];
|
|
28
|
+
export declare const buildV2FundraisingOrdersCsvGenerationsPostFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
29
|
+
export type V2FundraisingOrdersCsvGenerationsPostHeader = ForceDig<V2FundraisingOrdersCsvGenerationsPostOperation, ["parameters", "header"]>;
|
|
30
|
+
export type V2FundraisingOrdersCsvGenerationsPostRequestBody = ForceDig<V2FundraisingOrdersCsvGenerationsPostOperation, ["requestBody", "content", "application/json"]>;
|
|
31
|
+
export declare const postV2FundraisingOrdersCsvGenerations: (headers: V2FundraisingOrdersCsvGenerationsPostHeader, requestBody: V2FundraisingOrdersCsvGenerationsPostRequestBody, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
|
|
32
|
+
type V2FundraisingOrdersCsvGenerationsDeleteOperation = paths["/api/v2/fundraising/orders_csv/generations"]["delete"];
|
|
33
|
+
export declare const buildV2FundraisingOrdersCsvGenerationsDeleteFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
34
|
+
export type V2FundraisingOrdersCsvGenerationsDeleteHeader = ForceDig<V2FundraisingOrdersCsvGenerationsDeleteOperation, ["parameters", "header"]>;
|
|
35
|
+
export declare const deleteV2FundraisingOrdersCsvGenerations: (headers: V2FundraisingOrdersCsvGenerationsDeleteHeader, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
|
|
36
|
+
export {};
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2FundraisingOrdersRewardDeliveriesOrderRewardIdPatchOperation = paths["/api/v2/fundraising/orders/reward_deliveries/{order_reward_id}"]["patch"];
|
|
4
|
+
export declare const buildV2FundraisingOrdersRewardDeliveriesOrderRewardIdPatchFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
5
|
+
export type V2FundraisingOrdersRewardDeliveriesOrderRewardIdPatchPath = ForceDig<V2FundraisingOrdersRewardDeliveriesOrderRewardIdPatchOperation, ["parameters", "path"]>;
|
|
6
|
+
export type V2FundraisingOrdersRewardDeliveriesOrderRewardIdPatchHeader = ForceDig<V2FundraisingOrdersRewardDeliveriesOrderRewardIdPatchOperation, ["parameters", "header"]>;
|
|
7
|
+
export type V2FundraisingOrdersRewardDeliveriesOrderRewardIdPatchRequestBody = ForceDig<V2FundraisingOrdersRewardDeliveriesOrderRewardIdPatchOperation, ["requestBody", "content", "application/json"]>;
|
|
8
|
+
export declare const patchV2FundraisingOrdersRewardDeliveriesOrderRewardId: (path: V2FundraisingOrdersRewardDeliveriesOrderRewardIdPatchPath, headers: V2FundraisingOrdersRewardDeliveriesOrderRewardIdPatchHeader, requestBody: V2FundraisingOrdersRewardDeliveriesOrderRewardIdPatchRequestBody, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
|
|
9
|
+
export {};
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2FundraisingProjectsProjectIdOfflineDonationGetOperation = paths["/api/v2/fundraising/projects/{project_id}/offline_donation"]["get"];
|
|
4
|
+
export type V2FundraisingProjectsProjectIdOfflineDonationGetResponse = V2FundraisingProjectsProjectIdOfflineDonationGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2FundraisingProjectsProjectIdOfflineDonationGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
offlineDonationBankAccountOpened: boolean;
|
|
7
|
+
offlineDonationPaymentRecordCount: number | null;
|
|
8
|
+
}>;
|
|
9
|
+
export type V2FundraisingProjectsProjectIdOfflineDonationGetPath = ForceDig<V2FundraisingProjectsProjectIdOfflineDonationGetOperation, ["parameters", "path"]>;
|
|
10
|
+
export declare const getV2FundraisingProjectsProjectIdOfflineDonation: (path: V2FundraisingProjectsProjectIdOfflineDonationGetPath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
11
|
+
offlineDonationBankAccountOpened: boolean;
|
|
12
|
+
offlineDonationPaymentRecordCount: number | null;
|
|
13
|
+
}>;
|
|
14
|
+
export {};
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2FundraisingProjectsProjectIdOfflineDonationPaymentRecordsCsvGetOperation = paths["/api/v2/fundraising/projects/{project_id}/offline_donation_payment_records_csv"]["get"];
|
|
4
|
+
export type V2FundraisingProjectsProjectIdOfflineDonationPaymentRecordsCsvGetResponse = V2FundraisingProjectsProjectIdOfflineDonationPaymentRecordsCsvGetOperation["responses"]["200"]["content"]["text/csv"];
|
|
5
|
+
export declare const buildV2FundraisingProjectsProjectIdOfflineDonationPaymentRecordsCsvGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<import("@readyfor/api-client-base").BlobFetcherResponse>;
|
|
6
|
+
export type V2FundraisingProjectsProjectIdOfflineDonationPaymentRecordsCsvGetPath = ForceDig<V2FundraisingProjectsProjectIdOfflineDonationPaymentRecordsCsvGetOperation, ["parameters", "path"]>;
|
|
7
|
+
export declare const getV2FundraisingProjectsProjectIdOfflineDonationPaymentRecordsCsv: (path: V2FundraisingProjectsProjectIdOfflineDonationPaymentRecordsCsvGetPath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<import("@readyfor/api-client-base").BlobFetcherResponse>;
|
|
8
|
+
export {};
|
|
@@ -1,2 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2FundraisingProjectsProjectIdPaymentSummaryGetOperation = paths["/api/v2/fundraising/projects/{project_id}/payment_summary"]["get"];
|
|
4
|
+
export type V2FundraisingProjectsProjectIdPaymentSummaryGetResponse = V2FundraisingProjectsProjectIdPaymentSummaryGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2FundraisingProjectsProjectIdPaymentSummaryGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
confirmed?: {
|
|
7
|
+
amount: number;
|
|
8
|
+
} | undefined;
|
|
9
|
+
pendingProjectAchievement?: {
|
|
10
|
+
amount: number;
|
|
11
|
+
} | undefined;
|
|
12
|
+
waitPayment?: {
|
|
13
|
+
amount: number;
|
|
14
|
+
ordersCount: number;
|
|
15
|
+
hasNearPaymentDeadlineOrder: boolean;
|
|
16
|
+
} | undefined;
|
|
17
|
+
unsuccessful?: {
|
|
18
|
+
amount: number;
|
|
19
|
+
} | undefined;
|
|
20
|
+
canceled?: {
|
|
21
|
+
amount: number;
|
|
22
|
+
} | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
export type V2FundraisingProjectsProjectIdPaymentSummaryGetPath = ForceDig<V2FundraisingProjectsProjectIdPaymentSummaryGetOperation, ["parameters", "path"]>;
|
|
25
|
+
export declare const getV2FundraisingProjectsProjectIdPaymentSummary: (path: V2FundraisingProjectsProjectIdPaymentSummaryGetPath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
26
|
+
confirmed?: {
|
|
27
|
+
amount: number;
|
|
28
|
+
} | undefined;
|
|
29
|
+
pendingProjectAchievement?: {
|
|
30
|
+
amount: number;
|
|
31
|
+
} | undefined;
|
|
32
|
+
waitPayment?: {
|
|
33
|
+
amount: number;
|
|
34
|
+
ordersCount: number;
|
|
35
|
+
hasNearPaymentDeadlineOrder: boolean;
|
|
36
|
+
} | undefined;
|
|
37
|
+
unsuccessful?: {
|
|
38
|
+
amount: number;
|
|
39
|
+
} | undefined;
|
|
40
|
+
canceled?: {
|
|
41
|
+
amount: number;
|
|
42
|
+
} | undefined;
|
|
43
|
+
}>;
|
|
44
|
+
export {};
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2FundraisingReplyCommentsOrderIdPatchOperation = paths["/api/v2/fundraising/reply_comments/{order_id}"]["patch"];
|
|
4
|
+
export declare const buildV2FundraisingReplyCommentsOrderIdPatchFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
5
|
+
export type V2FundraisingReplyCommentsOrderIdPatchPath = ForceDig<V2FundraisingReplyCommentsOrderIdPatchOperation, ["parameters", "path"]>;
|
|
6
|
+
export type V2FundraisingReplyCommentsOrderIdPatchHeader = ForceDig<V2FundraisingReplyCommentsOrderIdPatchOperation, ["parameters", "header"]>;
|
|
7
|
+
export type V2FundraisingReplyCommentsOrderIdPatchRequestBody = ForceDig<V2FundraisingReplyCommentsOrderIdPatchOperation, ["requestBody", "content", "application/json"]>;
|
|
8
|
+
export declare const patchV2FundraisingReplyCommentsOrderId: (path: V2FundraisingReplyCommentsOrderIdPatchPath, headers: V2FundraisingReplyCommentsOrderIdPatchHeader, requestBody: V2FundraisingReplyCommentsOrderIdPatchRequestBody, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
|
|
9
|
+
export {};
|
|
@@ -1,2 +1,98 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2FundraisingRewardsGetOperation = paths["/api/v2/fundraising/rewards"]["get"];
|
|
4
|
+
export type V2FundraisingRewardsGetResponse = V2FundraisingRewardsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2FundraisingRewardsGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
rewardsCount: {
|
|
7
|
+
notStarted: number;
|
|
8
|
+
completed: number;
|
|
9
|
+
actionNotNeeded: number;
|
|
10
|
+
};
|
|
11
|
+
rewards: {
|
|
12
|
+
id: number;
|
|
13
|
+
thumbnailUrl: string;
|
|
14
|
+
price: number;
|
|
15
|
+
orderReward: {
|
|
16
|
+
rewardCount: number;
|
|
17
|
+
waitPaymentRewardCount?: number | undefined;
|
|
18
|
+
};
|
|
19
|
+
rewardStock: {
|
|
20
|
+
__type: "limitedRewardStock";
|
|
21
|
+
stockCount: number;
|
|
22
|
+
} | {
|
|
23
|
+
__type: "unlimitedRewardStock";
|
|
24
|
+
};
|
|
25
|
+
deliveryRate: number;
|
|
26
|
+
notDeliveryStartedCount: number;
|
|
27
|
+
project: {
|
|
28
|
+
id: number;
|
|
29
|
+
title: string;
|
|
30
|
+
expiredAt: string;
|
|
31
|
+
};
|
|
32
|
+
needsDeliveryDeadlineAlert: boolean;
|
|
33
|
+
title?: string | undefined;
|
|
34
|
+
estimatedArrivalMonth?: string | undefined;
|
|
35
|
+
shipCompletedAt?: string | undefined;
|
|
36
|
+
leftDaysToDeliveryDeadline?: number | undefined;
|
|
37
|
+
}[];
|
|
38
|
+
pagination: {
|
|
39
|
+
totalPages: number;
|
|
40
|
+
totalCount: number;
|
|
41
|
+
currentPerPage: number;
|
|
42
|
+
currentPage: number;
|
|
43
|
+
isFirstPage: boolean;
|
|
44
|
+
isLastPage: boolean;
|
|
45
|
+
prevPage?: number | undefined;
|
|
46
|
+
nextPage?: number | undefined;
|
|
47
|
+
};
|
|
48
|
+
needsDeliveryDeadlineAlert: boolean;
|
|
49
|
+
scopedProjectIds: number[];
|
|
50
|
+
}>;
|
|
51
|
+
export type V2FundraisingRewardsGetQuery = ForceDig<V2FundraisingRewardsGetOperation, ["parameters", "query"]>;
|
|
52
|
+
export declare const getV2FundraisingRewards: (query: V2FundraisingRewardsGetQuery, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
53
|
+
rewardsCount: {
|
|
54
|
+
notStarted: number;
|
|
55
|
+
completed: number;
|
|
56
|
+
actionNotNeeded: number;
|
|
57
|
+
};
|
|
58
|
+
rewards: {
|
|
59
|
+
id: number;
|
|
60
|
+
thumbnailUrl: string;
|
|
61
|
+
price: number;
|
|
62
|
+
orderReward: {
|
|
63
|
+
rewardCount: number;
|
|
64
|
+
waitPaymentRewardCount?: number | undefined;
|
|
65
|
+
};
|
|
66
|
+
rewardStock: {
|
|
67
|
+
__type: "limitedRewardStock";
|
|
68
|
+
stockCount: number;
|
|
69
|
+
} | {
|
|
70
|
+
__type: "unlimitedRewardStock";
|
|
71
|
+
};
|
|
72
|
+
deliveryRate: number;
|
|
73
|
+
notDeliveryStartedCount: number;
|
|
74
|
+
project: {
|
|
75
|
+
id: number;
|
|
76
|
+
title: string;
|
|
77
|
+
expiredAt: string;
|
|
78
|
+
};
|
|
79
|
+
needsDeliveryDeadlineAlert: boolean;
|
|
80
|
+
title?: string | undefined;
|
|
81
|
+
estimatedArrivalMonth?: string | undefined;
|
|
82
|
+
shipCompletedAt?: string | undefined;
|
|
83
|
+
leftDaysToDeliveryDeadline?: number | undefined;
|
|
84
|
+
}[];
|
|
85
|
+
pagination: {
|
|
86
|
+
totalPages: number;
|
|
87
|
+
totalCount: number;
|
|
88
|
+
currentPerPage: number;
|
|
89
|
+
currentPage: number;
|
|
90
|
+
isFirstPage: boolean;
|
|
91
|
+
isLastPage: boolean;
|
|
92
|
+
prevPage?: number | undefined;
|
|
93
|
+
nextPage?: number | undefined;
|
|
94
|
+
};
|
|
95
|
+
needsDeliveryDeadlineAlert: boolean;
|
|
96
|
+
scopedProjectIds: number[];
|
|
97
|
+
}>;
|
|
98
|
+
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 V2FundraisingRewardsAllGetOperation = paths["/api/v2/fundraising/rewards/all"]["get"];
|
|
4
|
+
export type V2FundraisingRewardsAllGetResponse = V2FundraisingRewardsAllGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2FundraisingRewardsAllGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
rewards: {
|
|
7
|
+
id: number;
|
|
8
|
+
projectId: number;
|
|
9
|
+
}[];
|
|
10
|
+
}>;
|
|
11
|
+
export type V2FundraisingRewardsAllGetQuery = ForceDig<V2FundraisingRewardsAllGetOperation, ["parameters", "query"]>;
|
|
12
|
+
export declare const getV2FundraisingRewardsAll: (query: V2FundraisingRewardsAllGetQuery, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
13
|
+
rewards: {
|
|
14
|
+
id: number;
|
|
15
|
+
projectId: number;
|
|
16
|
+
}[];
|
|
17
|
+
}>;
|
|
18
|
+
export {};
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions } from "@readyfor/api-client-base";
|
|
3
|
+
type V2FundraisingRewardsCsvGetOperation = paths["/api/v2/fundraising/rewards_csv"]["get"];
|
|
4
|
+
export type V2FundraisingRewardsCsvGetResponse = V2FundraisingRewardsCsvGetOperation["responses"]["200"]["content"]["text/csv"];
|
|
5
|
+
export declare const buildV2FundraisingRewardsCsvGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<import("@readyfor/api-client-base").BlobFetcherResponse>;
|
|
6
|
+
export declare const getV2FundraisingRewardsCsv: (customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<import("@readyfor/api-client-base").BlobFetcherResponse>;
|
|
7
|
+
export {};
|
|
@@ -1,2 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2FundraisingRewardsCsvGenerationsGetOperation = paths["/api/v2/fundraising/rewards_csv/generations"]["get"];
|
|
4
|
+
export type V2FundraisingRewardsCsvGenerationsGetResponse = V2FundraisingRewardsCsvGenerationsGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2FundraisingRewardsCsvGenerationsGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
status: "failed";
|
|
7
|
+
} | {
|
|
8
|
+
status: "generated";
|
|
9
|
+
generatedAt: string;
|
|
10
|
+
} | {
|
|
11
|
+
status: "processing";
|
|
12
|
+
progressRate: number;
|
|
13
|
+
} | {
|
|
14
|
+
status: "none";
|
|
15
|
+
}>;
|
|
16
|
+
export declare const getV2FundraisingRewardsCsvGenerations: (customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
17
|
+
status: "failed";
|
|
18
|
+
} | {
|
|
19
|
+
status: "generated";
|
|
20
|
+
generatedAt: string;
|
|
21
|
+
} | {
|
|
22
|
+
status: "processing";
|
|
23
|
+
progressRate: number;
|
|
24
|
+
} | {
|
|
25
|
+
status: "none";
|
|
26
|
+
}>;
|
|
27
|
+
type V2FundraisingRewardsCsvGenerationsPostOperation = paths["/api/v2/fundraising/rewards_csv/generations"]["post"];
|
|
28
|
+
export declare const buildV2FundraisingRewardsCsvGenerationsPostFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
29
|
+
export type V2FundraisingRewardsCsvGenerationsPostHeader = ForceDig<V2FundraisingRewardsCsvGenerationsPostOperation, ["parameters", "header"]>;
|
|
30
|
+
export type V2FundraisingRewardsCsvGenerationsPostRequestBody = ForceDig<V2FundraisingRewardsCsvGenerationsPostOperation, ["requestBody", "content", "application/json"]>;
|
|
31
|
+
export declare const postV2FundraisingRewardsCsvGenerations: (headers: V2FundraisingRewardsCsvGenerationsPostHeader, requestBody: V2FundraisingRewardsCsvGenerationsPostRequestBody, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
|
|
32
|
+
type V2FundraisingRewardsCsvGenerationsDeleteOperation = paths["/api/v2/fundraising/rewards_csv/generations"]["delete"];
|
|
33
|
+
export declare const buildV2FundraisingRewardsCsvGenerationsDeleteFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
34
|
+
export type V2FundraisingRewardsCsvGenerationsDeleteHeader = ForceDig<V2FundraisingRewardsCsvGenerationsDeleteOperation, ["parameters", "header"]>;
|
|
35
|
+
export declare const deleteV2FundraisingRewardsCsvGenerations: (headers: V2FundraisingRewardsCsvGenerationsDeleteHeader, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
|
|
36
|
+
export {};
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2FundraisingRewardsDeliveryStatePatchOperation = paths["/api/v2/fundraising/rewards/delivery_state"]["patch"];
|
|
4
|
+
export declare const buildV2FundraisingRewardsDeliveryStatePatchFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<void>;
|
|
5
|
+
export type V2FundraisingRewardsDeliveryStatePatchHeader = ForceDig<V2FundraisingRewardsDeliveryStatePatchOperation, ["parameters", "header"]>;
|
|
6
|
+
export type V2FundraisingRewardsDeliveryStatePatchRequestBody = ForceDig<V2FundraisingRewardsDeliveryStatePatchOperation, ["requestBody", "content", "application/json"]>;
|
|
7
|
+
export declare const patchV2FundraisingRewardsDeliveryState: (headers: V2FundraisingRewardsDeliveryStatePatchHeader, requestBody: V2FundraisingRewardsDeliveryStatePatchRequestBody, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<void>;
|
|
8
|
+
export {};
|
|
@@ -1,2 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions } from "@readyfor/api-client-base";
|
|
3
|
+
type V2FundraisingRewardsDeliveryStateProgressGetOperation = paths["/api/v2/fundraising/rewards/delivery_state/progress"]["get"];
|
|
4
|
+
export type V2FundraisingRewardsDeliveryStateProgressGetResponse = V2FundraisingRewardsDeliveryStateProgressGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2FundraisingRewardsDeliveryStateProgressGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (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
|
+
export declare const getV2FundraisingRewardsDeliveryStateProgress: (customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
17
|
+
status: "failed";
|
|
18
|
+
} | {
|
|
19
|
+
status: "completed";
|
|
20
|
+
completedAt: string;
|
|
21
|
+
} | {
|
|
22
|
+
status: "processing";
|
|
23
|
+
progressRate: number;
|
|
24
|
+
} | {
|
|
25
|
+
status: "none";
|
|
26
|
+
}>;
|
|
27
|
+
export {};
|
|
@@ -1,2 +1,70 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { paths } from "../schemaType.js";
|
|
2
|
+
import { FetcherOptions, ForceDig } from "@readyfor/api-client-base";
|
|
3
|
+
type V2FundraisingRewardsRewardIdGetOperation = paths["/api/v2/fundraising/rewards/{reward_id}"]["get"];
|
|
4
|
+
export type V2FundraisingRewardsRewardIdGetResponse = V2FundraisingRewardsRewardIdGetOperation["responses"]["200"]["content"]["application/json"];
|
|
5
|
+
export declare const buildV2FundraisingRewardsRewardIdGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
|
+
id: number;
|
|
7
|
+
description: string;
|
|
8
|
+
thumbnailUrl: string;
|
|
9
|
+
price: number;
|
|
10
|
+
orderReward: {
|
|
11
|
+
rewardCount: number;
|
|
12
|
+
waitPaymentRewardCount?: number | undefined;
|
|
13
|
+
};
|
|
14
|
+
rewardStock: {
|
|
15
|
+
__type: "limitedRewardStock";
|
|
16
|
+
stockCount: number;
|
|
17
|
+
} | {
|
|
18
|
+
__type: "unlimitedRewardStock";
|
|
19
|
+
};
|
|
20
|
+
deliveryRate: number;
|
|
21
|
+
deliveryState: "notStarted" | "completed" | "actionNotNeeded";
|
|
22
|
+
notDeliveryStartedCount: number;
|
|
23
|
+
shippingRequired: boolean;
|
|
24
|
+
project: {
|
|
25
|
+
id: number;
|
|
26
|
+
title: string;
|
|
27
|
+
expiredAt: string;
|
|
28
|
+
};
|
|
29
|
+
title?: string | undefined;
|
|
30
|
+
estimatedArrivalMonth?: string | undefined;
|
|
31
|
+
shipCompletedAt?: string | undefined;
|
|
32
|
+
rewardExOptions?: {
|
|
33
|
+
question: string;
|
|
34
|
+
answerSelections?: string[] | undefined;
|
|
35
|
+
}[] | undefined;
|
|
36
|
+
}>;
|
|
37
|
+
export type V2FundraisingRewardsRewardIdGetPath = ForceDig<V2FundraisingRewardsRewardIdGetOperation, ["parameters", "path"]>;
|
|
38
|
+
export declare const getV2FundraisingRewardsRewardId: (path: V2FundraisingRewardsRewardIdGetPath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
39
|
+
id: number;
|
|
40
|
+
description: string;
|
|
41
|
+
thumbnailUrl: string;
|
|
42
|
+
price: number;
|
|
43
|
+
orderReward: {
|
|
44
|
+
rewardCount: number;
|
|
45
|
+
waitPaymentRewardCount?: number | undefined;
|
|
46
|
+
};
|
|
47
|
+
rewardStock: {
|
|
48
|
+
__type: "limitedRewardStock";
|
|
49
|
+
stockCount: number;
|
|
50
|
+
} | {
|
|
51
|
+
__type: "unlimitedRewardStock";
|
|
52
|
+
};
|
|
53
|
+
deliveryRate: number;
|
|
54
|
+
deliveryState: "notStarted" | "completed" | "actionNotNeeded";
|
|
55
|
+
notDeliveryStartedCount: number;
|
|
56
|
+
shippingRequired: boolean;
|
|
57
|
+
project: {
|
|
58
|
+
id: number;
|
|
59
|
+
title: string;
|
|
60
|
+
expiredAt: string;
|
|
61
|
+
};
|
|
62
|
+
title?: string | undefined;
|
|
63
|
+
estimatedArrivalMonth?: string | undefined;
|
|
64
|
+
shipCompletedAt?: string | undefined;
|
|
65
|
+
rewardExOptions?: {
|
|
66
|
+
question: string;
|
|
67
|
+
answerSelections?: string[] | undefined;
|
|
68
|
+
}[] | undefined;
|
|
69
|
+
}>;
|
|
70
|
+
export {};
|