@readyfor/api-client-readyfor-api 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 (75) hide show
  1. package/dist/hooks/useV2ContributionsOrderInfo.d.mts +149 -21
  2. package/dist/hooks/useV2ContributionsOrderInfo.d.ts +149 -21
  3. package/dist/hooks/useV2ContributionsPaymentInfo.d.mts +93 -9
  4. package/dist/hooks/useV2ContributionsPaymentInfo.d.ts +93 -9
  5. package/dist/hooks/useV2ContributionsPaymentMethods.d.mts +69 -21
  6. package/dist/hooks/useV2ContributionsPaymentMethods.d.ts +69 -21
  7. package/dist/hooks/useV2ContributionsProjectInfo.d.mts +185 -41
  8. package/dist/hooks/useV2ContributionsProjectInfo.d.ts +185 -41
  9. package/dist/hooks/useV2ContributionsRecommendedProjects.d.mts +85 -5
  10. package/dist/hooks/useV2ContributionsRecommendedProjects.d.ts +85 -5
  11. package/dist/hooks/useV2ContributionsRecommendedTags.d.mts +17 -5
  12. package/dist/hooks/useV2ContributionsRecommendedTags.d.ts +17 -5
  13. package/dist/hooks/useV2ContributionsUserInfo.d.mts +169 -25
  14. package/dist/hooks/useV2ContributionsUserInfo.d.ts +169 -25
  15. package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.mts +21 -5
  16. package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.ts +21 -5
  17. package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.mts +21 -5
  18. package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.ts +21 -5
  19. package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.mts +21 -5
  20. package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.ts +21 -5
  21. package/dist/hooks/useV2FundraisingContributors.d.mts +89 -9
  22. package/dist/hooks/useV2FundraisingContributors.d.ts +89 -9
  23. package/dist/hooks/useV2FundraisingContributorsCount.d.mts +21 -5
  24. package/dist/hooks/useV2FundraisingContributorsCount.d.ts +21 -5
  25. package/dist/hooks/useV2FundraisingContributorsCsvGenerations.d.mts +20 -20
  26. package/dist/hooks/useV2FundraisingContributorsCsvGenerations.d.ts +20 -20
  27. package/dist/hooks/useV2FundraisingContributorsUsers.d.mts +21 -5
  28. package/dist/hooks/useV2FundraisingContributorsUsers.d.ts +21 -5
  29. package/dist/hooks/useV2FundraisingOrdersCsvGenerations.d.mts +20 -20
  30. package/dist/hooks/useV2FundraisingOrdersCsvGenerations.d.ts +20 -20
  31. package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.mts +69 -21
  32. package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.ts +69 -21
  33. package/dist/hooks/useV2FundraisingRewards.d.mts +169 -13
  34. package/dist/hooks/useV2FundraisingRewards.d.ts +169 -13
  35. package/dist/hooks/useV2FundraisingRewardsAll.d.mts +17 -5
  36. package/dist/hooks/useV2FundraisingRewardsAll.d.ts +17 -5
  37. package/dist/hooks/useV2FundraisingRewardsCsvGenerations.d.mts +20 -20
  38. package/dist/hooks/useV2FundraisingRewardsCsvGenerations.d.ts +20 -20
  39. package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.d.mts +20 -20
  40. package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.d.ts +20 -20
  41. package/dist/hooks/useV2FundraisingRewardsRewardId.d.mts +105 -45
  42. package/dist/hooks/useV2FundraisingRewardsRewardId.d.ts +105 -45
  43. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.mts +197 -13
  44. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.ts +197 -13
  45. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.mts +37 -5
  46. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.ts +37 -5
  47. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.mts +193 -45
  48. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.ts +193 -45
  49. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +25 -5
  50. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +25 -5
  51. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.mts +17 -5
  52. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.ts +17 -5
  53. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.mts +153 -13
  54. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.ts +153 -13
  55. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.mts +37 -5
  56. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.ts +37 -5
  57. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.mts +169 -49
  58. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.ts +169 -49
  59. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +25 -5
  60. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +25 -5
  61. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.mts +17 -5
  62. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.ts +17 -5
  63. package/dist/hooks/useV2OwnerCrmContributorsOrders.d.mts +149 -9
  64. package/dist/hooks/useV2OwnerCrmContributorsOrders.d.ts +149 -9
  65. package/dist/hooks/useV2OwnerCrmContributorsProjects.d.mts +25 -5
  66. package/dist/hooks/useV2OwnerCrmContributorsProjects.d.ts +25 -5
  67. package/dist/hooks/useV2OwnerCrmContributorsUser.d.mts +40 -40
  68. package/dist/hooks/useV2OwnerCrmContributorsUser.d.ts +40 -40
  69. package/dist/hooks/useV2ResourcesBankBranches.d.mts +29 -5
  70. package/dist/hooks/useV2ResourcesBankBranches.d.ts +29 -5
  71. package/dist/hooks/useV2ResourcesBanks.d.mts +21 -5
  72. package/dist/hooks/useV2ResourcesBanks.d.ts +21 -5
  73. package/dist/hooks/useV2ResourcesUsers.d.mts +29 -5
  74. package/dist/hooks/useV2ResourcesUsers.d.ts +29 -5
  75. package/package.json +11 -12
