@readyfor/api-client-readyfor 0.207.1 → 0.207.2-pr974.caa0ee1

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.
Files changed (125) hide show
  1. package/dist/hooks/index.d.mts +1 -1
  2. package/dist/hooks/index.d.ts +1 -1
  3. package/dist/hooks/useV1BanksSearch.d.mts +4 -4
  4. package/dist/hooks/useV1BanksSearch.d.ts +4 -4
  5. package/dist/hooks/useV1BranchesSearch.d.mts +4 -4
  6. package/dist/hooks/useV1BranchesSearch.d.ts +4 -4
  7. package/dist/hooks/useV1EngagementProjects.d.mts +145 -9
  8. package/dist/hooks/useV1EngagementProjects.d.ts +145 -9
  9. package/dist/hooks/useV1EngagementSearchProjects.d.mts +145 -9
  10. package/dist/hooks/useV1EngagementSearchProjects.d.ts +145 -9
  11. package/dist/hooks/useV1EngagementTags.d.mts +4 -4
  12. package/dist/hooks/useV1EngagementTags.d.ts +4 -4
  13. package/dist/hooks/useV1EngagementTagsTagKeyword.d.mts +25 -9
  14. package/dist/hooks/useV1EngagementTagsTagKeyword.d.ts +25 -9
  15. package/dist/hooks/useV1EngagementTagsTagKeywordProjects.d.mts +145 -9
  16. package/dist/hooks/useV1EngagementTagsTagKeywordProjects.d.ts +145 -9
  17. package/dist/hooks/useV1MyBulkMessages.d.mts +29 -5
  18. package/dist/hooks/useV1MyBulkMessages.d.ts +29 -5
  19. package/dist/hooks/useV1MyBulkMessagesBulkMessageId.d.mts +29 -5
  20. package/dist/hooks/useV1MyBulkMessagesBulkMessageId.d.ts +29 -5
  21. package/dist/hooks/useV1MyBulkMessagesBulkMessageIdToUsers.d.mts +21 -5
  22. package/dist/hooks/useV1MyBulkMessagesBulkMessageIdToUsers.d.ts +21 -5
  23. package/dist/hooks/useV1MyEngagementFavoriteTags.d.mts +4 -4
  24. package/dist/hooks/useV1MyEngagementFavoriteTags.d.ts +4 -4
  25. package/dist/hooks/useV1MyFundraisingAnnouncements.d.mts +189 -9
  26. package/dist/hooks/useV1MyFundraisingAnnouncements.d.ts +189 -9
  27. package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementId.d.mts +33 -21
  28. package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementId.d.ts +33 -21
  29. package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementPostableProjects.d.mts +21 -5
  30. package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementPostableProjects.d.ts +21 -5
  31. package/dist/hooks/useV1MyFundraisingBulkMessages.d.mts +69 -9
  32. package/dist/hooks/useV1MyFundraisingBulkMessages.d.ts +69 -9
  33. package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageId.d.mts +29 -5
  34. package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageId.d.ts +29 -5
  35. package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers.d.mts +77 -9
  36. package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers.d.ts +77 -9
  37. package/dist/hooks/useV1MyFundraisingHeader.d.mts +21 -13
  38. package/dist/hooks/useV1MyFundraisingHeader.d.ts +21 -13
  39. package/dist/hooks/useV1MyFundraisingMessageRooms.d.mts +41 -5
  40. package/dist/hooks/useV1MyFundraisingMessageRooms.d.ts +41 -5
  41. package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomId.d.mts +41 -5
  42. package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomId.d.ts +41 -5
  43. package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomIdMessages.d.mts +89 -5
  44. package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomIdMessages.d.ts +89 -5
  45. package/dist/hooks/useV1MyFundraisingProjects.d.mts +261 -9
  46. package/dist/hooks/useV1MyFundraisingProjects.d.ts +261 -9
  47. package/dist/hooks/useV1MyFundraisingProjectsProjectId.d.mts +397 -5
  48. package/dist/hooks/useV1MyFundraisingProjectsProjectId.d.ts +397 -5
  49. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysis.d.mts +125 -5
  50. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysis.d.ts +125 -5
  51. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercents.d.mts +33 -9
  52. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercents.d.ts +33 -9
  53. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitors.d.mts +33 -9
  54. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitors.d.ts +33 -9
  55. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnnouncements.d.mts +149 -5
  56. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnnouncements.d.ts +149 -5
  57. package/dist/hooks/useV1MyFundraisingProjectsProjectIdEditingProgress.d.mts +37 -5
  58. package/dist/hooks/useV1MyFundraisingProjectsProjectIdEditingProgress.d.ts +37 -5
  59. package/dist/hooks/useV1MyFundraisingProjectsProjectIdFastPaymentApplication.d.mts +53 -21
  60. package/dist/hooks/useV1MyFundraisingProjectsProjectIdFastPaymentApplication.d.ts +53 -21
  61. package/dist/hooks/useV1MyFundraisingProjectsProjectIdMonthlyBillingDetails.d.mts +21 -5
  62. package/dist/hooks/useV1MyFundraisingProjectsProjectIdMonthlyBillingDetails.d.ts +21 -5
  63. package/dist/hooks/useV1MyFundraisingProjectsProjectIdSummary.d.mts +17 -5
  64. package/dist/hooks/useV1MyFundraisingProjectsProjectIdSummary.d.ts +17 -5
  65. package/dist/hooks/useV1MyMessagesExchangedUsers.d.mts +61 -9
  66. package/dist/hooks/useV1MyMessagesExchangedUsers.d.ts +61 -9
  67. package/dist/hooks/useV1MyMessagesTree.d.mts +65 -13
  68. package/dist/hooks/useV1MyMessagesTree.d.ts +65 -13
  69. package/dist/hooks/useV1MyProfile.d.mts +45 -9
  70. package/dist/hooks/useV1MyProfile.d.ts +45 -9
  71. package/dist/hooks/useV1MyProjectsOwners.d.mts +33 -5
  72. package/dist/hooks/useV1MyProjectsOwners.d.ts +33 -5
  73. package/dist/hooks/useV1MyProjectsProjectId.d.mts +209 -13
  74. package/dist/hooks/useV1MyProjectsProjectId.d.ts +209 -13
  75. package/dist/hooks/useV1MyProjectsProjectIdCommissions.d.mts +4 -4
  76. package/dist/hooks/useV1MyProjectsProjectIdCommissions.d.ts +4 -4
  77. package/dist/hooks/useV1MyProjectsProjectIdConfirmations.d.mts +24 -24
  78. package/dist/hooks/useV1MyProjectsProjectIdConfirmations.d.ts +24 -24
  79. package/dist/hooks/useV1MyProjectsProjectIdProjectCheckList.d.mts +253 -13
  80. package/dist/hooks/useV1MyProjectsProjectIdProjectCheckList.d.ts +253 -13
  81. package/dist/hooks/useV1MyProjectsProjectIdProjectFastPaymentApplication.d.mts +57 -9
  82. package/dist/hooks/useV1MyProjectsProjectIdProjectFastPaymentApplication.d.ts +57 -9
  83. package/dist/hooks/useV1MyProjectsProjectIdProjectOwner.d.mts +53 -9
  84. package/dist/hooks/useV1MyProjectsProjectIdProjectOwner.d.ts +53 -9
  85. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwner.d.mts +441 -13
  86. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwner.d.ts +441 -13
  87. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivity.d.mts +97 -13
  88. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivity.d.ts +97 -13
  89. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckList.d.mts +297 -13
  90. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckList.d.ts +297 -13
  91. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerTransferAccount.d.mts +133 -13
  92. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerTransferAccount.d.ts +133 -13
  93. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerUrls.d.mts +97 -13
  94. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerUrls.d.ts +97 -13
  95. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwner.d.mts +169 -13
  96. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwner.d.ts +169 -13
  97. package/dist/hooks/useV1MyProjectsProjectIdPublicationSchedule.d.mts +69 -9
  98. package/dist/hooks/useV1MyProjectsProjectIdPublicationSchedule.d.ts +69 -9
  99. package/dist/hooks/useV1MyProjectsProjectIdRewards.d.mts +233 -17
  100. package/dist/hooks/useV1MyProjectsProjectIdRewards.d.ts +233 -17
  101. package/dist/hooks/useV1MyProjectsProjectIdRewardsRequestsRequestId.d.mts +193 -13
  102. package/dist/hooks/useV1MyProjectsProjectIdRewardsRequestsRequestId.d.ts +193 -13
  103. package/dist/hooks/useV1MyProjectsProjectIdRewardsRewardId.d.mts +201 -13
  104. package/dist/hooks/useV1MyProjectsProjectIdRewardsRewardId.d.ts +201 -13
  105. package/dist/hooks/useV1MyProjectsProjectIdStatisticalEventsEditStart.d.mts +4 -4
  106. package/dist/hooks/useV1MyProjectsProjectIdStatisticalEventsEditStart.d.ts +4 -4
  107. package/dist/hooks/useV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckList.d.mts +253 -13
  108. package/dist/hooks/useV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckList.d.ts +253 -13
  109. package/dist/hooks/useV1MyProjectsProjectIdUserIdentification.d.mts +105 -21
  110. package/dist/hooks/useV1MyProjectsProjectIdUserIdentification.d.ts +105 -21
  111. package/dist/hooks/useV1ProjectsProjectIdAnnouncements.d.mts +16 -16
  112. package/dist/hooks/useV1ProjectsProjectIdAnnouncements.d.ts +16 -16
  113. package/dist/hooks/useV1ProjectsProjectIdComments.d.mts +101 -9
  114. package/dist/hooks/useV1ProjectsProjectIdComments.d.ts +101 -9
  115. package/dist/hooks/useV1ProjectsProjectIdRewards.d.mts +21 -9
  116. package/dist/hooks/useV1ProjectsProjectIdRewards.d.ts +21 -9
  117. package/dist/hooks/useV1ProjectsProjectIdRewardsForPreview.d.mts +72 -48
  118. package/dist/hooks/useV1ProjectsProjectIdRewardsForPreview.d.ts +72 -48
  119. package/dist/hooks/useV1ResourcesCommonHeader.d.mts +129 -9
  120. package/dist/hooks/useV1ResourcesCommonHeader.d.ts +129 -9
  121. package/dist/hooks/useV1SearchProjectSuggestions.d.mts +25 -5
  122. package/dist/hooks/useV1SearchProjectSuggestions.d.ts +25 -5
  123. package/dist/hooks/useV1Tags.d.mts +4 -4
  124. package/dist/hooks/useV1Tags.d.ts +4 -4
  125. package/package.json +11 -12
