@propxchain/core-client 0.3.0 → 0.5.0-canary.42
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/canisters/document_storage/document_storage.did.d.ts +169 -7
- package/dist/canisters/document_storage/document_storage.did.js +237 -148
- package/dist/canisters/document_verification/document_verification.did.d.ts +248 -7
- package/dist/canisters/document_verification/document_verification.did.js +322 -231
- package/dist/canisters/email_service/email_service.did.d.ts +92 -7
- package/dist/canisters/email_service/email_service.did.js +128 -73
- package/dist/canisters/land_registry_integration/land_registry_integration.did.d.ts +227 -7
- package/dist/canisters/land_registry_integration/land_registry_integration.did.js +264 -315
- package/dist/canisters/ledger_manager/ledger_manager.did.d.ts +215 -7
- package/dist/canisters/ledger_manager/ledger_manager.did.js +262 -198
- package/dist/canisters/property_registry/property_registry.did.d.ts +77 -7
- package/dist/canisters/property_registry/property_registry.did.js +84 -57
- package/dist/canisters/transaction_manager/transaction_manager.did.d.ts +960 -7
- package/dist/canisters/transaction_manager/transaction_manager.did.js +1081 -867
- package/dist/canisters/user_management/user_management.did.d.ts +314 -7
- package/dist/canisters/user_management/user_management.did.js +420 -254
- package/dist/jurisdiction.d.ts +50 -0
- package/dist/jurisdiction.d.ts.map +1 -0
- package/dist/jurisdiction.js +109 -0
- package/dist/jurisdiction.js.map +1 -0
- package/dist/mock.js +1 -1
- package/package.json +6 -2
- package/src/canisters/document_storage/document_storage.did +32 -21
- package/src/canisters/document_storage/document_storage.did.d.ts +34 -24
- package/src/canisters/document_storage/document_storage.did.js +31 -21
- package/src/canisters/document_verification/document_verification.did +6 -6
- package/src/canisters/document_verification/document_verification.did.d.ts +12 -12
- package/src/canisters/document_verification/document_verification.did.js +28 -28
- package/src/canisters/email_service/email_service.did.d.ts +3 -3
- package/src/canisters/land_registry_integration/land_registry_integration.did.d.ts +3 -3
- package/src/canisters/land_registry_integration/land_registry_integration.did.js +23 -139
- package/src/canisters/ledger_manager/ledger_manager.did +2 -1
- package/src/canisters/ledger_manager/ledger_manager.did.d.ts +4 -3
- package/src/canisters/ledger_manager/ledger_manager.did.js +2 -5
- package/src/canisters/property_registry/property_registry.did +7 -3
- package/src/canisters/property_registry/property_registry.did.d.ts +10 -6
- package/src/canisters/property_registry/property_registry.did.js +12 -4
- package/src/canisters/transaction_manager/transaction_manager.did +104 -44
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +93 -43
- package/src/canisters/transaction_manager/transaction_manager.did.js +117 -38
- package/src/canisters/user_management/user_management.did +62 -19
- package/src/canisters/user_management/user_management.did.d.ts +68 -21
- package/src/canisters/user_management/user_management.did.js +90 -19
- package/src/jurisdiction.ts +117 -0
- package/src/mock.ts +1 -1
- package/dist/canisters/document_storage/document_storage.did.d.ts.map +0 -1
- package/dist/canisters/document_storage/document_storage.did.js.map +0 -1
- package/dist/canisters/document_verification/document_verification.did.d.ts.map +0 -1
- package/dist/canisters/document_verification/document_verification.did.js.map +0 -1
- package/dist/canisters/email_service/email_service.did.d.ts.map +0 -1
- package/dist/canisters/email_service/email_service.did.js.map +0 -1
- package/dist/canisters/land_registry_integration/land_registry_integration.did.d.ts.map +0 -1
- package/dist/canisters/land_registry_integration/land_registry_integration.did.js.map +0 -1
- package/dist/canisters/ledger_manager/ledger_manager.did.d.ts.map +0 -1
- package/dist/canisters/ledger_manager/ledger_manager.did.js.map +0 -1
- package/dist/canisters/property_registry/property_registry.did.d.ts.map +0 -1
- package/dist/canisters/property_registry/property_registry.did.js.map +0 -1
- package/dist/canisters/transaction_manager/transaction_manager.did.d.ts.map +0 -1
- package/dist/canisters/transaction_manager/transaction_manager.did.js.map +0 -1
- package/dist/canisters/user_management/user_management.did.d.ts.map +0 -1
- package/dist/canisters/user_management/user_management.did.js.map +0 -1
|
@@ -1,319 +1,268 @@
|
|
|
1
1
|
export const idlFactory = ({ IDL }) => {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
'
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
'
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
'
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
'priorityExpiry': IDL.Text,
|
|
203
|
-
'searchRef': IDL.Text,
|
|
204
|
-
});
|
|
205
|
-
const Result_4 = IDL.Variant({
|
|
206
|
-
'ok': OfficialSearchResponse,
|
|
207
|
-
'err': IDL.Text,
|
|
208
|
-
});
|
|
209
|
-
const Result_3 = IDL.Variant({ 'ok': IDL.Null, 'err': IDL.Text });
|
|
210
|
-
const AP1SubmissionRequest = IDL.Record({
|
|
211
|
-
'transfereeNames': IDL.Vec(IDL.Text),
|
|
212
|
-
'transferAmount': IDL.Nat,
|
|
213
|
-
'transferDate': IDL.Text,
|
|
214
|
-
'titleNumber': IDL.Text,
|
|
215
|
-
'transfereeAddress': IDL.Text,
|
|
216
|
-
'propertyAddress': IDL.Text,
|
|
217
|
-
'transferorAddress': IDL.Text,
|
|
218
|
-
'blockchainProofHash': IDL.Text,
|
|
219
|
-
'propertyPostcode': IDL.Text,
|
|
220
|
-
'conveyancerReference': IDL.Text,
|
|
221
|
-
'conveyancerAddress': IDL.Text,
|
|
222
|
-
'conveyancerSRANumber': IDL.Text,
|
|
223
|
-
'officialSearchRef': IDL.Text,
|
|
224
|
-
'transfereeType': IDL.Text,
|
|
225
|
-
'conveyancerName': IDL.Text,
|
|
226
|
-
'transferorNames': IDL.Vec(IDL.Text),
|
|
227
|
-
'applicationType': IDL.Text,
|
|
228
|
-
});
|
|
229
|
-
const AP1SubmissionResponse = IDL.Record({
|
|
230
|
-
'httpStatus': IDL.Nat,
|
|
231
|
-
'applicationReference': IDL.Text,
|
|
232
|
-
'message': IDL.Text,
|
|
233
|
-
'confirmationNumber': IDL.Text,
|
|
234
|
-
'estimatedCompletionDate': IDL.Opt(IDL.Text),
|
|
235
|
-
'scaleFePence': IDL.Nat,
|
|
236
|
-
});
|
|
237
|
-
const Result_1 = IDL.Variant({
|
|
238
|
-
'ok': AP1SubmissionResponse,
|
|
239
|
-
'err': IDL.Text,
|
|
240
|
-
});
|
|
241
|
-
const HttpHeader = IDL.Record({ 'value': IDL.Text, 'name': IDL.Text });
|
|
242
|
-
const HttpResponse = IDL.Record({
|
|
243
|
-
'status': IDL.Nat,
|
|
244
|
-
'body': IDL.Vec(IDL.Nat8),
|
|
245
|
-
'headers': IDL.Vec(HttpHeader),
|
|
246
|
-
});
|
|
247
|
-
const TransformArgs = IDL.Record({
|
|
248
|
-
'context': IDL.Vec(IDL.Nat8),
|
|
249
|
-
'response': HttpResponse,
|
|
250
|
-
});
|
|
251
|
-
const Result = IDL.Variant({ 'ok': IDL.Bool, 'err': IDL.Text });
|
|
252
|
-
return IDL.Service({
|
|
253
|
-
'check_land_registry_status': IDL.Func([IDL.Text], [IDL.Opt(LandRegistryTransactionRecord)], ['query']),
|
|
254
|
-
'configure_land_registry_api': IDL.Func([LandRegistryAPICredentials], [Result_2], []),
|
|
255
|
-
'getApplicationStatus': IDL.Func([IDL.Text], [Result_12], []),
|
|
256
|
-
'getAuditLog': IDL.Func([], [IDL.Vec(AuditEntry)], ['query']),
|
|
257
|
-
'getCredentialStatus': IDL.Func([], [CredentialStatus], ['query']),
|
|
258
|
-
'getCycles': IDL.Func([], [IDL.Nat], ['query']),
|
|
259
|
-
'getDailySpend': IDL.Func([], [IDL.Nat], ['query']),
|
|
260
|
-
'getEstimatedCompletionDate': IDL.Func([IDL.Text], [Result_11], []),
|
|
261
|
-
'getNotificationPollingStatus': IDL.Func([], [
|
|
2
|
+
const TransactionStatus = IDL.Variant({
|
|
3
|
+
'sent_to_lr' : IDL.Null,
|
|
4
|
+
'requires_manual_review' : IDL.Null,
|
|
5
|
+
'pending_api_call' : IDL.Null,
|
|
6
|
+
'confirmed' : IDL.Null,
|
|
7
|
+
'failed' : IDL.Null,
|
|
8
|
+
});
|
|
9
|
+
const NewOwnerInfo = IDL.Record({
|
|
10
|
+
'name' : IDL.Text,
|
|
11
|
+
'address' : IDL.Text,
|
|
12
|
+
'contactEmail' : IDL.Text,
|
|
13
|
+
});
|
|
14
|
+
const ConveyancerInfo = IDL.Record({
|
|
15
|
+
'name' : IDL.Text,
|
|
16
|
+
'contactEmail' : IDL.Text,
|
|
17
|
+
'licenseNumber' : IDL.Text,
|
|
18
|
+
});
|
|
19
|
+
const OwnershipTransferPayload = IDL.Record({
|
|
20
|
+
'transactionDate' : IDL.Int,
|
|
21
|
+
'postcode' : IDL.Text,
|
|
22
|
+
'sellerSolicitorSignature' : IDL.Text,
|
|
23
|
+
'buyerSolicitorSignature' : IDL.Text,
|
|
24
|
+
'titleNumber' : IDL.Text,
|
|
25
|
+
'newOwnerDetails' : NewOwnerInfo,
|
|
26
|
+
'blockchainCompletionProof' : IDL.Text,
|
|
27
|
+
'previousOwner' : IDL.Text,
|
|
28
|
+
'propertyAddress' : IDL.Text,
|
|
29
|
+
'contractExchangeTimestamp' : IDL.Int,
|
|
30
|
+
'blockchainProofHash' : IDL.Text,
|
|
31
|
+
'transactionAmount' : IDL.Nat64,
|
|
32
|
+
'transferID' : IDL.Text,
|
|
33
|
+
'conveyancerDetails' : ConveyancerInfo,
|
|
34
|
+
'blockchainCompletionTimestamp' : IDL.Int,
|
|
35
|
+
});
|
|
36
|
+
const LRStatus = IDL.Variant({
|
|
37
|
+
'processing' : IDL.Null,
|
|
38
|
+
'received' : IDL.Null,
|
|
39
|
+
'failed' : IDL.Null,
|
|
40
|
+
'registered' : IDL.Null,
|
|
41
|
+
});
|
|
42
|
+
const LandRegistryAPIResponse = IDL.Record({
|
|
43
|
+
'status' : LRStatus,
|
|
44
|
+
'registeredTimestamp' : IDL.Opt(IDL.Int),
|
|
45
|
+
'processedTimestamp' : IDL.Opt(IDL.Int),
|
|
46
|
+
'errorMessage' : IDL.Opt(IDL.Text),
|
|
47
|
+
'receivedTimestamp' : IDL.Int,
|
|
48
|
+
'responseID' : IDL.Text,
|
|
49
|
+
'estimatedCompletionTime' : IDL.Int,
|
|
50
|
+
'landRegistryConfirmationNumber' : IDL.Text,
|
|
51
|
+
});
|
|
52
|
+
const LandRegistryTransactionRecord = IDL.Record({
|
|
53
|
+
'status' : TransactionStatus,
|
|
54
|
+
'createdAt' : IDL.Int,
|
|
55
|
+
'lastUpdated' : IDL.Int,
|
|
56
|
+
'maxRetries' : IDL.Nat32,
|
|
57
|
+
'landRegistryPayload' : OwnershipTransferPayload,
|
|
58
|
+
'retryCount' : IDL.Nat32,
|
|
59
|
+
'nextRetryTime' : IDL.Opt(IDL.Int),
|
|
60
|
+
'blockchainTransactionID' : IDL.Text,
|
|
61
|
+
'apiResponse' : IDL.Opt(LandRegistryAPIResponse),
|
|
62
|
+
'transactionID' : IDL.Text,
|
|
63
|
+
});
|
|
64
|
+
const ActorType = IDL.Variant({
|
|
65
|
+
'agent' : IDL.Null,
|
|
66
|
+
'systemActor' : IDL.Null,
|
|
67
|
+
'user' : IDL.Null,
|
|
68
|
+
});
|
|
69
|
+
const AuditEntry = IDL.Record({
|
|
70
|
+
'action' : IDL.Text,
|
|
71
|
+
'actorType' : ActorType,
|
|
72
|
+
'delegatedBy' : IDL.Opt(IDL.Principal),
|
|
73
|
+
'timestamp' : IDL.Int,
|
|
74
|
+
'details' : IDL.Text,
|
|
75
|
+
'caller' : IDL.Principal,
|
|
76
|
+
'success' : IDL.Bool,
|
|
77
|
+
});
|
|
78
|
+
const Environment = IDL.Variant({
|
|
79
|
+
'sandbox' : IDL.Null,
|
|
80
|
+
'production' : IDL.Null,
|
|
81
|
+
});
|
|
82
|
+
const CredentialStatus = IDL.Record({
|
|
83
|
+
'isExpired' : IDL.Bool,
|
|
84
|
+
'isConfigured' : IDL.Bool,
|
|
85
|
+
'lastRotated' : IDL.Opt(IDL.Int),
|
|
86
|
+
'environment' : IDL.Opt(Environment),
|
|
87
|
+
'daysSinceRotation' : IDL.Opt(IDL.Nat),
|
|
88
|
+
});
|
|
89
|
+
const RateLimitInfo = IDL.Record({
|
|
90
|
+
'callsThisHour' : IDL.Nat,
|
|
91
|
+
'endpoint' : IDL.Text,
|
|
92
|
+
'dayResetAt' : IDL.Int,
|
|
93
|
+
'lastCallAt' : IDL.Int,
|
|
94
|
+
'callsToday' : IDL.Nat,
|
|
95
|
+
'hourResetAt' : IDL.Int,
|
|
96
|
+
});
|
|
97
|
+
const CostSummary = IDL.Record({
|
|
98
|
+
'entryCount' : IDL.Nat,
|
|
99
|
+
'byEndpoint' : IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat)),
|
|
100
|
+
'totalPence' : IDL.Nat,
|
|
101
|
+
'byTransaction' : IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat)),
|
|
102
|
+
});
|
|
103
|
+
const Period = IDL.Variant({
|
|
104
|
+
'day' : IDL.Null,
|
|
105
|
+
'month' : IDL.Null,
|
|
106
|
+
'week' : IDL.Null,
|
|
107
|
+
'year' : IDL.Null,
|
|
108
|
+
});
|
|
109
|
+
const LandRegistryStats = IDL.Record({
|
|
110
|
+
'pending' : IDL.Nat32,
|
|
111
|
+
'totalSubmissions' : IDL.Nat32,
|
|
112
|
+
'avgTimeToRegistration' : IDL.Nat32,
|
|
113
|
+
'successful' : IDL.Nat32,
|
|
114
|
+
'failed' : IDL.Nat32,
|
|
115
|
+
});
|
|
116
|
+
const Result_7 = IDL.Variant({
|
|
117
|
+
'ok' : LandRegistryAPIResponse,
|
|
118
|
+
'err' : IDL.Text,
|
|
119
|
+
});
|
|
120
|
+
const Result_6 = IDL.Variant({ 'ok' : IDL.Nat32, 'err' : IDL.Text });
|
|
121
|
+
const Result_5 = IDL.Variant({
|
|
122
|
+
'ok' : OwnershipTransferPayload,
|
|
123
|
+
'err' : IDL.Text,
|
|
124
|
+
});
|
|
125
|
+
const Result_1 = IDL.Variant({ 'ok' : IDL.Text, 'err' : IDL.Text });
|
|
126
|
+
const Result_4 = IDL.Variant({ 'ok' : IDL.Nat, 'err' : IDL.Text });
|
|
127
|
+
const OfficialSearchResponse = IDL.Record({
|
|
128
|
+
'httpStatus' : IDL.Nat,
|
|
129
|
+
'officialCopyTimestamp' : IDL.Opt(IDL.Text),
|
|
130
|
+
'advisoryEntries' : IDL.Vec(IDL.Text),
|
|
131
|
+
'documentStorageId' : IDL.Opt(IDL.Nat),
|
|
132
|
+
'certificatePdfHash' : IDL.Opt(IDL.Text),
|
|
133
|
+
'registeredProprietorNames' : IDL.Vec(IDL.Text),
|
|
134
|
+
'certificateTimestamp' : IDL.Text,
|
|
135
|
+
'resultContainsAdvisoryEntries' : IDL.Bool,
|
|
136
|
+
'registerChangedSinceSearchFromDate' : IDL.Bool,
|
|
137
|
+
'priorityExpiry' : IDL.Text,
|
|
138
|
+
'searchRef' : IDL.Text,
|
|
139
|
+
});
|
|
140
|
+
const Result_3 = IDL.Variant({
|
|
141
|
+
'ok' : OfficialSearchResponse,
|
|
142
|
+
'err' : IDL.Text,
|
|
143
|
+
});
|
|
144
|
+
const Result_2 = IDL.Variant({ 'ok' : IDL.Null, 'err' : IDL.Text });
|
|
145
|
+
const HttpHeader = IDL.Record({ 'value' : IDL.Text, 'name' : IDL.Text });
|
|
146
|
+
const HttpResponse = IDL.Record({
|
|
147
|
+
'status' : IDL.Nat,
|
|
148
|
+
'body' : IDL.Vec(IDL.Nat8),
|
|
149
|
+
'headers' : IDL.Vec(HttpHeader),
|
|
150
|
+
});
|
|
151
|
+
const TransformArgs = IDL.Record({
|
|
152
|
+
'context' : IDL.Vec(IDL.Nat8),
|
|
153
|
+
'response' : HttpResponse,
|
|
154
|
+
});
|
|
155
|
+
const Result = IDL.Variant({ 'ok' : IDL.Bool, 'err' : IDL.Text });
|
|
156
|
+
return IDL.Service({
|
|
157
|
+
'check_land_registry_status' : IDL.Func(
|
|
158
|
+
[IDL.Text],
|
|
159
|
+
[IDL.Opt(LandRegistryTransactionRecord)],
|
|
160
|
+
['query'],
|
|
161
|
+
),
|
|
162
|
+
'getAuditLog' : IDL.Func([], [IDL.Vec(AuditEntry)], ['query']),
|
|
163
|
+
'getCredentialStatus' : IDL.Func([], [CredentialStatus], ['query']),
|
|
164
|
+
'getCycles' : IDL.Func([], [IDL.Nat], ['query']),
|
|
165
|
+
'getDailySpend' : IDL.Func([], [IDL.Nat], ['query']),
|
|
166
|
+
'getNotificationPollingStatus' : IDL.Func(
|
|
167
|
+
[],
|
|
168
|
+
[
|
|
169
|
+
IDL.Record({
|
|
170
|
+
'enabled' : IDL.Bool,
|
|
171
|
+
'intervalSeconds' : IDL.Nat,
|
|
172
|
+
'lastPollAt' : IDL.Int,
|
|
173
|
+
}),
|
|
174
|
+
],
|
|
175
|
+
['query'],
|
|
176
|
+
),
|
|
177
|
+
'getRateLimitStatus' : IDL.Func(
|
|
178
|
+
[],
|
|
179
|
+
[IDL.Vec(IDL.Tuple(IDL.Text, RateLimitInfo))],
|
|
180
|
+
['query'],
|
|
181
|
+
),
|
|
182
|
+
'getTotalCosts' : IDL.Func([IDL.Int, IDL.Int], [CostSummary], ['query']),
|
|
183
|
+
'get_all_pending_land_registry_submissions' : IDL.Func(
|
|
184
|
+
[IDL.Text],
|
|
185
|
+
[IDL.Vec(LandRegistryTransactionRecord)],
|
|
186
|
+
['query'],
|
|
187
|
+
),
|
|
188
|
+
'get_all_transactions' : IDL.Func(
|
|
189
|
+
[],
|
|
190
|
+
[IDL.Vec(IDL.Tuple(IDL.Text, LandRegistryTransactionRecord))],
|
|
191
|
+
['query'],
|
|
192
|
+
),
|
|
193
|
+
'get_land_registry_stats' : IDL.Func(
|
|
194
|
+
[IDL.Text, Period],
|
|
195
|
+
[LandRegistryStats],
|
|
196
|
+
['query'],
|
|
197
|
+
),
|
|
198
|
+
'get_land_registry_status' : IDL.Func(
|
|
199
|
+
[],
|
|
200
|
+
[
|
|
201
|
+
IDL.Opt(
|
|
262
202
|
IDL.Record({
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
})
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
'
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
203
|
+
'lastValidated' : IDL.Int,
|
|
204
|
+
'apiEndpoint' : IDL.Text,
|
|
205
|
+
'environment' : Environment,
|
|
206
|
+
})
|
|
207
|
+
),
|
|
208
|
+
],
|
|
209
|
+
['query'],
|
|
210
|
+
),
|
|
211
|
+
'get_lr_response' : IDL.Func([IDL.Text], [Result_7], ['query']),
|
|
212
|
+
'log_land_registry_error' : IDL.Func([IDL.Text, IDL.Text], [Result_6], []),
|
|
213
|
+
'prepare_ownership_transfer_payload' : IDL.Func(
|
|
214
|
+
[
|
|
215
|
+
IDL.Text,
|
|
216
|
+
IDL.Text,
|
|
217
|
+
IDL.Text,
|
|
218
|
+
IDL.Text,
|
|
219
|
+
IDL.Text,
|
|
220
|
+
IDL.Text,
|
|
221
|
+
NewOwnerInfo,
|
|
222
|
+
ConveyancerInfo,
|
|
223
|
+
IDL.Nat64,
|
|
224
|
+
IDL.Text,
|
|
225
|
+
IDL.Text,
|
|
226
|
+
IDL.Text,
|
|
227
|
+
IDL.Text,
|
|
228
|
+
IDL.Int,
|
|
229
|
+
IDL.Int,
|
|
230
|
+
],
|
|
231
|
+
[Result_5],
|
|
232
|
+
[],
|
|
233
|
+
),
|
|
234
|
+
'receive_land_registry_callback' : IDL.Func(
|
|
235
|
+
[LandRegistryAPIResponse],
|
|
236
|
+
[Result_1],
|
|
237
|
+
[],
|
|
238
|
+
),
|
|
239
|
+
'recordAuditEntry' : IDL.Func(
|
|
240
|
+
[ActorType, IDL.Opt(IDL.Principal), IDL.Text, IDL.Text, IDL.Bool],
|
|
241
|
+
[Result_4],
|
|
242
|
+
[],
|
|
243
|
+
),
|
|
244
|
+
'requestOfficialSearch' : IDL.Func(
|
|
245
|
+
[IDL.Text, IDL.Text, IDL.Vec(IDL.Text), IDL.Text],
|
|
246
|
+
[Result_3],
|
|
247
|
+
[],
|
|
248
|
+
),
|
|
249
|
+
'retry_failed_land_registry_transmission' : IDL.Func(
|
|
250
|
+
[IDL.Text],
|
|
251
|
+
[Result_1],
|
|
252
|
+
[],
|
|
253
|
+
),
|
|
254
|
+
'send_to_land_registry' : IDL.Func([IDL.Text], [Result_1], []),
|
|
255
|
+
'setDailySpendLimit' : IDL.Func([IDL.Nat], [Result_2], []),
|
|
256
|
+
'setNotificationPolling' : IDL.Func(
|
|
257
|
+
[IDL.Bool, IDL.Opt(IDL.Nat)],
|
|
258
|
+
[Result_2],
|
|
259
|
+
[],
|
|
260
|
+
),
|
|
261
|
+
'setUserManagementCanisterId' : IDL.Func([IDL.Text], [Result_2], []),
|
|
262
|
+
'simulate_land_registry_processing' : IDL.Func([IDL.Text], [Result_1], []),
|
|
263
|
+
'transform' : IDL.Func([TransformArgs], [HttpResponse], ['query']),
|
|
264
|
+
'validate_land_registry_connection' : IDL.Func([], [Result], []),
|
|
265
|
+
'verify_land_registry_receipt' : IDL.Func([IDL.Text], [Result], []),
|
|
266
|
+
});
|
|
317
267
|
};
|
|
318
268
|
export const init = ({ IDL }) => { return []; };
|
|
319
|
-
//# sourceMappingURL=land_registry_integration.did.js.map
|