@propxchain/core-client 0.2.1-canary.21 → 0.2.1-canary.22
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/package.json +1 -1
- package/src/canisters/document_storage/document_storage.did +159 -159
- package/src/canisters/document_storage/document_storage.did.d.ts +159 -159
- package/src/canisters/document_storage/document_storage.did.js +230 -230
- package/src/canisters/document_verification/document_verification.did +248 -248
- package/src/canisters/document_verification/document_verification.did.d.ts +236 -236
- package/src/canisters/document_verification/document_verification.did.js +299 -299
- package/src/canisters/email_service/email_service.did +86 -86
- package/src/canisters/email_service/email_service.did.d.ts +92 -92
- package/src/canisters/email_service/email_service.did.js +131 -131
- package/src/canisters/land_registry_integration/land_registry_integration.did +395 -395
- package/src/canisters/land_registry_integration/land_registry_integration.did.d.ts +331 -331
- package/src/canisters/land_registry_integration/land_registry_integration.did.js +384 -384
- package/src/canisters/ledger_manager/ledger_manager.did +232 -232
- package/src/canisters/ledger_manager/ledger_manager.did.d.ts +205 -205
- package/src/canisters/ledger_manager/ledger_manager.did.js +256 -256
- package/src/canisters/property_registry/property_registry.did.d.ts +71 -71
- package/src/canisters/user_management/user_management.did +297 -297
- package/src/canisters/user_management/user_management.did.d.ts +267 -267
- package/src/canisters/user_management/user_management.did.js +352 -352
|
@@ -1,236 +1,236 @@
|
|
|
1
|
-
import type { Principal } from '@dfinity/principal';
|
|
2
|
-
import type { ActorMethod } from '@dfinity/agent';
|
|
3
|
-
import type { IDL } from '@dfinity/candid';
|
|
4
|
-
|
|
5
|
-
export type ActorType = { 'agent' : null } |
|
|
6
|
-
{ 'systemActor' : null } |
|
|
7
|
-
{ 'user' : null };
|
|
8
|
-
export interface AuditLog {
|
|
9
|
-
'id' : bigint,
|
|
10
|
-
'action' : string,
|
|
11
|
-
'actorType' : ActorType,
|
|
12
|
-
'delegatedBy' : [] | [Principal],
|
|
13
|
-
'performedBy' : Principal,
|
|
14
|
-
'timestamp' : Time,
|
|
15
|
-
'details' : string,
|
|
16
|
-
'success' : boolean,
|
|
17
|
-
'documentId' : bigint,
|
|
18
|
-
}
|
|
19
|
-
export interface DataMismatch {
|
|
20
|
-
'field' : string,
|
|
21
|
-
'found' : string,
|
|
22
|
-
'expected' : string,
|
|
23
|
-
}
|
|
24
|
-
export interface DocumentMetadata {
|
|
25
|
-
'id' : bigint,
|
|
26
|
-
'documentHash' : string,
|
|
27
|
-
'documentType' : string,
|
|
28
|
-
'contentType' : [] | [string],
|
|
29
|
-
'propertyId' : bigint,
|
|
30
|
-
'fileName' : [] | [string],
|
|
31
|
-
'fileSize' : [] | [bigint],
|
|
32
|
-
'isVerified' : boolean,
|
|
33
|
-
'lastVerificationId' : [] | [bigint],
|
|
34
|
-
'storageDocumentId' : [] | [bigint],
|
|
35
|
-
'uploadedAt' : Time,
|
|
36
|
-
'uploadedBy' : Principal,
|
|
37
|
-
'transactionId' : [] | [bigint],
|
|
38
|
-
}
|
|
39
|
-
export interface DocumentVerification {
|
|
40
|
-
'id' : bigint,
|
|
41
|
-
'documentType' : string,
|
|
42
|
-
'verificationDate' : Time,
|
|
43
|
-
'expiresAt' : [] | [Time],
|
|
44
|
-
'failureReason' : [] | [string],
|
|
45
|
-
'propertyId' : bigint,
|
|
46
|
-
'hashVerified' : boolean,
|
|
47
|
-
'notes' : [] | [string],
|
|
48
|
-
'documentId' : bigint,
|
|
49
|
-
'isValid' : boolean,
|
|
50
|
-
'expectedHash' : string,
|
|
51
|
-
'calculatedHash' : string,
|
|
52
|
-
'verifiedBy' : Principal,
|
|
53
|
-
'verificationMethod' : VerificationMethod,
|
|
54
|
-
}
|
|
55
|
-
export interface LRDocumentSummary {
|
|
56
|
-
'documentType' : LRDocumentType,
|
|
57
|
-
'isVerified' : boolean,
|
|
58
|
-
'isCurrent' : boolean,
|
|
59
|
-
'landRegistryReference' : [] | [string],
|
|
60
|
-
'validUntil' : [] | [bigint],
|
|
61
|
-
}
|
|
62
|
-
export type LRDocumentType = { 'LandChargesSearchK16' : null } |
|
|
63
|
-
{ 'OfficialSearchCertificate' : null } |
|
|
64
|
-
{ 'SearchOfPartCertificate' : null } |
|
|
65
|
-
{ 'RegisterExtract' : null } |
|
|
66
|
-
{ 'OfficialCopyRegister' : null } |
|
|
67
|
-
{ 'LocalAuthoritySearch' : null } |
|
|
68
|
-
{ 'OfficialCopyTitlePlan' : null } |
|
|
69
|
-
{ 'CompletionConfirmation' : null } |
|
|
70
|
-
{ 'AP1Acknowledgement' : null } |
|
|
71
|
-
{ 'RequisitionNotice' : null };
|
|
72
|
-
export interface OSCertificateVerification {
|
|
73
|
-
'priorityStatus' : PriorityStatus,
|
|
74
|
-
'registerChangedFlag' : [] | [boolean],
|
|
75
|
-
'advisoryEntries' : Array<string>,
|
|
76
|
-
'hashVerified' : boolean,
|
|
77
|
-
'priorityExpiry' : [] | [bigint],
|
|
78
|
-
'titleNumberMatches' : boolean,
|
|
79
|
-
'daysRemaining' : [] | [bigint],
|
|
80
|
-
'verifiedAt' : bigint,
|
|
81
|
-
'verifiedBy' : Principal,
|
|
82
|
-
}
|
|
83
|
-
export interface OfficialCopyVerification {
|
|
84
|
-
'documentAge' : bigint,
|
|
85
|
-
'hashVerified' : boolean,
|
|
86
|
-
'issuedAt' : bigint,
|
|
87
|
-
'titleNumberMatches' : boolean,
|
|
88
|
-
'isCurrent' : boolean,
|
|
89
|
-
'copyType' : LRDocumentType,
|
|
90
|
-
'verifiedAt' : bigint,
|
|
91
|
-
'verifiedBy' : Principal,
|
|
92
|
-
}
|
|
93
|
-
export interface OscarIssue {
|
|
94
|
-
'field' : [] | [string],
|
|
95
|
-
'code' : string,
|
|
96
|
-
'message' : string,
|
|
97
|
-
'severity' : { 'warning' : null } |
|
|
98
|
-
{ 'info' : null } |
|
|
99
|
-
{ 'error' : null },
|
|
100
|
-
}
|
|
101
|
-
export interface OscarVerificationDetails {
|
|
102
|
-
'documentType' : string,
|
|
103
|
-
'requiresSolicitorReview' : boolean,
|
|
104
|
-
'extractedData' : string,
|
|
105
|
-
'issues' : Array<OscarIssue>,
|
|
106
|
-
'mismatches' : Array<DataMismatch>,
|
|
107
|
-
'confidence' : bigint,
|
|
108
|
-
'analysisTimestamp' : Time,
|
|
109
|
-
}
|
|
110
|
-
export interface OscarVerificationInput {
|
|
111
|
-
'documentType' : string,
|
|
112
|
-
'requiresSolicitorReview' : boolean,
|
|
113
|
-
'extractedData' : string,
|
|
114
|
-
'issues' : Array<OscarIssue>,
|
|
115
|
-
'mismatches' : Array<DataMismatch>,
|
|
116
|
-
'confidence' : bigint,
|
|
117
|
-
}
|
|
118
|
-
export type PriorityStatus = { 'Active' : null } |
|
|
119
|
-
{ 'ExpiringImminently' : null } |
|
|
120
|
-
{ 'Unknown' : null } |
|
|
121
|
-
{ 'Expired' : null };
|
|
122
|
-
export type Result = { 'ok' : DocumentVerification } |
|
|
123
|
-
{ 'err' : string };
|
|
124
|
-
export type Result_1 = { 'ok' : OSCertificateVerification } |
|
|
125
|
-
{ 'err' : string };
|
|
126
|
-
export type Result_2 = { 'ok' : OfficialCopyVerification } |
|
|
127
|
-
{ 'err' : string };
|
|
128
|
-
export type Result_3 = { 'ok' : bigint } |
|
|
129
|
-
{ 'err' : string };
|
|
130
|
-
export type Result_4 = { 'ok' : TransactionVerificationSummary } |
|
|
131
|
-
{ 'err' : string };
|
|
132
|
-
export type Time = bigint;
|
|
133
|
-
export interface TransactionVerificationSummary {
|
|
134
|
-
'missingDocuments' : Array<string>,
|
|
135
|
-
'expiredDocuments' : bigint,
|
|
136
|
-
'hasOfficialSearch' : boolean,
|
|
137
|
-
'titleNumber' : string,
|
|
138
|
-
'allDocumentsVerified' : boolean,
|
|
139
|
-
'readyForSubmission' : boolean,
|
|
140
|
-
'readyForCompletion' : boolean,
|
|
141
|
-
'officialSearchValid' : boolean,
|
|
142
|
-
'allLRDocumentsCurrent' : boolean,
|
|
143
|
-
'verifiedDocuments' : bigint,
|
|
144
|
-
'daysUntilSearchExpiry' : [] | [bigint],
|
|
145
|
-
'lrDocuments' : Array<LRDocumentSummary>,
|
|
146
|
-
'officialSearchExpiry' : [] | [bigint],
|
|
147
|
-
'readyForExchange' : boolean,
|
|
148
|
-
'unverifiedDocuments' : bigint,
|
|
149
|
-
'totalDocuments' : bigint,
|
|
150
|
-
'transactionId' : string,
|
|
151
|
-
}
|
|
152
|
-
export type VerificationMethod = { 'oscar_ai' : OscarVerificationDetails } |
|
|
153
|
-
{ 'passport_dcs' : null } |
|
|
154
|
-
{ 'commercial_api' : string } |
|
|
155
|
-
{ 'system_hash_only' : null } |
|
|
156
|
-
{ 'manual_solicitor' : null } |
|
|
157
|
-
{ 'dvla_api' : null };
|
|
158
|
-
export interface _SERVICE {
|
|
159
|
-
'deleteDocument' : ActorMethod<
|
|
160
|
-
[bigint],
|
|
161
|
-
{ 'ok' : null } |
|
|
162
|
-
{ 'err' : string }
|
|
163
|
-
>,
|
|
164
|
-
'getAuditLogs' : ActorMethod<[], Array<AuditLog>>,
|
|
165
|
-
'getConfiguration' : ActorMethod<
|
|
166
|
-
[],
|
|
167
|
-
{
|
|
168
|
-
'userManagement' : [] | [Principal],
|
|
169
|
-
'documentStorage' : [] | [Principal],
|
|
170
|
-
}
|
|
171
|
-
>,
|
|
172
|
-
'getCycles' : ActorMethod<[], bigint>,
|
|
173
|
-
'getDocument' : ActorMethod<[bigint], [] | [DocumentMetadata]>,
|
|
174
|
-
'getDocumentVerifications' : ActorMethod<
|
|
175
|
-
[bigint],
|
|
176
|
-
Array<DocumentVerification>
|
|
177
|
-
>,
|
|
178
|
-
'getOscarVerificationDetails' : ActorMethod<
|
|
179
|
-
[bigint],
|
|
180
|
-
[] | [OscarVerificationDetails]
|
|
181
|
-
>,
|
|
182
|
-
'getPropertyDocuments' : ActorMethod<[bigint], Array<DocumentMetadata>>,
|
|
183
|
-
'getRecentAuditLogs' : ActorMethod<[bigint], Array<AuditLog>>,
|
|
184
|
-
'getStats' : ActorMethod<
|
|
185
|
-
[],
|
|
186
|
-
{
|
|
187
|
-
'totalVerifications' : bigint,
|
|
188
|
-
'totalAuditLogs' : bigint,
|
|
189
|
-
'verifiedDocuments' : bigint,
|
|
190
|
-
'totalDocuments' : bigint,
|
|
191
|
-
}
|
|
192
|
-
>,
|
|
193
|
-
'getTransactionVerificationSummary' : ActorMethod<[string, string], Result_4>,
|
|
194
|
-
'getUnverifiedDocuments' : ActorMethod<[bigint], Array<DocumentMetadata>>,
|
|
195
|
-
'getVerification' : ActorMethod<[bigint], [] | [DocumentVerification]>,
|
|
196
|
-
'getVerificationsByTransaction' : ActorMethod<
|
|
197
|
-
[bigint],
|
|
198
|
-
Array<DocumentVerification>
|
|
199
|
-
>,
|
|
200
|
-
'getVerificationsByVerifier' : ActorMethod<
|
|
201
|
-
[Principal],
|
|
202
|
-
Array<DocumentVerification>
|
|
203
|
-
>,
|
|
204
|
-
'recordAuditEntry' : ActorMethod<
|
|
205
|
-
[ActorType, [] | [Principal], string, bigint, string, boolean],
|
|
206
|
-
Result_3
|
|
207
|
-
>,
|
|
208
|
-
'registerDocument' : ActorMethod<
|
|
209
|
-
[
|
|
210
|
-
bigint,
|
|
211
|
-
[] | [bigint],
|
|
212
|
-
string,
|
|
213
|
-
string,
|
|
214
|
-
[] | [bigint],
|
|
215
|
-
[] | [string],
|
|
216
|
-
[] | [bigint],
|
|
217
|
-
[] | [string],
|
|
218
|
-
],
|
|
219
|
-
bigint
|
|
220
|
-
>,
|
|
221
|
-
'setDocumentStorageCanister' : ActorMethod<[Principal], undefined>,
|
|
222
|
-
'setUserManagementCanister' : ActorMethod<[Principal], undefined>,
|
|
223
|
-
'verifyDocument' : ActorMethod<[bigint], boolean>,
|
|
224
|
-
'verifyDocumentWithHash' : ActorMethod<[bigint, [] | [string]], Result>,
|
|
225
|
-
'verifyOfficialCopy' : ActorMethod<[bigint, string, bigint], Result_2>,
|
|
226
|
-
'verifyOfficialSearchCertificate' : ActorMethod<
|
|
227
|
-
[bigint, string, [] | [string]],
|
|
228
|
-
Result_1
|
|
229
|
-
>,
|
|
230
|
-
'verifyWithCommercialAPI' : ActorMethod<[bigint, string, string], Result>,
|
|
231
|
-
'verifyWithDVLA' : ActorMethod<[bigint, string], Result>,
|
|
232
|
-
'verifyWithOscar' : ActorMethod<[bigint, OscarVerificationInput], Result>,
|
|
233
|
-
'verifyWithPassportDCS' : ActorMethod<[bigint, string], Result>,
|
|
234
|
-
}
|
|
235
|
-
export declare const idlFactory: IDL.InterfaceFactory;
|
|
236
|
-
export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
|
|
1
|
+
import type { Principal } from '@dfinity/principal';
|
|
2
|
+
import type { ActorMethod } from '@dfinity/agent';
|
|
3
|
+
import type { IDL } from '@dfinity/candid';
|
|
4
|
+
|
|
5
|
+
export type ActorType = { 'agent' : null } |
|
|
6
|
+
{ 'systemActor' : null } |
|
|
7
|
+
{ 'user' : null };
|
|
8
|
+
export interface AuditLog {
|
|
9
|
+
'id' : bigint,
|
|
10
|
+
'action' : string,
|
|
11
|
+
'actorType' : ActorType,
|
|
12
|
+
'delegatedBy' : [] | [Principal],
|
|
13
|
+
'performedBy' : Principal,
|
|
14
|
+
'timestamp' : Time,
|
|
15
|
+
'details' : string,
|
|
16
|
+
'success' : boolean,
|
|
17
|
+
'documentId' : bigint,
|
|
18
|
+
}
|
|
19
|
+
export interface DataMismatch {
|
|
20
|
+
'field' : string,
|
|
21
|
+
'found' : string,
|
|
22
|
+
'expected' : string,
|
|
23
|
+
}
|
|
24
|
+
export interface DocumentMetadata {
|
|
25
|
+
'id' : bigint,
|
|
26
|
+
'documentHash' : string,
|
|
27
|
+
'documentType' : string,
|
|
28
|
+
'contentType' : [] | [string],
|
|
29
|
+
'propertyId' : bigint,
|
|
30
|
+
'fileName' : [] | [string],
|
|
31
|
+
'fileSize' : [] | [bigint],
|
|
32
|
+
'isVerified' : boolean,
|
|
33
|
+
'lastVerificationId' : [] | [bigint],
|
|
34
|
+
'storageDocumentId' : [] | [bigint],
|
|
35
|
+
'uploadedAt' : Time,
|
|
36
|
+
'uploadedBy' : Principal,
|
|
37
|
+
'transactionId' : [] | [bigint],
|
|
38
|
+
}
|
|
39
|
+
export interface DocumentVerification {
|
|
40
|
+
'id' : bigint,
|
|
41
|
+
'documentType' : string,
|
|
42
|
+
'verificationDate' : Time,
|
|
43
|
+
'expiresAt' : [] | [Time],
|
|
44
|
+
'failureReason' : [] | [string],
|
|
45
|
+
'propertyId' : bigint,
|
|
46
|
+
'hashVerified' : boolean,
|
|
47
|
+
'notes' : [] | [string],
|
|
48
|
+
'documentId' : bigint,
|
|
49
|
+
'isValid' : boolean,
|
|
50
|
+
'expectedHash' : string,
|
|
51
|
+
'calculatedHash' : string,
|
|
52
|
+
'verifiedBy' : Principal,
|
|
53
|
+
'verificationMethod' : VerificationMethod,
|
|
54
|
+
}
|
|
55
|
+
export interface LRDocumentSummary {
|
|
56
|
+
'documentType' : LRDocumentType,
|
|
57
|
+
'isVerified' : boolean,
|
|
58
|
+
'isCurrent' : boolean,
|
|
59
|
+
'landRegistryReference' : [] | [string],
|
|
60
|
+
'validUntil' : [] | [bigint],
|
|
61
|
+
}
|
|
62
|
+
export type LRDocumentType = { 'LandChargesSearchK16' : null } |
|
|
63
|
+
{ 'OfficialSearchCertificate' : null } |
|
|
64
|
+
{ 'SearchOfPartCertificate' : null } |
|
|
65
|
+
{ 'RegisterExtract' : null } |
|
|
66
|
+
{ 'OfficialCopyRegister' : null } |
|
|
67
|
+
{ 'LocalAuthoritySearch' : null } |
|
|
68
|
+
{ 'OfficialCopyTitlePlan' : null } |
|
|
69
|
+
{ 'CompletionConfirmation' : null } |
|
|
70
|
+
{ 'AP1Acknowledgement' : null } |
|
|
71
|
+
{ 'RequisitionNotice' : null };
|
|
72
|
+
export interface OSCertificateVerification {
|
|
73
|
+
'priorityStatus' : PriorityStatus,
|
|
74
|
+
'registerChangedFlag' : [] | [boolean],
|
|
75
|
+
'advisoryEntries' : Array<string>,
|
|
76
|
+
'hashVerified' : boolean,
|
|
77
|
+
'priorityExpiry' : [] | [bigint],
|
|
78
|
+
'titleNumberMatches' : boolean,
|
|
79
|
+
'daysRemaining' : [] | [bigint],
|
|
80
|
+
'verifiedAt' : bigint,
|
|
81
|
+
'verifiedBy' : Principal,
|
|
82
|
+
}
|
|
83
|
+
export interface OfficialCopyVerification {
|
|
84
|
+
'documentAge' : bigint,
|
|
85
|
+
'hashVerified' : boolean,
|
|
86
|
+
'issuedAt' : bigint,
|
|
87
|
+
'titleNumberMatches' : boolean,
|
|
88
|
+
'isCurrent' : boolean,
|
|
89
|
+
'copyType' : LRDocumentType,
|
|
90
|
+
'verifiedAt' : bigint,
|
|
91
|
+
'verifiedBy' : Principal,
|
|
92
|
+
}
|
|
93
|
+
export interface OscarIssue {
|
|
94
|
+
'field' : [] | [string],
|
|
95
|
+
'code' : string,
|
|
96
|
+
'message' : string,
|
|
97
|
+
'severity' : { 'warning' : null } |
|
|
98
|
+
{ 'info' : null } |
|
|
99
|
+
{ 'error' : null },
|
|
100
|
+
}
|
|
101
|
+
export interface OscarVerificationDetails {
|
|
102
|
+
'documentType' : string,
|
|
103
|
+
'requiresSolicitorReview' : boolean,
|
|
104
|
+
'extractedData' : string,
|
|
105
|
+
'issues' : Array<OscarIssue>,
|
|
106
|
+
'mismatches' : Array<DataMismatch>,
|
|
107
|
+
'confidence' : bigint,
|
|
108
|
+
'analysisTimestamp' : Time,
|
|
109
|
+
}
|
|
110
|
+
export interface OscarVerificationInput {
|
|
111
|
+
'documentType' : string,
|
|
112
|
+
'requiresSolicitorReview' : boolean,
|
|
113
|
+
'extractedData' : string,
|
|
114
|
+
'issues' : Array<OscarIssue>,
|
|
115
|
+
'mismatches' : Array<DataMismatch>,
|
|
116
|
+
'confidence' : bigint,
|
|
117
|
+
}
|
|
118
|
+
export type PriorityStatus = { 'Active' : null } |
|
|
119
|
+
{ 'ExpiringImminently' : null } |
|
|
120
|
+
{ 'Unknown' : null } |
|
|
121
|
+
{ 'Expired' : null };
|
|
122
|
+
export type Result = { 'ok' : DocumentVerification } |
|
|
123
|
+
{ 'err' : string };
|
|
124
|
+
export type Result_1 = { 'ok' : OSCertificateVerification } |
|
|
125
|
+
{ 'err' : string };
|
|
126
|
+
export type Result_2 = { 'ok' : OfficialCopyVerification } |
|
|
127
|
+
{ 'err' : string };
|
|
128
|
+
export type Result_3 = { 'ok' : bigint } |
|
|
129
|
+
{ 'err' : string };
|
|
130
|
+
export type Result_4 = { 'ok' : TransactionVerificationSummary } |
|
|
131
|
+
{ 'err' : string };
|
|
132
|
+
export type Time = bigint;
|
|
133
|
+
export interface TransactionVerificationSummary {
|
|
134
|
+
'missingDocuments' : Array<string>,
|
|
135
|
+
'expiredDocuments' : bigint,
|
|
136
|
+
'hasOfficialSearch' : boolean,
|
|
137
|
+
'titleNumber' : string,
|
|
138
|
+
'allDocumentsVerified' : boolean,
|
|
139
|
+
'readyForSubmission' : boolean,
|
|
140
|
+
'readyForCompletion' : boolean,
|
|
141
|
+
'officialSearchValid' : boolean,
|
|
142
|
+
'allLRDocumentsCurrent' : boolean,
|
|
143
|
+
'verifiedDocuments' : bigint,
|
|
144
|
+
'daysUntilSearchExpiry' : [] | [bigint],
|
|
145
|
+
'lrDocuments' : Array<LRDocumentSummary>,
|
|
146
|
+
'officialSearchExpiry' : [] | [bigint],
|
|
147
|
+
'readyForExchange' : boolean,
|
|
148
|
+
'unverifiedDocuments' : bigint,
|
|
149
|
+
'totalDocuments' : bigint,
|
|
150
|
+
'transactionId' : string,
|
|
151
|
+
}
|
|
152
|
+
export type VerificationMethod = { 'oscar_ai' : OscarVerificationDetails } |
|
|
153
|
+
{ 'passport_dcs' : null } |
|
|
154
|
+
{ 'commercial_api' : string } |
|
|
155
|
+
{ 'system_hash_only' : null } |
|
|
156
|
+
{ 'manual_solicitor' : null } |
|
|
157
|
+
{ 'dvla_api' : null };
|
|
158
|
+
export interface _SERVICE {
|
|
159
|
+
'deleteDocument' : ActorMethod<
|
|
160
|
+
[bigint],
|
|
161
|
+
{ 'ok' : null } |
|
|
162
|
+
{ 'err' : string }
|
|
163
|
+
>,
|
|
164
|
+
'getAuditLogs' : ActorMethod<[], Array<AuditLog>>,
|
|
165
|
+
'getConfiguration' : ActorMethod<
|
|
166
|
+
[],
|
|
167
|
+
{
|
|
168
|
+
'userManagement' : [] | [Principal],
|
|
169
|
+
'documentStorage' : [] | [Principal],
|
|
170
|
+
}
|
|
171
|
+
>,
|
|
172
|
+
'getCycles' : ActorMethod<[], bigint>,
|
|
173
|
+
'getDocument' : ActorMethod<[bigint], [] | [DocumentMetadata]>,
|
|
174
|
+
'getDocumentVerifications' : ActorMethod<
|
|
175
|
+
[bigint],
|
|
176
|
+
Array<DocumentVerification>
|
|
177
|
+
>,
|
|
178
|
+
'getOscarVerificationDetails' : ActorMethod<
|
|
179
|
+
[bigint],
|
|
180
|
+
[] | [OscarVerificationDetails]
|
|
181
|
+
>,
|
|
182
|
+
'getPropertyDocuments' : ActorMethod<[bigint], Array<DocumentMetadata>>,
|
|
183
|
+
'getRecentAuditLogs' : ActorMethod<[bigint], Array<AuditLog>>,
|
|
184
|
+
'getStats' : ActorMethod<
|
|
185
|
+
[],
|
|
186
|
+
{
|
|
187
|
+
'totalVerifications' : bigint,
|
|
188
|
+
'totalAuditLogs' : bigint,
|
|
189
|
+
'verifiedDocuments' : bigint,
|
|
190
|
+
'totalDocuments' : bigint,
|
|
191
|
+
}
|
|
192
|
+
>,
|
|
193
|
+
'getTransactionVerificationSummary' : ActorMethod<[string, string], Result_4>,
|
|
194
|
+
'getUnverifiedDocuments' : ActorMethod<[bigint], Array<DocumentMetadata>>,
|
|
195
|
+
'getVerification' : ActorMethod<[bigint], [] | [DocumentVerification]>,
|
|
196
|
+
'getVerificationsByTransaction' : ActorMethod<
|
|
197
|
+
[bigint],
|
|
198
|
+
Array<DocumentVerification>
|
|
199
|
+
>,
|
|
200
|
+
'getVerificationsByVerifier' : ActorMethod<
|
|
201
|
+
[Principal],
|
|
202
|
+
Array<DocumentVerification>
|
|
203
|
+
>,
|
|
204
|
+
'recordAuditEntry' : ActorMethod<
|
|
205
|
+
[ActorType, [] | [Principal], string, bigint, string, boolean],
|
|
206
|
+
Result_3
|
|
207
|
+
>,
|
|
208
|
+
'registerDocument' : ActorMethod<
|
|
209
|
+
[
|
|
210
|
+
bigint,
|
|
211
|
+
[] | [bigint],
|
|
212
|
+
string,
|
|
213
|
+
string,
|
|
214
|
+
[] | [bigint],
|
|
215
|
+
[] | [string],
|
|
216
|
+
[] | [bigint],
|
|
217
|
+
[] | [string],
|
|
218
|
+
],
|
|
219
|
+
bigint
|
|
220
|
+
>,
|
|
221
|
+
'setDocumentStorageCanister' : ActorMethod<[Principal], undefined>,
|
|
222
|
+
'setUserManagementCanister' : ActorMethod<[Principal], undefined>,
|
|
223
|
+
'verifyDocument' : ActorMethod<[bigint], boolean>,
|
|
224
|
+
'verifyDocumentWithHash' : ActorMethod<[bigint, [] | [string]], Result>,
|
|
225
|
+
'verifyOfficialCopy' : ActorMethod<[bigint, string, bigint], Result_2>,
|
|
226
|
+
'verifyOfficialSearchCertificate' : ActorMethod<
|
|
227
|
+
[bigint, string, [] | [string]],
|
|
228
|
+
Result_1
|
|
229
|
+
>,
|
|
230
|
+
'verifyWithCommercialAPI' : ActorMethod<[bigint, string, string], Result>,
|
|
231
|
+
'verifyWithDVLA' : ActorMethod<[bigint, string], Result>,
|
|
232
|
+
'verifyWithOscar' : ActorMethod<[bigint, OscarVerificationInput], Result>,
|
|
233
|
+
'verifyWithPassportDCS' : ActorMethod<[bigint, string], Result>,
|
|
234
|
+
}
|
|
235
|
+
export declare const idlFactory: IDL.InterfaceFactory;
|
|
236
|
+
export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
|