@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,55 +1,21 @@
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 { 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
- 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
- }[];
12
+ sentUsers: components["schemas"]["Fundraising_Message_BulkMessage_SentUser"][];
13
+ pagination: components["schemas"]["Fundraising_Pagination"];
31
14
  } | undefined;
32
15
  error: any;
33
16
  mutate: swr.KeyedMutator<{
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
- }[];
17
+ sentUsers: components["schemas"]["Fundraising_Message_BulkMessage_SentUser"][];
18
+ pagination: components["schemas"]["Fundraising_Pagination"];
53
19
  }>;
54
20
  isValidating: boolean;
55
21
  isLoading: boolean;
@@ -57,47 +23,13 @@ declare const useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers: (path: V1MyF
57
23
  };
58
24
  declare const useV1MyFundraisingBulkMessagesBulkMessageIdSentUsersImmutable: (path: V1MyFundraisingBulkMessagesBulkMessageIdSentUsersGetPath, query: V1MyFundraisingBulkMessagesBulkMessageIdSentUsersGetQuery, swrConfig?: Configuration<V1MyFundraisingBulkMessagesBulkMessageIdSentUsersGetResponse>) => {
59
25
  data: {
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
- }[];
26
+ sentUsers: components["schemas"]["Fundraising_Message_BulkMessage_SentUser"][];
27
+ pagination: components["schemas"]["Fundraising_Pagination"];
79
28
  } | undefined;
80
29
  error: any;
81
30
  mutate: swr.KeyedMutator<{
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
- }[];
31
+ sentUsers: components["schemas"]["Fundraising_Message_BulkMessage_SentUser"][];
32
+ pagination: components["schemas"]["Fundraising_Pagination"];
101
33
  }>;
102
34
  isValidating: boolean;
103
35
  isLoading: boolean;
@@ -1,31 +1,27 @@
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 { V1MyFundraisingHeaderGetResponse } from '../fetch/v1MyFundraisingHeader.mjs';
8
8
 
