@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,27 @@
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 { V1MyBulkMessagesBulkMessageIdToUsersGetPath, V1MyBulkMessagesBulkMessageIdToUsersGetResponse } from '../fetch/v1MyBulkMessagesBulkMessageIdToUsers.js';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1MyBulkMessagesBulkMessageIdToUsers: (path: V1MyBulkMessagesBulkMessageIdToUsersGetPath, swrConfig?: Configuration<V1MyBulkMessagesBulkMessageIdToUsersGetResponse>) => {
11
11
  data: {
12
- users: components["schemas"]["ToUser"][];
12
+ users: {
13
+ id: number;
14
+ name: string;
15
+ iconUrl: string;
16
+ }[];
13
17
  } | undefined;
14
18
  error: any;
15
19
  mutate: swr.KeyedMutator<{
16
- users: components["schemas"]["ToUser"][];
20
+ users: {
21
+ id: number;
22
+ name: string;
23
+ iconUrl: string;
24
+ }[];
17
25
  }>;
18
26
  isValidating: boolean;
19
27
  isLoading: boolean;
@@ -21,11 +29,19 @@ declare const useV1MyBulkMessagesBulkMessageIdToUsers: (path: V1MyBulkMessagesBu
21
29
  };
22
30
  declare const useV1MyBulkMessagesBulkMessageIdToUsersImmutable: (path: V1MyBulkMessagesBulkMessageIdToUsersGetPath, swrConfig?: Configuration<V1MyBulkMessagesBulkMessageIdToUsersGetResponse>) => {
23
31
  data: {
24
- users: components["schemas"]["ToUser"][];
32
+ users: {
33
+ id: number;
34
+ name: string;
35
+ iconUrl: string;
36
+ }[];
25
37
  } | undefined;
26
38
  error: any;
27
39
  mutate: swr.KeyedMutator<{
28
- users: components["schemas"]["ToUser"][];
40
+ users: {
41
+ id: number;
42
+ name: string;
43
+ iconUrl: string;
44
+ }[];
29
45
  }>;
30
46
  isValidating: boolean;
31
47
  isLoading: boolean;
@@ -8,19 +8,19 @@ import '../schemaType.mjs';
8
8
 
9
9
  declare const useV1MyEngagementFavoriteTags: (swrConfig?: Configuration<V1MyEngagementFavoriteTagsGetResponse>) => {
10
10
  data: {
11
+ type: 0 | 1 | 2 | 3;
11
12
  id: number;
12
13
  name: string;
13
14
  keyword: string;
14
15
  parentIds: number[];
15
- type: 0 | 1 | 2 | 3;
16
16
  }[] | undefined;
17
17
  error: any;
18
18
  mutate: swr.KeyedMutator<{
19
+ type: 0 | 1 | 2 | 3;
19
20
  id: number;
20
21
  name: string;
21
22
  keyword: string;
22
23
  parentIds: number[];
23
- type: 0 | 1 | 2 | 3;
24
24
  }[]>;
25
25
  isValidating: boolean;
26
26
  isLoading: boolean;
@@ -28,19 +28,19 @@ declare const useV1MyEngagementFavoriteTags: (swrConfig?: Configuration<V1MyEnga
28
28
  };
29
29
  declare const useV1MyEngagementFavoriteTagsImmutable: (swrConfig?: Configuration<V1MyEngagementFavoriteTagsGetResponse>) => {
30
30
  data: {
31
+ type: 0 | 1 | 2 | 3;
31
32
  id: number;
32
33
  name: string;
33
34
  keyword: string;
34
35
  parentIds: number[];
35
- type: 0 | 1 | 2 | 3;
36
36
  }[] | undefined;
37
37
  error: any;
38
38
  mutate: swr.KeyedMutator<{
39
+ type: 0 | 1 | 2 | 3;
39
40
  id: number;
40
41
  name: string;
41
42
  keyword: string;
42
43
  parentIds: number[];
43
- type: 0 | 1 | 2 | 3;
44
44
  }[]>;
45
45
  isValidating: boolean;
46
46
  isLoading: boolean;
@@ -8,19 +8,19 @@ import '../schemaType.js';
8
8
 
9
9
  declare const useV1MyEngagementFavoriteTags: (swrConfig?: Configuration<V1MyEngagementFavoriteTagsGetResponse>) => {
10
10
  data: {
11
+ type: 0 | 1 | 2 | 3;
11
12
  id: number;
12
13
  name: string;
13
14
  keyword: string;
14
15
  parentIds: number[];
15
- type: 0 | 1 | 2 | 3;
16
16
  }[] | undefined;
17
17
  error: any;
18
18
  mutate: swr.KeyedMutator<{
19
+ type: 0 | 1 | 2 | 3;
19
20
  id: number;
20
21
  name: string;
21
22
  keyword: string;
22
23
  parentIds: number[];
23
- type: 0 | 1 | 2 | 3;
24
24
  }[]>;
25
25
  isValidating: boolean;
26
26
  isLoading: boolean;
@@ -28,19 +28,19 @@ declare const useV1MyEngagementFavoriteTags: (swrConfig?: Configuration<V1MyEnga
28
28
  };
29
29
  declare const useV1MyEngagementFavoriteTagsImmutable: (swrConfig?: Configuration<V1MyEngagementFavoriteTagsGetResponse>) => {
30
30
  data: {
31
+ type: 0 | 1 | 2 | 3;
31
32
  id: number;
32
33
  name: string;
33
34
  keyword: string;
34
35
  parentIds: number[];
35
- type: 0 | 1 | 2 | 3;
36
36
  }[] | undefined;
37
37
  error: any;
38
38
  mutate: swr.KeyedMutator<{
39
+ type: 0 | 1 | 2 | 3;
39
40
  id: number;
40
41
  name: string;
41
42
  keyword: string;
42
43
  parentIds: number[];
43
- type: 0 | 1 | 2 | 3;
44
44
  }[]>;
45
45
  isValidating: boolean;
46
46
  isLoading: boolean;
@@ -1,21 +1,111 @@
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 { V1MyFundraisingAnnouncementsGetQuery, V1MyFundraisingAnnouncementsGetResponse } from '../fetch/v1MyFundraisingAnnouncements.mjs';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1MyFundraisingAnnouncements: (query: V1MyFundraisingAnnouncementsGetQuery, swrConfig?: Configuration<V1MyFundraisingAnnouncementsGetResponse>) => {
11
11
  data: {
12
- announcements: components["schemas"]["GetMyFundraisingProject_Announcement_announcements_inner"][];
13
- pagination: components["schemas"]["Fundraising_Pagination"];
12
+ pagination: {
13
+ currentPage: number;
14
+ totalCount: number;
15
+ totalPages: number;
16
+ currentPerPage: number;
17
+ isFirstPage: boolean;
18
+ isLastPage: boolean;
19
+ prevPage?: number | undefined;
20
+ nextPage?: number | undefined;
21
+ };
22
+ announcements: ({
23
+ status: "open";
24
+ id: number;
25
+ title: string;
26
+ postedAt: string;
27
+ project: {
28
+ id: number;
29
+ keyword: string;
30
+ title: string;
31
+ };
32
+ imageUrl?: string | undefined;
33
+ } | {
34
+ status: "scheduled";
35
+ id: number;
36
+ title: string;
37
+ project: {
38
+ id: number;
39
+ keyword: string;
40
+ title: string;
41
+ };
42
+ postScheduledAt: string;
43
+ updatedAt: string;
44
+ imageUrl?: string | undefined;
45
+ } | {
46
+ status: "draft";
47
+ id: number;
48
+ title: string;
49
+ description: string;
50
+ project: {
51
+ id: number;
52
+ keyword: string;
53
+ title: string;
54
+ };
55
+ updatedAt: string;
56
+ createdAt: string;
57
+ imageUrl?: string | undefined;
58
+ })[];
14
59
  } | undefined;
15
60
  error: any;
16
61
  mutate: swr.KeyedMutator<{
17
- announcements: components["schemas"]["GetMyFundraisingProject_Announcement_announcements_inner"][];
18
- pagination: components["schemas"]["Fundraising_Pagination"];
62
+ pagination: {
63
+ currentPage: number;
64
+ totalCount: number;
65
+ totalPages: number;
66
+ currentPerPage: number;
67
+ isFirstPage: boolean;
68
+ isLastPage: boolean;
69
+ prevPage?: number | undefined;
70
+ nextPage?: number | undefined;
71
+ };
72
+ announcements: ({
73
+ status: "open";
74
+ id: number;
75
+ title: string;
76
+ postedAt: string;
77
+ project: {
78
+ id: number;
79
+ keyword: string;
80
+ title: string;
81
+ };
82
+ imageUrl?: string | undefined;
83
+ } | {
84
+ status: "scheduled";
85
+ id: number;
86
+ title: string;
87
+ project: {
88
+ id: number;
89
+ keyword: string;
90
+ title: string;
91
+ };
92
+ postScheduledAt: string;
93
+ updatedAt: string;
94
+ imageUrl?: string | undefined;
95
+ } | {
96
+ status: "draft";
97
+ id: number;
98
+ title: string;
99
+ description: string;
100
+ project: {
101
+ id: number;
102
+ keyword: string;
103
+ title: string;
104
+ };
105
+ updatedAt: string;
106
+ createdAt: string;
107
+ imageUrl?: string | undefined;
108
+ })[];
19
109
  }>;
20
110
  isValidating: boolean;
21
111
  isLoading: boolean;
@@ -23,13 +113,103 @@ declare const useV1MyFundraisingAnnouncements: (query: V1MyFundraisingAnnounceme
23
113
  };
24
114
  declare const useV1MyFundraisingAnnouncementsImmutable: (query: V1MyFundraisingAnnouncementsGetQuery, swrConfig?: Configuration<V1MyFundraisingAnnouncementsGetResponse>) => {
25
115
  data: {
26
- announcements: components["schemas"]["GetMyFundraisingProject_Announcement_announcements_inner"][];
27
- pagination: components["schemas"]["Fundraising_Pagination"];
116
+ pagination: {
117
+ currentPage: number;
118
+ totalCount: number;
119
+ totalPages: number;
120
+ currentPerPage: number;
121
+ isFirstPage: boolean;
122
+ isLastPage: boolean;
123
+ prevPage?: number | undefined;
124
+ nextPage?: number | undefined;
125
+ };
126
+ announcements: ({
127
+ status: "open";
128
+ id: number;
129
+ title: string;
130
+ postedAt: string;
131
+ project: {
132
+ id: number;
133
+ keyword: string;
134
+ title: string;
135
+ };
136
+ imageUrl?: string | undefined;
137
+ } | {
138
+ status: "scheduled";
139
+ id: number;
140
+ title: string;
141
+ project: {
142
+ id: number;
143
+ keyword: string;
144
+ title: string;
145
+ };
146
+ postScheduledAt: string;
147
+ updatedAt: string;
148
+ imageUrl?: string | undefined;
149
+ } | {
150
+ status: "draft";
151
+ id: number;
152
+ title: string;
153
+ description: string;
154
+ project: {
155
+ id: number;
156
+ keyword: string;
157
+ title: string;
158
+ };
159
+ updatedAt: string;
160
+ createdAt: string;
161
+ imageUrl?: string | undefined;
162
+ })[];
28
163
  } | undefined;
29
164
  error: any;
30
165
  mutate: swr.KeyedMutator<{
31
- announcements: components["schemas"]["GetMyFundraisingProject_Announcement_announcements_inner"][];
32
- pagination: components["schemas"]["Fundraising_Pagination"];
166
+ pagination: {
167
+ currentPage: number;
168
+ totalCount: number;
169
+ totalPages: number;
170
+ currentPerPage: number;
171
+ isFirstPage: boolean;
172
+ isLastPage: boolean;
173
+ prevPage?: number | undefined;
174
+ nextPage?: number | undefined;
175
+ };
176
+ announcements: ({
177
+ status: "open";
178
+ id: number;
179
+ title: string;
180
+ postedAt: string;
181
+ project: {
182
+ id: number;
183
+ keyword: string;
184
+ title: string;
185
+ };
186
+ imageUrl?: string | undefined;
187
+ } | {
188
+ status: "scheduled";
189
+ id: number;
190
+ title: string;
191
+ project: {
192
+ id: number;
193
+ keyword: string;
194
+ title: string;
195
+ };
196
+ postScheduledAt: string;
197
+ updatedAt: string;
198
+ imageUrl?: string | undefined;
199
+ } | {
200
+ status: "draft";
201
+ id: number;
202
+ title: string;
203
+ description: string;
204
+ project: {
205
+ id: number;
206
+ keyword: string;
207
+ title: string;
208
+ };
209
+ updatedAt: string;
210
+ createdAt: string;
211
+ imageUrl?: string | undefined;
212
+ })[];
33
213
  }>;
34
214
  isValidating: boolean;
35
215
  isLoading: boolean;
@@ -1,21 +1,111 @@
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 { V1MyFundraisingAnnouncementsGetQuery, V1MyFundraisingAnnouncementsGetResponse } from '../fetch/v1MyFundraisingAnnouncements.js';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1MyFundraisingAnnouncements: (query: V1MyFundraisingAnnouncementsGetQuery, swrConfig?: Configuration<V1MyFundraisingAnnouncementsGetResponse>) => {
11
11
  data: {
12
- announcements: components["schemas"]["GetMyFundraisingProject_Announcement_announcements_inner"][];
13
- pagination: components["schemas"]["Fundraising_Pagination"];
12
+ pagination: {
13
+ currentPage: number;
14
+ totalCount: number;
15
+ totalPages: number;
16
+ currentPerPage: number;
17
+ isFirstPage: boolean;
18
+ isLastPage: boolean;
19
+ prevPage?: number | undefined;
20
+ nextPage?: number | undefined;
21
+ };
22
+ announcements: ({
23
+ status: "open";
24
+ id: number;
25
+ title: string;
26
+ postedAt: string;
27
+ project: {
28
+ id: number;
29
+ keyword: string;
30
+ title: string;
31
+ };
32
+ imageUrl?: string | undefined;
33
+ } | {
34
+ status: "scheduled";
35
+ id: number;
36
+ title: string;
37
+ project: {
38
+ id: number;
39
+ keyword: string;
40
+ title: string;
41
+ };
42
+ postScheduledAt: string;
43
+ updatedAt: string;
44
+ imageUrl?: string | undefined;
45
+ } | {
46
+ status: "draft";
47
+ id: number;
48
+ title: string;
49
+ description: string;
50
+ project: {
51
+ id: number;
52
+ keyword: string;
53
+ title: string;
54
+ };
55
+ updatedAt: string;
56
+ createdAt: string;
57
+ imageUrl?: string | undefined;
58
+ })[];
14
59
  } | undefined;
15
60
  error: any;
16
61
  mutate: swr.KeyedMutator<{
17
- announcements: components["schemas"]["GetMyFundraisingProject_Announcement_announcements_inner"][];
18
- pagination: components["schemas"]["Fundraising_Pagination"];
62
+ pagination: {
63
+ currentPage: number;
64
+ totalCount: number;
65
+ totalPages: number;
66
+ currentPerPage: number;
67
+ isFirstPage: boolean;
68
+ isLastPage: boolean;
69
+ prevPage?: number | undefined;
70
+ nextPage?: number | undefined;
71
+ };
72
+ announcements: ({
73
+ status: "open";
74
+ id: number;
75
+ title: string;
76
+ postedAt: string;
77
+ project: {
78
+ id: number;
79
+ keyword: string;
80
+ title: string;
81
+ };
82
+ imageUrl?: string | undefined;
83
+ } | {
84
+ status: "scheduled";
85
+ id: number;
86
+ title: string;
87
+ project: {
88
+ id: number;
89
+ keyword: string;
90
+ title: string;
91
+ };
92
+ postScheduledAt: string;
93
+ updatedAt: string;
94
+ imageUrl?: string | undefined;
95
+ } | {
96
+ status: "draft";
97
+ id: number;
98
+ title: string;
99
+ description: string;
100
+ project: {
101
+ id: number;
102
+ keyword: string;
103
+ title: string;
104
+ };
105
+ updatedAt: string;
106
+ createdAt: string;
107
+ imageUrl?: string | undefined;
108
+ })[];
19
109
  }>;
20
110
  isValidating: boolean;
21
111
  isLoading: boolean;
@@ -23,13 +113,103 @@ declare const useV1MyFundraisingAnnouncements: (query: V1MyFundraisingAnnounceme
23
113
  };
24
114
  declare const useV1MyFundraisingAnnouncementsImmutable: (query: V1MyFundraisingAnnouncementsGetQuery, swrConfig?: Configuration<V1MyFundraisingAnnouncementsGetResponse>) => {
25
115
  data: {
26
- announcements: components["schemas"]["GetMyFundraisingProject_Announcement_announcements_inner"][];
27
- pagination: components["schemas"]["Fundraising_Pagination"];
116
+ pagination: {
117
+ currentPage: number;
118
+ totalCount: number;
119
+ totalPages: number;
120
+ currentPerPage: number;
121
+ isFirstPage: boolean;
122
+ isLastPage: boolean;
123
+ prevPage?: number | undefined;
124
+ nextPage?: number | undefined;
125
+ };
126
+ announcements: ({
127
+ status: "open";
128
+ id: number;
129
+ title: string;
130
+ postedAt: string;
131
+ project: {
132
+ id: number;
133
+ keyword: string;
134
+ title: string;
135
+ };
136
+ imageUrl?: string | undefined;
137
+ } | {
138
+ status: "scheduled";
139
+ id: number;
140
+ title: string;
141
+ project: {
142
+ id: number;
143
+ keyword: string;
144
+ title: string;
145
+ };
146
+ postScheduledAt: string;
147
+ updatedAt: string;
148
+ imageUrl?: string | undefined;
149
+ } | {
150
+ status: "draft";
151
+ id: number;
152
+ title: string;
153
+ description: string;
154
+ project: {
155
+ id: number;
156
+ keyword: string;
157
+ title: string;
158
+ };
159
+ updatedAt: string;
160
+ createdAt: string;
161
+ imageUrl?: string | undefined;
162
+ })[];
28
163
  } | undefined;
29
164
  error: any;
30
165
  mutate: swr.KeyedMutator<{
31
- announcements: components["schemas"]["GetMyFundraisingProject_Announcement_announcements_inner"][];
32
- pagination: components["schemas"]["Fundraising_Pagination"];
166
+ pagination: {
167
+ currentPage: number;
168
+ totalCount: number;
169
+ totalPages: number;
170
+ currentPerPage: number;
171
+ isFirstPage: boolean;
172
+ isLastPage: boolean;
173
+ prevPage?: number | undefined;
174
+ nextPage?: number | undefined;
175
+ };
176
+ announcements: ({
177
+ status: "open";
178
+ id: number;
179
+ title: string;
180
+ postedAt: string;
181
+ project: {
182
+ id: number;
183
+ keyword: string;
184
+ title: string;
185
+ };
186
+ imageUrl?: string | undefined;
187
+ } | {
188
+ status: "scheduled";
189
+ id: number;
190
+ title: string;
191
+ project: {
192
+ id: number;
193
+ keyword: string;
194
+ title: string;
195
+ };
196
+ postScheduledAt: string;
197
+ updatedAt: string;
198
+ imageUrl?: string | undefined;
199
+ } | {
200
+ status: "draft";
201
+ id: number;
202
+ title: string;
203
+ description: string;
204
+ project: {
205
+ id: number;
206
+ keyword: string;
207
+ title: string;
208
+ };
209
+ updatedAt: string;
210
+ createdAt: string;
211
+ imageUrl?: string | undefined;
212
+ })[];
33
213
  }>;
34
214
  isValidating: boolean;
35
215
  isLoading: boolean;
@@ -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.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 { V1MyFundraisingAnnouncementsAnnouncementIdGetPath, V1MyFundraisingAnnouncementsAnnouncementIdGetResponse } from '../fetch/v1MyFundraisingAnnouncementsAnnouncementId.mjs';
8
8
  import '@readyfor/api-client-base';
@@ -10,28 +10,34 @@ import '@readyfor/api-client-base';
10
10
  declare const useV1MyFundraisingAnnouncementsAnnouncementId: (path: V1MyFundraisingAnnouncementsAnnouncementIdGetPath, swrConfig?: Configuration<V1MyFundraisingAnnouncementsAnnouncementIdGetResponse>) => {
11
11
  data: {
12
12
  id: number;
13
- thumbnailUrl?: string;
14
13
  title: string | null;
14
+ state: "draft" | "scheduled" | "open";
15
15
  description: string;
16
- state: components["schemas"]["Fundraising_Announcements_AnnouncementState"];
17
- project: components["schemas"]["Fundraising_Announcements_Announcement_project"];
18
16
  audience: "public" | "activeRecurringContributors";
19
- postedAt?: string | null;
20
- updatedAt: string;
21
17
  isEmailNotificationEnabled: boolean;
18
+ project: {
19
+ id: number;
20
+ title: string;
21
+ };
22
+ updatedAt: string;
23
+ postedAt?: string | null | undefined;
24
+ thumbnailUrl?: string | undefined;
22
25
  } | undefined;
23
26
  error: any;
24
27
  mutate: swr.KeyedMutator<{
25
28
  id: number;
26
- thumbnailUrl?: string;
27
29
  title: string | null;
30
+ state: "draft" | "scheduled" | "open";
28
31
  description: string;
29
- state: components["schemas"]["Fundraising_Announcements_AnnouncementState"];
30
- project: components["schemas"]["Fundraising_Announcements_Announcement_project"];
31
32
  audience: "public" | "activeRecurringContributors";
32
- postedAt?: string | null;
33
- updatedAt: string;
34
33
  isEmailNotificationEnabled: boolean;
34
+ project: {
35
+ id: number;
36
+ title: string;
37
+ };
38
+ updatedAt: string;
39
+ postedAt?: string | null | undefined;
40
+ thumbnailUrl?: string | undefined;
35
41
  }>;
36
42
  isValidating: boolean;
37
43
  isLoading: boolean;
@@ -40,28 +46,34 @@ declare const useV1MyFundraisingAnnouncementsAnnouncementId: (path: V1MyFundrais
40
46
  declare const useV1MyFundraisingAnnouncementsAnnouncementIdImmutable: (path: V1MyFundraisingAnnouncementsAnnouncementIdGetPath, swrConfig?: Configuration<V1MyFundraisingAnnouncementsAnnouncementIdGetResponse>) => {
41
47
  data: {
42
48
  id: number;
43
- thumbnailUrl?: string;
44
49
  title: string | null;
50
+ state: "draft" | "scheduled" | "open";
45
51
  description: string;
46
- state: components["schemas"]["Fundraising_Announcements_AnnouncementState"];
47
- project: components["schemas"]["Fundraising_Announcements_Announcement_project"];
48
52
  audience: "public" | "activeRecurringContributors";
49
- postedAt?: string | null;
50
- updatedAt: string;
51
53
  isEmailNotificationEnabled: boolean;
54
+ project: {
55
+ id: number;
56
+ title: string;
57
+ };
58
+ updatedAt: string;
59
+ postedAt?: string | null | undefined;
60
+ thumbnailUrl?: string | undefined;
52
61
  } | undefined;
53
62
  error: any;
54
63
  mutate: swr.KeyedMutator<{
55
64
  id: number;
56
- thumbnailUrl?: string;
57
65
  title: string | null;
66
+ state: "draft" | "scheduled" | "open";
58
67
  description: string;
59
- state: components["schemas"]["Fundraising_Announcements_AnnouncementState"];
60
- project: components["schemas"]["Fundraising_Announcements_Announcement_project"];
61
68
  audience: "public" | "activeRecurringContributors";
62
- postedAt?: string | null;
63
- updatedAt: string;
64
69
  isEmailNotificationEnabled: boolean;
70
+ project: {
71
+ id: number;
72
+ title: string;
73
+ };
74
+ updatedAt: string;
75
+ postedAt?: string | null | undefined;
76
+ thumbnailUrl?: string | undefined;
65
77
  }>;
66
78
  isValidating: boolean;
67
79
  isLoading: boolean;