@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.
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useV1BanksSearch.d.mts +4 -4
- package/dist/hooks/useV1BanksSearch.d.ts +4 -4
- package/dist/hooks/useV1BranchesSearch.d.mts +4 -4
- package/dist/hooks/useV1BranchesSearch.d.ts +4 -4
- package/dist/hooks/useV1EngagementProjects.d.mts +145 -9
- package/dist/hooks/useV1EngagementProjects.d.ts +145 -9
- package/dist/hooks/useV1EngagementSearchProjects.d.mts +145 -9
- package/dist/hooks/useV1EngagementSearchProjects.d.ts +145 -9
- package/dist/hooks/useV1EngagementTags.d.mts +4 -4
- package/dist/hooks/useV1EngagementTags.d.ts +4 -4
- package/dist/hooks/useV1EngagementTagsTagKeyword.d.mts +25 -9
- package/dist/hooks/useV1EngagementTagsTagKeyword.d.ts +25 -9
- package/dist/hooks/useV1EngagementTagsTagKeywordProjects.d.mts +145 -9
- package/dist/hooks/useV1EngagementTagsTagKeywordProjects.d.ts +145 -9
- package/dist/hooks/useV1MyBulkMessages.d.mts +29 -5
- package/dist/hooks/useV1MyBulkMessages.d.ts +29 -5
- package/dist/hooks/useV1MyBulkMessagesBulkMessageId.d.mts +29 -5
- package/dist/hooks/useV1MyBulkMessagesBulkMessageId.d.ts +29 -5
- package/dist/hooks/useV1MyBulkMessagesBulkMessageIdToUsers.d.mts +21 -5
- package/dist/hooks/useV1MyBulkMessagesBulkMessageIdToUsers.d.ts +21 -5
- package/dist/hooks/useV1MyEngagementFavoriteTags.d.mts +4 -4
- package/dist/hooks/useV1MyEngagementFavoriteTags.d.ts +4 -4
- package/dist/hooks/useV1MyFundraisingAnnouncements.d.mts +189 -9
- package/dist/hooks/useV1MyFundraisingAnnouncements.d.ts +189 -9
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementId.d.mts +33 -21
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementId.d.ts +33 -21
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementPostableProjects.d.mts +21 -5
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementPostableProjects.d.ts +21 -5
- package/dist/hooks/useV1MyFundraisingBulkMessages.d.mts +69 -9
- package/dist/hooks/useV1MyFundraisingBulkMessages.d.ts +69 -9
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageId.d.mts +29 -5
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageId.d.ts +29 -5
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers.d.mts +77 -9
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers.d.ts +77 -9
- package/dist/hooks/useV1MyFundraisingHeader.d.mts +21 -13
- package/dist/hooks/useV1MyFundraisingHeader.d.ts +21 -13
- package/dist/hooks/useV1MyFundraisingMessageRooms.d.mts +41 -5
- package/dist/hooks/useV1MyFundraisingMessageRooms.d.ts +41 -5
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomId.d.mts +41 -5
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomId.d.ts +41 -5
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomIdMessages.d.mts +89 -5
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomIdMessages.d.ts +89 -5
- package/dist/hooks/useV1MyFundraisingProjects.d.mts +261 -9
- package/dist/hooks/useV1MyFundraisingProjects.d.ts +261 -9
- package/dist/hooks/useV1MyFundraisingProjectsProjectId.d.mts +397 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectId.d.ts +397 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysis.d.mts +125 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysis.d.ts +125 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercents.d.mts +33 -9
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercents.d.ts +33 -9
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitors.d.mts +33 -9
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitors.d.ts +33 -9
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnnouncements.d.mts +149 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnnouncements.d.ts +149 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdEditingProgress.d.mts +37 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdEditingProgress.d.ts +37 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdFastPaymentApplication.d.mts +53 -21
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdFastPaymentApplication.d.ts +53 -21
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdMonthlyBillingDetails.d.mts +21 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdMonthlyBillingDetails.d.ts +21 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdSummary.d.mts +17 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdSummary.d.ts +17 -5
- package/dist/hooks/useV1MyMessagesExchangedUsers.d.mts +61 -9
- package/dist/hooks/useV1MyMessagesExchangedUsers.d.ts +61 -9
- package/dist/hooks/useV1MyMessagesTree.d.mts +65 -13
- package/dist/hooks/useV1MyMessagesTree.d.ts +65 -13
- package/dist/hooks/useV1MyProfile.d.mts +45 -9
- package/dist/hooks/useV1MyProfile.d.ts +45 -9
- package/dist/hooks/useV1MyProjectsOwners.d.mts +33 -5
- package/dist/hooks/useV1MyProjectsOwners.d.ts +33 -5
- package/dist/hooks/useV1MyProjectsProjectId.d.mts +209 -13
- package/dist/hooks/useV1MyProjectsProjectId.d.ts +209 -13
- package/dist/hooks/useV1MyProjectsProjectIdCommissions.d.mts +4 -4
- package/dist/hooks/useV1MyProjectsProjectIdCommissions.d.ts +4 -4
- package/dist/hooks/useV1MyProjectsProjectIdConfirmations.d.mts +24 -24
- package/dist/hooks/useV1MyProjectsProjectIdConfirmations.d.ts +24 -24
- package/dist/hooks/useV1MyProjectsProjectIdProjectCheckList.d.mts +253 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectCheckList.d.ts +253 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectFastPaymentApplication.d.mts +57 -9
- package/dist/hooks/useV1MyProjectsProjectIdProjectFastPaymentApplication.d.ts +57 -9
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwner.d.mts +53 -9
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwner.d.ts +53 -9
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwner.d.mts +441 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwner.d.ts +441 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivity.d.mts +97 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivity.d.ts +97 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckList.d.mts +297 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckList.d.ts +297 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerTransferAccount.d.mts +133 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerTransferAccount.d.ts +133 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerUrls.d.mts +97 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerUrls.d.ts +97 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwner.d.mts +169 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwner.d.ts +169 -13
- package/dist/hooks/useV1MyProjectsProjectIdPublicationSchedule.d.mts +69 -9
- package/dist/hooks/useV1MyProjectsProjectIdPublicationSchedule.d.ts +69 -9
- package/dist/hooks/useV1MyProjectsProjectIdRewards.d.mts +233 -17
- package/dist/hooks/useV1MyProjectsProjectIdRewards.d.ts +233 -17
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRequestsRequestId.d.mts +193 -13
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRequestsRequestId.d.ts +193 -13
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRewardId.d.mts +201 -13
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRewardId.d.ts +201 -13
- package/dist/hooks/useV1MyProjectsProjectIdStatisticalEventsEditStart.d.mts +4 -4
- package/dist/hooks/useV1MyProjectsProjectIdStatisticalEventsEditStart.d.ts +4 -4
- package/dist/hooks/useV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckList.d.mts +253 -13
- package/dist/hooks/useV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckList.d.ts +253 -13
- package/dist/hooks/useV1MyProjectsProjectIdUserIdentification.d.mts +105 -21
- package/dist/hooks/useV1MyProjectsProjectIdUserIdentification.d.ts +105 -21
- package/dist/hooks/useV1ProjectsProjectIdAnnouncements.d.mts +16 -16
- package/dist/hooks/useV1ProjectsProjectIdAnnouncements.d.ts +16 -16
- package/dist/hooks/useV1ProjectsProjectIdComments.d.mts +101 -9
- package/dist/hooks/useV1ProjectsProjectIdComments.d.ts +101 -9
- package/dist/hooks/useV1ProjectsProjectIdRewards.d.mts +21 -9
- package/dist/hooks/useV1ProjectsProjectIdRewards.d.ts +21 -9
- package/dist/hooks/useV1ProjectsProjectIdRewardsForPreview.d.mts +72 -48
- package/dist/hooks/useV1ProjectsProjectIdRewardsForPreview.d.ts +72 -48
- package/dist/hooks/useV1ResourcesCommonHeader.d.mts +129 -9
- package/dist/hooks/useV1ResourcesCommonHeader.d.ts +129 -9
- package/dist/hooks/useV1SearchProjectSuggestions.d.mts +25 -5
- package/dist/hooks/useV1SearchProjectSuggestions.d.ts +25 -5
- package/dist/hooks/useV1Tags.d.mts +4 -4
- package/dist/hooks/useV1Tags.d.ts +4 -4
- 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:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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?:
|
|
13
|
-
|
|
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?:
|
|
18
|
-
|
|
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?:
|
|
27
|
-
|
|
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?:
|
|
32
|
-
|
|
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;
|