@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
@@ -63,8 +63,8 @@ export { useV1EngagementTagsTagKeyword, useV1EngagementTagsTagKeywordImmutable,
63
63
  export { useV1EngagementTagsTagKeywordProjects, useV1EngagementTagsTagKeywordProjectsImmutable, useV1EngagementTagsTagKeywordProjectsInfinite } from './useV1EngagementTagsTagKeywordProjects.mjs';
64
64
  export { useV1MyEngagementFavoriteTags, useV1MyEngagementFavoriteTagsImmutable, useV1MyEngagementFavoriteTagsInfinite } from './useV1MyEngagementFavoriteTags.mjs';
65
65
  import 'swr/infinite';
66
- import 'swr';
67
66
  import '../schemaType.mjs';
67
+ import 'swr';
68
68
  import '@readyfor/api-client-base/react';
69
69
  import '../fetch/v1ResourcesCommonHeader.mjs';
70
70
  import '../fetch/v1ProjectsProjectIdComments.mjs';
@@ -63,8 +63,8 @@ export { useV1EngagementTagsTagKeyword, useV1EngagementTagsTagKeywordImmutable,
63
63
  export { useV1EngagementTagsTagKeywordProjects, useV1EngagementTagsTagKeywordProjectsImmutable, useV1EngagementTagsTagKeywordProjectsInfinite } from './useV1EngagementTagsTagKeywordProjects.js';
64
64
  export { useV1MyEngagementFavoriteTags, useV1MyEngagementFavoriteTagsImmutable, useV1MyEngagementFavoriteTagsInfinite } from './useV1MyEngagementFavoriteTags.js';
65
65
  import 'swr/infinite';
66
- import 'swr';
67
66
  import '../schemaType.js';
67
+ import 'swr';
68
68
  import '@readyfor/api-client-base/react';
69
69
  import '../fetch/v1ResourcesCommonHeader.js';
70
70
  import '../fetch/v1ProjectsProjectIdComments.js';
@@ -9,15 +9,15 @@ import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1BanksSearch: (query: V1BanksSearchGetQuery, swrConfig?: Configuration<V1BanksSearchGetResponse>) => {
11
11
  data: {
12
+ value: string;
12
13
  code: string;
13
14
  name: string;
14
- value: string;
15
15
  }[] | undefined;
16
16
  error: any;
17
17
  mutate: swr.KeyedMutator<{
18
+ value: string;
18
19
  code: string;
19
20
  name: string;
20
- value: string;
21
21
  }[]>;
22
22
  isValidating: boolean;
23
23
  isLoading: boolean;
@@ -25,15 +25,15 @@ declare const useV1BanksSearch: (query: V1BanksSearchGetQuery, swrConfig?: Confi
25
25
  };
26
26
  declare const useV1BanksSearchImmutable: (query: V1BanksSearchGetQuery, swrConfig?: Configuration<V1BanksSearchGetResponse>) => {
27
27
  data: {
28
+ value: string;
28
29
  code: string;
29
30
  name: string;
30
- value: string;
31
31
  }[] | undefined;
32
32
  error: any;
33
33
  mutate: swr.KeyedMutator<{
34
+ value: string;
34
35
  code: string;
35
36
  name: string;
36
- value: string;
37
37
  }[]>;
38
38
  isValidating: boolean;
39
39
  isLoading: boolean;
@@ -9,15 +9,15 @@ import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1BanksSearch: (query: V1BanksSearchGetQuery, swrConfig?: Configuration<V1BanksSearchGetResponse>) => {
11
11
  data: {
12
+ value: string;
12
13
  code: string;
13
14
  name: string;
14
- value: string;
15
15
  }[] | undefined;
16
16
  error: any;
17
17
  mutate: swr.KeyedMutator<{
18
+ value: string;
18
19
  code: string;
19
20
  name: string;
20
- value: string;
21
21
  }[]>;
22
22
  isValidating: boolean;
23
23
  isLoading: boolean;
@@ -25,15 +25,15 @@ declare const useV1BanksSearch: (query: V1BanksSearchGetQuery, swrConfig?: Confi
25
25
  };
26
26
  declare const useV1BanksSearchImmutable: (query: V1BanksSearchGetQuery, swrConfig?: Configuration<V1BanksSearchGetResponse>) => {
27
27
  data: {
28
+ value: string;
28
29
  code: string;
29
30
  name: string;
30
- value: string;
31
31
  }[] | undefined;
32
32
  error: any;
33
33
  mutate: swr.KeyedMutator<{
34
+ value: string;
34
35
  code: string;
35
36
  name: string;
36
- value: string;
37
37
  }[]>;
38
38
  isValidating: boolean;
39
39
  isLoading: boolean;
@@ -9,15 +9,15 @@ import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1BranchesSearch: (query: V1BranchesSearchGetQuery, swrConfig?: Configuration<V1BranchesSearchGetResponse>) => {
11
11
  data: {
12
+ value: number;
12
13
  code: string;
13
14
  name: string;
14
- value: number;
15
15
  }[] | undefined;
16
16
  error: any;
17
17
  mutate: swr.KeyedMutator<{
18
+ value: number;
18
19
  code: string;
19
20
  name: string;
20
- value: number;
21
21
  }[]>;
22
22
  isValidating: boolean;
23
23
  isLoading: boolean;
@@ -25,15 +25,15 @@ declare const useV1BranchesSearch: (query: V1BranchesSearchGetQuery, swrConfig?:
25
25
  };
26
26
  declare const useV1BranchesSearchImmutable: (query: V1BranchesSearchGetQuery, swrConfig?: Configuration<V1BranchesSearchGetResponse>) => {
27
27
  data: {
28
+ value: number;
28
29
  code: string;
29
30
  name: string;
30
- value: number;
31
31
  }[] | undefined;
32
32
  error: any;
33
33
  mutate: swr.KeyedMutator<{
34
+ value: number;
34
35
  code: string;
35
36
  name: string;
36
- value: number;
37
37
  }[]>;
38
38
  isValidating: boolean;
39
39
  isLoading: boolean;
@@ -9,15 +9,15 @@ import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1BranchesSearch: (query: V1BranchesSearchGetQuery, swrConfig?: Configuration<V1BranchesSearchGetResponse>) => {
11
11
  data: {
12
+ value: number;
12
13
  code: string;
13
14
  name: string;
14
- value: number;
15
15
  }[] | undefined;
16
16
  error: any;
17
17
  mutate: swr.KeyedMutator<{
18
+ value: number;
18
19
  code: string;
19
20
  name: string;
20
- value: number;
21
21
  }[]>;
22
22
  isValidating: boolean;
23
23
  isLoading: boolean;
@@ -25,15 +25,15 @@ declare const useV1BranchesSearch: (query: V1BranchesSearchGetQuery, swrConfig?:
25
25
  };
26
26
  declare const useV1BranchesSearchImmutable: (query: V1BranchesSearchGetQuery, swrConfig?: Configuration<V1BranchesSearchGetResponse>) => {
27
27
  data: {
28
+ value: number;
28
29
  code: string;
29
30
  name: string;
30
- value: number;
31
31
  }[] | undefined;
32
32
  error: any;
33
33
  mutate: swr.KeyedMutator<{
34
+ value: number;
34
35
  code: string;
35
36
  name: string;
36
- value: number;
37
37
  }[]>;
38
38
  isValidating: boolean;
39
39
  isLoading: boolean;
@@ -1,21 +1,89 @@
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 { V1EngagementProjectsGetQuery, V1EngagementProjectsGetResponse } from '../fetch/v1EngagementProjects.mjs';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1EngagementProjects: (query: V1EngagementProjectsGetQuery, swrConfig?: Configuration<V1EngagementProjectsGetResponse>) => {
11
11
  data: {
12
- projects: components["schemas"]["Engagement_Projects_inner"][];
13
- pagination: components["schemas"]["Engagement_Projects_Pagination"];
12
+ projects: {
13
+ imageUrl: string;
14
+ title: string;
15
+ projectId: number;
16
+ fundingModel: "regularSteady" | "featuredSteady" | "allOrNothing" | "keepItAll";
17
+ projectKeyword: string;
18
+ projectState: "none" | "new" | "unsuccessful" | "successful" | "achieved" | "nextGoal";
19
+ userProfile: {
20
+ userImageUrl: string;
21
+ userFullName: string;
22
+ userDisplayName: string;
23
+ };
24
+ tagName: string;
25
+ isCommunityProject: boolean;
26
+ gauge: {
27
+ isStretchGoalDisplayed: boolean;
28
+ fundedPercent: number | null;
29
+ progressRate1st: number | null;
30
+ progressRate2nd: number | null;
31
+ };
32
+ projectCondition: {
33
+ amountLabel: string | null;
34
+ amountValue: number | null;
35
+ countLabel: string | null;
36
+ countValue: number | null;
37
+ permanentCountLabel: string | null;
38
+ permanentCountValue: number | null;
39
+ expiryDateLabel: string | null;
40
+ expiryDateValue: string | null;
41
+ };
42
+ }[];
43
+ pagination: {
44
+ currentPage: number;
45
+ perPage: number;
46
+ totalCount: number;
47
+ };
14
48
  } | undefined;
15
49
  error: any;
16
50
  mutate: swr.KeyedMutator<{
17
- projects: components["schemas"]["Engagement_Projects_inner"][];
18
- pagination: components["schemas"]["Engagement_Projects_Pagination"];
51
+ projects: {
52
+ imageUrl: string;
53
+ title: string;
54
+ projectId: number;
55
+ fundingModel: "regularSteady" | "featuredSteady" | "allOrNothing" | "keepItAll";
56
+ projectKeyword: string;
57
+ projectState: "none" | "new" | "unsuccessful" | "successful" | "achieved" | "nextGoal";
58
+ userProfile: {
59
+ userImageUrl: string;
60
+ userFullName: string;
61
+ userDisplayName: string;
62
+ };
63
+ tagName: string;
64
+ isCommunityProject: boolean;
65
+ gauge: {
66
+ isStretchGoalDisplayed: boolean;
67
+ fundedPercent: number | null;
68
+ progressRate1st: number | null;
69
+ progressRate2nd: number | null;
70
+ };
71
+ projectCondition: {
72
+ amountLabel: string | null;
73
+ amountValue: number | null;
74
+ countLabel: string | null;
75
+ countValue: number | null;
76
+ permanentCountLabel: string | null;
77
+ permanentCountValue: number | null;
78
+ expiryDateLabel: string | null;
79
+ expiryDateValue: string | null;
80
+ };
81
+ }[];
82
+ pagination: {
83
+ currentPage: number;
84
+ perPage: number;
85
+ totalCount: number;
86
+ };
19
87
  }>;
20
88
  isValidating: boolean;
21
89
  isLoading: boolean;
@@ -23,13 +91,81 @@ declare const useV1EngagementProjects: (query: V1EngagementProjectsGetQuery, swr
23
91
  };
24
92
  declare const useV1EngagementProjectsImmutable: (query: V1EngagementProjectsGetQuery, swrConfig?: Configuration<V1EngagementProjectsGetResponse>) => {
25
93
  data: {
26
- projects: components["schemas"]["Engagement_Projects_inner"][];
27
- pagination: components["schemas"]["Engagement_Projects_Pagination"];
94
+ projects: {
95
+ imageUrl: string;
96
+ title: string;
97
+ projectId: number;
98
+ fundingModel: "regularSteady" | "featuredSteady" | "allOrNothing" | "keepItAll";
99
+ projectKeyword: string;
100
+ projectState: "none" | "new" | "unsuccessful" | "successful" | "achieved" | "nextGoal";
101
+ userProfile: {
102
+ userImageUrl: string;
103
+ userFullName: string;
104
+ userDisplayName: string;
105
+ };
106
+ tagName: string;
107
+ isCommunityProject: boolean;
108
+ gauge: {
109
+ isStretchGoalDisplayed: boolean;
110
+ fundedPercent: number | null;
111
+ progressRate1st: number | null;
112
+ progressRate2nd: number | null;
113
+ };
114
+ projectCondition: {
115
+ amountLabel: string | null;
116
+ amountValue: number | null;
117
+ countLabel: string | null;
118
+ countValue: number | null;
119
+ permanentCountLabel: string | null;
120
+ permanentCountValue: number | null;
121
+ expiryDateLabel: string | null;
122
+ expiryDateValue: string | null;
123
+ };
124
+ }[];
125
+ pagination: {
126
+ currentPage: number;
127
+ perPage: number;
128
+ totalCount: number;
129
+ };
28
130
  } | undefined;
29
131
  error: any;
30
132
  mutate: swr.KeyedMutator<{
31
- projects: components["schemas"]["Engagement_Projects_inner"][];
32
- pagination: components["schemas"]["Engagement_Projects_Pagination"];
133
+ projects: {
134
+ imageUrl: string;
135
+ title: string;
136
+ projectId: number;
137
+ fundingModel: "regularSteady" | "featuredSteady" | "allOrNothing" | "keepItAll";
138
+ projectKeyword: string;
139
+ projectState: "none" | "new" | "unsuccessful" | "successful" | "achieved" | "nextGoal";
140
+ userProfile: {
141
+ userImageUrl: string;
142
+ userFullName: string;
143
+ userDisplayName: string;
144
+ };
145
+ tagName: string;
146
+ isCommunityProject: boolean;
147
+ gauge: {
148
+ isStretchGoalDisplayed: boolean;
149
+ fundedPercent: number | null;
150
+ progressRate1st: number | null;
151
+ progressRate2nd: number | null;
152
+ };
153
+ projectCondition: {
154
+ amountLabel: string | null;
155
+ amountValue: number | null;
156
+ countLabel: string | null;
157
+ countValue: number | null;
158
+ permanentCountLabel: string | null;
159
+ permanentCountValue: number | null;
160
+ expiryDateLabel: string | null;
161
+ expiryDateValue: string | null;
162
+ };
163
+ }[];
164
+ pagination: {
165
+ currentPage: number;
166
+ perPage: number;
167
+ totalCount: number;
168
+ };
33
169
  }>;
34
170
  isValidating: boolean;
35
171
  isLoading: boolean;
@@ -1,21 +1,89 @@
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 { V1EngagementProjectsGetQuery, V1EngagementProjectsGetResponse } from '../fetch/v1EngagementProjects.js';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1EngagementProjects: (query: V1EngagementProjectsGetQuery, swrConfig?: Configuration<V1EngagementProjectsGetResponse>) => {
11
11
  data: {
12
- projects: components["schemas"]["Engagement_Projects_inner"][];
13
- pagination: components["schemas"]["Engagement_Projects_Pagination"];
12
+ projects: {
13
+ imageUrl: string;
14
+ title: string;
15
+ projectId: number;
16
+ fundingModel: "regularSteady" | "featuredSteady" | "allOrNothing" | "keepItAll";
17
+ projectKeyword: string;
18
+ projectState: "none" | "new" | "unsuccessful" | "successful" | "achieved" | "nextGoal";
19
+ userProfile: {
20
+ userImageUrl: string;
21
+ userFullName: string;
22
+ userDisplayName: string;
23
+ };
24
+ tagName: string;
25
+ isCommunityProject: boolean;
26
+ gauge: {
27
+ isStretchGoalDisplayed: boolean;
28
+ fundedPercent: number | null;
29
+ progressRate1st: number | null;
30
+ progressRate2nd: number | null;
31
+ };
32
+ projectCondition: {
33
+ amountLabel: string | null;
34
+ amountValue: number | null;
35
+ countLabel: string | null;
36
+ countValue: number | null;
37
+ permanentCountLabel: string | null;
38
+ permanentCountValue: number | null;
39
+ expiryDateLabel: string | null;
40
+ expiryDateValue: string | null;
41
+ };
42
+ }[];
43
+ pagination: {
44
+ currentPage: number;
45
+ perPage: number;
46
+ totalCount: number;
47
+ };
14
48
  } | undefined;
15
49
  error: any;
16
50
  mutate: swr.KeyedMutator<{
17
- projects: components["schemas"]["Engagement_Projects_inner"][];
18
- pagination: components["schemas"]["Engagement_Projects_Pagination"];
51
+ projects: {
52
+ imageUrl: string;
53
+ title: string;
54
+ projectId: number;
55
+ fundingModel: "regularSteady" | "featuredSteady" | "allOrNothing" | "keepItAll";
56
+ projectKeyword: string;
57
+ projectState: "none" | "new" | "unsuccessful" | "successful" | "achieved" | "nextGoal";
58
+ userProfile: {
59
+ userImageUrl: string;
60
+ userFullName: string;
61
+ userDisplayName: string;
62
+ };
63
+ tagName: string;
64
+ isCommunityProject: boolean;
65
+ gauge: {
66
+ isStretchGoalDisplayed: boolean;
67
+ fundedPercent: number | null;
68
+ progressRate1st: number | null;
69
+ progressRate2nd: number | null;
70
+ };
71
+ projectCondition: {
72
+ amountLabel: string | null;
73
+ amountValue: number | null;
74
+ countLabel: string | null;
75
+ countValue: number | null;
76
+ permanentCountLabel: string | null;
77
+ permanentCountValue: number | null;
78
+ expiryDateLabel: string | null;
79
+ expiryDateValue: string | null;
80
+ };
81
+ }[];
82
+ pagination: {
83
+ currentPage: number;
84
+ perPage: number;
85
+ totalCount: number;
86
+ };
19
87
  }>;
20
88
  isValidating: boolean;
21
89
  isLoading: boolean;
@@ -23,13 +91,81 @@ declare const useV1EngagementProjects: (query: V1EngagementProjectsGetQuery, swr
23
91
  };
24
92
  declare const useV1EngagementProjectsImmutable: (query: V1EngagementProjectsGetQuery, swrConfig?: Configuration<V1EngagementProjectsGetResponse>) => {
25
93
  data: {
26
- projects: components["schemas"]["Engagement_Projects_inner"][];
27
- pagination: components["schemas"]["Engagement_Projects_Pagination"];
94
+ projects: {
95
+ imageUrl: string;
96
+ title: string;
97
+ projectId: number;
98
+ fundingModel: "regularSteady" | "featuredSteady" | "allOrNothing" | "keepItAll";
99
+ projectKeyword: string;
100
+ projectState: "none" | "new" | "unsuccessful" | "successful" | "achieved" | "nextGoal";
101
+ userProfile: {
102
+ userImageUrl: string;
103
+ userFullName: string;
104
+ userDisplayName: string;
105
+ };
106
+ tagName: string;
107
+ isCommunityProject: boolean;
108
+ gauge: {
109
+ isStretchGoalDisplayed: boolean;
110
+ fundedPercent: number | null;
111
+ progressRate1st: number | null;
112
+ progressRate2nd: number | null;
113
+ };
114
+ projectCondition: {
115
+ amountLabel: string | null;
116
+ amountValue: number | null;
117
+ countLabel: string | null;
118
+ countValue: number | null;
119
+ permanentCountLabel: string | null;
120
+ permanentCountValue: number | null;
121
+ expiryDateLabel: string | null;
122
+ expiryDateValue: string | null;
123
+ };
124
+ }[];
125
+ pagination: {
126
+ currentPage: number;
127
+ perPage: number;
128
+ totalCount: number;
129
+ };
28
130
  } | undefined;
29
131
  error: any;
30
132
  mutate: swr.KeyedMutator<{
31
- projects: components["schemas"]["Engagement_Projects_inner"][];
32
- pagination: components["schemas"]["Engagement_Projects_Pagination"];
133
+ projects: {
134
+ imageUrl: string;
135
+ title: string;
136
+ projectId: number;
137
+ fundingModel: "regularSteady" | "featuredSteady" | "allOrNothing" | "keepItAll";
138
+ projectKeyword: string;
139
+ projectState: "none" | "new" | "unsuccessful" | "successful" | "achieved" | "nextGoal";
140
+ userProfile: {
141
+ userImageUrl: string;
142
+ userFullName: string;
143
+ userDisplayName: string;
144
+ };
145
+ tagName: string;
146
+ isCommunityProject: boolean;
147
+ gauge: {
148
+ isStretchGoalDisplayed: boolean;
149
+ fundedPercent: number | null;
150
+ progressRate1st: number | null;
151
+ progressRate2nd: number | null;
152
+ };
153
+ projectCondition: {
154
+ amountLabel: string | null;
155
+ amountValue: number | null;
156
+ countLabel: string | null;
157
+ countValue: number | null;
158
+ permanentCountLabel: string | null;
159
+ permanentCountValue: number | null;
160
+ expiryDateLabel: string | null;
161
+ expiryDateValue: string | null;
162
+ };
163
+ }[];
164
+ pagination: {
165
+ currentPage: number;
166
+ perPage: number;
167
+ totalCount: number;
168
+ };
33
169
  }>;
34
170
  isValidating: boolean;
35
171
  isLoading: boolean;