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