@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.
@@ -1,8 +1,3 @@
1
- type WarrantyItem =
2
- record {
3
- document: TA6Document;
4
- present: TA6Answer;
5
- };
6
1
  type Urgency =
7
2
  variant {
8
3
  blocking;
@@ -126,48 +121,55 @@ type TA7LeaseholdInformation =
126
121
  serviceChargePaymentFrequency: text;
127
122
  sublettingAllowed: bool;
128
123
  };
129
- type TA6Response =
130
- record {
131
- answer: TA6Answer;
132
- details: opt text;
133
- };
134
124
  type TA6PropertyInformation =
135
125
  record {
126
+ alterations: opt TA6Alterations;
127
+ boundaries: text;
128
+ boundaryDisputes: opt TA6BoundaryDisputes;
136
129
  completedAt: opt int;
137
130
  completedBy: principal;
138
- formVersion: text;
139
- jurisdiction: Jurisdiction;
131
+ connectionAgreements: text;
132
+ disputes: opt TA6Disputes;
133
+ environmentalDetails: text;
134
+ environmentalIssues: vec text;
135
+ estateManagement: opt TA6EstateManagement;
136
+ guarantees: text;
137
+ insurance: text;
140
138
  lastModifiedAt: int;
141
139
  lastModifiedBy: principal;
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;
140
+ notices: opt TA6Notices;
141
+ otherInformation: text;
142
+ parkingDetails: text;
143
+ parkingSpaces: nat;
144
+ rightsAndEasements: text;
145
+ services: text;
164
146
  };
165
- type TA6Answer =
166
- variant {
167
- No;
168
- NotApplicable;
169
- NotKnown;
170
- Yes;
147
+ type TA6Notices =
148
+ record {
149
+ details: text;
150
+ noticeType: text;
151
+ };
152
+ type TA6EstateManagement =
153
+ record {
154
+ annualCharge: nat;
155
+ isManaged: bool;
156
+ managementCompany: text;
157
+ };
158
+ type TA6Disputes =
159
+ record {
160
+ details: text;
161
+ disputeType: text;
162
+ };
163
+ type TA6BoundaryDisputes =
164
+ record {
165
+ details: text;
166
+ hasDisputes: bool;
167
+ };
168
+ type TA6Alterations =
169
+ record {
170
+ details: text;
171
+ hasAlterations: bool;
172
+ requiresPermission: bool;
171
173
  };
172
174
  type TA10Room =
173
175
  record {
@@ -232,198 +234,6 @@ type SolicitorRecord =
232
234
  tasks: vec SolicitorTask;
233
235
  verified: bool;
234
236
  };
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
- };
427
237
  type Result_9 =
428
238
  variant {
429
239
  err: text;
@@ -462,14 +272,6 @@ type Result_3 =
462
272
  err: text;
463
273
  ok: OfficialSearchResult;
464
274
  };
465
- type Result_20 =
466
- variant {
467
- err: text;
468
- ok: record {
469
- registrations: nat;
470
- transactions: nat;
471
- };
472
- };
473
275
  type Result_2 =
474
276
  variant {
475
277
  err: text;
@@ -580,16 +382,6 @@ type PartyProgress =
580
382
  parties: vec TransactionParty;
581
383
  totalParties: nat;
582
384
  };
583
- type ParkingType =
584
- variant {
585
- Allocated;
586
- Driveway;
587
- Garage;
588
- None;
589
- OnRoad;
590
- Other;
591
- Permit;
592
- };
593
385
  type OfficialSearchResult =
594
386
  record {
595
387
  advisoryEntries: vec text;
@@ -599,12 +391,6 @@ type OfficialSearchResult =
599
391
  priorityExpiry: text;
600
392
  registerChanged: bool;
601
393
  };
602
- type Occupier =
603
- record {
604
- age: opt nat;
605
- consentToSale: TA6Document;
606
- fullName: text;
607
- };
608
394
  type Notification =
609
395
  record {
610
396
  createdAt: Time;
@@ -633,14 +419,6 @@ type NextStepOption =
633
419
  estimatedDelayIfSkipped: opt nat;
634
420
  whyThis: text;
635
421
  };
636
- type MainsConnections =
637
- record {
638
- broadband: TA6Answer;
639
- electricity: TA6Answer;
640
- gas: TA6Answer;
641
- sewerage: TA6Answer;
642
- water: TA6Answer;
643
- };
644
422
  type LandRegistryStatus =
645
423
  variant {
646
424
  application_received;
@@ -690,62 +468,6 @@ type LandRegistryIntegration =
690
468
  submittedToLRAt: opt int;
691
469
  totalLRCosts: nat;
692
470
  };
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
- };
749
471
  type BotConnection =
750
472
  record {
751
473
  addedAt: int;
@@ -753,12 +475,6 @@ type BotConnection =
753
475
  name: text;
754
476
  "principal": principal;
755
477
  };
756
- type Arrangement =
757
- record {
758
- contributionAmount: opt nat;
759
- description: text;
760
- document: TA6Document;
761
- };
762
478
  type ApplicationStatusUpdate =
763
479
  record {
764
480
  applicationReference: text;
@@ -768,19 +484,6 @@ type ApplicationStatusUpdate =
768
484
  previousStatus: LandRegistryStatus;
769
485
  statusChanged: bool;
770
486
  };
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
- };
784
487
  type AMLStatus =
785
488
  variant {
786
489
  not_started;
@@ -797,7 +500,6 @@ service : {
797
500
  (Result);
798
501
  assignSolicitorRecord: (transactionId: text, solicitorRecord:
799
502
  SolicitorRecord) -> (Result_1);
800
- backfillTransactionMembers: () -> (Result_20);
801
503
  bootstrapDocumentStorageCanister: (canisterId: principal) -> (Result);
802
504
  canAccessTransaction: (transactionId: text) -> (bool) query;
803
505
  connectBot: (transactionId: text, botPrincipal: principal, botName: