@propxchain/core-client 0.3.0 → 0.5.0-canary.42
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/document_storage/document_storage.did.d.ts +169 -7
- package/dist/canisters/document_storage/document_storage.did.js +237 -148
- package/dist/canisters/document_verification/document_verification.did.d.ts +248 -7
- package/dist/canisters/document_verification/document_verification.did.js +322 -231
- package/dist/canisters/email_service/email_service.did.d.ts +92 -7
- package/dist/canisters/email_service/email_service.did.js +128 -73
- package/dist/canisters/land_registry_integration/land_registry_integration.did.d.ts +227 -7
- package/dist/canisters/land_registry_integration/land_registry_integration.did.js +264 -315
- package/dist/canisters/ledger_manager/ledger_manager.did.d.ts +215 -7
- package/dist/canisters/ledger_manager/ledger_manager.did.js +262 -198
- package/dist/canisters/property_registry/property_registry.did.d.ts +77 -7
- package/dist/canisters/property_registry/property_registry.did.js +84 -57
- package/dist/canisters/transaction_manager/transaction_manager.did.d.ts +960 -7
- package/dist/canisters/transaction_manager/transaction_manager.did.js +1081 -867
- package/dist/canisters/user_management/user_management.did.d.ts +314 -7
- package/dist/canisters/user_management/user_management.did.js +420 -254
- package/dist/jurisdiction.d.ts +50 -0
- package/dist/jurisdiction.d.ts.map +1 -0
- package/dist/jurisdiction.js +109 -0
- package/dist/jurisdiction.js.map +1 -0
- package/dist/mock.js +1 -1
- package/package.json +6 -2
- package/src/canisters/document_storage/document_storage.did +32 -21
- package/src/canisters/document_storage/document_storage.did.d.ts +34 -24
- package/src/canisters/document_storage/document_storage.did.js +31 -21
- package/src/canisters/document_verification/document_verification.did +6 -6
- package/src/canisters/document_verification/document_verification.did.d.ts +12 -12
- package/src/canisters/document_verification/document_verification.did.js +28 -28
- package/src/canisters/email_service/email_service.did.d.ts +3 -3
- package/src/canisters/land_registry_integration/land_registry_integration.did.d.ts +3 -3
- package/src/canisters/land_registry_integration/land_registry_integration.did.js +23 -139
- package/src/canisters/ledger_manager/ledger_manager.did +2 -1
- package/src/canisters/ledger_manager/ledger_manager.did.d.ts +4 -3
- package/src/canisters/ledger_manager/ledger_manager.did.js +2 -5
- package/src/canisters/property_registry/property_registry.did +7 -3
- package/src/canisters/property_registry/property_registry.did.d.ts +10 -6
- package/src/canisters/property_registry/property_registry.did.js +12 -4
- package/src/canisters/transaction_manager/transaction_manager.did +104 -44
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +93 -43
- package/src/canisters/transaction_manager/transaction_manager.did.js +117 -38
- package/src/canisters/user_management/user_management.did +62 -19
- package/src/canisters/user_management/user_management.did.d.ts +68 -21
- package/src/canisters/user_management/user_management.did.js +90 -19
- package/src/jurisdiction.ts +117 -0
- package/src/mock.ts +1 -1
- package/dist/canisters/document_storage/document_storage.did.d.ts.map +0 -1
- package/dist/canisters/document_storage/document_storage.did.js.map +0 -1
- package/dist/canisters/document_verification/document_verification.did.d.ts.map +0 -1
- package/dist/canisters/document_verification/document_verification.did.js.map +0 -1
- package/dist/canisters/email_service/email_service.did.d.ts.map +0 -1
- package/dist/canisters/email_service/email_service.did.js.map +0 -1
- package/dist/canisters/land_registry_integration/land_registry_integration.did.d.ts.map +0 -1
- package/dist/canisters/land_registry_integration/land_registry_integration.did.js.map +0 -1
- package/dist/canisters/ledger_manager/ledger_manager.did.d.ts.map +0 -1
- package/dist/canisters/ledger_manager/ledger_manager.did.js.map +0 -1
- package/dist/canisters/property_registry/property_registry.did.d.ts.map +0 -1
- package/dist/canisters/property_registry/property_registry.did.js.map +0 -1
- package/dist/canisters/transaction_manager/transaction_manager.did.d.ts.map +0 -1
- package/dist/canisters/transaction_manager/transaction_manager.did.js.map +0 -1
- package/dist/canisters/user_management/user_management.did.d.ts.map +0 -1
- package/dist/canisters/user_management/user_management.did.js.map +0 -1
|
@@ -463,16 +463,11 @@ type Right =
|
|
|
463
463
|
overProperty: opt text;
|
|
464
464
|
};
|
|
465
465
|
type Result_9 =
|
|
466
|
-
variant {
|
|
467
|
-
err: text;
|
|
468
|
-
ok: vec Transaction;
|
|
469
|
-
};
|
|
470
|
-
type Result_8 =
|
|
471
466
|
variant {
|
|
472
467
|
err: text;
|
|
473
468
|
ok: vec Notification;
|
|
474
469
|
};
|
|
475
|
-
type
|
|
470
|
+
type Result_8 =
|
|
476
471
|
variant {
|
|
477
472
|
err: text;
|
|
478
473
|
ok: record {
|
|
@@ -480,16 +475,24 @@ type Result_7 =
|
|
|
480
475
|
sellers: vec TransactionParty;
|
|
481
476
|
};
|
|
482
477
|
};
|
|
483
|
-
type
|
|
478
|
+
type Result_7 =
|
|
484
479
|
variant {
|
|
485
480
|
err: text;
|
|
486
481
|
ok: Transaction;
|
|
487
482
|
};
|
|
488
|
-
type
|
|
483
|
+
type Result_6 =
|
|
489
484
|
variant {
|
|
490
485
|
err: text;
|
|
491
486
|
ok: ApplicationStatusUpdate;
|
|
492
487
|
};
|
|
488
|
+
type Result_5 =
|
|
489
|
+
variant {
|
|
490
|
+
err: text;
|
|
491
|
+
ok: record {
|
|
492
|
+
repairs: nat;
|
|
493
|
+
transactions: nat;
|
|
494
|
+
};
|
|
495
|
+
};
|
|
493
496
|
type Result_4 =
|
|
494
497
|
variant {
|
|
495
498
|
err: text;
|
|
@@ -500,7 +503,7 @@ type Result_3 =
|
|
|
500
503
|
err: text;
|
|
501
504
|
ok: nat;
|
|
502
505
|
};
|
|
503
|
-
type
|
|
506
|
+
type Result_25 =
|
|
504
507
|
variant {
|
|
505
508
|
err: text;
|
|
506
509
|
ok: record {
|
|
@@ -508,7 +511,7 @@ type Result_22 =
|
|
|
508
511
|
transactions: nat;
|
|
509
512
|
};
|
|
510
513
|
};
|
|
511
|
-
type
|
|
514
|
+
type Result_24 =
|
|
512
515
|
variant {
|
|
513
516
|
err: text;
|
|
514
517
|
ok: record {
|
|
@@ -516,42 +519,60 @@ type Result_21 =
|
|
|
516
519
|
text;
|
|
517
520
|
};
|
|
518
521
|
};
|
|
519
|
-
type
|
|
522
|
+
type Result_23 =
|
|
520
523
|
variant {
|
|
521
524
|
err: text;
|
|
522
525
|
ok: vec Anomaly;
|
|
523
526
|
};
|
|
524
|
-
type
|
|
527
|
+
type Result_22 =
|
|
525
528
|
variant {
|
|
526
529
|
err: text;
|
|
527
|
-
ok:
|
|
530
|
+
ok: Phase;
|
|
528
531
|
};
|
|
529
|
-
type
|
|
532
|
+
type Result_21 =
|
|
530
533
|
variant {
|
|
531
534
|
err: text;
|
|
532
|
-
ok:
|
|
535
|
+
ok: record {
|
|
536
|
+
ta10: vec FormAnswer;
|
|
537
|
+
ta6: vec FormAnswer;
|
|
538
|
+
ta7: vec FormAnswer;
|
|
539
|
+
};
|
|
533
540
|
};
|
|
534
|
-
type
|
|
541
|
+
type Result_20 =
|
|
535
542
|
variant {
|
|
536
543
|
err: text;
|
|
537
544
|
ok: opt HmlrFetchRecord;
|
|
538
545
|
};
|
|
539
|
-
type
|
|
546
|
+
type Result_2 =
|
|
547
|
+
variant {
|
|
548
|
+
err: text;
|
|
549
|
+
ok: TransactionParty;
|
|
550
|
+
};
|
|
551
|
+
type Result_19 =
|
|
540
552
|
variant {
|
|
541
553
|
err: text;
|
|
542
554
|
ok: NextStepRecommendation;
|
|
543
555
|
};
|
|
544
|
-
type
|
|
556
|
+
type Result_18 =
|
|
557
|
+
variant {
|
|
558
|
+
err: text;
|
|
559
|
+
ok: record {
|
|
560
|
+
buyer: principal;
|
|
561
|
+
mode: text;
|
|
562
|
+
seller: principal;
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
type Result_17 =
|
|
545
566
|
variant {
|
|
546
567
|
err: text;
|
|
547
568
|
ok: TransactionPartyProgress;
|
|
548
569
|
};
|
|
549
|
-
type
|
|
570
|
+
type Result_16 =
|
|
550
571
|
variant {
|
|
551
572
|
err: text;
|
|
552
573
|
ok: PhaseMilestones;
|
|
553
574
|
};
|
|
554
|
-
type
|
|
575
|
+
type Result_15 =
|
|
555
576
|
variant {
|
|
556
577
|
err: text;
|
|
557
578
|
ok:
|
|
@@ -560,26 +581,31 @@ type Result_14 =
|
|
|
560
581
|
sellerSolicitor: opt SolicitorRecord;
|
|
561
582
|
};
|
|
562
583
|
};
|
|
563
|
-
type
|
|
584
|
+
type Result_14 =
|
|
564
585
|
variant {
|
|
565
586
|
err: text;
|
|
566
587
|
ok: opt TA10FittingsAndContents;
|
|
567
588
|
};
|
|
568
|
-
type
|
|
589
|
+
type Result_13 =
|
|
569
590
|
variant {
|
|
570
591
|
err: text;
|
|
571
592
|
ok: opt TA6PropertyInformation;
|
|
572
593
|
};
|
|
573
|
-
type
|
|
594
|
+
type Result_12 =
|
|
574
595
|
variant {
|
|
575
596
|
err: text;
|
|
576
597
|
ok: opt TA7LeaseholdInformation;
|
|
577
598
|
};
|
|
578
|
-
type
|
|
599
|
+
type Result_11 =
|
|
579
600
|
variant {
|
|
580
601
|
err: text;
|
|
581
602
|
ok: vec BotConnection;
|
|
582
603
|
};
|
|
604
|
+
type Result_10 =
|
|
605
|
+
variant {
|
|
606
|
+
err: text;
|
|
607
|
+
ok: vec Transaction;
|
|
608
|
+
};
|
|
583
609
|
type Result_1 =
|
|
584
610
|
variant {
|
|
585
611
|
err: text;
|
|
@@ -770,6 +796,12 @@ type HeatingSystem =
|
|
|
770
796
|
lastServiceDate: opt text;
|
|
771
797
|
otherDetails: opt text;
|
|
772
798
|
};
|
|
799
|
+
type FormAnswer =
|
|
800
|
+
record {
|
|
801
|
+
answer: text;
|
|
802
|
+
details: opt text;
|
|
803
|
+
id: text;
|
|
804
|
+
};
|
|
773
805
|
type DischargeType =
|
|
774
806
|
variant {
|
|
775
807
|
GroundWater;
|
|
@@ -856,11 +888,17 @@ service : {
|
|
|
856
888
|
text, isPrimary: bool) -> (Result_2);
|
|
857
889
|
adminForceDeleteTransaction: (transactionId: text) -> (Result);
|
|
858
890
|
assignBuyer: (transactionId: text, buyerPrincipal: principal) -> (Result);
|
|
891
|
+
assignConveyancerFromPlatform: (transactionId: text, conveyancer:
|
|
892
|
+
principal, name: text, email: text, firmName: text, regNumber: text,
|
|
893
|
+
actingFor: variant {
|
|
894
|
+
buyer;
|
|
895
|
+
seller;
|
|
896
|
+
}) -> (Result_1);
|
|
859
897
|
assignSolicitor: (transactionId: text, solicitorPrincipal: principal) ->
|
|
860
898
|
(Result);
|
|
861
899
|
assignSolicitorRecord: (transactionId: text, solicitorRecord:
|
|
862
900
|
SolicitorRecord) -> (Result_1);
|
|
863
|
-
backfillTransactionMembers: () -> (
|
|
901
|
+
backfillTransactionMembers: () -> (Result_25);
|
|
864
902
|
bootstrapDocumentStorageCanister: (canisterId: principal) -> (Result);
|
|
865
903
|
canAccessTransaction: (transactionId: text) -> (bool) query;
|
|
866
904
|
connectBot: (transactionId: text, botPrincipal: principal, botName:
|
|
@@ -880,7 +918,7 @@ service : {
|
|
|
880
918
|
postcode: text, titleNumber: text, seller: principal, previousOwner:
|
|
881
919
|
text, amount: nat64, transactionType: text, userRole: text, propertyType:
|
|
882
920
|
text, propertyCategory: text, mode: text, deposit: nat64, mortgageAmount:
|
|
883
|
-
nat64, completionDate: text) -> (
|
|
921
|
+
nat64, completionDate: text) -> (Result_24);
|
|
884
922
|
deleteTransaction: (transactionId: text) -> (Result);
|
|
885
923
|
disconnectBot: (transactionId: text, botPrincipal: principal) -> (Result_1);
|
|
886
924
|
doesTransactionExist: (transactionId: text) -> (bool) query;
|
|
@@ -889,40 +927,49 @@ service : {
|
|
|
889
927
|
text;
|
|
890
928
|
}) query;
|
|
891
929
|
getAllTransactions: () -> (vec Transaction) query;
|
|
892
|
-
getAnomalies: (txId: text) -> (
|
|
893
|
-
getCurrentPhase: (transactionId: text) -> (
|
|
930
|
+
getAnomalies: (txId: text) -> (Result_23) query;
|
|
931
|
+
getCurrentPhase: (transactionId: text) -> (Result_22) query;
|
|
894
932
|
getCycles: () -> (nat) query;
|
|
933
|
+
getDelegates: (transactionId: text) ->
|
|
934
|
+
(vec record {
|
|
935
|
+
principal;
|
|
936
|
+
principal;
|
|
937
|
+
}) query;
|
|
895
938
|
getDocumentStorageCanister: () -> (opt principal) query;
|
|
896
939
|
getExpiringSearches: (withinDays: nat) -> (vec Transaction) query;
|
|
897
940
|
getFlowState: (transactionId: text) -> (opt text) query;
|
|
898
|
-
|
|
941
|
+
getFormAnswersForPlatform: (transactionId: text) -> (Result_21) query;
|
|
942
|
+
getHmlrFetch: (transactionId: text) -> (Result_20) query;
|
|
899
943
|
getInviteCode: (transactionId: text) -> (Result) query;
|
|
900
944
|
getLandRegistryCanister: () -> (text) query;
|
|
901
945
|
getLandRegistryDetail: (transactionID: text) ->
|
|
902
946
|
(opt LandRegistryIntegration) query;
|
|
903
947
|
getLedgerManagerCanister: () -> (text) query;
|
|
904
948
|
getListingData: (transactionId: text) -> (opt text) query;
|
|
949
|
+
getMonitorTransactionIds: () -> (vec text) query;
|
|
905
950
|
getMyNotifications: () -> (vec Notification) query;
|
|
906
951
|
getMyTransactions: () -> (vec Transaction) query;
|
|
907
|
-
getNextStep: (id: text) -> (
|
|
952
|
+
getNextStep: (id: text) -> (Result_19) composite_query;
|
|
908
953
|
getOutstandingRequisitions: () -> (vec record {
|
|
909
954
|
text;
|
|
910
955
|
Requisition;
|
|
911
956
|
}) query;
|
|
912
|
-
|
|
957
|
+
getPartyPrincipalsForPlatform: (transactionId: text) -> (Result_18) query;
|
|
958
|
+
getPartyProgress: (transactionId: text) -> (Result_17) query;
|
|
913
959
|
getPendingLRApplications: () -> (vec Transaction) query;
|
|
914
|
-
getPhaseMilestones: (transactionId: text) -> (
|
|
960
|
+
getPhaseMilestones: (transactionId: text) -> (Result_16) query;
|
|
961
|
+
getPropertyLogbookCanister: () -> (text) query;
|
|
915
962
|
getPropertyRegistryCanister: () -> (text) query;
|
|
916
|
-
getSolicitorStatus: (transactionId: text) -> (
|
|
917
|
-
getTA10: (txId: text) -> (
|
|
918
|
-
getTA6: (txId: text) -> (
|
|
919
|
-
getTA7: (txId: text) -> (
|
|
963
|
+
getSolicitorStatus: (transactionId: text) -> (Result_15) query;
|
|
964
|
+
getTA10: (txId: text) -> (Result_14) query;
|
|
965
|
+
getTA6: (txId: text) -> (Result_13) query;
|
|
966
|
+
getTA7: (txId: text) -> (Result_12) query;
|
|
920
967
|
getTransaction: (id: text) -> (opt Transaction) query;
|
|
921
|
-
getTransactionBots: (transactionId: text) -> (
|
|
968
|
+
getTransactionBots: (transactionId: text) -> (Result_11) query;
|
|
922
969
|
getTransactionByInviteCode: (inviteCode: text) -> (opt Transaction);
|
|
923
|
-
getTransactionChain: (transactionId: text) -> (
|
|
924
|
-
getTransactionNotifications: (transactionId: text) -> (
|
|
925
|
-
getTransactionParties: (transactionId: text) -> (
|
|
970
|
+
getTransactionChain: (transactionId: text) -> (Result_10) query;
|
|
971
|
+
getTransactionNotifications: (transactionId: text) -> (Result_9) query;
|
|
972
|
+
getTransactionParties: (transactionId: text) -> (Result_8) query;
|
|
926
973
|
getTransactionsByStatus: (status: TransactionStatus) ->
|
|
927
974
|
(vec Transaction) query;
|
|
928
975
|
getTransactionsForPrincipal: ("principal": principal) ->
|
|
@@ -937,9 +984,13 @@ service : {
|
|
|
937
984
|
hasAcknowledgedTA6Wording: (txId: text) -> (bool) query;
|
|
938
985
|
initiate_blockchain_completion: (transactionID: text, buyerFundsHash:
|
|
939
986
|
text, completionStatementHash: text) -> (Result);
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
987
|
+
isDelegateOf: (transactionId: text, party: principal, delegate:
|
|
988
|
+
principal) -> (bool) query;
|
|
989
|
+
isTransactionMember: (transactionId: text, "principal": principal) ->
|
|
990
|
+
(bool) query;
|
|
991
|
+
joinAsBotByInviteCode: (inviteCode: text, botName: text) -> (Result_7);
|
|
992
|
+
joinTransactionByInviteCode: (inviteCode: text) -> (Result_7);
|
|
993
|
+
joinTransactionByInviteCodeAsBuyer: (inviteCode: text) -> (Result_7);
|
|
943
994
|
/// Caller-initiated removal from a transaction they joined but didn't
|
|
944
995
|
/// create. Counterpart to `removeParty` (which is seller/admin-driven and
|
|
945
996
|
/// gated against primary parties) — this is the "I want out" path for a
|
|
@@ -989,13 +1040,17 @@ service : {
|
|
|
989
1040
|
text, uploadedBy: principal) -> ();
|
|
990
1041
|
on_blockchain_completion_success: (transactionID: text) -> (Result);
|
|
991
1042
|
pollAllPendingApplications: () -> (Result_3);
|
|
992
|
-
pollApplicationStatus: (transactionID: text) -> (
|
|
1043
|
+
pollApplicationStatus: (transactionID: text) -> (Result_6);
|
|
993
1044
|
/// Closes #31 (TOCTOU): per-transaction lock blocks concurrent solicitors
|
|
994
1045
|
/// from racing to record exchange while canModifyTransaction await is in flight.
|
|
995
1046
|
recordContractExchange: (transactionID: text, buyerSolicitorSignature:
|
|
996
1047
|
text, sellerSolicitorSignature: text) -> (Result);
|
|
997
1048
|
recordConveyancerSelected: (txId: text, conveyancerId: text,
|
|
998
1049
|
acceptedQuoteHash: text, finalAmountPence: nat) -> (Result_1);
|
|
1050
|
+
recordDocShareRevoked: (txId: text, docHash: text, partyPrincipal:
|
|
1051
|
+
text) -> (Result_1);
|
|
1052
|
+
recordDocShared: (txId: text, docHash: text, partyPrincipal: text) ->
|
|
1053
|
+
(Result_1);
|
|
999
1054
|
recordFormUpload: (txId: text, formType: text, fileHash: text, fileName:
|
|
1000
1055
|
text) -> (Result_1);
|
|
1001
1056
|
recordHmlrFetched: (transactionId: text, titleNumber: text, responseHash:
|
|
@@ -1019,6 +1074,7 @@ service : {
|
|
|
1019
1074
|
buyer;
|
|
1020
1075
|
seller;
|
|
1021
1076
|
}) -> (Result_1);
|
|
1077
|
+
repairTransactionMemberRoles: () -> (Result_5);
|
|
1022
1078
|
requestOfficialSearch: (transactionID: text) -> (Result_4);
|
|
1023
1079
|
/// Closes #31 (TOCTOU): per-transaction lock blocks concurrent mutation
|
|
1024
1080
|
/// while canModifyTransaction await is in flight.
|
|
@@ -1026,11 +1082,15 @@ service : {
|
|
|
1026
1082
|
responseText: text, _supportingDocumentHashes: vec text) -> (Result_1);
|
|
1027
1083
|
revokeBuyer: (transactionId: text, buyerPrincipal: principal) -> (Result);
|
|
1028
1084
|
runCrossReference: (txId: text) -> (Result_3);
|
|
1085
|
+
setDelegateFromPlatform: (transactionId: text, party: principal, delegate:
|
|
1086
|
+
principal, active: bool) -> (Result);
|
|
1029
1087
|
setDocumentStorageCanister: (canisterId: principal) -> (Result);
|
|
1030
1088
|
setFlowState: (transactionId: text, jsonData: text) -> (Result);
|
|
1031
1089
|
setLandRegistryCanister: (canisterId: text) -> (Result);
|
|
1032
1090
|
setLedgerManagerCanister: (canisterId: text) -> (Result);
|
|
1033
1091
|
setListingData: (transactionId: text, jsonData: text) -> (Result);
|
|
1092
|
+
setMonitorPrincipal: (p: principal) -> (Result);
|
|
1093
|
+
setPropertyLogbookCanister: (canisterId: text) -> (Result);
|
|
1034
1094
|
setPropertyRegistryCanister: (canisterId: text) -> (Result);
|
|
1035
1095
|
setUserManagementCanister: (canisterId: text) -> (Result);
|
|
1036
1096
|
trigger_land_registry_submission: (transactionID: text) -> (Result);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Principal } from '@
|
|
2
|
-
import type { ActorMethod } from '@
|
|
3
|
-
import type { IDL } from '@
|
|
1
|
+
import type { Principal } from '@icp-sdk/core/principal';
|
|
2
|
+
import type { ActorMethod } from '@icp-sdk/core/agent';
|
|
3
|
+
import type { IDL } from '@icp-sdk/core/candid';
|
|
4
4
|
|
|
5
5
|
export type AMLStatus = { 'verified' : null } |
|
|
6
6
|
{ 'pending' : null } |
|
|
@@ -65,6 +65,11 @@ export interface CompletionCommitments {
|
|
|
65
65
|
}
|
|
66
66
|
export type DischargeType = { 'GroundWater' : null } |
|
|
67
67
|
{ 'SurfaceWater' : null };
|
|
68
|
+
export interface FormAnswer {
|
|
69
|
+
'id' : string,
|
|
70
|
+
'answer' : string,
|
|
71
|
+
'details' : [] | [string],
|
|
72
|
+
}
|
|
68
73
|
export interface HeatingSystem {
|
|
69
74
|
'certificate' : TA6Document,
|
|
70
75
|
'otherDetails' : [] | [string],
|
|
@@ -219,38 +224,52 @@ export type Result = { 'ok' : string } |
|
|
|
219
224
|
{ 'err' : string };
|
|
220
225
|
export type Result_1 = { 'ok' : null } |
|
|
221
226
|
{ 'err' : string };
|
|
222
|
-
export type Result_10 = { 'ok' : Array<
|
|
227
|
+
export type Result_10 = { 'ok' : Array<Transaction> } |
|
|
223
228
|
{ 'err' : string };
|
|
224
|
-
export type Result_11 = { 'ok' :
|
|
229
|
+
export type Result_11 = { 'ok' : Array<BotConnection> } |
|
|
225
230
|
{ 'err' : string };
|
|
226
|
-
export type Result_12 = { 'ok' : [] | [
|
|
231
|
+
export type Result_12 = { 'ok' : [] | [TA7LeaseholdInformation] } |
|
|
227
232
|
{ 'err' : string };
|
|
228
|
-
export type Result_13 = { 'ok' : [] | [
|
|
233
|
+
export type Result_13 = { 'ok' : [] | [TA6PropertyInformation] } |
|
|
229
234
|
{ 'err' : string };
|
|
230
|
-
export type Result_14 = {
|
|
235
|
+
export type Result_14 = { 'ok' : [] | [TA10FittingsAndContents] } |
|
|
236
|
+
{ 'err' : string };
|
|
237
|
+
export type Result_15 = {
|
|
231
238
|
'ok' : {
|
|
232
239
|
'sellerSolicitor' : [] | [SolicitorRecord],
|
|
233
240
|
'buyerSolicitor' : [] | [SolicitorRecord],
|
|
234
241
|
}
|
|
235
242
|
} |
|
|
236
243
|
{ 'err' : string };
|
|
237
|
-
export type
|
|
238
|
-
{ 'err' : string };
|
|
239
|
-
export type Result_16 = { 'ok' : TransactionPartyProgress } |
|
|
244
|
+
export type Result_16 = { 'ok' : PhaseMilestones } |
|
|
240
245
|
{ 'err' : string };
|
|
241
|
-
export type Result_17 = { 'ok' :
|
|
246
|
+
export type Result_17 = { 'ok' : TransactionPartyProgress } |
|
|
242
247
|
{ 'err' : string };
|
|
243
|
-
export type Result_18 = {
|
|
248
|
+
export type Result_18 = {
|
|
249
|
+
'ok' : { 'mode' : string, 'seller' : Principal, 'buyer' : Principal }
|
|
250
|
+
} |
|
|
244
251
|
{ 'err' : string };
|
|
245
|
-
export type Result_19 = { 'ok' :
|
|
252
|
+
export type Result_19 = { 'ok' : NextStepRecommendation } |
|
|
246
253
|
{ 'err' : string };
|
|
247
254
|
export type Result_2 = { 'ok' : TransactionParty } |
|
|
248
255
|
{ 'err' : string };
|
|
249
|
-
export type Result_20 = { 'ok' :
|
|
256
|
+
export type Result_20 = { 'ok' : [] | [HmlrFetchRecord] } |
|
|
250
257
|
{ 'err' : string };
|
|
251
|
-
export type Result_21 = {
|
|
258
|
+
export type Result_21 = {
|
|
259
|
+
'ok' : {
|
|
260
|
+
'ta6' : Array<FormAnswer>,
|
|
261
|
+
'ta7' : Array<FormAnswer>,
|
|
262
|
+
'ta10' : Array<FormAnswer>,
|
|
263
|
+
}
|
|
264
|
+
} |
|
|
265
|
+
{ 'err' : string };
|
|
266
|
+
export type Result_22 = { 'ok' : Phase } |
|
|
267
|
+
{ 'err' : string };
|
|
268
|
+
export type Result_23 = { 'ok' : Array<Anomaly> } |
|
|
252
269
|
{ 'err' : string };
|
|
253
|
-
export type
|
|
270
|
+
export type Result_24 = { 'ok' : [string, string] } |
|
|
271
|
+
{ 'err' : string };
|
|
272
|
+
export type Result_25 = {
|
|
254
273
|
'ok' : { 'registrations' : bigint, 'transactions' : bigint }
|
|
255
274
|
} |
|
|
256
275
|
{ 'err' : string };
|
|
@@ -258,20 +277,22 @@ export type Result_3 = { 'ok' : bigint } |
|
|
|
258
277
|
{ 'err' : string };
|
|
259
278
|
export type Result_4 = { 'ok' : OfficialSearchResult } |
|
|
260
279
|
{ 'err' : string };
|
|
261
|
-
export type Result_5 = {
|
|
280
|
+
export type Result_5 = {
|
|
281
|
+
'ok' : { 'repairs' : bigint, 'transactions' : bigint }
|
|
282
|
+
} |
|
|
283
|
+
{ 'err' : string };
|
|
284
|
+
export type Result_6 = { 'ok' : ApplicationStatusUpdate } |
|
|
262
285
|
{ 'err' : string };
|
|
263
|
-
export type
|
|
286
|
+
export type Result_7 = { 'ok' : Transaction } |
|
|
264
287
|
{ 'err' : string };
|
|
265
|
-
export type
|
|
288
|
+
export type Result_8 = {
|
|
266
289
|
'ok' : {
|
|
267
290
|
'sellers' : Array<TransactionParty>,
|
|
268
291
|
'buyers' : Array<TransactionParty>,
|
|
269
292
|
}
|
|
270
293
|
} |
|
|
271
294
|
{ 'err' : string };
|
|
272
|
-
export type
|
|
273
|
-
{ 'err' : string };
|
|
274
|
-
export type Result_9 = { 'ok' : Array<Transaction> } |
|
|
295
|
+
export type Result_9 = { 'ok' : Array<Notification> } |
|
|
275
296
|
{ 'err' : string };
|
|
276
297
|
export interface Right {
|
|
277
298
|
'overProperty' : [] | [string],
|
|
@@ -671,9 +692,22 @@ export interface _SERVICE {
|
|
|
671
692
|
'addParty' : ActorMethod<[string, string, string, string, boolean], Result_2>,
|
|
672
693
|
'adminForceDeleteTransaction' : ActorMethod<[string], Result>,
|
|
673
694
|
'assignBuyer' : ActorMethod<[string, Principal], Result>,
|
|
695
|
+
'assignConveyancerFromPlatform' : ActorMethod<
|
|
696
|
+
[
|
|
697
|
+
string,
|
|
698
|
+
Principal,
|
|
699
|
+
string,
|
|
700
|
+
string,
|
|
701
|
+
string,
|
|
702
|
+
string,
|
|
703
|
+
{ 'seller' : null } |
|
|
704
|
+
{ 'buyer' : null },
|
|
705
|
+
],
|
|
706
|
+
Result_1
|
|
707
|
+
>,
|
|
674
708
|
'assignSolicitor' : ActorMethod<[string, Principal], Result>,
|
|
675
709
|
'assignSolicitorRecord' : ActorMethod<[string, SolicitorRecord], Result_1>,
|
|
676
|
-
'backfillTransactionMembers' : ActorMethod<[],
|
|
710
|
+
'backfillTransactionMembers' : ActorMethod<[], Result_25>,
|
|
677
711
|
'bootstrapDocumentStorageCanister' : ActorMethod<[Principal], Result>,
|
|
678
712
|
'canAccessTransaction' : ActorMethod<[string], boolean>,
|
|
679
713
|
'connectBot' : ActorMethod<[string, Principal, string], Result_1>,
|
|
@@ -719,20 +753,22 @@ export interface _SERVICE {
|
|
|
719
753
|
bigint,
|
|
720
754
|
string,
|
|
721
755
|
],
|
|
722
|
-
|
|
756
|
+
Result_24
|
|
723
757
|
>,
|
|
724
758
|
'deleteTransaction' : ActorMethod<[string], Result>,
|
|
725
759
|
'disconnectBot' : ActorMethod<[string, Principal], Result_1>,
|
|
726
760
|
'doesTransactionExist' : ActorMethod<[string], boolean>,
|
|
727
761
|
'getAllInviteCodes' : ActorMethod<[], Array<[string, string]>>,
|
|
728
762
|
'getAllTransactions' : ActorMethod<[], Array<Transaction>>,
|
|
729
|
-
'getAnomalies' : ActorMethod<[string],
|
|
730
|
-
'getCurrentPhase' : ActorMethod<[string],
|
|
763
|
+
'getAnomalies' : ActorMethod<[string], Result_23>,
|
|
764
|
+
'getCurrentPhase' : ActorMethod<[string], Result_22>,
|
|
731
765
|
'getCycles' : ActorMethod<[], bigint>,
|
|
766
|
+
'getDelegates' : ActorMethod<[string], Array<[Principal, Principal]>>,
|
|
732
767
|
'getDocumentStorageCanister' : ActorMethod<[], [] | [Principal]>,
|
|
733
768
|
'getExpiringSearches' : ActorMethod<[bigint], Array<Transaction>>,
|
|
734
769
|
'getFlowState' : ActorMethod<[string], [] | [string]>,
|
|
735
|
-
'
|
|
770
|
+
'getFormAnswersForPlatform' : ActorMethod<[string], Result_21>,
|
|
771
|
+
'getHmlrFetch' : ActorMethod<[string], Result_20>,
|
|
736
772
|
'getInviteCode' : ActorMethod<[string], Result>,
|
|
737
773
|
'getLandRegistryCanister' : ActorMethod<[], string>,
|
|
738
774
|
'getLandRegistryDetail' : ActorMethod<
|
|
@@ -741,24 +777,27 @@ export interface _SERVICE {
|
|
|
741
777
|
>,
|
|
742
778
|
'getLedgerManagerCanister' : ActorMethod<[], string>,
|
|
743
779
|
'getListingData' : ActorMethod<[string], [] | [string]>,
|
|
780
|
+
'getMonitorTransactionIds' : ActorMethod<[], Array<string>>,
|
|
744
781
|
'getMyNotifications' : ActorMethod<[], Array<Notification>>,
|
|
745
782
|
'getMyTransactions' : ActorMethod<[], Array<Transaction>>,
|
|
746
|
-
'getNextStep' : ActorMethod<[string],
|
|
783
|
+
'getNextStep' : ActorMethod<[string], Result_19>,
|
|
747
784
|
'getOutstandingRequisitions' : ActorMethod<[], Array<[string, Requisition]>>,
|
|
748
|
-
'
|
|
785
|
+
'getPartyPrincipalsForPlatform' : ActorMethod<[string], Result_18>,
|
|
786
|
+
'getPartyProgress' : ActorMethod<[string], Result_17>,
|
|
749
787
|
'getPendingLRApplications' : ActorMethod<[], Array<Transaction>>,
|
|
750
|
-
'getPhaseMilestones' : ActorMethod<[string],
|
|
788
|
+
'getPhaseMilestones' : ActorMethod<[string], Result_16>,
|
|
789
|
+
'getPropertyLogbookCanister' : ActorMethod<[], string>,
|
|
751
790
|
'getPropertyRegistryCanister' : ActorMethod<[], string>,
|
|
752
|
-
'getSolicitorStatus' : ActorMethod<[string],
|
|
753
|
-
'getTA10' : ActorMethod<[string],
|
|
754
|
-
'getTA6' : ActorMethod<[string],
|
|
755
|
-
'getTA7' : ActorMethod<[string],
|
|
791
|
+
'getSolicitorStatus' : ActorMethod<[string], Result_15>,
|
|
792
|
+
'getTA10' : ActorMethod<[string], Result_14>,
|
|
793
|
+
'getTA6' : ActorMethod<[string], Result_13>,
|
|
794
|
+
'getTA7' : ActorMethod<[string], Result_12>,
|
|
756
795
|
'getTransaction' : ActorMethod<[string], [] | [Transaction]>,
|
|
757
|
-
'getTransactionBots' : ActorMethod<[string],
|
|
796
|
+
'getTransactionBots' : ActorMethod<[string], Result_11>,
|
|
758
797
|
'getTransactionByInviteCode' : ActorMethod<[string], [] | [Transaction]>,
|
|
759
|
-
'getTransactionChain' : ActorMethod<[string],
|
|
760
|
-
'getTransactionNotifications' : ActorMethod<[string],
|
|
761
|
-
'getTransactionParties' : ActorMethod<[string],
|
|
798
|
+
'getTransactionChain' : ActorMethod<[string], Result_10>,
|
|
799
|
+
'getTransactionNotifications' : ActorMethod<[string], Result_9>,
|
|
800
|
+
'getTransactionParties' : ActorMethod<[string], Result_8>,
|
|
762
801
|
'getTransactionsByStatus' : ActorMethod<
|
|
763
802
|
[TransactionStatus],
|
|
764
803
|
Array<Transaction>
|
|
@@ -777,9 +816,11 @@ export interface _SERVICE {
|
|
|
777
816
|
[string, string, string],
|
|
778
817
|
Result
|
|
779
818
|
>,
|
|
780
|
-
'
|
|
781
|
-
'
|
|
782
|
-
'
|
|
819
|
+
'isDelegateOf' : ActorMethod<[string, Principal, Principal], boolean>,
|
|
820
|
+
'isTransactionMember' : ActorMethod<[string, Principal], boolean>,
|
|
821
|
+
'joinAsBotByInviteCode' : ActorMethod<[string, string], Result_7>,
|
|
822
|
+
'joinTransactionByInviteCode' : ActorMethod<[string], Result_7>,
|
|
823
|
+
'joinTransactionByInviteCodeAsBuyer' : ActorMethod<[string], Result_7>,
|
|
783
824
|
/**
|
|
784
825
|
* / Caller-initiated removal from a transaction they joined but didn't
|
|
785
826
|
* / create. Counterpart to `removeParty` (which is seller/admin-driven and
|
|
@@ -833,7 +874,7 @@ export interface _SERVICE {
|
|
|
833
874
|
>,
|
|
834
875
|
'on_blockchain_completion_success' : ActorMethod<[string], Result>,
|
|
835
876
|
'pollAllPendingApplications' : ActorMethod<[], Result_3>,
|
|
836
|
-
'pollApplicationStatus' : ActorMethod<[string],
|
|
877
|
+
'pollApplicationStatus' : ActorMethod<[string], Result_6>,
|
|
837
878
|
/**
|
|
838
879
|
* / Closes #31 (TOCTOU): per-transaction lock blocks concurrent solicitors
|
|
839
880
|
* / from racing to record exchange while canModifyTransaction await is in flight.
|
|
@@ -843,6 +884,8 @@ export interface _SERVICE {
|
|
|
843
884
|
[string, string, string, bigint],
|
|
844
885
|
Result_1
|
|
845
886
|
>,
|
|
887
|
+
'recordDocShareRevoked' : ActorMethod<[string, string, string], Result_1>,
|
|
888
|
+
'recordDocShared' : ActorMethod<[string, string, string], Result_1>,
|
|
846
889
|
'recordFormUpload' : ActorMethod<[string, string, string, string], Result_1>,
|
|
847
890
|
'recordHmlrFetched' : ActorMethod<[string, string, string], Result_1>,
|
|
848
891
|
/**
|
|
@@ -868,6 +911,7 @@ export interface _SERVICE {
|
|
|
868
911
|
[string, { 'seller' : null } | { 'buyer' : null }],
|
|
869
912
|
Result_1
|
|
870
913
|
>,
|
|
914
|
+
'repairTransactionMemberRoles' : ActorMethod<[], Result_5>,
|
|
871
915
|
'requestOfficialSearch' : ActorMethod<[string], Result_4>,
|
|
872
916
|
/**
|
|
873
917
|
* / Closes #31 (TOCTOU): per-transaction lock blocks concurrent mutation
|
|
@@ -879,11 +923,17 @@ export interface _SERVICE {
|
|
|
879
923
|
>,
|
|
880
924
|
'revokeBuyer' : ActorMethod<[string, Principal], Result>,
|
|
881
925
|
'runCrossReference' : ActorMethod<[string], Result_3>,
|
|
926
|
+
'setDelegateFromPlatform' : ActorMethod<
|
|
927
|
+
[string, Principal, Principal, boolean],
|
|
928
|
+
Result
|
|
929
|
+
>,
|
|
882
930
|
'setDocumentStorageCanister' : ActorMethod<[Principal], Result>,
|
|
883
931
|
'setFlowState' : ActorMethod<[string, string], Result>,
|
|
884
932
|
'setLandRegistryCanister' : ActorMethod<[string], Result>,
|
|
885
933
|
'setLedgerManagerCanister' : ActorMethod<[string], Result>,
|
|
886
934
|
'setListingData' : ActorMethod<[string, string], Result>,
|
|
935
|
+
'setMonitorPrincipal' : ActorMethod<[Principal], Result>,
|
|
936
|
+
'setPropertyLogbookCanister' : ActorMethod<[string], Result>,
|
|
887
937
|
'setPropertyRegistryCanister' : ActorMethod<[string], Result>,
|
|
888
938
|
'setUserManagementCanister' : ActorMethod<[string], Result>,
|
|
889
939
|
'trigger_land_registry_submission' : ActorMethod<[string], Result>,
|