@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,21 +1,55 @@
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 { V1MyFundraisingBulkMessagesBulkMessageIdSentUsersGetPath, V1MyFundraisingBulkMessagesBulkMessageIdSentUsersGetQuery, V1MyFundraisingBulkMessagesBulkMessageIdSentUsersGetResponse } from '../fetch/v1MyFundraisingBulkMessagesBulkMessageIdSentUsers.js';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers: (path: V1MyFundraisingBulkMessagesBulkMessageIdSentUsersGetPath, query: V1MyFundraisingBulkMessagesBulkMessageIdSentUsersGetQuery, swrConfig?: Configuration<V1MyFundraisingBulkMessagesBulkMessageIdSentUsersGetResponse>) => {
11
11
  data: {
12
- sentUsers: components["schemas"]["Fundraising_Message_BulkMessage_SentUser"][];
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
+ sentUsers: {
23
+ id: number;
24
+ name: string;
25
+ imageUrl: string;
26
+ email: string | null;
27
+ messageRoom: {
28
+ id: number;
29
+ };
30
+ }[];
14
31
  } | undefined;
15
32
  error: any;
16
33
  mutate: swr.KeyedMutator<{
17
- sentUsers: components["schemas"]["Fundraising_Message_BulkMessage_SentUser"][];
18
- pagination: components["schemas"]["Fundraising_Pagination"];
34
+ pagination: {
35
+ currentPage: number;
36
+ totalCount: number;
37
+ totalPages: number;
38
+ currentPerPage: number;
39
+ isFirstPage: boolean;
40
+ isLastPage: boolean;
41
+ prevPage?: number | undefined;
42
+ nextPage?: number | undefined;
43
+ };
44
+ sentUsers: {
45
+ id: number;
46
+ name: string;
47
+ imageUrl: string;
48
+ email: string | null;
49
+ messageRoom: {
50
+ id: number;
51
+ };
52
+ }[];
19
53
  }>;
20
54
  isValidating: boolean;
21
55
  isLoading: boolean;
@@ -23,13 +57,47 @@ declare const useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers: (path: V1MyF
23
57
  };
24
58
  declare const useV1MyFundraisingBulkMessagesBulkMessageIdSentUsersImmutable: (path: V1MyFundraisingBulkMessagesBulkMessageIdSentUsersGetPath, query: V1MyFundraisingBulkMessagesBulkMessageIdSentUsersGetQuery, swrConfig?: Configuration<V1MyFundraisingBulkMessagesBulkMessageIdSentUsersGetResponse>) => {
25
59
  data: {
26
- sentUsers: components["schemas"]["Fundraising_Message_BulkMessage_SentUser"][];
27
- pagination: components["schemas"]["Fundraising_Pagination"];
60
+ pagination: {
61
+ currentPage: number;
62
+ totalCount: number;
63
+ totalPages: number;
64
+ currentPerPage: number;
65
+ isFirstPage: boolean;
66
+ isLastPage: boolean;
67
+ prevPage?: number | undefined;
68
+ nextPage?: number | undefined;
69
+ };
70
+ sentUsers: {
71
+ id: number;
72
+ name: string;
73
+ imageUrl: string;
74
+ email: string | null;
75
+ messageRoom: {
76
+ id: number;
77
+ };
78
+ }[];
28
79
  } | undefined;
29
80
  error: any;
30
81
  mutate: swr.KeyedMutator<{
31
- sentUsers: components["schemas"]["Fundraising_Message_BulkMessage_SentUser"][];
32
- pagination: components["schemas"]["Fundraising_Pagination"];
82
+ pagination: {
83
+ currentPage: number;
84
+ totalCount: number;
85
+ totalPages: number;
86
+ currentPerPage: number;
87
+ isFirstPage: boolean;
88
+ isLastPage: boolean;
89
+ prevPage?: number | undefined;
90
+ nextPage?: number | undefined;
91
+ };
92
+ sentUsers: {
93
+ id: number;
94
+ name: string;
95
+ imageUrl: string;
96
+ email: string | null;
97
+ messageRoom: {
98
+ id: number;
99
+ };
100
+ }[];
33
101
  }>;
34
102
  isValidating: boolean;
35
103
  isLoading: boolean;
@@ -1,27 +1,31 @@
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 { V1MyFundraisingHeaderGetResponse } from '../fetch/v1MyFundraisingHeader.mjs';
8
8
 
9
9
  declare const useV1MyFundraisingHeader: (swrConfig?: Configuration<V1MyFundraisingHeaderGetResponse>) => {
10
10
  data: {
11
- userId: number;
12
- imageUrl: string;
13
11
  name: string;
14
- notificationCount: components["schemas"]["Fundraising_Header_NotificationCount"];
12
+ imageUrl: string;
13
+ userId: number;
14
+ notificationCount: {
15
+ message: number;
16
+ };
15
17
  hasSpotCrowdfundingProject: boolean;
16
18
  hasSteadyCrowdfundingProject: boolean;
17
19
  hasOpenProject: boolean;
18
20
  } | undefined;
19
21
  error: any;
20
22
  mutate: swr.KeyedMutator<{
21
- userId: number;
22
- imageUrl: string;
23
23
  name: string;
24
- notificationCount: components["schemas"]["Fundraising_Header_NotificationCount"];
24
+ imageUrl: string;
25
+ userId: number;
26
+ notificationCount: {
27
+ message: number;
28
+ };
25
29
  hasSpotCrowdfundingProject: boolean;
26
30
  hasSteadyCrowdfundingProject: boolean;
27
31
  hasOpenProject: boolean;
@@ -32,20 +36,24 @@ declare const useV1MyFundraisingHeader: (swrConfig?: Configuration<V1MyFundraisi
32
36
  };
33
37
  declare const useV1MyFundraisingHeaderImmutable: (swrConfig?: Configuration<V1MyFundraisingHeaderGetResponse>) => {
34
38
  data: {
35
- userId: number;
36
- imageUrl: string;
37
39
  name: string;
38
- notificationCount: components["schemas"]["Fundraising_Header_NotificationCount"];
40
+ imageUrl: string;
41
+ userId: number;
42
+ notificationCount: {
43
+ message: number;
44
+ };
39
45
  hasSpotCrowdfundingProject: boolean;
40
46
  hasSteadyCrowdfundingProject: boolean;
41
47
  hasOpenProject: boolean;
42
48
  } | undefined;
43
49
  error: any;
44
50
  mutate: swr.KeyedMutator<{
45
- userId: number;
46
- imageUrl: string;
47
51
  name: string;
48
- notificationCount: components["schemas"]["Fundraising_Header_NotificationCount"];
52
+ imageUrl: string;
53
+ userId: number;
54
+ notificationCount: {
55
+ message: number;
56
+ };
49
57
  hasSpotCrowdfundingProject: boolean;
50
58
  hasSteadyCrowdfundingProject: boolean;
51
59
  hasOpenProject: boolean;
@@ -1,27 +1,31 @@
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 { V1MyFundraisingHeaderGetResponse } from '../fetch/v1MyFundraisingHeader.js';
8
8
 
9
9
  declare const useV1MyFundraisingHeader: (swrConfig?: Configuration<V1MyFundraisingHeaderGetResponse>) => {
10
10
  data: {
11
- userId: number;
12
- imageUrl: string;
13
11
  name: string;
14
- notificationCount: components["schemas"]["Fundraising_Header_NotificationCount"];
12
+ imageUrl: string;
13
+ userId: number;
14
+ notificationCount: {
15
+ message: number;
16
+ };
15
17
  hasSpotCrowdfundingProject: boolean;
16
18
  hasSteadyCrowdfundingProject: boolean;
17
19
  hasOpenProject: boolean;
18
20
  } | undefined;
19
21
  error: any;
20
22
  mutate: swr.KeyedMutator<{
21
- userId: number;
22
- imageUrl: string;
23
23
  name: string;
24
- notificationCount: components["schemas"]["Fundraising_Header_NotificationCount"];
24
+ imageUrl: string;
25
+ userId: number;
26
+ notificationCount: {
27
+ message: number;
28
+ };
25
29
  hasSpotCrowdfundingProject: boolean;
26
30
  hasSteadyCrowdfundingProject: boolean;
27
31
  hasOpenProject: boolean;
@@ -32,20 +36,24 @@ declare const useV1MyFundraisingHeader: (swrConfig?: Configuration<V1MyFundraisi
32
36
  };
33
37
  declare const useV1MyFundraisingHeaderImmutable: (swrConfig?: Configuration<V1MyFundraisingHeaderGetResponse>) => {
34
38
  data: {
35
- userId: number;
36
- imageUrl: string;
37
39
  name: string;
38
- notificationCount: components["schemas"]["Fundraising_Header_NotificationCount"];
40
+ imageUrl: string;
41
+ userId: number;
42
+ notificationCount: {
43
+ message: number;
44
+ };
39
45
  hasSpotCrowdfundingProject: boolean;
40
46
  hasSteadyCrowdfundingProject: boolean;
41
47
  hasOpenProject: boolean;
42
48
  } | undefined;
43
49
  error: any;
44
50
  mutate: swr.KeyedMutator<{
45
- userId: number;
46
- imageUrl: string;
47
51
  name: string;
48
- notificationCount: components["schemas"]["Fundraising_Header_NotificationCount"];
52
+ imageUrl: string;
53
+ userId: number;
54
+ notificationCount: {
55
+ message: number;
56
+ };
49
57
  hasSpotCrowdfundingProject: boolean;
50
58
  hasSteadyCrowdfundingProject: boolean;
51
59
  hasOpenProject: boolean;
@@ -1,20 +1,38 @@
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 { V1MyFundraisingMessageRoomsGetQuery, V1MyFundraisingMessageRoomsGetResponse } from '../fetch/v1MyFundraisingMessageRooms.mjs';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1MyFundraisingMessageRooms: (query: V1MyFundraisingMessageRoomsGetQuery, swrConfig?: Configuration<V1MyFundraisingMessageRoomsGetResponse>) => {
11
11
  data: {
12
- messageRooms: components["schemas"]["Fundraising_Message_MessageRoomSummary"][];
12
+ messageRooms: {
13
+ id: number;
14
+ user: {
15
+ name: string;
16
+ imageUrl: string;
17
+ };
18
+ latestMessageSentAt: string | null;
19
+ latestMessageBody: string | null;
20
+ unreadMessageCount: number;
21
+ }[];
13
22
  hasNextRooms: boolean;
14
23
  } | undefined;
15
24
  error: any;
16
25
  mutate: swr.KeyedMutator<{
17
- messageRooms: components["schemas"]["Fundraising_Message_MessageRoomSummary"][];
26
+ messageRooms: {
27
+ id: number;
28
+ user: {
29
+ name: string;
30
+ imageUrl: string;
31
+ };
32
+ latestMessageSentAt: string | null;
33
+ latestMessageBody: string | null;
34
+ unreadMessageCount: number;
35
+ }[];
18
36
  hasNextRooms: boolean;
19
37
  }>;
20
38
  isValidating: boolean;
@@ -23,12 +41,30 @@ declare const useV1MyFundraisingMessageRooms: (query: V1MyFundraisingMessageRoom
23
41
  };
24
42
  declare const useV1MyFundraisingMessageRoomsImmutable: (query: V1MyFundraisingMessageRoomsGetQuery, swrConfig?: Configuration<V1MyFundraisingMessageRoomsGetResponse>) => {
25
43
  data: {
26
- messageRooms: components["schemas"]["Fundraising_Message_MessageRoomSummary"][];
44
+ messageRooms: {
45
+ id: number;
46
+ user: {
47
+ name: string;
48
+ imageUrl: string;
49
+ };
50
+ latestMessageSentAt: string | null;
51
+ latestMessageBody: string | null;
52
+ unreadMessageCount: number;
53
+ }[];
27
54
  hasNextRooms: boolean;
28
55
  } | undefined;
29
56
  error: any;
30
57
  mutate: swr.KeyedMutator<{
31
- messageRooms: components["schemas"]["Fundraising_Message_MessageRoomSummary"][];
58
+ messageRooms: {
59
+ id: number;
60
+ user: {
61
+ name: string;
62
+ imageUrl: string;
63
+ };
64
+ latestMessageSentAt: string | null;
65
+ latestMessageBody: string | null;
66
+ unreadMessageCount: number;
67
+ }[];
32
68
  hasNextRooms: boolean;
33
69
  }>;
34
70
  isValidating: boolean;
@@ -1,20 +1,38 @@
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 { V1MyFundraisingMessageRoomsGetQuery, V1MyFundraisingMessageRoomsGetResponse } from '../fetch/v1MyFundraisingMessageRooms.js';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1MyFundraisingMessageRooms: (query: V1MyFundraisingMessageRoomsGetQuery, swrConfig?: Configuration<V1MyFundraisingMessageRoomsGetResponse>) => {
11
11
  data: {
12
- messageRooms: components["schemas"]["Fundraising_Message_MessageRoomSummary"][];
12
+ messageRooms: {
13
+ id: number;
14
+ user: {
15
+ name: string;
16
+ imageUrl: string;
17
+ };
18
+ latestMessageSentAt: string | null;
19
+ latestMessageBody: string | null;
20
+ unreadMessageCount: number;
21
+ }[];
13
22
  hasNextRooms: boolean;
14
23
  } | undefined;
15
24
  error: any;
16
25
  mutate: swr.KeyedMutator<{
17
- messageRooms: components["schemas"]["Fundraising_Message_MessageRoomSummary"][];
26
+ messageRooms: {
27
+ id: number;
28
+ user: {
29
+ name: string;
30
+ imageUrl: string;
31
+ };
32
+ latestMessageSentAt: string | null;
33
+ latestMessageBody: string | null;
34
+ unreadMessageCount: number;
35
+ }[];
18
36
  hasNextRooms: boolean;
19
37
  }>;
20
38
  isValidating: boolean;
@@ -23,12 +41,30 @@ declare const useV1MyFundraisingMessageRooms: (query: V1MyFundraisingMessageRoom
23
41
  };
24
42
  declare const useV1MyFundraisingMessageRoomsImmutable: (query: V1MyFundraisingMessageRoomsGetQuery, swrConfig?: Configuration<V1MyFundraisingMessageRoomsGetResponse>) => {
25
43
  data: {
26
- messageRooms: components["schemas"]["Fundraising_Message_MessageRoomSummary"][];
44
+ messageRooms: {
45
+ id: number;
46
+ user: {
47
+ name: string;
48
+ imageUrl: string;
49
+ };
50
+ latestMessageSentAt: string | null;
51
+ latestMessageBody: string | null;
52
+ unreadMessageCount: number;
53
+ }[];
27
54
  hasNextRooms: boolean;
28
55
  } | undefined;
29
56
  error: any;
30
57
  mutate: swr.KeyedMutator<{
31
- messageRooms: components["schemas"]["Fundraising_Message_MessageRoomSummary"][];
58
+ messageRooms: {
59
+ id: number;
60
+ user: {
61
+ name: string;
62
+ imageUrl: string;
63
+ };
64
+ latestMessageSentAt: string | null;
65
+ latestMessageBody: string | null;
66
+ unreadMessageCount: number;
67
+ }[];
32
68
  hasNextRooms: boolean;
33
69
  }>;
34
70
  isValidating: boolean;
@@ -1,19 +1,37 @@
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 { V1MyFundraisingMessageRoomsMessageRoomIdGetPath, V1MyFundraisingMessageRoomsMessageRoomIdGetResponse } from '../fetch/v1MyFundraisingMessageRoomsMessageRoomId.mjs';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1MyFundraisingMessageRoomsMessageRoomId: (path: V1MyFundraisingMessageRoomsMessageRoomIdGetPath, swrConfig?: Configuration<V1MyFundraisingMessageRoomsMessageRoomIdGetResponse>) => {
11
11
  data: {
12
- messageRoom: components["schemas"]["Fundraising_Message_MessageRoom"];
12
+ messageRoom: {
13
+ id: number;
14
+ user: {
15
+ id: number;
16
+ name: string;
17
+ imageUrl: string;
18
+ isWithdrawn: boolean;
19
+ hasActiveOrder: boolean;
20
+ };
21
+ };
13
22
  } | undefined;
14
23
  error: any;
15
24
  mutate: swr.KeyedMutator<{
16
- messageRoom: components["schemas"]["Fundraising_Message_MessageRoom"];
25
+ messageRoom: {
26
+ id: number;
27
+ user: {
28
+ id: number;
29
+ name: string;
30
+ imageUrl: string;
31
+ isWithdrawn: boolean;
32
+ hasActiveOrder: boolean;
33
+ };
34
+ };
17
35
  }>;
18
36
  isValidating: boolean;
19
37
  isLoading: boolean;
@@ -21,11 +39,29 @@ declare const useV1MyFundraisingMessageRoomsMessageRoomId: (path: V1MyFundraisin
21
39
  };
22
40
  declare const useV1MyFundraisingMessageRoomsMessageRoomIdImmutable: (path: V1MyFundraisingMessageRoomsMessageRoomIdGetPath, swrConfig?: Configuration<V1MyFundraisingMessageRoomsMessageRoomIdGetResponse>) => {
23
41
  data: {
24
- messageRoom: components["schemas"]["Fundraising_Message_MessageRoom"];
42
+ messageRoom: {
43
+ id: number;
44
+ user: {
45
+ id: number;
46
+ name: string;
47
+ imageUrl: string;
48
+ isWithdrawn: boolean;
49
+ hasActiveOrder: boolean;
50
+ };
51
+ };
25
52
  } | undefined;
26
53
  error: any;
27
54
  mutate: swr.KeyedMutator<{
28
- messageRoom: components["schemas"]["Fundraising_Message_MessageRoom"];
55
+ messageRoom: {
56
+ id: number;
57
+ user: {
58
+ id: number;
59
+ name: string;
60
+ imageUrl: string;
61
+ isWithdrawn: boolean;
62
+ hasActiveOrder: boolean;
63
+ };
64
+ };
29
65
  }>;
30
66
  isValidating: boolean;
31
67
  isLoading: boolean;
@@ -1,19 +1,37 @@
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 { V1MyFundraisingMessageRoomsMessageRoomIdGetPath, V1MyFundraisingMessageRoomsMessageRoomIdGetResponse } from '../fetch/v1MyFundraisingMessageRoomsMessageRoomId.js';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1MyFundraisingMessageRoomsMessageRoomId: (path: V1MyFundraisingMessageRoomsMessageRoomIdGetPath, swrConfig?: Configuration<V1MyFundraisingMessageRoomsMessageRoomIdGetResponse>) => {
11
11
  data: {
12
- messageRoom: components["schemas"]["Fundraising_Message_MessageRoom"];
12
+ messageRoom: {
13
+ id: number;
14
+ user: {
15
+ id: number;
16
+ name: string;
17
+ imageUrl: string;
18
+ isWithdrawn: boolean;
19
+ hasActiveOrder: boolean;
20
+ };
21
+ };
13
22
  } | undefined;
14
23
  error: any;
15
24
  mutate: swr.KeyedMutator<{
16
- messageRoom: components["schemas"]["Fundraising_Message_MessageRoom"];
25
+ messageRoom: {
26
+ id: number;
27
+ user: {
28
+ id: number;
29
+ name: string;
30
+ imageUrl: string;
31
+ isWithdrawn: boolean;
32
+ hasActiveOrder: boolean;
33
+ };
34
+ };
17
35
  }>;
18
36
  isValidating: boolean;
19
37
  isLoading: boolean;
@@ -21,11 +39,29 @@ declare const useV1MyFundraisingMessageRoomsMessageRoomId: (path: V1MyFundraisin
21
39
  };
22
40
  declare const useV1MyFundraisingMessageRoomsMessageRoomIdImmutable: (path: V1MyFundraisingMessageRoomsMessageRoomIdGetPath, swrConfig?: Configuration<V1MyFundraisingMessageRoomsMessageRoomIdGetResponse>) => {
23
41
  data: {
24
- messageRoom: components["schemas"]["Fundraising_Message_MessageRoom"];
42
+ messageRoom: {
43
+ id: number;
44
+ user: {
45
+ id: number;
46
+ name: string;
47
+ imageUrl: string;
48
+ isWithdrawn: boolean;
49
+ hasActiveOrder: boolean;
50
+ };
51
+ };
25
52
  } | undefined;
26
53
  error: any;
27
54
  mutate: swr.KeyedMutator<{
28
- messageRoom: components["schemas"]["Fundraising_Message_MessageRoom"];
55
+ messageRoom: {
56
+ id: number;
57
+ user: {
58
+ id: number;
59
+ name: string;
60
+ imageUrl: string;
61
+ isWithdrawn: boolean;
62
+ hasActiveOrder: boolean;
63
+ };
64
+ };
29
65
  }>;
30
66
  isValidating: boolean;
31
67
  isLoading: boolean;
@@ -1,20 +1,62 @@
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 { V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetPath, V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetQuery, V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetResponse } from '../fetch/v1MyFundraisingMessageRoomsMessageRoomIdMessages.mjs';
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: components["schemas"]["Fundraising_Message_Message"][];
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
+ })[];
13
34
  hasNextMessages: boolean;
14
35
  } | undefined;
15
36
  error: any;
16
37
  mutate: swr.KeyedMutator<{
17
- messages: components["schemas"]["Fundraising_Message_Message"][];
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
+ })[];
18
60
  hasNextMessages: boolean;
19
61
  }>;
20
62
  isValidating: boolean;
@@ -23,12 +65,54 @@ declare const useV1MyFundraisingMessageRoomsMessageRoomIdMessages: (path: V1MyFu
23
65
  };
24
66
  declare const useV1MyFundraisingMessageRoomsMessageRoomIdMessagesImmutable: (path: V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetPath, query: V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetQuery, swrConfig?: Configuration<V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetResponse>) => {
25
67
  data: {
26
- messages: components["schemas"]["Fundraising_Message_Message"][];
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
+ })[];
27
90
  hasNextMessages: boolean;
28
91
  } | undefined;
29
92
  error: any;
30
93
  mutate: swr.KeyedMutator<{
31
- messages: components["schemas"]["Fundraising_Message_Message"][];
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
+ })[];
32
116
  hasNextMessages: boolean;
33
117
  }>;
34
118
  isValidating: boolean;