@readyfor/api-client-readyfor 0.207.2-pr974.caa0ee1 → 0.207.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/dist/hooks/index.d.mts +1 -1
  2. package/dist/hooks/index.d.ts +1 -1
  3. package/dist/hooks/useV1BanksSearch.d.mts +4 -4
  4. package/dist/hooks/useV1BanksSearch.d.ts +4 -4
  5. package/dist/hooks/useV1BranchesSearch.d.mts +4 -4
  6. package/dist/hooks/useV1BranchesSearch.d.ts +4 -4
  7. package/dist/hooks/useV1EngagementProjects.d.mts +9 -145
  8. package/dist/hooks/useV1EngagementProjects.d.ts +9 -145
  9. package/dist/hooks/useV1EngagementSearchProjects.d.mts +9 -145
  10. package/dist/hooks/useV1EngagementSearchProjects.d.ts +9 -145
  11. package/dist/hooks/useV1EngagementTags.d.mts +4 -4
  12. package/dist/hooks/useV1EngagementTags.d.ts +4 -4
  13. package/dist/hooks/useV1EngagementTagsTagKeyword.d.mts +9 -25
  14. package/dist/hooks/useV1EngagementTagsTagKeyword.d.ts +9 -25
  15. package/dist/hooks/useV1EngagementTagsTagKeywordProjects.d.mts +9 -145
  16. package/dist/hooks/useV1EngagementTagsTagKeywordProjects.d.ts +9 -145
  17. package/dist/hooks/useV1MyBulkMessages.d.mts +5 -29
  18. package/dist/hooks/useV1MyBulkMessages.d.ts +5 -29
  19. package/dist/hooks/useV1MyBulkMessagesBulkMessageId.d.mts +5 -29
  20. package/dist/hooks/useV1MyBulkMessagesBulkMessageId.d.ts +5 -29
  21. package/dist/hooks/useV1MyBulkMessagesBulkMessageIdToUsers.d.mts +5 -21
  22. package/dist/hooks/useV1MyBulkMessagesBulkMessageIdToUsers.d.ts +5 -21
  23. package/dist/hooks/useV1MyEngagementFavoriteTags.d.mts +4 -4
  24. package/dist/hooks/useV1MyEngagementFavoriteTags.d.ts +4 -4
  25. package/dist/hooks/useV1MyFundraisingAnnouncements.d.mts +9 -189
  26. package/dist/hooks/useV1MyFundraisingAnnouncements.d.ts +9 -189
  27. package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementId.d.mts +21 -33
  28. package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementId.d.ts +21 -33
  29. package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementPostableProjects.d.mts +5 -21
  30. package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementPostableProjects.d.ts +5 -21
  31. package/dist/hooks/useV1MyFundraisingBulkMessages.d.mts +9 -69
  32. package/dist/hooks/useV1MyFundraisingBulkMessages.d.ts +9 -69
  33. package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageId.d.mts +5 -29
  34. package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageId.d.ts +5 -29
  35. package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers.d.mts +9 -77
  36. package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers.d.ts +9 -77
  37. package/dist/hooks/useV1MyFundraisingHeader.d.mts +13 -21
  38. package/dist/hooks/useV1MyFundraisingHeader.d.ts +13 -21
  39. package/dist/hooks/useV1MyFundraisingMessageRooms.d.mts +5 -41
  40. package/dist/hooks/useV1MyFundraisingMessageRooms.d.ts +5 -41
  41. package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomId.d.mts +5 -41
  42. package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomId.d.ts +5 -41
  43. package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomIdMessages.d.mts +5 -89
  44. package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomIdMessages.d.ts +5 -89
  45. package/dist/hooks/useV1MyFundraisingProjects.d.mts +9 -261
  46. package/dist/hooks/useV1MyFundraisingProjects.d.ts +9 -261
  47. package/dist/hooks/useV1MyFundraisingProjectsProjectId.d.mts +5 -397
  48. package/dist/hooks/useV1MyFundraisingProjectsProjectId.d.ts +5 -397
  49. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysis.d.mts +5 -125
  50. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysis.d.ts +5 -125
  51. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercents.d.mts +9 -33
  52. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercents.d.ts +9 -33
  53. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitors.d.mts +9 -33
  54. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitors.d.ts +9 -33
  55. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnnouncements.d.mts +5 -149
  56. package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnnouncements.d.ts +5 -149
  57. package/dist/hooks/useV1MyFundraisingProjectsProjectIdEditingProgress.d.mts +5 -37
  58. package/dist/hooks/useV1MyFundraisingProjectsProjectIdEditingProgress.d.ts +5 -37
  59. package/dist/hooks/useV1MyFundraisingProjectsProjectIdFastPaymentApplication.d.mts +21 -53
  60. package/dist/hooks/useV1MyFundraisingProjectsProjectIdFastPaymentApplication.d.ts +21 -53
  61. package/dist/hooks/useV1MyFundraisingProjectsProjectIdMonthlyBillingDetails.d.mts +5 -21
  62. package/dist/hooks/useV1MyFundraisingProjectsProjectIdMonthlyBillingDetails.d.ts +5 -21
  63. package/dist/hooks/useV1MyFundraisingProjectsProjectIdSummary.d.mts +5 -17
  64. package/dist/hooks/useV1MyFundraisingProjectsProjectIdSummary.d.ts +5 -17
  65. package/dist/hooks/useV1MyMessagesExchangedUsers.d.mts +9 -61
  66. package/dist/hooks/useV1MyMessagesExchangedUsers.d.ts +9 -61
  67. package/dist/hooks/useV1MyMessagesTree.d.mts +13 -65
  68. package/dist/hooks/useV1MyMessagesTree.d.ts +13 -65
  69. package/dist/hooks/useV1MyProfile.d.mts +9 -45
  70. package/dist/hooks/useV1MyProfile.d.ts +9 -45
  71. package/dist/hooks/useV1MyProjectsOwners.d.mts +5 -33
  72. package/dist/hooks/useV1MyProjectsOwners.d.ts +5 -33
  73. package/dist/hooks/useV1MyProjectsProjectId.d.mts +13 -209
  74. package/dist/hooks/useV1MyProjectsProjectId.d.ts +13 -209
  75. package/dist/hooks/useV1MyProjectsProjectIdCommissions.d.mts +4 -4
  76. package/dist/hooks/useV1MyProjectsProjectIdCommissions.d.ts +4 -4
  77. package/dist/hooks/useV1MyProjectsProjectIdConfirmations.d.mts +24 -24
  78. package/dist/hooks/useV1MyProjectsProjectIdConfirmations.d.ts +24 -24
  79. package/dist/hooks/useV1MyProjectsProjectIdProjectCheckList.d.mts +13 -253
  80. package/dist/hooks/useV1MyProjectsProjectIdProjectCheckList.d.ts +13 -253
  81. package/dist/hooks/useV1MyProjectsProjectIdProjectFastPaymentApplication.d.mts +9 -57
  82. package/dist/hooks/useV1MyProjectsProjectIdProjectFastPaymentApplication.d.ts +9 -57
  83. package/dist/hooks/useV1MyProjectsProjectIdProjectOwner.d.mts +9 -53
  84. package/dist/hooks/useV1MyProjectsProjectIdProjectOwner.d.ts +9 -53
  85. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwner.d.mts +13 -441
  86. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwner.d.ts +13 -441
  87. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivity.d.mts +13 -97
  88. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivity.d.ts +13 -97
  89. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckList.d.mts +13 -297
  90. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckList.d.ts +13 -297
  91. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerTransferAccount.d.mts +13 -133
  92. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerTransferAccount.d.ts +13 -133
  93. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerUrls.d.mts +13 -97
  94. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerUrls.d.ts +13 -97
  95. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwner.d.mts +13 -169
  96. package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwner.d.ts +13 -169
  97. package/dist/hooks/useV1MyProjectsProjectIdPublicationSchedule.d.mts +9 -69
  98. package/dist/hooks/useV1MyProjectsProjectIdPublicationSchedule.d.ts +9 -69
  99. package/dist/hooks/useV1MyProjectsProjectIdRewards.d.mts +17 -233
  100. package/dist/hooks/useV1MyProjectsProjectIdRewards.d.ts +17 -233
  101. package/dist/hooks/useV1MyProjectsProjectIdRewardsRequestsRequestId.d.mts +13 -193
  102. package/dist/hooks/useV1MyProjectsProjectIdRewardsRequestsRequestId.d.ts +13 -193
  103. package/dist/hooks/useV1MyProjectsProjectIdRewardsRewardId.d.mts +13 -201
  104. package/dist/hooks/useV1MyProjectsProjectIdRewardsRewardId.d.ts +13 -201
  105. package/dist/hooks/useV1MyProjectsProjectIdStatisticalEventsEditStart.d.mts +4 -4
  106. package/dist/hooks/useV1MyProjectsProjectIdStatisticalEventsEditStart.d.ts +4 -4
  107. package/dist/hooks/useV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckList.d.mts +13 -253
  108. package/dist/hooks/useV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckList.d.ts +13 -253
  109. package/dist/hooks/useV1MyProjectsProjectIdUserIdentification.d.mts +21 -105
  110. package/dist/hooks/useV1MyProjectsProjectIdUserIdentification.d.ts +21 -105
  111. package/dist/hooks/useV1ProjectsProjectIdAnnouncements.d.mts +16 -16
  112. package/dist/hooks/useV1ProjectsProjectIdAnnouncements.d.ts +16 -16
  113. package/dist/hooks/useV1ProjectsProjectIdComments.d.mts +9 -101
  114. package/dist/hooks/useV1ProjectsProjectIdComments.d.ts +9 -101
  115. package/dist/hooks/useV1ProjectsProjectIdRewards.d.mts +9 -21
  116. package/dist/hooks/useV1ProjectsProjectIdRewards.d.ts +9 -21
  117. package/dist/hooks/useV1ProjectsProjectIdRewardsForPreview.d.mts +48 -72
  118. package/dist/hooks/useV1ProjectsProjectIdRewardsForPreview.d.ts +48 -72
  119. package/dist/hooks/useV1ResourcesCommonHeader.d.mts +9 -129
  120. package/dist/hooks/useV1ResourcesCommonHeader.d.ts +9 -129
  121. package/dist/hooks/useV1SearchProjectSuggestions.d.mts +5 -25
  122. package/dist/hooks/useV1SearchProjectSuggestions.d.ts +5 -25
  123. package/dist/hooks/useV1Tags.d.mts +4 -4
  124. package/dist/hooks/useV1Tags.d.ts +4 -4
  125. package/package.json +12 -11
