@propxchain/core-client 0.22.0-canary.61 → 0.24.0-canary.63
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 +56 -0
- package/dist/canisters/transaction_manager/transaction_manager.did.js +82 -0
- package/package.json +1 -1
- package/src/canisters/transaction_manager/transaction_manager.did +80 -0
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +56 -0
- package/src/canisters/transaction_manager/transaction_manager.did.js +82 -0
|
@@ -740,6 +740,7 @@ export interface _SERVICE {
|
|
|
740
740
|
'backfillTransactionMembers' : ActorMethod<[], Result_25>,
|
|
741
741
|
'bootstrapDocumentStorageCanister' : ActorMethod<[Principal], Result>,
|
|
742
742
|
'canAccessTransaction' : ActorMethod<[string], boolean>,
|
|
743
|
+
'confirmKeysReleased' : ActorMethod<[string], Result>,
|
|
743
744
|
'connectBot' : ActorMethod<[string, Principal, string], Result_1>,
|
|
744
745
|
'consumeLandRegistryNotification' : ActorMethod<
|
|
745
746
|
[string, [] | [string], [] | [string], string, Array<[string, string]>],
|
|
@@ -795,6 +796,18 @@ export interface _SERVICE {
|
|
|
795
796
|
[string],
|
|
796
797
|
[] | [{ 'buyer' : boolean, 'seller' : boolean }]
|
|
797
798
|
>,
|
|
799
|
+
'getCompletionStatus' : ActorMethod<
|
|
800
|
+
[string],
|
|
801
|
+
[] | [
|
|
802
|
+
{
|
|
803
|
+
'status' : string,
|
|
804
|
+
'seller' : [] | [{ 'at' : bigint, 'byConveyancer' : boolean }],
|
|
805
|
+
'conveyancerActing' : { 'seller' : boolean, 'buyer' : boolean },
|
|
806
|
+
'keysReleased' : [] | [{ 'at' : bigint, 'byAgent' : boolean }],
|
|
807
|
+
'buyer' : [] | [{ 'at' : bigint, 'byConveyancer' : boolean }],
|
|
808
|
+
}
|
|
809
|
+
]
|
|
810
|
+
>,
|
|
798
811
|
'getConveyancerSide' : ActorMethod<
|
|
799
812
|
[Principal, string],
|
|
800
813
|
[] | [{ 'buyer' : null } | { 'seller' : null }]
|
|
@@ -802,6 +815,20 @@ export interface _SERVICE {
|
|
|
802
815
|
'getCurrentPhase' : ActorMethod<[string], Result_22>,
|
|
803
816
|
'getCycles' : ActorMethod<[], bigint>,
|
|
804
817
|
'getDelegates' : ActorMethod<[string], Array<[Principal, Principal]>>,
|
|
818
|
+
'getDepositSent' : ActorMethod<
|
|
819
|
+
[string],
|
|
820
|
+
[] | [
|
|
821
|
+
{
|
|
822
|
+
'depositSent' : [] | [
|
|
823
|
+
{
|
|
824
|
+
'sentOn' : string,
|
|
825
|
+
'recordedAt' : bigint,
|
|
826
|
+
'amountPence' : [] | [bigint],
|
|
827
|
+
}
|
|
828
|
+
],
|
|
829
|
+
}
|
|
830
|
+
]
|
|
831
|
+
>,
|
|
805
832
|
'getDocumentStorageCanister' : ActorMethod<[], [] | [Principal]>,
|
|
806
833
|
'getExpiringSearches' : ActorMethod<[bigint], Array<Transaction>>,
|
|
807
834
|
'getFlowState' : ActorMethod<[string], [] | [string]>,
|
|
@@ -830,6 +857,30 @@ export interface _SERVICE {
|
|
|
830
857
|
'getPhaseMilestones' : ActorMethod<[string], Result_16>,
|
|
831
858
|
'getPropertyLogbookCanister' : ActorMethod<[], string>,
|
|
832
859
|
'getPropertyRegistryCanister' : ActorMethod<[], string>,
|
|
860
|
+
'getRegistrationRemindersDue' : ActorMethod<
|
|
861
|
+
[],
|
|
862
|
+
Array<
|
|
863
|
+
{
|
|
864
|
+
'reminderNumber' : bigint,
|
|
865
|
+
'completedAt' : bigint,
|
|
866
|
+
'propertyAddress' : string,
|
|
867
|
+
'transactionId' : string,
|
|
868
|
+
}
|
|
869
|
+
>
|
|
870
|
+
>,
|
|
871
|
+
'getRegistrationStatus' : ActorMethod<
|
|
872
|
+
[string],
|
|
873
|
+
[] | [
|
|
874
|
+
{
|
|
875
|
+
'completedAt' : [] | [bigint],
|
|
876
|
+
'submittedOn' : [] | [string],
|
|
877
|
+
'nextReminderAt' : [] | [bigint],
|
|
878
|
+
'applicationReference' : [] | [string],
|
|
879
|
+
'awaitingApplication' : boolean,
|
|
880
|
+
'remindersDue' : bigint,
|
|
881
|
+
}
|
|
882
|
+
]
|
|
883
|
+
>,
|
|
833
884
|
'getSolicitorStatus' : ActorMethod<[string], Result_15>,
|
|
834
885
|
'getTA10' : ActorMethod<[string], Result_14>,
|
|
835
886
|
'getTA10ForPlatform' : ActorMethod<[string], Result_14>,
|
|
@@ -934,6 +985,7 @@ export interface _SERVICE {
|
|
|
934
985
|
[string, string, string, bigint],
|
|
935
986
|
Result_1
|
|
936
987
|
>,
|
|
988
|
+
'recordDepositSent' : ActorMethod<[string, string, [] | [bigint]], Result>,
|
|
937
989
|
'recordDocShareRevoked' : ActorMethod<[string, string, string], Result_1>,
|
|
938
990
|
'recordDocShared' : ActorMethod<[string, string, string], Result_1>,
|
|
939
991
|
'recordDocumentFact' : ActorMethod<
|
|
@@ -959,6 +1011,10 @@ export interface _SERVICE {
|
|
|
959
1011
|
Result_1
|
|
960
1012
|
>,
|
|
961
1013
|
'recordQuoteRequested' : ActorMethod<[string, string], Result_1>,
|
|
1014
|
+
'recordRegistrationApplication' : ActorMethod<
|
|
1015
|
+
[string, string, string],
|
|
1016
|
+
Result
|
|
1017
|
+
>,
|
|
962
1018
|
/**
|
|
963
1019
|
* / Closes #31 (TOCTOU): per-transaction lock blocks concurrent mutation
|
|
964
1020
|
* / while the isAdmin await is in flight.
|
|
@@ -809,6 +809,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
809
809
|
[],
|
|
810
810
|
),
|
|
811
811
|
'canAccessTransaction' : IDL.Func([IDL.Text], [IDL.Bool], ['query']),
|
|
812
|
+
'confirmKeysReleased' : IDL.Func([IDL.Text], [Result], []),
|
|
812
813
|
'connectBot' : IDL.Func(
|
|
813
814
|
[IDL.Text, IDL.Principal, IDL.Text],
|
|
814
815
|
[Result_1],
|
|
@@ -882,6 +883,30 @@ export const idlFactory = ({ IDL }) => {
|
|
|
882
883
|
[IDL.Opt(IDL.Record({ 'buyer' : IDL.Bool, 'seller' : IDL.Bool }))],
|
|
883
884
|
['query'],
|
|
884
885
|
),
|
|
886
|
+
'getCompletionStatus' : IDL.Func(
|
|
887
|
+
[IDL.Text],
|
|
888
|
+
[
|
|
889
|
+
IDL.Opt(
|
|
890
|
+
IDL.Record({
|
|
891
|
+
'status' : IDL.Text,
|
|
892
|
+
'seller' : IDL.Opt(
|
|
893
|
+
IDL.Record({ 'at' : IDL.Int, 'byConveyancer' : IDL.Bool })
|
|
894
|
+
),
|
|
895
|
+
'conveyancerActing' : IDL.Record({
|
|
896
|
+
'seller' : IDL.Bool,
|
|
897
|
+
'buyer' : IDL.Bool,
|
|
898
|
+
}),
|
|
899
|
+
'keysReleased' : IDL.Opt(
|
|
900
|
+
IDL.Record({ 'at' : IDL.Int, 'byAgent' : IDL.Bool })
|
|
901
|
+
),
|
|
902
|
+
'buyer' : IDL.Opt(
|
|
903
|
+
IDL.Record({ 'at' : IDL.Int, 'byConveyancer' : IDL.Bool })
|
|
904
|
+
),
|
|
905
|
+
})
|
|
906
|
+
),
|
|
907
|
+
],
|
|
908
|
+
['query'],
|
|
909
|
+
),
|
|
885
910
|
'getConveyancerSide' : IDL.Func(
|
|
886
911
|
[IDL.Principal, IDL.Text],
|
|
887
912
|
[IDL.Opt(IDL.Variant({ 'buyer' : IDL.Null, 'seller' : IDL.Null }))],
|
|
@@ -894,6 +919,23 @@ export const idlFactory = ({ IDL }) => {
|
|
|
894
919
|
[IDL.Vec(IDL.Tuple(IDL.Principal, IDL.Principal))],
|
|
895
920
|
['query'],
|
|
896
921
|
),
|
|
922
|
+
'getDepositSent' : IDL.Func(
|
|
923
|
+
[IDL.Text],
|
|
924
|
+
[
|
|
925
|
+
IDL.Opt(
|
|
926
|
+
IDL.Record({
|
|
927
|
+
'depositSent' : IDL.Opt(
|
|
928
|
+
IDL.Record({
|
|
929
|
+
'sentOn' : IDL.Text,
|
|
930
|
+
'recordedAt' : IDL.Int,
|
|
931
|
+
'amountPence' : IDL.Opt(IDL.Nat),
|
|
932
|
+
})
|
|
933
|
+
),
|
|
934
|
+
})
|
|
935
|
+
),
|
|
936
|
+
],
|
|
937
|
+
['query'],
|
|
938
|
+
),
|
|
897
939
|
'getDocumentStorageCanister' : IDL.Func(
|
|
898
940
|
[],
|
|
899
941
|
[IDL.Opt(IDL.Principal)],
|
|
@@ -948,6 +990,36 @@ export const idlFactory = ({ IDL }) => {
|
|
|
948
990
|
'getPhaseMilestones' : IDL.Func([IDL.Text], [Result_16], ['query']),
|
|
949
991
|
'getPropertyLogbookCanister' : IDL.Func([], [IDL.Text], ['query']),
|
|
950
992
|
'getPropertyRegistryCanister' : IDL.Func([], [IDL.Text], ['query']),
|
|
993
|
+
'getRegistrationRemindersDue' : IDL.Func(
|
|
994
|
+
[],
|
|
995
|
+
[
|
|
996
|
+
IDL.Vec(
|
|
997
|
+
IDL.Record({
|
|
998
|
+
'reminderNumber' : IDL.Nat,
|
|
999
|
+
'completedAt' : IDL.Int,
|
|
1000
|
+
'propertyAddress' : IDL.Text,
|
|
1001
|
+
'transactionId' : IDL.Text,
|
|
1002
|
+
})
|
|
1003
|
+
),
|
|
1004
|
+
],
|
|
1005
|
+
['query'],
|
|
1006
|
+
),
|
|
1007
|
+
'getRegistrationStatus' : IDL.Func(
|
|
1008
|
+
[IDL.Text],
|
|
1009
|
+
[
|
|
1010
|
+
IDL.Opt(
|
|
1011
|
+
IDL.Record({
|
|
1012
|
+
'completedAt' : IDL.Opt(IDL.Int),
|
|
1013
|
+
'submittedOn' : IDL.Opt(IDL.Text),
|
|
1014
|
+
'nextReminderAt' : IDL.Opt(IDL.Int),
|
|
1015
|
+
'applicationReference' : IDL.Opt(IDL.Text),
|
|
1016
|
+
'awaitingApplication' : IDL.Bool,
|
|
1017
|
+
'remindersDue' : IDL.Nat,
|
|
1018
|
+
})
|
|
1019
|
+
),
|
|
1020
|
+
],
|
|
1021
|
+
['query'],
|
|
1022
|
+
),
|
|
951
1023
|
'getSolicitorStatus' : IDL.Func([IDL.Text], [Result_15], ['query']),
|
|
952
1024
|
'getTA10' : IDL.Func([IDL.Text], [Result_14], ['query']),
|
|
953
1025
|
'getTA10ForPlatform' : IDL.Func([IDL.Text], [Result_14], ['query']),
|
|
@@ -1046,6 +1118,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1046
1118
|
[Result_1],
|
|
1047
1119
|
[],
|
|
1048
1120
|
),
|
|
1121
|
+
'recordDepositSent' : IDL.Func(
|
|
1122
|
+
[IDL.Text, IDL.Text, IDL.Opt(IDL.Nat)],
|
|
1123
|
+
[Result],
|
|
1124
|
+
[],
|
|
1125
|
+
),
|
|
1049
1126
|
'recordDocShareRevoked' : IDL.Func(
|
|
1050
1127
|
[IDL.Text, IDL.Text, IDL.Text],
|
|
1051
1128
|
[Result_1],
|
|
@@ -1094,6 +1171,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1094
1171
|
[],
|
|
1095
1172
|
),
|
|
1096
1173
|
'recordQuoteRequested' : IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
|
|
1174
|
+
'recordRegistrationApplication' : IDL.Func(
|
|
1175
|
+
[IDL.Text, IDL.Text, IDL.Text],
|
|
1176
|
+
[Result],
|
|
1177
|
+
[],
|
|
1178
|
+
),
|
|
1097
1179
|
'recordRequisition' : IDL.Func([IDL.Text, Requisition], [Result_1], []),
|
|
1098
1180
|
'removeParty' : IDL.Func([IDL.Text, IDL.Principal], [Result_1], []),
|
|
1099
1181
|
'removeSolicitor' : IDL.Func(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@propxchain/core-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0-canary.63",
|
|
4
4
|
"description": "Typed TypeScript client for the PropXchain core canisters on the Internet Computer. Includes a deterministic mock mode for local development and tests.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -935,6 +935,10 @@ service : {
|
|
|
935
935
|
backfillTransactionMembers: () -> (Result_25);
|
|
936
936
|
bootstrapDocumentStorageCanister: (canisterId: principal) -> (Result);
|
|
937
937
|
canAccessTransaction: (transactionId: text) -> (bool) query;
|
|
938
|
+
/// Keys released (Marc, 2026-11-05): confirmed by the seller's estate
|
|
939
|
+
/// agent (a seller-side delegate), or by the seller only when the seller
|
|
940
|
+
/// has no agent. Recorded once, after completion.
|
|
941
|
+
confirmKeysReleased: (transactionID: text) -> (Result);
|
|
938
942
|
connectBot: (transactionId: text, botPrincipal: principal, botName:
|
|
939
943
|
text) -> (Result_1);
|
|
940
944
|
consumeLandRegistryNotification: (notificationType: text,
|
|
@@ -970,6 +974,31 @@ service : {
|
|
|
970
974
|
buyer: bool;
|
|
971
975
|
seller: bool;
|
|
972
976
|
}) query;
|
|
977
|
+
/// How completion stands (Marc, 2026-11-05): whether each side has
|
|
978
|
+
/// confirmed and whether by its conveyancer or only by the client, which
|
|
979
|
+
/// sides have a verified conveyancer acting, and keys released. Members
|
|
980
|
+
/// only; a stranger gets null. Carries no principals.
|
|
981
|
+
getCompletionStatus: (transactionID: text) ->
|
|
982
|
+
(opt
|
|
983
|
+
record {
|
|
984
|
+
buyer: opt record {
|
|
985
|
+
at: int;
|
|
986
|
+
byConveyancer: bool;
|
|
987
|
+
};
|
|
988
|
+
conveyancerActing: record {
|
|
989
|
+
buyer: bool;
|
|
990
|
+
seller: bool;
|
|
991
|
+
};
|
|
992
|
+
keysReleased: opt record {
|
|
993
|
+
at: int;
|
|
994
|
+
byAgent: bool;
|
|
995
|
+
};
|
|
996
|
+
seller: opt record {
|
|
997
|
+
at: int;
|
|
998
|
+
byConveyancer: bool;
|
|
999
|
+
};
|
|
1000
|
+
status: text;
|
|
1001
|
+
}) query;
|
|
973
1002
|
getConveyancerSide: (user: principal, txId: text) ->
|
|
974
1003
|
(opt variant {
|
|
975
1004
|
buyer;
|
|
@@ -982,6 +1011,18 @@ service : {
|
|
|
982
1011
|
principal;
|
|
983
1012
|
principal;
|
|
984
1013
|
}) query;
|
|
1014
|
+
/// Deposit sent, for anyone on the deal (both conveyancers and the
|
|
1015
|
+
/// parties). Outer null: not found or not a member. Inner null: not yet
|
|
1016
|
+
/// recorded. Carries no principals.
|
|
1017
|
+
getDepositSent: (transactionID: text) ->
|
|
1018
|
+
(opt
|
|
1019
|
+
record {
|
|
1020
|
+
depositSent:
|
|
1021
|
+
opt record {
|
|
1022
|
+
amountPence: opt nat;
|
|
1023
|
+
recordedAt: int;
|
|
1024
|
+
sentOn: text;
|
|
1025
|
+
};}) query;
|
|
985
1026
|
getDocumentStorageCanister: () -> (opt principal) query;
|
|
986
1027
|
getExpiringSearches: (withinDays: nat) -> (vec Transaction) query;
|
|
987
1028
|
getFlowState: (transactionId: text) -> (opt text) query;
|
|
@@ -1012,6 +1053,33 @@ service : {
|
|
|
1012
1053
|
getPhaseMilestones: (transactionId: text) -> (Result_16) query;
|
|
1013
1054
|
getPropertyLogbookCanister: () -> (text) query;
|
|
1014
1055
|
getPropertyRegistryCanister: () -> (text) query;
|
|
1056
|
+
/// For the transaction monitor's daily run: completed deals still awaiting
|
|
1057
|
+
/// the registration application, with whole weeks since completion (1 from
|
|
1058
|
+
/// a week, 2 from two weeks, ...). The monitor reminds the buyer's
|
|
1059
|
+
/// conveyancer at 1 and 2 and from 3 escalates once to PropXchain admin
|
|
1060
|
+
/// (Marc, 2026-11-11), so deals past two weeks stay listed. Monitor or
|
|
1061
|
+
/// emergency admin only; ids, the property address (general data) and times.
|
|
1062
|
+
getRegistrationRemindersDue: () ->
|
|
1063
|
+
(vec
|
|
1064
|
+
record {
|
|
1065
|
+
completedAt: int;
|
|
1066
|
+
propertyAddress: text;
|
|
1067
|
+
reminderNumber: nat;
|
|
1068
|
+
transactionId: text;
|
|
1069
|
+
}) query;
|
|
1070
|
+
/// Where registration stands, for anyone on the deal: completion time,
|
|
1071
|
+
/// whether the application is still awaited, what was recorded, and the
|
|
1072
|
+
/// weekly reminder count and next due time while it is awaited.
|
|
1073
|
+
getRegistrationStatus: (transactionID: text) ->
|
|
1074
|
+
(opt
|
|
1075
|
+
record {
|
|
1076
|
+
applicationReference: opt text;
|
|
1077
|
+
awaitingApplication: bool;
|
|
1078
|
+
completedAt: opt int;
|
|
1079
|
+
nextReminderAt: opt int;
|
|
1080
|
+
remindersDue: nat;
|
|
1081
|
+
submittedOn: opt text;
|
|
1082
|
+
}) query;
|
|
1015
1083
|
getSolicitorStatus: (transactionId: text) -> (Result_15) query;
|
|
1016
1084
|
getTA10: (txId: text) -> (Result_14) query;
|
|
1017
1085
|
getTA10ForPlatform: (txId: text) -> (Result_14) query;
|
|
@@ -1109,6 +1177,13 @@ service : {
|
|
|
1109
1177
|
text, sellerSolicitorSignature: text) -> (Result);
|
|
1110
1178
|
recordConveyancerSelected: (txId: text, conveyancerId: text,
|
|
1111
1179
|
acceptedQuoteHash: text, finalAmountPence: nat) -> (Result_1);
|
|
1180
|
+
/// The buyer's conveyancer records that the deposit was sent: the date
|
|
1181
|
+
/// (YYYY-MM-DD, not in the future) and optionally the amount in pence.
|
|
1182
|
+
/// Once per deal, before completion. No payment reference: a bank
|
|
1183
|
+
/// reference usually carries the client's name or address (PII), and this
|
|
1184
|
+
/// store and the audit trail are immutable.
|
|
1185
|
+
recordDepositSent: (transactionID: text, sentOn: text, amountPence:
|
|
1186
|
+
opt nat) -> (Result);
|
|
1112
1187
|
recordDocShareRevoked: (txId: text, docHash: text, partyPrincipal:
|
|
1113
1188
|
text) -> (Result_1);
|
|
1114
1189
|
recordDocShared: (txId: text, docHash: text, partyPrincipal: text) ->
|
|
@@ -1135,6 +1210,11 @@ service : {
|
|
|
1135
1210
|
recordQuoteReceived: (txId: text, conveyancerId: text, quoteHash: text,
|
|
1136
1211
|
quotedAmountPence: nat) -> (Result_1);
|
|
1137
1212
|
recordQuoteRequested: (txId: text, conveyancerId: text) -> (Result_1);
|
|
1213
|
+
/// After completion the buyer's conveyancer records the registration
|
|
1214
|
+
/// application they submitted to HMLR (through their own portal or PEXA):
|
|
1215
|
+
/// the date it went in and HMLR's application reference. Once per deal.
|
|
1216
|
+
recordRegistrationApplication: (transactionID: text, submittedOn: text,
|
|
1217
|
+
applicationReference: text) -> (Result);
|
|
1138
1218
|
/// Closes #31 (TOCTOU): per-transaction lock blocks concurrent mutation
|
|
1139
1219
|
/// while the isAdmin await is in flight.
|
|
1140
1220
|
recordRequisition: (transactionID: text, requisition: Requisition) ->
|
|
@@ -740,6 +740,7 @@ export interface _SERVICE {
|
|
|
740
740
|
'backfillTransactionMembers' : ActorMethod<[], Result_25>,
|
|
741
741
|
'bootstrapDocumentStorageCanister' : ActorMethod<[Principal], Result>,
|
|
742
742
|
'canAccessTransaction' : ActorMethod<[string], boolean>,
|
|
743
|
+
'confirmKeysReleased' : ActorMethod<[string], Result>,
|
|
743
744
|
'connectBot' : ActorMethod<[string, Principal, string], Result_1>,
|
|
744
745
|
'consumeLandRegistryNotification' : ActorMethod<
|
|
745
746
|
[string, [] | [string], [] | [string], string, Array<[string, string]>],
|
|
@@ -795,6 +796,18 @@ export interface _SERVICE {
|
|
|
795
796
|
[string],
|
|
796
797
|
[] | [{ 'buyer' : boolean, 'seller' : boolean }]
|
|
797
798
|
>,
|
|
799
|
+
'getCompletionStatus' : ActorMethod<
|
|
800
|
+
[string],
|
|
801
|
+
[] | [
|
|
802
|
+
{
|
|
803
|
+
'status' : string,
|
|
804
|
+
'seller' : [] | [{ 'at' : bigint, 'byConveyancer' : boolean }],
|
|
805
|
+
'conveyancerActing' : { 'seller' : boolean, 'buyer' : boolean },
|
|
806
|
+
'keysReleased' : [] | [{ 'at' : bigint, 'byAgent' : boolean }],
|
|
807
|
+
'buyer' : [] | [{ 'at' : bigint, 'byConveyancer' : boolean }],
|
|
808
|
+
}
|
|
809
|
+
]
|
|
810
|
+
>,
|
|
798
811
|
'getConveyancerSide' : ActorMethod<
|
|
799
812
|
[Principal, string],
|
|
800
813
|
[] | [{ 'buyer' : null } | { 'seller' : null }]
|
|
@@ -802,6 +815,20 @@ export interface _SERVICE {
|
|
|
802
815
|
'getCurrentPhase' : ActorMethod<[string], Result_22>,
|
|
803
816
|
'getCycles' : ActorMethod<[], bigint>,
|
|
804
817
|
'getDelegates' : ActorMethod<[string], Array<[Principal, Principal]>>,
|
|
818
|
+
'getDepositSent' : ActorMethod<
|
|
819
|
+
[string],
|
|
820
|
+
[] | [
|
|
821
|
+
{
|
|
822
|
+
'depositSent' : [] | [
|
|
823
|
+
{
|
|
824
|
+
'sentOn' : string,
|
|
825
|
+
'recordedAt' : bigint,
|
|
826
|
+
'amountPence' : [] | [bigint],
|
|
827
|
+
}
|
|
828
|
+
],
|
|
829
|
+
}
|
|
830
|
+
]
|
|
831
|
+
>,
|
|
805
832
|
'getDocumentStorageCanister' : ActorMethod<[], [] | [Principal]>,
|
|
806
833
|
'getExpiringSearches' : ActorMethod<[bigint], Array<Transaction>>,
|
|
807
834
|
'getFlowState' : ActorMethod<[string], [] | [string]>,
|
|
@@ -830,6 +857,30 @@ export interface _SERVICE {
|
|
|
830
857
|
'getPhaseMilestones' : ActorMethod<[string], Result_16>,
|
|
831
858
|
'getPropertyLogbookCanister' : ActorMethod<[], string>,
|
|
832
859
|
'getPropertyRegistryCanister' : ActorMethod<[], string>,
|
|
860
|
+
'getRegistrationRemindersDue' : ActorMethod<
|
|
861
|
+
[],
|
|
862
|
+
Array<
|
|
863
|
+
{
|
|
864
|
+
'reminderNumber' : bigint,
|
|
865
|
+
'completedAt' : bigint,
|
|
866
|
+
'propertyAddress' : string,
|
|
867
|
+
'transactionId' : string,
|
|
868
|
+
}
|
|
869
|
+
>
|
|
870
|
+
>,
|
|
871
|
+
'getRegistrationStatus' : ActorMethod<
|
|
872
|
+
[string],
|
|
873
|
+
[] | [
|
|
874
|
+
{
|
|
875
|
+
'completedAt' : [] | [bigint],
|
|
876
|
+
'submittedOn' : [] | [string],
|
|
877
|
+
'nextReminderAt' : [] | [bigint],
|
|
878
|
+
'applicationReference' : [] | [string],
|
|
879
|
+
'awaitingApplication' : boolean,
|
|
880
|
+
'remindersDue' : bigint,
|
|
881
|
+
}
|
|
882
|
+
]
|
|
883
|
+
>,
|
|
833
884
|
'getSolicitorStatus' : ActorMethod<[string], Result_15>,
|
|
834
885
|
'getTA10' : ActorMethod<[string], Result_14>,
|
|
835
886
|
'getTA10ForPlatform' : ActorMethod<[string], Result_14>,
|
|
@@ -934,6 +985,7 @@ export interface _SERVICE {
|
|
|
934
985
|
[string, string, string, bigint],
|
|
935
986
|
Result_1
|
|
936
987
|
>,
|
|
988
|
+
'recordDepositSent' : ActorMethod<[string, string, [] | [bigint]], Result>,
|
|
937
989
|
'recordDocShareRevoked' : ActorMethod<[string, string, string], Result_1>,
|
|
938
990
|
'recordDocShared' : ActorMethod<[string, string, string], Result_1>,
|
|
939
991
|
'recordDocumentFact' : ActorMethod<
|
|
@@ -959,6 +1011,10 @@ export interface _SERVICE {
|
|
|
959
1011
|
Result_1
|
|
960
1012
|
>,
|
|
961
1013
|
'recordQuoteRequested' : ActorMethod<[string, string], Result_1>,
|
|
1014
|
+
'recordRegistrationApplication' : ActorMethod<
|
|
1015
|
+
[string, string, string],
|
|
1016
|
+
Result
|
|
1017
|
+
>,
|
|
962
1018
|
/**
|
|
963
1019
|
* / Closes #31 (TOCTOU): per-transaction lock blocks concurrent mutation
|
|
964
1020
|
* / while the isAdmin await is in flight.
|
|
@@ -809,6 +809,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
809
809
|
[],
|
|
810
810
|
),
|
|
811
811
|
'canAccessTransaction' : IDL.Func([IDL.Text], [IDL.Bool], ['query']),
|
|
812
|
+
'confirmKeysReleased' : IDL.Func([IDL.Text], [Result], []),
|
|
812
813
|
'connectBot' : IDL.Func(
|
|
813
814
|
[IDL.Text, IDL.Principal, IDL.Text],
|
|
814
815
|
[Result_1],
|
|
@@ -882,6 +883,30 @@ export const idlFactory = ({ IDL }) => {
|
|
|
882
883
|
[IDL.Opt(IDL.Record({ 'buyer' : IDL.Bool, 'seller' : IDL.Bool }))],
|
|
883
884
|
['query'],
|
|
884
885
|
),
|
|
886
|
+
'getCompletionStatus' : IDL.Func(
|
|
887
|
+
[IDL.Text],
|
|
888
|
+
[
|
|
889
|
+
IDL.Opt(
|
|
890
|
+
IDL.Record({
|
|
891
|
+
'status' : IDL.Text,
|
|
892
|
+
'seller' : IDL.Opt(
|
|
893
|
+
IDL.Record({ 'at' : IDL.Int, 'byConveyancer' : IDL.Bool })
|
|
894
|
+
),
|
|
895
|
+
'conveyancerActing' : IDL.Record({
|
|
896
|
+
'seller' : IDL.Bool,
|
|
897
|
+
'buyer' : IDL.Bool,
|
|
898
|
+
}),
|
|
899
|
+
'keysReleased' : IDL.Opt(
|
|
900
|
+
IDL.Record({ 'at' : IDL.Int, 'byAgent' : IDL.Bool })
|
|
901
|
+
),
|
|
902
|
+
'buyer' : IDL.Opt(
|
|
903
|
+
IDL.Record({ 'at' : IDL.Int, 'byConveyancer' : IDL.Bool })
|
|
904
|
+
),
|
|
905
|
+
})
|
|
906
|
+
),
|
|
907
|
+
],
|
|
908
|
+
['query'],
|
|
909
|
+
),
|
|
885
910
|
'getConveyancerSide' : IDL.Func(
|
|
886
911
|
[IDL.Principal, IDL.Text],
|
|
887
912
|
[IDL.Opt(IDL.Variant({ 'buyer' : IDL.Null, 'seller' : IDL.Null }))],
|
|
@@ -894,6 +919,23 @@ export const idlFactory = ({ IDL }) => {
|
|
|
894
919
|
[IDL.Vec(IDL.Tuple(IDL.Principal, IDL.Principal))],
|
|
895
920
|
['query'],
|
|
896
921
|
),
|
|
922
|
+
'getDepositSent' : IDL.Func(
|
|
923
|
+
[IDL.Text],
|
|
924
|
+
[
|
|
925
|
+
IDL.Opt(
|
|
926
|
+
IDL.Record({
|
|
927
|
+
'depositSent' : IDL.Opt(
|
|
928
|
+
IDL.Record({
|
|
929
|
+
'sentOn' : IDL.Text,
|
|
930
|
+
'recordedAt' : IDL.Int,
|
|
931
|
+
'amountPence' : IDL.Opt(IDL.Nat),
|
|
932
|
+
})
|
|
933
|
+
),
|
|
934
|
+
})
|
|
935
|
+
),
|
|
936
|
+
],
|
|
937
|
+
['query'],
|
|
938
|
+
),
|
|
897
939
|
'getDocumentStorageCanister' : IDL.Func(
|
|
898
940
|
[],
|
|
899
941
|
[IDL.Opt(IDL.Principal)],
|
|
@@ -948,6 +990,36 @@ export const idlFactory = ({ IDL }) => {
|
|
|
948
990
|
'getPhaseMilestones' : IDL.Func([IDL.Text], [Result_16], ['query']),
|
|
949
991
|
'getPropertyLogbookCanister' : IDL.Func([], [IDL.Text], ['query']),
|
|
950
992
|
'getPropertyRegistryCanister' : IDL.Func([], [IDL.Text], ['query']),
|
|
993
|
+
'getRegistrationRemindersDue' : IDL.Func(
|
|
994
|
+
[],
|
|
995
|
+
[
|
|
996
|
+
IDL.Vec(
|
|
997
|
+
IDL.Record({
|
|
998
|
+
'reminderNumber' : IDL.Nat,
|
|
999
|
+
'completedAt' : IDL.Int,
|
|
1000
|
+
'propertyAddress' : IDL.Text,
|
|
1001
|
+
'transactionId' : IDL.Text,
|
|
1002
|
+
})
|
|
1003
|
+
),
|
|
1004
|
+
],
|
|
1005
|
+
['query'],
|
|
1006
|
+
),
|
|
1007
|
+
'getRegistrationStatus' : IDL.Func(
|
|
1008
|
+
[IDL.Text],
|
|
1009
|
+
[
|
|
1010
|
+
IDL.Opt(
|
|
1011
|
+
IDL.Record({
|
|
1012
|
+
'completedAt' : IDL.Opt(IDL.Int),
|
|
1013
|
+
'submittedOn' : IDL.Opt(IDL.Text),
|
|
1014
|
+
'nextReminderAt' : IDL.Opt(IDL.Int),
|
|
1015
|
+
'applicationReference' : IDL.Opt(IDL.Text),
|
|
1016
|
+
'awaitingApplication' : IDL.Bool,
|
|
1017
|
+
'remindersDue' : IDL.Nat,
|
|
1018
|
+
})
|
|
1019
|
+
),
|
|
1020
|
+
],
|
|
1021
|
+
['query'],
|
|
1022
|
+
),
|
|
951
1023
|
'getSolicitorStatus' : IDL.Func([IDL.Text], [Result_15], ['query']),
|
|
952
1024
|
'getTA10' : IDL.Func([IDL.Text], [Result_14], ['query']),
|
|
953
1025
|
'getTA10ForPlatform' : IDL.Func([IDL.Text], [Result_14], ['query']),
|
|
@@ -1046,6 +1118,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1046
1118
|
[Result_1],
|
|
1047
1119
|
[],
|
|
1048
1120
|
),
|
|
1121
|
+
'recordDepositSent' : IDL.Func(
|
|
1122
|
+
[IDL.Text, IDL.Text, IDL.Opt(IDL.Nat)],
|
|
1123
|
+
[Result],
|
|
1124
|
+
[],
|
|
1125
|
+
),
|
|
1049
1126
|
'recordDocShareRevoked' : IDL.Func(
|
|
1050
1127
|
[IDL.Text, IDL.Text, IDL.Text],
|
|
1051
1128
|
[Result_1],
|
|
@@ -1094,6 +1171,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1094
1171
|
[],
|
|
1095
1172
|
),
|
|
1096
1173
|
'recordQuoteRequested' : IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
|
|
1174
|
+
'recordRegistrationApplication' : IDL.Func(
|
|
1175
|
+
[IDL.Text, IDL.Text, IDL.Text],
|
|
1176
|
+
[Result],
|
|
1177
|
+
[],
|
|
1178
|
+
),
|
|
1097
1179
|
'recordRequisition' : IDL.Func([IDL.Text, Requisition], [Result_1], []),
|
|
1098
1180
|
'removeParty' : IDL.Func([IDL.Text, IDL.Principal], [Result_1], []),
|
|
1099
1181
|
'removeSolicitor' : IDL.Func(
|