@propxchain/core-client 0.3.0-canary.23 → 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/dist/canisters/transaction_manager/transaction_manager.did.d.ts.map +1 -1
- package/dist/canisters/transaction_manager/transaction_manager.did.js +296 -36
- package/dist/canisters/transaction_manager/transaction_manager.did.js.map +1 -1
- package/package.json +1 -1
- package/src/canisters/transaction_manager/transaction_manager.did +340 -42
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +277 -32
- package/src/canisters/transaction_manager/transaction_manager.did.js +296 -36
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
type WarrantyItem =
|
|
2
|
+
record {
|
|
3
|
+
document: TA6Document;
|
|
4
|
+
present: TA6Answer;
|
|
5
|
+
};
|
|
1
6
|
type Urgency =
|
|
2
7
|
variant {
|
|
3
8
|
blocking;
|
|
@@ -121,55 +126,48 @@ type TA7LeaseholdInformation =
|
|
|
121
126
|
serviceChargePaymentFrequency: text;
|
|
122
127
|
sublettingAllowed: bool;
|
|
123
128
|
};
|
|
129
|
+
type TA6Response =
|
|
130
|
+
record {
|
|
131
|
+
answer: TA6Answer;
|
|
132
|
+
details: opt text;
|
|
133
|
+
};
|
|
124
134
|
type TA6PropertyInformation =
|
|
125
135
|
record {
|
|
126
|
-
alterations: opt TA6Alterations;
|
|
127
|
-
boundaries: text;
|
|
128
|
-
boundaryDisputes: opt TA6BoundaryDisputes;
|
|
129
136
|
completedAt: opt int;
|
|
130
137
|
completedBy: principal;
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
environmentalDetails: text;
|
|
134
|
-
environmentalIssues: vec text;
|
|
135
|
-
estateManagement: opt TA6EstateManagement;
|
|
136
|
-
guarantees: text;
|
|
137
|
-
insurance: text;
|
|
138
|
+
formVersion: text;
|
|
139
|
+
jurisdiction: Jurisdiction;
|
|
138
140
|
lastModifiedAt: int;
|
|
139
141
|
lastModifiedBy: principal;
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
};
|
|
163
|
-
type TA6BoundaryDisputes =
|
|
164
|
-
record {
|
|
165
|
-
details: text;
|
|
166
|
-
hasDisputes: bool;
|
|
142
|
+
section1: Section1PropertyAndSeller;
|
|
143
|
+
section10: Section10Parking;
|
|
144
|
+
section11: Section11Services;
|
|
145
|
+
section12: Section12Connections;
|
|
146
|
+
section13: Section13Transaction;
|
|
147
|
+
section14: Section14Completion;
|
|
148
|
+
section15: Section15AdditionalInfo;
|
|
149
|
+
section2: Section2Boundaries;
|
|
150
|
+
section3: Section3Disputes;
|
|
151
|
+
section4: Section4Notices;
|
|
152
|
+
section5: Section5Alterations;
|
|
153
|
+
section6: Section6Guarantees;
|
|
154
|
+
section7: Section7Insurance;
|
|
155
|
+
section8: Section8Environmental;
|
|
156
|
+
section9: Section9Rights;
|
|
157
|
+
};
|
|
158
|
+
type TA6Document =
|
|
159
|
+
variant {
|
|
160
|
+
Attached: nat;
|
|
161
|
+
NotApplicable;
|
|
162
|
+
NotAvailable;
|
|
163
|
+
ToFollow;
|
|
167
164
|
};
|
|
168
|
-
type
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
165
|
+
type TA6Answer =
|
|
166
|
+
variant {
|
|
167
|
+
No;
|
|
168
|
+
NotApplicable;
|
|
169
|
+
NotKnown;
|
|
170
|
+
Yes;
|
|
173
171
|
};
|
|
174
172
|
type TA10Room =
|
|
175
173
|
record {
|
|
@@ -234,6 +232,198 @@ type SolicitorRecord =
|
|
|
234
232
|
tasks: vec SolicitorTask;
|
|
235
233
|
verified: bool;
|
|
236
234
|
};
|
|
235
|
+
type SolicitorContact =
|
|
236
|
+
record {
|
|
237
|
+
address: text;
|
|
238
|
+
contactName: text;
|
|
239
|
+
email: opt text;
|
|
240
|
+
firmName: text;
|
|
241
|
+
phone: opt text;
|
|
242
|
+
postcode: text;
|
|
243
|
+
};
|
|
244
|
+
type SolarPower =
|
|
245
|
+
record {
|
|
246
|
+
electricityBill: TA6Document;
|
|
247
|
+
fitOrSegAgreement: TA6Document;
|
|
248
|
+
installDate: opt text;
|
|
249
|
+
mcsCertificate: TA6Document;
|
|
250
|
+
ownedOutright: opt bool;
|
|
251
|
+
supplyAgreement: TA6Document;
|
|
252
|
+
};
|
|
253
|
+
type SewerageSystem =
|
|
254
|
+
record {
|
|
255
|
+
dischargeType: opt DischargeType;
|
|
256
|
+
infiltrationSystem: TA6Answer;
|
|
257
|
+
lastServiceDate: opt text;
|
|
258
|
+
location: opt text;
|
|
259
|
+
otherDetails: opt text;
|
|
260
|
+
regulationCompliant: TA6Answer;
|
|
261
|
+
source: SewerageSource;
|
|
262
|
+
};
|
|
263
|
+
type SewerageSource =
|
|
264
|
+
variant {
|
|
265
|
+
Cesspool;
|
|
266
|
+
Mains;
|
|
267
|
+
Other;
|
|
268
|
+
SepticTank;
|
|
269
|
+
SewageTreatmentPlant;
|
|
270
|
+
};
|
|
271
|
+
type SellerRole =
|
|
272
|
+
variant {
|
|
273
|
+
Administrator;
|
|
274
|
+
Attorney;
|
|
275
|
+
Executor;
|
|
276
|
+
Seller;
|
|
277
|
+
Trustee;
|
|
278
|
+
};
|
|
279
|
+
type SellerParty =
|
|
280
|
+
record {
|
|
281
|
+
fullName: text;
|
|
282
|
+
ownershipOrAuthorityDate: opt text;
|
|
283
|
+
role: SellerRole;
|
|
284
|
+
};
|
|
285
|
+
type Section9Rights =
|
|
286
|
+
record {
|
|
287
|
+
q9_1Rights: vec Right;
|
|
288
|
+
q9_1RightsExercised: TA6Response;
|
|
289
|
+
q9_2Amount: opt nat;
|
|
290
|
+
q9_2Contributions: TA6Response;
|
|
291
|
+
q9_3Disagreements: TA6Response;
|
|
292
|
+
q9_4OthersRights: TA6Response;
|
|
293
|
+
q9_4Rights: vec Right;
|
|
294
|
+
q9_5Amount: opt nat;
|
|
295
|
+
q9_5ContributionsReceived: TA6Response;
|
|
296
|
+
q9_6Disagreements: TA6Response;
|
|
297
|
+
q9_7CrossingOtherProperty: TA6Response;
|
|
298
|
+
q9_8LeadingToOthers: TA6Response;
|
|
299
|
+
q9_9Arrangement: opt Arrangement;
|
|
300
|
+
};
|
|
301
|
+
type Section8Environmental =
|
|
302
|
+
record {
|
|
303
|
+
q8_1Flooded: TA6Response;
|
|
304
|
+
q8_2FloodDefences: TA6Response;
|
|
305
|
+
q8_3RadonTest: TA6Response;
|
|
306
|
+
q8_4RadonMeasures: TA6Response;
|
|
307
|
+
q8_5CurrentBill: TA6Document;
|
|
308
|
+
q8_5GreenDeal: TA6Response;
|
|
309
|
+
q8_6JapaneseKnotweed: TA6Response;
|
|
310
|
+
q8_7KnotweedSurvey: TA6Answer;
|
|
311
|
+
q8_7SurveyDocument: TA6Document;
|
|
312
|
+
};
|
|
313
|
+
type Section7Insurance =
|
|
314
|
+
record {
|
|
315
|
+
q7_1DoYouInsure: TA6Answer;
|
|
316
|
+
q7_1WhoInsuresIfNot: opt text;
|
|
317
|
+
q7_2DifficultOrSpecialConditions: TA6Response;
|
|
318
|
+
q7_3Claims: TA6Response;
|
|
319
|
+
};
|
|
320
|
+
type Section6Guarantees =
|
|
321
|
+
record {
|
|
322
|
+
q6_1CentralHeating: WarrantyItem;
|
|
323
|
+
q6_1DampProofing: WarrantyItem;
|
|
324
|
+
q6_1ElectricalWork: WarrantyItem;
|
|
325
|
+
q6_1NewHomeWarranty: WarrantyItem;
|
|
326
|
+
q6_1Other: WarrantyItem;
|
|
327
|
+
q6_1OtherDetails: opt text;
|
|
328
|
+
q6_1Roofing: WarrantyItem;
|
|
329
|
+
q6_1TimberTreatment: WarrantyItem;
|
|
330
|
+
q6_1Underpinning: WarrantyItem;
|
|
331
|
+
q6_1WindowsDoors: WarrantyItem;
|
|
332
|
+
q6_2Claims: TA6Response;
|
|
333
|
+
q6_3Breaches: TA6Response;
|
|
334
|
+
};
|
|
335
|
+
type Section5Alterations =
|
|
336
|
+
record {
|
|
337
|
+
q5_1Alterations: AlterationTypes;
|
|
338
|
+
q5_2Documents: vec TA6Document;
|
|
339
|
+
q5_3NonResidentialUse: TA6Response;
|
|
340
|
+
q5_4Breaches: TA6Response;
|
|
341
|
+
q5_5UnresolvedIssues: TA6Response;
|
|
342
|
+
q5_6Solar: opt SolarPower;
|
|
343
|
+
q5_7ListedBuilding: TA6Response;
|
|
344
|
+
q5_8ConservationArea: TA6Response;
|
|
345
|
+
q5_9TreePreservationOrder: TA6Response;
|
|
346
|
+
};
|
|
347
|
+
type Section4Notices =
|
|
348
|
+
record {
|
|
349
|
+
q4_1NoticesReceived: TA6Response;
|
|
350
|
+
q4_2NearbyDevelopment: TA6Response;
|
|
351
|
+
q4_3NearbyUseChange: TA6Response;
|
|
352
|
+
};
|
|
353
|
+
type Section3Disputes =
|
|
354
|
+
record {
|
|
355
|
+
q3_1ExistingDisputes: TA6Response;
|
|
356
|
+
q3_2PotentialDisputes: TA6Response;
|
|
357
|
+
};
|
|
358
|
+
type Section2Boundaries =
|
|
359
|
+
record {
|
|
360
|
+
q2_1Features: vec BoundaryFeature;
|
|
361
|
+
q2_2IrregularDescription: opt text;
|
|
362
|
+
q2_3MovedOrAltered: TA6Response;
|
|
363
|
+
};
|
|
364
|
+
type Section1PropertyAndSeller =
|
|
365
|
+
record {
|
|
366
|
+
postcode: text;
|
|
367
|
+
propertyAddress: text;
|
|
368
|
+
sellerCompany: opt CompanySeller;
|
|
369
|
+
sellers: vec SellerParty;
|
|
370
|
+
solicitor: SolicitorContact;
|
|
371
|
+
uprn: opt text;
|
|
372
|
+
};
|
|
373
|
+
type Section15AdditionalInfo =
|
|
374
|
+
record {
|
|
375
|
+
additionalNotes: opt text;
|
|
376
|
+
consentsAttachedList: opt text;
|
|
377
|
+
consentsNotAvailableList: opt text;
|
|
378
|
+
consentsToFollowList: opt text;
|
|
379
|
+
q15_1ConsentsAttached: vec TA6Document;
|
|
380
|
+
};
|
|
381
|
+
type Section14Completion =
|
|
382
|
+
record {
|
|
383
|
+
q14_1ProceedsClearCharges: TA6Response;
|
|
384
|
+
q14_2Commitments: CompletionCommitments;
|
|
385
|
+
};
|
|
386
|
+
type Section13Transaction =
|
|
387
|
+
record {
|
|
388
|
+
q13_1DependentPurchase: TA6Response;
|
|
389
|
+
q13_2MovingDateRequirements: TA6Response;
|
|
390
|
+
q13_3SellerLivesAtProperty: TA6Answer;
|
|
391
|
+
q13_4OtherOccupiers17Plus: TA6Response;
|
|
392
|
+
q13_5: TA6Response;
|
|
393
|
+
q13_6: TA6Response;
|
|
394
|
+
q13_7Occupiers: vec Occupier;
|
|
395
|
+
};
|
|
396
|
+
type Section12Connections =
|
|
397
|
+
record {
|
|
398
|
+
q12_1Connections: TA6Response;
|
|
399
|
+
q12_1Documents: vec TA6Document;
|
|
400
|
+
};
|
|
401
|
+
type Section11Services =
|
|
402
|
+
record {
|
|
403
|
+
q11_1ElectricalWorks: TA6Response;
|
|
404
|
+
q11_2Document: TA6Document;
|
|
405
|
+
q11_2ElectricalCertificates: TA6Answer;
|
|
406
|
+
q11_3Date: opt text;
|
|
407
|
+
q11_3Eicr: TA6Answer;
|
|
408
|
+
q11_3Report: TA6Document;
|
|
409
|
+
q11_4HeatingSystems: vec HeatingSystem;
|
|
410
|
+
q11_5MainsConnections: MainsConnections;
|
|
411
|
+
q11_6SewerageSource: SewerageSource;
|
|
412
|
+
q11_7SewerageSystem: opt SewerageSystem;
|
|
413
|
+
};
|
|
414
|
+
type Section10Parking =
|
|
415
|
+
record {
|
|
416
|
+
q10_1Arrangements: vec ParkingType;
|
|
417
|
+
q10_1Details: opt text;
|
|
418
|
+
q10_2PermitRequired: TA6Response;
|
|
419
|
+
q10_3EvChargingPoint: TA6Response;
|
|
420
|
+
q10_3InstallConsent: TA6Document;
|
|
421
|
+
};
|
|
422
|
+
type Right =
|
|
423
|
+
record {
|
|
424
|
+
description: text;
|
|
425
|
+
overProperty: opt text;
|
|
426
|
+
};
|
|
237
427
|
type Result_9 =
|
|
238
428
|
variant {
|
|
239
429
|
err: text;
|
|
@@ -272,6 +462,14 @@ type Result_3 =
|
|
|
272
462
|
err: text;
|
|
273
463
|
ok: OfficialSearchResult;
|
|
274
464
|
};
|
|
465
|
+
type Result_20 =
|
|
466
|
+
variant {
|
|
467
|
+
err: text;
|
|
468
|
+
ok: record {
|
|
469
|
+
registrations: nat;
|
|
470
|
+
transactions: nat;
|
|
471
|
+
};
|
|
472
|
+
};
|
|
275
473
|
type Result_2 =
|
|
276
474
|
variant {
|
|
277
475
|
err: text;
|
|
@@ -382,6 +580,16 @@ type PartyProgress =
|
|
|
382
580
|
parties: vec TransactionParty;
|
|
383
581
|
totalParties: nat;
|
|
384
582
|
};
|
|
583
|
+
type ParkingType =
|
|
584
|
+
variant {
|
|
585
|
+
Allocated;
|
|
586
|
+
Driveway;
|
|
587
|
+
Garage;
|
|
588
|
+
None;
|
|
589
|
+
OnRoad;
|
|
590
|
+
Other;
|
|
591
|
+
Permit;
|
|
592
|
+
};
|
|
385
593
|
type OfficialSearchResult =
|
|
386
594
|
record {
|
|
387
595
|
advisoryEntries: vec text;
|
|
@@ -391,6 +599,12 @@ type OfficialSearchResult =
|
|
|
391
599
|
priorityExpiry: text;
|
|
392
600
|
registerChanged: bool;
|
|
393
601
|
};
|
|
602
|
+
type Occupier =
|
|
603
|
+
record {
|
|
604
|
+
age: opt nat;
|
|
605
|
+
consentToSale: TA6Document;
|
|
606
|
+
fullName: text;
|
|
607
|
+
};
|
|
394
608
|
type Notification =
|
|
395
609
|
record {
|
|
396
610
|
createdAt: Time;
|
|
@@ -419,6 +633,14 @@ type NextStepOption =
|
|
|
419
633
|
estimatedDelayIfSkipped: opt nat;
|
|
420
634
|
whyThis: text;
|
|
421
635
|
};
|
|
636
|
+
type MainsConnections =
|
|
637
|
+
record {
|
|
638
|
+
broadband: TA6Answer;
|
|
639
|
+
electricity: TA6Answer;
|
|
640
|
+
gas: TA6Answer;
|
|
641
|
+
sewerage: TA6Answer;
|
|
642
|
+
water: TA6Answer;
|
|
643
|
+
};
|
|
422
644
|
type LandRegistryStatus =
|
|
423
645
|
variant {
|
|
424
646
|
application_received;
|
|
@@ -468,6 +690,62 @@ type LandRegistryIntegration =
|
|
|
468
690
|
submittedToLRAt: opt int;
|
|
469
691
|
totalLRCosts: nat;
|
|
470
692
|
};
|
|
693
|
+
type Jurisdiction =
|
|
694
|
+
variant {
|
|
695
|
+
England;
|
|
696
|
+
Wales;
|
|
697
|
+
};
|
|
698
|
+
type HeatingType =
|
|
699
|
+
variant {
|
|
700
|
+
DistrictHeating;
|
|
701
|
+
Electric;
|
|
702
|
+
GasCentral;
|
|
703
|
+
HeatPumpAir;
|
|
704
|
+
HeatPumpGround;
|
|
705
|
+
Lpg;
|
|
706
|
+
Oil;
|
|
707
|
+
Other;
|
|
708
|
+
SolarThermal;
|
|
709
|
+
SolidFuel;
|
|
710
|
+
};
|
|
711
|
+
type HeatingSystem =
|
|
712
|
+
record {
|
|
713
|
+
certificate: TA6Document;
|
|
714
|
+
heatingType: HeatingType;
|
|
715
|
+
installDate: opt text;
|
|
716
|
+
lastServiceDate: opt text;
|
|
717
|
+
otherDetails: opt text;
|
|
718
|
+
};
|
|
719
|
+
type DischargeType =
|
|
720
|
+
variant {
|
|
721
|
+
GroundWater;
|
|
722
|
+
SurfaceWater;
|
|
723
|
+
};
|
|
724
|
+
type CompletionCommitments =
|
|
725
|
+
record {
|
|
726
|
+
leaveServiceInfo: TA6Answer;
|
|
727
|
+
removeSellersItems: TA6Answer;
|
|
728
|
+
vacantPossession: TA6Answer;
|
|
729
|
+
};
|
|
730
|
+
type CompanySeller =
|
|
731
|
+
record {
|
|
732
|
+
companyName: text;
|
|
733
|
+
companyNumber: text;
|
|
734
|
+
countryOfIncorporation: text;
|
|
735
|
+
director: text;
|
|
736
|
+
};
|
|
737
|
+
type BoundaryOwnership =
|
|
738
|
+
variant {
|
|
739
|
+
NotKnown;
|
|
740
|
+
OwnedByNeighbour;
|
|
741
|
+
OwnedBySeller;
|
|
742
|
+
Shared;
|
|
743
|
+
};
|
|
744
|
+
type BoundaryFeature =
|
|
745
|
+
record {
|
|
746
|
+
ownership: BoundaryOwnership;
|
|
747
|
+
position: text;
|
|
748
|
+
};
|
|
471
749
|
type BotConnection =
|
|
472
750
|
record {
|
|
473
751
|
addedAt: int;
|
|
@@ -475,6 +753,12 @@ type BotConnection =
|
|
|
475
753
|
name: text;
|
|
476
754
|
"principal": principal;
|
|
477
755
|
};
|
|
756
|
+
type Arrangement =
|
|
757
|
+
record {
|
|
758
|
+
contributionAmount: opt nat;
|
|
759
|
+
description: text;
|
|
760
|
+
document: TA6Document;
|
|
761
|
+
};
|
|
478
762
|
type ApplicationStatusUpdate =
|
|
479
763
|
record {
|
|
480
764
|
applicationReference: text;
|
|
@@ -484,6 +768,19 @@ type ApplicationStatusUpdate =
|
|
|
484
768
|
previousStatus: LandRegistryStatus;
|
|
485
769
|
statusChanged: bool;
|
|
486
770
|
};
|
|
771
|
+
type AlterationTypes =
|
|
772
|
+
record {
|
|
773
|
+
changeOfUse: bool;
|
|
774
|
+
conservatory: bool;
|
|
775
|
+
extension: bool;
|
|
776
|
+
garageConversion: bool;
|
|
777
|
+
internalWallsRemoved: bool;
|
|
778
|
+
loftConversion: bool;
|
|
779
|
+
other: bool;
|
|
780
|
+
otherDetails: opt text;
|
|
781
|
+
structuralRoofWorks: bool;
|
|
782
|
+
windowsPost2002: bool;
|
|
783
|
+
};
|
|
487
784
|
type AMLStatus =
|
|
488
785
|
variant {
|
|
489
786
|
not_started;
|
|
@@ -500,6 +797,7 @@ service : {
|
|
|
500
797
|
(Result);
|
|
501
798
|
assignSolicitorRecord: (transactionId: text, solicitorRecord:
|
|
502
799
|
SolicitorRecord) -> (Result_1);
|
|
800
|
+
backfillTransactionMembers: () -> (Result_20);
|
|
503
801
|
bootstrapDocumentStorageCanister: (canisterId: principal) -> (Result);
|
|
504
802
|
canAccessTransaction: (transactionId: text) -> (bool) query;
|
|
505
803
|
connectBot: (transactionId: text, botPrincipal: principal, botName:
|