@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,27 +1,69 @@
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 { V1MyProjectsProjectIdUserIdentificationGetPath, V1MyProjectsProjectIdUserIdentificationGetResponse } from '../fetch/v1MyProjectsProjectIdUserIdentification.mjs';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1MyProjectsProjectIdUserIdentification: (path: V1MyProjectsProjectIdUserIdentificationGetPath, swrConfig?: Configuration<V1MyProjectsProjectIdUserIdentificationGetResponse>) => {
11
11
  data: {
12
- inProgressIdentification: components["schemas"]["UserIdentification"];
13
- rejectedIdentification?: components["schemas"]["RejectedUserIdentification"];
14
- documentSubmission: components["schemas"]["UserIdentificationDocumentSubmission"];
15
- errors?: components["schemas"]["UserIdentificationErrorMessages"];
16
- progressRates: components["schemas"]["ProgressRates"];
12
+ inProgressIdentification: {
13
+ state: "waitSubmitDocument" | "documentSubmitted" | "onDocumentReviewing" | "documentReviewed";
14
+ documentType: "passport" | "driversLicense" | "individualNumberCard" | "basicResidentRegistrationCard" | "residenceCard" | "drivingHistoryCertificate" | "specialPermanentResidentCertificate" | "healthInsuranceCard" | null;
15
+ trustdockPublicId: string | null;
16
+ };
17
+ progressRates: {
18
+ basic: number;
19
+ total: number;
20
+ owner: number;
21
+ story: number;
22
+ reward: number;
23
+ notes: number;
24
+ checks: number;
25
+ version: number;
26
+ };
27
+ documentSubmission: {
28
+ timing: "now" | "later";
29
+ allowTimingChanges: boolean;
30
+ };
31
+ errors?: {
32
+ inProgressIdentification?: string[] | undefined;
33
+ } | undefined;
34
+ rejectedIdentification?: {
35
+ documentType: "passport" | "driversLicense" | "individualNumberCard" | "basicResidentRegistrationCard" | "residenceCard" | "drivingHistoryCertificate" | "specialPermanentResidentCertificate" | "healthInsuranceCard" | null;
36
+ reasons: string[];
37
+ } | undefined;
17
38
  } | undefined;
18
39
  error: any;
19
40
  mutate: swr.KeyedMutator<{
20
- inProgressIdentification: components["schemas"]["UserIdentification"];
21
- rejectedIdentification?: components["schemas"]["RejectedUserIdentification"];
22
- documentSubmission: components["schemas"]["UserIdentificationDocumentSubmission"];
23
- errors?: components["schemas"]["UserIdentificationErrorMessages"];
24
- progressRates: components["schemas"]["ProgressRates"];
41
+ inProgressIdentification: {
42
+ state: "waitSubmitDocument" | "documentSubmitted" | "onDocumentReviewing" | "documentReviewed";
43
+ documentType: "passport" | "driversLicense" | "individualNumberCard" | "basicResidentRegistrationCard" | "residenceCard" | "drivingHistoryCertificate" | "specialPermanentResidentCertificate" | "healthInsuranceCard" | null;
44
+ trustdockPublicId: string | null;
45
+ };
46
+ progressRates: {
47
+ basic: number;
48
+ total: number;
49
+ owner: number;
50
+ story: number;
51
+ reward: number;
52
+ notes: number;
53
+ checks: number;
54
+ version: number;
55
+ };
56
+ documentSubmission: {
57
+ timing: "now" | "later";
58
+ allowTimingChanges: boolean;
59
+ };
60
+ errors?: {
61
+ inProgressIdentification?: string[] | undefined;
62
+ } | undefined;
63
+ rejectedIdentification?: {
64
+ documentType: "passport" | "driversLicense" | "individualNumberCard" | "basicResidentRegistrationCard" | "residenceCard" | "drivingHistoryCertificate" | "specialPermanentResidentCertificate" | "healthInsuranceCard" | null;
65
+ reasons: string[];
66
+ } | undefined;
25
67
  }>;
26
68
  isValidating: boolean;
27
69
  isLoading: boolean;
@@ -29,19 +71,61 @@ declare const useV1MyProjectsProjectIdUserIdentification: (path: V1MyProjectsPro
29
71
  };
30
72
  declare const useV1MyProjectsProjectIdUserIdentificationImmutable: (path: V1MyProjectsProjectIdUserIdentificationGetPath, swrConfig?: Configuration<V1MyProjectsProjectIdUserIdentificationGetResponse>) => {
31
73
  data: {
32
- inProgressIdentification: components["schemas"]["UserIdentification"];
33
- rejectedIdentification?: components["schemas"]["RejectedUserIdentification"];
34
- documentSubmission: components["schemas"]["UserIdentificationDocumentSubmission"];
35
- errors?: components["schemas"]["UserIdentificationErrorMessages"];
36
- progressRates: components["schemas"]["ProgressRates"];
74
+ inProgressIdentification: {
75
+ state: "waitSubmitDocument" | "documentSubmitted" | "onDocumentReviewing" | "documentReviewed";
76
+ documentType: "passport" | "driversLicense" | "individualNumberCard" | "basicResidentRegistrationCard" | "residenceCard" | "drivingHistoryCertificate" | "specialPermanentResidentCertificate" | "healthInsuranceCard" | null;
77
+ trustdockPublicId: string | null;
78
+ };
79
+ progressRates: {
80
+ basic: number;
81
+ total: number;
82
+ owner: number;
83
+ story: number;
84
+ reward: number;
85
+ notes: number;
86
+ checks: number;
87
+ version: number;
88
+ };
89
+ documentSubmission: {
90
+ timing: "now" | "later";
91
+ allowTimingChanges: boolean;
92
+ };
93
+ errors?: {
94
+ inProgressIdentification?: string[] | undefined;
95
+ } | undefined;
96
+ rejectedIdentification?: {
97
+ documentType: "passport" | "driversLicense" | "individualNumberCard" | "basicResidentRegistrationCard" | "residenceCard" | "drivingHistoryCertificate" | "specialPermanentResidentCertificate" | "healthInsuranceCard" | null;
98
+ reasons: string[];
99
+ } | undefined;
37
100
  } | undefined;
38
101
  error: any;
39
102
  mutate: swr.KeyedMutator<{
40
- inProgressIdentification: components["schemas"]["UserIdentification"];
41
- rejectedIdentification?: components["schemas"]["RejectedUserIdentification"];
42
- documentSubmission: components["schemas"]["UserIdentificationDocumentSubmission"];
43
- errors?: components["schemas"]["UserIdentificationErrorMessages"];
44
- progressRates: components["schemas"]["ProgressRates"];
103
+ inProgressIdentification: {
104
+ state: "waitSubmitDocument" | "documentSubmitted" | "onDocumentReviewing" | "documentReviewed";
105
+ documentType: "passport" | "driversLicense" | "individualNumberCard" | "basicResidentRegistrationCard" | "residenceCard" | "drivingHistoryCertificate" | "specialPermanentResidentCertificate" | "healthInsuranceCard" | null;
106
+ trustdockPublicId: string | null;
107
+ };
108
+ progressRates: {
109
+ basic: number;
110
+ total: number;
111
+ owner: number;
112
+ story: number;
113
+ reward: number;
114
+ notes: number;
115
+ checks: number;
116
+ version: number;
117
+ };
118
+ documentSubmission: {
119
+ timing: "now" | "later";
120
+ allowTimingChanges: boolean;
121
+ };
122
+ errors?: {
123
+ inProgressIdentification?: string[] | undefined;
124
+ } | undefined;
125
+ rejectedIdentification?: {
126
+ documentType: "passport" | "driversLicense" | "individualNumberCard" | "basicResidentRegistrationCard" | "residenceCard" | "drivingHistoryCertificate" | "specialPermanentResidentCertificate" | "healthInsuranceCard" | null;
127
+ reasons: string[];
128
+ } | undefined;
45
129
  }>;
46
130
  isValidating: boolean;
47
131
  isLoading: boolean;
@@ -1,27 +1,69 @@
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 { V1MyProjectsProjectIdUserIdentificationGetPath, V1MyProjectsProjectIdUserIdentificationGetResponse } from '../fetch/v1MyProjectsProjectIdUserIdentification.js';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1MyProjectsProjectIdUserIdentification: (path: V1MyProjectsProjectIdUserIdentificationGetPath, swrConfig?: Configuration<V1MyProjectsProjectIdUserIdentificationGetResponse>) => {
11
11
  data: {
12
- inProgressIdentification: components["schemas"]["UserIdentification"];
13
- rejectedIdentification?: components["schemas"]["RejectedUserIdentification"];
14
- documentSubmission: components["schemas"]["UserIdentificationDocumentSubmission"];
15
- errors?: components["schemas"]["UserIdentificationErrorMessages"];
16
- progressRates: components["schemas"]["ProgressRates"];
12
+ inProgressIdentification: {
13
+ state: "waitSubmitDocument" | "documentSubmitted" | "onDocumentReviewing" | "documentReviewed";
14
+ documentType: "passport" | "driversLicense" | "individualNumberCard" | "basicResidentRegistrationCard" | "residenceCard" | "drivingHistoryCertificate" | "specialPermanentResidentCertificate" | "healthInsuranceCard" | null;
15
+ trustdockPublicId: string | null;
16
+ };
17
+ progressRates: {
18
+ basic: number;
19
+ total: number;
20
+ owner: number;
21
+ story: number;
22
+ reward: number;
23
+ notes: number;
24
+ checks: number;
25
+ version: number;
26
+ };
27
+ documentSubmission: {
28
+ timing: "now" | "later";
29
+ allowTimingChanges: boolean;
30
+ };
31
+ errors?: {
32
+ inProgressIdentification?: string[] | undefined;
33
+ } | undefined;
34
+ rejectedIdentification?: {
35
+ documentType: "passport" | "driversLicense" | "individualNumberCard" | "basicResidentRegistrationCard" | "residenceCard" | "drivingHistoryCertificate" | "specialPermanentResidentCertificate" | "healthInsuranceCard" | null;
36
+ reasons: string[];
37
+ } | undefined;
17
38
  } | undefined;
18
39
  error: any;
19
40
  mutate: swr.KeyedMutator<{
20
- inProgressIdentification: components["schemas"]["UserIdentification"];
21
- rejectedIdentification?: components["schemas"]["RejectedUserIdentification"];
22
- documentSubmission: components["schemas"]["UserIdentificationDocumentSubmission"];
23
- errors?: components["schemas"]["UserIdentificationErrorMessages"];
24
- progressRates: components["schemas"]["ProgressRates"];
41
+ inProgressIdentification: {
42
+ state: "waitSubmitDocument" | "documentSubmitted" | "onDocumentReviewing" | "documentReviewed";
43
+ documentType: "passport" | "driversLicense" | "individualNumberCard" | "basicResidentRegistrationCard" | "residenceCard" | "drivingHistoryCertificate" | "specialPermanentResidentCertificate" | "healthInsuranceCard" | null;
44
+ trustdockPublicId: string | null;
45
+ };
46
+ progressRates: {
47
+ basic: number;
48
+ total: number;
49
+ owner: number;
50
+ story: number;
51
+ reward: number;
52
+ notes: number;
53
+ checks: number;
54
+ version: number;
55
+ };
56
+ documentSubmission: {
57
+ timing: "now" | "later";
58
+ allowTimingChanges: boolean;
59
+ };
60
+ errors?: {
61
+ inProgressIdentification?: string[] | undefined;
62
+ } | undefined;
63
+ rejectedIdentification?: {
64
+ documentType: "passport" | "driversLicense" | "individualNumberCard" | "basicResidentRegistrationCard" | "residenceCard" | "drivingHistoryCertificate" | "specialPermanentResidentCertificate" | "healthInsuranceCard" | null;
65
+ reasons: string[];
66
+ } | undefined;
25
67
  }>;
26
68
  isValidating: boolean;
27
69
  isLoading: boolean;
@@ -29,19 +71,61 @@ declare const useV1MyProjectsProjectIdUserIdentification: (path: V1MyProjectsPro
29
71
  };
30
72
  declare const useV1MyProjectsProjectIdUserIdentificationImmutable: (path: V1MyProjectsProjectIdUserIdentificationGetPath, swrConfig?: Configuration<V1MyProjectsProjectIdUserIdentificationGetResponse>) => {
31
73
  data: {
32
- inProgressIdentification: components["schemas"]["UserIdentification"];
33
- rejectedIdentification?: components["schemas"]["RejectedUserIdentification"];
34
- documentSubmission: components["schemas"]["UserIdentificationDocumentSubmission"];
35
- errors?: components["schemas"]["UserIdentificationErrorMessages"];
36
- progressRates: components["schemas"]["ProgressRates"];
74
+ inProgressIdentification: {
75
+ state: "waitSubmitDocument" | "documentSubmitted" | "onDocumentReviewing" | "documentReviewed";
76
+ documentType: "passport" | "driversLicense" | "individualNumberCard" | "basicResidentRegistrationCard" | "residenceCard" | "drivingHistoryCertificate" | "specialPermanentResidentCertificate" | "healthInsuranceCard" | null;
77
+ trustdockPublicId: string | null;
78
+ };
79
+ progressRates: {
80
+ basic: number;
81
+ total: number;
82
+ owner: number;
83
+ story: number;
84
+ reward: number;
85
+ notes: number;
86
+ checks: number;
87
+ version: number;
88
+ };
89
+ documentSubmission: {
90
+ timing: "now" | "later";
91
+ allowTimingChanges: boolean;
92
+ };
93
+ errors?: {
94
+ inProgressIdentification?: string[] | undefined;
95
+ } | undefined;
96
+ rejectedIdentification?: {
97
+ documentType: "passport" | "driversLicense" | "individualNumberCard" | "basicResidentRegistrationCard" | "residenceCard" | "drivingHistoryCertificate" | "specialPermanentResidentCertificate" | "healthInsuranceCard" | null;
98
+ reasons: string[];
99
+ } | undefined;
37
100
  } | undefined;
38
101
  error: any;
39
102
  mutate: swr.KeyedMutator<{
40
- inProgressIdentification: components["schemas"]["UserIdentification"];
41
- rejectedIdentification?: components["schemas"]["RejectedUserIdentification"];
42
- documentSubmission: components["schemas"]["UserIdentificationDocumentSubmission"];
43
- errors?: components["schemas"]["UserIdentificationErrorMessages"];
44
- progressRates: components["schemas"]["ProgressRates"];
103
+ inProgressIdentification: {
104
+ state: "waitSubmitDocument" | "documentSubmitted" | "onDocumentReviewing" | "documentReviewed";
105
+ documentType: "passport" | "driversLicense" | "individualNumberCard" | "basicResidentRegistrationCard" | "residenceCard" | "drivingHistoryCertificate" | "specialPermanentResidentCertificate" | "healthInsuranceCard" | null;
106
+ trustdockPublicId: string | null;
107
+ };
108
+ progressRates: {
109
+ basic: number;
110
+ total: number;
111
+ owner: number;
112
+ story: number;
113
+ reward: number;
114
+ notes: number;
115
+ checks: number;
116
+ version: number;
117
+ };
118
+ documentSubmission: {
119
+ timing: "now" | "later";
120
+ allowTimingChanges: boolean;
121
+ };
122
+ errors?: {
123
+ inProgressIdentification?: string[] | undefined;
124
+ } | undefined;
125
+ rejectedIdentification?: {
126
+ documentType: "passport" | "driversLicense" | "individualNumberCard" | "basicResidentRegistrationCard" | "residenceCard" | "drivingHistoryCertificate" | "specialPermanentResidentCertificate" | "healthInsuranceCard" | null;
127
+ reasons: string[];
128
+ } | undefined;
45
129
  }>;
46
130
  isValidating: boolean;
47
131
  isLoading: boolean;
@@ -9,25 +9,25 @@ import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1ProjectsProjectIdAnnouncements: (path: V1ProjectsProjectIdAnnouncementsGetPath, query: V1ProjectsProjectIdAnnouncementsGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdAnnouncementsGetResponse>) => {
11
11
  data: {
12
+ date: string;
12
13
  id: number;
14
+ imageUrl: string | null;
15
+ body: string;
13
16
  title: string;
17
+ audience: "public" | "activeRecurringContributors";
14
18
  href: string;
15
- date: string;
16
- body: string;
17
19
  restricted: boolean;
18
- audience: "public" | "activeRecurringContributors";
19
- imageUrl: string | null;
20
20
  }[] | undefined;
21
21
  error: any;
22
22
  mutate: swr.KeyedMutator<{
23
+ date: string;
23
24
  id: number;
25
+ imageUrl: string | null;
26
+ body: string;
24
27
  title: string;
28
+ audience: "public" | "activeRecurringContributors";
25
29
  href: string;
26
- date: string;
27
- body: string;
28
30
  restricted: boolean;
29
- audience: "public" | "activeRecurringContributors";
30
- imageUrl: string | null;
31
31
  }[]>;
32
32
  isValidating: boolean;
33
33
  isLoading: boolean;
@@ -35,25 +35,25 @@ declare const useV1ProjectsProjectIdAnnouncements: (path: V1ProjectsProjectIdAnn
35
35
  };
36
36
  declare const useV1ProjectsProjectIdAnnouncementsImmutable: (path: V1ProjectsProjectIdAnnouncementsGetPath, query: V1ProjectsProjectIdAnnouncementsGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdAnnouncementsGetResponse>) => {
37
37
  data: {
38
+ date: string;
38
39
  id: number;
40
+ imageUrl: string | null;
41
+ body: string;
39
42
  title: string;
43
+ audience: "public" | "activeRecurringContributors";
40
44
  href: string;
41
- date: string;
42
- body: string;
43
45
  restricted: boolean;
44
- audience: "public" | "activeRecurringContributors";
45
- imageUrl: string | null;
46
46
  }[] | undefined;
47
47
  error: any;
48
48
  mutate: swr.KeyedMutator<{
49
+ date: string;
49
50
  id: number;
51
+ imageUrl: string | null;
52
+ body: string;
50
53
  title: string;
54
+ audience: "public" | "activeRecurringContributors";
51
55
  href: string;
52
- date: string;
53
- body: string;
54
56
  restricted: boolean;
55
- audience: "public" | "activeRecurringContributors";
56
- imageUrl: string | null;
57
57
  }[]>;
58
58
  isValidating: boolean;
59
59
  isLoading: boolean;
@@ -9,25 +9,25 @@ import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV1ProjectsProjectIdAnnouncements: (path: V1ProjectsProjectIdAnnouncementsGetPath, query: V1ProjectsProjectIdAnnouncementsGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdAnnouncementsGetResponse>) => {
11
11
  data: {
12
+ date: string;
12
13
  id: number;
14
+ imageUrl: string | null;
15
+ body: string;
13
16
  title: string;
17
+ audience: "public" | "activeRecurringContributors";
14
18
  href: string;
15
- date: string;
16
- body: string;
17
19
  restricted: boolean;
18
- audience: "public" | "activeRecurringContributors";
19
- imageUrl: string | null;
20
20
  }[] | undefined;
21
21
  error: any;
22
22
  mutate: swr.KeyedMutator<{
23
+ date: string;
23
24
  id: number;
25
+ imageUrl: string | null;
26
+ body: string;
24
27
  title: string;
28
+ audience: "public" | "activeRecurringContributors";
25
29
  href: string;
26
- date: string;
27
- body: string;
28
30
  restricted: boolean;
29
- audience: "public" | "activeRecurringContributors";
30
- imageUrl: string | null;
31
31
  }[]>;
32
32
  isValidating: boolean;
33
33
  isLoading: boolean;
@@ -35,25 +35,25 @@ declare const useV1ProjectsProjectIdAnnouncements: (path: V1ProjectsProjectIdAnn
35
35
  };
36
36
  declare const useV1ProjectsProjectIdAnnouncementsImmutable: (path: V1ProjectsProjectIdAnnouncementsGetPath, query: V1ProjectsProjectIdAnnouncementsGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdAnnouncementsGetResponse>) => {
37
37
  data: {
38
+ date: string;
38
39
  id: number;
40
+ imageUrl: string | null;
41
+ body: string;
39
42
  title: string;
43
+ audience: "public" | "activeRecurringContributors";
40
44
  href: string;
41
- date: string;
42
- body: string;
43
45
  restricted: boolean;
44
- audience: "public" | "activeRecurringContributors";
45
- imageUrl: string | null;
46
46
  }[] | undefined;
47
47
  error: any;
48
48
  mutate: swr.KeyedMutator<{
49
+ date: string;
49
50
  id: number;
51
+ imageUrl: string | null;
52
+ body: string;
50
53
  title: string;
54
+ audience: "public" | "activeRecurringContributors";
51
55
  href: string;
52
- date: string;
53
- body: string;
54
56
  restricted: boolean;
55
- audience: "public" | "activeRecurringContributors";
56
- imageUrl: string | null;
57
57
  }[]>;
58
58
  isValidating: boolean;
59
59
  isLoading: boolean;
@@ -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.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 { V1ProjectsProjectIdCommentsGetPath, V1ProjectsProjectIdCommentsGetQuery, V1ProjectsProjectIdCommentsGetResponse } from '../fetch/v1ProjectsProjectIdComments.mjs';
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;