@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.
@@ -1,395 +1,395 @@
1
- type TransformArgs =
2
- record {
3
- context: blob;
4
- response: HttpResponse;
5
- };
6
- type TransactionStatus =
7
- variant {
8
- confirmed;
9
- failed;
10
- pending_api_call;
11
- requires_manual_review;
12
- sent_to_lr;
13
- };
14
- type Result_9 =
15
- variant {
16
- err: text;
17
- ok: LandRegistryAPIResponse;
18
- };
19
- type Result_8 =
20
- variant {
21
- err: text;
22
- ok: nat32;
23
- };
24
- type Result_7 =
25
- variant {
26
- err: text;
27
- ok: vec LRNotification;
28
- };
29
- type Result_6 =
30
- variant {
31
- err: text;
32
- ok: OwnershipTransferPayload;
33
- };
34
- type Result_5 =
35
- variant {
36
- err: text;
37
- ok: nat;
38
- };
39
- type Result_4 =
40
- variant {
41
- err: text;
42
- ok: OfficialSearchResponse;
43
- };
44
- type Result_3 =
45
- variant {
46
- err: text;
47
- ok;
48
- };
49
- type Result_2 =
50
- variant {
51
- err: text;
52
- ok: text;
53
- };
54
- type Result_12 =
55
- variant {
56
- err: text;
57
- ok: ApplicationEnquiryResponse;
58
- };
59
- type Result_11 =
60
- variant {
61
- err: text;
62
- ok: ECDResponse;
63
- };
64
- type Result_10 =
65
- variant {
66
- err: text;
67
- ok: ProprietorNamesResponse;
68
- };
69
- type Result_1 =
70
- variant {
71
- err: text;
72
- ok: AP1SubmissionResponse;
73
- };
74
- type Result =
75
- variant {
76
- err: text;
77
- ok: bool;
78
- };
79
- type RateLimitInfo =
80
- record {
81
- callsThisHour: nat;
82
- callsToday: nat;
83
- dayResetAt: int;
84
- endpoint: text;
85
- hourResetAt: int;
86
- lastCallAt: int;
87
- };
88
- type ProprietorNamesResponse =
89
- record {
90
- httpStatus: nat;
91
- proprietors: vec ProprietorData;
92
- titleNumber: text;
93
- titleStatus: text;
94
- titleStatusCode: text;
95
- };
96
- type ProprietorData =
97
- record {
98
- companyLocation: opt text;
99
- decoration: opt text;
100
- forenames: opt text;
101
- organisationType: opt text;
102
- proprietorName: text;
103
- proprietorType: text;
104
- sequence: nat;
105
- surname: opt text;
106
- title: opt text;
107
- };
108
- type Period =
109
- variant {
110
- day;
111
- month;
112
- week;
113
- year;
114
- };
115
- type OwnershipTransferPayload =
116
- record {
117
- blockchainCompletionProof: text;
118
- blockchainCompletionTimestamp: int;
119
- blockchainProofHash: text;
120
- buyerSolicitorSignature: text;
121
- contractExchangeTimestamp: int;
122
- conveyancerDetails: ConveyancerInfo;
123
- newOwnerDetails: NewOwnerInfo;
124
- postcode: text;
125
- previousOwner: text;
126
- propertyAddress: text;
127
- sellerSolicitorSignature: text;
128
- titleNumber: text;
129
- transactionAmount: nat64;
130
- transactionDate: int;
131
- transferID: text;
132
- };
133
- type OfficialSearchResponse =
134
- record {
135
- advisoryEntries: vec text;
136
- certificatePdfHash: opt text;
137
- certificateTimestamp: text;
138
- documentStorageId: opt nat;
139
- httpStatus: nat;
140
- officialCopyTimestamp: opt text;
141
- priorityExpiry: text;
142
- registerChangedSinceSearchFromDate: bool;
143
- registeredProprietorNames: vec text;
144
- resultContainsAdvisoryEntries: bool;
145
- searchRef: text;
146
- };
147
- type NewOwnerInfo =
148
- record {
149
- address: text;
150
- contactEmail: text;
151
- name: text;
152
- };
153
- type LandRegistryTransactionRecord =
154
- record {
155
- apiResponse: opt LandRegistryAPIResponse;
156
- blockchainTransactionID: text;
157
- createdAt: int;
158
- landRegistryPayload: OwnershipTransferPayload;
159
- lastUpdated: int;
160
- maxRetries: nat32;
161
- nextRetryTime: opt int;
162
- retryCount: nat32;
163
- status: TransactionStatus;
164
- transactionID: text;
165
- };
166
- type LandRegistryStats =
167
- record {
168
- avgTimeToRegistration: nat32;
169
- failed: nat32;
170
- pending: nat32;
171
- successful: nat32;
172
- totalSubmissions: nat32;
173
- };
174
- type LandRegistryAPIResponse =
175
- record {
176
- errorMessage: opt text;
177
- estimatedCompletionTime: int;
178
- landRegistryConfirmationNumber: text;
179
- processedTimestamp: opt int;
180
- receivedTimestamp: int;
181
- registeredTimestamp: opt int;
182
- responseID: text;
183
- status: LRStatus;
184
- };
185
- type LandRegistryAPICredentials =
186
- record {
187
- apiEndpoint: text;
188
- apiKey: text;
189
- authenticationType: AuthenticationType;
190
- environment: Environment;
191
- lastValidated: int;
192
- };
193
- type LRStatus =
194
- variant {
195
- failed;
196
- processing;
197
- received;
198
- registered;
199
- };
200
- type LRNotification =
201
- record {
202
- applicationReference: opt text;
203
- message: text;
204
- metadata: vec record {
205
- text;
206
- text;
207
- };
208
- notificationType: text;
209
- receivedAt: int;
210
- titleNumber: opt text;
211
- };
212
- type HttpResponse =
213
- record {
214
- body: blob;
215
- headers: vec HttpHeader;
216
- status: nat;
217
- };
218
- type HttpHeader =
219
- record {
220
- name: text;
221
- value: text;
222
- };
223
- type Environment =
224
- variant {
225
- production;
226
- sandbox;
227
- };
228
- type ECDResponse =
229
- record {
230
- applicationReference: text;
231
- confidence: opt text;
232
- estimatedCompletionDate: text;
233
- httpStatus: nat;
234
- };
235
- type CredentialStatus =
236
- record {
237
- daysSinceRotation: opt nat;
238
- environment: opt Environment;
239
- isConfigured: bool;
240
- isExpired: bool;
241
- lastRotated: opt int;
242
- };
243
- type CostSummary =
244
- record {
245
- byEndpoint: vec record {
246
- text;
247
- nat;
248
- };
249
- byTransaction: vec record {
250
- text;
251
- nat;
252
- };
253
- entryCount: nat;
254
- totalPence: nat;
255
- };
256
- type ConveyancerInfo =
257
- record {
258
- contactEmail: text;
259
- licenseNumber: text;
260
- name: text;
261
- };
262
- type AuthenticationType =
263
- variant {
264
- api_key;
265
- oauth2;
266
- };
267
- type AuditEntry =
268
- record {
269
- action: text;
270
- actorType: ActorType;
271
- caller: principal;
272
- delegatedBy: opt principal;
273
- details: text;
274
- success: bool;
275
- timestamp: int;
276
- };
277
- type ApplicationEnquiryResponse =
278
- record {
279
- applicationDate: text;
280
- applicationReference: text;
281
- completedDate: opt text;
282
- httpStatus: nat;
283
- lastUpdated: text;
284
- notes: vec text;
285
- status: text;
286
- };
287
- type ActorType =
288
- variant {
289
- agent;
290
- systemActor;
291
- user;
292
- };
293
- type AP1SubmissionResponse =
294
- record {
295
- applicationReference: text;
296
- confirmationNumber: text;
297
- estimatedCompletionDate: opt text;
298
- httpStatus: nat;
299
- message: text;
300
- scaleFePence: nat;
301
- };
302
- type AP1SubmissionRequest =
303
- record {
304
- applicationType: text;
305
- blockchainProofHash: text;
306
- conveyancerAddress: text;
307
- conveyancerName: text;
308
- conveyancerReference: text;
309
- conveyancerSRANumber: text;
310
- officialSearchRef: text;
311
- propertyAddress: text;
312
- propertyPostcode: text;
313
- titleNumber: text;
314
- transferAmount: nat;
315
- transferDate: text;
316
- transfereeAddress: text;
317
- transfereeNames: vec text;
318
- transfereeType: text;
319
- transferorAddress: text;
320
- transferorNames: vec text;
321
- };
322
- service : {
323
- check_land_registry_status: (transactionID: text) ->
324
- (opt LandRegistryTransactionRecord) query;
325
- configure_land_registry_api: (_creds: LandRegistryAPICredentials) ->
326
- (Result_2);
327
- getApplicationStatus: (applicationReference: text) -> (Result_12);
328
- getAuditLog: () -> (vec AuditEntry) query;
329
- getCredentialStatus: () -> (CredentialStatus) query;
330
- getCycles: () -> (nat) query;
331
- getDailySpend: () -> (nat) query;
332
- getEstimatedCompletionDate: (applicationReference: text) -> (Result_11);
333
- getNotificationPollingStatus: () ->
334
- (record {
335
- enabled: bool;
336
- intervalSeconds: nat;
337
- lastPollAt: int;
338
- }) query;
339
- getRateLimitStatus: () -> (vec record {
340
- text;
341
- RateLimitInfo;
342
- }) query;
343
- getRegisteredProprietorNames: (titleNumber: text) -> (Result_10);
344
- getTotalCosts: (fromDate: int, toDate: int) -> (CostSummary) query;
345
- get_all_pending_land_registry_submissions: (companyAccountID: text) ->
346
- (vec LandRegistryTransactionRecord) query;
347
- get_all_transactions: () ->
348
- (vec record {
349
- text;
350
- LandRegistryTransactionRecord;
351
- }) query;
352
- get_land_registry_stats: (companyAccountID: text, period: Period) ->
353
- (LandRegistryStats) query;
354
- get_land_registry_status: () ->
355
- (opt
356
- record {
357
- apiEndpoint: text;
358
- environment: Environment;
359
- lastValidated: int;
360
- }) query;
361
- get_lr_response: (confirmationID: text) -> (Result_9) query;
362
- log_land_registry_error: (transactionID: text, errorDetails: text) ->
363
- (Result_8);
364
- pollNotifications: () -> (Result_7);
365
- prepare_ownership_transfer_payload: (transactionID: text,
366
- blockchainTransactionID: text, propertyAddress: text, postcode: text,
367
- titleNumber: text, previousOwner: text, newOwnerDetails: NewOwnerInfo,
368
- conveyancerDetails: ConveyancerInfo, transactionAmount: nat64,
369
- buyerSolicitorSignature: text, sellerSolicitorSignature: text,
370
- blockchainProofHash: text, blockchainCompletionProof: text,
371
- contractExchangeTimestamp: int, blockchainCompletionTimestamp: int) ->
372
- (Result_6);
373
- receive_land_registry_callback: (callbackData: LandRegistryAPIResponse) ->
374
- (Result_2);
375
- recordAuditEntry: (actorType: ActorType, delegatedBy: opt principal,
376
- action: text, details: text, success: bool) -> (Result_5);
377
- requestOfficialSearch: (titleNumber: text, searchFromDate: text,
378
- proprietorNames: vec text, transactionId: text) -> (Result_4);
379
- retry_failed_land_registry_transmission: (transactionID: text) ->
380
- (Result_2);
381
- rotateCredentials: (_newPassword: text) -> (Result_3);
382
- send_to_land_registry: (transactionID: text) -> (Result_2);
383
- setCredentials: (username: text, _password: text, _apiEndpoint: text,
384
- _environment: Environment) -> (Result_3);
385
- setDailySpendLimit: (limitPence: nat) -> (Result_3);
386
- setNotificationPolling: (enabled: bool, intervalSeconds: opt nat) ->
387
- (Result_3);
388
- setUserManagementCanisterId: (canisterId: text) -> (Result_3);
389
- simulate_land_registry_processing: (confirmationNumber: text) -> (Result_2);
390
- submitApplicationToChangeRegister: (request: AP1SubmissionRequest,
391
- transactionId: text) -> (Result_1);
392
- transform: (args: TransformArgs) -> (HttpResponse) query;
393
- validate_land_registry_connection: () -> (Result);
394
- verify_land_registry_receipt: (transactionID: text) -> (Result);
395
- }
1
+ type TransformArgs =
2
+ record {
3
+ context: blob;
4
+ response: HttpResponse;
5
+ };
6
+ type TransactionStatus =
7
+ variant {
8
+ confirmed;
9
+ failed;
10
+ pending_api_call;
11
+ requires_manual_review;
12
+ sent_to_lr;
13
+ };
14
+ type Result_9 =
15
+ variant {
16
+ err: text;
17
+ ok: LandRegistryAPIResponse;
18
+ };
19
+ type Result_8 =
20
+ variant {
21
+ err: text;
22
+ ok: nat32;
23
+ };
24
+ type Result_7 =
25
+ variant {
26
+ err: text;
27
+ ok: vec LRNotification;
28
+ };
29
+ type Result_6 =
30
+ variant {
31
+ err: text;
32
+ ok: OwnershipTransferPayload;
33
+ };
34
+ type Result_5 =
35
+ variant {
36
+ err: text;
37
+ ok: nat;
38
+ };
39
+ type Result_4 =
40
+ variant {
41
+ err: text;
42
+ ok: OfficialSearchResponse;
43
+ };
44
+ type Result_3 =
45
+ variant {
46
+ err: text;
47
+ ok;
48
+ };
49
+ type Result_2 =
50
+ variant {
51
+ err: text;
52
+ ok: text;
53
+ };
54
+ type Result_12 =
55
+ variant {
56
+ err: text;
57
+ ok: ApplicationEnquiryResponse;
58
+ };
59
+ type Result_11 =
60
+ variant {
61
+ err: text;
62
+ ok: ECDResponse;
63
+ };
64
+ type Result_10 =
65
+ variant {
66
+ err: text;
67
+ ok: ProprietorNamesResponse;
68
+ };
69
+ type Result_1 =
70
+ variant {
71
+ err: text;
72
+ ok: AP1SubmissionResponse;
73
+ };
74
+ type Result =
75
+ variant {
76
+ err: text;
77
+ ok: bool;
78
+ };
79
+ type RateLimitInfo =
80
+ record {
81
+ callsThisHour: nat;
82
+ callsToday: nat;
83
+ dayResetAt: int;
84
+ endpoint: text;
85
+ hourResetAt: int;
86
+ lastCallAt: int;
87
+ };
88
+ type ProprietorNamesResponse =
89
+ record {
90
+ httpStatus: nat;
91
+ proprietors: vec ProprietorData;
92
+ titleNumber: text;
93
+ titleStatus: text;
94
+ titleStatusCode: text;
95
+ };
96
+ type ProprietorData =
97
+ record {
98
+ companyLocation: opt text;
99
+ decoration: opt text;
100
+ forenames: opt text;
101
+ organisationType: opt text;
102
+ proprietorName: text;
103
+ proprietorType: text;
104
+ sequence: nat;
105
+ surname: opt text;
106
+ title: opt text;
107
+ };
108
+ type Period =
109
+ variant {
110
+ day;
111
+ month;
112
+ week;
113
+ year;
114
+ };
115
+ type OwnershipTransferPayload =
116
+ record {
117
+ blockchainCompletionProof: text;
118
+ blockchainCompletionTimestamp: int;
119
+ blockchainProofHash: text;
120
+ buyerSolicitorSignature: text;
121
+ contractExchangeTimestamp: int;
122
+ conveyancerDetails: ConveyancerInfo;
123
+ newOwnerDetails: NewOwnerInfo;
124
+ postcode: text;
125
+ previousOwner: text;
126
+ propertyAddress: text;
127
+ sellerSolicitorSignature: text;
128
+ titleNumber: text;
129
+ transactionAmount: nat64;
130
+ transactionDate: int;
131
+ transferID: text;
132
+ };
133
+ type OfficialSearchResponse =
134
+ record {
135
+ advisoryEntries: vec text;
136
+ certificatePdfHash: opt text;
137
+ certificateTimestamp: text;
138
+ documentStorageId: opt nat;
139
+ httpStatus: nat;
140
+ officialCopyTimestamp: opt text;
141
+ priorityExpiry: text;
142
+ registerChangedSinceSearchFromDate: bool;
143
+ registeredProprietorNames: vec text;
144
+ resultContainsAdvisoryEntries: bool;
145
+ searchRef: text;
146
+ };
147
+ type NewOwnerInfo =
148
+ record {
149
+ address: text;
150
+ contactEmail: text;
151
+ name: text;
152
+ };
153
+ type LandRegistryTransactionRecord =
154
+ record {
155
+ apiResponse: opt LandRegistryAPIResponse;
156
+ blockchainTransactionID: text;
157
+ createdAt: int;
158
+ landRegistryPayload: OwnershipTransferPayload;
159
+ lastUpdated: int;
160
+ maxRetries: nat32;
161
+ nextRetryTime: opt int;
162
+ retryCount: nat32;
163
+ status: TransactionStatus;
164
+ transactionID: text;
165
+ };
166
+ type LandRegistryStats =
167
+ record {
168
+ avgTimeToRegistration: nat32;
169
+ failed: nat32;
170
+ pending: nat32;
171
+ successful: nat32;
172
+ totalSubmissions: nat32;
173
+ };
174
+ type LandRegistryAPIResponse =
175
+ record {
176
+ errorMessage: opt text;
177
+ estimatedCompletionTime: int;
178
+ landRegistryConfirmationNumber: text;
179
+ processedTimestamp: opt int;
180
+ receivedTimestamp: int;
181
+ registeredTimestamp: opt int;
182
+ responseID: text;
183
+ status: LRStatus;
184
+ };
185
+ type LandRegistryAPICredentials =
186
+ record {
187
+ apiEndpoint: text;
188
+ apiKey: text;
189
+ authenticationType: AuthenticationType;
190
+ environment: Environment;
191
+ lastValidated: int;
192
+ };
193
+ type LRStatus =
194
+ variant {
195
+ failed;
196
+ processing;
197
+ received;
198
+ registered;
199
+ };
200
+ type LRNotification =
201
+ record {
202
+ applicationReference: opt text;
203
+ message: text;
204
+ metadata: vec record {
205
+ text;
206
+ text;
207
+ };
208
+ notificationType: text;
209
+ receivedAt: int;
210
+ titleNumber: opt text;
211
+ };
212
+ type HttpResponse =
213
+ record {
214
+ body: blob;
215
+ headers: vec HttpHeader;
216
+ status: nat;
217
+ };
218
+ type HttpHeader =
219
+ record {
220
+ name: text;
221
+ value: text;
222
+ };
223
+ type Environment =
224
+ variant {
225
+ production;
226
+ sandbox;
227
+ };
228
+ type ECDResponse =
229
+ record {
230
+ applicationReference: text;
231
+ confidence: opt text;
232
+ estimatedCompletionDate: text;
233
+ httpStatus: nat;
234
+ };
235
+ type CredentialStatus =
236
+ record {
237
+ daysSinceRotation: opt nat;
238
+ environment: opt Environment;
239
+ isConfigured: bool;
240
+ isExpired: bool;
241
+ lastRotated: opt int;
242
+ };
243
+ type CostSummary =
244
+ record {
245
+ byEndpoint: vec record {
246
+ text;
247
+ nat;
248
+ };
249
+ byTransaction: vec record {
250
+ text;
251
+ nat;
252
+ };
253
+ entryCount: nat;
254
+ totalPence: nat;
255
+ };
256
+ type ConveyancerInfo =
257
+ record {
258
+ contactEmail: text;
259
+ licenseNumber: text;
260
+ name: text;
261
+ };
262
+ type AuthenticationType =
263
+ variant {
264
+ api_key;
265
+ oauth2;
266
+ };
267
+ type AuditEntry =
268
+ record {
269
+ action: text;
270
+ actorType: ActorType;
271
+ caller: principal;
272
+ delegatedBy: opt principal;
273
+ details: text;
274
+ success: bool;
275
+ timestamp: int;
276
+ };
277
+ type ApplicationEnquiryResponse =
278
+ record {
279
+ applicationDate: text;
280
+ applicationReference: text;
281
+ completedDate: opt text;
282
+ httpStatus: nat;
283
+ lastUpdated: text;
284
+ notes: vec text;
285
+ status: text;
286
+ };
287
+ type ActorType =
288
+ variant {
289
+ agent;
290
+ systemActor;
291
+ user;
292
+ };
293
+ type AP1SubmissionResponse =
294
+ record {
295
+ applicationReference: text;
296
+ confirmationNumber: text;
297
+ estimatedCompletionDate: opt text;
298
+ httpStatus: nat;
299
+ message: text;
300
+ scaleFePence: nat;
301
+ };
302
+ type AP1SubmissionRequest =
303
+ record {
304
+ applicationType: text;
305
+ blockchainProofHash: text;
306
+ conveyancerAddress: text;
307
+ conveyancerName: text;
308
+ conveyancerReference: text;
309
+ conveyancerSRANumber: text;
310
+ officialSearchRef: text;
311
+ propertyAddress: text;
312
+ propertyPostcode: text;
313
+ titleNumber: text;
314
+ transferAmount: nat;
315
+ transferDate: text;
316
+ transfereeAddress: text;
317
+ transfereeNames: vec text;
318
+ transfereeType: text;
319
+ transferorAddress: text;
320
+ transferorNames: vec text;
321
+ };
322
+ service : {
323
+ check_land_registry_status: (transactionID: text) ->
324
+ (opt LandRegistryTransactionRecord) query;
325
+ configure_land_registry_api: (_creds: LandRegistryAPICredentials) ->
326
+ (Result_2);
327
+ getApplicationStatus: (applicationReference: text) -> (Result_12);
328
+ getAuditLog: () -> (vec AuditEntry) query;
329
+ getCredentialStatus: () -> (CredentialStatus) query;
330
+ getCycles: () -> (nat) query;
331
+ getDailySpend: () -> (nat) query;
332
+ getEstimatedCompletionDate: (applicationReference: text) -> (Result_11);
333
+ getNotificationPollingStatus: () ->
334
+ (record {
335
+ enabled: bool;
336
+ intervalSeconds: nat;
337
+ lastPollAt: int;
338
+ }) query;
339
+ getRateLimitStatus: () -> (vec record {
340
+ text;
341
+ RateLimitInfo;
342
+ }) query;
343
+ getRegisteredProprietorNames: (titleNumber: text) -> (Result_10);
344
+ getTotalCosts: (fromDate: int, toDate: int) -> (CostSummary) query;
345
+ get_all_pending_land_registry_submissions: (companyAccountID: text) ->
346
+ (vec LandRegistryTransactionRecord) query;
347
+ get_all_transactions: () ->
348
+ (vec record {
349
+ text;
350
+ LandRegistryTransactionRecord;
351
+ }) query;
352
+ get_land_registry_stats: (companyAccountID: text, period: Period) ->
353
+ (LandRegistryStats) query;
354
+ get_land_registry_status: () ->
355
+ (opt
356
+ record {
357
+ apiEndpoint: text;
358
+ environment: Environment;
359
+ lastValidated: int;
360
+ }) query;
361
+ get_lr_response: (confirmationID: text) -> (Result_9) query;
362
+ log_land_registry_error: (transactionID: text, errorDetails: text) ->
363
+ (Result_8);
364
+ pollNotifications: () -> (Result_7);
365
+ prepare_ownership_transfer_payload: (transactionID: text,
366
+ blockchainTransactionID: text, propertyAddress: text, postcode: text,
367
+ titleNumber: text, previousOwner: text, newOwnerDetails: NewOwnerInfo,
368
+ conveyancerDetails: ConveyancerInfo, transactionAmount: nat64,
369
+ buyerSolicitorSignature: text, sellerSolicitorSignature: text,
370
+ blockchainProofHash: text, blockchainCompletionProof: text,
371
+ contractExchangeTimestamp: int, blockchainCompletionTimestamp: int) ->
372
+ (Result_6);
373
+ receive_land_registry_callback: (callbackData: LandRegistryAPIResponse) ->
374
+ (Result_2);
375
+ recordAuditEntry: (actorType: ActorType, delegatedBy: opt principal,
376
+ action: text, details: text, success: bool) -> (Result_5);
377
+ requestOfficialSearch: (titleNumber: text, searchFromDate: text,
378
+ proprietorNames: vec text, transactionId: text) -> (Result_4);
379
+ retry_failed_land_registry_transmission: (transactionID: text) ->
380
+ (Result_2);
381
+ rotateCredentials: (_newPassword: text) -> (Result_3);
382
+ send_to_land_registry: (transactionID: text) -> (Result_2);
383
+ setCredentials: (username: text, _password: text, _apiEndpoint: text,
384
+ _environment: Environment) -> (Result_3);
385
+ setDailySpendLimit: (limitPence: nat) -> (Result_3);
386
+ setNotificationPolling: (enabled: bool, intervalSeconds: opt nat) ->
387
+ (Result_3);
388
+ setUserManagementCanisterId: (canisterId: text) -> (Result_3);
389
+ simulate_land_registry_processing: (confirmationNumber: text) -> (Result_2);
390
+ submitApplicationToChangeRegister: (request: AP1SubmissionRequest,
391
+ transactionId: text) -> (Result_1);
392
+ transform: (args: TransformArgs) -> (HttpResponse) query;
393
+ validate_land_registry_connection: () -> (Result);
394
+ verify_land_registry_receipt: (transactionID: text) -> (Result);
395
+ }