@propxchain/core-client 0.3.0-canary.35 → 0.3.0-canary.36

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.
Files changed (33) hide show
  1. package/dist/canisters/document_storage/document_storage.did.d.ts +159 -7
  2. package/dist/canisters/document_storage/document_storage.did.js +227 -148
  3. package/dist/canisters/document_verification/document_verification.did.d.ts +248 -7
  4. package/dist/canisters/document_verification/document_verification.did.js +322 -231
  5. package/dist/canisters/email_service/email_service.did.d.ts +92 -7
  6. package/dist/canisters/email_service/email_service.did.js +128 -73
  7. package/dist/canisters/land_registry_integration/land_registry_integration.did.d.ts +227 -7
  8. package/dist/canisters/land_registry_integration/land_registry_integration.did.js +380 -315
  9. package/dist/canisters/ledger_manager/ledger_manager.did.d.ts +214 -7
  10. package/dist/canisters/ledger_manager/ledger_manager.did.js +265 -198
  11. package/dist/canisters/property_registry/property_registry.did.d.ts +73 -7
  12. package/dist/canisters/property_registry/property_registry.did.js +76 -57
  13. package/dist/canisters/transaction_manager/transaction_manager.did.d.ts +912 -7
  14. package/dist/canisters/transaction_manager/transaction_manager.did.js +1004 -869
  15. package/dist/canisters/user_management/user_management.did.d.ts +267 -7
  16. package/dist/canisters/user_management/user_management.did.js +349 -254
  17. package/package.json +2 -2
  18. package/dist/canisters/document_storage/document_storage.did.d.ts.map +0 -1
  19. package/dist/canisters/document_storage/document_storage.did.js.map +0 -1
  20. package/dist/canisters/document_verification/document_verification.did.d.ts.map +0 -1
  21. package/dist/canisters/document_verification/document_verification.did.js.map +0 -1
  22. package/dist/canisters/email_service/email_service.did.d.ts.map +0 -1
  23. package/dist/canisters/email_service/email_service.did.js.map +0 -1
  24. package/dist/canisters/land_registry_integration/land_registry_integration.did.d.ts.map +0 -1
  25. package/dist/canisters/land_registry_integration/land_registry_integration.did.js.map +0 -1
  26. package/dist/canisters/ledger_manager/ledger_manager.did.d.ts.map +0 -1
  27. package/dist/canisters/ledger_manager/ledger_manager.did.js.map +0 -1
  28. package/dist/canisters/property_registry/property_registry.did.d.ts.map +0 -1
  29. package/dist/canisters/property_registry/property_registry.did.js.map +0 -1
  30. package/dist/canisters/transaction_manager/transaction_manager.did.d.ts.map +0 -1
  31. package/dist/canisters/transaction_manager/transaction_manager.did.js.map +0 -1
  32. package/dist/canisters/user_management/user_management.did.d.ts.map +0 -1
  33. package/dist/canisters/user_management/user_management.did.js.map +0 -1