@@ -1,19 +1,215 @@
1
1
  import * as swr_infinite from 'swr/infinite';
2
2
  import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
3
+ import { components } from '../schemaType.js';
3
4
  import * as swr from 'swr';
4
5
  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: components["schemas"]["Fundraising_Project_ProjectDetail"];
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
+ };
13
111
  } | undefined;
14
112
  error: any;
15
113
  mutate: swr.KeyedMutator<{
16
- project: components["schemas"]["Fundraising_Project_ProjectDetail"];
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
+ };
17
213
  }>;
18
214
  isValidating: boolean;
19
215
  isLoading: boolean;
@@ -21,11 +217,207 @@ declare const useV1MyFundraisingProjectsProjectId: (path: V1MyFundraisingProject
21
217
  };
22
218
  declare const useV1MyFundraisingProjectsProjectIdImmutable: (path: V1MyFundraisingProjectsProjectIdGetPath, swrConfig?: Configuration<V1MyFundraisingProjectsProjectIdGetResponse>) => {
23
219
  data: {
24
- project: components["schemas"]["Fundraising_Project_ProjectDetail"];
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
+ };
25
319
  } | undefined;
26
320
  error: any;
27
321
  mutate: swr.KeyedMutator<{
28
- project: components["schemas"]["Fundraising_Project_ProjectDetail"];
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
+ };
29
421
  }>;
