@readyfor/api-client-readyfor 0.207.2-pr974.caa0ee1 → 0.207.2
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/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useV1BanksSearch.d.mts +4 -4
- package/dist/hooks/useV1BanksSearch.d.ts +4 -4
- package/dist/hooks/useV1BranchesSearch.d.mts +4 -4
- package/dist/hooks/useV1BranchesSearch.d.ts +4 -4
- package/dist/hooks/useV1EngagementProjects.d.mts +9 -145
- package/dist/hooks/useV1EngagementProjects.d.ts +9 -145
- package/dist/hooks/useV1EngagementSearchProjects.d.mts +9 -145
- package/dist/hooks/useV1EngagementSearchProjects.d.ts +9 -145
- package/dist/hooks/useV1EngagementTags.d.mts +4 -4
- package/dist/hooks/useV1EngagementTags.d.ts +4 -4
- package/dist/hooks/useV1EngagementTagsTagKeyword.d.mts +9 -25
- package/dist/hooks/useV1EngagementTagsTagKeyword.d.ts +9 -25
- package/dist/hooks/useV1EngagementTagsTagKeywordProjects.d.mts +9 -145
- package/dist/hooks/useV1EngagementTagsTagKeywordProjects.d.ts +9 -145
- package/dist/hooks/useV1MyBulkMessages.d.mts +5 -29
- package/dist/hooks/useV1MyBulkMessages.d.ts +5 -29
- package/dist/hooks/useV1MyBulkMessagesBulkMessageId.d.mts +5 -29
- package/dist/hooks/useV1MyBulkMessagesBulkMessageId.d.ts +5 -29
- package/dist/hooks/useV1MyBulkMessagesBulkMessageIdToUsers.d.mts +5 -21
- package/dist/hooks/useV1MyBulkMessagesBulkMessageIdToUsers.d.ts +5 -21
- package/dist/hooks/useV1MyEngagementFavoriteTags.d.mts +4 -4
- package/dist/hooks/useV1MyEngagementFavoriteTags.d.ts +4 -4
- package/dist/hooks/useV1MyFundraisingAnnouncements.d.mts +9 -189
- package/dist/hooks/useV1MyFundraisingAnnouncements.d.ts +9 -189
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementId.d.mts +21 -33
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementId.d.ts +21 -33
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementPostableProjects.d.mts +5 -21
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementPostableProjects.d.ts +5 -21
- package/dist/hooks/useV1MyFundraisingBulkMessages.d.mts +9 -69
- package/dist/hooks/useV1MyFundraisingBulkMessages.d.ts +9 -69
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageId.d.mts +5 -29
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageId.d.ts +5 -29
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers.d.mts +9 -77
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers.d.ts +9 -77
- package/dist/hooks/useV1MyFundraisingHeader.d.mts +13 -21
- package/dist/hooks/useV1MyFundraisingHeader.d.ts +13 -21
- package/dist/hooks/useV1MyFundraisingMessageRooms.d.mts +5 -41
- package/dist/hooks/useV1MyFundraisingMessageRooms.d.ts +5 -41
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomId.d.mts +5 -41
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomId.d.ts +5 -41
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomIdMessages.d.mts +5 -89
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomIdMessages.d.ts +5 -89
- package/dist/hooks/useV1MyFundraisingProjects.d.mts +9 -261
- package/dist/hooks/useV1MyFundraisingProjects.d.ts +9 -261
- package/dist/hooks/useV1MyFundraisingProjectsProjectId.d.mts +5 -397
- package/dist/hooks/useV1MyFundraisingProjectsProjectId.d.ts +5 -397
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysis.d.mts +5 -125
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysis.d.ts +5 -125
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercents.d.mts +9 -33
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercents.d.ts +9 -33
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitors.d.mts +9 -33
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitors.d.ts +9 -33
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnnouncements.d.mts +5 -149
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnnouncements.d.ts +5 -149
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdEditingProgress.d.mts +5 -37
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdEditingProgress.d.ts +5 -37
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdFastPaymentApplication.d.mts +21 -53
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdFastPaymentApplication.d.ts +21 -53
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdMonthlyBillingDetails.d.mts +5 -21
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdMonthlyBillingDetails.d.ts +5 -21
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdSummary.d.mts +5 -17
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdSummary.d.ts +5 -17
- package/dist/hooks/useV1MyMessagesExchangedUsers.d.mts +9 -61
- package/dist/hooks/useV1MyMessagesExchangedUsers.d.ts +9 -61
- package/dist/hooks/useV1MyMessagesTree.d.mts +13 -65
- package/dist/hooks/useV1MyMessagesTree.d.ts +13 -65
- package/dist/hooks/useV1MyProfile.d.mts +9 -45
- package/dist/hooks/useV1MyProfile.d.ts +9 -45
- package/dist/hooks/useV1MyProjectsOwners.d.mts +5 -33
- package/dist/hooks/useV1MyProjectsOwners.d.ts +5 -33
- package/dist/hooks/useV1MyProjectsProjectId.d.mts +13 -209
- package/dist/hooks/useV1MyProjectsProjectId.d.ts +13 -209
- package/dist/hooks/useV1MyProjectsProjectIdCommissions.d.mts +4 -4
- package/dist/hooks/useV1MyProjectsProjectIdCommissions.d.ts +4 -4
- package/dist/hooks/useV1MyProjectsProjectIdConfirmations.d.mts +24 -24
- package/dist/hooks/useV1MyProjectsProjectIdConfirmations.d.ts +24 -24
- package/dist/hooks/useV1MyProjectsProjectIdProjectCheckList.d.mts +13 -253
- package/dist/hooks/useV1MyProjectsProjectIdProjectCheckList.d.ts +13 -253
- package/dist/hooks/useV1MyProjectsProjectIdProjectFastPaymentApplication.d.mts +9 -57
- package/dist/hooks/useV1MyProjectsProjectIdProjectFastPaymentApplication.d.ts +9 -57
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwner.d.mts +9 -53
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwner.d.ts +9 -53
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwner.d.mts +13 -441
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwner.d.ts +13 -441
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivity.d.mts +13 -97
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivity.d.ts +13 -97
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckList.d.mts +13 -297
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckList.d.ts +13 -297
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerTransferAccount.d.mts +13 -133
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerTransferAccount.d.ts +13 -133
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerUrls.d.mts +13 -97
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerUrls.d.ts +13 -97
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwner.d.mts +13 -169
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwner.d.ts +13 -169
- package/dist/hooks/useV1MyProjectsProjectIdPublicationSchedule.d.mts +9 -69
- package/dist/hooks/useV1MyProjectsProjectIdPublicationSchedule.d.ts +9 -69
- package/dist/hooks/useV1MyProjectsProjectIdRewards.d.mts +17 -233
- package/dist/hooks/useV1MyProjectsProjectIdRewards.d.ts +17 -233
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRequestsRequestId.d.mts +13 -193
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRequestsRequestId.d.ts +13 -193
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRewardId.d.mts +13 -201
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRewardId.d.ts +13 -201
- package/dist/hooks/useV1MyProjectsProjectIdStatisticalEventsEditStart.d.mts +4 -4
- package/dist/hooks/useV1MyProjectsProjectIdStatisticalEventsEditStart.d.ts +4 -4
- package/dist/hooks/useV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckList.d.mts +13 -253
- package/dist/hooks/useV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckList.d.ts +13 -253
- package/dist/hooks/useV1MyProjectsProjectIdUserIdentification.d.mts +21 -105
- package/dist/hooks/useV1MyProjectsProjectIdUserIdentification.d.ts +21 -105
- package/dist/hooks/useV1ProjectsProjectIdAnnouncements.d.mts +16 -16
- package/dist/hooks/useV1ProjectsProjectIdAnnouncements.d.ts +16 -16
- package/dist/hooks/useV1ProjectsProjectIdComments.d.mts +9 -101
- package/dist/hooks/useV1ProjectsProjectIdComments.d.ts +9 -101
- package/dist/hooks/useV1ProjectsProjectIdRewards.d.mts +9 -21
- package/dist/hooks/useV1ProjectsProjectIdRewards.d.ts +9 -21
- package/dist/hooks/useV1ProjectsProjectIdRewardsForPreview.d.mts +48 -72
- package/dist/hooks/useV1ProjectsProjectIdRewardsForPreview.d.ts +48 -72
- package/dist/hooks/useV1ResourcesCommonHeader.d.mts +9 -129
- package/dist/hooks/useV1ResourcesCommonHeader.d.ts +9 -129
- package/dist/hooks/useV1SearchProjectSuggestions.d.mts +5 -25
- package/dist/hooks/useV1SearchProjectSuggestions.d.ts +5 -25
- package/dist/hooks/useV1Tags.d.mts +4 -4
- package/dist/hooks/useV1Tags.d.ts +4 -4
- package/package.json +12 -11
|
@@ -1,215 +1,19 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
-
import { components } from '../schemaType.js';
|
|
4
3
|
import * as swr from 'swr';
|
|
5
4
|
import { Arguments } from 'swr';
|
|
5
|
+
import { components } from '../schemaType.js';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { V1MyFundraisingProjectsProjectIdGetPath, V1MyFundraisingProjectsProjectIdGetResponse } from '../fetch/v1MyFundraisingProjectsProjectId.js';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useV1MyFundraisingProjectsProjectId: (path: V1MyFundraisingProjectsProjectIdGetPath, swrConfig?: Configuration<V1MyFundraisingProjectsProjectIdGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
project:
|
|
13
|
-
status: {
|
|
14
|
-
projectStatus: "draft" | "open" | "prepared";
|
|
15
|
-
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
16
|
-
} | {
|
|
17
|
-
projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
|
|
18
|
-
};
|
|
19
|
-
id: number;
|
|
20
|
-
keyword: string;
|
|
21
|
-
title: string | null;
|
|
22
|
-
__type: "RegularSteadyCrowdfundingProjectDetail";
|
|
23
|
-
updatedAt: string;
|
|
24
|
-
fundingModel: "regularSteady";
|
|
25
|
-
totalNumberOfSupporters: number;
|
|
26
|
-
numberOfVisitors: number | null;
|
|
27
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
28
|
-
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
29
|
-
displayPlanName: string;
|
|
30
|
-
commissionAmountRate: number;
|
|
31
|
-
scheduledPublicationDate: string | null;
|
|
32
|
-
currentNumberOfMonthlySupporters: number;
|
|
33
|
-
totalNumberOfMonthlySupporters: number;
|
|
34
|
-
totalPayAmount: number;
|
|
35
|
-
currentMonthlyPayAmount: number;
|
|
36
|
-
planConfirmed: boolean;
|
|
37
|
-
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
38
|
-
projectVersion: number;
|
|
39
|
-
userId: number;
|
|
40
|
-
channelTalkMemberHash: string;
|
|
41
|
-
shouldShowChatService: boolean;
|
|
42
|
-
isDeletable: boolean;
|
|
43
|
-
imageUrl?: string | undefined;
|
|
44
|
-
} | {
|
|
45
|
-
status: {
|
|
46
|
-
projectStatus: "draft" | "open" | "prepared";
|
|
47
|
-
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
48
|
-
} | {
|
|
49
|
-
projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
|
|
50
|
-
};
|
|
51
|
-
id: number;
|
|
52
|
-
keyword: string;
|
|
53
|
-
title: string | null;
|
|
54
|
-
__type: "FeaturedSteadyCrowdfundingProjectDetail";
|
|
55
|
-
updatedAt: string;
|
|
56
|
-
fundingModel: "featuredSteady";
|
|
57
|
-
totalNumberOfSupporters: number;
|
|
58
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
59
|
-
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
60
|
-
displayPlanName: string;
|
|
61
|
-
commissionAmountRate: number;
|
|
62
|
-
scheduledPublicationDate: string | null;
|
|
63
|
-
currentNumberOfMonthlySupporters: number;
|
|
64
|
-
totalPayAmount: number;
|
|
65
|
-
currentMonthlyPayAmount: number;
|
|
66
|
-
planConfirmed: boolean;
|
|
67
|
-
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
68
|
-
projectVersion: number;
|
|
69
|
-
userId: number;
|
|
70
|
-
channelTalkMemberHash: string;
|
|
71
|
-
shouldShowChatService: boolean;
|
|
72
|
-
isDeletable: boolean;
|
|
73
|
-
goalNumberOfSupporters: number;
|
|
74
|
-
expiredAt: string | null;
|
|
75
|
-
imageUrl?: string | undefined;
|
|
76
|
-
} | {
|
|
77
|
-
status: {
|
|
78
|
-
projectStatus: "draft" | "open" | "prepared";
|
|
79
|
-
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
80
|
-
} | {
|
|
81
|
-
projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
|
|
82
|
-
};
|
|
83
|
-
id: number;
|
|
84
|
-
keyword: string;
|
|
85
|
-
title: string | null;
|
|
86
|
-
__type: "SpotCrowdfundingProjectDetail";
|
|
87
|
-
updatedAt: string;
|
|
88
|
-
fundingModel: "allOrNothing" | "keepItAll";
|
|
89
|
-
payAmount: number;
|
|
90
|
-
totalNumberOfSupporters: number;
|
|
91
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
92
|
-
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
93
|
-
displayPlanName: string;
|
|
94
|
-
commissionAmountRate: number;
|
|
95
|
-
scheduledPublicationDate: string | null;
|
|
96
|
-
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
97
|
-
projectVersion: number;
|
|
98
|
-
userId: number;
|
|
99
|
-
channelTalkMemberHash: string;
|
|
100
|
-
shouldShowChatService: boolean;
|
|
101
|
-
isDeletable: boolean;
|
|
102
|
-
expiredAt: string | null;
|
|
103
|
-
hasPartnership: boolean;
|
|
104
|
-
goalAmount: number | null;
|
|
105
|
-
minimumCommissionFee: number;
|
|
106
|
-
revealBillingDetail: boolean;
|
|
107
|
-
nextGoal?: number | undefined;
|
|
108
|
-
imageUrl?: string | undefined;
|
|
109
|
-
fundraiserPublicationSchedulable?: boolean | undefined;
|
|
110
|
-
};
|
|
12
|
+
project: components["schemas"]["Fundraising_Project_ProjectDetail"];
|
|
111
13
|
} | undefined;
|
|
112
14
|
error: any;
|
|
113
15
|
mutate: swr.KeyedMutator<{
|
|
114
|
-
project:
|
|
115
|
-
status: {
|
|
116
|
-
projectStatus: "draft" | "open" | "prepared";
|
|
117
|
-
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
118
|
-
} | {
|
|
119
|
-
projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
|
|
120
|
-
};
|
|
121
|
-
id: number;
|
|
122
|
-
keyword: string;
|
|
123
|
-
title: string | null;
|
|
124
|
-
__type: "RegularSteadyCrowdfundingProjectDetail";
|
|
125
|
-
updatedAt: string;
|
|
126
|
-
fundingModel: "regularSteady";
|
|
127
|
-
totalNumberOfSupporters: number;
|
|
128
|
-
numberOfVisitors: number | null;
|
|
129
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
130
|
-
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
131
|
-
displayPlanName: string;
|
|
132
|
-
commissionAmountRate: number;
|
|
133
|
-
scheduledPublicationDate: string | null;
|
|
134
|
-
currentNumberOfMonthlySupporters: number;
|
|
135
|
-
totalNumberOfMonthlySupporters: number;
|
|
136
|
-
totalPayAmount: number;
|
|
137
|
-
currentMonthlyPayAmount: number;
|
|
138
|
-
planConfirmed: boolean;
|
|
139
|
-
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
140
|
-
projectVersion: number;
|
|
141
|
-
userId: number;
|
|
142
|
-
channelTalkMemberHash: string;
|
|
143
|
-
shouldShowChatService: boolean;
|
|
144
|
-
isDeletable: boolean;
|
|
145
|
-
imageUrl?: string | undefined;
|
|
146
|
-
} | {
|
|
147
|
-
status: {
|
|
148
|
-
projectStatus: "draft" | "open" | "prepared";
|
|
149
|
-
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
150
|
-
} | {
|
|
151
|
-
projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
|
|
152
|
-
};
|
|
153
|
-
id: number;
|
|
154
|
-
keyword: string;
|
|
155
|
-
title: string | null;
|
|
156
|
-
__type: "FeaturedSteadyCrowdfundingProjectDetail";
|
|
157
|
-
updatedAt: string;
|
|
158
|
-
fundingModel: "featuredSteady";
|
|
159
|
-
totalNumberOfSupporters: number;
|
|
160
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
161
|
-
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
162
|
-
displayPlanName: string;
|
|
163
|
-
commissionAmountRate: number;
|
|
164
|
-
scheduledPublicationDate: string | null;
|
|
165
|
-
currentNumberOfMonthlySupporters: number;
|
|
166
|
-
totalPayAmount: number;
|
|
167
|
-
currentMonthlyPayAmount: number;
|
|
168
|
-
planConfirmed: boolean;
|
|
169
|
-
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
170
|
-
projectVersion: number;
|
|
171
|
-
userId: number;
|
|
172
|
-
channelTalkMemberHash: string;
|
|
173
|
-
shouldShowChatService: boolean;
|
|
174
|
-
isDeletable: boolean;
|
|
175
|
-
goalNumberOfSupporters: number;
|
|
176
|
-
expiredAt: string | null;
|
|
177
|
-
imageUrl?: string | undefined;
|
|
178
|
-
} | {
|
|
179
|
-
status: {
|
|
180
|
-
projectStatus: "draft" | "open" | "prepared";
|
|
181
|
-
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
182
|
-
} | {
|
|
183
|
-
projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
|
|
184
|
-
};
|
|
185
|
-
id: number;
|
|
186
|
-
keyword: string;
|
|
187
|
-
title: string | null;
|
|
188
|
-
__type: "SpotCrowdfundingProjectDetail";
|
|
189
|
-
updatedAt: string;
|
|
190
|
-
fundingModel: "allOrNothing" | "keepItAll";
|
|
191
|
-
payAmount: number;
|
|
192
|
-
totalNumberOfSupporters: number;
|
|
193
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
194
|
-
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
195
|
-
displayPlanName: string;
|
|
196
|
-
commissionAmountRate: number;
|
|
197
|
-
scheduledPublicationDate: string | null;
|
|
198
|
-
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
199
|
-
projectVersion: number;
|
|
200
|
-
userId: number;
|
|
201
|
-
channelTalkMemberHash: string;
|
|
202
|
-
shouldShowChatService: boolean;
|
|
203
|
-
isDeletable: boolean;
|
|
204
|
-
expiredAt: string | null;
|
|
205
|
-
hasPartnership: boolean;
|
|
206
|
-
goalAmount: number | null;
|
|
207
|
-
minimumCommissionFee: number;
|
|
208
|
-
revealBillingDetail: boolean;
|
|
209
|
-
nextGoal?: number | undefined;
|
|
210
|
-
imageUrl?: string | undefined;
|
|
211
|
-
fundraiserPublicationSchedulable?: boolean | undefined;
|
|
212
|
-
};
|
|
16
|
+
project: components["schemas"]["Fundraising_Project_ProjectDetail"];
|
|
213
17
|
}>;
|
|
214
18
|
isValidating: boolean;
|
|
215
19
|
isLoading: boolean;
|
|
@@ -217,207 +21,11 @@ declare const useV1MyFundraisingProjectsProjectId: (path: V1MyFundraisingProject
|
|
|
217
21
|
};
|
|
218
22
|
declare const useV1MyFundraisingProjectsProjectIdImmutable: (path: V1MyFundraisingProjectsProjectIdGetPath, swrConfig?: Configuration<V1MyFundraisingProjectsProjectIdGetResponse>) => {
|
|
219
23
|
data: {
|
|
220
|
-
project:
|
|
221
|
-
status: {
|
|
222
|
-
projectStatus: "draft" | "open" | "prepared";
|
|
223
|
-
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
224
|
-
} | {
|
|
225
|
-
projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
|
|
226
|
-
};
|
|
227
|
-
id: number;
|
|
228
|
-
keyword: string;
|
|
229
|
-
title: string | null;
|
|
230
|
-
__type: "RegularSteadyCrowdfundingProjectDetail";
|
|
231
|
-
updatedAt: string;
|
|
232
|
-
fundingModel: "regularSteady";
|
|
233
|
-
totalNumberOfSupporters: number;
|
|
234
|
-
numberOfVisitors: number | null;
|
|
235
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
236
|
-
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
237
|
-
displayPlanName: string;
|
|
238
|
-
commissionAmountRate: number;
|
|
239
|
-
scheduledPublicationDate: string | null;
|
|
240
|
-
currentNumberOfMonthlySupporters: number;
|
|
241
|
-
totalNumberOfMonthlySupporters: number;
|
|
242
|
-
totalPayAmount: number;
|
|
243
|
-
currentMonthlyPayAmount: number;
|
|
244
|
-
planConfirmed: boolean;
|
|
245
|
-
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
246
|
-
projectVersion: number;
|
|
247
|
-
userId: number;
|
|
248
|
-
channelTalkMemberHash: string;
|
|
249
|
-
shouldShowChatService: boolean;
|
|
250
|
-
isDeletable: boolean;
|
|
251
|
-
imageUrl?: string | undefined;
|
|
252
|
-
} | {
|
|
253
|
-
status: {
|
|
254
|
-
projectStatus: "draft" | "open" | "prepared";
|
|
255
|
-
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
256
|
-
} | {
|
|
257
|
-
projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
|
|
258
|
-
};
|
|
259
|
-
id: number;
|
|
260
|
-
keyword: string;
|
|
261
|
-
title: string | null;
|
|
262
|
-
__type: "FeaturedSteadyCrowdfundingProjectDetail";
|
|
263
|
-
updatedAt: string;
|
|
264
|
-
fundingModel: "featuredSteady";
|
|
265
|
-
totalNumberOfSupporters: number;
|
|
266
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
267
|
-
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
268
|
-
displayPlanName: string;
|
|
269
|
-
commissionAmountRate: number;
|
|
270
|
-
scheduledPublicationDate: string | null;
|
|
271
|
-
currentNumberOfMonthlySupporters: number;
|
|
272
|
-
totalPayAmount: number;
|
|
273
|
-
currentMonthlyPayAmount: number;
|
|
274
|
-
planConfirmed: boolean;
|
|
275
|
-
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
276
|
-
projectVersion: number;
|
|
277
|
-
userId: number;
|
|
278
|
-
channelTalkMemberHash: string;
|
|
279
|
-
shouldShowChatService: boolean;
|
|
280
|
-
isDeletable: boolean;
|
|
281
|
-
goalNumberOfSupporters: number;
|
|
282
|
-
expiredAt: string | null;
|
|
283
|
-
imageUrl?: string | undefined;
|
|
284
|
-
} | {
|
|
285
|
-
status: {
|
|
286
|
-
projectStatus: "draft" | "open" | "prepared";
|
|
287
|
-
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
288
|
-
} | {
|
|
289
|
-
projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
|
|
290
|
-
};
|
|
291
|
-
id: number;
|
|
292
|
-
keyword: string;
|
|
293
|
-
title: string | null;
|
|
294
|
-
__type: "SpotCrowdfundingProjectDetail";
|
|
295
|
-
updatedAt: string;
|
|
296
|
-
fundingModel: "allOrNothing" | "keepItAll";
|
|
297
|
-
payAmount: number;
|
|
298
|
-
totalNumberOfSupporters: number;
|
|
299
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
300
|
-
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
301
|
-
displayPlanName: string;
|
|
302
|
-
commissionAmountRate: number;
|
|
303
|
-
scheduledPublicationDate: string | null;
|
|
304
|
-
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
305
|
-
projectVersion: number;
|
|
306
|
-
userId: number;
|
|
307
|
-
channelTalkMemberHash: string;
|
|
308
|
-
shouldShowChatService: boolean;
|
|
309
|
-
isDeletable: boolean;
|
|
310
|
-
expiredAt: string | null;
|
|
311
|
-
hasPartnership: boolean;
|
|
312
|
-
goalAmount: number | null;
|
|
313
|
-
minimumCommissionFee: number;
|
|
314
|
-
revealBillingDetail: boolean;
|
|
315
|
-
nextGoal?: number | undefined;
|
|
316
|
-
imageUrl?: string | undefined;
|
|
317
|
-
fundraiserPublicationSchedulable?: boolean | undefined;
|
|
318
|
-
};
|
|
24
|
+
project: components["schemas"]["Fundraising_Project_ProjectDetail"];
|
|
319
25
|
} | undefined;
|
|
320
26
|
error: any;
|
|
321
27
|
mutate: swr.KeyedMutator<{
|
|
322
|
-
project:
|
|
323
|
-
status: {
|
|
324
|
-
projectStatus: "draft" | "open" | "prepared";
|
|
325
|
-
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
326
|
-
} | {
|
|
327
|
-
projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
|
|
328
|
-
};
|
|
329
|
-
id: number;
|
|
330
|
-
keyword: string;
|
|
331
|
-
title: string | null;
|
|
332
|
-
__type: "RegularSteadyCrowdfundingProjectDetail";
|
|
333
|
-
updatedAt: string;
|
|
334
|
-
fundingModel: "regularSteady";
|
|
335
|
-
totalNumberOfSupporters: number;
|
|
336
|
-
numberOfVisitors: number | null;
|
|
337
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
338
|
-
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
339
|
-
displayPlanName: string;
|
|
340
|
-
commissionAmountRate: number;
|
|
341
|
-
scheduledPublicationDate: string | null;
|
|
342
|
-
currentNumberOfMonthlySupporters: number;
|
|
343
|
-
totalNumberOfMonthlySupporters: number;
|
|
344
|
-
totalPayAmount: number;
|
|
345
|
-
currentMonthlyPayAmount: number;
|
|
346
|
-
planConfirmed: boolean;
|
|
347
|
-
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
348
|
-
projectVersion: number;
|
|
349
|
-
userId: number;
|
|
350
|
-
channelTalkMemberHash: string;
|
|
351
|
-
shouldShowChatService: boolean;
|
|
352
|
-
isDeletable: boolean;
|
|
353
|
-
imageUrl?: string | undefined;
|
|
354
|
-
} | {
|
|
355
|
-
status: {
|
|
356
|
-
projectStatus: "draft" | "open" | "prepared";
|
|
357
|
-
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
358
|
-
} | {
|
|
359
|
-
projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
|
|
360
|
-
};
|
|
361
|
-
id: number;
|
|
362
|
-
keyword: string;
|
|
363
|
-
title: string | null;
|
|
364
|
-
__type: "FeaturedSteadyCrowdfundingProjectDetail";
|
|
365
|
-
updatedAt: string;
|
|
366
|
-
fundingModel: "featuredSteady";
|
|
367
|
-
totalNumberOfSupporters: number;
|
|
368
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
369
|
-
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
370
|
-
displayPlanName: string;
|
|
371
|
-
commissionAmountRate: number;
|
|
372
|
-
scheduledPublicationDate: string | null;
|
|
373
|
-
currentNumberOfMonthlySupporters: number;
|
|
374
|
-
totalPayAmount: number;
|
|
375
|
-
currentMonthlyPayAmount: number;
|
|
376
|
-
planConfirmed: boolean;
|
|
377
|
-
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
378
|
-
projectVersion: number;
|
|
379
|
-
userId: number;
|
|
380
|
-
channelTalkMemberHash: string;
|
|
381
|
-
shouldShowChatService: boolean;
|
|
382
|
-
isDeletable: boolean;
|
|
383
|
-
goalNumberOfSupporters: number;
|
|
384
|
-
expiredAt: string | null;
|
|
385
|
-
imageUrl?: string | undefined;
|
|
386
|
-
} | {
|
|
387
|
-
status: {
|
|
388
|
-
projectStatus: "draft" | "open" | "prepared";
|
|
389
|
-
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
390
|
-
} | {
|
|
391
|
-
projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
|
|
392
|
-
};
|
|
393
|
-
id: number;
|
|
394
|
-
keyword: string;
|
|
395
|
-
title: string | null;
|
|
396
|
-
__type: "SpotCrowdfundingProjectDetail";
|
|
397
|
-
updatedAt: string;
|
|
398
|
-
fundingModel: "allOrNothing" | "keepItAll";
|
|
399
|
-
payAmount: number;
|
|
400
|
-
totalNumberOfSupporters: number;
|
|
401
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
402
|
-
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
403
|
-
displayPlanName: string;
|
|
404
|
-
commissionAmountRate: number;
|
|
405
|
-
scheduledPublicationDate: string | null;
|
|
406
|
-
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
407
|
-
projectVersion: number;
|
|
408
|
-
userId: number;
|
|
409
|
-
channelTalkMemberHash: string;
|
|
410
|
-
shouldShowChatService: boolean;
|
|
411
|
-
isDeletable: boolean;
|
|
412
|
-
expiredAt: string | null;
|
|
413
|
-
hasPartnership: boolean;
|
|
414
|
-
goalAmount: number | null;
|
|
415
|
-
minimumCommissionFee: number;
|
|
416
|
-
revealBillingDetail: boolean;
|
|
417
|
-
nextGoal?: number | undefined;
|
|
418
|
-
imageUrl?: string | undefined;
|
|
419
|
-
fundraiserPublicationSchedulable?: boolean | undefined;
|
|
420
|
-
};
|
|
28
|
+
project: components["schemas"]["Fundraising_Project_ProjectDetail"];
|
|
421
29
|
}>;
|
|
422
30
|
isValidating: boolean;
|
|
423
31
|
isLoading: boolean;
|
|
@@ -1,79 +1,19 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
-
import { components } from '../schemaType.mjs';
|
|
4
3
|
import * as swr from 'swr';
|
|
5
4
|
import { Arguments } from 'swr';
|
|
5
|
+
import { components } from '../schemaType.mjs';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { V1MyFundraisingProjectsProjectIdAnalysisGetPath, V1MyFundraisingProjectsProjectIdAnalysisGetResponse } from '../fetch/v1MyFundraisingProjectsProjectIdAnalysis.mjs';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useV1MyFundraisingProjectsProjectIdAnalysis: (path: V1MyFundraisingProjectsProjectIdAnalysisGetPath, swrConfig?: Configuration<V1MyFundraisingProjectsProjectIdAnalysisGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
project:
|
|
13
|
-
title: string;
|
|
14
|
-
fundingModel: "featuredSteady";
|
|
15
|
-
payAmount: number;
|
|
16
|
-
totalNumberOfSupporters: number;
|
|
17
|
-
achievementPercent: number;
|
|
18
|
-
numberOfVisitors: number | null;
|
|
19
|
-
conversionPercent: number | null;
|
|
20
|
-
payAmountPerSupporter: number;
|
|
21
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
22
|
-
} | {
|
|
23
|
-
title: string;
|
|
24
|
-
fundingModel: "regularSteady";
|
|
25
|
-
payAmount: number;
|
|
26
|
-
totalNumberOfSupporters: number;
|
|
27
|
-
numberOfVisitors: number | null;
|
|
28
|
-
conversionPercent: number | null;
|
|
29
|
-
payAmountPerSupporter: number;
|
|
30
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
31
|
-
conversionPercentPastNDays: number | null;
|
|
32
|
-
} | {
|
|
33
|
-
title: string;
|
|
34
|
-
fundingModel: "allOrNothing" | "keepItAll";
|
|
35
|
-
payAmount: number;
|
|
36
|
-
totalNumberOfSupporters: number;
|
|
37
|
-
achievementPercent: number;
|
|
38
|
-
numberOfVisitors: number | null;
|
|
39
|
-
conversionPercent: number | null;
|
|
40
|
-
payAmountPerSupporter: number;
|
|
41
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
42
|
-
};
|
|
12
|
+
project: components["schemas"]["Fundraising_Project_ProjectAnalysis"];
|
|
43
13
|
} | undefined;
|
|
44
14
|
error: any;
|
|
45
15
|
mutate: swr.KeyedMutator<{
|
|
46
|
-
project:
|
|
47
|
-
title: string;
|
|
48
|
-
fundingModel: "featuredSteady";
|
|
49
|
-
payAmount: number;
|
|
50
|
-
totalNumberOfSupporters: number;
|
|
51
|
-
achievementPercent: number;
|
|
52
|
-
numberOfVisitors: number | null;
|
|
53
|
-
conversionPercent: number | null;
|
|
54
|
-
payAmountPerSupporter: number;
|
|
55
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
56
|
-
} | {
|
|
57
|
-
title: string;
|
|
58
|
-
fundingModel: "regularSteady";
|
|
59
|
-
payAmount: number;
|
|
60
|
-
totalNumberOfSupporters: number;
|
|
61
|
-
numberOfVisitors: number | null;
|
|
62
|
-
conversionPercent: number | null;
|
|
63
|
-
payAmountPerSupporter: number;
|
|
64
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
65
|
-
conversionPercentPastNDays: number | null;
|
|
66
|
-
} | {
|
|
67
|
-
title: string;
|
|
68
|
-
fundingModel: "allOrNothing" | "keepItAll";
|
|
69
|
-
payAmount: number;
|
|
70
|
-
totalNumberOfSupporters: number;
|
|
71
|
-
achievementPercent: number;
|
|
72
|
-
numberOfVisitors: number | null;
|
|
73
|
-
conversionPercent: number | null;
|
|
74
|
-
payAmountPerSupporter: number;
|
|
75
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
76
|
-
};
|
|
16
|
+
project: components["schemas"]["Fundraising_Project_ProjectAnalysis"];
|
|
77
17
|
}>;
|
|
78
18
|
isValidating: boolean;
|
|
79
19
|
isLoading: boolean;
|
|
@@ -81,71 +21,11 @@ declare const useV1MyFundraisingProjectsProjectIdAnalysis: (path: V1MyFundraisin
|
|
|
81
21
|
};
|
|
82
22
|
declare const useV1MyFundraisingProjectsProjectIdAnalysisImmutable: (path: V1MyFundraisingProjectsProjectIdAnalysisGetPath, swrConfig?: Configuration<V1MyFundraisingProjectsProjectIdAnalysisGetResponse>) => {
|
|
83
23
|
data: {
|
|
84
|
-
project:
|
|
85
|
-
title: string;
|
|
86
|
-
fundingModel: "featuredSteady";
|
|
87
|
-
payAmount: number;
|
|
88
|
-
totalNumberOfSupporters: number;
|
|
89
|
-
achievementPercent: number;
|
|
90
|
-
numberOfVisitors: number | null;
|
|
91
|
-
conversionPercent: number | null;
|
|
92
|
-
payAmountPerSupporter: number;
|
|
93
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
94
|
-
} | {
|
|
95
|
-
title: string;
|
|
96
|
-
fundingModel: "regularSteady";
|
|
97
|
-
payAmount: number;
|
|
98
|
-
totalNumberOfSupporters: number;
|
|
99
|
-
numberOfVisitors: number | null;
|
|
100
|
-
conversionPercent: number | null;
|
|
101
|
-
payAmountPerSupporter: number;
|
|
102
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
103
|
-
conversionPercentPastNDays: number | null;
|
|
104
|
-
} | {
|
|
105
|
-
title: string;
|
|
106
|
-
fundingModel: "allOrNothing" | "keepItAll";
|
|
107
|
-
payAmount: number;
|
|
108
|
-
totalNumberOfSupporters: number;
|
|
109
|
-
achievementPercent: number;
|
|
110
|
-
numberOfVisitors: number | null;
|
|
111
|
-
conversionPercent: number | null;
|
|
112
|
-
payAmountPerSupporter: number;
|
|
113
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
114
|
-
};
|
|
24
|
+
project: components["schemas"]["Fundraising_Project_ProjectAnalysis"];
|
|
115
25
|
} | undefined;
|
|
116
26
|
error: any;
|
|
117
27
|
mutate: swr.KeyedMutator<{
|
|
118
|
-
project:
|
|
119
|
-
title: string;
|
|
120
|
-
fundingModel: "featuredSteady";
|
|
121
|
-
payAmount: number;
|
|
122
|
-
totalNumberOfSupporters: number;
|
|
123
|
-
achievementPercent: number;
|
|
124
|
-
numberOfVisitors: number | null;
|
|
125
|
-
conversionPercent: number | null;
|
|
126
|
-
payAmountPerSupporter: number;
|
|
127
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
128
|
-
} | {
|
|
129
|
-
title: string;
|
|
130
|
-
fundingModel: "regularSteady";
|
|
131
|
-
payAmount: number;
|
|
132
|
-
totalNumberOfSupporters: number;
|
|
133
|
-
numberOfVisitors: number | null;
|
|
134
|
-
conversionPercent: number | null;
|
|
135
|
-
payAmountPerSupporter: number;
|
|
136
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
137
|
-
conversionPercentPastNDays: number | null;
|
|
138
|
-
} | {
|
|
139
|
-
title: string;
|
|
140
|
-
fundingModel: "allOrNothing" | "keepItAll";
|
|
141
|
-
payAmount: number;
|
|
142
|
-
totalNumberOfSupporters: number;
|
|
143
|
-
achievementPercent: number;
|
|
144
|
-
numberOfVisitors: number | null;
|
|
145
|
-
conversionPercent: number | null;
|
|
146
|
-
payAmountPerSupporter: number;
|
|
147
|
-
availableAnalysisPages: ("fundraisingAnalysis" | "legacyAnalysis")[];
|
|
148
|
-
};
|
|
28
|
+
project: components["schemas"]["Fundraising_Project_ProjectAnalysis"];
|
|
149
29
|
}>;
|
|
150
30
|
isValidating: boolean;
|
|
151
31
|
isLoading: boolean;
|