@@ -1,8 +1,8 @@
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 { V2ContributionsProjectInfoGetQuery, V2ContributionsProjectInfoGetResponse } from '../fetch/v2ContributionsProjectInfo.js';
8
8
  import '@readyfor/api-client-base';
@@ -10,48 +10,120 @@ import '@readyfor/api-client-base';
10
10
  declare const useV2ContributionsProjectInfo: (query: V2ContributionsProjectInfoGetQuery, swrConfig?: Configuration<V2ContributionsProjectInfoGetResponse>) => {
11
11
  data: {
12
12
  id: number;
13
- userId: number;
14
13
  title: string;
15
- prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
16
14
  expiredAt: string | null;
17
- fundingTypeNotation: string;
18
15
  fundingModel: 0 | 1 | 3 | 4;
16
+ fundedPercent: number | null;
17
+ fundingTypeNotation: string;
18
+ image: {
19
+ src: string;
20
+ alt: string;
21
+ };
22
+ rewards: {
23
+ price: number;
24
+ stockCount: string;
25
+ id: number;
26
+ title: string;
27
+ image: {
28
+ src: string;
29
+ alt: string;
30
+ } | null;
31
+ description: string;
32
+ currentReservedStockCount: number | null;
33
+ contributionLimit: number | null;
34
+ deliverySchedule: string;
35
+ requireDelivery: boolean;
36
+ rewardOptions: {
37
+ name: string;
38
+ id: number;
39
+ inputType: 0 | 5;
40
+ selections?: {
41
+ id: number;
42
+ label: string;
43
+ }[] | undefined;
44
+ }[] | null;
45
+ paymentType: "onetime" | "monthly";
46
+ }[];
47
+ userId: number;
48
+ contributorSystemUsageFee: {
49
+ totalAmount: number;
50
+ fee: number;
51
+ salesTax: number;
52
+ } | null;
53
+ prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
19
54
  rewardNotation: string;
20
55
  requiredPeopleNum: number | null;
21
56
  remainingDayOrTimeValue: string | null;
22
- paymentMethodRestriction: 0 | 2 | 4 | 6;
57
+ paymentMethodRestriction: 0 | 4 | 2 | 6;
23
58
  supportType: "charity" | "furusato" | "normal";
24
59
  ownerName: string;
25
- ownerImage: components["schemas"]["Common_Image"];
26
- image: components["schemas"]["Common_Image"];
27
- rewards: components["schemas"]["Contributions_ProjectInfo_Reward"][];
60
+ ownerImage: {
61
+ src: string;
62
+ alt: string;
63
+ };
28
64
  hashTags: string[];
29
- contributorSystemUsageFee: components["schemas"]["Contributions_ProjectInfo_contributorSystemUsageFee"];
30
- gmopgPaymentSetting: components["schemas"]["Contributions_ProjectInfo_gmopgPaymentSetting"];
31
- fundedPercent: number | null;
65
+ gmopgPaymentSetting: {
66
+ shopId: string;
67
+ };
32
68
  } | undefined;
33
69
  error: any;
34
70
  mutate: swr.KeyedMutator<{
35
71
  id: number;
36
- userId: number;
37
72
  title: string;
38
- prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
39
73
  expiredAt: string | null;
40
- fundingTypeNotation: string;
41
74
  fundingModel: 0 | 1 | 3 | 4;
75
+ fundedPercent: number | null;
76
+ fundingTypeNotation: string;
77
+ image: {
78
+ src: string;
79
+ alt: string;
80
+ };
81
+ rewards: {
82
+ price: number;
83
+ stockCount: string;
84
+ id: number;
85
+ title: string;
86
+ image: {
87
+ src: string;
88
+ alt: string;
89
+ } | null;
90
+ description: string;
91
+ currentReservedStockCount: number | null;
92
+ contributionLimit: number | null;
93
+ deliverySchedule: string;
94
+ requireDelivery: boolean;
95
+ rewardOptions: {
96
+ name: string;
97
+ id: number;
98
+ inputType: 0 | 5;
99
+ selections?: {
100
+ id: number;
101
+ label: string;
102
+ }[] | undefined;
103
+ }[] | null;
104
+ paymentType: "onetime" | "monthly";
105
+ }[];
106
+ userId: number;
107
+ contributorSystemUsageFee: {
108
+ totalAmount: number;
109
+ fee: number;
110
+ salesTax: number;
111
+ } | null;
112
+ prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
42
113
  rewardNotation: string;
43
114
  requiredPeopleNum: number | null;
44
115
  remainingDayOrTimeValue: string | null;
45
- paymentMethodRestriction: 0 | 2 | 4 | 6;
116
+ paymentMethodRestriction: 0 | 4 | 2 | 6;
46
117
  supportType: "charity" | "furusato" | "normal";
47
118
  ownerName: string;
48
- ownerImage: components["schemas"]["Common_Image"];
49
- image: components["schemas"]["Common_Image"];
50
- rewards: components["schemas"]["Contributions_ProjectInfo_Reward"][];
119
+ ownerImage: {
120
+ src: string;
121
+ alt: string;
122
+ };
51
123
  hashTags: string[];
52
- contributorSystemUsageFee: components["schemas"]["Contributions_ProjectInfo_contributorSystemUsageFee"];
53
- gmopgPaymentSetting: components["schemas"]["Contributions_ProjectInfo_gmopgPaymentSetting"];
54
- fundedPercent: number | null;
124
+ gmopgPaymentSetting: {
125
+ shopId: string;
126
+ };
55
127
  }>;
56
128
  isValidating: boolean;
57
129
  isLoading: boolean;
@@ -60,48 +132,120 @@ declare const useV2ContributionsProjectInfo: (query: V2ContributionsProjectInfoG
60
132
  declare const useV2ContributionsProjectInfoImmutable: (query: V2ContributionsProjectInfoGetQuery, swrConfig?: Configuration<V2ContributionsProjectInfoGetResponse>) => {
61
133
  data: {
62
134
  id: number;
63
- userId: number;
64
135
  title: string;
65
- prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
66
136
  expiredAt: string | null;
67
- fundingTypeNotation: string;
68
137
  fundingModel: 0 | 1 | 3 | 4;
138
+ fundedPercent: number | null;
139
+ fundingTypeNotation: string;
140
+ image: {
141
+ src: string;
142
+ alt: string;
143
+ };
144
+ rewards: {
145
+ price: number;
146
+ stockCount: string;
147
+ id: number;
148
+ title: string;
149
+ image: {
150
+ src: string;
151
+ alt: string;
152
+ } | null;
153
+ description: string;
154
+ currentReservedStockCount: number | null;
155
+ contributionLimit: number | null;
156
+ deliverySchedule: string;
157
+ requireDelivery: boolean;
158
+ rewardOptions: {
159
+ name: string;
160
+ id: number;
161
+ inputType: 0 | 5;
162
+ selections?: {
163
+ id: number;
164
+ label: string;
165
+ }[] | undefined;
166
+ }[] | null;
167
+ paymentType: "onetime" | "monthly";
168
+ }[];
169
+ userId: number;
170
+ contributorSystemUsageFee: {
171
+ totalAmount: number;
172
+ fee: number;
173
+ salesTax: number;
174
+ } | null;
175
+ prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
69
176
  rewardNotation: string;
70
177
  requiredPeopleNum: number | null;
71
178
  remainingDayOrTimeValue: string | null;
72
- paymentMethodRestriction: 0 | 2 | 4 | 6;
179
+ paymentMethodRestriction: 0 | 4 | 2 | 6;
73
180
  supportType: "charity" | "furusato" | "normal";
74
181
  ownerName: string;
75
- ownerImage: components["schemas"]["Common_Image"];
76
- image: components["schemas"]["Common_Image"];
77
- rewards: components["schemas"]["Contributions_ProjectInfo_Reward"][];
182
+ ownerImage: {
183
+ src: string;
184
+ alt: string;
185
+ };
78
186
  hashTags: string[];
79
- contributorSystemUsageFee: components["schemas"]["Contributions_ProjectInfo_contributorSystemUsageFee"];
80
- gmopgPaymentSetting: components["schemas"]["Contributions_ProjectInfo_gmopgPaymentSetting"];
81
- fundedPercent: number | null;
187
+ gmopgPaymentSetting: {
188
+ shopId: string;
189
+ };
82
190
  } | undefined;
83
191
  error: any;
84
192
  mutate: swr.KeyedMutator<{
85
193
  id: number;
86
- userId: number;
87
194
  title: string;
88
- prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
89
195
  expiredAt: string | null;
90
- fundingTypeNotation: string;
91
196
  fundingModel: 0 | 1 | 3 | 4;
197
+ fundedPercent: number | null;
198
+ fundingTypeNotation: string;
199
+ image: {
200
+ src: string;
201
+ alt: string;
202
+ };
203
+ rewards: {
204
+ price: number;
205
+ stockCount: string;
206
+ id: number;
207
+ title: string;
208
+ image: {
209
+ src: string;
210
+ alt: string;
211
+ } | null;
212
+ description: string;
213
+ currentReservedStockCount: number | null;
214
+ contributionLimit: number | null;
215
+ deliverySchedule: string;
216
+ requireDelivery: boolean;
217
+ rewardOptions: {
218
+ name: string;
219
+ id: number;
220
+ inputType: 0 | 5;
221
+ selections?: {
222
+ id: number;
223
+ label: string;
224
+ }[] | undefined;
225
+ }[] | null;
226
+ paymentType: "onetime" | "monthly";
227
+ }[];
228
+ userId: number;
229
+ contributorSystemUsageFee: {
230
+ totalAmount: number;
231
+ fee: number;
232
+ salesTax: number;
233
+ } | null;
234
+ prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
92
235
  rewardNotation: string;
93
236
  requiredPeopleNum: number | null;
94
237
  remainingDayOrTimeValue: string | null;
95
- paymentMethodRestriction: 0 | 2 | 4 | 6;
238
+ paymentMethodRestriction: 0 | 4 | 2 | 6;
96
239
  supportType: "charity" | "furusato" | "normal";
97
240
  ownerName: string;
98
- ownerImage: components["schemas"]["Common_Image"];
99
- image: components["schemas"]["Common_Image"];
100
- rewards: components["schemas"]["Contributions_ProjectInfo_Reward"][];
241
+ ownerImage: {
242
+ src: string;
243
+ alt: string;
244
+ };
101
245
  hashTags: string[];
102
- contributorSystemUsageFee: components["schemas"]["Contributions_ProjectInfo_contributorSystemUsageFee"];
103
- gmopgPaymentSetting: components["schemas"]["Contributions_ProjectInfo_gmopgPaymentSetting"];
104
- fundedPercent: number | null;
246
+ gmopgPaymentSetting: {
247
+ shopId: string;
248
+ };
105
249
  }>;
106
250
  isValidating: boolean;
107
251
  isLoading: boolean;
@@ -1,18 +1,58 @@
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 { V2ContributionsRecommendedProjectsGetResponse } from '../fetch/v2ContributionsRecommendedProjects.mjs';
8
8
 
9
9
  declare const useV2ContributionsRecommendedProjects: (swrConfig?: Configuration<V2ContributionsRecommendedProjectsGetResponse>) => {
10
10
  data: {
11
- projects: components["schemas"]["Contributions_RecommendedProject"][];
11
+ projects: {
12
+ imageUrl: string;
13
+ title: string;
14
+ keyword: string;
15
+ state: "new" | "successful" | "nextGoal" | "achieved" | "none";
16
+ fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "featuredSteady";
17
+ tagName: string;
18
+ fundingTypeNotation: string;
19
+ userImageUrl: string;
20
+ userFullName: string;
21
+ currentContributionCount: number;
22
+ currentContributionAmount: number;
23
+ expiryDateLabel: string;
24
+ expiryDateValue: string;
25
+ gaugeInfo: {
26
+ fundedPercent: number | null;
27
+ isStretchGoalDisplayed: boolean;
28
+ progressRate1st: number;
29
+ progressRate2st: number | null;
30
+ };
31
+ }[];
12
32
  } | undefined;
13
33
  error: any;
14
34
  mutate: swr.KeyedMutator<{
15
- projects: components["schemas"]["Contributions_RecommendedProject"][];
35
+ projects: {
36
+ imageUrl: string;
37
+ title: string;
38
+ keyword: string;
39
+ state: "new" | "successful" | "nextGoal" | "achieved" | "none";
40
+ fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "featuredSteady";
41
+ tagName: string;
42
+ fundingTypeNotation: string;
43
+ userImageUrl: string;
44
+ userFullName: string;
45
+ currentContributionCount: number;
46
+ currentContributionAmount: number;
47
+ expiryDateLabel: string;
48
+ expiryDateValue: string;
49
+ gaugeInfo: {
50
+ fundedPercent: number | null;
51
+ isStretchGoalDisplayed: boolean;
52
+ progressRate1st: number;
53
+ progressRate2st: number | null;
54
+ };
55
+ }[];
16
56
  }>;
17
57
  isValidating: boolean;
18
58
  isLoading: boolean;
@@ -20,11 +60,51 @@ declare const useV2ContributionsRecommendedProjects: (swrConfig?: Configuration<
20
60
  };
21
61
  declare const useV2ContributionsRecommendedProjectsImmutable: (swrConfig?: Configuration<V2ContributionsRecommendedProjectsGetResponse>) => {
22
62
  data: {
23
- projects: components["schemas"]["Contributions_RecommendedProject"][];
63
+ projects: {
64
+ imageUrl: string;
65
+ title: string;
66
+ keyword: string;
67
+ state: "new" | "successful" | "nextGoal" | "achieved" | "none";
68
+ fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "featuredSteady";
69
+ tagName: string;
70
+ fundingTypeNotation: string;
71
+ userImageUrl: string;
72
+ userFullName: string;
73
+ currentContributionCount: number;
74
+ currentContributionAmount: number;
75
+ expiryDateLabel: string;
76
+ expiryDateValue: string;
77
+ gaugeInfo: {
78
+ fundedPercent: number | null;
79
+ isStretchGoalDisplayed: boolean;
80
+ progressRate1st: number;
81
+ progressRate2st: number | null;
82
+ };
83
+ }[];
24
84
  } | undefined;
25
85
  error: any;
26
86
  mutate: swr.KeyedMutator<{
27
- projects: components["schemas"]["Contributions_RecommendedProject"][];
87
+ projects: {
88
+ imageUrl: string;
89
+ title: string;
90
+ keyword: string;
91
+ state: "new" | "successful" | "nextGoal" | "achieved" | "none";
92
+ fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "featuredSteady";
93
+ tagName: string;
94
+ fundingTypeNotation: string;
95
+ userImageUrl: string;
96
+ userFullName: string;
97
+ currentContributionCount: number;
98
+ currentContributionAmount: number;
99
+ expiryDateLabel: string;
100
+ expiryDateValue: string;
101
+ gaugeInfo: {
102
+ fundedPercent: number | null;
103
+ isStretchGoalDisplayed: boolean;
104
+ progressRate1st: number;
105
+ progressRate2st: number | null;
106
+ };
107
+ }[];
28
108
  }>;
29
109
  isValidating: boolean;
30
110
  isLoading: boolean;
@@ -1,18 +1,58 @@
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 { V2ContributionsRecommendedProjectsGetResponse } from '../fetch/v2ContributionsRecommendedProjects.js';
8
8
 
9
9
  declare const useV2ContributionsRecommendedProjects: (swrConfig?: Configuration<V2ContributionsRecommendedProjectsGetResponse>) => {
10
10
  data: {
11
- projects: components["schemas"]["Contributions_RecommendedProject"][];
11
+ projects: {
12
+ imageUrl: string;
13
+ title: string;
14
+ keyword: string;
15
+ state: "new" | "successful" | "nextGoal" | "achieved" | "none";
16
+ fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "featuredSteady";
17
+ tagName: string;
18
+ fundingTypeNotation: string;
19
+ userImageUrl: string;
20
+ userFullName: string;
21
+ currentContributionCount: number;
22
+ currentContributionAmount: number;
23
+ expiryDateLabel: string;
24
+ expiryDateValue: string;
25
+ gaugeInfo: {
26
+ fundedPercent: number | null;
27
+ isStretchGoalDisplayed: boolean;
28
+ progressRate1st: number;
29
+ progressRate2st: number | null;
30
+ };
31
+ }[];
12
32
  } | undefined;
13
33
  error: any;
14
34
  mutate: swr.KeyedMutator<{
15
- projects: components["schemas"]["Contributions_RecommendedProject"][];
35
+ projects: {
36
+ imageUrl: string;
37
+ title: string;
38
+ keyword: string;
39
+ state: "new" | "successful" | "nextGoal" | "achieved" | "none";
40
+ fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "featuredSteady";
41
+ tagName: string;
42
+ fundingTypeNotation: string;
43
+ userImageUrl: string;
44
+ userFullName: string;
45
+ currentContributionCount: number;
46
+ currentContributionAmount: number;
47
+ expiryDateLabel: string;
48
+ expiryDateValue: string;
49
+ gaugeInfo: {
50
+ fundedPercent: number | null;
51
+ isStretchGoalDisplayed: boolean;
52
+ progressRate1st: number;
53
+ progressRate2st: number | null;
54
+ };
55
+ }[];
16
56
  }>;
17
57
  isValidating: boolean;
18
58
  isLoading: boolean;
@@ -20,11 +60,51 @@ declare const useV2ContributionsRecommendedProjects: (swrConfig?: Configuration<
20
60
  };
21
61
  declare const useV2ContributionsRecommendedProjectsImmutable: (swrConfig?: Configuration<V2ContributionsRecommendedProjectsGetResponse>) => {
22
62
  data: {
23
- projects: components["schemas"]["Contributions_RecommendedProject"][];
63
+ projects: {
64
+ imageUrl: string;
65
+ title: string;
66
+ keyword: string;
67
+ state: "new" | "successful" | "nextGoal" | "achieved" | "none";
68
+ fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "featuredSteady";
69
+ tagName: string;
70
+ fundingTypeNotation: string;
71
+ userImageUrl: string;
72
+ userFullName: string;
73
+ currentContributionCount: number;
74
+ currentContributionAmount: number;
75
+ expiryDateLabel: string;
76
+ expiryDateValue: string;
77
+ gaugeInfo: {
78
+ fundedPercent: number | null;
79
+ isStretchGoalDisplayed: boolean;
80
+ progressRate1st: number;
81
+ progressRate2st: number | null;
82
+ };
83
+ }[];
24
84
  } | undefined;
25
85
  error: any;
26
86
  mutate: swr.KeyedMutator<{
27
- projects: components["schemas"]["Contributions_RecommendedProject"][];
87
+ projects: {
88
+ imageUrl: string;
89
+ title: string;
90
+ keyword: string;
91
+ state: "new" | "successful" | "nextGoal" | "achieved" | "none";
92
+ fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "featuredSteady";
93
+ tagName: string;
94
+ fundingTypeNotation: string;
95
+ userImageUrl: string;
96
+ userFullName: string;
97
+ currentContributionCount: number;
98
+ currentContributionAmount: number;
99
+ expiryDateLabel: string;
100
+ expiryDateValue: string;
101
+ gaugeInfo: {
102
+ fundedPercent: number | null;
103
+ isStretchGoalDisplayed: boolean;
104
+ progressRate1st: number;
105
+ progressRate2st: number | null;
106
+ };
107
+ }[];
28
108
  }>;
29
109
  isValidating: boolean;
30
110
  isLoading: boolean;
@@ -1,18 +1,24 @@
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 { V2ContributionsRecommendedTagsGetResponse } from '../fetch/v2ContributionsRecommendedTags.mjs';
8
8
 
9
9
  declare const useV2ContributionsRecommendedTags: (swrConfig?: Configuration<V2ContributionsRecommendedTagsGetResponse>) => {
10
10
  data: {
11
- tags: components["schemas"]["Contributions_RecommendedTag"][];
11
+ tags: {
12
+ name: string;
13
+ keyword: string;
14
+ }[];
12
15
  } | undefined;
13
16
  error: any;
14
17
  mutate: swr.KeyedMutator<{
15
- tags: components["schemas"]["Contributions_RecommendedTag"][];
18
+ tags: {
19
+ name: string;
20
+ keyword: string;
21
+ }[];
16
22
  }>;
17
23
  isValidating: boolean;
18
24
  isLoading: boolean;
@@ -20,11 +26,17 @@ declare const useV2ContributionsRecommendedTags: (swrConfig?: Configuration<V2Co
20
26
  };
21
27
  declare const useV2ContributionsRecommendedTagsImmutable: (swrConfig?: Configuration<V2ContributionsRecommendedTagsGetResponse>) => {
22
28
  data: {
23
- tags: components["schemas"]["Contributions_RecommendedTag"][];
29
+ tags: {
30
+ name: string;
31
+ keyword: string;
32
+ }[];
24
33
  } | undefined;
25
34
  error: any;
26
35
  mutate: swr.KeyedMutator<{
27
- tags: components["schemas"]["Contributions_RecommendedTag"][];
36
+ tags: {
37
+ name: string;
38
+ keyword: string;
39
+ }[];
28
40
  }>;
29
41
  isValidating: boolean;
30
42
  isLoading: boolean;
@@ -1,18 +1,24 @@
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 { V2ContributionsRecommendedTagsGetResponse } from '../fetch/v2ContributionsRecommendedTags.js';
8
8
 
9
9
  declare const useV2ContributionsRecommendedTags: (swrConfig?: Configuration<V2ContributionsRecommendedTagsGetResponse>) => {
10
10
  data: {
11
- tags: components["schemas"]["Contributions_RecommendedTag"][];
11
+ tags: {
12
+ name: string;
13
+ keyword: string;
14
+ }[];
12
15
  } | undefined;
13
16
  error: any;
14
17
  mutate: swr.KeyedMutator<{
15
- tags: components["schemas"]["Contributions_RecommendedTag"][];
18
+ tags: {
19
+ name: string;
20
+ keyword: string;
21
+ }[];
16
22
  }>;
17
23
  isValidating: boolean;
18
24
  isLoading: boolean;
@@ -20,11 +26,17 @@ declare const useV2ContributionsRecommendedTags: (swrConfig?: Configuration<V2Co
20
26
  };
21
27
  declare const useV2ContributionsRecommendedTagsImmutable: (swrConfig?: Configuration<V2ContributionsRecommendedTagsGetResponse>) => {
22
28
  data: {
23
- tags: components["schemas"]["Contributions_RecommendedTag"][];
29
+ tags: {
30
+ name: string;
31
+ keyword: string;
32
+ }[];
24
33
  } | undefined;
25
34
  error: any;
26
35
  mutate: swr.KeyedMutator<{
27
- tags: components["schemas"]["Contributions_RecommendedTag"][];
36
+ tags: {
37
+ name: string;
38
+ keyword: string;
39
+ }[];
28
40
  }>;
29
41
  isValidating: boolean;
30
42
  isLoading: boolean;