@readyfor/api-client-readyfor 1.31.1 → 1.33.0

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 (61) hide show
  1. package/dist/fetch/v1EngagementProjects.d.ts +1 -1
  2. package/dist/fetch/v1EngagementSearchProjects.d.ts +1 -1
  3. package/dist/fetch/v1EngagementTagsTagKeywordProjects.d.ts +1 -1
  4. package/dist/fetch/v1MyFundraisingAnnouncements.d.ts +1 -1
  5. package/dist/fetch/v1MyFundraisingAnnouncementsAnnouncementId.d.ts +1 -1
  6. package/dist/fetch/v1MyFundraisingAnnouncementsAnnouncementPostableProjects.d.ts +1 -1
  7. package/dist/fetch/v1MyFundraisingMessageRoomsMessageRoomIdMessages.d.ts +1 -1
  8. package/dist/fetch/v1MyFundraisingProjects.d.ts +1 -1
  9. package/dist/fetch/v1MyFundraisingProjectsProjectId.d.ts +1 -1
  10. package/dist/fetch/v1MyFundraisingProjectsProjectIdAnalysis.d.ts +1 -1
  11. package/dist/fetch/v1MyFundraisingProjectsProjectIdAnnouncements.d.ts +1 -1
  12. package/dist/fetch/v1MyFundraisingProjectsProjectIdFastPaymentApplication.d.ts +1 -1
  13. package/dist/fetch/v1MyFundraisingProjectsProjectIdPreview.d.ts +1 -1
  14. package/dist/fetch/v1MyFundraisingProjectsProjectIdPreviewShare.d.ts +1 -1
  15. package/dist/fetch/v1MyFundraisingTeams.d.ts +1 -1
  16. package/dist/fetch/v1MyFundraisingTeamsInvitationsValidate.d.ts +1 -1
  17. package/dist/fetch/v1MyFundraisingTeamsTeamIdMembers.d.ts +1 -1
  18. package/dist/fetch/v1MyProjectsProjectId.d.ts +1 -1
  19. package/dist/fetch/v1MyProjectsProjectIdConfirmations.d.ts +1 -1
  20. package/dist/fetch/v1MyProjectsProjectIdProjectFastPaymentApplication.d.ts +1 -1
  21. package/dist/hooks/useV1EngagementProjects.d.ts +1 -1
  22. package/dist/hooks/useV1EngagementSearchProjects.d.ts +1 -1
  23. package/dist/hooks/useV1EngagementTagsTagKeywordProjects.d.ts +1 -1
  24. package/dist/hooks/useV1MyFundraisingAnnouncements.d.ts +1 -1
  25. package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementId.d.ts +1 -1
  26. package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementPostableProjects.d.ts +1 -1
  27. package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomIdMessages.d.ts +1 -1
  28. package/dist/hooks/useV1MyFundraisingProjects.d.ts +1 -1
  29. package/dist/hooks/useV1MyFundraisingProjectsProjectId.d.ts +1 -1
  30. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysis.d.ts +1 -1
  31. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnnouncements.d.ts +1 -1
  32. package/dist/hooks/useV1MyFundraisingProjectsProjectIdFastPaymentApplication.d.ts +1 -1
  33. package/dist/hooks/useV1MyFundraisingProjectsProjectIdPreview.d.ts +1 -1
  34. package/dist/hooks/useV1MyFundraisingProjectsProjectIdPreviewShare.d.ts +1 -1
  35. package/dist/hooks/useV1MyFundraisingTeams.d.ts +1 -1
  36. package/dist/hooks/useV1MyFundraisingTeamsTeamIdMembers.d.ts +1 -1
  37. package/dist/hooks/useV1MyProjectsProjectId.d.ts +1 -1
  38. package/dist/hooks/useV1MyProjectsProjectIdConfirmations.d.ts +1 -1
  39. package/dist/hooks/useV1MyProjectsProjectIdProjectFastPaymentApplication.d.ts +1 -1
  40. package/dist/index.d.ts +20 -20
  41. package/dist/{v1EngagementProjects-Ck1Xh2We.d.ts → v1EngagementProjects-BJslKRNv.d.ts} +4 -4
  42. package/dist/{v1EngagementSearchProjects-zApw-Dz1.d.ts → v1EngagementSearchProjects-BAvXVePA.d.ts} +4 -4
  43. package/dist/{v1EngagementTagsTagKeywordProjects-DmgBgqI-.d.ts → v1EngagementTagsTagKeywordProjects-yvgRIkl9.d.ts} +4 -4
  44. package/dist/{v1MyFundraisingAnnouncements-Chrl_9s7.d.ts → v1MyFundraisingAnnouncements-DHUk3Jtu.d.ts} +14 -14
  45. package/dist/{v1MyFundraisingAnnouncementsAnnouncementId-C2STOUXZ.d.ts → v1MyFundraisingAnnouncementsAnnouncementId-BiQ9L_SV.d.ts} +4 -4
  46. package/dist/{v1MyFundraisingAnnouncementsAnnouncementPostableProjects-CAl7X4nS.d.ts → v1MyFundraisingAnnouncementsAnnouncementPostableProjects-C-iMirk0.d.ts} +2 -2
  47. package/dist/{v1MyFundraisingMessageRoomsMessageRoomIdMessages-ZhTXM-YJ.d.ts → v1MyFundraisingMessageRoomsMessageRoomIdMessages-CxA4082n.d.ts} +24 -24
  48. package/dist/{v1MyFundraisingProjects-ExguF6HR.d.ts → v1MyFundraisingProjects-C4LgDsu8.d.ts} +28 -28
  49. package/dist/{v1MyFundraisingProjectsProjectId-DMQ-P1Wl.d.ts → v1MyFundraisingProjectsProjectId-BE8BF8Yc.d.ts} +47 -47
  50. package/dist/{v1MyFundraisingProjectsProjectIdAnalysis-n-5AFra4.d.ts → v1MyFundraisingProjectsProjectIdAnalysis-DzRRw9xU.d.ts} +8 -8
  51. package/dist/{v1MyFundraisingProjectsProjectIdAnnouncements-BIJUpkCR.d.ts → v1MyFundraisingProjectsProjectIdAnnouncements-TvVrAUQQ.d.ts} +12 -12
  52. package/dist/{v1MyFundraisingProjectsProjectIdFastPaymentApplication-BL24Jjq1.d.ts → v1MyFundraisingProjectsProjectIdFastPaymentApplication-CkcumPfO.d.ts} +14 -14
  53. package/dist/{v1MyFundraisingProjectsProjectIdPreview-C-WWfezY.d.ts → v1MyFundraisingProjectsProjectIdPreview-BG-Kglk_.d.ts} +52 -52
  54. package/dist/{v1MyFundraisingProjectsProjectIdPreviewShare-BbkT4Dyn.d.ts → v1MyFundraisingProjectsProjectIdPreviewShare-AuZiYkbr.d.ts} +52 -52
  55. package/dist/{v1MyFundraisingTeams-DWVG8woX.d.ts → v1MyFundraisingTeams-B04Q8y1k.d.ts} +8 -8
  56. package/dist/{v1MyFundraisingTeamsInvitationsValidate-BV5CVdls.d.ts → v1MyFundraisingTeamsInvitationsValidate-DQZlr0RB.d.ts} +6 -6
  57. package/dist/{v1MyFundraisingTeamsTeamIdMembers-C-F4I9Yz.d.ts → v1MyFundraisingTeamsTeamIdMembers-CB7NoyjS.d.ts} +15 -15
  58. package/dist/{v1MyProjectsProjectId-CS80CZrG.d.ts → v1MyProjectsProjectId-Cr5w8kb_.d.ts} +8 -8
  59. package/dist/{v1MyProjectsProjectIdConfirmations-DuoiuNbK.d.ts → v1MyProjectsProjectIdConfirmations-CIEgk5Jb.d.ts} +2 -2
  60. package/dist/{v1MyProjectsProjectIdProjectFastPaymentApplication-CnGn6te6.d.ts → v1MyProjectsProjectIdProjectFastPaymentApplication-CEV1Y_7r.d.ts} +4 -4
  61. package/package.json +3 -3
