@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
@@ -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 '../schemaType.mjs';
67
66
  import 'swr';
67
+ import '../schemaType.mjs';
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 '../schemaType.js';
67
66
  import 'swr';
67
+ import '../schemaType.js';
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;
13
12
  code: string;
14
13
  name: string;
14
+ value: string;
15
15
  }[] | undefined;
16
16
  error: any;
17
17
  mutate: swr.KeyedMutator<{
18
- value: string;
19
18
  code: string;
20
19
  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;
29
28
  code: string;
30
29
  name: string;
30
+ value: string;
31
31
  }[] | undefined;
32
32
  error: any;
33
33
  mutate: swr.KeyedMutator<{
34
- value: string;
35
34
  code: string;
36
35
  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;
13
12
  code: string;
14
13
  name: string;
14
+ value: string;
15
15
  }[] | undefined;
16
16
  error: any;
17
17
  mutate: swr.KeyedMutator<{
18
- value: string;
19
18
  code: string;
20
19
  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;
29
28
  code: string;
30
29
  name: string;
30
+ value: string;
31
31
  }[] | undefined;
32
32
  error: any;
33
33
  mutate: swr.KeyedMutator<{
34
- value: string;
35
34
  code: string;
36
35
  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;
13
12
  code: string;
14
13
  name: string;
14
+ value: number;
15
15
  }[] | undefined;
16
16
  error: any;
17
17
  mutate: swr.KeyedMutator<{
18
- value: number;
19
18
  code: string;
20
19
  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;
29
28
  code: string;
30
29
  name: string;
30
+ value: number;
31
31
  }[] | undefined;
32
32
  error: any;
33
33
  mutate: swr.KeyedMutator<{
34
- value: number;
35
34
  code: string;
36
35
  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;
13
12
  code: string;
14
13
  name: string;
14
+ value: number;
15
15
  }[] | undefined;
16
16
  error: any;
17
17
  mutate: swr.KeyedMutator<{
18
- value: number;
19
18
  code: string;
20
19
  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;
29
28
  code: string;
30
29
  name: string;
30
+ value: number;
31
31
  }[] | undefined;
32
32
  error: any;
33
33
  mutate: swr.KeyedMutator<{
34
- value: number;
35
34
  code: string;
36
35
  name: string;
36
+ value: number;
37
37
  }[]>;
38
38
  isValidating: boolean;
39
39
  isLoading: boolean;
@@ -1,89 +1,21 @@
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 { 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: {
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
- };
12
+ projects: components["schemas"]["Engagement_Projects_inner"][];
13
+ pagination: components["schemas"]["Engagement_Projects_Pagination"];
48
14
  } | undefined;
49
15
  error: any;
50
16
  mutate: swr.KeyedMutator<{
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
- };
17
+ projects: components["schemas"]["Engagement_Projects_inner"][];
18
+ pagination: components["schemas"]["Engagement_Projects_Pagination"];
87
19
  }>;
88
20
  isValidating: boolean;
89
21
  isLoading: boolean;
@@ -91,81 +23,13 @@ declare const useV1EngagementProjects: (query: V1EngagementProjectsGetQuery, swr
91
23
  };
92
24
  declare const useV1EngagementProjectsImmutable: (query: V1EngagementProjectsGetQuery, swrConfig?: Configuration<V1EngagementProjectsGetResponse>) => {
93
25
  data: {
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
- };
26
+ projects: components["schemas"]["Engagement_Projects_inner"][];
27
+ pagination: components["schemas"]["Engagement_Projects_Pagination"];
130
28
  } | undefined;
131
29
  error: any;
132
30
  mutate: swr.KeyedMutator<{
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
- };
31
+ projects: components["schemas"]["Engagement_Projects_inner"][];
32
+ pagination: components["schemas"]["Engagement_Projects_Pagination"];
169
33
  }>;
170
34
  isValidating: boolean;
171
35
  isLoading: boolean;
@@ -1,89 +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 { 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: {
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
- };
12
+ projects: components["schemas"]["Engagement_Projects_inner"][];
13
+ pagination: components["schemas"]["Engagement_Projects_Pagination"];
48
14
  } | undefined;
49
15
  error: any;
50
16
  mutate: swr.KeyedMutator<{
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
- };
17
+ projects: components["schemas"]["Engagement_Projects_inner"][];
18
+ pagination: components["schemas"]["Engagement_Projects_Pagination"];
87
19
  }>;
88
20
  isValidating: boolean;
89
21
  isLoading: boolean;
@@ -91,81 +23,13 @@ declare const useV1EngagementProjects: (query: V1EngagementProjectsGetQuery, swr
91
23
  };
92
24
  declare const useV1EngagementProjectsImmutable: (query: V1EngagementProjectsGetQuery, swrConfig?: Configuration<V1EngagementProjectsGetResponse>) => {
93
25
  data: {
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
- };
26
+ projects: components["schemas"]["Engagement_Projects_inner"][];
27
+ pagination: components["schemas"]["Engagement_Projects_Pagination"];
130
28
  } | undefined;
131
29
  error: any;
132
30
  mutate: swr.KeyedMutator<{
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
- };
31
+ projects: components["schemas"]["Engagement_Projects_inner"][];
32
+ pagination: components["schemas"]["Engagement_Projects_Pagination"];
169
33
  }>;
170
34
  isValidating: boolean;
171
35
  isLoading: boolean;