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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +9 -145
  8. package/dist/hooks/useV1EngagementProjects.d.ts +9 -145
  9. package/dist/hooks/useV1EngagementSearchProjects.d.mts +9 -145
  10. package/dist/hooks/useV1EngagementSearchProjects.d.ts +9 -145
  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 +9 -25
  14. package/dist/hooks/useV1EngagementTagsTagKeyword.d.ts +9 -25
  15. package/dist/hooks/useV1EngagementTagsTagKeywordProjects.d.mts +9 -145
  16. package/dist/hooks/useV1EngagementTagsTagKeywordProjects.d.ts +9 -145
  17. package/dist/hooks/useV1MyBulkMessages.d.mts +5 -29
  18. package/dist/hooks/useV1MyBulkMessages.d.ts +5 -29
  19. package/dist/hooks/useV1MyBulkMessagesBulkMessageId.d.mts +5 -29
  20. package/dist/hooks/useV1MyBulkMessagesBulkMessageId.d.ts +5 -29
  21. package/dist/hooks/useV1MyBulkMessagesBulkMessageIdToUsers.d.mts +5 -21
  22. package/dist/hooks/useV1MyBulkMessagesBulkMessageIdToUsers.d.ts +5 -21
  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 +9 -189
  26. package/dist/hooks/useV1MyFundraisingAnnouncements.d.ts +9 -189
  27. package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementId.d.mts +21 -33
  28. package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementId.d.ts +21 -33
  29. package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementPostableProjects.d.mts +5 -21
  30. package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementPostableProjects.d.ts +5 -21
  31. package/dist/hooks/useV1MyFundraisingBulkMessages.d.mts +9 -69
  32. package/dist/hooks/useV1MyFundraisingBulkMessages.d.ts +9 -69
  33. package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageId.d.mts +5 -29
  34. package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageId.d.ts +5 -29
  35. package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers.d.mts +9 -77
  36. package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers.d.ts +9 -77
  37. package/dist/hooks/useV1MyFundraisingHeader.d.mts +13 -21
  38. package/dist/hooks/useV1MyFundraisingHeader.d.ts +13 -21
  39. package/dist/hooks/useV1MyFundraisingMessageRooms.d.mts +5 -41
  40. package/dist/hooks/useV1MyFundraisingMessageRooms.d.ts +5 -41
  41. package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomId.d.mts +5 -41
  42. package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomId.d.ts +5 -41
  43. package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomIdMessages.d.mts +5 -89
  44. package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomIdMessages.d.ts +5 -89
  45. package/dist/hooks/useV1MyFundraisingProjects.d.mts +9 -261
  46. package/dist/hooks/useV1MyFundraisingProjects.d.ts +9 -261
  47. package/dist/hooks/useV1MyFundraisingProjectsProjectId.d.mts +5 -397
  48. package/dist/hooks/useV1MyFundraisingProjectsProjectId.d.ts +5 -397
  49. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysis.d.mts +5 -125
  50. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysis.d.ts +5 -125
  51. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercents.d.mts +9 -33
  52. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercents.d.ts +9 -33
  53. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitors.d.mts +9 -33
  54. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitors.d.ts +9 -33
  55. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnnouncements.d.mts +5 -149
  56. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnnouncements.d.ts +5 -149
  57. package/dist/hooks/useV1MyFundraisingProjectsProjectIdEditingProgress.d.mts +5 -37
  58. package/dist/hooks/useV1MyFundraisingProjectsProjectIdEditingProgress.d.ts +5 -37
  59. package/dist/hooks/useV1MyFundraisingProjectsProjectIdFastPaymentApplication.d.mts +21 -53
  60. package/dist/hooks/useV1MyFundraisingProjectsProjectIdFastPaymentApplication.d.ts +21 -53
  61. package/dist/hooks/useV1MyFundraisingProjectsProjectIdMonthlyBillingDetails.d.mts +5 -21
  62. package/dist/hooks/useV1MyFundraisingProjectsProjectIdMonthlyBillingDetails.d.ts +5 -21
  63. package/dist/hooks/useV1MyFundraisingProjectsProjectIdSummary.d.mts +5 -17
  64. package/dist/hooks/useV1MyFundraisingProjectsProjectIdSummary.d.ts +5 -17
  65. package/dist/hooks/useV1MyMessagesExchangedUsers.d.mts +9 -61
  66. package/dist/hooks/useV1MyMessagesExchangedUsers.d.ts +9 -61
  67. package/dist/hooks/useV1MyMessagesTree.d.mts +13 -65
  68. package/dist/hooks/useV1MyMessagesTree.d.ts +13 -65
  69. package/dist/hooks/useV1MyProfile.d.mts +9 -45
  70. package/dist/hooks/useV1MyProfile.d.ts +9 -45
  71. package/dist/hooks/useV1MyProjectsOwners.d.mts +5 -33
  72. package/dist/hooks/useV1MyProjectsOwners.d.ts +5 -33
  73. package/dist/hooks/useV1MyProjectsProjectId.d.mts +13 -209
  74. package/dist/hooks/useV1MyProjectsProjectId.d.ts +13 -209
  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 +13 -253
  80. package/dist/hooks/useV1MyProjectsProjectIdProjectCheckList.d.ts +13 -253
  81. package/dist/hooks/useV1MyProjectsProjectIdProjectFastPaymentApplication.d.mts +9 -57
  82. package/dist/hooks/useV1MyProjectsProjectIdProjectFastPaymentApplication.d.ts +9 -57
  83. package/dist/hooks/useV1MyProjectsProjectIdProjectOwner.d.mts +9 -53
  84. package/dist/hooks/useV1MyProjectsProjectIdProjectOwner.d.ts +9 -53
  85. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwner.d.mts +13 -441
  86. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwner.d.ts +13 -441
  87. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivity.d.mts +13 -97
  88. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivity.d.ts +13 -97
  89. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckList.d.mts +13 -297
  90. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckList.d.ts +13 -297
  91. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerTransferAccount.d.mts +13 -133
  92. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerTransferAccount.d.ts +13 -133
  93. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerUrls.d.mts +13 -97
  94. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerUrls.d.ts +13 -97
  95. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwner.d.mts +13 -169
  96. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwner.d.ts +13 -169
  97. package/dist/hooks/useV1MyProjectsProjectIdPublicationSchedule.d.mts +9 -69
  98. package/dist/hooks/useV1MyProjectsProjectIdPublicationSchedule.d.ts +9 -69
  99. package/dist/hooks/useV1MyProjectsProjectIdRewards.d.mts +17 -233
  100. package/dist/hooks/useV1MyProjectsProjectIdRewards.d.ts +17 -233
  101. package/dist/hooks/useV1MyProjectsProjectIdRewardsRequestsRequestId.d.mts +13 -193
  102. package/dist/hooks/useV1MyProjectsProjectIdRewardsRequestsRequestId.d.ts +13 -193
  103. package/dist/hooks/useV1MyProjectsProjectIdRewardsRewardId.d.mts +13 -201
  104. package/dist/hooks/useV1MyProjectsProjectIdRewardsRewardId.d.ts +13 -201
  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 +13 -253
  108. package/dist/hooks/useV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckList.d.ts +13 -253
  109. package/dist/hooks/useV1MyProjectsProjectIdUserIdentification.d.mts +21 -105
  110. package/dist/hooks/useV1MyProjectsProjectIdUserIdentification.d.ts +21 -105
  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 +9 -101
  114. package/dist/hooks/useV1ProjectsProjectIdComments.d.ts +9 -101
  115. package/dist/hooks/useV1ProjectsProjectIdRewards.d.mts +9 -21
  116. package/dist/hooks/useV1ProjectsProjectIdRewards.d.ts +9 -21
  117. package/dist/hooks/useV1ProjectsProjectIdRewardsForPreview.d.mts +48 -72
  118. package/dist/hooks/useV1ProjectsProjectIdRewardsForPreview.d.ts +48 -72
  119. package/dist/hooks/useV1ResourcesCommonHeader.d.mts +9 -129
  120. package/dist/hooks/useV1ResourcesCommonHeader.d.ts +9 -129
  121. package/dist/hooks/useV1SearchProjectSuggestions.d.mts +5 -25
  122. package/dist/hooks/useV1SearchProjectSuggestions.d.ts +5 -25
  123. package/dist/hooks/useV1Tags.d.mts +4 -4
  124. package/dist/hooks/useV1Tags.d.ts +4 -4
  125. package/package.json +12 -11