@@ -10,7 +10,7 @@ declare const buildV1MyFundraisingProjectsProjectIdPreviewGetFetcher: (requestIn
10
10
  title: string | null;
11
11
  keyword: string;
12
12
  amount: number;
13
- state: "new" | "successful" | "unsuccessful" | "suspended" | "scheduled" | "open" | "counting" | "veiled" | "prepared" | "editable" | "reviewing";
13
+ state: "prepared" | "open" | "scheduled" | "counting" | "unsuccessful" | "successful" | "suspended" | "veiled" | "new" | "editable" | "reviewing";
14
14
  publishedAt: string | null;
15
15
  projectType: "normal" | "charity" | "emergency" | "furusatoTax";
16
16
  topImages: {
@@ -61,22 +61,16 @@ declare const buildV1MyFundraisingProjectsProjectIdPreviewGetFetcher: (requestIn
61
61
  announcementsCount: number;
62
62
  commentsCount: number;
63
63
  } & {
64
- __type: "Spot";
65
- fundingModel: "allOrNothing" | "keepItAll";
66
- goalPrice: number | null;
67
- fundedPercent: number | null;
68
- stretchGoal: {
69
- active: boolean;
70
- currentGoalPrice?: number | undefined;
71
- progress?: number | undefined;
72
- };
73
- expiredAt: string | null;
74
- expireAfterDays: number | null;
75
- countingAt: string | null;
76
- daysUntilExpiration: number | null;
77
- completionDate: string | null;
64
+ __type: "Steady";
65
+ fundingModel: "regularSteady";
66
+ numberOfMonthlySupporters: number;
67
+ totalNumberOfSupporters: number;
68
+ hasContributingCourse: boolean;
69
+ activityStartDate: string | null;
70
+ corporationEstablishmentDate: string | null;
71
+ numberOfStaffMembers: string | null;
78
72
  precautionInfo: {
79
- descriptionAndPurpose: string;
73
+ activitySummary: string;
80
74
  riskAndChallenge: {
81
75
  title: string;
82
76
  description: string | null;
@@ -87,7 +81,7 @@ declare const buildV1MyFundraisingProjectsProjectIdPreviewGetFetcher: (requestIn
87
81
  title: string | null;
88
82
  keyword: string;
89
83
  amount: number;
90
- state: "new" | "successful" | "unsuccessful" | "suspended" | "scheduled" | "open" | "counting" | "veiled" | "prepared" | "editable" | "reviewing";
84
+ state: "prepared" | "open" | "scheduled" | "counting" | "unsuccessful" | "successful" | "suspended" | "veiled" | "new" | "editable" | "reviewing";
91
85
  publishedAt: string | null;
92
86
  projectType: "normal" | "charity" | "emergency" | "furusatoTax";
93
87
  topImages: {
@@ -138,16 +132,22 @@ declare const buildV1MyFundraisingProjectsProjectIdPreviewGetFetcher: (requestIn
138
132
  announcementsCount: number;
139
133
  commentsCount: number;
140
134
  } & {
141
- __type: "Steady";
142
- fundingModel: "regularSteady";
143
- numberOfMonthlySupporters: number;
144
- totalNumberOfSupporters: number;
145
- hasContributingCourse: boolean;
146
- activityStartDate: string | null;
147
- corporationEstablishmentDate: string | null;
148
- numberOfStaffMembers: string | null;
135
+ __type: "Spot";
136
+ fundingModel: "allOrNothing" | "keepItAll";
137
+ goalPrice: number | null;
138
+ fundedPercent: number | null;
139
+ stretchGoal: {
140
+ active: boolean;
141
+ currentGoalPrice?: number | undefined;
142
+ progress?: number | undefined;
143
+ };
144
+ expiredAt: string | null;
145
+ expireAfterDays: number | null;
146
+ countingAt: string | null;
147
+ daysUntilExpiration: number | null;
148
+ completionDate: string | null;
149
149
  precautionInfo: {
150
- activitySummary: string;
150
+ descriptionAndPurpose: string;
151
151
  riskAndChallenge: {
152
152
  title: string;
153
153
  description: string | null;
@@ -164,7 +164,7 @@ declare const getV1MyFundraisingProjectsProjectIdPreview: (path: V1MyFundraising
164
164
  title: string | null;
165
165
  keyword: string;
166
166
  amount: number;
167
- state: "new" | "successful" | "unsuccessful" | "suspended" | "scheduled" | "open" | "counting" | "veiled" | "prepared" | "editable" | "reviewing";
167
+ state: "prepared" | "open" | "scheduled" | "counting" | "unsuccessful" | "successful" | "suspended" | "veiled" | "new" | "editable" | "reviewing";
168
168
  publishedAt: string | null;
169
169
  projectType: "normal" | "charity" | "emergency" | "furusatoTax";
170
170
  topImages: {
@@ -215,22 +215,16 @@ declare const getV1MyFundraisingProjectsProjectIdPreview: (path: V1MyFundraising
215
215
  announcementsCount: number;
216
216
  commentsCount: number;
217
217
  } & {
218
- __type: "Spot";
219
- fundingModel: "allOrNothing" | "keepItAll";
220
- goalPrice: number | null;
221
- fundedPercent: number | null;
222
- stretchGoal: {
223
- active: boolean;
224
- currentGoalPrice?: number | undefined;
225
- progress?: number | undefined;
226
- };
227
- expiredAt: string | null;
228
- expireAfterDays: number | null;
229
- countingAt: string | null;
230
- daysUntilExpiration: number | null;
231
- completionDate: string | null;
218
+ __type: "Steady";
219
+ fundingModel: "regularSteady";
220
+ numberOfMonthlySupporters: number;
221
+ totalNumberOfSupporters: number;
222
+ hasContributingCourse: boolean;
223
+ activityStartDate: string | null;
224
+ corporationEstablishmentDate: string | null;
225
+ numberOfStaffMembers: string | null;
232
226
  precautionInfo: {
233
- descriptionAndPurpose: string;
227
+ activitySummary: string;
234
228
  riskAndChallenge: {
235
229
  title: string;
236
230
  description: string | null;
@@ -241,7 +235,7 @@ declare const getV1MyFundraisingProjectsProjectIdPreview: (path: V1MyFundraising
241
235
  title: string | null;
242
236
  keyword: string;
243
237
  amount: number;
244
- state: "new" | "successful" | "unsuccessful" | "suspended" | "scheduled" | "open" | "counting" | "veiled" | "prepared" | "editable" | "reviewing";
238
+ state: "prepared" | "open" | "scheduled" | "counting" | "unsuccessful" | "successful" | "suspended" | "veiled" | "new" | "editable" | "reviewing";
245
239
  publishedAt: string | null;
246
240
  projectType: "normal" | "charity" | "emergency" | "furusatoTax";
247
241
  topImages: {
@@ -292,16 +286,22 @@ declare const getV1MyFundraisingProjectsProjectIdPreview: (path: V1MyFundraising
292
286
  announcementsCount: number;
293
287
  commentsCount: number;
294
288
  } & {
295
- __type: "Steady";
296
- fundingModel: "regularSteady";
297
- numberOfMonthlySupporters: number;
298
- totalNumberOfSupporters: number;
299
- hasContributingCourse: boolean;
300
- activityStartDate: string | null;
301
- corporationEstablishmentDate: string | null;
302
- numberOfStaffMembers: string | null;
289
+ __type: "Spot";
290
+ fundingModel: "allOrNothing" | "keepItAll";
291
+ goalPrice: number | null;
292
+ fundedPercent: number | null;
293
+ stretchGoal: {
294
+ active: boolean;
295
+ currentGoalPrice?: number | undefined;
296
+ progress?: number | undefined;
297
+ };
298
+ expiredAt: string | null;
299
+ expireAfterDays: number | null;
300
+ countingAt: string | null;
301
+ daysUntilExpiration: number | null;
302
+ completionDate: string | null;
303
303
  precautionInfo: {
304
- activitySummary: string;
304
+ descriptionAndPurpose: string;
305
305
  riskAndChallenge: {
306
306
  title: string;
307
307
  description: string | null;
@@ -10,7 +10,7 @@ declare const buildV1MyFundraisingProjectsProjectIdPreviewShareGetFetcher: (requ
10
10
  title: string | null;
11
11
  keyword: string;
12
12
  amount: number;
13
- state: "new" | "successful" | "unsuccessful" | "suspended" | "scheduled" | "open" | "counting" | "veiled" | "prepared" | "editable" | "reviewing";
13
+ state: "prepared" | "open" | "scheduled" | "counting" | "unsuccessful" | "successful" | "suspended" | "veiled" | "new" | "editable" | "reviewing";
14
14
  publishedAt: string | null;
15
15
  projectType: "normal" | "charity" | "emergency" | "furusatoTax";
16
16
  topImages: {
@@ -61,22 +61,16 @@ declare const buildV1MyFundraisingProjectsProjectIdPreviewShareGetFetcher: (requ
61
61
  announcementsCount: number;
62
62
  commentsCount: number;
63
63
  } & {
64
- __type: "Spot";
65
- fundingModel: "allOrNothing" | "keepItAll";
66
- goalPrice: number | null;
67
- fundedPercent: number | null;
68
- stretchGoal: {
69
- active: boolean;
70
- currentGoalPrice?: number | undefined;
71
- progress?: number | undefined;
72
- };
73
- expiredAt: string | null;
74
- expireAfterDays: number | null;
75
- countingAt: string | null;
76
- daysUntilExpiration: number | null;
77
- completionDate: string | null;
64
+ __type: "Steady";
65
+ fundingModel: "regularSteady";
66
+ numberOfMonthlySupporters: number;
67
+ totalNumberOfSupporters: number;
68
+ hasContributingCourse: boolean;
69
+ activityStartDate: string | null;
70
+ corporationEstablishmentDate: string | null;
71
+ numberOfStaffMembers: string | null;
78
72
  precautionInfo: {
79
- descriptionAndPurpose: string;
73
+ activitySummary: string;
80
74
  riskAndChallenge: {
81
75
  title: string;
82
76
  description: string | null;
@@ -87,7 +81,7 @@ declare const buildV1MyFundraisingProjectsProjectIdPreviewShareGetFetcher: (requ
87
81
  title: string | null;
88
82
  keyword: string;
89
83
  amount: number;
90
- state: "new" | "successful" | "unsuccessful" | "suspended" | "scheduled" | "open" | "counting" | "veiled" | "prepared" | "editable" | "reviewing";
84
+ state: "prepared" | "open" | "scheduled" | "counting" | "unsuccessful" | "successful" | "suspended" | "veiled" | "new" | "editable" | "reviewing";
91
85
  publishedAt: string | null;
92
86
  projectType: "normal" | "charity" | "emergency" | "furusatoTax";
93
87
  topImages: {
@@ -138,16 +132,22 @@ declare const buildV1MyFundraisingProjectsProjectIdPreviewShareGetFetcher: (requ
138
132
  announcementsCount: number;
139
133
  commentsCount: number;
140
134
  } & {
141
- __type: "Steady";
142
- fundingModel: "regularSteady";
143
- numberOfMonthlySupporters: number;
144
- totalNumberOfSupporters: number;
145
- hasContributingCourse: boolean;
146
- activityStartDate: string | null;
147
- corporationEstablishmentDate: string | null;
148
- numberOfStaffMembers: string | null;
135
+ __type: "Spot";
136
+ fundingModel: "allOrNothing" | "keepItAll";
137
+ goalPrice: number | null;
138
+ fundedPercent: number | null;
139
+ stretchGoal: {
140
+ active: boolean;
141
+ currentGoalPrice?: number | undefined;
142
+ progress?: number | undefined;
143
+ };
144
+ expiredAt: string | null;
145
+ expireAfterDays: number | null;
146
+ countingAt: string | null;
147
+ daysUntilExpiration: number | null;
148
+ completionDate: string | null;
149
149
  precautionInfo: {
150
- activitySummary: string;
150
+ descriptionAndPurpose: string;
151
151
  riskAndChallenge: {
152
152
  title: string;
153
153
  description: string | null;
@@ -163,7 +163,7 @@ declare const getV1MyFundraisingProjectsProjectIdPreviewShare: (path: V1MyFundra
163
163
  title: string | null;
164
164
  keyword: string;
165
165
  amount: number;
166
- state: "new" | "successful" | "unsuccessful" | "suspended" | "scheduled" | "open" | "counting" | "veiled" | "prepared" | "editable" | "reviewing";
166
+ state: "prepared" | "open" | "scheduled" | "counting" | "unsuccessful" | "successful" | "suspended" | "veiled" | "new" | "editable" | "reviewing";
167
167
  publishedAt: string | null;
168
168
  projectType: "normal" | "charity" | "emergency" | "furusatoTax";
169
169
  topImages: {
@@ -214,22 +214,16 @@ declare const getV1MyFundraisingProjectsProjectIdPreviewShare: (path: V1MyFundra
214
214
  announcementsCount: number;
215
215
  commentsCount: number;
216
216
  } & {
217
- __type: "Spot";
218
- fundingModel: "allOrNothing" | "keepItAll";
219
- goalPrice: number | null;
220
- fundedPercent: number | null;
221
- stretchGoal: {
222
- active: boolean;
223
- currentGoalPrice?: number | undefined;
224
- progress?: number | undefined;
225
- };
226
- expiredAt: string | null;
227
- expireAfterDays: number | null;
228
- countingAt: string | null;
229
- daysUntilExpiration: number | null;
230
- completionDate: string | null;
217
+ __type: "Steady";
218
+ fundingModel: "regularSteady";
219
+ numberOfMonthlySupporters: number;
220
+ totalNumberOfSupporters: number;
221
+ hasContributingCourse: boolean;
222
+ activityStartDate: string | null;
223
+ corporationEstablishmentDate: string | null;
224
+ numberOfStaffMembers: string | null;
231
225
  precautionInfo: {
232
- descriptionAndPurpose: string;
226
+ activitySummary: string;
233
227
  riskAndChallenge: {
234
228
  title: string;
235
229
  description: string | null;
@@ -240,7 +234,7 @@ declare const getV1MyFundraisingProjectsProjectIdPreviewShare: (path: V1MyFundra
240
234
  title: string | null;
241
235
  keyword: string;
242
236
  amount: number;
243
- state: "new" | "successful" | "unsuccessful" | "suspended" | "scheduled" | "open" | "counting" | "veiled" | "prepared" | "editable" | "reviewing";
237
+ state: "prepared" | "open" | "scheduled" | "counting" | "unsuccessful" | "successful" | "suspended" | "veiled" | "new" | "editable" | "reviewing";
244
238
  publishedAt: string | null;
245
239
  projectType: "normal" | "charity" | "emergency" | "furusatoTax";
246
240
  topImages: {
@@ -291,16 +285,22 @@ declare const getV1MyFundraisingProjectsProjectIdPreviewShare: (path: V1MyFundra
291
285
  announcementsCount: number;
292
286
  commentsCount: number;
293
287
  } & {
294
- __type: "Steady";
295
- fundingModel: "regularSteady";
296
- numberOfMonthlySupporters: number;
297
- totalNumberOfSupporters: number;
298
- hasContributingCourse: boolean;
299
- activityStartDate: string | null;
300
- corporationEstablishmentDate: string | null;
301
- numberOfStaffMembers: string | null;
288
+ __type: "Spot";
289
+ fundingModel: "allOrNothing" | "keepItAll";
290
+ goalPrice: number | null;
291
+ fundedPercent: number | null;
292
+ stretchGoal: {
293
+ active: boolean;
294
+ currentGoalPrice?: number | undefined;
295
+ progress?: number | undefined;
296
+ };
297
+ expiredAt: string | null;
298
+ expireAfterDays: number | null;
299
+ countingAt: string | null;
300
+ daysUntilExpiration: number | null;
301
+ completionDate: string | null;
302
302
  precautionInfo: {
303
- activitySummary: string;
303
+ descriptionAndPurpose: string;
304
304
  riskAndChallenge: {
305
305
  title: string;
306
306
  description: string | null;
@@ -5,31 +5,31 @@ type V1MyFundraisingTeamsGetOperation = paths["/api/v1/my/fundraising/teams"]["g
5
5
  type V1MyFundraisingTeamsGetResponse = V1MyFundraisingTeamsGetOperation["responses"]["200"]["content"]["application/json"];
6
6
  declare const buildV1MyFundraisingTeamsGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
7
7
  teams: ({
8
- __type: "Team";
9
- teamId: number;
8
+ __type: "Individual";
10
9
  avatarUrl: string;
11
10
  name: string;
12
- role: "owner" | "adminMember" | "member";
13
11
  hasUnreadMessage: boolean;
14
12
  } | {
15
- __type: "Individual";
13
+ __type: "Team";
14
+ teamId: number;
16
15
  avatarUrl: string;
17
16
  name: string;
17
+ role: "owner" | "adminMember" | "member";
18
18
  hasUnreadMessage: boolean;
19
19
  })[];
20
20
  }>;
21
21
  declare const getV1MyFundraisingTeams: (customRequestInit?: RequestInit) => Promise<{
22
22
  teams: ({
23
- __type: "Team";
24
- teamId: number;
23
+ __type: "Individual";
25
24
  avatarUrl: string;
26
25
  name: string;
27
- role: "owner" | "adminMember" | "member";
28
26
  hasUnreadMessage: boolean;
29
27
  } | {
30
- __type: "Individual";
28
+ __type: "Team";
29
+ teamId: number;
31
30
  avatarUrl: string;
32
31
  name: string;
32
+ role: "owner" | "adminMember" | "member";
33
33
  hasUnreadMessage: boolean;
34
34
  })[];
35
35
  }>;
@@ -6,23 +6,23 @@ type V1MyFundraisingTeamsInvitationsValidatePostOperation = paths["/api/v1/my/fu
6
6
  type V1MyFundraisingTeamsInvitationsValidatePostResponse = V1MyFundraisingTeamsInvitationsValidatePostOperation["responses"]["200"]["content"]["application/json"];
7
7
  declare const buildV1MyFundraisingTeamsInvitationsValidatePostFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
8
8
  results: ({
9
- email: string;
10
- __type: "TeamsInvitationValidationValidEmailResult";
11
- } | {
12
9
  email: string;
13
10
  __type: "TeamsInvitationValidationInvalidEmailResult";
14
11
  reason: string;
12
+ } | {
13
+ email: string;
14
+ __type: "TeamsInvitationValidationValidEmailResult";
15
15
  })[];
16
16
  }>;
17
17
  type V1MyFundraisingTeamsInvitationsValidatePostRequestBody = ForceDig<V1MyFundraisingTeamsInvitationsValidatePostOperation, ["requestBody", "content", "application/json"]>;
18
18
  declare const postV1MyFundraisingTeamsInvitationsValidate: (requestBody: V1MyFundraisingTeamsInvitationsValidatePostRequestBody, customRequestInit?: RequestInit) => Promise<{
19
19
  results: ({
20
- email: string;
21
- __type: "TeamsInvitationValidationValidEmailResult";
22
- } | {
23
20
  email: string;
24
21
  __type: "TeamsInvitationValidationInvalidEmailResult";
25
22
  reason: string;
23
+ } | {
24
+ email: string;
25
+ __type: "TeamsInvitationValidationValidEmailResult";
26
26
  })[];
27
27
  }>;
28
28
  //#endregion
@@ -6,6 +6,15 @@ type V1MyFundraisingTeamsTeamIdMembersGetOperation = paths["/api/v1/my/fundraisi
6
6
  type V1MyFundraisingTeamsTeamIdMembersGetResponse = V1MyFundraisingTeamsTeamIdMembersGetOperation["responses"]["200"]["content"]["application/json"];
7
7
  declare const buildV1MyFundraisingTeamsTeamIdMembersGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
8
8
  users: ({
9
+ __type: "InvitingUser";
10
+ teamInvitationId: number;
11
+ email: string | null;
12
+ role: "owner" | "adminMember" | "member";
13
+ twoFactorAuthenticationEnabled: boolean;
14
+ isExpired: boolean;
15
+ canResend: boolean;
16
+ canCancel: boolean;
17
+ } | {
9
18
  __type: "TeamMember";
10
19
  teamMemberId: number;
11
20
  userId: number;
@@ -17,7 +26,11 @@ declare const buildV1MyFundraisingTeamsTeamIdMembersGetFetcher: (requestInit?: R
17
26
  canRemove: boolean;
18
27
  canLeave: boolean;
19
28
  canChangeRole: boolean;
20
- } | {
29
+ })[];
30
+ }>;
31
+ type V1MyFundraisingTeamsTeamIdMembersGetPath = ForceDig<V1MyFundraisingTeamsTeamIdMembersGetOperation, ["parameters", "path"]>;
32
+ declare const getV1MyFundraisingTeamsTeamIdMembers: (path: V1MyFundraisingTeamsTeamIdMembersGetPath, customRequestInit?: RequestInit) => Promise<{
33
+ users: ({
21
34
  __type: "InvitingUser";
22
35
  teamInvitationId: number;
23
36
  email: string | null;
@@ -26,11 +39,7 @@ declare const buildV1MyFundraisingTeamsTeamIdMembersGetFetcher: (requestInit?: R
26
39
  isExpired: boolean;
27
40
  canResend: boolean;
28
41
  canCancel: boolean;
29
- })[];
30
- }>;
31
- type V1MyFundraisingTeamsTeamIdMembersGetPath = ForceDig<V1MyFundraisingTeamsTeamIdMembersGetOperation, ["parameters", "path"]>;
32
- declare const getV1MyFundraisingTeamsTeamIdMembers: (path: V1MyFundraisingTeamsTeamIdMembersGetPath, customRequestInit?: RequestInit) => Promise<{
33
- users: ({
42
+ } | {
34
43
  __type: "TeamMember";
35
44
  teamMemberId: number;
36
45
  userId: number;
@@ -42,15 +51,6 @@ declare const getV1MyFundraisingTeamsTeamIdMembers: (path: V1MyFundraisingTeamsT
42
51
  canRemove: boolean;
43
52
  canLeave: boolean;
44
53
  canChangeRole: boolean;
45
- } | {
46
- __type: "InvitingUser";
47
- teamInvitationId: number;
48
- email: string | null;
49
- role: "owner" | "adminMember" | "member";
50
- twoFactorAuthenticationEnabled: boolean;
51
- isExpired: boolean;
52
- canResend: boolean;
53
- canCancel: boolean;
54
54
  })[];
55
55
  }>;
56
56
  //#endregion
@@ -10,7 +10,7 @@ declare const buildV1MyProjectsProjectIdGetFetcher: (requestInit?: RequestInit)
10
10
  keyword: string;
11
11
  selectedTagIds: number[];
12
12
  state: {
13
- name: "new" | "successful" | "unsuccessful" | "suspended" | "scheduled" | "open" | "counting" | "veiled" | "prepared" | "editable" | "reviewing";
13
+ name: "prepared" | "open" | "scheduled" | "counting" | "unsuccessful" | "successful" | "suspended" | "veiled" | "new" | "editable" | "reviewing";
14
14
  code: 0 | 10 | 20 | 30 | 31 | 40 | 50 | 60 | 70 | 80 | 90;
15
15
  };
16
16
  hasReviewingRequest: boolean;
@@ -19,7 +19,7 @@ declare const buildV1MyProjectsProjectIdGetFetcher: (requestInit?: RequestInit)
19
19
  shouldShowSupportChat: boolean;
20
20
  plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady" | "fullSupportPlus";
21
21
  firstTime: boolean;
22
- fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "permanentSupport";
22
+ fundingModel: "regularSteady" | "allOrNothing" | "keepItAll" | "permanentSupport";
23
23
  version: number;
24
24
  ownerEditable: boolean;
25
25
  userId: number;
@@ -63,7 +63,7 @@ declare const getV1MyProjectsProjectId: (path: V1MyProjectsProjectIdGetPath, cus
63
63
  keyword: string;
64
64
  selectedTagIds: number[];
65
65
  state: {
66
- name: "new" | "successful" | "unsuccessful" | "suspended" | "scheduled" | "open" | "counting" | "veiled" | "prepared" | "editable" | "reviewing";
66
+ name: "prepared" | "open" | "scheduled" | "counting" | "unsuccessful" | "successful" | "suspended" | "veiled" | "new" | "editable" | "reviewing";
67
67
  code: 0 | 10 | 20 | 30 | 31 | 40 | 50 | 60 | 70 | 80 | 90;
68
68
  };
69
69
  hasReviewingRequest: boolean;
@@ -72,7 +72,7 @@ declare const getV1MyProjectsProjectId: (path: V1MyProjectsProjectIdGetPath, cus
72
72
  shouldShowSupportChat: boolean;
73
73
  plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady" | "fullSupportPlus";
74
74
  firstTime: boolean;
75
- fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "permanentSupport";
75
+ fundingModel: "regularSteady" | "allOrNothing" | "keepItAll" | "permanentSupport";
76
76
  version: number;
77
77
  ownerEditable: boolean;
78
78
  userId: number;
@@ -117,7 +117,7 @@ declare const buildV1MyProjectsProjectIdPatchFetcher: (requestInit?: RequestInit
117
117
  keyword: string;
118
118
  selectedTagIds: number[];
119
119
  state: {
120
- name: "new" | "successful" | "unsuccessful" | "suspended" | "scheduled" | "open" | "counting" | "veiled" | "prepared" | "editable" | "reviewing";
120
+ name: "prepared" | "open" | "scheduled" | "counting" | "unsuccessful" | "successful" | "suspended" | "veiled" | "new" | "editable" | "reviewing";
121
121
  code: 0 | 10 | 20 | 30 | 31 | 40 | 50 | 60 | 70 | 80 | 90;
122
122
  };
123
123
  hasReviewingRequest: boolean;
@@ -126,7 +126,7 @@ declare const buildV1MyProjectsProjectIdPatchFetcher: (requestInit?: RequestInit
126
126
  shouldShowSupportChat: boolean;
127
127
  plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady" | "fullSupportPlus";
128
128
  firstTime: boolean;
129
- fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "permanentSupport";
129
+ fundingModel: "regularSteady" | "allOrNothing" | "keepItAll" | "permanentSupport";
130
130
  version: number;
131
131
  ownerEditable: boolean;
132
132
  userId: number;
@@ -171,7 +171,7 @@ declare const patchV1MyProjectsProjectId: (path: V1MyProjectsProjectIdPatchPath,
171
171
  keyword: string;
172
172
  selectedTagIds: number[];
173
173
  state: {
174
- name: "new" | "successful" | "unsuccessful" | "suspended" | "scheduled" | "open" | "counting" | "veiled" | "prepared" | "editable" | "reviewing";
174
+ name: "prepared" | "open" | "scheduled" | "counting" | "unsuccessful" | "successful" | "suspended" | "veiled" | "new" | "editable" | "reviewing";
175
175
  code: 0 | 10 | 20 | 30 | 31 | 40 | 50 | 60 | 70 | 80 | 90;
176
176
  };
177
177
  hasReviewingRequest: boolean;
@@ -180,7 +180,7 @@ declare const patchV1MyProjectsProjectId: (path: V1MyProjectsProjectIdPatchPath,
180
180
  shouldShowSupportChat: boolean;
181
181
  plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady" | "fullSupportPlus";
182
182
  firstTime: boolean;
183
- fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "permanentSupport";
183
+ fundingModel: "regularSteady" | "allOrNothing" | "keepItAll" | "permanentSupport";
184
184
  version: number;
185
185
  ownerEditable: boolean;
186
186
  userId: number;
@@ -9,7 +9,7 @@ declare const buildV1MyProjectsProjectIdConfirmationsGetFetcher: (requestInit?:
9
9
  displayPlanName: string;
10
10
  commission: string;
11
11
  commissionRate: number;
12
- fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "permanentSupport";
12
+ fundingModel: "regularSteady" | "allOrNothing" | "keepItAll" | "permanentSupport";
13
13
  isDonationProject: boolean;
14
14
  isPartnershipProject: boolean;
15
15
  canApply: boolean;
@@ -25,7 +25,7 @@ declare const getV1MyProjectsProjectIdConfirmations: (path: V1MyProjectsProjectI
25
25
  displayPlanName: string;
26
26
  commission: string;
27
27
  commissionRate: number;
28
- fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "permanentSupport";
28
+ fundingModel: "regularSteady" | "allOrNothing" | "keepItAll" | "permanentSupport";
29
29
  isDonationProject: boolean;
30
30
  isPartnershipProject: boolean;
31
31
  canApply: boolean;
@@ -7,7 +7,7 @@ type V1MyProjectsProjectIdProjectFastPaymentApplicationGetResponse = V1MyProject
7
7
  declare const buildV1MyProjectsProjectIdProjectFastPaymentApplicationGetFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
8
8
  projectFastPaymentApplication?: {
9
9
  fastPayment?: boolean | undefined;
10
- fastPaymentStatus?: "requesting" | "notRequested" | "approved" | undefined;
10
+ fastPaymentStatus?: "notRequested" | "requesting" | "approved" | undefined;
11
11
  } | undefined;
12
12
  progressRates?: {
13
13
  total: number;
@@ -24,7 +24,7 @@ type V1MyProjectsProjectIdProjectFastPaymentApplicationGetPath = ForceDig<V1MyPr
24
24
  declare const getV1MyProjectsProjectIdProjectFastPaymentApplication: (path: V1MyProjectsProjectIdProjectFastPaymentApplicationGetPath, customRequestInit?: RequestInit) => Promise<{
25
25
  projectFastPaymentApplication?: {
26
26
  fastPayment?: boolean | undefined;
27
- fastPaymentStatus?: "requesting" | "notRequested" | "approved" | undefined;
27
+ fastPaymentStatus?: "notRequested" | "requesting" | "approved" | undefined;
28
28
  } | undefined;
29
29
  progressRates?: {
30
30
  total: number;
@@ -42,7 +42,7 @@ type V1MyProjectsProjectIdProjectFastPaymentApplicationPatchResponse = V1MyProje
42
42
  declare const buildV1MyProjectsProjectIdProjectFastPaymentApplicationPatchFetcher: (requestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
43
43
  projectFastPaymentApplication?: {
44
44
  fastPayment?: boolean | undefined;
45
- fastPaymentStatus?: "requesting" | "notRequested" | "approved" | undefined;
45
+ fastPaymentStatus?: "notRequested" | "requesting" | "approved" | undefined;
46
46
  } | undefined;
47
47
  progressRates?: {
48
48
  total: number;
@@ -60,7 +60,7 @@ type V1MyProjectsProjectIdProjectFastPaymentApplicationPatchRequestBody = ForceD
60
60
  declare const patchV1MyProjectsProjectIdProjectFastPaymentApplication: (path: V1MyProjectsProjectIdProjectFastPaymentApplicationPatchPath, requestBody: V1MyProjectsProjectIdProjectFastPaymentApplicationPatchRequestBody, customRequestInit?: RequestInit) => Promise<{
61
61
  projectFastPaymentApplication?: {
62
62
  fastPayment?: boolean | undefined;
63
- fastPaymentStatus?: "requesting" | "notRequested" | "approved" | undefined;
63
+ fastPaymentStatus?: "notRequested" | "requesting" | "approved" | undefined;
64
64
  } | undefined;
65
65
  progressRates?: {
66
66
  total: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@readyfor/api-client-readyfor",
3
- "version": "1.31.1",
3
+ "version": "1.33.0",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -36,7 +36,7 @@
36
36
  "swr": "2.4.1",
37
37
  "use-sync-external-store": "1.6.0",
38
38
  "zod": "^4.3.6",
39
- "@readyfor/api-client-base": "1.31.1"
39
+ "@readyfor/api-client-base": "1.33.0"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "qs": "^6",
@@ -44,7 +44,7 @@
44
44
  "swr": "^2.3.3",
45
45
  "use-sync-external-store": "^1.2.2",
46
46
  "zod": "^4",
47
- "@readyfor/api-client-base": "1.31.1"
47
+ "@readyfor/api-client-base": "1.33.0"
48
48
  },
49
49
  "peerDependenciesMeta": {
50
50
  "react": {