@@ -1,69 +1,27 @@
1
1
  import * as swr_infinite from 'swr/infinite';
2
2
  import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
3
- import { components } from '../schemaType.mjs';
4
3
  import * as swr from 'swr';
5
4
  import { Arguments } from 'swr';
5
+ import { components } from '../schemaType.mjs';
6
6
  import { Configuration } from '@readyfor/api-client-base/react';
7
7
  import { 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: {
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;
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"];
38
17
  } | undefined;
39
18
  error: any;
40
19
  mutate: swr.KeyedMutator<{
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;
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"];
67
25
  }>;
68
26
  isValidating: boolean;
69
27
  isLoading: boolean;
@@ -71,61 +29,19 @@ declare const useV1MyProjectsProjectIdUserIdentification: (path: V1MyProjectsPro
71
29
  };
72
30
  declare const useV1MyProjectsProjectIdUserIdentificationImmutable: (path: V1MyProjectsProjectIdUserIdentificationGetPath, swrConfig?: Configuration<V1MyProjectsProjectIdUserIdentificationGetResponse>) => {
73
31
  data: {
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;
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"];
100
37
  } | undefined;
101
38
  error: any;
102
39
  mutate: swr.KeyedMutator<{
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;
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"];
129
45
  }>;
130
46
  isValidating: boolean;
131
47
  isLoading: boolean;
@@ -1,69 +1,27 @@
1
1
  import * as swr_infinite from 'swr/infinite';
2
2
  import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
3
- import { components } from '../schemaType.js';
4
3
  import * as swr from 'swr';
5
4
  import { Arguments } from 'swr';
5
+ import { components } from '../schemaType.js';
6
6
  import { Configuration } from '@readyfor/api-client-base/react';
7
7
  import { 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: {
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;
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"];
38
17
  } | undefined;
39
18
  error: any;
40
19
  mutate: swr.KeyedMutator<{
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;
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"];
67
25
  }>;
68
26
  isValidating: boolean;
69
27
  isLoading: boolean;
@@ -71,61 +29,19 @@ declare const useV1MyProjectsProjectIdUserIdentification: (path: V1MyProjectsPro
71
29
  };
72
30
  declare const useV1MyProjectsProjectIdUserIdentificationImmutable: (path: V1MyProjectsProjectIdUserIdentificationGetPath, swrConfig?: Configuration<V1MyProjectsProjectIdUserIdentificationGetResponse>) => {
73
31
  data: {
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;
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"];
100
37
  } | undefined;
101
38
  error: any;
102
39
  mutate: swr.KeyedMutator<{
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;
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"];
129
45
  }>;
130
46
  isValidating: boolean;
131
47
  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;
13
12
  id: number;
14
- imageUrl: string | null;
15
- body: string;
16
13
  title: string;
17
- audience: "public" | "activeRecurringContributors";
18
14
  href: string;
15
+ date: string;
16
+ body: string;
19
17
  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;
24
23
  id: number;
25
- imageUrl: string | null;
26
- body: string;
27
24
  title: string;
28
- audience: "public" | "activeRecurringContributors";
29
25
  href: string;
26
+ date: string;
27
+ body: string;
30
28
  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;
39
38
  id: number;
40
- imageUrl: string | null;
41
- body: string;
42
39
  title: string;
43
- audience: "public" | "activeRecurringContributors";
44
40
  href: string;
41
+ date: string;
42
+ body: string;
45
43
  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;
50
49
  id: number;
51
- imageUrl: string | null;
52
- body: string;
53
50
  title: string;
54
- audience: "public" | "activeRecurringContributors";
55
51
  href: string;
52
+ date: string;
53
+ body: string;
56
54
  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;
13
12
  id: number;
14
- imageUrl: string | null;
15
- body: string;
16
13
  title: string;
17
- audience: "public" | "activeRecurringContributors";
18
14
  href: string;
15
+ date: string;
16
+ body: string;
19
17
  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;
24
23
  id: number;
25
- imageUrl: string | null;
26
- body: string;
27
24
  title: string;
28
- audience: "public" | "activeRecurringContributors";
29
25
  href: string;
26
+ date: string;
27
+ body: string;
30
28
  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;
39
38
  id: number;
40
- imageUrl: string | null;
41
- body: string;
42
39
  title: string;
43
- audience: "public" | "activeRecurringContributors";
44
40
  href: string;
41
+ date: string;
42
+ body: string;
45
43
  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;
50
49
  id: number;
51
- imageUrl: string | null;
52
- body: string;
53
50
  title: string;
54
- audience: "public" | "activeRecurringContributors";
55
51
  href: string;
52
+ date: string;
53
+ body: string;
56
54
  restricted: boolean;
55
+ audience: "public" | "activeRecurringContributors";
56
+ imageUrl: string | null;
57
57
  }[]>;
58
58
  isValidating: boolean;
59
59
  isLoading: boolean;
@@ -1,67 +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 { 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?: {
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;
12
+ orders?: components["schemas"]["GetProjectComments_orders_inner"][];
13
+ meta?: components["schemas"]["GetProjectComments_meta"];
37
14
  } | undefined;
38
15
  error: any;
39
16
  mutate: swr.KeyedMutator<{
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;
17
+ orders?: components["schemas"]["GetProjectComments_orders_inner"][];
18
+ meta?: components["schemas"]["GetProjectComments_meta"];
65
19
  }>;
66
20
  isValidating: boolean;
67
21
  isLoading: boolean;
@@ -69,59 +23,13 @@ declare const useV1ProjectsProjectIdComments: (path: V1ProjectsProjectIdComments
69
23
  };
70
24
  declare const useV1ProjectsProjectIdCommentsImmutable: (path: V1ProjectsProjectIdCommentsGetPath, query: V1ProjectsProjectIdCommentsGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdCommentsGetResponse>) => {
71
25
  data: {
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;
26
+ orders?: components["schemas"]["GetProjectComments_orders_inner"][];
27
+ meta?: components["schemas"]["GetProjectComments_meta"];
97
28
  } | undefined;
98
29
  error: any;
99
30
  mutate: swr.KeyedMutator<{
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;
31
+ orders?: components["schemas"]["GetProjectComments_orders_inner"][];
32
+ meta?: components["schemas"]["GetProjectComments_meta"];
125
33
  }>;
126
34
  isValidating: boolean;
127
35
  isLoading: boolean;