@@ -1,872 +1,1007 @@
1
1
  export const idlFactory = ({ IDL }) => {
2
- const Result_1 = IDL.Variant({ 'ok': IDL.Null, 'err': IDL.Text });
3
- const AMLStatus = IDL.Variant({
4
- 'verified': IDL.Null,
5
- 'pending': IDL.Null,
6
- 'rejected': IDL.Null,
7
- 'not_started': IDL.Null,
8
- });
9
- const Time = IDL.Int;
10
- const TransactionPartyRole = IDL.Variant({
11
- 'secondary_seller': IDL.Null,
12
- 'primary_buyer': IDL.Null,
13
- 'secondary_buyer': IDL.Null,
14
- 'primary_seller': IDL.Null,
15
- });
16
- const TransactionParty = IDL.Record({
17
- 'amlComplete': IDL.Bool,
18
- 'amlStatus': AMLStatus,
19
- 'principal': IDL.Principal,
20
- 'epcUploaded': IDL.Bool,
21
- 'proofOfIdentityUploaded': IDL.Bool,
22
- 'mortgageAgreementUploaded': IDL.Bool,
23
- 'name': IDL.Text,
24
- 'joinedAt': Time,
25
- 'role': TransactionPartyRole,
26
- 'email': IDL.Text,
27
- 'isPrimary': IDL.Bool,
28
- 'proofOfAddressUploaded': IDL.Bool,
29
- 'proofOfFundsUploaded': IDL.Bool,
30
- 'titleDeedsUploaded': IDL.Bool,
31
- 'ta6FormUploaded': IDL.Bool,
32
- 'ta10FormUploaded': IDL.Bool,
33
- });
34
- const Result_2 = IDL.Variant({ 'ok': TransactionParty, 'err': IDL.Text });
35
- const Result = IDL.Variant({ 'ok': IDL.Text, 'err': IDL.Text });
36
- const SolicitorTaskStatus = IDL.Variant({
37
- 'pending': IDL.Null,
38
- 'in_progress': IDL.Null,
39
- 'completed': IDL.Null,
40
- 'confirmed_by_client': IDL.Null,
41
- });
42
- const SolicitorTaskType = IDL.Variant({
43
- 'identity_certification': IDL.Null,
44
- 'ap1_submission': IDL.Null,
45
- 'tr1_preparation': IDL.Null,
46
- });
47
- const SolicitorTask = IDL.Record({
48
- 'status': SolicitorTaskStatus,
49
- 'completedAt': IDL.Opt(Time),
50
- 'startedAt': IDL.Opt(Time),
51
- 'taskType': SolicitorTaskType,
52
- 'evidenceDocId': IDL.Opt(IDL.Text),
53
- 'priceGBP': IDL.Nat,
54
- });
55
- const RegulatoryBody = IDL.Variant({ 'clc': IDL.Null, 'sra': IDL.Null });
56
- const SolicitorRecord = IDL.Record({
57
- 'consentRecordedAt': Time,
58
- 'tasks': IDL.Vec(SolicitorTask),
59
- 'regNumber': IDL.Text,
60
- 'principal': IDL.Principal,
61
- 'verified': IDL.Bool,
62
- 'name': IDL.Text,
63
- 'joinedAt': Time,
64
- 'firmName': IDL.Text,
65
- 'piiCertUploaded': IDL.Bool,
66
- 'email': IDL.Text,
67
- 'actingFor': IDL.Variant({
68
- 'both': IDL.Null,
69
- 'seller': IDL.Null,
70
- 'buyer': IDL.Null,
71
- }),
72
- 'removalRequested': IDL.Bool,
73
- 'regulatoryBody': RegulatoryBody,
74
- });
75
- const Result_22 = IDL.Variant({
76
- 'ok': IDL.Record({ 'registrations': IDL.Nat, 'transactions': IDL.Nat }),
77
- 'err': IDL.Text,
78
- });
79
- const Result_21 = IDL.Variant({
80
- 'ok': IDL.Tuple(IDL.Text, IDL.Text),
81
- 'err': IDL.Text,
82
- });
83
- const TransactionStatus = IDL.Variant({
84
- 'completion_initiated': IDL.Null,
85
- 'active': IDL.Null,
86
- 'blockchain_completed': IDL.Null,
87
- 'exchanged': IDL.Null,
88
- 'land_registry_registered': IDL.Null,
89
- });
90
- const LandRegistryStatus = IDL.Variant({
91
- 'cancelled': IDL.Null,
92
- 'submitted': IDL.Null,
93
- 'completed_with_notes': IDL.Null,
94
- 'under_examination': IDL.Null,
95
- 'requisition_raised': IDL.Null,
96
- 'pending_official_search': IDL.Null,
97
- 'not_initiated': IDL.Null,
98
- 'pending_submission': IDL.Null,
99
- 'pre_validation_failed': IDL.Null,
100
- 'queued_manual_processing': IDL.Null,
101
- 'application_received': IDL.Null,
102
- 'official_search_completed': IDL.Null,
103
- 'requisition_responded': IDL.Null,
104
- 'rejected': IDL.Null,
105
- 'official_search_expired': IDL.Null,
106
- 'failed': IDL.Null,
107
- 'registered': IDL.Null,
108
- });
109
- const Requisition = IDL.Record({
110
- 'requisitionId': IDL.Text,
111
- 'description': IDL.Text,
112
- 'isResolved': IDL.Bool,
113
- 'category': IDL.Text,
114
- 'raisedAt': IDL.Int,
115
- 'responseText': IDL.Opt(IDL.Text),
116
- 'respondedAt': IDL.Opt(IDL.Int),
117
- 'resolvedAt': IDL.Opt(IDL.Int),
118
- });
119
- const LandRegistryIntegration = IDL.Record({
120
- 'status': LandRegistryStatus,
121
- 'lastPolledAt': IDL.Opt(IDL.Int),
122
- 'advisoryEntries': IDL.Vec(IDL.Text),
123
- 'officialSearchCost': IDL.Nat,
124
- 'officialSearchRequestedAt': IDL.Opt(IDL.Int),
125
- 'registerChangedSinceSearch': IDL.Opt(IDL.Bool),
126
- 'officialSearchCompletedAt': IDL.Opt(IDL.Int),
127
- 'registrationNotes': IDL.Vec(IDL.Text),
128
- 'lastUpdated': IDL.Int,
129
- 'estimatedLRCompletionTime': IDL.Opt(IDL.Int),
130
- 'applicationReference': IDL.Opt(IDL.Text),
131
- 'officialSearchPriorityExpiry': IDL.Opt(IDL.Int),
132
- 'officialSearchCertificateRef': IDL.Opt(IDL.Text),
133
- 'preValidationErrors': IDL.Vec(IDL.Text),
134
- 'applicationFee': IDL.Nat,
135
- 'caseworkerAssigned': IDL.Opt(IDL.Bool),
136
- 'lrPayloadID': IDL.Opt(IDL.Text),
137
- 'requisitions': IDL.Vec(Requisition),
138
- 'submissionResponseCode': IDL.Opt(IDL.Nat),
139
- 'submittedToLRAt': IDL.Opt(IDL.Int),
140
- 'pollCount': IDL.Nat,
141
- 'estimatedCompletionDate': IDL.Opt(IDL.Text),
142
- 'registeredAt': IDL.Opt(IDL.Int),
143
- 'newTitleNumber': IDL.Opt(IDL.Text),
144
- 'totalLRCosts': IDL.Nat,
145
- 'landRegistryConfirmationNumber': IDL.Opt(IDL.Text),
146
- });
147
- const Transaction = IDL.Record({
148
- 'id': IDL.Text,
149
- 'status': TransactionStatus,
150
- 'buyerFundsHash': IDL.Opt(IDL.Text),
151
- 'userRole': IDL.Text,
152
- 'oldStatus': IDL.Text,
153
- 'postcode': IDL.Text,
154
- 'exchangedAt': IDL.Opt(IDL.Int),
155
- 'propertyCategory': IDL.Text,
156
- 'transactionType': IDL.Text,
157
- 'completionDate': IDL.Text,
158
- 'completionStatementHash': IDL.Opt(IDL.Text),
159
- 'landRegistryRegisteredAt': IDL.Opt(IDL.Int),
160
- 'sellerSolicitorSignature': IDL.Opt(IDL.Text),
161
- 'propertyType': IDL.Text,
162
- 'completionInitiatedAt': IDL.Opt(IDL.Int),
163
- 'buyerSolicitorSignature': IDL.Opt(IDL.Text),
164
- 'titleNumber': IDL.Text,
165
- 'mode': IDL.Text,
166
- 'createdAt': IDL.Int,
167
- 'createdBy': IDL.Principal,
168
- 'blockchainCompletionProof': IDL.Opt(IDL.Text),
169
- 'blockchainCompletedAt': IDL.Opt(IDL.Int),
170
- 'accessList': IDL.Vec(IDL.Principal),
171
- 'solicitor': IDL.Opt(IDL.Principal),
172
- 'sellerSolicitor': IDL.Opt(SolicitorRecord),
173
- 'chainedTransactions': IDL.Vec(IDL.Text),
174
- 'previousOwner': IDL.Text,
175
- 'propertyId': IDL.Text,
176
- 'propertyAddress': IDL.Text,
177
- 'deposit': IDL.Nat64,
178
- 'seller': IDL.Principal,
179
- 'contractExchangeTimestamp': IDL.Opt(IDL.Int),
180
- 'sellers': IDL.Opt(IDL.Vec(TransactionParty)),
181
- 'mortgageAmount': IDL.Nat64,
182
- 'inviteCode': IDL.Text,
183
- 'chainPosition': IDL.Opt(IDL.Nat),
184
- 'buyer': IDL.Principal,
185
- 'landRegistryIntegration': LandRegistryIntegration,
186
- 'amount': IDL.Nat64,
187
- 'buyers': IDL.Opt(IDL.Vec(TransactionParty)),
188
- 'linkToTransaction': IDL.Opt(IDL.Text),
189
- 'buyerSolicitor': IDL.Opt(SolicitorRecord),
190
- 'blockchainCompletionTimestamp': IDL.Opt(IDL.Int),
191
- });
192
- const Severity = IDL.Variant({
193
- 'Info': IDL.Null,
194
- 'Warning': IDL.Null,
195
- 'Conflict': IDL.Null,
196
- });
197
- const Anomaly = IDL.Record({
198
- 'ref': IDL.Text,
199
- 'explanation': IDL.Text,
200
- 'detectedAt': IDL.Int,
201
- 'sources': IDL.Vec(IDL.Text),
202
- 'severity': Severity,
203
- });
204
- const Result_20 = IDL.Variant({ 'ok': IDL.Vec(Anomaly), 'err': IDL.Text });
205
- const Phase = IDL.Variant({
206
- 'buyerSetup': IDL.Null,
207
- 'preContract': IDL.Null,
208
- 'completed': IDL.Null,
209
- 'sellerPrep': IDL.Null,
210
- 'preCompletion': IDL.Null,
211
- 'searches': IDL.Null,
212
- });
213
- const Result_19 = IDL.Variant({ 'ok': Phase, 'err': IDL.Text });
214
- const HmlrFetchRecord = IDL.Record({
215
- 'fetchedAt': IDL.Int,
216
- 'fetchedBy': IDL.Principal,
217
- 'titleNumber': IDL.Text,
218
- 'responseHash': IDL.Text,
219
- });
220
- const Result_18 = IDL.Variant({
221
- 'ok': IDL.Opt(HmlrFetchRecord),
222
- 'err': IDL.Text,
223
- });
224
- const Notification = IDL.Record({
225
- 'id': IDL.Nat,
226
- 'documentHash': IDL.Text,
227
- 'createdAt': Time,
228
- 'read': IDL.Bool,
229
- 'recipient': IDL.Principal,
230
- 'message': IDL.Text,
231
- 'docType': IDL.Text,
232
- 'uploadedBy': IDL.Principal,
233
- 'transactionId': IDL.Text,
234
- });
235
- const Urgency = IDL.Variant({
236
- 'blocking': IDL.Null,
237
- 'soon': IDL.Null,
238
- 'later': IDL.Null,
239
- });
240
- const NextStepOption = IDL.Record({
241
- 'action': IDL.Text,
242
- 'displayLabel': IDL.Text,
243
- 'estimatedDelayIfSkipped': IDL.Opt(IDL.Nat),
244
- 'whyThis': IDL.Text,
245
- });
246
- const NextStepRecommendation = IDL.Record({
247
- 'why': IDL.Text,
248
- 'urgency': Urgency,
249
- 'blocker': IDL.Text,
250
- 'blockerLabel': IDL.Text,
251
- 'options': IDL.Vec(NextStepOption),
252
- 'partial': IDL.Bool,
253
- });
254
- const Result_17 = IDL.Variant({
255
- 'ok': NextStepRecommendation,
256
- 'err': IDL.Text,
257
- });
258
- const PartyProgress = IDL.Record({
259
- 'completedParties': IDL.Nat,
260
- 'overallProgress': IDL.Nat,
261
- 'allAMLComplete': IDL.Bool,
262
- 'totalParties': IDL.Nat,
263
- 'parties': IDL.Vec(TransactionParty),
264
- });
265
- const TransactionPartyProgress = IDL.Record({
266
- 'readyToExchange': IDL.Bool,
267
- 'sellers': PartyProgress,
268
- 'buyers': PartyProgress,
269
- });
270
- const Result_16 = IDL.Variant({
271
- 'ok': TransactionPartyProgress,
272
- 'err': IDL.Text,
273
- });
274
- const PhaseMilestones = IDL.Record({
275
- 'contractDraftedAt': IDL.Opt(IDL.Int),
276
- 'searchesOrderedAt': IDL.Opt(IDL.Int),
277
- });
278
- const Result_15 = IDL.Variant({ 'ok': PhaseMilestones, 'err': IDL.Text });
279
- const Result_14 = IDL.Variant({
280
- 'ok': IDL.Record({
281
- 'sellerSolicitor': IDL.Opt(SolicitorRecord),
282
- 'buyerSolicitor': IDL.Opt(SolicitorRecord),
283
- }),
284
- 'err': IDL.Text,
285
- });
286
- const TA10FittingItem = IDL.Record({
287
- 'item': IDL.Text,
288
- 'included': IDL.Bool,
289
- 'notes': IDL.Opt(IDL.Text),
290
- });
291
- const TA10Room = IDL.Record({
292
- 'fittings': IDL.Vec(TA10FittingItem),
293
- 'roomName': IDL.Text,
294
- });
295
- const TA10FittingsAndContents = IDL.Record({
296
- 'completedAt': IDL.Opt(IDL.Int),
297
- 'completedBy': IDL.Principal,
298
- 'additionalItems': IDL.Text,
299
- 'outdoorItems': IDL.Vec(TA10FittingItem),
300
- 'lastModifiedAt': IDL.Int,
301
- 'lastModifiedBy': IDL.Principal,
302
- 'rooms': IDL.Vec(TA10Room),
303
- });
304
- const Result_13 = IDL.Variant({
305
- 'ok': IDL.Opt(TA10FittingsAndContents),
306
- 'err': IDL.Text,
307
- });
308
- const Jurisdiction = IDL.Variant({
309
- 'Wales': IDL.Null,
310
- 'England': IDL.Null,
311
- });
312
- const TA6Document = IDL.Variant({
313
- 'NotApplicable': IDL.Null,
314
- 'NotAvailable': IDL.Null,
315
- 'NotAnswered': IDL.Null,
316
- 'Attached': IDL.Nat,
317
- 'ToFollow': IDL.Null,
318
- });
319
- const ParkingType = IDL.Variant({
320
- 'OnRoad': IDL.Null,
321
- 'None': IDL.Null,
322
- 'Permit': IDL.Null,
323
- 'Garage': IDL.Null,
324
- 'Other': IDL.Null,
325
- 'Allocated': IDL.Null,
326
- 'Driveway': IDL.Null,
327
- });
328
- const TA6Answer = IDL.Variant({
329
- 'No': IDL.Null,
330
- 'Yes': IDL.Null,
331
- 'NotApplicable': IDL.Null,
332
- 'NotKnown': IDL.Null,
333
- 'NotAnswered': IDL.Null,
334
- });
335
- const TA6Response = IDL.Record({
336
- 'answer': TA6Answer,
337
- 'details': IDL.Opt(IDL.Text),
338
- });
339
- const Section10Parking = IDL.Record({
340
- 'q10_3InstallConsent': TA6Document,
341
- 'q10_1Details': IDL.Opt(IDL.Text),
342
- 'q10_1Arrangements': IDL.Vec(ParkingType),
343
- 'q10_2PermitRequired': TA6Response,
344
- 'q10_3EvChargingPoint': TA6Response,
345
- });
346
- const HeatingType = IDL.Variant({
347
- 'Lpg': IDL.Null,
348
- 'Oil': IDL.Null,
349
- 'SolarThermal': IDL.Null,
350
- 'SolidFuel': IDL.Null,
351
- 'DistrictHeating': IDL.Null,
352
- 'Electric': IDL.Null,
353
- 'HeatPumpAir': IDL.Null,
354
- 'Other': IDL.Null,
355
- 'GasCentral': IDL.Null,
356
- 'HeatPumpGround': IDL.Null,
357
- });
358
- const HeatingSystem = IDL.Record({
359
- 'certificate': TA6Document,
360
- 'otherDetails': IDL.Opt(IDL.Text),
361
- 'installDate': IDL.Opt(IDL.Text),
362
- 'heatingType': HeatingType,
363
- 'lastServiceDate': IDL.Opt(IDL.Text),
364
- });
365
- const SewerageSource = IDL.Variant({
366
- 'SewageTreatmentPlant': IDL.Null,
367
- 'Mains': IDL.Null,
368
- 'SepticTank': IDL.Null,
369
- 'Other': IDL.Null,
370
- 'Cesspool': IDL.Null,
371
- });
372
- const DischargeType = IDL.Variant({
373
- 'GroundWater': IDL.Null,
374
- 'SurfaceWater': IDL.Null,
375
- });
376
- const SewerageSystem = IDL.Record({
377
- 'otherDetails': IDL.Opt(IDL.Text),
378
- 'source': SewerageSource,
379
- 'infiltrationSystem': TA6Answer,
380
- 'lastServiceDate': IDL.Opt(IDL.Text),
381
- 'regulationCompliant': TA6Answer,
382
- 'location': IDL.Opt(IDL.Text),
383
- 'dischargeType': IDL.Opt(DischargeType),
384
- });
385
- const Section11Services = IDL.Record({
386
- 'q11_2Document': TA6Document,
387
- 'q11_5bSurfaceWaterMains': TA6Answer,
388
- 'q11_4HeatingSystems': IDL.Vec(HeatingSystem),
389
- 'q11_3Date': IDL.Opt(IDL.Text),
390
- 'q11_3Eicr': TA6Answer,
391
- 'q11_6SewerageSource': IDL.Opt(SewerageSource),
392
- 'q11_1ElectricalWorks': TA6Response,
393
- 'q11_5aFoulWaterMains': TA6Answer,
394
- 'q11_2ElectricalCertificates': TA6Answer,
395
- 'q11_3Report': TA6Document,
396
- 'q11_7SewerageSystem': IDL.Opt(SewerageSystem),
397
- });
398
- const ServicedPlantConnection = IDL.Record({
399
- 'provider': IDL.Opt(IDL.Text),
400
- 'serviceProvider': IDL.Opt(IDL.Text),
401
- 'connected': TA6Answer,
402
- 'makeModel': IDL.Opt(IDL.Text),
403
- });
404
- const WaterConnection = IDL.Record({
405
- 'provider': IDL.Opt(IDL.Text),
406
- 'stopcockLocation': IDL.Opt(IDL.Text),
407
- 'meterLocation': IDL.Opt(IDL.Text),
408
- 'connected': TA6Answer,
409
- });
410
- const MeteredConnection = IDL.Record({
411
- 'provider': IDL.Opt(IDL.Text),
412
- 'supplyNumber': IDL.Opt(IDL.Text),
413
- 'meterLocation': IDL.Opt(IDL.Text),
414
- 'connected': TA6Answer,
415
- });
416
- const ServiceConnection = IDL.Record({
417
- 'provider': IDL.Opt(IDL.Text),
418
- 'connected': TA6Answer,
419
- });
420
- const Section12Connections = IDL.Record({
421
- 'sharedHeatPumps': ServicedPlantConnection,
422
- 'mainsWater': WaterConnection,
423
- 'mainsGas': MeteredConnection,
424
- 'smallSewageTreatmentPlant': ServicedPlantConnection,
425
- 'mainsSewerage': ServiceConnection,
426
- 'telephone': ServiceConnection,
427
- 'broadband': ServiceConnection,
428
- 'otherServices': IDL.Opt(IDL.Text),
429
- 'mainsElectricity': MeteredConnection,
430
- });
431
- const Occupier = IDL.Record({
432
- 'age': IDL.Opt(IDL.Nat),
433
- 'fullName': IDL.Text,
434
- 'tenancyAgreement': TA6Document,
435
- });
436
- const Section13Transaction = IDL.Record({
437
- 'q13_5VacantPossession': TA6Answer,
438
- 'q13_4OtherOccupiers17Plus': TA6Response,
439
- 'q13_4bTenantsOrLodgers': TA6Answer,
440
- 'q13_1DependentPurchase': TA6Response,
441
- 'q13_7Occupiers': IDL.Vec(Occupier),
442
- 'q13_6OccupiersAgreedSignVacate': TA6Answer,
443
- 'q13_3SellerLivesAtProperty': TA6Answer,
444
- 'q13_2MovingDateRequirements': TA6Response,
445
- });
446
- const CompletionCommitments = IDL.Record({
447
- 'removeSellersItems': TA6Answer,
448
- 'vacantPossession': TA6Answer,
449
- 'leaveServiceInfo': TA6Answer,
450
- });
451
- const Section14Completion = IDL.Record({
452
- 'q14_2Commitments': CompletionCommitments,
453
- 'q14_1ProceedsClearCharges': TA6Response,
454
- });
455
- const Section15AdditionalInfo = IDL.Record({
456
- 'additionalNotes': IDL.Opt(IDL.Text),
457
- 'q15_1ConsentsAttached': IDL.Vec(TA6Document),
458
- 'consentsNotAvailableList': IDL.Opt(IDL.Text),
459
- 'consentsToFollowList': IDL.Opt(IDL.Text),
460
- 'consentsAttachedList': IDL.Opt(IDL.Text),
461
- });
462
- const SolicitorContact = IDL.Record({
463
- 'postcode': IDL.Text,
464
- 'contactName': IDL.Text,
465
- 'firmName': IDL.Text,
466
- 'email': IDL.Opt(IDL.Text),
467
- 'address': IDL.Text,
468
- 'phone': IDL.Opt(IDL.Text),
469
- });
470
- const SellerRole = IDL.Variant({
471
- 'Administrator': IDL.Null,
472
- 'Executor': IDL.Null,
473
- 'Seller': IDL.Null,
474
- 'Trustee': IDL.Null,
475
- 'Attorney': IDL.Null,
476
- });
477
- const SellerParty = IDL.Record({
478
- 'role': SellerRole,
479
- 'fullName': IDL.Text,
480
- 'ownershipOrAuthorityDate': IDL.Opt(IDL.Text),
481
- });
482
- const CompanySeller = IDL.Record({
483
- 'countryOfIncorporation': IDL.Text,
484
- 'director': IDL.Text,
485
- 'companyNumber': IDL.Text,
486
- 'companyName': IDL.Text,
487
- });
488
- const Section1PropertyAndSeller = IDL.Record({
489
- 'postcode': IDL.Text,
490
- 'uprn': IDL.Opt(IDL.Text),
491
- 'solicitor': SolicitorContact,
492
- 'propertyAddress': IDL.Text,
493
- 'sellers': IDL.Vec(SellerParty),
494
- 'sellerCompany': IDL.Opt(CompanySeller),
495
- });
496
- const BoundaryOwnership = IDL.Variant({
497
- 'NotKnown': IDL.Null,
498
- 'Shared': IDL.Null,
499
- 'OwnedBySeller': IDL.Null,
500
- 'OwnedByNeighbour': IDL.Null,
501
- });
502
- const BoundaryFeature = IDL.Record({
503
- 'ownership': BoundaryOwnership,
504
- 'position': IDL.Text,
505
- });
506
- const Section2Boundaries = IDL.Record({
507
- 'q2_3MovedOrAltered': TA6Response,
508
- 'q2_2IrregularDescription': IDL.Opt(IDL.Text),
509
- 'q2_1Features': IDL.Vec(BoundaryFeature),
510
- });
511
- const Section3Disputes = IDL.Record({
512
- 'q3_2PotentialDisputes': TA6Response,
513
- 'q3_1ExistingDisputes': TA6Response,
514
- });
515
- const Section4Notices = IDL.Record({
516
- 'q4_2NearbyDevelopment': TA6Response,
517
- 'q4_1NoticesReceived': TA6Response,
518
- 'q4_3NearbyUseChange': TA6Response,
519
- });
520
- const SolarPower = IDL.Record({
521
- 'supplyAgreement': TA6Document,
522
- 'ownedOutright': IDL.Opt(IDL.Bool),
523
- 'mcsCertificate': TA6Document,
524
- 'installDate': IDL.Opt(IDL.Text),
525
- 'electricityBill': TA6Document,
526
- 'fitOrSegAgreement': TA6Document,
527
- });
528
- const AlterationTypes = IDL.Record({
529
- 'conservatory': IDL.Bool,
530
- 'otherDetails': IDL.Opt(IDL.Text),
531
- 'other': IDL.Bool,
532
- 'changeOfUse': IDL.Bool,
533
- 'structuralRoofWorks': IDL.Bool,
534
- 'windowsPost2002': IDL.Bool,
535
- 'internalWallsRemoved': IDL.Bool,
536
- 'loftConversion': IDL.Bool,
537
- 'garageConversion': IDL.Bool,
538
- 'extension': IDL.Bool,
539
- });
540
- const Section5Alterations = IDL.Record({
541
- 'q5_6Solar': IDL.Opt(SolarPower),
542
- 'q5_3NonResidentialUse': TA6Response,
543
- 'q5_8ConservationArea': TA6Response,
544
- 'q5_9TreePreservationOrder': TA6Response,
545
- 'q5_2Documents': IDL.Vec(TA6Document),
546
- 'q5_4Breaches': TA6Response,
547
- 'q5_5UnresolvedIssues': TA6Response,
548
- 'q5_1Alterations': AlterationTypes,
549
- 'q5_7ListedBuilding': TA6Response,
550
- });
551
- const WarrantyItem = IDL.Record({
552
- 'present': TA6Answer,
553
- 'document': TA6Document,
554
- });
555
- const Section6Guarantees = IDL.Record({
556
- 'q6_1CentralHeating': WarrantyItem,
557
- 'q6_3Breaches': TA6Response,
558
- 'q6_1DampProofing': WarrantyItem,
559
- 'q6_1Roofing': WarrantyItem,
560
- 'q6_1NewHomeWarranty': WarrantyItem,
561
- 'q6_1ElectricalWork': WarrantyItem,
562
- 'q6_1WindowsDoors': WarrantyItem,
563
- 'q6_1Underpinning': WarrantyItem,
564
- 'q6_1TimberTreatment': WarrantyItem,
565
- 'q6_1OtherDetails': IDL.Opt(IDL.Text),
566
- 'q6_2Claims': TA6Response,
567
- 'q6_1Other': WarrantyItem,
568
- });
569
- const Section7Insurance = IDL.Record({
570
- 'q7_2DifficultOrSpecialConditions': TA6Response,
571
- 'q7_1DoYouInsure': TA6Answer,
572
- 'q7_1WhoInsuresIfNot': IDL.Opt(IDL.Text),
573
- 'q7_3Claims': TA6Response,
574
- });
575
- const Section8Environmental = IDL.Record({
576
- 'q8_5GreenDeal': TA6Response,
577
- 'q8_6JapaneseKnotweed': TA6Response,
578
- 'q8_5CurrentBill': TA6Document,
579
- 'q8_3bBelowActionLevel': TA6Answer,
580
- 'q8_4RadonRemedialMeasures': TA6Response,
581
- 'q8_7SurveyDocument': TA6Document,
582
- 'q8_3aReport': TA6Document,
583
- 'q8_3RadonTest': TA6Response,
584
- 'q8_7KnotweedSurvey': TA6Answer,
585
- 'q8_1Flooded': TA6Response,
586
- 'q8_2FloodDefences': TA6Response,
587
- });
588
- const Right = IDL.Record({
589
- 'overProperty': IDL.Opt(IDL.Text),
590
- 'description': IDL.Text,
591
- });
592
- const Arrangement = IDL.Record({
593
- 'description': IDL.Text,
594
- 'document': TA6Document,
595
- 'contributionAmount': IDL.Opt(IDL.Nat),
596
- });
597
- const Section9Rights = IDL.Record({
598
- 'q9_4Rights': IDL.Vec(Right),
599
- 'q9_9Arrangement': IDL.Opt(Arrangement),
600
- 'q9_1RightsExercised': TA6Response,
601
- 'q9_4OthersRights': TA6Response,
602
- 'q9_2Amount': IDL.Opt(IDL.Nat),
603
- 'q9_8LeadingToOthers': TA6Response,
604
- 'q9_7CrossingOtherProperty': TA6Response,
605
- 'q9_5ContributionsReceived': TA6Response,
606
- 'q9_1Rights': IDL.Vec(Right),
607
- 'q9_3Disagreements': TA6Response,
608
- 'q9_5Amount': IDL.Opt(IDL.Nat),
609
- 'q9_2Contributions': TA6Response,
610
- 'q9_6Disagreements': TA6Response,
611
- });
612
- const TA6PropertyInformation = IDL.Record({
613
- 'completedAt': IDL.Opt(IDL.Int),
614
- 'completedBy': IDL.Principal,
615
- 'formVersion': IDL.Text,
616
- 'jurisdiction': Jurisdiction,
617
- 'section10': Section10Parking,
618
- 'section11': Section11Services,
619
- 'section12': Section12Connections,
620
- 'section13': Section13Transaction,
621
- 'section14': Section14Completion,
622
- 'section15': Section15AdditionalInfo,
623
- 'lastModifiedAt': IDL.Int,
624
- 'lastModifiedBy': IDL.Principal,
625
- 'section1': Section1PropertyAndSeller,
626
- 'section2': Section2Boundaries,
627
- 'section3': Section3Disputes,
628
- 'section4': Section4Notices,
629
- 'section5': Section5Alterations,
630
- 'section6': Section6Guarantees,
631
- 'section7': Section7Insurance,
632
- 'section8': Section8Environmental,
633
- 'section9': Section9Rights,
634
- });
635
- const Result_12 = IDL.Variant({
636
- 'ok': IDL.Opt(TA6PropertyInformation),
637
- 'err': IDL.Text,
638
- });
639
- const TA7LeaseholdInformation = IDL.Record({
640
- 'completedAt': IDL.Opt(IDL.Int),
641
- 'completedBy': IDL.Principal,
642
- 'restrictions': IDL.Text,
643
- 'serviceChargePaymentFrequency': IDL.Text,
644
- 'freeholder': IDL.Text,
645
- 'groundRentPaymentFrequency': IDL.Text,
646
- 'serviceChargeAmount': IDL.Nat,
647
- 'sublettingAllowed': IDL.Bool,
648
- 'groundRentAmount': IDL.Nat,
649
- 'leaseExpiryDate': IDL.Text,
650
- 'lastModifiedAt': IDL.Int,
651
- 'lastModifiedBy': IDL.Principal,
652
- 'leaseTermYears': IDL.Nat,
653
- 'petsAllowed': IDL.Bool,
654
- 'managingAgent': IDL.Opt(IDL.Text),
655
- 'leaseStartDate': IDL.Text,
656
- 'alterationsAllowed': IDL.Bool,
657
- });
658
- const Result_11 = IDL.Variant({
659
- 'ok': IDL.Opt(TA7LeaseholdInformation),
660
- 'err': IDL.Text,
661
- });
662
- const BotConnection = IDL.Record({
663
- 'principal': IDL.Principal,
664
- 'name': IDL.Text,
665
- 'addedAt': IDL.Int,
666
- 'addedBy': IDL.Principal,
667
- });
668
- const Result_10 = IDL.Variant({
669
- 'ok': IDL.Vec(BotConnection),
670
- 'err': IDL.Text,
671
- });
672
- const Result_9 = IDL.Variant({
673
- 'ok': IDL.Vec(Transaction),
674
- 'err': IDL.Text,
675
- });
676
- const Result_8 = IDL.Variant({
677
- 'ok': IDL.Vec(Notification),
678
- 'err': IDL.Text,
679
- });
680
- const Result_7 = IDL.Variant({
681
- 'ok': IDL.Record({
682
- 'sellers': IDL.Vec(TransactionParty),
683
- 'buyers': IDL.Vec(TransactionParty),
684
- }),
685
- 'err': IDL.Text,
686
- });
687
- const TransactionTimeline = IDL.Record({
688
- 'exchangedAt': IDL.Opt(IDL.Int),
689
- 'landRegistryRegisteredAt': IDL.Opt(IDL.Int),
690
- 'completionInitiatedAt': IDL.Opt(IDL.Int),
691
- 'createdAt': IDL.Int,
692
- 'blockchainCompletedAt': IDL.Opt(IDL.Int),
693
- 'totalTimeToCompletion': IDL.Nat,
694
- 'totalTimeIncludingLR': IDL.Nat,
695
- });
696
- const Result_6 = IDL.Variant({ 'ok': Transaction, 'err': IDL.Text });
697
- const Result_3 = IDL.Variant({ 'ok': IDL.Nat, 'err': IDL.Text });
698
- const ApplicationStatusUpdate = IDL.Record({
699
- 'lastUpdated': IDL.Text,
700
- 'applicationReference': IDL.Text,
701
- 'estimatedCompletionDate': IDL.Opt(IDL.Text),
702
- 'statusChanged': IDL.Bool,
703
- 'currentStatus': LandRegistryStatus,
704
- 'previousStatus': LandRegistryStatus,
705
- });
706
- const Result_5 = IDL.Variant({
707
- 'ok': ApplicationStatusUpdate,
708
- 'err': IDL.Text,
709
- });
710
- const OfficialSearchResult = IDL.Record({
711
- 'officialCopyTimestamp': IDL.Opt(IDL.Text),
712
- 'advisoryEntries': IDL.Vec(IDL.Text),
713
- 'certificateTimestamp': IDL.Text,
714
- 'registerChanged': IDL.Bool,
715
- 'priorityExpiry': IDL.Text,
716
- 'certificateRef': IDL.Text,
717
- });
718
- const Result_4 = IDL.Variant({
719
- 'ok': OfficialSearchResult,
720
- 'err': IDL.Text,
721
- });
722
- return IDL.Service({
723
- 'acknowledgeTA6Wording': IDL.Func([IDL.Text], [Result_1], []),
724
- 'addParty': IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Bool], [Result_2], []),
725
- 'adminForceDeleteTransaction': IDL.Func([IDL.Text], [Result], []),
726
- 'assignBuyer': IDL.Func([IDL.Text, IDL.Principal], [Result], []),
727
- 'assignSolicitor': IDL.Func([IDL.Text, IDL.Principal], [Result], []),
728
- 'assignSolicitorRecord': IDL.Func([IDL.Text, SolicitorRecord], [Result_1], []),
729
- 'backfillTransactionMembers': IDL.Func([], [Result_22], []),
730
- 'bootstrapDocumentStorageCanister': IDL.Func([IDL.Principal], [Result], []),
731
- 'canAccessTransaction': IDL.Func([IDL.Text], [IDL.Bool], ['query']),
732
- 'connectBot': IDL.Func([IDL.Text, IDL.Principal, IDL.Text], [Result_1], []),
733
- 'consumeLandRegistryNotification': IDL.Func([
734
- IDL.Text,
735
- IDL.Opt(IDL.Text),
736
- IDL.Opt(IDL.Text),
737
- IDL.Text,
738
- IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
739
- ], [Result_1], []),
740
- 'createTransaction': IDL.Func([
741
- IDL.Text,
742
- IDL.Text,
743
- IDL.Text,
744
- IDL.Text,
745
- IDL.Principal,
746
- IDL.Text,
747
- IDL.Nat64,
748
- IDL.Text,
749
- IDL.Text,
750
- IDL.Text,
751
- IDL.Text,
752
- IDL.Text,
753
- IDL.Nat64,
754
- IDL.Nat64,
755
- IDL.Text,
756
- ], [IDL.Text], []),
757
- 'createTransactionWithInvite': IDL.Func([
758
- IDL.Text,
759
- IDL.Text,
760
- IDL.Text,
761
- IDL.Text,
762
- IDL.Principal,
763
- IDL.Text,
764
- IDL.Nat64,
765
- IDL.Text,
766
- IDL.Text,
767
- IDL.Text,
768
- IDL.Text,
769
- IDL.Text,
770
- IDL.Nat64,
771
- IDL.Nat64,
772
- IDL.Text,
773
- ], [Result_21], []),
774
- 'deleteTransaction': IDL.Func([IDL.Text], [Result], []),
775
- 'disconnectBot': IDL.Func([IDL.Text, IDL.Principal], [Result_1], []),
776
- 'doesTransactionExist': IDL.Func([IDL.Text], [IDL.Bool], ['query']),
777
- 'getAllInviteCodes': IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))], ['query']),
778
- 'getAllTransactions': IDL.Func([], [IDL.Vec(Transaction)], ['query']),
779
- 'getAnomalies': IDL.Func([IDL.Text], [Result_20], ['query']),
780
- 'getCurrentPhase': IDL.Func([IDL.Text], [Result_19], ['query']),
781
- 'getCycles': IDL.Func([], [IDL.Nat], ['query']),
782
- 'getDocumentStorageCanister': IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
783
- 'getExpiringSearches': IDL.Func([IDL.Nat], [IDL.Vec(Transaction)], ['query']),
784
- 'getFlowState': IDL.Func([IDL.Text], [IDL.Opt(IDL.Text)], ['query']),
785
- 'getHmlrFetch': IDL.Func([IDL.Text], [Result_18], ['query']),
786
- 'getInviteCode': IDL.Func([IDL.Text], [Result], ['query']),
787
- 'getLandRegistryCanister': IDL.Func([], [IDL.Text], ['query']),
788
- 'getLandRegistryDetail': IDL.Func([IDL.Text], [IDL.Opt(LandRegistryIntegration)], ['query']),
789
- 'getLedgerManagerCanister': IDL.Func([], [IDL.Text], ['query']),
790
- 'getListingData': IDL.Func([IDL.Text], [IDL.Opt(IDL.Text)], ['query']),
791
- 'getMyNotifications': IDL.Func([], [IDL.Vec(Notification)], ['query']),
792
- 'getMyTransactions': IDL.Func([], [IDL.Vec(Transaction)], ['query']),
793
- 'getNextStep': IDL.Func([IDL.Text], [Result_17], ['composite_query']),
794
- 'getOutstandingRequisitions': IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, Requisition))], ['query']),
795
- 'getPartyProgress': IDL.Func([IDL.Text], [Result_16], ['query']),
796
- 'getPendingLRApplications': IDL.Func([], [IDL.Vec(Transaction)], ['query']),
797
- 'getPhaseMilestones': IDL.Func([IDL.Text], [Result_15], ['query']),
798
- 'getPropertyRegistryCanister': IDL.Func([], [IDL.Text], ['query']),
799
- 'getSolicitorStatus': IDL.Func([IDL.Text], [Result_14], ['query']),
800
- 'getTA10': IDL.Func([IDL.Text], [Result_13], ['query']),
801
- 'getTA6': IDL.Func([IDL.Text], [Result_12], ['query']),
802
- 'getTA7': IDL.Func([IDL.Text], [Result_11], ['query']),
803
- 'getTransaction': IDL.Func([IDL.Text], [IDL.Opt(Transaction)], ['query']),
804
- 'getTransactionBots': IDL.Func([IDL.Text], [Result_10], ['query']),
805
- 'getTransactionByInviteCode': IDL.Func([IDL.Text], [IDL.Opt(Transaction)], []),
806
- 'getTransactionChain': IDL.Func([IDL.Text], [Result_9], ['query']),
807
- 'getTransactionNotifications': IDL.Func([IDL.Text], [Result_8], ['query']),
808
- 'getTransactionParties': IDL.Func([IDL.Text], [Result_7], ['query']),
809
- 'getTransactionsByStatus': IDL.Func([TransactionStatus], [IDL.Vec(Transaction)], ['query']),
810
- 'getTransactionsForPrincipal': IDL.Func([IDL.Principal], [IDL.Vec(Transaction)], ['query']),
811
- 'getTransactionsNeedingSearch': IDL.Func([], [IDL.Vec(Transaction)], ['query']),
812
- 'getUnreadNotificationCount': IDL.Func([], [IDL.Nat], ['query']),
813
- 'getUnreadNotificationCountForPrincipal': IDL.Func([IDL.Principal], [IDL.Nat], ['query']),
814
- 'getUserManagementCanister': IDL.Func([], [IDL.Text], ['query']),
815
- 'get_transaction_timeline': IDL.Func([IDL.Text], [IDL.Opt(TransactionTimeline)], ['query']),
816
- 'hasAcknowledgedTA6Wording': IDL.Func([IDL.Text], [IDL.Bool], ['query']),
817
- 'initiate_blockchain_completion': IDL.Func([IDL.Text, IDL.Text, IDL.Text], [Result], []),
818
- 'joinAsBotByInviteCode': IDL.Func([IDL.Text, IDL.Text], [Result_6], []),
819
- 'joinTransactionByInviteCode': IDL.Func([IDL.Text], [Result_6], []),
820
- 'joinTransactionByInviteCodeAsBuyer': IDL.Func([IDL.Text], [Result_6], []),
821
- 'leaveTransaction': IDL.Func([IDL.Text], [Result], []),
822
- 'linkTransactionToChain': IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
823
- 'markAllNotificationsRead': IDL.Func([], [IDL.Nat], []),
824
- 'markContractDrafted': IDL.Func([IDL.Text], [Result_1], []),
825
- 'markNotificationRead': IDL.Func([IDL.Nat], [Result_1], []),
826
- 'markSearchesOrdered': IDL.Func([IDL.Text], [Result_1], []),
827
- 'migrateDevPlotSeller': IDL.Func([IDL.Text, IDL.Principal], [Result], []),
828
- 'onDocumentRegistered': IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Principal], [], []),
829
- 'on_blockchain_completion_success': IDL.Func([IDL.Text], [Result], []),
830
- 'pollAllPendingApplications': IDL.Func([], [Result_3], []),
831
- 'pollApplicationStatus': IDL.Func([IDL.Text], [Result_5], []),
832
- 'recordContractExchange': IDL.Func([IDL.Text, IDL.Text, IDL.Text], [Result], []),
833
- 'recordConveyancerSelected': IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Nat], [Result_1], []),
834
- 'recordFormUpload': IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Text], [Result_1], []),
835
- 'recordHmlrFetched': IDL.Func([IDL.Text, IDL.Text, IDL.Text], [Result_1], []),
836
- 'recordPartySignature': IDL.Func([IDL.Text, IDL.Text, IDL.Text], [Result], []),
837
- 'recordQuoteReceived': IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Nat], [Result_1], []),
838
- 'recordDocShared': IDL.Func([IDL.Text, IDL.Text, IDL.Text], [Result_1], []),
839
- 'recordDocShareRevoked': IDL.Func([IDL.Text, IDL.Text, IDL.Text], [Result_1], []),
840
- 'recordQuoteRequested': IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
841
- 'recordRequisition': IDL.Func([IDL.Text, Requisition], [Result_1], []),
842
- 'removeParty': IDL.Func([IDL.Text, IDL.Principal], [Result_1], []),
843
- 'removeSolicitor': IDL.Func([IDL.Text, IDL.Variant({ 'seller': IDL.Null, 'buyer': IDL.Null })], [Result_1], []),
844
- 'requestOfficialSearch': IDL.Func([IDL.Text], [Result_4], []),
845
- 'respondToRequisition': IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Vec(IDL.Text)], [Result_1], []),
846
- 'revokeBuyer': IDL.Func([IDL.Text, IDL.Principal], [Result], []),
847
- 'runCrossReference': IDL.Func([IDL.Text], [Result_3], []),
848
- 'setDocumentStorageCanister': IDL.Func([IDL.Principal], [Result], []),
849
- 'setFlowState': IDL.Func([IDL.Text, IDL.Text], [Result], []),
850
- 'setLandRegistryCanister': IDL.Func([IDL.Text], [Result], []),
851
- 'setLedgerManagerCanister': IDL.Func([IDL.Text], [Result], []),
852
- 'setListingData': IDL.Func([IDL.Text, IDL.Text], [Result], []),
853
- 'setPropertyRegistryCanister': IDL.Func([IDL.Text], [Result], []),
854
- 'setUserManagementCanister': IDL.Func([IDL.Text], [Result], []),
855
- 'trigger_land_registry_submission': IDL.Func([IDL.Text], [Result], []),
856
- 'updatePartyAMLDoc': IDL.Func([IDL.Text, IDL.Principal, IDL.Text], [Result_2], []),
857
- 'updateSolicitorTaskStatus': IDL.Func([IDL.Text, SolicitorTaskType, SolicitorTaskStatus, IDL.Opt(IDL.Text)], [Result_1], []),
858
- 'updateSolicitorVerification': IDL.Func([
859
- IDL.Text,
860
- IDL.Variant({ 'seller': IDL.Null, 'buyer': IDL.Null }),
861
- IDL.Bool,
862
- ], [Result_1], []),
863
- 'updateTA10': IDL.Func([IDL.Text, TA10FittingsAndContents], [Result_1], []),
864
- 'updateTA6': IDL.Func([IDL.Text, TA6PropertyInformation], [Result_1], []),
865
- 'updateTA7': IDL.Func([IDL.Text, TA7LeaseholdInformation], [Result_1], []),
866
- 'updateTitleNumber': IDL.Func([IDL.Text, IDL.Text], [Result], []),
867
- 'updateTransactionStatus': IDL.Func([IDL.Nat, IDL.Text], [IDL.Bool], []),
868
- 'update_land_registry_status': IDL.Func([IDL.Text, LandRegistryStatus, IDL.Opt(IDL.Text), IDL.Opt(IDL.Int)], [Result], []),
869
- });
2
+ const Result_1 = IDL.Variant({ 'ok' : IDL.Null, 'err' : IDL.Text });
3
+ const AMLStatus = IDL.Variant({
4
+ 'verified' : IDL.Null,
5
+ 'pending' : IDL.Null,
6
+ 'rejected' : IDL.Null,
7
+ 'not_started' : IDL.Null,
8
+ });
9
+ const Time = IDL.Int;
10
+ const TransactionPartyRole = IDL.Variant({
11
+ 'secondary_seller' : IDL.Null,
12
+ 'primary_buyer' : IDL.Null,
13
+ 'secondary_buyer' : IDL.Null,
14
+ 'primary_seller' : IDL.Null,
15
+ });
16
+ const TransactionParty = IDL.Record({
17
+ 'amlComplete' : IDL.Bool,
18
+ 'amlStatus' : AMLStatus,
19
+ 'principal' : IDL.Principal,
20
+ 'epcUploaded' : IDL.Bool,
21
+ 'proofOfIdentityUploaded' : IDL.Bool,
22
+ 'mortgageAgreementUploaded' : IDL.Bool,
23
+ 'name' : IDL.Text,
24
+ 'joinedAt' : Time,
25
+ 'role' : TransactionPartyRole,
26
+ 'email' : IDL.Text,
27
+ 'isPrimary' : IDL.Bool,
28
+ 'proofOfAddressUploaded' : IDL.Bool,
29
+ 'proofOfFundsUploaded' : IDL.Bool,
30
+ 'titleDeedsUploaded' : IDL.Bool,
31
+ 'ta6FormUploaded' : IDL.Bool,
32
+ 'ta10FormUploaded' : IDL.Bool,
33
+ });
34
+ const Result_2 = IDL.Variant({ 'ok' : TransactionParty, 'err' : IDL.Text });
35
+ const Result = IDL.Variant({ 'ok' : IDL.Text, 'err' : IDL.Text });
36
+ const SolicitorTaskStatus = IDL.Variant({
37
+ 'pending' : IDL.Null,
38
+ 'in_progress' : IDL.Null,
39
+ 'completed' : IDL.Null,
40
+ 'confirmed_by_client' : IDL.Null,
41
+ });
42
+ const SolicitorTaskType = IDL.Variant({
43
+ 'identity_certification' : IDL.Null,
44
+ 'ap1_submission' : IDL.Null,
45
+ 'tr1_preparation' : IDL.Null,
46
+ });
47
+ const SolicitorTask = IDL.Record({
48
+ 'status' : SolicitorTaskStatus,
49
+ 'completedAt' : IDL.Opt(Time),
50
+ 'startedAt' : IDL.Opt(Time),
51
+ 'taskType' : SolicitorTaskType,
52
+ 'evidenceDocId' : IDL.Opt(IDL.Text),
53
+ 'priceGBP' : IDL.Nat,
54
+ });
55
+ const RegulatoryBody = IDL.Variant({ 'clc' : IDL.Null, 'sra' : IDL.Null });
56
+ const SolicitorRecord = IDL.Record({
57
+ 'consentRecordedAt' : Time,
58
+ 'tasks' : IDL.Vec(SolicitorTask),
59
+ 'regNumber' : IDL.Text,
60
+ 'principal' : IDL.Principal,
61
+ 'verified' : IDL.Bool,
62
+ 'name' : IDL.Text,
63
+ 'joinedAt' : Time,
64
+ 'firmName' : IDL.Text,
65
+ 'piiCertUploaded' : IDL.Bool,
66
+ 'email' : IDL.Text,
67
+ 'actingFor' : IDL.Variant({
68
+ 'both' : IDL.Null,
69
+ 'seller' : IDL.Null,
70
+ 'buyer' : IDL.Null,
71
+ }),
72
+ 'removalRequested' : IDL.Bool,
73
+ 'regulatoryBody' : RegulatoryBody,
74
+ });
75
+ const Result_22 = IDL.Variant({
76
+ 'ok' : IDL.Record({ 'registrations' : IDL.Nat, 'transactions' : IDL.Nat }),
77
+ 'err' : IDL.Text,
78
+ });
79
+ const Result_21 = IDL.Variant({
80
+ 'ok' : IDL.Tuple(IDL.Text, IDL.Text),
81
+ 'err' : IDL.Text,
82
+ });
83
+ const TransactionStatus = IDL.Variant({
84
+ 'completion_initiated' : IDL.Null,
85
+ 'active' : IDL.Null,
86
+ 'blockchain_completed' : IDL.Null,
87
+ 'exchanged' : IDL.Null,
88
+ 'land_registry_registered' : IDL.Null,
89
+ });
90
+ const LandRegistryStatus = IDL.Variant({
91
+ 'cancelled' : IDL.Null,
92
+ 'submitted' : IDL.Null,
93
+ 'completed_with_notes' : IDL.Null,
94
+ 'under_examination' : IDL.Null,
95
+ 'requisition_raised' : IDL.Null,
96
+ 'pending_official_search' : IDL.Null,
97
+ 'not_initiated' : IDL.Null,
98
+ 'pending_submission' : IDL.Null,
99
+ 'pre_validation_failed' : IDL.Null,
100
+ 'queued_manual_processing' : IDL.Null,
101
+ 'application_received' : IDL.Null,
102
+ 'official_search_completed' : IDL.Null,
103
+ 'requisition_responded' : IDL.Null,
104
+ 'rejected' : IDL.Null,
105
+ 'official_search_expired' : IDL.Null,
106
+ 'failed' : IDL.Null,
107
+ 'registered' : IDL.Null,
108
+ });
109
+ const Requisition = IDL.Record({
110
+ 'requisitionId' : IDL.Text,
111
+ 'description' : IDL.Text,
112
+ 'isResolved' : IDL.Bool,
113
+ 'category' : IDL.Text,
114
+ 'raisedAt' : IDL.Int,
115
+ 'responseText' : IDL.Opt(IDL.Text),
116
+ 'respondedAt' : IDL.Opt(IDL.Int),
117
+ 'resolvedAt' : IDL.Opt(IDL.Int),
118
+ });
119
+ const LandRegistryIntegration = IDL.Record({
120
+ 'status' : LandRegistryStatus,
121
+ 'lastPolledAt' : IDL.Opt(IDL.Int),
122
+ 'advisoryEntries' : IDL.Vec(IDL.Text),
123
+ 'officialSearchCost' : IDL.Nat,
124
+ 'officialSearchRequestedAt' : IDL.Opt(IDL.Int),
125
+ 'registerChangedSinceSearch' : IDL.Opt(IDL.Bool),
126
+ 'officialSearchCompletedAt' : IDL.Opt(IDL.Int),
127
+ 'registrationNotes' : IDL.Vec(IDL.Text),
128
+ 'lastUpdated' : IDL.Int,
129
+ 'estimatedLRCompletionTime' : IDL.Opt(IDL.Int),
130
+ 'applicationReference' : IDL.Opt(IDL.Text),
131
+ 'officialSearchPriorityExpiry' : IDL.Opt(IDL.Int),
132
+ 'officialSearchCertificateRef' : IDL.Opt(IDL.Text),
133
+ 'preValidationErrors' : IDL.Vec(IDL.Text),
134
+ 'applicationFee' : IDL.Nat,
135
+ 'caseworkerAssigned' : IDL.Opt(IDL.Bool),
136
+ 'lrPayloadID' : IDL.Opt(IDL.Text),
137
+ 'requisitions' : IDL.Vec(Requisition),
138
+ 'submissionResponseCode' : IDL.Opt(IDL.Nat),
139
+ 'submittedToLRAt' : IDL.Opt(IDL.Int),
140
+ 'pollCount' : IDL.Nat,
141
+ 'estimatedCompletionDate' : IDL.Opt(IDL.Text),
142
+ 'registeredAt' : IDL.Opt(IDL.Int),
143
+ 'newTitleNumber' : IDL.Opt(IDL.Text),
144
+ 'totalLRCosts' : IDL.Nat,
145
+ 'landRegistryConfirmationNumber' : IDL.Opt(IDL.Text),
146
+ });
147
+ const Transaction = IDL.Record({
148
+ 'id' : IDL.Text,
149
+ 'status' : TransactionStatus,
150
+ 'buyerFundsHash' : IDL.Opt(IDL.Text),
151
+ 'userRole' : IDL.Text,
152
+ 'oldStatus' : IDL.Text,
153
+ 'postcode' : IDL.Text,
154
+ 'exchangedAt' : IDL.Opt(IDL.Int),
155
+ 'propertyCategory' : IDL.Text,
156
+ 'transactionType' : IDL.Text,
157
+ 'completionDate' : IDL.Text,
158
+ 'completionStatementHash' : IDL.Opt(IDL.Text),
159
+ 'landRegistryRegisteredAt' : IDL.Opt(IDL.Int),
160
+ 'sellerSolicitorSignature' : IDL.Opt(IDL.Text),
161
+ 'propertyType' : IDL.Text,
162
+ 'completionInitiatedAt' : IDL.Opt(IDL.Int),
163
+ 'buyerSolicitorSignature' : IDL.Opt(IDL.Text),
164
+ 'titleNumber' : IDL.Text,
165
+ 'mode' : IDL.Text,
166
+ 'createdAt' : IDL.Int,
167
+ 'createdBy' : IDL.Principal,
168
+ 'blockchainCompletionProof' : IDL.Opt(IDL.Text),
169
+ 'blockchainCompletedAt' : IDL.Opt(IDL.Int),
170
+ 'accessList' : IDL.Vec(IDL.Principal),
171
+ 'solicitor' : IDL.Opt(IDL.Principal),
172
+ 'sellerSolicitor' : IDL.Opt(SolicitorRecord),
173
+ 'chainedTransactions' : IDL.Vec(IDL.Text),
174
+ 'previousOwner' : IDL.Text,
175
+ 'propertyId' : IDL.Text,
176
+ 'propertyAddress' : IDL.Text,
177
+ 'deposit' : IDL.Nat64,
178
+ 'seller' : IDL.Principal,
179
+ 'contractExchangeTimestamp' : IDL.Opt(IDL.Int),
180
+ 'sellers' : IDL.Opt(IDL.Vec(TransactionParty)),
181
+ 'mortgageAmount' : IDL.Nat64,
182
+ 'inviteCode' : IDL.Text,
183
+ 'chainPosition' : IDL.Opt(IDL.Nat),
184
+ 'buyer' : IDL.Principal,
185
+ 'landRegistryIntegration' : LandRegistryIntegration,
186
+ 'amount' : IDL.Nat64,
187
+ 'buyers' : IDL.Opt(IDL.Vec(TransactionParty)),
188
+ 'linkToTransaction' : IDL.Opt(IDL.Text),
189
+ 'buyerSolicitor' : IDL.Opt(SolicitorRecord),
190
+ 'blockchainCompletionTimestamp' : IDL.Opt(IDL.Int),
191
+ });
192
+ const Severity = IDL.Variant({
193
+ 'Info' : IDL.Null,
194
+ 'Warning' : IDL.Null,
195
+ 'Conflict' : IDL.Null,
196
+ });
197
+ const Anomaly = IDL.Record({
198
+ 'ref' : IDL.Text,
199
+ 'explanation' : IDL.Text,
200
+ 'detectedAt' : IDL.Int,
201
+ 'sources' : IDL.Vec(IDL.Text),
202
+ 'severity' : Severity,
203
+ });
204
+ const Result_20 = IDL.Variant({ 'ok' : IDL.Vec(Anomaly), 'err' : IDL.Text });
205
+ const Phase = IDL.Variant({
206
+ 'buyerSetup' : IDL.Null,
207
+ 'preContract' : IDL.Null,
208
+ 'completed' : IDL.Null,
209
+ 'sellerPrep' : IDL.Null,
210
+ 'preCompletion' : IDL.Null,
211
+ 'searches' : IDL.Null,
212
+ });
213
+ const Result_19 = IDL.Variant({ 'ok' : Phase, 'err' : IDL.Text });
214
+ const HmlrFetchRecord = IDL.Record({
215
+ 'fetchedAt' : IDL.Int,
216
+ 'fetchedBy' : IDL.Principal,
217
+ 'titleNumber' : IDL.Text,
218
+ 'responseHash' : IDL.Text,
219
+ });
220
+ const Result_18 = IDL.Variant({
221
+ 'ok' : IDL.Opt(HmlrFetchRecord),
222
+ 'err' : IDL.Text,
223
+ });
224
+ const Notification = IDL.Record({
225
+ 'id' : IDL.Nat,
226
+ 'documentHash' : IDL.Text,
227
+ 'createdAt' : Time,
228
+ 'read' : IDL.Bool,
229
+ 'recipient' : IDL.Principal,
230
+ 'message' : IDL.Text,
231
+ 'docType' : IDL.Text,
232
+ 'uploadedBy' : IDL.Principal,
233
+ 'transactionId' : IDL.Text,
234
+ });
235
+ const Urgency = IDL.Variant({
236
+ 'blocking' : IDL.Null,
237
+ 'soon' : IDL.Null,
238
+ 'later' : IDL.Null,
239
+ });
240
+ const NextStepOption = IDL.Record({
241
+ 'action' : IDL.Text,
242
+ 'displayLabel' : IDL.Text,
243
+ 'estimatedDelayIfSkipped' : IDL.Opt(IDL.Nat),
244
+ 'whyThis' : IDL.Text,
245
+ });
246
+ const NextStepRecommendation = IDL.Record({
247
+ 'why' : IDL.Text,
248
+ 'urgency' : Urgency,
249
+ 'blocker' : IDL.Text,
250
+ 'blockerLabel' : IDL.Text,
251
+ 'options' : IDL.Vec(NextStepOption),
252
+ 'partial' : IDL.Bool,
253
+ });
254
+ const Result_17 = IDL.Variant({
255
+ 'ok' : NextStepRecommendation,
256
+ 'err' : IDL.Text,
257
+ });
258
+ const PartyProgress = IDL.Record({
259
+ 'completedParties' : IDL.Nat,
260
+ 'overallProgress' : IDL.Nat,
261
+ 'allAMLComplete' : IDL.Bool,
262
+ 'totalParties' : IDL.Nat,
263
+ 'parties' : IDL.Vec(TransactionParty),
264
+ });
265
+ const TransactionPartyProgress = IDL.Record({
266
+ 'readyToExchange' : IDL.Bool,
267
+ 'sellers' : PartyProgress,
268
+ 'buyers' : PartyProgress,
269
+ });
270
+ const Result_16 = IDL.Variant({
271
+ 'ok' : TransactionPartyProgress,
272
+ 'err' : IDL.Text,
273
+ });
274
+ const PhaseMilestones = IDL.Record({
275
+ 'contractDraftedAt' : IDL.Opt(IDL.Int),
276
+ 'searchesOrderedAt' : IDL.Opt(IDL.Int),
277
+ });
278
+ const Result_15 = IDL.Variant({ 'ok' : PhaseMilestones, 'err' : IDL.Text });
279
+ const Result_14 = IDL.Variant({
280
+ 'ok' : IDL.Record({
281
+ 'sellerSolicitor' : IDL.Opt(SolicitorRecord),
282
+ 'buyerSolicitor' : IDL.Opt(SolicitorRecord),
283
+ }),
284
+ 'err' : IDL.Text,
285
+ });
286
+ const TA10FittingItem = IDL.Record({
287
+ 'item' : IDL.Text,
288
+ 'included' : IDL.Bool,
289
+ 'notes' : IDL.Opt(IDL.Text),
290
+ });
291
+ const TA10Room = IDL.Record({
292
+ 'fittings' : IDL.Vec(TA10FittingItem),
293
+ 'roomName' : IDL.Text,
294
+ });
295
+ const TA10FittingsAndContents = IDL.Record({
296
+ 'completedAt' : IDL.Opt(IDL.Int),
297
+ 'completedBy' : IDL.Principal,
298
+ 'additionalItems' : IDL.Text,
299
+ 'outdoorItems' : IDL.Vec(TA10FittingItem),
300
+ 'lastModifiedAt' : IDL.Int,
301
+ 'lastModifiedBy' : IDL.Principal,
302
+ 'rooms' : IDL.Vec(TA10Room),
303
+ });
304
+ const Result_13 = IDL.Variant({
305
+ 'ok' : IDL.Opt(TA10FittingsAndContents),
306
+ 'err' : IDL.Text,
307
+ });
308
+ const Jurisdiction = IDL.Variant({
309
+ 'Wales' : IDL.Null,
310
+ 'England' : IDL.Null,
311
+ });
312
+ const TA6Document = IDL.Variant({
313
+ 'NotApplicable' : IDL.Null,
314
+ 'NotAvailable' : IDL.Null,
315
+ 'NotAnswered' : IDL.Null,
316
+ 'Attached' : IDL.Nat,
317
+ 'ToFollow' : IDL.Null,
318
+ });
319
+ const ParkingType = IDL.Variant({
320
+ 'OnRoad' : IDL.Null,
321
+ 'None' : IDL.Null,
322
+ 'Permit' : IDL.Null,
323
+ 'Garage' : IDL.Null,
324
+ 'Other' : IDL.Null,
325
+ 'Allocated' : IDL.Null,
326
+ 'Driveway' : IDL.Null,
327
+ });
328
+ const TA6Answer = IDL.Variant({
329
+ 'No' : IDL.Null,
330
+ 'Yes' : IDL.Null,
331
+ 'NotApplicable' : IDL.Null,
332
+ 'NotKnown' : IDL.Null,
333
+ 'NotAnswered' : IDL.Null,
334
+ });
335
+ const TA6Response = IDL.Record({
336
+ 'answer' : TA6Answer,
337
+ 'details' : IDL.Opt(IDL.Text),
338
+ });
339
+ const Section10Parking = IDL.Record({
340
+ 'q10_3InstallConsent' : TA6Document,
341
+ 'q10_1Details' : IDL.Opt(IDL.Text),
342
+ 'q10_1Arrangements' : IDL.Vec(ParkingType),
343
+ 'q10_2PermitRequired' : TA6Response,
344
+ 'q10_3EvChargingPoint' : TA6Response,
345
+ });
346
+ const HeatingType = IDL.Variant({
347
+ 'Lpg' : IDL.Null,
348
+ 'Oil' : IDL.Null,
349
+ 'SolarThermal' : IDL.Null,
350
+ 'SolidFuel' : IDL.Null,
351
+ 'DistrictHeating' : IDL.Null,
352
+ 'Electric' : IDL.Null,
353
+ 'HeatPumpAir' : IDL.Null,
354
+ 'Other' : IDL.Null,
355
+ 'GasCentral' : IDL.Null,
356
+ 'HeatPumpGround' : IDL.Null,
357
+ });
358
+ const HeatingSystem = IDL.Record({
359
+ 'certificate' : TA6Document,
360
+ 'otherDetails' : IDL.Opt(IDL.Text),
361
+ 'installDate' : IDL.Opt(IDL.Text),
362
+ 'heatingType' : HeatingType,
363
+ 'lastServiceDate' : IDL.Opt(IDL.Text),
364
+ });
365
+ const SewerageSource = IDL.Variant({
366
+ 'SewageTreatmentPlant' : IDL.Null,
367
+ 'Mains' : IDL.Null,
368
+ 'SepticTank' : IDL.Null,
369
+ 'Other' : IDL.Null,
370
+ 'Cesspool' : IDL.Null,
371
+ });
372
+ const DischargeType = IDL.Variant({
373
+ 'GroundWater' : IDL.Null,
374
+ 'SurfaceWater' : IDL.Null,
375
+ });
376
+ const SewerageSystem = IDL.Record({
377
+ 'otherDetails' : IDL.Opt(IDL.Text),
378
+ 'source' : SewerageSource,
379
+ 'infiltrationSystem' : TA6Answer,
380
+ 'lastServiceDate' : IDL.Opt(IDL.Text),
381
+ 'regulationCompliant' : TA6Answer,
382
+ 'location' : IDL.Opt(IDL.Text),
383
+ 'dischargeType' : IDL.Opt(DischargeType),
384
+ });
385
+ const Section11Services = IDL.Record({
386
+ 'q11_2Document' : TA6Document,
387
+ 'q11_5bSurfaceWaterMains' : TA6Answer,
388
+ 'q11_4HeatingSystems' : IDL.Vec(HeatingSystem),
389
+ 'q11_3Date' : IDL.Opt(IDL.Text),
390
+ 'q11_3Eicr' : TA6Answer,
391
+ 'q11_6SewerageSource' : IDL.Opt(SewerageSource),
392
+ 'q11_1ElectricalWorks' : TA6Response,
393
+ 'q11_5aFoulWaterMains' : TA6Answer,
394
+ 'q11_2ElectricalCertificates' : TA6Answer,
395
+ 'q11_3Report' : TA6Document,
396
+ 'q11_7SewerageSystem' : IDL.Opt(SewerageSystem),
397
+ });
398
+ const ServicedPlantConnection = IDL.Record({
399
+ 'provider' : IDL.Opt(IDL.Text),
400
+ 'serviceProvider' : IDL.Opt(IDL.Text),
401
+ 'connected' : TA6Answer,
402
+ 'makeModel' : IDL.Opt(IDL.Text),
403
+ });
404
+ const WaterConnection = IDL.Record({
405
+ 'provider' : IDL.Opt(IDL.Text),
406
+ 'stopcockLocation' : IDL.Opt(IDL.Text),
407
+ 'meterLocation' : IDL.Opt(IDL.Text),
408
+ 'connected' : TA6Answer,
409
+ });
410
+ const MeteredConnection = IDL.Record({
411
+ 'provider' : IDL.Opt(IDL.Text),
412
+ 'supplyNumber' : IDL.Opt(IDL.Text),
413
+ 'meterLocation' : IDL.Opt(IDL.Text),
414
+ 'connected' : TA6Answer,
415
+ });
416
+ const ServiceConnection = IDL.Record({
417
+ 'provider' : IDL.Opt(IDL.Text),
418
+ 'connected' : TA6Answer,
419
+ });
420
+ const Section12Connections = IDL.Record({
421
+ 'sharedHeatPumps' : ServicedPlantConnection,
422
+ 'mainsWater' : WaterConnection,
423
+ 'mainsGas' : MeteredConnection,
424
+ 'smallSewageTreatmentPlant' : ServicedPlantConnection,
425
+ 'mainsSewerage' : ServiceConnection,
426
+ 'telephone' : ServiceConnection,
427
+ 'broadband' : ServiceConnection,
428
+ 'otherServices' : IDL.Opt(IDL.Text),
429
+ 'mainsElectricity' : MeteredConnection,
430
+ });
431
+ const Occupier = IDL.Record({
432
+ 'age' : IDL.Opt(IDL.Nat),
433
+ 'fullName' : IDL.Text,
434
+ 'tenancyAgreement' : TA6Document,
435
+ });
436
+ const Section13Transaction = IDL.Record({
437
+ 'q13_5VacantPossession' : TA6Answer,
438
+ 'q13_4OtherOccupiers17Plus' : TA6Response,
439
+ 'q13_4bTenantsOrLodgers' : TA6Answer,
440
+ 'q13_1DependentPurchase' : TA6Response,
441
+ 'q13_7Occupiers' : IDL.Vec(Occupier),
442
+ 'q13_6OccupiersAgreedSignVacate' : TA6Answer,
443
+ 'q13_3SellerLivesAtProperty' : TA6Answer,
444
+ 'q13_2MovingDateRequirements' : TA6Response,
445
+ });
446
+ const CompletionCommitments = IDL.Record({
447
+ 'removeSellersItems' : TA6Answer,
448
+ 'vacantPossession' : TA6Answer,
449
+ 'leaveServiceInfo' : TA6Answer,
450
+ });
451
+ const Section14Completion = IDL.Record({
452
+ 'q14_2Commitments' : CompletionCommitments,
453
+ 'q14_1ProceedsClearCharges' : TA6Response,
454
+ });
455
+ const Section15AdditionalInfo = IDL.Record({
456
+ 'additionalNotes' : IDL.Opt(IDL.Text),
457
+ 'q15_1ConsentsAttached' : IDL.Vec(TA6Document),
458
+ 'consentsNotAvailableList' : IDL.Opt(IDL.Text),
459
+ 'consentsToFollowList' : IDL.Opt(IDL.Text),
460
+ 'consentsAttachedList' : IDL.Opt(IDL.Text),
461
+ });
462
+ const SolicitorContact = IDL.Record({
463
+ 'postcode' : IDL.Text,
464
+ 'contactName' : IDL.Text,
465
+ 'firmName' : IDL.Text,
466
+ 'email' : IDL.Opt(IDL.Text),
467
+ 'address' : IDL.Text,
468
+ 'phone' : IDL.Opt(IDL.Text),
469
+ });
470
+ const SellerRole = IDL.Variant({
471
+ 'Administrator' : IDL.Null,
472
+ 'Executor' : IDL.Null,
473
+ 'Seller' : IDL.Null,
474
+ 'Trustee' : IDL.Null,
475
+ 'Attorney' : IDL.Null,
476
+ });
477
+ const SellerParty = IDL.Record({
478
+ 'role' : SellerRole,
479
+ 'fullName' : IDL.Text,
480
+ 'ownershipOrAuthorityDate' : IDL.Opt(IDL.Text),
481
+ });
482
+ const CompanySeller = IDL.Record({
483
+ 'countryOfIncorporation' : IDL.Text,
484
+ 'director' : IDL.Text,
485
+ 'companyNumber' : IDL.Text,
486
+ 'companyName' : IDL.Text,
487
+ });
488
+ const Section1PropertyAndSeller = IDL.Record({
489
+ 'postcode' : IDL.Text,
490
+ 'uprn' : IDL.Opt(IDL.Text),
491
+ 'solicitor' : SolicitorContact,
492
+ 'propertyAddress' : IDL.Text,
493
+ 'sellers' : IDL.Vec(SellerParty),
494
+ 'sellerCompany' : IDL.Opt(CompanySeller),
495
+ });
496
+ const BoundaryOwnership = IDL.Variant({
497
+ 'NotKnown' : IDL.Null,
498
+ 'Shared' : IDL.Null,
499
+ 'OwnedBySeller' : IDL.Null,
500
+ 'OwnedByNeighbour' : IDL.Null,
501
+ });
502
+ const BoundaryFeature = IDL.Record({
503
+ 'ownership' : BoundaryOwnership,
504
+ 'position' : IDL.Text,
505
+ });
506
+ const Section2Boundaries = IDL.Record({
507
+ 'q2_3MovedOrAltered' : TA6Response,
508
+ 'q2_2IrregularDescription' : IDL.Opt(IDL.Text),
509
+ 'q2_1Features' : IDL.Vec(BoundaryFeature),
510
+ });
511
+ const Section3Disputes = IDL.Record({
512
+ 'q3_2PotentialDisputes' : TA6Response,
513
+ 'q3_1ExistingDisputes' : TA6Response,
514
+ });
515
+ const Section4Notices = IDL.Record({
516
+ 'q4_2NearbyDevelopment' : TA6Response,
517
+ 'q4_1NoticesReceived' : TA6Response,
518
+ 'q4_3NearbyUseChange' : TA6Response,
519
+ });
520
+ const SolarPower = IDL.Record({
521
+ 'supplyAgreement' : TA6Document,
522
+ 'ownedOutright' : IDL.Opt(IDL.Bool),
523
+ 'mcsCertificate' : TA6Document,
524
+ 'installDate' : IDL.Opt(IDL.Text),
525
+ 'electricityBill' : TA6Document,
526
+ 'fitOrSegAgreement' : TA6Document,
527
+ });
528
+ const AlterationTypes = IDL.Record({
529
+ 'conservatory' : IDL.Bool,
530
+ 'otherDetails' : IDL.Opt(IDL.Text),
531
+ 'other' : IDL.Bool,
532
+ 'changeOfUse' : IDL.Bool,
533
+ 'structuralRoofWorks' : IDL.Bool,
534
+ 'windowsPost2002' : IDL.Bool,
535
+ 'internalWallsRemoved' : IDL.Bool,
536
+ 'loftConversion' : IDL.Bool,
537
+ 'garageConversion' : IDL.Bool,
538
+ 'extension' : IDL.Bool,
539
+ });
540
+ const Section5Alterations = IDL.Record({
541
+ 'q5_6Solar' : IDL.Opt(SolarPower),
542
+ 'q5_3NonResidentialUse' : TA6Response,
543
+ 'q5_8ConservationArea' : TA6Response,
544
+ 'q5_9TreePreservationOrder' : TA6Response,
545
+ 'q5_2Documents' : IDL.Vec(TA6Document),
546
+ 'q5_4Breaches' : TA6Response,
547
+ 'q5_5UnresolvedIssues' : TA6Response,
548
+ 'q5_1Alterations' : AlterationTypes,
549
+ 'q5_7ListedBuilding' : TA6Response,
550
+ });
551
+ const WarrantyItem = IDL.Record({
552
+ 'present' : TA6Answer,
553
+ 'document' : TA6Document,
554
+ });
555
+ const Section6Guarantees = IDL.Record({
556
+ 'q6_1CentralHeating' : WarrantyItem,
557
+ 'q6_3Breaches' : TA6Response,
558
+ 'q6_1DampProofing' : WarrantyItem,
559
+ 'q6_1Roofing' : WarrantyItem,
560
+ 'q6_1NewHomeWarranty' : WarrantyItem,
561
+ 'q6_1ElectricalWork' : WarrantyItem,
562
+ 'q6_1WindowsDoors' : WarrantyItem,
563
+ 'q6_1Underpinning' : WarrantyItem,
564
+ 'q6_1TimberTreatment' : WarrantyItem,
565
+ 'q6_1OtherDetails' : IDL.Opt(IDL.Text),
566
+ 'q6_2Claims' : TA6Response,
567
+ 'q6_1Other' : WarrantyItem,
568
+ });
569
+ const Section7Insurance = IDL.Record({
570
+ 'q7_2DifficultOrSpecialConditions' : TA6Response,
571
+ 'q7_1DoYouInsure' : TA6Answer,
572
+ 'q7_1WhoInsuresIfNot' : IDL.Opt(IDL.Text),
573
+ 'q7_3Claims' : TA6Response,
574
+ });
575
+ const Section8Environmental = IDL.Record({
576
+ 'q8_5GreenDeal' : TA6Response,
577
+ 'q8_6JapaneseKnotweed' : TA6Response,
578
+ 'q8_5CurrentBill' : TA6Document,
579
+ 'q8_3bBelowActionLevel' : TA6Answer,
580
+ 'q8_4RadonRemedialMeasures' : TA6Response,
581
+ 'q8_7SurveyDocument' : TA6Document,
582
+ 'q8_3aReport' : TA6Document,
583
+ 'q8_3RadonTest' : TA6Response,
584
+ 'q8_7KnotweedSurvey' : TA6Answer,
585
+ 'q8_1Flooded' : TA6Response,
586
+ 'q8_2FloodDefences' : TA6Response,
587
+ });
588
+ const Right = IDL.Record({
589
+ 'overProperty' : IDL.Opt(IDL.Text),
590
+ 'description' : IDL.Text,
591
+ });
592
+ const Arrangement = IDL.Record({
593
+ 'description' : IDL.Text,
594
+ 'document' : TA6Document,
595
+ 'contributionAmount' : IDL.Opt(IDL.Nat),
596
+ });
597
+ const Section9Rights = IDL.Record({
598
+ 'q9_4Rights' : IDL.Vec(Right),
599
+ 'q9_9Arrangement' : IDL.Opt(Arrangement),
600
+ 'q9_1RightsExercised' : TA6Response,
601
+ 'q9_4OthersRights' : TA6Response,
602
+ 'q9_2Amount' : IDL.Opt(IDL.Nat),
603
+ 'q9_8LeadingToOthers' : TA6Response,
604
+ 'q9_7CrossingOtherProperty' : TA6Response,
605
+ 'q9_5ContributionsReceived' : TA6Response,
606
+ 'q9_1Rights' : IDL.Vec(Right),
607
+ 'q9_3Disagreements' : TA6Response,
608
+ 'q9_5Amount' : IDL.Opt(IDL.Nat),
609
+ 'q9_2Contributions' : TA6Response,
610
+ 'q9_6Disagreements' : TA6Response,
611
+ });
612
+ const TA6PropertyInformation = IDL.Record({
613
+ 'completedAt' : IDL.Opt(IDL.Int),
614
+ 'completedBy' : IDL.Principal,
615
+ 'formVersion' : IDL.Text,
616
+ 'jurisdiction' : Jurisdiction,
617
+ 'section10' : Section10Parking,
618
+ 'section11' : Section11Services,
619
+ 'section12' : Section12Connections,
620
+ 'section13' : Section13Transaction,
621
+ 'section14' : Section14Completion,
622
+ 'section15' : Section15AdditionalInfo,
623
+ 'lastModifiedAt' : IDL.Int,
624
+ 'lastModifiedBy' : IDL.Principal,
625
+ 'section1' : Section1PropertyAndSeller,
626
+ 'section2' : Section2Boundaries,
627
+ 'section3' : Section3Disputes,
628
+ 'section4' : Section4Notices,
629
+ 'section5' : Section5Alterations,
630
+ 'section6' : Section6Guarantees,
631
+ 'section7' : Section7Insurance,
632
+ 'section8' : Section8Environmental,
633
+ 'section9' : Section9Rights,
634
+ });
635
+ const Result_12 = IDL.Variant({
636
+ 'ok' : IDL.Opt(TA6PropertyInformation),
637
+ 'err' : IDL.Text,
638
+ });
639
+ const TA7LeaseholdInformation = IDL.Record({
640
+ 'completedAt' : IDL.Opt(IDL.Int),
641
+ 'completedBy' : IDL.Principal,
642
+ 'restrictions' : IDL.Text,
643
+ 'serviceChargePaymentFrequency' : IDL.Text,
644
+ 'freeholder' : IDL.Text,
645
+ 'groundRentPaymentFrequency' : IDL.Text,
646
+ 'serviceChargeAmount' : IDL.Nat,
647
+ 'sublettingAllowed' : IDL.Bool,
648
+ 'groundRentAmount' : IDL.Nat,
649
+ 'leaseExpiryDate' : IDL.Text,
650
+ 'lastModifiedAt' : IDL.Int,
651
+ 'lastModifiedBy' : IDL.Principal,
652
+ 'leaseTermYears' : IDL.Nat,
653
+ 'petsAllowed' : IDL.Bool,
654
+ 'managingAgent' : IDL.Opt(IDL.Text),
655
+ 'leaseStartDate' : IDL.Text,
656
+ 'alterationsAllowed' : IDL.Bool,
657
+ });
658
+ const Result_11 = IDL.Variant({
659
+ 'ok' : IDL.Opt(TA7LeaseholdInformation),
660
+ 'err' : IDL.Text,
661
+ });
662
+ const BotConnection = IDL.Record({
663
+ 'principal' : IDL.Principal,
664
+ 'name' : IDL.Text,
665
+ 'addedAt' : IDL.Int,
666
+ 'addedBy' : IDL.Principal,
667
+ });
668
+ const Result_10 = IDL.Variant({
669
+ 'ok' : IDL.Vec(BotConnection),
670
+ 'err' : IDL.Text,
671
+ });
672
+ const Result_9 = IDL.Variant({
673
+ 'ok' : IDL.Vec(Transaction),
674
+ 'err' : IDL.Text,
675
+ });
676
+ const Result_8 = IDL.Variant({
677
+ 'ok' : IDL.Vec(Notification),
678
+ 'err' : IDL.Text,
679
+ });
680
+ const Result_7 = IDL.Variant({
681
+ 'ok' : IDL.Record({
682
+ 'sellers' : IDL.Vec(TransactionParty),
683
+ 'buyers' : IDL.Vec(TransactionParty),
684
+ }),
685
+ 'err' : IDL.Text,
686
+ });
687
+ const TransactionTimeline = IDL.Record({
688
+ 'exchangedAt' : IDL.Opt(IDL.Int),
689
+ 'landRegistryRegisteredAt' : IDL.Opt(IDL.Int),
690
+ 'completionInitiatedAt' : IDL.Opt(IDL.Int),
691
+ 'createdAt' : IDL.Int,
692
+ 'blockchainCompletedAt' : IDL.Opt(IDL.Int),
693
+ 'totalTimeToCompletion' : IDL.Nat,
694
+ 'totalTimeIncludingLR' : IDL.Nat,
695
+ });
696
+ const Result_6 = IDL.Variant({ 'ok' : Transaction, 'err' : IDL.Text });
697
+ const Result_3 = IDL.Variant({ 'ok' : IDL.Nat, 'err' : IDL.Text });
698
+ const ApplicationStatusUpdate = IDL.Record({
699
+ 'lastUpdated' : IDL.Text,
700
+ 'applicationReference' : IDL.Text,
701
+ 'estimatedCompletionDate' : IDL.Opt(IDL.Text),
702
+ 'statusChanged' : IDL.Bool,
703
+ 'currentStatus' : LandRegistryStatus,
704
+ 'previousStatus' : LandRegistryStatus,
705
+ });
706
+ const Result_5 = IDL.Variant({
707
+ 'ok' : ApplicationStatusUpdate,
708
+ 'err' : IDL.Text,
709
+ });
710
+ const OfficialSearchResult = IDL.Record({
711
+ 'officialCopyTimestamp' : IDL.Opt(IDL.Text),
712
+ 'advisoryEntries' : IDL.Vec(IDL.Text),
713
+ 'certificateTimestamp' : IDL.Text,
714
+ 'registerChanged' : IDL.Bool,
715
+ 'priorityExpiry' : IDL.Text,
716
+ 'certificateRef' : IDL.Text,
717
+ });
718
+ const Result_4 = IDL.Variant({
719
+ 'ok' : OfficialSearchResult,
720
+ 'err' : IDL.Text,
721
+ });
722
+ return IDL.Service({
723
+ 'acknowledgeTA6Wording' : IDL.Func([IDL.Text], [Result_1], []),
724
+ 'addParty' : IDL.Func(
725
+ [IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Bool],
726
+ [Result_2],
727
+ [],
728
+ ),
729
+ 'adminForceDeleteTransaction' : IDL.Func([IDL.Text], [Result], []),
730
+ 'assignBuyer' : IDL.Func([IDL.Text, IDL.Principal], [Result], []),
731
+ 'assignSolicitor' : IDL.Func([IDL.Text, IDL.Principal], [Result], []),
732
+ 'assignSolicitorRecord' : IDL.Func(
733
+ [IDL.Text, SolicitorRecord],
734
+ [Result_1],
735
+ [],
736
+ ),
737
+ 'backfillTransactionMembers' : IDL.Func([], [Result_22], []),
738
+ 'bootstrapDocumentStorageCanister' : IDL.Func(
739
+ [IDL.Principal],
740
+ [Result],
741
+ [],
742
+ ),
743
+ 'canAccessTransaction' : IDL.Func([IDL.Text], [IDL.Bool], ['query']),
744
+ 'connectBot' : IDL.Func(
745
+ [IDL.Text, IDL.Principal, IDL.Text],
746
+ [Result_1],
747
+ [],
748
+ ),
749
+ 'consumeLandRegistryNotification' : IDL.Func(
750
+ [
751
+ IDL.Text,
752
+ IDL.Opt(IDL.Text),
753
+ IDL.Opt(IDL.Text),
754
+ IDL.Text,
755
+ IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
756
+ ],
757
+ [Result_1],
758
+ [],
759
+ ),
760
+ 'createTransaction' : IDL.Func(
761
+ [
762
+ IDL.Text,
763
+ IDL.Text,
764
+ IDL.Text,
765
+ IDL.Text,
766
+ IDL.Principal,
767
+ IDL.Text,
768
+ IDL.Nat64,
769
+ IDL.Text,
770
+ IDL.Text,
771
+ IDL.Text,
772
+ IDL.Text,
773
+ IDL.Text,
774
+ IDL.Nat64,
775
+ IDL.Nat64,
776
+ IDL.Text,
777
+ ],
778
+ [IDL.Text],
779
+ [],
780
+ ),
781
+ 'createTransactionWithInvite' : IDL.Func(
782
+ [
783
+ IDL.Text,
784
+ IDL.Text,
785
+ IDL.Text,
786
+ IDL.Text,
787
+ IDL.Principal,
788
+ IDL.Text,
789
+ IDL.Nat64,
790
+ IDL.Text,
791
+ IDL.Text,
792
+ IDL.Text,
793
+ IDL.Text,
794
+ IDL.Text,
795
+ IDL.Nat64,
796
+ IDL.Nat64,
797
+ IDL.Text,
798
+ ],
799
+ [Result_21],
800
+ [],
801
+ ),
802
+ 'deleteTransaction' : IDL.Func([IDL.Text], [Result], []),
803
+ 'disconnectBot' : IDL.Func([IDL.Text, IDL.Principal], [Result_1], []),
804
+ 'doesTransactionExist' : IDL.Func([IDL.Text], [IDL.Bool], ['query']),
805
+ 'getAllInviteCodes' : IDL.Func(
806
+ [],
807
+ [IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))],
808
+ ['query'],
809
+ ),
810
+ 'getAllTransactions' : IDL.Func([], [IDL.Vec(Transaction)], ['query']),
811
+ 'getAnomalies' : IDL.Func([IDL.Text], [Result_20], ['query']),
812
+ 'getCurrentPhase' : IDL.Func([IDL.Text], [Result_19], ['query']),
813
+ 'getCycles' : IDL.Func([], [IDL.Nat], ['query']),
814
+ 'getDocumentStorageCanister' : IDL.Func(
815
+ [],
816
+ [IDL.Opt(IDL.Principal)],
817
+ ['query'],
818
+ ),
819
+ 'getExpiringSearches' : IDL.Func(
820
+ [IDL.Nat],
821
+ [IDL.Vec(Transaction)],
822
+ ['query'],
823
+ ),
824
+ 'getFlowState' : IDL.Func([IDL.Text], [IDL.Opt(IDL.Text)], ['query']),
825
+ 'getHmlrFetch' : IDL.Func([IDL.Text], [Result_18], ['query']),
826
+ 'getInviteCode' : IDL.Func([IDL.Text], [Result], ['query']),
827
+ 'getLandRegistryCanister' : IDL.Func([], [IDL.Text], ['query']),
828
+ 'getLandRegistryDetail' : IDL.Func(
829
+ [IDL.Text],
830
+ [IDL.Opt(LandRegistryIntegration)],
831
+ ['query'],
832
+ ),
833
+ 'getLedgerManagerCanister' : IDL.Func([], [IDL.Text], ['query']),
834
+ 'getListingData' : IDL.Func([IDL.Text], [IDL.Opt(IDL.Text)], ['query']),
835
+ 'getMyNotifications' : IDL.Func([], [IDL.Vec(Notification)], ['query']),
836
+ 'getMyTransactions' : IDL.Func([], [IDL.Vec(Transaction)], ['query']),
837
+ 'getNextStep' : IDL.Func([IDL.Text], [Result_17], ['composite_query']),
838
+ 'getOutstandingRequisitions' : IDL.Func(
839
+ [],
840
+ [IDL.Vec(IDL.Tuple(IDL.Text, Requisition))],
841
+ ['query'],
842
+ ),
843
+ 'getPartyProgress' : IDL.Func([IDL.Text], [Result_16], ['query']),
844
+ 'getPendingLRApplications' : IDL.Func(
845
+ [],
846
+ [IDL.Vec(Transaction)],
847
+ ['query'],
848
+ ),
849
+ 'getPhaseMilestones' : IDL.Func([IDL.Text], [Result_15], ['query']),
850
+ 'getPropertyRegistryCanister' : IDL.Func([], [IDL.Text], ['query']),
851
+ 'getSolicitorStatus' : IDL.Func([IDL.Text], [Result_14], ['query']),
852
+ 'getTA10' : IDL.Func([IDL.Text], [Result_13], ['query']),
853
+ 'getTA6' : IDL.Func([IDL.Text], [Result_12], ['query']),
854
+ 'getTA7' : IDL.Func([IDL.Text], [Result_11], ['query']),
855
+ 'getTransaction' : IDL.Func([IDL.Text], [IDL.Opt(Transaction)], ['query']),
856
+ 'getTransactionBots' : IDL.Func([IDL.Text], [Result_10], ['query']),
857
+ 'getTransactionByInviteCode' : IDL.Func(
858
+ [IDL.Text],
859
+ [IDL.Opt(Transaction)],
860
+ [],
861
+ ),
862
+ 'getTransactionChain' : IDL.Func([IDL.Text], [Result_9], ['query']),
863
+ 'getTransactionNotifications' : IDL.Func([IDL.Text], [Result_8], ['query']),
864
+ 'getTransactionParties' : IDL.Func([IDL.Text], [Result_7], ['query']),
865
+ 'getTransactionsByStatus' : IDL.Func(
866
+ [TransactionStatus],
867
+ [IDL.Vec(Transaction)],
868
+ ['query'],
869
+ ),
870
+ 'getTransactionsForPrincipal' : IDL.Func(
871
+ [IDL.Principal],
872
+ [IDL.Vec(Transaction)],
873
+ ['query'],
874
+ ),
875
+ 'getTransactionsNeedingSearch' : IDL.Func(
876
+ [],
877
+ [IDL.Vec(Transaction)],
878
+ ['query'],
879
+ ),
880
+ 'getUnreadNotificationCount' : IDL.Func([], [IDL.Nat], ['query']),
881
+ 'getUnreadNotificationCountForPrincipal' : IDL.Func(
882
+ [IDL.Principal],
883
+ [IDL.Nat],
884
+ ['query'],
885
+ ),
886
+ 'getUserManagementCanister' : IDL.Func([], [IDL.Text], ['query']),
887
+ 'get_transaction_timeline' : IDL.Func(
888
+ [IDL.Text],
889
+ [IDL.Opt(TransactionTimeline)],
890
+ ['query'],
891
+ ),
892
+ 'hasAcknowledgedTA6Wording' : IDL.Func([IDL.Text], [IDL.Bool], ['query']),
893
+ 'initiate_blockchain_completion' : IDL.Func(
894
+ [IDL.Text, IDL.Text, IDL.Text],
895
+ [Result],
896
+ [],
897
+ ),
898
+ 'joinAsBotByInviteCode' : IDL.Func([IDL.Text, IDL.Text], [Result_6], []),
899
+ 'joinTransactionByInviteCode' : IDL.Func([IDL.Text], [Result_6], []),
900
+ 'joinTransactionByInviteCodeAsBuyer' : IDL.Func([IDL.Text], [Result_6], []),
901
+ 'leaveTransaction' : IDL.Func([IDL.Text], [Result], []),
902
+ 'linkTransactionToChain' : IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
903
+ 'markAllNotificationsRead' : IDL.Func([], [IDL.Nat], []),
904
+ 'markContractDrafted' : IDL.Func([IDL.Text], [Result_1], []),
905
+ 'markNotificationRead' : IDL.Func([IDL.Nat], [Result_1], []),
906
+ 'markSearchesOrdered' : IDL.Func([IDL.Text], [Result_1], []),
907
+ 'migrateDevPlotSeller' : IDL.Func([IDL.Text, IDL.Principal], [Result], []),
908
+ 'onDocumentRegistered' : IDL.Func(
909
+ [IDL.Text, IDL.Text, IDL.Text, IDL.Principal],
910
+ [],
911
+ [],
912
+ ),
913
+ 'on_blockchain_completion_success' : IDL.Func([IDL.Text], [Result], []),
914
+ 'pollAllPendingApplications' : IDL.Func([], [Result_3], []),
915
+ 'pollApplicationStatus' : IDL.Func([IDL.Text], [Result_5], []),
916
+ 'recordContractExchange' : IDL.Func(
917
+ [IDL.Text, IDL.Text, IDL.Text],
918
+ [Result],
919
+ [],
920
+ ),
921
+ 'recordConveyancerSelected' : IDL.Func(
922
+ [IDL.Text, IDL.Text, IDL.Text, IDL.Nat],
923
+ [Result_1],
924
+ [],
925
+ ),
926
+ 'recordFormUpload' : IDL.Func(
927
+ [IDL.Text, IDL.Text, IDL.Text, IDL.Text],
928
+ [Result_1],
929
+ [],
930
+ ),
931
+ 'recordHmlrFetched' : IDL.Func(
932
+ [IDL.Text, IDL.Text, IDL.Text],
933
+ [Result_1],
934
+ [],
935
+ ),
936
+ 'recordPartySignature' : IDL.Func(
937
+ [IDL.Text, IDL.Text, IDL.Text],
938
+ [Result],
939
+ [],
940
+ ),
941
+ 'recordQuoteReceived' : IDL.Func(
942
+ [IDL.Text, IDL.Text, IDL.Text, IDL.Nat],
943
+ [Result_1],
944
+ [],
945
+ ),
946
+ 'recordDocShared' : IDL.Func([IDL.Text, IDL.Text, IDL.Text], [Result_1], []),
947
+ 'recordDocShareRevoked' : IDL.Func([IDL.Text, IDL.Text, IDL.Text], [Result_1], []),
948
+ 'recordQuoteRequested' : IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
949
+ 'recordRequisition' : IDL.Func([IDL.Text, Requisition], [Result_1], []),
950
+ 'removeParty' : IDL.Func([IDL.Text, IDL.Principal], [Result_1], []),
951
+ 'removeSolicitor' : IDL.Func(
952
+ [IDL.Text, IDL.Variant({ 'seller' : IDL.Null, 'buyer' : IDL.Null })],
953
+ [Result_1],
954
+ [],
955
+ ),
956
+ 'requestOfficialSearch' : IDL.Func([IDL.Text], [Result_4], []),
957
+ 'respondToRequisition' : IDL.Func(
958
+ [IDL.Text, IDL.Text, IDL.Text, IDL.Vec(IDL.Text)],
959
+ [Result_1],
960
+ [],
961
+ ),
962
+ 'revokeBuyer' : IDL.Func([IDL.Text, IDL.Principal], [Result], []),
963
+ 'runCrossReference' : IDL.Func([IDL.Text], [Result_3], []),
964
+ 'setDocumentStorageCanister' : IDL.Func([IDL.Principal], [Result], []),
965
+ 'setFlowState' : IDL.Func([IDL.Text, IDL.Text], [Result], []),
966
+ 'setLandRegistryCanister' : IDL.Func([IDL.Text], [Result], []),
967
+ 'setLedgerManagerCanister' : IDL.Func([IDL.Text], [Result], []),
968
+ 'setListingData' : IDL.Func([IDL.Text, IDL.Text], [Result], []),
969
+ 'setPropertyRegistryCanister' : IDL.Func([IDL.Text], [Result], []),
970
+ 'setUserManagementCanister' : IDL.Func([IDL.Text], [Result], []),
971
+ 'trigger_land_registry_submission' : IDL.Func([IDL.Text], [Result], []),
972
+ 'updatePartyAMLDoc' : IDL.Func(
973
+ [IDL.Text, IDL.Principal, IDL.Text],
974
+ [Result_2],
975
+ [],
976
+ ),
977
+ 'updateSolicitorTaskStatus' : IDL.Func(
978
+ [IDL.Text, SolicitorTaskType, SolicitorTaskStatus, IDL.Opt(IDL.Text)],
979
+ [Result_1],
980
+ [],
981
+ ),
982
+ 'updateSolicitorVerification' : IDL.Func(
983
+ [
984
+ IDL.Text,
985
+ IDL.Variant({ 'seller' : IDL.Null, 'buyer' : IDL.Null }),
986
+ IDL.Bool,
987
+ ],
988
+ [Result_1],
989
+ [],
990
+ ),
991
+ 'updateTA10' : IDL.Func(
992
+ [IDL.Text, TA10FittingsAndContents],
993
+ [Result_1],
994
+ [],
995
+ ),
996
+ 'updateTA6' : IDL.Func([IDL.Text, TA6PropertyInformation], [Result_1], []),
997
+ 'updateTA7' : IDL.Func([IDL.Text, TA7LeaseholdInformation], [Result_1], []),
998
+ 'updateTitleNumber' : IDL.Func([IDL.Text, IDL.Text], [Result], []),
999
+ 'updateTransactionStatus' : IDL.Func([IDL.Nat, IDL.Text], [IDL.Bool], []),
1000
+ 'update_land_registry_status' : IDL.Func(
1001
+ [IDL.Text, LandRegistryStatus, IDL.Opt(IDL.Text), IDL.Opt(IDL.Int)],
1002
+ [Result],
1003
+ [],
1004
+ ),
1005
+ });
870
1006
  };
871
1007
  export const init = ({ IDL }) => { return []; };
872
- //# sourceMappingURL=transaction_manager.did.js.map