9
9
  declare const useV1MyFundraisingHeader: (swrConfig?: Configuration<V1MyFundraisingHeaderGetResponse>) => {
10
10
  data: {
11
- name: string;
12
- imageUrl: string;
13
11
  userId: number;
14
- notificationCount: {
15
- message: number;
16
- };
12
+ imageUrl: string;
13
+ name: string;
14
+ notificationCount: components["schemas"]["Fundraising_Header_NotificationCount"];
17
15
  hasSpotCrowdfundingProject: boolean;
18
16
  hasSteadyCrowdfundingProject: boolean;
19
17
  hasOpenProject: boolean;
20
18
  } | undefined;
21
19
  error: any;
22
20
  mutate: swr.KeyedMutator<{
23
- name: string;
24
- imageUrl: string;
25
21
  userId: number;
26
- notificationCount: {
27
- message: number;
28
- };
22
+ imageUrl: string;
23
+ name: string;
24
+ notificationCount: components["schemas"]["Fundraising_Header_NotificationCount"];
29
25
  hasSpotCrowdfundingProject: boolean;
30
26
  hasSteadyCrowdfundingProject: boolean;
31
27
  hasOpenProject: boolean;
@@ -36,24 +32,20 @@ declare const useV1MyFundraisingHeader: (swrConfig?: Configuration<V1MyFundraisi
36
32
  };
37
33
  declare const useV1MyFundraisingHeaderImmutable: (swrConfig?: Configuration<V1MyFundraisingHeaderGetResponse>) => {
38
34
  data: {
39
- name: string;
40
- imageUrl: string;
41
35
  userId: number;
42
- notificationCount: {
43
- message: number;
44
- };
36
+ imageUrl: string;
37
+ name: string;
38
+ notificationCount: components["schemas"]["Fundraising_Header_NotificationCount"];
45
39
  hasSpotCrowdfundingProject: boolean;
46
40
  hasSteadyCrowdfundingProject: boolean;
47
41
  hasOpenProject: boolean;
48
42
  } | undefined;
49
43
  error: any;
50
44
  mutate: swr.KeyedMutator<{
51
- name: string;
52
- imageUrl: string;
53
45
  userId: number;
54
- notificationCount: {
55
- message: number;
56
- };
46
+ imageUrl: string;
47
+ name: string;
48
+ notificationCount: components["schemas"]["Fundraising_Header_NotificationCount"];
57
49
  hasSpotCrowdfundingProject: boolean;
58
50
  hasSteadyCrowdfundingProject: boolean;
59
51
  hasOpenProject: boolean;
@@ -1,31 +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';
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 { V1MyFundraisingHeaderGetResponse } from '../fetch/v1MyFundraisingHeader.js';
8
8
 
9
9
  declare const useV1MyFundraisingHeader: (swrConfig?: Configuration<V1MyFundraisingHeaderGetResponse>) => {
10
10
  data: {
11
- name: string;
12
- imageUrl: string;
13
11
  userId: number;
14
- notificationCount: {
15
- message: number;
16
- };
12
+ imageUrl: string;
13
+ name: string;
14
+ notificationCount: components["schemas"]["Fundraising_Header_NotificationCount"];
17
15
  hasSpotCrowdfundingProject: boolean;
18
16
  hasSteadyCrowdfundingProject: boolean;
19
17
  hasOpenProject: boolean;
20
18
  } | undefined;
21
19
  error: any;
22
20
  mutate: swr.KeyedMutator<{
23
- name: string;
24
- imageUrl: string;
25
21
  userId: number;
26
- notificationCount: {
27
- message: number;
28
- };
22
+ imageUrl: string;
23
+ name: string;
24
+ notificationCount: components["schemas"]["Fundraising_Header_NotificationCount"];
29
25
  hasSpotCrowdfundingProject: boolean;
30
26
  hasSteadyCrowdfundingProject: boolean;
31
27
  hasOpenProject: boolean;
@@ -36,24 +32,20 @@ declare const useV1MyFundraisingHeader: (swrConfig?: Configuration<V1MyFundraisi
36
32
  };
37
33
  declare const useV1MyFundraisingHeaderImmutable: (swrConfig?: Configuration<V1MyFundraisingHeaderGetResponse>) => {
38
34
  data: {
39
- name: string;
40
- imageUrl: string;
41
35
  userId: number;
42
- notificationCount: {
43
- message: number;
44
- };
36
+ imageUrl: string;
37
+ name: string;
38
+ notificationCount: components["schemas"]["Fundraising_Header_NotificationCount"];
45
39
  hasSpotCrowdfundingProject: boolean;
46
40
  hasSteadyCrowdfundingProject: boolean;
47
41
  hasOpenProject: boolean;
48
42
  } | undefined;
49
43
  error: any;
50
44
  mutate: swr.KeyedMutator<{
51
- name: string;
52
- imageUrl: string;
53
45
  userId: number;
54
- notificationCount: {
55
- message: number;
56
- };
46
+ imageUrl: string;
47
+ name: string;
48
+ notificationCount: components["schemas"]["Fundraising_Header_NotificationCount"];
57
49
  hasSpotCrowdfundingProject: boolean;
58
50
  hasSteadyCrowdfundingProject: boolean;
59
51
  hasOpenProject: boolean;
@@ -1,38 +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 { 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: {
13
- id: number;
14
- user: {
15
- name: string;
16
- imageUrl: string;
17
- };
18
- latestMessageSentAt: string | null;
19
- latestMessageBody: string | null;
20
- unreadMessageCount: number;
21
- }[];
12
+ messageRooms: components["schemas"]["Fundraising_Message_MessageRoomSummary"][];
22
13
  hasNextRooms: boolean;
23
14
  } | undefined;
24
15
  error: any;
25
16
  mutate: swr.KeyedMutator<{
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
- }[];
17
+ messageRooms: components["schemas"]["Fundraising_Message_MessageRoomSummary"][];
36
18
  hasNextRooms: boolean;
37
19
  }>;
38
20
  isValidating: boolean;
@@ -41,30 +23,12 @@ declare const useV1MyFundraisingMessageRooms: (query: V1MyFundraisingMessageRoom
41
23
  };
42
24
  declare const useV1MyFundraisingMessageRoomsImmutable: (query: V1MyFundraisingMessageRoomsGetQuery, swrConfig?: Configuration<V1MyFundraisingMessageRoomsGetResponse>) => {
43
25
  data: {
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
- }[];
26
+ messageRooms: components["schemas"]["Fundraising_Message_MessageRoomSummary"][];
54
27
  hasNextRooms: boolean;
55
28
  } | undefined;
56
29
  error: any;
57
30
  mutate: swr.KeyedMutator<{
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
- }[];
31
+ messageRooms: components["schemas"]["Fundraising_Message_MessageRoomSummary"][];
68
32
  hasNextRooms: boolean;
69
33
  }>;
70
34
  isValidating: boolean;
@@ -1,38 +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 { 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: {
13
- id: number;
14
- user: {
15
- name: string;
16
- imageUrl: string;
17
- };
18
- latestMessageSentAt: string | null;
19
- latestMessageBody: string | null;
20
- unreadMessageCount: number;
21
- }[];
12
+ messageRooms: components["schemas"]["Fundraising_Message_MessageRoomSummary"][];
22
13
  hasNextRooms: boolean;
23
14
  } | undefined;
24
15
  error: any;
25
16
  mutate: swr.KeyedMutator<{
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
- }[];
17
+ messageRooms: components["schemas"]["Fundraising_Message_MessageRoomSummary"][];
36
18
  hasNextRooms: boolean;
37
19
  }>;
38
20
  isValidating: boolean;
@@ -41,30 +23,12 @@ declare const useV1MyFundraisingMessageRooms: (query: V1MyFundraisingMessageRoom
41
23
  };
42
24
  declare const useV1MyFundraisingMessageRoomsImmutable: (query: V1MyFundraisingMessageRoomsGetQuery, swrConfig?: Configuration<V1MyFundraisingMessageRoomsGetResponse>) => {
43
25
  data: {
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
- }[];
26
+ messageRooms: components["schemas"]["Fundraising_Message_MessageRoomSummary"][];
54
27
  hasNextRooms: boolean;
55
28
  } | undefined;
56
29
  error: any;
57
30
  mutate: swr.KeyedMutator<{
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
- }[];
31
+ messageRooms: components["schemas"]["Fundraising_Message_MessageRoomSummary"][];
68
32
  hasNextRooms: boolean;
69
33
  }>;
70
34
  isValidating: boolean;
@@ -1,37 +1,19 @@
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 { 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: {
13
- id: number;
14
- user: {
15
- id: number;
16
- name: string;
17
- imageUrl: string;
18
- isWithdrawn: boolean;
19
- hasActiveOrder: boolean;
20
- };
21
- };
12
+ messageRoom: components["schemas"]["Fundraising_Message_MessageRoom"];
22
13
  } | undefined;
23
14
  error: any;
24
15
  mutate: swr.KeyedMutator<{
25
- messageRoom: {
26
- id: number;
27
- user: {
28
- id: number;
29
- name: string;
30
- imageUrl: string;
31
- isWithdrawn: boolean;
32
- hasActiveOrder: boolean;
33
- };
34
- };
16
+ messageRoom: components["schemas"]["Fundraising_Message_MessageRoom"];
35
17
  }>;
36
18
  isValidating: boolean;
37
19
  isLoading: boolean;
@@ -39,29 +21,11 @@ declare const useV1MyFundraisingMessageRoomsMessageRoomId: (path: V1MyFundraisin
39
21
  };
40
22
  declare const useV1MyFundraisingMessageRoomsMessageRoomIdImmutable: (path: V1MyFundraisingMessageRoomsMessageRoomIdGetPath, swrConfig?: Configuration<V1MyFundraisingMessageRoomsMessageRoomIdGetResponse>) => {
41
23
  data: {
42
- messageRoom: {
43
- id: number;
44
- user: {
45
- id: number;
46
- name: string;
47
- imageUrl: string;
48
- isWithdrawn: boolean;
49
- hasActiveOrder: boolean;
50
- };
51
- };
24
+ messageRoom: components["schemas"]["Fundraising_Message_MessageRoom"];
52
25
  } | undefined;
53
26
  error: any;
54
27
  mutate: swr.KeyedMutator<{
55
- messageRoom: {
56
- id: number;
57
- user: {
58
- id: number;
59
- name: string;
60
- imageUrl: string;
61
- isWithdrawn: boolean;
62
- hasActiveOrder: boolean;
63
- };
64
- };
28
+ messageRoom: components["schemas"]["Fundraising_Message_MessageRoom"];
65
29
  }>;
66
30
  isValidating: boolean;
67
31
  isLoading: boolean;
@@ -1,37 +1,19 @@
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 { 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: {
13
- id: number;
14
- user: {
15
- id: number;
16
- name: string;
17
- imageUrl: string;
18
- isWithdrawn: boolean;
19
- hasActiveOrder: boolean;
20
- };
21
- };
12
+ messageRoom: components["schemas"]["Fundraising_Message_MessageRoom"];
22
13
  } | undefined;
23
14
  error: any;
24
15
  mutate: swr.KeyedMutator<{
25
- messageRoom: {
26
- id: number;
27
- user: {
28
- id: number;
29
- name: string;
30
- imageUrl: string;
31
- isWithdrawn: boolean;
32
- hasActiveOrder: boolean;
33
- };
34
- };
16
+ messageRoom: components["schemas"]["Fundraising_Message_MessageRoom"];
35
17
  }>;
36
18
  isValidating: boolean;
37
19
  isLoading: boolean;
@@ -39,29 +21,11 @@ declare const useV1MyFundraisingMessageRoomsMessageRoomId: (path: V1MyFundraisin
39
21
  };
40
22
  declare const useV1MyFundraisingMessageRoomsMessageRoomIdImmutable: (path: V1MyFundraisingMessageRoomsMessageRoomIdGetPath, swrConfig?: Configuration<V1MyFundraisingMessageRoomsMessageRoomIdGetResponse>) => {
41
23
  data: {
42
- messageRoom: {
43
- id: number;
44
- user: {
45
- id: number;
46
- name: string;
47
- imageUrl: string;
48
- isWithdrawn: boolean;
49
- hasActiveOrder: boolean;
50
- };
51
- };
24
+ messageRoom: components["schemas"]["Fundraising_Message_MessageRoom"];
52
25
  } | undefined;
53
26
  error: any;
54
27
  mutate: swr.KeyedMutator<{
55
- messageRoom: {
56
- id: number;
57
- user: {
58
- id: number;
59
- name: string;
60
- imageUrl: string;
61
- isWithdrawn: boolean;
62
- hasActiveOrder: boolean;
63
- };
64
- };
28
+ messageRoom: components["schemas"]["Fundraising_Message_MessageRoom"];
65
29
  }>;
66
30
  isValidating: boolean;
67
31
  isLoading: boolean;
@@ -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.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 { 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: ({
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;