@propxchain/core-client 0.2.1 → 0.3.0-canary.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -3
- package/dist/auth.d.ts +7 -7
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +5 -5
- package/dist/auth.js.map +1 -1
- package/dist/canisters/document_storage/document_storage.did.d.ts.map +1 -1
- package/dist/canisters/document_storage/document_storage.did.js +90 -21
- package/dist/canisters/document_storage/document_storage.did.js.map +1 -1
- package/dist/canisters/document_verification/document_verification.did.d.ts.map +1 -1
- package/dist/canisters/document_verification/document_verification.did.js +132 -0
- package/dist/canisters/document_verification/document_verification.did.js.map +1 -1
- package/dist/canisters/email_service/email_service.did.d.ts.map +1 -1
- package/dist/canisters/email_service/email_service.did.js +40 -0
- package/dist/canisters/email_service/email_service.did.js.map +1 -1
- package/dist/canisters/land_registry_integration/land_registry_integration.did.d.ts.map +1 -1
- package/dist/canisters/land_registry_integration/land_registry_integration.did.js +186 -12
- package/dist/canisters/land_registry_integration/land_registry_integration.did.js.map +1 -1
- package/dist/canisters/ledger_manager/ledger_manager.did.d.ts.map +1 -1
- package/dist/canisters/ledger_manager/ledger_manager.did.js +55 -0
- package/dist/canisters/ledger_manager/ledger_manager.did.js.map +1 -1
- package/dist/canisters/transaction_manager/transaction_manager.did.d.ts.map +1 -1
- package/dist/canisters/transaction_manager/transaction_manager.did.js +338 -40
- package/dist/canisters/transaction_manager/transaction_manager.did.js.map +1 -1
- package/dist/canisters/user_management/user_management.did.d.ts.map +1 -1
- package/dist/canisters/user_management/user_management.did.js +122 -2
- package/dist/canisters/user_management/user_management.did.js.map +1 -1
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/mock.js +1 -1
- package/dist/mock.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -6
- package/src/auth.ts +8 -9
- package/src/canisters/document_storage/document_storage.did +82 -12
- package/src/canisters/document_storage/document_storage.did.d.ts +86 -9
- package/src/canisters/document_storage/document_storage.did.js +128 -19
- package/src/canisters/document_verification/document_verification.did +150 -0
- package/src/canisters/document_verification/document_verification.did.d.ts +125 -1
- package/src/canisters/document_verification/document_verification.did.js +160 -0
- package/src/canisters/email_service/email_service.did +49 -0
- package/src/canisters/email_service/email_service.did.d.ts +49 -2
- package/src/canisters/email_service/email_service.did.js +68 -0
- package/src/canisters/land_registry_integration/land_registry_integration.did +118 -19
- package/src/canisters/land_registry_integration/land_registry_integration.did.d.ts +89 -19
- package/src/canisters/land_registry_integration/land_registry_integration.did.js +213 -11
- package/src/canisters/ledger_manager/ledger_manager.did +78 -0
- package/src/canisters/ledger_manager/ledger_manager.did.d.ts +66 -0
- package/src/canisters/ledger_manager/ledger_manager.did.js +75 -0
- package/src/canisters/transaction_manager/transaction_manager.did +438 -47
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +379 -36
- package/src/canisters/transaction_manager/transaction_manager.did.js +346 -40
- package/src/canisters/user_management/user_management.did +153 -3
- package/src/canisters/user_management/user_management.did.d.ts +121 -2
- package/src/canisters/user_management/user_management.did.js +166 -6
- package/src/client.ts +1 -1
- package/src/index.ts +2 -2
- package/src/mock.ts +1 -1
- package/src/types.ts +1 -1
|
@@ -72,7 +72,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
72
72
|
'regulatoryBody' : RegulatoryBody,
|
|
73
73
|
});
|
|
74
74
|
const Result_1 = IDL.Variant({ 'ok' : IDL.Null, 'err' : IDL.Text });
|
|
75
|
-
const
|
|
75
|
+
const Result_20 = IDL.Variant({
|
|
76
|
+
'ok' : IDL.Record({ 'registrations' : IDL.Nat, 'transactions' : IDL.Nat }),
|
|
77
|
+
'err' : IDL.Text,
|
|
78
|
+
});
|
|
79
|
+
const Result_19 = IDL.Variant({
|
|
76
80
|
'ok' : IDL.Tuple(IDL.Text, IDL.Text),
|
|
77
81
|
'err' : IDL.Text,
|
|
78
82
|
});
|
|
@@ -193,7 +197,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
193
197
|
'preCompletion' : IDL.Null,
|
|
194
198
|
'searches' : IDL.Null,
|
|
195
199
|
});
|
|
196
|
-
const
|
|
200
|
+
const Result_18 = IDL.Variant({ 'ok' : Phase, 'err' : IDL.Text });
|
|
197
201
|
const Notification = IDL.Record({
|
|
198
202
|
'id' : IDL.Nat,
|
|
199
203
|
'documentHash' : IDL.Text,
|
|
@@ -205,6 +209,29 @@ export const idlFactory = ({ IDL }) => {
|
|
|
205
209
|
'uploadedBy' : IDL.Principal,
|
|
206
210
|
'transactionId' : IDL.Text,
|
|
207
211
|
});
|
|
212
|
+
const Urgency = IDL.Variant({
|
|
213
|
+
'blocking' : IDL.Null,
|
|
214
|
+
'soon' : IDL.Null,
|
|
215
|
+
'later' : IDL.Null,
|
|
216
|
+
});
|
|
217
|
+
const NextStepOption = IDL.Record({
|
|
218
|
+
'action' : IDL.Text,
|
|
219
|
+
'displayLabel' : IDL.Text,
|
|
220
|
+
'estimatedDelayIfSkipped' : IDL.Opt(IDL.Nat),
|
|
221
|
+
'whyThis' : IDL.Text,
|
|
222
|
+
});
|
|
223
|
+
const NextStepRecommendation = IDL.Record({
|
|
224
|
+
'why' : IDL.Text,
|
|
225
|
+
'urgency' : Urgency,
|
|
226
|
+
'blocker' : IDL.Text,
|
|
227
|
+
'blockerLabel' : IDL.Text,
|
|
228
|
+
'options' : IDL.Vec(NextStepOption),
|
|
229
|
+
'partial' : IDL.Bool,
|
|
230
|
+
});
|
|
231
|
+
const Result_17 = IDL.Variant({
|
|
232
|
+
'ok' : NextStepRecommendation,
|
|
233
|
+
'err' : IDL.Text,
|
|
234
|
+
});
|
|
208
235
|
const PartyProgress = IDL.Record({
|
|
209
236
|
'completedParties' : IDL.Nat,
|
|
210
237
|
'overallProgress' : IDL.Nat,
|
|
@@ -255,49 +282,304 @@ export const idlFactory = ({ IDL }) => {
|
|
|
255
282
|
'ok' : IDL.Opt(TA10FittingsAndContents),
|
|
256
283
|
'err' : IDL.Text,
|
|
257
284
|
});
|
|
258
|
-
const
|
|
259
|
-
'
|
|
260
|
-
'
|
|
261
|
-
});
|
|
262
|
-
const
|
|
263
|
-
'
|
|
264
|
-
'
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
'
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
'
|
|
273
|
-
'
|
|
274
|
-
'
|
|
285
|
+
const Jurisdiction = IDL.Variant({
|
|
286
|
+
'Wales' : IDL.Null,
|
|
287
|
+
'England' : IDL.Null,
|
|
288
|
+
});
|
|
289
|
+
const TA6Document = IDL.Variant({
|
|
290
|
+
'NotApplicable' : IDL.Null,
|
|
291
|
+
'NotAvailable' : IDL.Null,
|
|
292
|
+
'Attached' : IDL.Nat,
|
|
293
|
+
'ToFollow' : IDL.Null,
|
|
294
|
+
});
|
|
295
|
+
const ParkingType = IDL.Variant({
|
|
296
|
+
'OnRoad' : IDL.Null,
|
|
297
|
+
'None' : IDL.Null,
|
|
298
|
+
'Permit' : IDL.Null,
|
|
299
|
+
'Garage' : IDL.Null,
|
|
300
|
+
'Other' : IDL.Null,
|
|
301
|
+
'Allocated' : IDL.Null,
|
|
302
|
+
'Driveway' : IDL.Null,
|
|
303
|
+
});
|
|
304
|
+
const TA6Answer = IDL.Variant({
|
|
305
|
+
'No' : IDL.Null,
|
|
306
|
+
'Yes' : IDL.Null,
|
|
307
|
+
'NotApplicable' : IDL.Null,
|
|
308
|
+
'NotKnown' : IDL.Null,
|
|
309
|
+
});
|
|
310
|
+
const TA6Response = IDL.Record({
|
|
311
|
+
'answer' : TA6Answer,
|
|
312
|
+
'details' : IDL.Opt(IDL.Text),
|
|
313
|
+
});
|
|
314
|
+
const Section10Parking = IDL.Record({
|
|
315
|
+
'q10_3InstallConsent' : TA6Document,
|
|
316
|
+
'q10_1Details' : IDL.Opt(IDL.Text),
|
|
317
|
+
'q10_1Arrangements' : IDL.Vec(ParkingType),
|
|
318
|
+
'q10_2PermitRequired' : TA6Response,
|
|
319
|
+
'q10_3EvChargingPoint' : TA6Response,
|
|
320
|
+
});
|
|
321
|
+
const HeatingType = IDL.Variant({
|
|
322
|
+
'Lpg' : IDL.Null,
|
|
323
|
+
'Oil' : IDL.Null,
|
|
324
|
+
'SolarThermal' : IDL.Null,
|
|
325
|
+
'SolidFuel' : IDL.Null,
|
|
326
|
+
'DistrictHeating' : IDL.Null,
|
|
327
|
+
'Electric' : IDL.Null,
|
|
328
|
+
'HeatPumpAir' : IDL.Null,
|
|
329
|
+
'Other' : IDL.Null,
|
|
330
|
+
'GasCentral' : IDL.Null,
|
|
331
|
+
'HeatPumpGround' : IDL.Null,
|
|
332
|
+
});
|
|
333
|
+
const HeatingSystem = IDL.Record({
|
|
334
|
+
'certificate' : TA6Document,
|
|
335
|
+
'otherDetails' : IDL.Opt(IDL.Text),
|
|
336
|
+
'installDate' : IDL.Opt(IDL.Text),
|
|
337
|
+
'heatingType' : HeatingType,
|
|
338
|
+
'lastServiceDate' : IDL.Opt(IDL.Text),
|
|
339
|
+
});
|
|
340
|
+
const MainsConnections = IDL.Record({
|
|
341
|
+
'gas' : TA6Answer,
|
|
342
|
+
'sewerage' : TA6Answer,
|
|
343
|
+
'electricity' : TA6Answer,
|
|
344
|
+
'water' : TA6Answer,
|
|
345
|
+
'broadband' : TA6Answer,
|
|
346
|
+
});
|
|
347
|
+
const SewerageSource = IDL.Variant({
|
|
348
|
+
'SewageTreatmentPlant' : IDL.Null,
|
|
349
|
+
'Mains' : IDL.Null,
|
|
350
|
+
'SepticTank' : IDL.Null,
|
|
351
|
+
'Other' : IDL.Null,
|
|
352
|
+
'Cesspool' : IDL.Null,
|
|
353
|
+
});
|
|
354
|
+
const DischargeType = IDL.Variant({
|
|
355
|
+
'GroundWater' : IDL.Null,
|
|
356
|
+
'SurfaceWater' : IDL.Null,
|
|
357
|
+
});
|
|
358
|
+
const SewerageSystem = IDL.Record({
|
|
359
|
+
'otherDetails' : IDL.Opt(IDL.Text),
|
|
360
|
+
'source' : SewerageSource,
|
|
361
|
+
'infiltrationSystem' : TA6Answer,
|
|
362
|
+
'lastServiceDate' : IDL.Opt(IDL.Text),
|
|
363
|
+
'regulationCompliant' : TA6Answer,
|
|
364
|
+
'location' : IDL.Opt(IDL.Text),
|
|
365
|
+
'dischargeType' : IDL.Opt(DischargeType),
|
|
366
|
+
});
|
|
367
|
+
const Section11Services = IDL.Record({
|
|
368
|
+
'q11_2Document' : TA6Document,
|
|
369
|
+
'q11_4HeatingSystems' : IDL.Vec(HeatingSystem),
|
|
370
|
+
'q11_5MainsConnections' : MainsConnections,
|
|
371
|
+
'q11_3Date' : IDL.Opt(IDL.Text),
|
|
372
|
+
'q11_3Eicr' : TA6Answer,
|
|
373
|
+
'q11_6SewerageSource' : SewerageSource,
|
|
374
|
+
'q11_1ElectricalWorks' : TA6Response,
|
|
375
|
+
'q11_2ElectricalCertificates' : TA6Answer,
|
|
376
|
+
'q11_3Report' : TA6Document,
|
|
377
|
+
'q11_7SewerageSystem' : IDL.Opt(SewerageSystem),
|
|
378
|
+
});
|
|
379
|
+
const Section12Connections = IDL.Record({
|
|
380
|
+
'q12_1Connections' : TA6Response,
|
|
381
|
+
'q12_1Documents' : IDL.Vec(TA6Document),
|
|
382
|
+
});
|
|
383
|
+
const Occupier = IDL.Record({
|
|
384
|
+
'age' : IDL.Opt(IDL.Nat),
|
|
385
|
+
'fullName' : IDL.Text,
|
|
386
|
+
'consentToSale' : TA6Document,
|
|
387
|
+
});
|
|
388
|
+
const Section13Transaction = IDL.Record({
|
|
389
|
+
'q13_4OtherOccupiers17Plus' : TA6Response,
|
|
390
|
+
'q13_5' : TA6Response,
|
|
391
|
+
'q13_6' : TA6Response,
|
|
392
|
+
'q13_1DependentPurchase' : TA6Response,
|
|
393
|
+
'q13_7Occupiers' : IDL.Vec(Occupier),
|
|
394
|
+
'q13_3SellerLivesAtProperty' : TA6Answer,
|
|
395
|
+
'q13_2MovingDateRequirements' : TA6Response,
|
|
396
|
+
});
|
|
397
|
+
const CompletionCommitments = IDL.Record({
|
|
398
|
+
'removeSellersItems' : TA6Answer,
|
|
399
|
+
'vacantPossession' : TA6Answer,
|
|
400
|
+
'leaveServiceInfo' : TA6Answer,
|
|
401
|
+
});
|
|
402
|
+
const Section14Completion = IDL.Record({
|
|
403
|
+
'q14_2Commitments' : CompletionCommitments,
|
|
404
|
+
'q14_1ProceedsClearCharges' : TA6Response,
|
|
405
|
+
});
|
|
406
|
+
const Section15AdditionalInfo = IDL.Record({
|
|
407
|
+
'additionalNotes' : IDL.Opt(IDL.Text),
|
|
408
|
+
'q15_1ConsentsAttached' : IDL.Vec(TA6Document),
|
|
409
|
+
'consentsNotAvailableList' : IDL.Opt(IDL.Text),
|
|
410
|
+
'consentsToFollowList' : IDL.Opt(IDL.Text),
|
|
411
|
+
'consentsAttachedList' : IDL.Opt(IDL.Text),
|
|
412
|
+
});
|
|
413
|
+
const SolicitorContact = IDL.Record({
|
|
414
|
+
'postcode' : IDL.Text,
|
|
415
|
+
'contactName' : IDL.Text,
|
|
416
|
+
'firmName' : IDL.Text,
|
|
417
|
+
'email' : IDL.Opt(IDL.Text),
|
|
418
|
+
'address' : IDL.Text,
|
|
419
|
+
'phone' : IDL.Opt(IDL.Text),
|
|
420
|
+
});
|
|
421
|
+
const SellerRole = IDL.Variant({
|
|
422
|
+
'Administrator' : IDL.Null,
|
|
423
|
+
'Executor' : IDL.Null,
|
|
424
|
+
'Seller' : IDL.Null,
|
|
425
|
+
'Trustee' : IDL.Null,
|
|
426
|
+
'Attorney' : IDL.Null,
|
|
427
|
+
});
|
|
428
|
+
const SellerParty = IDL.Record({
|
|
429
|
+
'role' : SellerRole,
|
|
430
|
+
'fullName' : IDL.Text,
|
|
431
|
+
'ownershipOrAuthorityDate' : IDL.Opt(IDL.Text),
|
|
432
|
+
});
|
|
433
|
+
const CompanySeller = IDL.Record({
|
|
434
|
+
'countryOfIncorporation' : IDL.Text,
|
|
435
|
+
'director' : IDL.Text,
|
|
436
|
+
'companyNumber' : IDL.Text,
|
|
437
|
+
'companyName' : IDL.Text,
|
|
438
|
+
});
|
|
439
|
+
const Section1PropertyAndSeller = IDL.Record({
|
|
440
|
+
'postcode' : IDL.Text,
|
|
441
|
+
'uprn' : IDL.Opt(IDL.Text),
|
|
442
|
+
'solicitor' : SolicitorContact,
|
|
443
|
+
'propertyAddress' : IDL.Text,
|
|
444
|
+
'sellers' : IDL.Vec(SellerParty),
|
|
445
|
+
'sellerCompany' : IDL.Opt(CompanySeller),
|
|
446
|
+
});
|
|
447
|
+
const BoundaryOwnership = IDL.Variant({
|
|
448
|
+
'NotKnown' : IDL.Null,
|
|
449
|
+
'Shared' : IDL.Null,
|
|
450
|
+
'OwnedBySeller' : IDL.Null,
|
|
451
|
+
'OwnedByNeighbour' : IDL.Null,
|
|
452
|
+
});
|
|
453
|
+
const BoundaryFeature = IDL.Record({
|
|
454
|
+
'ownership' : BoundaryOwnership,
|
|
455
|
+
'position' : IDL.Text,
|
|
456
|
+
});
|
|
457
|
+
const Section2Boundaries = IDL.Record({
|
|
458
|
+
'q2_3MovedOrAltered' : TA6Response,
|
|
459
|
+
'q2_2IrregularDescription' : IDL.Opt(IDL.Text),
|
|
460
|
+
'q2_1Features' : IDL.Vec(BoundaryFeature),
|
|
461
|
+
});
|
|
462
|
+
const Section3Disputes = IDL.Record({
|
|
463
|
+
'q3_2PotentialDisputes' : TA6Response,
|
|
464
|
+
'q3_1ExistingDisputes' : TA6Response,
|
|
465
|
+
});
|
|
466
|
+
const Section4Notices = IDL.Record({
|
|
467
|
+
'q4_2NearbyDevelopment' : TA6Response,
|
|
468
|
+
'q4_1NoticesReceived' : TA6Response,
|
|
469
|
+
'q4_3NearbyUseChange' : TA6Response,
|
|
470
|
+
});
|
|
471
|
+
const SolarPower = IDL.Record({
|
|
472
|
+
'supplyAgreement' : TA6Document,
|
|
473
|
+
'ownedOutright' : IDL.Opt(IDL.Bool),
|
|
474
|
+
'mcsCertificate' : TA6Document,
|
|
475
|
+
'installDate' : IDL.Opt(IDL.Text),
|
|
476
|
+
'electricityBill' : TA6Document,
|
|
477
|
+
'fitOrSegAgreement' : TA6Document,
|
|
478
|
+
});
|
|
479
|
+
const AlterationTypes = IDL.Record({
|
|
480
|
+
'conservatory' : IDL.Bool,
|
|
481
|
+
'otherDetails' : IDL.Opt(IDL.Text),
|
|
482
|
+
'other' : IDL.Bool,
|
|
483
|
+
'changeOfUse' : IDL.Bool,
|
|
484
|
+
'structuralRoofWorks' : IDL.Bool,
|
|
485
|
+
'windowsPost2002' : IDL.Bool,
|
|
486
|
+
'internalWallsRemoved' : IDL.Bool,
|
|
487
|
+
'loftConversion' : IDL.Bool,
|
|
488
|
+
'garageConversion' : IDL.Bool,
|
|
489
|
+
'extension' : IDL.Bool,
|
|
490
|
+
});
|
|
491
|
+
const Section5Alterations = IDL.Record({
|
|
492
|
+
'q5_6Solar' : IDL.Opt(SolarPower),
|
|
493
|
+
'q5_3NonResidentialUse' : TA6Response,
|
|
494
|
+
'q5_8ConservationArea' : TA6Response,
|
|
495
|
+
'q5_9TreePreservationOrder' : TA6Response,
|
|
496
|
+
'q5_2Documents' : IDL.Vec(TA6Document),
|
|
497
|
+
'q5_4Breaches' : TA6Response,
|
|
498
|
+
'q5_5UnresolvedIssues' : TA6Response,
|
|
499
|
+
'q5_1Alterations' : AlterationTypes,
|
|
500
|
+
'q5_7ListedBuilding' : TA6Response,
|
|
501
|
+
});
|
|
502
|
+
const WarrantyItem = IDL.Record({
|
|
503
|
+
'present' : TA6Answer,
|
|
504
|
+
'document' : TA6Document,
|
|
505
|
+
});
|
|
506
|
+
const Section6Guarantees = IDL.Record({
|
|
507
|
+
'q6_1CentralHeating' : WarrantyItem,
|
|
508
|
+
'q6_3Breaches' : TA6Response,
|
|
509
|
+
'q6_1DampProofing' : WarrantyItem,
|
|
510
|
+
'q6_1Roofing' : WarrantyItem,
|
|
511
|
+
'q6_1NewHomeWarranty' : WarrantyItem,
|
|
512
|
+
'q6_1ElectricalWork' : WarrantyItem,
|
|
513
|
+
'q6_1WindowsDoors' : WarrantyItem,
|
|
514
|
+
'q6_1Underpinning' : WarrantyItem,
|
|
515
|
+
'q6_1TimberTreatment' : WarrantyItem,
|
|
516
|
+
'q6_1OtherDetails' : IDL.Opt(IDL.Text),
|
|
517
|
+
'q6_2Claims' : TA6Response,
|
|
518
|
+
'q6_1Other' : WarrantyItem,
|
|
519
|
+
});
|
|
520
|
+
const Section7Insurance = IDL.Record({
|
|
521
|
+
'q7_2DifficultOrSpecialConditions' : TA6Response,
|
|
522
|
+
'q7_1DoYouInsure' : TA6Answer,
|
|
523
|
+
'q7_1WhoInsuresIfNot' : IDL.Opt(IDL.Text),
|
|
524
|
+
'q7_3Claims' : TA6Response,
|
|
525
|
+
});
|
|
526
|
+
const Section8Environmental = IDL.Record({
|
|
527
|
+
'q8_5GreenDeal' : TA6Response,
|
|
528
|
+
'q8_6JapaneseKnotweed' : TA6Response,
|
|
529
|
+
'q8_5CurrentBill' : TA6Document,
|
|
530
|
+
'q8_7SurveyDocument' : TA6Document,
|
|
531
|
+
'q8_3RadonTest' : TA6Response,
|
|
532
|
+
'q8_4RadonMeasures' : TA6Response,
|
|
533
|
+
'q8_7KnotweedSurvey' : TA6Answer,
|
|
534
|
+
'q8_1Flooded' : TA6Response,
|
|
535
|
+
'q8_2FloodDefences' : TA6Response,
|
|
536
|
+
});
|
|
537
|
+
const Right = IDL.Record({
|
|
538
|
+
'overProperty' : IDL.Opt(IDL.Text),
|
|
539
|
+
'description' : IDL.Text,
|
|
275
540
|
});
|
|
276
|
-
const
|
|
277
|
-
'
|
|
278
|
-
'
|
|
541
|
+
const Arrangement = IDL.Record({
|
|
542
|
+
'description' : IDL.Text,
|
|
543
|
+
'document' : TA6Document,
|
|
544
|
+
'contributionAmount' : IDL.Opt(IDL.Nat),
|
|
545
|
+
});
|
|
546
|
+
const Section9Rights = IDL.Record({
|
|
547
|
+
'q9_4Rights' : IDL.Vec(Right),
|
|
548
|
+
'q9_9Arrangement' : IDL.Opt(Arrangement),
|
|
549
|
+
'q9_1RightsExercised' : TA6Response,
|
|
550
|
+
'q9_4OthersRights' : TA6Response,
|
|
551
|
+
'q9_2Amount' : IDL.Opt(IDL.Nat),
|
|
552
|
+
'q9_8LeadingToOthers' : TA6Response,
|
|
553
|
+
'q9_7CrossingOtherProperty' : TA6Response,
|
|
554
|
+
'q9_5ContributionsReceived' : TA6Response,
|
|
555
|
+
'q9_1Rights' : IDL.Vec(Right),
|
|
556
|
+
'q9_3Disagreements' : TA6Response,
|
|
557
|
+
'q9_5Amount' : IDL.Opt(IDL.Nat),
|
|
558
|
+
'q9_2Contributions' : TA6Response,
|
|
559
|
+
'q9_6Disagreements' : TA6Response,
|
|
279
560
|
});
|
|
280
561
|
const TA6PropertyInformation = IDL.Record({
|
|
281
562
|
'completedAt' : IDL.Opt(IDL.Int),
|
|
282
563
|
'completedBy' : IDL.Principal,
|
|
283
|
-
'
|
|
284
|
-
'
|
|
285
|
-
'
|
|
286
|
-
'
|
|
287
|
-
'
|
|
288
|
-
'
|
|
289
|
-
'
|
|
290
|
-
'
|
|
291
|
-
'estateManagement' : IDL.Opt(TA6EstateManagement),
|
|
292
|
-
'environmentalIssues' : IDL.Vec(IDL.Text),
|
|
293
|
-
'boundaryDisputes' : IDL.Opt(TA6BoundaryDisputes),
|
|
564
|
+
'formVersion' : IDL.Text,
|
|
565
|
+
'jurisdiction' : Jurisdiction,
|
|
566
|
+
'section10' : Section10Parking,
|
|
567
|
+
'section11' : Section11Services,
|
|
568
|
+
'section12' : Section12Connections,
|
|
569
|
+
'section13' : Section13Transaction,
|
|
570
|
+
'section14' : Section14Completion,
|
|
571
|
+
'section15' : Section15AdditionalInfo,
|
|
294
572
|
'lastModifiedAt' : IDL.Int,
|
|
295
573
|
'lastModifiedBy' : IDL.Principal,
|
|
296
|
-
'
|
|
297
|
-
'
|
|
298
|
-
'
|
|
299
|
-
'
|
|
300
|
-
'
|
|
574
|
+
'section1' : Section1PropertyAndSeller,
|
|
575
|
+
'section2' : Section2Boundaries,
|
|
576
|
+
'section3' : Section3Disputes,
|
|
577
|
+
'section4' : Section4Notices,
|
|
578
|
+
'section5' : Section5Alterations,
|
|
579
|
+
'section6' : Section6Guarantees,
|
|
580
|
+
'section7' : Section7Insurance,
|
|
581
|
+
'section8' : Section8Environmental,
|
|
582
|
+
'section9' : Section9Rights,
|
|
301
583
|
});
|
|
302
584
|
const Result_12 = IDL.Variant({
|
|
303
585
|
'ok' : IDL.Opt(TA6PropertyInformation),
|
|
@@ -400,6 +682,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
400
682
|
[Result_1],
|
|
401
683
|
[],
|
|
402
684
|
),
|
|
685
|
+
'backfillTransactionMembers' : IDL.Func([], [Result_20], []),
|
|
403
686
|
'bootstrapDocumentStorageCanister' : IDL.Func(
|
|
404
687
|
[IDL.Principal],
|
|
405
688
|
[Result],
|
|
@@ -461,7 +744,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
461
744
|
IDL.Nat64,
|
|
462
745
|
IDL.Text,
|
|
463
746
|
],
|
|
464
|
-
[
|
|
747
|
+
[Result_19],
|
|
465
748
|
[],
|
|
466
749
|
),
|
|
467
750
|
'deleteTransaction' : IDL.Func([IDL.Text], [Result], []),
|
|
@@ -473,7 +756,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
473
756
|
['query'],
|
|
474
757
|
),
|
|
475
758
|
'getAllTransactions' : IDL.Func([], [IDL.Vec(Transaction)], ['query']),
|
|
476
|
-
'getCurrentPhase' : IDL.Func([IDL.Text], [
|
|
759
|
+
'getCurrentPhase' : IDL.Func([IDL.Text], [Result_18], ['query']),
|
|
477
760
|
'getCycles' : IDL.Func([], [IDL.Nat], ['query']),
|
|
478
761
|
'getDocumentStorageCanister' : IDL.Func(
|
|
479
762
|
[],
|
|
@@ -487,14 +770,17 @@ export const idlFactory = ({ IDL }) => {
|
|
|
487
770
|
),
|
|
488
771
|
'getFlowState' : IDL.Func([IDL.Text], [IDL.Opt(IDL.Text)], ['query']),
|
|
489
772
|
'getInviteCode' : IDL.Func([IDL.Text], [Result], ['query']),
|
|
773
|
+
'getLandRegistryCanister' : IDL.Func([], [IDL.Text], ['query']),
|
|
490
774
|
'getLandRegistryDetail' : IDL.Func(
|
|
491
775
|
[IDL.Text],
|
|
492
776
|
[IDL.Opt(LandRegistryIntegration)],
|
|
493
777
|
['query'],
|
|
494
778
|
),
|
|
779
|
+
'getLedgerManagerCanister' : IDL.Func([], [IDL.Text], ['query']),
|
|
495
780
|
'getListingData' : IDL.Func([IDL.Text], [IDL.Opt(IDL.Text)], ['query']),
|
|
496
781
|
'getMyNotifications' : IDL.Func([], [IDL.Vec(Notification)], ['query']),
|
|
497
782
|
'getMyTransactions' : IDL.Func([], [IDL.Vec(Transaction)], ['query']),
|
|
783
|
+
'getNextStep' : IDL.Func([IDL.Text], [Result_17], ['composite_query']),
|
|
498
784
|
'getOutstandingRequisitions' : IDL.Func(
|
|
499
785
|
[],
|
|
500
786
|
[IDL.Vec(IDL.Tuple(IDL.Text, Requisition))],
|
|
@@ -507,6 +793,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
507
793
|
['query'],
|
|
508
794
|
),
|
|
509
795
|
'getPhaseMilestones' : IDL.Func([IDL.Text], [Result_15], ['query']),
|
|
796
|
+
'getPropertyRegistryCanister' : IDL.Func([], [IDL.Text], ['query']),
|
|
510
797
|
'getSolicitorStatus' : IDL.Func([IDL.Text], [Result_14], ['query']),
|
|
511
798
|
'getTA10' : IDL.Func([IDL.Text], [Result_13], ['query']),
|
|
512
799
|
'getTA6' : IDL.Func([IDL.Text], [Result_12], ['query']),
|
|
@@ -553,12 +840,16 @@ export const idlFactory = ({ IDL }) => {
|
|
|
553
840
|
[Result],
|
|
554
841
|
[],
|
|
555
842
|
),
|
|
843
|
+
'joinAsBotByInviteCode' : IDL.Func([IDL.Text, IDL.Text], [Result_6], []),
|
|
556
844
|
'joinTransactionByInviteCode' : IDL.Func([IDL.Text], [Result_6], []),
|
|
845
|
+
'joinTransactionByInviteCodeAsBuyer' : IDL.Func([IDL.Text], [Result_6], []),
|
|
846
|
+
'leaveTransaction' : IDL.Func([IDL.Text], [Result], []),
|
|
557
847
|
'linkTransactionToChain' : IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
|
|
558
848
|
'markAllNotificationsRead' : IDL.Func([], [IDL.Nat], []),
|
|
559
849
|
'markContractDrafted' : IDL.Func([IDL.Text], [Result_1], []),
|
|
560
850
|
'markNotificationRead' : IDL.Func([IDL.Nat], [Result_1], []),
|
|
561
851
|
'markSearchesOrdered' : IDL.Func([IDL.Text], [Result_1], []),
|
|
852
|
+
'migrateDevPlotSeller' : IDL.Func([IDL.Text, IDL.Principal], [Result], []),
|
|
562
853
|
'onDocumentRegistered' : IDL.Func(
|
|
563
854
|
[IDL.Text, IDL.Text, IDL.Text, IDL.Principal],
|
|
564
855
|
[],
|
|
@@ -572,6 +863,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
572
863
|
[Result],
|
|
573
864
|
[],
|
|
574
865
|
),
|
|
866
|
+
'recordConveyancerSelected' : IDL.Func(
|
|
867
|
+
[IDL.Text, IDL.Text, IDL.Text, IDL.Nat],
|
|
868
|
+
[Result_1],
|
|
869
|
+
[],
|
|
870
|
+
),
|
|
575
871
|
'recordFormUpload' : IDL.Func(
|
|
576
872
|
[IDL.Text, IDL.Text, IDL.Text, IDL.Text],
|
|
577
873
|
[Result_1],
|
|
@@ -582,6 +878,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
582
878
|
[Result],
|
|
583
879
|
[],
|
|
584
880
|
),
|
|
881
|
+
'recordQuoteReceived' : IDL.Func(
|
|
882
|
+
[IDL.Text, IDL.Text, IDL.Text, IDL.Nat],
|
|
883
|
+
[Result_1],
|
|
884
|
+
[],
|
|
885
|
+
),
|
|
886
|
+
'recordQuoteRequested' : IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
|
|
585
887
|
'recordRequisition' : IDL.Func([IDL.Text, Requisition], [Result_1], []),
|
|
586
888
|
'removeParty' : IDL.Func([IDL.Text, IDL.Principal], [Result_1], []),
|
|
587
889
|
'removeSolicitor' : IDL.Func(
|
|
@@ -598,7 +900,10 @@ export const idlFactory = ({ IDL }) => {
|
|
|
598
900
|
'revokeBuyer' : IDL.Func([IDL.Text, IDL.Principal], [Result], []),
|
|
599
901
|
'setDocumentStorageCanister' : IDL.Func([IDL.Principal], [Result], []),
|
|
600
902
|
'setFlowState' : IDL.Func([IDL.Text, IDL.Text], [Result], []),
|
|
903
|
+
'setLandRegistryCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
904
|
+
'setLedgerManagerCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
601
905
|
'setListingData' : IDL.Func([IDL.Text, IDL.Text], [Result], []),
|
|
906
|
+
'setPropertyRegistryCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
602
907
|
'setUserManagementCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
603
908
|
'trigger_land_registry_submission' : IDL.Func([IDL.Text], [Result], []),
|
|
604
909
|
'updatePartyAMLDoc' : IDL.Func(
|
|
@@ -627,6 +932,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
627
932
|
),
|
|
628
933
|
'updateTA6' : IDL.Func([IDL.Text, TA6PropertyInformation], [Result_1], []),
|
|
629
934
|
'updateTA7' : IDL.Func([IDL.Text, TA7LeaseholdInformation], [Result_1], []),
|
|
935
|
+
'updateTitleNumber' : IDL.Func([IDL.Text, IDL.Text], [Result], []),
|
|
630
936
|
'updateTransactionStatus' : IDL.Func([IDL.Nat, IDL.Text], [IDL.Bool], []),
|
|
631
937
|
'update_land_registry_status' : IDL.Func(
|
|
632
938
|
[IDL.Text, LandRegistryStatus, IDL.Opt(IDL.Text), IDL.Opt(IDL.Int)],
|