30
422
  isValidating: boolean;
31
423
  isLoading: boolean;
@@ -1,19 +1,79 @@
1
1
  import * as swr_infinite from 'swr/infinite';
2
2
  import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
3
+ import { components } from '../schemaType.mjs';
3
4
  import * as swr from 'swr';
4
5
  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: components["schemas"]["Fundraising_Project_ProjectAnalysis"];
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
+ };
13
43
  } | undefined;
14
44
  error: any;
15
45
  mutate: swr.KeyedMutator<{
16
- project: components["schemas"]["Fundraising_Project_ProjectAnalysis"];
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
+ };
17
77
  }>;
18
78
  isValidating: boolean;
19
79
  isLoading: boolean;
@@ -21,11 +81,71 @@ declare const useV1MyFundraisingProjectsProjectIdAnalysis: (path: V1MyFundraisin
21
81
  };
22
82
  declare const useV1MyFundraisingProjectsProjectIdAnalysisImmutable: (path: V1MyFundraisingProjectsProjectIdAnalysisGetPath, swrConfig?: Configuration<V1MyFundraisingProjectsProjectIdAnalysisGetResponse>) => {
23
83
  data: {
24
- project: components["schemas"]["Fundraising_Project_ProjectAnalysis"];
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
+ };
25
115
  } | undefined;
26
116
  error: any;
27
117
  mutate: swr.KeyedMutator<{
28
- project: components["schemas"]["Fundraising_Project_ProjectAnalysis"];
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
+ };
29
149
  }>;
30
150
  isValidating: boolean;
31
151
  isLoading: boolean;