@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
|
@@ -6,18 +6,6 @@ export type AMLStatus = { 'verified' : null } |
|
|
|
6
6
|
{ 'pending' : null } |
|
|
7
7
|
{ 'rejected' : null } |
|
|
8
8
|
{ 'not_started' : null };
|
|
9
|
-
export interface AlterationTypes {
|
|
10
|
-
'conservatory' : boolean,
|
|
11
|
-
'otherDetails' : [] | [string],
|
|
12
|
-
'other' : boolean,
|
|
13
|
-
'changeOfUse' : boolean,
|
|
14
|
-
'structuralRoofWorks' : boolean,
|
|
15
|
-
'windowsPost2002' : boolean,
|
|
16
|
-
'internalWallsRemoved' : boolean,
|
|
17
|
-
'loftConversion' : boolean,
|
|
18
|
-
'garageConversion' : boolean,
|
|
19
|
-
'extension' : boolean,
|
|
20
|
-
}
|
|
21
9
|
export interface ApplicationStatusUpdate {
|
|
22
10
|
'lastUpdated' : string,
|
|
23
11
|
'applicationReference' : string,
|
|
@@ -26,57 +14,12 @@ export interface ApplicationStatusUpdate {
|
|
|
26
14
|
'currentStatus' : LandRegistryStatus,
|
|
27
15
|
'previousStatus' : LandRegistryStatus,
|
|
28
16
|
}
|
|
29
|
-
export interface Arrangement {
|
|
30
|
-
'description' : string,
|
|
31
|
-
'document' : TA6Document,
|
|
32
|
-
'contributionAmount' : [] | [bigint],
|
|
33
|
-
}
|
|
34
17
|
export interface BotConnection {
|
|
35
18
|
'principal' : Principal,
|
|
36
19
|
'name' : string,
|
|
37
20
|
'addedAt' : bigint,
|
|
38
21
|
'addedBy' : Principal,
|
|
39
22
|
}
|
|
40
|
-
export interface BoundaryFeature {
|
|
41
|
-
'ownership' : BoundaryOwnership,
|
|
42
|
-
'position' : string,
|
|
43
|
-
}
|
|
44
|
-
export type BoundaryOwnership = { 'NotKnown' : null } |
|
|
45
|
-
{ 'Shared' : null } |
|
|
46
|
-
{ 'OwnedBySeller' : null } |
|
|
47
|
-
{ 'OwnedByNeighbour' : null };
|
|
48
|
-
export interface CompanySeller {
|
|
49
|
-
'countryOfIncorporation' : string,
|
|
50
|
-
'director' : string,
|
|
51
|
-
'companyNumber' : string,
|
|
52
|
-
'companyName' : string,
|
|
53
|
-
}
|
|
54
|
-
export interface CompletionCommitments {
|
|
55
|
-
'removeSellersItems' : TA6Answer,
|
|
56
|
-
'vacantPossession' : TA6Answer,
|
|
57
|
-
'leaveServiceInfo' : TA6Answer,
|
|
58
|
-
}
|
|
59
|
-
export type DischargeType = { 'GroundWater' : null } |
|
|
60
|
-
{ 'SurfaceWater' : null };
|
|
61
|
-
export interface HeatingSystem {
|
|
62
|
-
'certificate' : TA6Document,
|
|
63
|
-
'otherDetails' : [] | [string],
|
|
64
|
-
'installDate' : [] | [string],
|
|
65
|
-
'heatingType' : HeatingType,
|
|
66
|
-
'lastServiceDate' : [] | [string],
|
|
67
|
-
}
|
|
68
|
-
export type HeatingType = { 'Lpg' : null } |
|
|
69
|
-
{ 'Oil' : null } |
|
|
70
|
-
{ 'SolarThermal' : null } |
|
|
71
|
-
{ 'SolidFuel' : null } |
|
|
72
|
-
{ 'DistrictHeating' : null } |
|
|
73
|
-
{ 'Electric' : null } |
|
|
74
|
-
{ 'HeatPumpAir' : null } |
|
|
75
|
-
{ 'Other' : null } |
|
|
76
|
-
{ 'GasCentral' : null } |
|
|
77
|
-
{ 'HeatPumpGround' : null };
|
|
78
|
-
export type Jurisdiction = { 'Wales' : null } |
|
|
79
|
-
{ 'England' : null };
|
|
80
23
|
export interface LandRegistryIntegration {
|
|
81
24
|
'status' : LandRegistryStatus,
|
|
82
25
|
'lastPolledAt' : [] | [bigint],
|
|
@@ -122,13 +65,6 @@ export type LandRegistryStatus = { 'cancelled' : null } |
|
|
|
122
65
|
{ 'official_search_expired' : null } |
|
|
123
66
|
{ 'failed' : null } |
|
|
124
67
|
{ 'registered' : null };
|
|
125
|
-
export interface MainsConnections {
|
|
126
|
-
'gas' : TA6Answer,
|
|
127
|
-
'sewerage' : TA6Answer,
|
|
128
|
-
'electricity' : TA6Answer,
|
|
129
|
-
'water' : TA6Answer,
|
|
130
|
-
'broadband' : TA6Answer,
|
|
131
|
-
}
|
|
132
68
|
export interface NextStepOption {
|
|
133
69
|
'action' : string,
|
|
134
70
|
'displayLabel' : string,
|
|
@@ -154,11 +90,6 @@ export interface Notification {
|
|
|
154
90
|
'uploadedBy' : Principal,
|
|
155
91
|
'transactionId' : string,
|
|
156
92
|
}
|
|
157
|
-
export interface Occupier {
|
|
158
|
-
'age' : [] | [bigint],
|
|
159
|
-
'fullName' : string,
|
|
160
|
-
'consentToSale' : TA6Document,
|
|
161
|
-
}
|
|
162
93
|
export interface OfficialSearchResult {
|
|
163
94
|
'officialCopyTimestamp' : [] | [string],
|
|
164
95
|
'advisoryEntries' : Array<string>,
|
|
@@ -167,13 +98,6 @@ export interface OfficialSearchResult {
|
|
|
167
98
|
'priorityExpiry' : string,
|
|
168
99
|
'certificateRef' : string,
|
|
169
100
|
}
|
|
170
|
-
export type ParkingType = { 'OnRoad' : null } |
|
|
171
|
-
{ 'None' : null } |
|
|
172
|
-
{ 'Permit' : null } |
|
|
173
|
-
{ 'Garage' : null } |
|
|
174
|
-
{ 'Other' : null } |
|
|
175
|
-
{ 'Allocated' : null } |
|
|
176
|
-
{ 'Driveway' : null };
|
|
177
101
|
export interface PartyProgress {
|
|
178
102
|
'completedParties' : bigint,
|
|
179
103
|
'overallProgress' : bigint,
|
|
@@ -234,10 +158,6 @@ export type Result_19 = { 'ok' : [string, string] } |
|
|
|
234
158
|
{ 'err' : string };
|
|
235
159
|
export type Result_2 = { 'ok' : TransactionParty } |
|
|
236
160
|
{ 'err' : string };
|
|
237
|
-
export type Result_20 = {
|
|
238
|
-
'ok' : { 'registrations' : bigint, 'transactions' : bigint }
|
|
239
|
-
} |
|
|
240
|
-
{ 'err' : string };
|
|
241
161
|
export type Result_3 = { 'ok' : OfficialSearchResult } |
|
|
242
162
|
{ 'err' : string };
|
|
243
163
|
export type Result_4 = { 'ok' : ApplicationStatusUpdate } |
|
|
@@ -257,172 +177,6 @@ export type Result_8 = { 'ok' : Array<Notification> } |
|
|
|
257
177
|
{ 'err' : string };
|
|
258
178
|
export type Result_9 = { 'ok' : Array<Transaction> } |
|
|
259
179
|
{ 'err' : string };
|
|
260
|
-
export interface Right {
|
|
261
|
-
'overProperty' : [] | [string],
|
|
262
|
-
'description' : string,
|
|
263
|
-
}
|
|
264
|
-
export interface Section10Parking {
|
|
265
|
-
'q10_3InstallConsent' : TA6Document,
|
|
266
|
-
'q10_1Details' : [] | [string],
|
|
267
|
-
'q10_1Arrangements' : Array<ParkingType>,
|
|
268
|
-
'q10_2PermitRequired' : TA6Response,
|
|
269
|
-
'q10_3EvChargingPoint' : TA6Response,
|
|
270
|
-
}
|
|
271
|
-
export interface Section11Services {
|
|
272
|
-
'q11_2Document' : TA6Document,
|
|
273
|
-
'q11_4HeatingSystems' : Array<HeatingSystem>,
|
|
274
|
-
'q11_5MainsConnections' : MainsConnections,
|
|
275
|
-
'q11_3Date' : [] | [string],
|
|
276
|
-
'q11_3Eicr' : TA6Answer,
|
|
277
|
-
'q11_6SewerageSource' : SewerageSource,
|
|
278
|
-
'q11_1ElectricalWorks' : TA6Response,
|
|
279
|
-
'q11_2ElectricalCertificates' : TA6Answer,
|
|
280
|
-
'q11_3Report' : TA6Document,
|
|
281
|
-
'q11_7SewerageSystem' : [] | [SewerageSystem],
|
|
282
|
-
}
|
|
283
|
-
export interface Section12Connections {
|
|
284
|
-
'q12_1Connections' : TA6Response,
|
|
285
|
-
'q12_1Documents' : Array<TA6Document>,
|
|
286
|
-
}
|
|
287
|
-
export interface Section13Transaction {
|
|
288
|
-
'q13_4OtherOccupiers17Plus' : TA6Response,
|
|
289
|
-
'q13_5' : TA6Response,
|
|
290
|
-
'q13_6' : TA6Response,
|
|
291
|
-
'q13_1DependentPurchase' : TA6Response,
|
|
292
|
-
'q13_7Occupiers' : Array<Occupier>,
|
|
293
|
-
'q13_3SellerLivesAtProperty' : TA6Answer,
|
|
294
|
-
'q13_2MovingDateRequirements' : TA6Response,
|
|
295
|
-
}
|
|
296
|
-
export interface Section14Completion {
|
|
297
|
-
'q14_2Commitments' : CompletionCommitments,
|
|
298
|
-
'q14_1ProceedsClearCharges' : TA6Response,
|
|
299
|
-
}
|
|
300
|
-
export interface Section15AdditionalInfo {
|
|
301
|
-
'additionalNotes' : [] | [string],
|
|
302
|
-
'q15_1ConsentsAttached' : Array<TA6Document>,
|
|
303
|
-
'consentsNotAvailableList' : [] | [string],
|
|
304
|
-
'consentsToFollowList' : [] | [string],
|
|
305
|
-
'consentsAttachedList' : [] | [string],
|
|
306
|
-
}
|
|
307
|
-
export interface Section1PropertyAndSeller {
|
|
308
|
-
'postcode' : string,
|
|
309
|
-
'uprn' : [] | [string],
|
|
310
|
-
'solicitor' : SolicitorContact,
|
|
311
|
-
'propertyAddress' : string,
|
|
312
|
-
'sellers' : Array<SellerParty>,
|
|
313
|
-
'sellerCompany' : [] | [CompanySeller],
|
|
314
|
-
}
|
|
315
|
-
export interface Section2Boundaries {
|
|
316
|
-
'q2_3MovedOrAltered' : TA6Response,
|
|
317
|
-
'q2_2IrregularDescription' : [] | [string],
|
|
318
|
-
'q2_1Features' : Array<BoundaryFeature>,
|
|
319
|
-
}
|
|
320
|
-
export interface Section3Disputes {
|
|
321
|
-
'q3_2PotentialDisputes' : TA6Response,
|
|
322
|
-
'q3_1ExistingDisputes' : TA6Response,
|
|
323
|
-
}
|
|
324
|
-
export interface Section4Notices {
|
|
325
|
-
'q4_2NearbyDevelopment' : TA6Response,
|
|
326
|
-
'q4_1NoticesReceived' : TA6Response,
|
|
327
|
-
'q4_3NearbyUseChange' : TA6Response,
|
|
328
|
-
}
|
|
329
|
-
export interface Section5Alterations {
|
|
330
|
-
'q5_6Solar' : [] | [SolarPower],
|
|
331
|
-
'q5_3NonResidentialUse' : TA6Response,
|
|
332
|
-
'q5_8ConservationArea' : TA6Response,
|
|
333
|
-
'q5_9TreePreservationOrder' : TA6Response,
|
|
334
|
-
'q5_2Documents' : Array<TA6Document>,
|
|
335
|
-
'q5_4Breaches' : TA6Response,
|
|
336
|
-
'q5_5UnresolvedIssues' : TA6Response,
|
|
337
|
-
'q5_1Alterations' : AlterationTypes,
|
|
338
|
-
'q5_7ListedBuilding' : TA6Response,
|
|
339
|
-
}
|
|
340
|
-
export interface Section6Guarantees {
|
|
341
|
-
'q6_1CentralHeating' : WarrantyItem,
|
|
342
|
-
'q6_3Breaches' : TA6Response,
|
|
343
|
-
'q6_1DampProofing' : WarrantyItem,
|
|
344
|
-
'q6_1Roofing' : WarrantyItem,
|
|
345
|
-
'q6_1NewHomeWarranty' : WarrantyItem,
|
|
346
|
-
'q6_1ElectricalWork' : WarrantyItem,
|
|
347
|
-
'q6_1WindowsDoors' : WarrantyItem,
|
|
348
|
-
'q6_1Underpinning' : WarrantyItem,
|
|
349
|
-
'q6_1TimberTreatment' : WarrantyItem,
|
|
350
|
-
'q6_1OtherDetails' : [] | [string],
|
|
351
|
-
'q6_2Claims' : TA6Response,
|
|
352
|
-
'q6_1Other' : WarrantyItem,
|
|
353
|
-
}
|
|
354
|
-
export interface Section7Insurance {
|
|
355
|
-
'q7_2DifficultOrSpecialConditions' : TA6Response,
|
|
356
|
-
'q7_1DoYouInsure' : TA6Answer,
|
|
357
|
-
'q7_1WhoInsuresIfNot' : [] | [string],
|
|
358
|
-
'q7_3Claims' : TA6Response,
|
|
359
|
-
}
|
|
360
|
-
export interface Section8Environmental {
|
|
361
|
-
'q8_5GreenDeal' : TA6Response,
|
|
362
|
-
'q8_6JapaneseKnotweed' : TA6Response,
|
|
363
|
-
'q8_5CurrentBill' : TA6Document,
|
|
364
|
-
'q8_7SurveyDocument' : TA6Document,
|
|
365
|
-
'q8_3RadonTest' : TA6Response,
|
|
366
|
-
'q8_4RadonMeasures' : TA6Response,
|
|
367
|
-
'q8_7KnotweedSurvey' : TA6Answer,
|
|
368
|
-
'q8_1Flooded' : TA6Response,
|
|
369
|
-
'q8_2FloodDefences' : TA6Response,
|
|
370
|
-
}
|
|
371
|
-
export interface Section9Rights {
|
|
372
|
-
'q9_4Rights' : Array<Right>,
|
|
373
|
-
'q9_9Arrangement' : [] | [Arrangement],
|
|
374
|
-
'q9_1RightsExercised' : TA6Response,
|
|
375
|
-
'q9_4OthersRights' : TA6Response,
|
|
376
|
-
'q9_2Amount' : [] | [bigint],
|
|
377
|
-
'q9_8LeadingToOthers' : TA6Response,
|
|
378
|
-
'q9_7CrossingOtherProperty' : TA6Response,
|
|
379
|
-
'q9_5ContributionsReceived' : TA6Response,
|
|
380
|
-
'q9_1Rights' : Array<Right>,
|
|
381
|
-
'q9_3Disagreements' : TA6Response,
|
|
382
|
-
'q9_5Amount' : [] | [bigint],
|
|
383
|
-
'q9_2Contributions' : TA6Response,
|
|
384
|
-
'q9_6Disagreements' : TA6Response,
|
|
385
|
-
}
|
|
386
|
-
export interface SellerParty {
|
|
387
|
-
'role' : SellerRole,
|
|
388
|
-
'fullName' : string,
|
|
389
|
-
'ownershipOrAuthorityDate' : [] | [string],
|
|
390
|
-
}
|
|
391
|
-
export type SellerRole = { 'Administrator' : null } |
|
|
392
|
-
{ 'Executor' : null } |
|
|
393
|
-
{ 'Seller' : null } |
|
|
394
|
-
{ 'Trustee' : null } |
|
|
395
|
-
{ 'Attorney' : null };
|
|
396
|
-
export type SewerageSource = { 'SewageTreatmentPlant' : null } |
|
|
397
|
-
{ 'Mains' : null } |
|
|
398
|
-
{ 'SepticTank' : null } |
|
|
399
|
-
{ 'Other' : null } |
|
|
400
|
-
{ 'Cesspool' : null };
|
|
401
|
-
export interface SewerageSystem {
|
|
402
|
-
'otherDetails' : [] | [string],
|
|
403
|
-
'source' : SewerageSource,
|
|
404
|
-
'infiltrationSystem' : TA6Answer,
|
|
405
|
-
'lastServiceDate' : [] | [string],
|
|
406
|
-
'regulationCompliant' : TA6Answer,
|
|
407
|
-
'location' : [] | [string],
|
|
408
|
-
'dischargeType' : [] | [DischargeType],
|
|
409
|
-
}
|
|
410
|
-
export interface SolarPower {
|
|
411
|
-
'supplyAgreement' : TA6Document,
|
|
412
|
-
'ownedOutright' : [] | [boolean],
|
|
413
|
-
'mcsCertificate' : TA6Document,
|
|
414
|
-
'installDate' : [] | [string],
|
|
415
|
-
'electricityBill' : TA6Document,
|
|
416
|
-
'fitOrSegAgreement' : TA6Document,
|
|
417
|
-
}
|
|
418
|
-
export interface SolicitorContact {
|
|
419
|
-
'postcode' : string,
|
|
420
|
-
'contactName' : string,
|
|
421
|
-
'firmName' : string,
|
|
422
|
-
'email' : [] | [string],
|
|
423
|
-
'address' : string,
|
|
424
|
-
'phone' : [] | [string],
|
|
425
|
-
}
|
|
426
180
|
export interface SolicitorRecord {
|
|
427
181
|
'consentRecordedAt' : Time,
|
|
428
182
|
'tasks' : Array<SolicitorTask>,
|
|
@@ -473,38 +227,44 @@ export interface TA10Room {
|
|
|
473
227
|
'fittings' : Array<TA10FittingItem>,
|
|
474
228
|
'roomName' : string,
|
|
475
229
|
}
|
|
476
|
-
export
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
230
|
+
export interface TA6Alterations {
|
|
231
|
+
'hasAlterations' : boolean,
|
|
232
|
+
'requiresPermission' : boolean,
|
|
233
|
+
'details' : string,
|
|
234
|
+
}
|
|
235
|
+
export interface TA6BoundaryDisputes {
|
|
236
|
+
'details' : string,
|
|
237
|
+
'hasDisputes' : boolean,
|
|
238
|
+
}
|
|
239
|
+
export interface TA6Disputes { 'details' : string, 'disputeType' : string }
|
|
240
|
+
export interface TA6EstateManagement {
|
|
241
|
+
'isManaged' : boolean,
|
|
242
|
+
'annualCharge' : bigint,
|
|
243
|
+
'managementCompany' : string,
|
|
244
|
+
}
|
|
245
|
+
export interface TA6Notices { 'noticeType' : string, 'details' : string }
|
|
484
246
|
export interface TA6PropertyInformation {
|
|
485
247
|
'completedAt' : [] | [bigint],
|
|
486
248
|
'completedBy' : Principal,
|
|
487
|
-
'
|
|
488
|
-
'
|
|
489
|
-
'
|
|
490
|
-
'
|
|
491
|
-
'
|
|
492
|
-
'
|
|
493
|
-
'
|
|
494
|
-
'
|
|
249
|
+
'disputes' : [] | [TA6Disputes],
|
|
250
|
+
'boundaries' : string,
|
|
251
|
+
'otherInformation' : string,
|
|
252
|
+
'notices' : [] | [TA6Notices],
|
|
253
|
+
'environmentalDetails' : string,
|
|
254
|
+
'guarantees' : string,
|
|
255
|
+
'insurance' : string,
|
|
256
|
+
'alterations' : [] | [TA6Alterations],
|
|
257
|
+
'estateManagement' : [] | [TA6EstateManagement],
|
|
258
|
+
'environmentalIssues' : Array<string>,
|
|
259
|
+
'boundaryDisputes' : [] | [TA6BoundaryDisputes],
|
|
495
260
|
'lastModifiedAt' : bigint,
|
|
496
261
|
'lastModifiedBy' : Principal,
|
|
497
|
-
'
|
|
498
|
-
'
|
|
499
|
-
'
|
|
500
|
-
'
|
|
501
|
-
'
|
|
502
|
-
'section6' : Section6Guarantees,
|
|
503
|
-
'section7' : Section7Insurance,
|
|
504
|
-
'section8' : Section8Environmental,
|
|
505
|
-
'section9' : Section9Rights,
|
|
262
|
+
'parkingDetails' : string,
|
|
263
|
+
'connectionAgreements' : string,
|
|
264
|
+
'services' : string,
|
|
265
|
+
'rightsAndEasements' : string,
|
|
266
|
+
'parkingSpaces' : bigint,
|
|
506
267
|
}
|
|
507
|
-
export interface TA6Response { 'answer' : TA6Answer, 'details' : [] | [string] }
|
|
508
268
|
export interface TA7LeaseholdInformation {
|
|
509
269
|
'completedAt' : [] | [bigint],
|
|
510
270
|
'completedBy' : Principal,
|
|
@@ -614,17 +374,12 @@ export interface TransactionTimeline {
|
|
|
614
374
|
export type Urgency = { 'blocking' : null } |
|
|
615
375
|
{ 'soon' : null } |
|
|
616
376
|
{ 'later' : null };
|
|
617
|
-
export interface WarrantyItem {
|
|
618
|
-
'present' : TA6Answer,
|
|
619
|
-
'document' : TA6Document,
|
|
620
|
-
}
|
|
621
377
|
export interface _SERVICE {
|
|
622
378
|
'addParty' : ActorMethod<[string, string, string, string, boolean], Result_2>,
|
|
623
379
|
'adminForceDeleteTransaction' : ActorMethod<[string], Result>,
|
|
624
380
|
'assignBuyer' : ActorMethod<[string, Principal], Result>,
|
|
625
381
|
'assignSolicitor' : ActorMethod<[string, Principal], Result>,
|
|
626
382
|
'assignSolicitorRecord' : ActorMethod<[string, SolicitorRecord], Result_1>,
|
|
627
|
-
'backfillTransactionMembers' : ActorMethod<[], Result_20>,
|
|
628
383
|
'bootstrapDocumentStorageCanister' : ActorMethod<[Principal], Result>,
|
|
629
384
|
'canAccessTransaction' : ActorMethod<[string], boolean>,
|
|
630
385
|
'connectBot' : ActorMethod<[string, Principal, string], Result_1>,
|