@propxchain/core-client 0.23.0-canary.62 → 0.25.0-canary.64
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 +43 -0
- package/dist/canisters/transaction_manager/transaction_manager.did.js +57 -0
- package/dist/canisters/user_management/user_management.did.d.ts +1 -0
- package/dist/canisters/user_management/user_management.did.js +5 -0
- package/package.json +1 -1
- package/src/canisters/transaction_manager/transaction_manager.did +58 -0
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +43 -0
- package/src/canisters/transaction_manager/transaction_manager.did.js +57 -0
- package/src/canisters/user_management/user_management.did +2 -0
- package/src/canisters/user_management/user_management.did.d.ts +1 -0
- package/src/canisters/user_management/user_management.did.js +5 -0
|
@@ -815,6 +815,20 @@ export interface _SERVICE {
|
|
|
815
815
|
'getCurrentPhase' : ActorMethod<[string], Result_22>,
|
|
816
816
|
'getCycles' : ActorMethod<[], bigint>,
|
|
817
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
|
+
>,
|
|
818
832
|
'getDocumentStorageCanister' : ActorMethod<[], [] | [Principal]>,
|
|
819
833
|
'getExpiringSearches' : ActorMethod<[bigint], Array<Transaction>>,
|
|
820
834
|
'getFlowState' : ActorMethod<[string], [] | [string]>,
|
|
@@ -843,6 +857,30 @@ export interface _SERVICE {
|
|
|
843
857
|
'getPhaseMilestones' : ActorMethod<[string], Result_16>,
|
|
844
858
|
'getPropertyLogbookCanister' : ActorMethod<[], string>,
|
|
845
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
|
+
>,
|
|
846
884
|
'getSolicitorStatus' : ActorMethod<[string], Result_15>,
|
|
847
885
|
'getTA10' : ActorMethod<[string], Result_14>,
|
|
848
886
|
'getTA10ForPlatform' : ActorMethod<[string], Result_14>,
|
|
@@ -947,6 +985,7 @@ export interface _SERVICE {
|
|
|
947
985
|
[string, string, string, bigint],
|
|
948
986
|
Result_1
|
|
949
987
|
>,
|
|
988
|
+
'recordDepositSent' : ActorMethod<[string, string, [] | [bigint]], Result>,
|
|
950
989
|
'recordDocShareRevoked' : ActorMethod<[string, string, string], Result_1>,
|
|
951
990
|
'recordDocShared' : ActorMethod<[string, string, string], Result_1>,
|
|
952
991
|
'recordDocumentFact' : ActorMethod<
|
|
@@ -972,6 +1011,10 @@ export interface _SERVICE {
|
|
|
972
1011
|
Result_1
|
|
973
1012
|
>,
|
|
974
1013
|
'recordQuoteRequested' : ActorMethod<[string, string], Result_1>,
|
|
1014
|
+
'recordRegistrationApplication' : ActorMethod<
|
|
1015
|
+
[string, string, string],
|
|
1016
|
+
Result
|
|
1017
|
+
>,
|
|
975
1018
|
/**
|
|
976
1019
|
* / Closes #31 (TOCTOU): per-transaction lock blocks concurrent mutation
|
|
977
1020
|
* / while the isAdmin await is in flight.
|
|
@@ -919,6 +919,23 @@ export const idlFactory = ({ IDL }) => {
|
|
|
919
919
|
[IDL.Vec(IDL.Tuple(IDL.Principal, IDL.Principal))],
|
|
920
920
|
['query'],
|
|
921
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
|
+
),
|
|
922
939
|
'getDocumentStorageCanister' : IDL.Func(
|
|
923
940
|
[],
|
|
924
941
|
[IDL.Opt(IDL.Principal)],
|
|
@@ -973,6 +990,36 @@ export const idlFactory = ({ IDL }) => {
|
|
|
973
990
|
'getPhaseMilestones' : IDL.Func([IDL.Text], [Result_16], ['query']),
|
|
974
991
|
'getPropertyLogbookCanister' : IDL.Func([], [IDL.Text], ['query']),
|
|
975
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
|
+
),
|
|
976
1023
|
'getSolicitorStatus' : IDL.Func([IDL.Text], [Result_15], ['query']),
|
|
977
1024
|
'getTA10' : IDL.Func([IDL.Text], [Result_14], ['query']),
|
|
978
1025
|
'getTA10ForPlatform' : IDL.Func([IDL.Text], [Result_14], ['query']),
|
|
@@ -1071,6 +1118,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1071
1118
|
[Result_1],
|
|
1072
1119
|
[],
|
|
1073
1120
|
),
|
|
1121
|
+
'recordDepositSent' : IDL.Func(
|
|
1122
|
+
[IDL.Text, IDL.Text, IDL.Opt(IDL.Nat)],
|
|
1123
|
+
[Result],
|
|
1124
|
+
[],
|
|
1125
|
+
),
|
|
1074
1126
|
'recordDocShareRevoked' : IDL.Func(
|
|
1075
1127
|
[IDL.Text, IDL.Text, IDL.Text],
|
|
1076
1128
|
[Result_1],
|
|
@@ -1119,6 +1171,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1119
1171
|
[],
|
|
1120
1172
|
),
|
|
1121
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
|
+
),
|
|
1122
1179
|
'recordRequisition' : IDL.Func([IDL.Text, Requisition], [Result_1], []),
|
|
1123
1180
|
'removeParty' : IDL.Func([IDL.Text, IDL.Principal], [Result_1], []),
|
|
1124
1181
|
'removeSolicitor' : IDL.Func(
|
|
@@ -381,6 +381,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
381
381
|
[IDL.Bool],
|
|
382
382
|
[],
|
|
383
383
|
),
|
|
384
|
+
'removeTransactionMember' : IDL.Func(
|
|
385
|
+
[IDL.Text, IDL.Principal],
|
|
386
|
+
[IDL.Bool],
|
|
387
|
+
[],
|
|
388
|
+
),
|
|
384
389
|
'repairTransactionMemberRole' : IDL.Func(
|
|
385
390
|
[IDL.Text, IDL.Principal, UserType],
|
|
386
391
|
[IDL.Bool],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@propxchain/core-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0-canary.64",
|
|
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,9 @@ 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.
|
|
938
941
|
confirmKeysReleased: (transactionID: text) -> (Result);
|
|
939
942
|
connectBot: (transactionId: text, botPrincipal: principal, botName:
|
|
940
943
|
text) -> (Result_1);
|
|
@@ -971,6 +974,10 @@ service : {
|
|
|
971
974
|
buyer: bool;
|
|
972
975
|
seller: bool;
|
|
973
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.
|
|
974
981
|
getCompletionStatus: (transactionID: text) ->
|
|
975
982
|
(opt
|
|
976
983
|
record {
|
|
@@ -1004,6 +1011,18 @@ service : {
|
|
|
1004
1011
|
principal;
|
|
1005
1012
|
principal;
|
|
1006
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;
|
|
1007
1026
|
getDocumentStorageCanister: () -> (opt principal) query;
|
|
1008
1027
|
getExpiringSearches: (withinDays: nat) -> (vec Transaction) query;
|
|
1009
1028
|
getFlowState: (transactionId: text) -> (opt text) query;
|
|
@@ -1034,6 +1053,33 @@ service : {
|
|
|
1034
1053
|
getPhaseMilestones: (transactionId: text) -> (Result_16) query;
|
|
1035
1054
|
getPropertyLogbookCanister: () -> (text) query;
|
|
1036
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;
|
|
1037
1083
|
getSolicitorStatus: (transactionId: text) -> (Result_15) query;
|
|
1038
1084
|
getTA10: (txId: text) -> (Result_14) query;
|
|
1039
1085
|
getTA10ForPlatform: (txId: text) -> (Result_14) query;
|
|
@@ -1131,6 +1177,13 @@ service : {
|
|
|
1131
1177
|
text, sellerSolicitorSignature: text) -> (Result);
|
|
1132
1178
|
recordConveyancerSelected: (txId: text, conveyancerId: text,
|
|
1133
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);
|
|
1134
1187
|
recordDocShareRevoked: (txId: text, docHash: text, partyPrincipal:
|
|
1135
1188
|
text) -> (Result_1);
|
|
1136
1189
|
recordDocShared: (txId: text, docHash: text, partyPrincipal: text) ->
|
|
@@ -1157,6 +1210,11 @@ service : {
|
|
|
1157
1210
|
recordQuoteReceived: (txId: text, conveyancerId: text, quoteHash: text,
|
|
1158
1211
|
quotedAmountPence: nat) -> (Result_1);
|
|
1159
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);
|
|
1160
1218
|
/// Closes #31 (TOCTOU): per-transaction lock blocks concurrent mutation
|
|
1161
1219
|
/// while the isAdmin await is in flight.
|
|
1162
1220
|
recordRequisition: (transactionID: text, requisition: Requisition) ->
|
|
@@ -815,6 +815,20 @@ export interface _SERVICE {
|
|
|
815
815
|
'getCurrentPhase' : ActorMethod<[string], Result_22>,
|
|
816
816
|
'getCycles' : ActorMethod<[], bigint>,
|
|
817
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
|
+
>,
|
|
818
832
|
'getDocumentStorageCanister' : ActorMethod<[], [] | [Principal]>,
|
|
819
833
|
'getExpiringSearches' : ActorMethod<[bigint], Array<Transaction>>,
|
|
820
834
|
'getFlowState' : ActorMethod<[string], [] | [string]>,
|
|
@@ -843,6 +857,30 @@ export interface _SERVICE {
|
|
|
843
857
|
'getPhaseMilestones' : ActorMethod<[string], Result_16>,
|
|
844
858
|
'getPropertyLogbookCanister' : ActorMethod<[], string>,
|
|
845
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
|
+
>,
|
|
846
884
|
'getSolicitorStatus' : ActorMethod<[string], Result_15>,
|
|
847
885
|
'getTA10' : ActorMethod<[string], Result_14>,
|
|
848
886
|
'getTA10ForPlatform' : ActorMethod<[string], Result_14>,
|
|
@@ -947,6 +985,7 @@ export interface _SERVICE {
|
|
|
947
985
|
[string, string, string, bigint],
|
|
948
986
|
Result_1
|
|
949
987
|
>,
|
|
988
|
+
'recordDepositSent' : ActorMethod<[string, string, [] | [bigint]], Result>,
|
|
950
989
|
'recordDocShareRevoked' : ActorMethod<[string, string, string], Result_1>,
|
|
951
990
|
'recordDocShared' : ActorMethod<[string, string, string], Result_1>,
|
|
952
991
|
'recordDocumentFact' : ActorMethod<
|
|
@@ -972,6 +1011,10 @@ export interface _SERVICE {
|
|
|
972
1011
|
Result_1
|
|
973
1012
|
>,
|
|
974
1013
|
'recordQuoteRequested' : ActorMethod<[string, string], Result_1>,
|
|
1014
|
+
'recordRegistrationApplication' : ActorMethod<
|
|
1015
|
+
[string, string, string],
|
|
1016
|
+
Result
|
|
1017
|
+
>,
|
|
975
1018
|
/**
|
|
976
1019
|
* / Closes #31 (TOCTOU): per-transaction lock blocks concurrent mutation
|
|
977
1020
|
* / while the isAdmin await is in flight.
|
|
@@ -919,6 +919,23 @@ export const idlFactory = ({ IDL }) => {
|
|
|
919
919
|
[IDL.Vec(IDL.Tuple(IDL.Principal, IDL.Principal))],
|
|
920
920
|
['query'],
|
|
921
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
|
+
),
|
|
922
939
|
'getDocumentStorageCanister' : IDL.Func(
|
|
923
940
|
[],
|
|
924
941
|
[IDL.Opt(IDL.Principal)],
|
|
@@ -973,6 +990,36 @@ export const idlFactory = ({ IDL }) => {
|
|
|
973
990
|
'getPhaseMilestones' : IDL.Func([IDL.Text], [Result_16], ['query']),
|
|
974
991
|
'getPropertyLogbookCanister' : IDL.Func([], [IDL.Text], ['query']),
|
|
975
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
|
+
),
|
|
976
1023
|
'getSolicitorStatus' : IDL.Func([IDL.Text], [Result_15], ['query']),
|
|
977
1024
|
'getTA10' : IDL.Func([IDL.Text], [Result_14], ['query']),
|
|
978
1025
|
'getTA10ForPlatform' : IDL.Func([IDL.Text], [Result_14], ['query']),
|
|
@@ -1071,6 +1118,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1071
1118
|
[Result_1],
|
|
1072
1119
|
[],
|
|
1073
1120
|
),
|
|
1121
|
+
'recordDepositSent' : IDL.Func(
|
|
1122
|
+
[IDL.Text, IDL.Text, IDL.Opt(IDL.Nat)],
|
|
1123
|
+
[Result],
|
|
1124
|
+
[],
|
|
1125
|
+
),
|
|
1074
1126
|
'recordDocShareRevoked' : IDL.Func(
|
|
1075
1127
|
[IDL.Text, IDL.Text, IDL.Text],
|
|
1076
1128
|
[Result_1],
|
|
@@ -1119,6 +1171,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1119
1171
|
[],
|
|
1120
1172
|
),
|
|
1121
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
|
+
),
|
|
1122
1179
|
'recordRequisition' : IDL.Func([IDL.Text, Requisition], [Result_1], []),
|
|
1123
1180
|
'removeParty' : IDL.Func([IDL.Text, IDL.Principal], [Result_1], []),
|
|
1124
1181
|
'removeSolicitor' : IDL.Func(
|
|
@@ -319,6 +319,8 @@ service : {
|
|
|
319
319
|
registerUserV2: (name: text, email: text, mobile: text, userType: UserType,
|
|
320
320
|
solicitorLicenseNumber: opt text, lawFirmName: opt text, lawFirmAddress:
|
|
321
321
|
opt text, sraNumber: opt text, csrfToken: text) -> (bool);
|
|
322
|
+
removeTransactionMember: (transactionId: text, memberPrincipal:
|
|
323
|
+
principal) -> (bool);
|
|
322
324
|
repairTransactionMemberRole: (transactionId: text, memberPrincipal:
|
|
323
325
|
principal, role: UserType) -> (bool);
|
|
324
326
|
resendVerificationEmail: (csrfToken: text) -> (bool);
|
|
@@ -381,6 +381,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
381
381
|
[IDL.Bool],
|
|
382
382
|
[],
|
|
383
383
|
),
|
|
384
|
+
'removeTransactionMember' : IDL.Func(
|
|
385
|
+
[IDL.Text, IDL.Principal],
|
|
386
|
+
[IDL.Bool],
|
|
387
|
+
[],
|
|
388
|
+
),
|
|
384
389
|
'repairTransactionMemberRole' : IDL.Func(
|
|
385
390
|
[IDL.Text, IDL.Principal, UserType],
|
|
386
391
|
[IDL.Bool],
|