@@ -1,62 +1,20 @@
1
1
  import * as swr_infinite from 'swr/infinite';
2
2
  import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
3
- import { components } from '../schemaType.js';
4
3
  import * as swr from 'swr';
5
4
  import { Arguments } from 'swr';
5
+ import { components } from '../schemaType.js';
6
6
  import { Configuration } from '@readyfor/api-client-base/react';
7
7
  import { V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetPath, V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetQuery, V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetResponse } from '../fetch/v1MyFundraisingMessageRoomsMessageRoomIdMessages.js';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1MyFundraisingMessageRoomsMessageRoomIdMessages: (path: V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetPath, query: V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetQuery, swrConfig?: Configuration<V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetResponse>) => {
11
11
  data: {
12
- messages: ({
13
- id: number;
14
- body: string;
15
- sentAt: string;
16
- __type: "OtherMessage";
17
- isRead: boolean;
18
- user: {
19
- id: number;
20
- name: string;
21
- imageUrl: string;
22
- };
23
- } | {
24
- id: number;
25
- body: string;
26
- sentAt: string;
27
- __type: "MyBulkMessage";
28
- } | {
29
- id: number;
30
- body: string;
31
- sentAt: string;
32
- __type: "MyMessage";
33
- })[];
12
+ messages: components["schemas"]["Fundraising_Message_Message"][];
34
13
  hasNextMessages: boolean;
35
14
  } | undefined;
36
15
  error: any;
37
16
  mutate: swr.KeyedMutator<{
38
- messages: ({
39
- id: number;
40
- body: string;
41
- sentAt: string;
42
- __type: "OtherMessage";
43
- isRead: boolean;
44
- user: {
45
- id: number;
46
- name: string;
47
- imageUrl: string;
48
- };
49
- } | {
50
- id: number;
51
- body: string;
52
- sentAt: string;
53
- __type: "MyBulkMessage";
54
- } | {
55
- id: number;
56
- body: string;
57
- sentAt: string;
58
- __type: "MyMessage";
59
- })[];
17
+ messages: components["schemas"]["Fundraising_Message_Message"][];
60
18
  hasNextMessages: boolean;
61
19
  }>;
62
20
  isValidating: boolean;
@@ -65,54 +23,12 @@ declare const useV1MyFundraisingMessageRoomsMessageRoomIdMessages: (path: V1MyFu
65
23
  };
66
24
  declare const useV1MyFundraisingMessageRoomsMessageRoomIdMessagesImmutable: (path: V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetPath, query: V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetQuery, swrConfig?: Configuration<V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetResponse>) => {
67
25
  data: {
68
- messages: ({
69
- id: number;
70
- body: string;
71
- sentAt: string;
72
- __type: "OtherMessage";
73
- isRead: boolean;
74
- user: {
75
- id: number;
76
- name: string;
77
- imageUrl: string;
78
- };
79
- } | {
80
- id: number;
81
- body: string;
82
- sentAt: string;
83
- __type: "MyBulkMessage";
84
- } | {
85
- id: number;
86
- body: string;
87
- sentAt: string;
88
- __type: "MyMessage";
89
- })[];
26
+ messages: components["schemas"]["Fundraising_Message_Message"][];
90
27
  hasNextMessages: boolean;
91
28
  } | undefined;
92
29
  error: any;
93
30
  mutate: swr.KeyedMutator<{
94
- messages: ({
95
- id: number;
96
- body: string;
97
- sentAt: string;
98
- __type: "OtherMessage";
99
- isRead: boolean;
100
- user: {
101
- id: number;
102
- name: string;
103
- imageUrl: string;
104
- };
105
- } | {
106
- id: number;
107
- body: string;
108
- sentAt: string;
109
- __type: "MyBulkMessage";
110
- } | {
111
- id: number;
112
- body: string;
113
- sentAt: string;
114
- __type: "MyMessage";
115
- })[];
31
+ messages: components["schemas"]["Fundraising_Message_Message"][];
116
32
  hasNextMessages: boolean;
117
33
  }>;
118
34
  isValidating: boolean;
@@ -1,146 +1,20 @@
1
1
  import * as swr_infinite from 'swr/infinite';
2
2
  import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
3
- import { components } from '../schemaType.mjs';
4
3
  import * as swr from 'swr';
5
4
  import { Arguments } from 'swr';
5
+ import { components } from '../schemaType.mjs';
6
6
  import { Configuration } from '@readyfor/api-client-base/react';
7
7
  import { V1MyFundraisingProjectsGetResponse } from '../fetch/v1MyFundraisingProjects.mjs';
8
8
 
9
9
  declare const useV1MyFundraisingProjects: (swrConfig?: Configuration<V1MyFundraisingProjectsGetResponse>) => {
10
10
  data: {
11
- projects: {
12
- status: {
13
- projectStatus: "draft" | "open" | "prepared";
14
- reviewStatus: "none" | "ongoing" | "feedBack";
15
- } | {
16
- projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
17
- };
18
- id: number;
19
- title: string | null;
20
- updatedAt: string;
21
- fundingModel: "regularSteady" | "featuredSteady" | "allOrNothing" | "keepItAll";
22
- plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
23
- displayPlanName: string;
24
- hasPartnership: boolean;
25
- imageUrl?: string | undefined;
26
- }[];
27
- openProjects: ({
28
- status: {
29
- projectStatus: "open";
30
- reviewStatus: "none" | "ongoing" | "feedBack";
31
- };
32
- id: number;
33
- title: string;
34
- __type: "RegularSteadyCrowdfundingProject";
35
- fundingModel: "regularSteady";
36
- plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
37
- displayPlanName: string;
38
- currentNumberOfMonthlySupporters: number;
39
- ordersCount: number;
40
- imageUrl?: string | undefined;
41
- } | {
42
- status: {
43
- projectStatus: "open";
44
- reviewStatus: "none" | "ongoing" | "feedBack";
45
- };
46
- id: number;
47
- title: string;
48
- __type: "FeaturedSteadyCrowdfundingProject";
49
- fundingModel: "featuredSteady";
50
- totalNumberOfSupporters: number;
51
- plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
52
- displayPlanName: string;
53
- goalNumberOfSupporters: number;
54
- expiredAt: string;
55
- ordersCount: number;
56
- imageUrl?: string | undefined;
57
- } | {
58
- status: {
59
- projectStatus: "open";
60
- reviewStatus: "none" | "ongoing" | "feedBack";
61
- };
62
- id: number;
63
- title: string;
64
- __type: "SpotCrowdfundingProject";
65
- fundingModel: "allOrNothing" | "keepItAll";
66
- payAmount: number;
67
- plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
68
- displayPlanName: string;
69
- expiredAt: string;
70
- hasPartnership: boolean;
71
- goalAmount: number;
72
- ordersCount: number;
73
- nextGoal?: number | undefined;
74
- imageUrl?: string | undefined;
75
- })[];
11
+ projects: components["schemas"]["Fundraising_Project"][];
12
+ openProjects: components["schemas"]["Fundraising_Project_OpenProject"][];
76
13
  } | undefined;
77
14
  error: any;
78
15
  mutate: swr.KeyedMutator<{
79
- projects: {
80
- status: {
81
- projectStatus: "draft" | "open" | "prepared";
82
- reviewStatus: "none" | "ongoing" | "feedBack";
83
- } | {
84
- projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
85
- };
86
- id: number;
87
- title: string | null;
88
- updatedAt: string;
89
- fundingModel: "regularSteady" | "featuredSteady" | "allOrNothing" | "keepItAll";
90
- plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
91
- displayPlanName: string;
92
- hasPartnership: boolean;
93
- imageUrl?: string | undefined;
94
- }[];
95
- openProjects: ({
96
- status: {
97
- projectStatus: "open";
98
- reviewStatus: "none" | "ongoing" | "feedBack";
99
- };
100
- id: number;
101
- title: string;
102
- __type: "RegularSteadyCrowdfundingProject";
103
- fundingModel: "regularSteady";
104
- plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
105
- displayPlanName: string;
106
- currentNumberOfMonthlySupporters: number;
107
- ordersCount: number;
108
- imageUrl?: string | undefined;
109
- } | {
110
- status: {
111
- projectStatus: "open";
112
- reviewStatus: "none" | "ongoing" | "feedBack";
113
- };
114
- id: number;
115
- title: string;
116
- __type: "FeaturedSteadyCrowdfundingProject";
117
- fundingModel: "featuredSteady";
118
- totalNumberOfSupporters: number;
119
- plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
120
- displayPlanName: string;
121
- goalNumberOfSupporters: number;
122
- expiredAt: string;
123
- ordersCount: number;
124
- imageUrl?: string | undefined;
125
- } | {
126
- status: {
127
- projectStatus: "open";
128
- reviewStatus: "none" | "ongoing" | "feedBack";
129
- };
130
- id: number;
131
- title: string;
132
- __type: "SpotCrowdfundingProject";
133
- fundingModel: "allOrNothing" | "keepItAll";
134
- payAmount: number;
135
- plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
136
- displayPlanName: string;
137
- expiredAt: string;
138
- hasPartnership: boolean;
139
- goalAmount: number;
140
- ordersCount: number;
141
- nextGoal?: number | undefined;
142
- imageUrl?: string | undefined;
143
- })[];
16
+ projects: components["schemas"]["Fundraising_Project"][];
17
+ openProjects: components["schemas"]["Fundraising_Project_OpenProject"][];
144
18
  }>;
145
19
  isValidating: boolean;
146
20
  isLoading: boolean;
@@ -148,139 +22,13 @@ declare const useV1MyFundraisingProjects: (swrConfig?: Configuration<V1MyFundrai
148
22
  };
149
23
  declare const useV1MyFundraisingProjectsImmutable: (swrConfig?: Configuration<V1MyFundraisingProjectsGetResponse>) => {
150
24
  data: {
151
- projects: {
152
- status: {
153
- projectStatus: "draft" | "open" | "prepared";
154
- reviewStatus: "none" | "ongoing" | "feedBack";
155
- } | {
156
- projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
157
- };
158
- id: number;
159
- title: string | null;
160
- updatedAt: string;
161
- fundingModel: "regularSteady" | "featuredSteady" | "allOrNothing" | "keepItAll";
162
- plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
163
- displayPlanName: string;
164
- hasPartnership: boolean;
165
- imageUrl?: string | undefined;
166
- }[];
167
- openProjects: ({
168
- status: {
169
- projectStatus: "open";
170
- reviewStatus: "none" | "ongoing" | "feedBack";
171
- };
172
- id: number;
173
- title: string;
174
- __type: "RegularSteadyCrowdfundingProject";
175
- fundingModel: "regularSteady";
176
- plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
177
- displayPlanName: string;
178
- currentNumberOfMonthlySupporters: number;
179
- ordersCount: number;
180
- imageUrl?: string | undefined;
181
- } | {
182
- status: {
183
- projectStatus: "open";
184
- reviewStatus: "none" | "ongoing" | "feedBack";
185
- };
186
- id: number;
187
- title: string;
188
- __type: "FeaturedSteadyCrowdfundingProject";
189
- fundingModel: "featuredSteady";
190
- totalNumberOfSupporters: number;
191
- plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
192
- displayPlanName: string;
193
- goalNumberOfSupporters: number;
194
- expiredAt: string;
195
- ordersCount: number;
196
- imageUrl?: string | undefined;
197
- } | {
198
- status: {
199
- projectStatus: "open";
200
- reviewStatus: "none" | "ongoing" | "feedBack";
201
- };
202
- id: number;
203
- title: string;
204
- __type: "SpotCrowdfundingProject";
205
- fundingModel: "allOrNothing" | "keepItAll";
206
- payAmount: number;
207
- plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
208
- displayPlanName: string;
209
- expiredAt: string;
210
- hasPartnership: boolean;
211
- goalAmount: number;
212
- ordersCount: number;
213
- nextGoal?: number | undefined;
214
- imageUrl?: string | undefined;
215
- })[];
25
+ projects: components["schemas"]["Fundraising_Project"][];
26
+ openProjects: components["schemas"]["Fundraising_Project_OpenProject"][];
216
27
  } | undefined;
217
28
  error: any;
218
29
  mutate: swr.KeyedMutator<{
219
- projects: {
220
- status: {
221
- projectStatus: "draft" | "open" | "prepared";
222
- reviewStatus: "none" | "ongoing" | "feedBack";
223
- } | {
224
- projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
225
- };
226
- id: number;
227
- title: string | null;
228
- updatedAt: string;
229
- fundingModel: "regularSteady" | "featuredSteady" | "allOrNothing" | "keepItAll";
230
- plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
231
- displayPlanName: string;
232
- hasPartnership: boolean;
233
- imageUrl?: string | undefined;
234
- }[];
235
- openProjects: ({
236
- status: {
237
- projectStatus: "open";
238
- reviewStatus: "none" | "ongoing" | "feedBack";
239
- };
240
- id: number;
241
- title: string;
242
- __type: "RegularSteadyCrowdfundingProject";
243
- fundingModel: "regularSteady";
244
- plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
245
- displayPlanName: string;
246
- currentNumberOfMonthlySupporters: number;
247
- ordersCount: number;
248
- imageUrl?: string | undefined;
249
- } | {
250
- status: {
251
- projectStatus: "open";
252
- reviewStatus: "none" | "ongoing" | "feedBack";
253
- };
254
- id: number;
255
- title: string;
256
- __type: "FeaturedSteadyCrowdfundingProject";
257
- fundingModel: "featuredSteady";
258
- totalNumberOfSupporters: number;
259
- plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
260
- displayPlanName: string;
261
- goalNumberOfSupporters: number;
262
- expiredAt: string;
263
- ordersCount: number;
264
- imageUrl?: string | undefined;
265
- } | {
266
- status: {
267
- projectStatus: "open";
268
- reviewStatus: "none" | "ongoing" | "feedBack";
269
- };
270
- id: number;
271
- title: string;
272
- __type: "SpotCrowdfundingProject";
273
- fundingModel: "allOrNothing" | "keepItAll";
274
- payAmount: number;
275
- plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
276
- displayPlanName: string;
277
- expiredAt: string;
278
- hasPartnership: boolean;
279
- goalAmount: number;
280
- ordersCount: number;
281
- nextGoal?: number | undefined;
282
- imageUrl?: string | undefined;
283
- })[];
30
+ projects: components["schemas"]["Fundraising_Project"][];
31
+ openProjects: components["schemas"]["Fundraising_Project_OpenProject"][];
284
32
  }>;
285
33
  isValidating: boolean;
286
34
  isLoading: boolean;