@propxchain/core-client 0.3.0-canary.24 → 0.3.0-canary.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/canisters/property_registry/property_registry.did.d.ts.map +1 -1
- package/dist/canisters/property_registry/property_registry.did.js +2 -0
- package/dist/canisters/property_registry/property_registry.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 +36 -296
- package/dist/canisters/transaction_manager/transaction_manager.did.js.map +1 -1
- package/package.json +1 -1
- package/src/canisters/property_registry/property_registry.did +2 -0
- package/src/canisters/property_registry/property_registry.did.d.ts +2 -0
- package/src/canisters/property_registry/property_registry.did.js +2 -0
- package/src/canisters/transaction_manager/transaction_manager.did +42 -340
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +32 -277
- package/src/canisters/transaction_manager/transaction_manager.did.js +36 -296
|
@@ -72,10 +72,6 @@ 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 Result_20 = IDL.Variant({
|
|
76
|
-
'ok' : IDL.Record({ 'registrations' : IDL.Nat, 'transactions' : IDL.Nat }),
|
|
77
|
-
'err' : IDL.Text,
|
|
78
|
-
});
|
|
79
75
|
const Result_19 = IDL.Variant({
|
|
80
76
|
'ok' : IDL.Tuple(IDL.Text, IDL.Text),
|
|
81
77
|
'err' : IDL.Text,
|
|
@@ -282,304 +278,49 @@ export const idlFactory = ({ IDL }) => {
|
|
|
282
278
|
'ok' : IDL.Opt(TA10FittingsAndContents),
|
|
283
279
|
'err' : IDL.Text,
|
|
284
280
|
});
|
|
285
|
-
const
|
|
286
|
-
'
|
|
287
|
-
'
|
|
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,
|
|
281
|
+
const TA6Disputes = IDL.Record({
|
|
282
|
+
'details' : IDL.Text,
|
|
283
|
+
'disputeType' : IDL.Text,
|
|
540
284
|
});
|
|
541
|
-
const
|
|
542
|
-
'
|
|
543
|
-
'
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
'
|
|
548
|
-
'
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
'
|
|
552
|
-
'
|
|
553
|
-
'
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
'
|
|
557
|
-
'
|
|
558
|
-
'q9_2Contributions' : TA6Response,
|
|
559
|
-
'q9_6Disagreements' : TA6Response,
|
|
285
|
+
const TA6Notices = IDL.Record({
|
|
286
|
+
'noticeType' : IDL.Text,
|
|
287
|
+
'details' : IDL.Text,
|
|
288
|
+
});
|
|
289
|
+
const TA6Alterations = IDL.Record({
|
|
290
|
+
'hasAlterations' : IDL.Bool,
|
|
291
|
+
'requiresPermission' : IDL.Bool,
|
|
292
|
+
'details' : IDL.Text,
|
|
293
|
+
});
|
|
294
|
+
const TA6EstateManagement = IDL.Record({
|
|
295
|
+
'isManaged' : IDL.Bool,
|
|
296
|
+
'annualCharge' : IDL.Nat,
|
|
297
|
+
'managementCompany' : IDL.Text,
|
|
298
|
+
});
|
|
299
|
+
const TA6BoundaryDisputes = IDL.Record({
|
|
300
|
+
'details' : IDL.Text,
|
|
301
|
+
'hasDisputes' : IDL.Bool,
|
|
560
302
|
});
|
|
561
303
|
const TA6PropertyInformation = IDL.Record({
|
|
562
304
|
'completedAt' : IDL.Opt(IDL.Int),
|
|
563
305
|
'completedBy' : IDL.Principal,
|
|
564
|
-
'
|
|
565
|
-
'
|
|
566
|
-
'
|
|
567
|
-
'
|
|
568
|
-
'
|
|
569
|
-
'
|
|
570
|
-
'
|
|
571
|
-
'
|
|
306
|
+
'disputes' : IDL.Opt(TA6Disputes),
|
|
307
|
+
'boundaries' : IDL.Text,
|
|
308
|
+
'otherInformation' : IDL.Text,
|
|
309
|
+
'notices' : IDL.Opt(TA6Notices),
|
|
310
|
+
'environmentalDetails' : IDL.Text,
|
|
311
|
+
'guarantees' : IDL.Text,
|
|
312
|
+
'insurance' : IDL.Text,
|
|
313
|
+
'alterations' : IDL.Opt(TA6Alterations),
|
|
314
|
+
'estateManagement' : IDL.Opt(TA6EstateManagement),
|
|
315
|
+
'environmentalIssues' : IDL.Vec(IDL.Text),
|
|
316
|
+
'boundaryDisputes' : IDL.Opt(TA6BoundaryDisputes),
|
|
572
317
|
'lastModifiedAt' : IDL.Int,
|
|
573
318
|
'lastModifiedBy' : IDL.Principal,
|
|
574
|
-
'
|
|
575
|
-
'
|
|
576
|
-
'
|
|
577
|
-
'
|
|
578
|
-
'
|
|
579
|
-
'section6' : Section6Guarantees,
|
|
580
|
-
'section7' : Section7Insurance,
|
|
581
|
-
'section8' : Section8Environmental,
|
|
582
|
-
'section9' : Section9Rights,
|
|
319
|
+
'parkingDetails' : IDL.Text,
|
|
320
|
+
'connectionAgreements' : IDL.Text,
|
|
321
|
+
'services' : IDL.Text,
|
|
322
|
+
'rightsAndEasements' : IDL.Text,
|
|
323
|
+
'parkingSpaces' : IDL.Nat,
|
|
583
324
|
});
|
|
584
325
|
const Result_12 = IDL.Variant({
|
|
585
326
|
'ok' : IDL.Opt(TA6PropertyInformation),
|
|
@@ -682,7 +423,6 @@ export const idlFactory = ({ IDL }) => {
|
|
|
682
423
|
[Result_1],
|
|
683
424
|
[],
|
|
684
425
|
),
|
|
685
|
-
'backfillTransactionMembers' : IDL.Func([], [Result_20], []),
|
|
686
426
|
'bootstrapDocumentStorageCanister' : IDL.Func(
|
|
687
427
|
[IDL.Principal],
|
|
688
428
|
[Result],
|