@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,67 @@
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 { V1ProjectsProjectIdCommentsGetPath, V1ProjectsProjectIdCommentsGetQuery, V1ProjectsProjectIdCommentsGetResponse } from '../fetch/v1ProjectsProjectIdComments.js';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1ProjectsProjectIdComments: (path: V1ProjectsProjectIdCommentsGetPath, query: V1ProjectsProjectIdCommentsGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdCommentsGetResponse>) => {
11
11
  data: {
12
- orders?: components["schemas"]["GetProjectComments_orders_inner"][];
13
- meta?: components["schemas"]["GetProjectComments_meta"];
12
+ orders?: {
13
+ id?: number | undefined;
14
+ user?: {
15
+ id?: number | undefined;
16
+ name?: string | undefined;
17
+ my_image_url?: string | undefined;
18
+ my_url?: string | undefined;
19
+ } | undefined;
20
+ comment_text?: string | undefined;
21
+ commented_at_format?: string | undefined;
22
+ other_backed_count?: number | undefined;
23
+ reply?: {
24
+ id?: number | undefined;
25
+ comment_reply_text?: string | null | undefined;
26
+ comment_reply_at_format?: string | null | undefined;
27
+ reply_comment_url?: string | undefined;
28
+ } | undefined;
29
+ }[] | undefined;
30
+ meta?: {
31
+ current_page?: number | null | undefined;
32
+ next_page?: number | null | undefined;
33
+ prev_page?: number | null | undefined;
34
+ total_pages?: number | null | undefined;
35
+ total_count?: number | null | undefined;
36
+ } | undefined;
14
37
  } | undefined;
15
38
  error: any;
16
39
  mutate: swr.KeyedMutator<{
17
- orders?: components["schemas"]["GetProjectComments_orders_inner"][];
18
- meta?: components["schemas"]["GetProjectComments_meta"];
40
+ orders?: {
41
+ id?: number | undefined;
42
+ user?: {
43
+ id?: number | undefined;
44
+ name?: string | undefined;
45
+ my_image_url?: string | undefined;
46
+ my_url?: string | undefined;
47
+ } | undefined;
48
+ comment_text?: string | undefined;
49
+ commented_at_format?: string | undefined;
50
+ other_backed_count?: number | undefined;
51
+ reply?: {
52
+ id?: number | undefined;
53
+ comment_reply_text?: string | null | undefined;
54
+ comment_reply_at_format?: string | null | undefined;
55
+ reply_comment_url?: string | undefined;
56
+ } | undefined;
57
+ }[] | undefined;
58
+ meta?: {
59
+ current_page?: number | null | undefined;
60
+ next_page?: number | null | undefined;
61
+ prev_page?: number | null | undefined;
62
+ total_pages?: number | null | undefined;
63
+ total_count?: number | null | undefined;
64
+ } | undefined;
19
65
  }>;
20
66
  isValidating: boolean;
21
67
  isLoading: boolean;
@@ -23,13 +69,59 @@ declare const useV1ProjectsProjectIdComments: (path: V1ProjectsProjectIdComments
23
69
  };
24
70
  declare const useV1ProjectsProjectIdCommentsImmutable: (path: V1ProjectsProjectIdCommentsGetPath, query: V1ProjectsProjectIdCommentsGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdCommentsGetResponse>) => {
25
71
  data: {
26
- orders?: components["schemas"]["GetProjectComments_orders_inner"][];
27
- meta?: components["schemas"]["GetProjectComments_meta"];
72
+ orders?: {
73
+ id?: number | undefined;
74
+ user?: {
75
+ id?: number | undefined;
76
+ name?: string | undefined;
77
+ my_image_url?: string | undefined;
78
+ my_url?: string | undefined;
79
+ } | undefined;
80
+ comment_text?: string | undefined;
81
+ commented_at_format?: string | undefined;
82
+ other_backed_count?: number | undefined;
83
+ reply?: {
84
+ id?: number | undefined;
85
+ comment_reply_text?: string | null | undefined;
86
+ comment_reply_at_format?: string | null | undefined;
87
+ reply_comment_url?: string | undefined;
88
+ } | undefined;
89
+ }[] | undefined;
90
+ meta?: {
91
+ current_page?: number | null | undefined;
92
+ next_page?: number | null | undefined;
93
+ prev_page?: number | null | undefined;
94
+ total_pages?: number | null | undefined;
95
+ total_count?: number | null | undefined;
96
+ } | undefined;
28
97
  } | undefined;
29
98
  error: any;
30
99
  mutate: swr.KeyedMutator<{
31
- orders?: components["schemas"]["GetProjectComments_orders_inner"][];
32
- meta?: components["schemas"]["GetProjectComments_meta"];
100
+ orders?: {
101
+ id?: number | undefined;
102
+ user?: {
103
+ id?: number | undefined;
104
+ name?: string | undefined;
105
+ my_image_url?: string | undefined;
106
+ my_url?: string | undefined;
107
+ } | undefined;
108
+ comment_text?: string | undefined;
109
+ commented_at_format?: string | undefined;
110
+ other_backed_count?: number | undefined;
111
+ reply?: {
112
+ id?: number | undefined;
113
+ comment_reply_text?: string | null | undefined;
114
+ comment_reply_at_format?: string | null | undefined;
115
+ reply_comment_url?: string | undefined;
116
+ } | undefined;
117
+ }[] | undefined;
118
+ meta?: {
119
+ current_page?: number | null | undefined;
120
+ next_page?: number | null | undefined;
121
+ prev_page?: number | null | undefined;
122
+ total_pages?: number | null | undefined;
123
+ total_count?: number | null | undefined;
124
+ } | undefined;
33
125
  }>;
34
126
  isValidating: boolean;
35
127
  isLoading: boolean;
@@ -1,8 +1,8 @@
1
1
  import * as swr_infinite from 'swr/infinite';
2
2
  import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
3
+ import { components } from '../schemaType.mjs';
3
4
  import * as swr from 'swr';
4
5
  import { Arguments } from 'swr';
5
- import { components } from '../schemaType.mjs';
6
6
  import { Configuration } from '@readyfor/api-client-base/react';
7
7
  import { V1ProjectsProjectIdRewardsGetPath, V1ProjectsProjectIdRewardsGetQuery, V1ProjectsProjectIdRewardsGetResponse } from '../fetch/v1ProjectsProjectIdRewards.mjs';
8
8
  import '@readyfor/api-client-base';
@@ -12,15 +12,18 @@ declare const useV1ProjectsProjectIdRewards: (path: V1ProjectsProjectIdRewardsGe
12
12
  id: number;
13
13
  title: string | null;
14
14
  description: string;
15
+ fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
15
16
  price: number;
16
17
  href: string;
17
- image: components["schemas"]["Project_Reward_image"];
18
+ image: {
19
+ src: string;
20
+ alt: string;
21
+ } | null;
18
22
  stockCount: number | null;
19
23
  reservedStockCount: number;
20
24
  shipmentSchedule: string | null;
21
25
  isLikeSuspended: boolean;
22
26
  notBuyable: boolean;
23
- fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
24
27
  paymentType: "onetime" | "monthly";
25
28
  sellingStopped: boolean;
26
29
  likeCharity: boolean;
@@ -31,15 +34,18 @@ declare const useV1ProjectsProjectIdRewards: (path: V1ProjectsProjectIdRewardsGe
31
34
  id: number;
32
35
  title: string | null;
33
36
  description: string;
37
+ fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
34
38
  price: number;
35
39
  href: string;
36
- image: components["schemas"]["Project_Reward_image"];
40
+ image: {
41
+ src: string;
42
+ alt: string;
43
+ } | null;
37
44
  stockCount: number | null;
38
45
  reservedStockCount: number;
39
46
  shipmentSchedule: string | null;
40
47
  isLikeSuspended: boolean;
41
48
  notBuyable: boolean;
42
- fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
43
49
  paymentType: "onetime" | "monthly";
44
50
  sellingStopped: boolean;
45
51
  likeCharity: boolean;
@@ -54,15 +60,18 @@ declare const useV1ProjectsProjectIdRewardsImmutable: (path: V1ProjectsProjectId
54
60
  id: number;
55
61
  title: string | null;
56
62
  description: string;
63
+ fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
57
64
  price: number;
58
65
  href: string;
59
- image: components["schemas"]["Project_Reward_image"];
66
+ image: {
67
+ src: string;
68
+ alt: string;
69
+ } | null;
60
70
  stockCount: number | null;
61
71
  reservedStockCount: number;
62
72
  shipmentSchedule: string | null;
63
73
  isLikeSuspended: boolean;
64
74
  notBuyable: boolean;
65
- fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
66
75
  paymentType: "onetime" | "monthly";
67
76
  sellingStopped: boolean;
68
77
  likeCharity: boolean;
@@ -73,15 +82,18 @@ declare const useV1ProjectsProjectIdRewardsImmutable: (path: V1ProjectsProjectId
73
82
  id: number;
74
83
  title: string | null;
75
84
  description: string;
85
+ fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
76
86
  price: number;
77
87
  href: string;
78
- image: components["schemas"]["Project_Reward_image"];
88
+ image: {
89
+ src: string;
90
+ alt: string;
91
+ } | null;
79
92
  stockCount: number | null;
80
93
  reservedStockCount: number;
81
94
  shipmentSchedule: string | null;
82
95
  isLikeSuspended: boolean;
83
96
  notBuyable: boolean;
84
- fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
85
97
  paymentType: "onetime" | "monthly";
86
98
  sellingStopped: boolean;
87
99
  likeCharity: boolean;
@@ -1,8 +1,8 @@
1
1
  import * as swr_infinite from 'swr/infinite';
2
2
  import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
3
+ import { components } from '../schemaType.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 { V1ProjectsProjectIdRewardsGetPath, V1ProjectsProjectIdRewardsGetQuery, V1ProjectsProjectIdRewardsGetResponse } from '../fetch/v1ProjectsProjectIdRewards.js';
8
8
  import '@readyfor/api-client-base';
@@ -12,15 +12,18 @@ declare const useV1ProjectsProjectIdRewards: (path: V1ProjectsProjectIdRewardsGe
12
12
  id: number;
13
13
  title: string | null;
14
14
  description: string;
15
+ fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
15
16
  price: number;
16
17
  href: string;
17
- image: components["schemas"]["Project_Reward_image"];
18
+ image: {
19
+ src: string;
20
+ alt: string;
21
+ } | null;
18
22
  stockCount: number | null;
19
23
  reservedStockCount: number;
20
24
  shipmentSchedule: string | null;
21
25
  isLikeSuspended: boolean;
22
26
  notBuyable: boolean;
23
- fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
24
27
  paymentType: "onetime" | "monthly";
25
28
  sellingStopped: boolean;
26
29
  likeCharity: boolean;
@@ -31,15 +34,18 @@ declare const useV1ProjectsProjectIdRewards: (path: V1ProjectsProjectIdRewardsGe
31
34
  id: number;
32
35
  title: string | null;
33
36
  description: string;
37
+ fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
34
38
  price: number;
35
39
  href: string;
36
- image: components["schemas"]["Project_Reward_image"];
40
+ image: {
41
+ src: string;
42
+ alt: string;
43
+ } | null;
37
44
  stockCount: number | null;
38
45
  reservedStockCount: number;
39
46
  shipmentSchedule: string | null;
40
47
  isLikeSuspended: boolean;
41
48
  notBuyable: boolean;
42
- fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
43
49
  paymentType: "onetime" | "monthly";
44
50
  sellingStopped: boolean;
45
51
  likeCharity: boolean;
@@ -54,15 +60,18 @@ declare const useV1ProjectsProjectIdRewardsImmutable: (path: V1ProjectsProjectId
54
60
  id: number;
55
61
  title: string | null;
56
62
  description: string;
63
+ fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
57
64
  price: number;
58
65
  href: string;
59
- image: components["schemas"]["Project_Reward_image"];
66
+ image: {
67
+ src: string;
68
+ alt: string;
69
+ } | null;
60
70
  stockCount: number | null;
61
71
  reservedStockCount: number;
62
72
  shipmentSchedule: string | null;
63
73
  isLikeSuspended: boolean;
64
74
  notBuyable: boolean;
65
- fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
66
75
  paymentType: "onetime" | "monthly";
67
76
  sellingStopped: boolean;
68
77
  likeCharity: boolean;
@@ -73,15 +82,18 @@ declare const useV1ProjectsProjectIdRewardsImmutable: (path: V1ProjectsProjectId
73
82
  id: number;
74
83
  title: string | null;
75
84
  description: string;
85
+ fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
76
86
  price: number;
77
87
  href: string;
78
- image: components["schemas"]["Project_Reward_image"];
88
+ image: {
89
+ src: string;
90
+ alt: string;
91
+ } | null;
79
92
  stockCount: number | null;
80
93
  reservedStockCount: number;
81
94
  shipmentSchedule: string | null;
82
95
  isLikeSuspended: boolean;
83
96
  notBuyable: boolean;
84
- fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
85
97
  paymentType: "onetime" | "monthly";
86
98
  sellingStopped: boolean;
87
99
  likeCharity: boolean;
@@ -1,159 +1,183 @@
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 { V1ProjectsProjectIdRewardsForPreviewGetPath, V1ProjectsProjectIdRewardsForPreviewGetQuery, V1ProjectsProjectIdRewardsForPreviewGetResponse } from '../fetch/v1ProjectsProjectIdRewardsForPreview.mjs';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1ProjectsProjectIdRewardsForPreview: (path: V1ProjectsProjectIdRewardsForPreviewGetPath, query: V1ProjectsProjectIdRewardsForPreviewGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdRewardsForPreviewGetResponse>) => {
11
11
  data: ({
12
- id: number;
13
- title: string | null;
14
- description: string;
15
- price: number;
16
- href: string;
17
- image: components["schemas"]["Project_Reward_image"];
18
- stockCount: number | null;
19
- reservedStockCount: number;
20
- shipmentSchedule: string | null;
21
- isLikeSuspended: boolean;
22
- notBuyable: boolean;
23
- fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
24
- paymentType: "onetime" | "monthly";
25
- sellingStopped: boolean;
26
- likeCharity: boolean;
27
- isSystemUsageFeeCase: boolean;
28
- } | {
29
12
  id: number | null;
30
13
  title: string | null;
31
14
  description: string | null;
15
+ fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
32
16
  price: number | null;
33
17
  href: string | null;
34
- image: components["schemas"]["Project_Reward_image"];
18
+ image: {
19
+ src: string;
20
+ alt: string;
21
+ } | null;
35
22
  stockCount: number | null;
36
23
  reservedStockCount: number | null;
37
24
  shipmentSchedule: string | null;
38
25
  isLikeSuspended: boolean | null;
39
26
  notBuyable: boolean;
40
- fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
41
27
  paymentType: "onetime" | "monthly";
42
28
  sellingStopped: boolean | null;
43
29
  likeCharity: boolean | null;
44
30
  isSystemUsageFeeCase: boolean | null;
45
- })[] | undefined;
46
- error: any;
47
- mutate: swr.KeyedMutator<({
31
+ } | {
48
32
  id: number;
49
33
  title: string | null;
50
34
  description: string;
35
+ fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
51
36
  price: number;
52
37
  href: string;
53
- image: components["schemas"]["Project_Reward_image"];
38
+ image: {
39
+ src: string;
40
+ alt: string;
41
+ } | null;
54
42
  stockCount: number | null;
55
43
  reservedStockCount: number;
56
44
  shipmentSchedule: string | null;
57
45
  isLikeSuspended: boolean;
58
46
  notBuyable: boolean;
59
- fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
60
47
  paymentType: "onetime" | "monthly";
61
48
  sellingStopped: boolean;
62
49
  likeCharity: boolean;
63
50
  isSystemUsageFeeCase: boolean;
64
- } | {
51
+ })[] | undefined;
52
+ error: any;
53
+ mutate: swr.KeyedMutator<({
65
54
  id: number | null;
66
55
  title: string | null;
67
56
  description: string | null;
57
+ fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
68
58
  price: number | null;
69
59
  href: string | null;
70
- image: components["schemas"]["Project_Reward_image"];
60
+ image: {
61
+ src: string;
62
+ alt: string;
63
+ } | null;
71
64
  stockCount: number | null;
72
65
  reservedStockCount: number | null;
73
66
  shipmentSchedule: string | null;
74
67
  isLikeSuspended: boolean | null;
75
68
  notBuyable: boolean;
76
- fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
77
69
  paymentType: "onetime" | "monthly";
78
70
  sellingStopped: boolean | null;
79
71
  likeCharity: boolean | null;
80
72
  isSystemUsageFeeCase: boolean | null;
81
- })[]>;
82
- isValidating: boolean;
83
- isLoading: boolean;
84
- key: string;
85
- };
86
- declare const useV1ProjectsProjectIdRewardsForPreviewImmutable: (path: V1ProjectsProjectIdRewardsForPreviewGetPath, query: V1ProjectsProjectIdRewardsForPreviewGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdRewardsForPreviewGetResponse>) => {
87
- data: ({
73
+ } | {
88
74
  id: number;
89
75
  title: string | null;
90
76
  description: string;
77
+ fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
91
78
  price: number;
92
79
  href: string;
93
- image: components["schemas"]["Project_Reward_image"];
80
+ image: {
81
+ src: string;
82
+ alt: string;
83
+ } | null;
94
84
  stockCount: number | null;
95
85
  reservedStockCount: number;
96
86
  shipmentSchedule: string | null;
97
87
  isLikeSuspended: boolean;
98
88
  notBuyable: boolean;
99
- fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
100
89
  paymentType: "onetime" | "monthly";
101
90
  sellingStopped: boolean;
102
91
  likeCharity: boolean;
103
92
  isSystemUsageFeeCase: boolean;
104
- } | {
93
+ })[]>;
94
+ isValidating: boolean;
95
+ isLoading: boolean;
96
+ key: string;
97
+ };
98
+ declare const useV1ProjectsProjectIdRewardsForPreviewImmutable: (path: V1ProjectsProjectIdRewardsForPreviewGetPath, query: V1ProjectsProjectIdRewardsForPreviewGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdRewardsForPreviewGetResponse>) => {
99
+ data: ({
105
100
  id: number | null;
106
101
  title: string | null;
107
102
  description: string | null;
103
+ fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
108
104
  price: number | null;
109
105
  href: string | null;
110
- image: components["schemas"]["Project_Reward_image"];
106
+ image: {
107
+ src: string;
108
+ alt: string;
109
+ } | null;
111
110
  stockCount: number | null;
112
111
  reservedStockCount: number | null;
113
112
  shipmentSchedule: string | null;
114
113
  isLikeSuspended: boolean | null;
115
114
  notBuyable: boolean;
116
- fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
117
115
  paymentType: "onetime" | "monthly";
118
116
  sellingStopped: boolean | null;
119
117
  likeCharity: boolean | null;
120
118
  isSystemUsageFeeCase: boolean | null;
121
- })[] | undefined;
122
- error: any;
123
- mutate: swr.KeyedMutator<({
119
+ } | {
124
120
  id: number;
125
121
  title: string | null;
126
122
  description: string;
123
+ fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
127
124
  price: number;
128
125
  href: string;
129
- image: components["schemas"]["Project_Reward_image"];
126
+ image: {
127
+ src: string;
128
+ alt: string;
129
+ } | null;
130
130
  stockCount: number | null;
131
131
  reservedStockCount: number;
132
132
  shipmentSchedule: string | null;
133
133
  isLikeSuspended: boolean;
134
134
  notBuyable: boolean;
135
- fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
136
135
  paymentType: "onetime" | "monthly";
137
136
  sellingStopped: boolean;
138
137
  likeCharity: boolean;
139
138
  isSystemUsageFeeCase: boolean;
140
- } | {
139
+ })[] | undefined;
140
+ error: any;
141
+ mutate: swr.KeyedMutator<({
141
142
  id: number | null;
142
143
  title: string | null;
143
144
  description: string | null;
145
+ fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
144
146
  price: number | null;
145
147
  href: string | null;
146
- image: components["schemas"]["Project_Reward_image"];
148
+ image: {
149
+ src: string;
150
+ alt: string;
151
+ } | null;
147
152
  stockCount: number | null;
148
153
  reservedStockCount: number | null;
149
154
  shipmentSchedule: string | null;
150
155
  isLikeSuspended: boolean | null;
151
156
  notBuyable: boolean;
152
- fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
153
157
  paymentType: "onetime" | "monthly";
154
158
  sellingStopped: boolean | null;
155
159
  likeCharity: boolean | null;
156
160
  isSystemUsageFeeCase: boolean | null;
161
+ } | {
162
+ id: number;
163
+ title: string | null;
164
+ description: string;
165
+ fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
166
+ price: number;
167
+ href: string;
168
+ image: {
169
+ src: string;
170
+ alt: string;
171
+ } | null;
172
+ stockCount: number | null;
173
+ reservedStockCount: number;
174
+ shipmentSchedule: string | null;
175
+ isLikeSuspended: boolean;
176
+ notBuyable: boolean;
177
+ paymentType: "onetime" | "monthly";
178
+ sellingStopped: boolean;
179
+ likeCharity: boolean;
180
+ isSystemUsageFeeCase: boolean;
157
181
  })[]>;
158
182
  isValidating: boolean;
159
183
  isLoading: boolean;