@propxchain/core-client 0.26.0-canary.65 → 0.28.0-canary.67
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 +32 -0
- package/dist/canisters/transaction_manager/transaction_manager.did.js +39 -0
- package/package.json +1 -1
- package/src/canisters/transaction_manager/transaction_manager.did +38 -9
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +32 -0
- package/src/canisters/transaction_manager/transaction_manager.did.js +39 -0
|
@@ -60,6 +60,12 @@ export interface Arrangement {
|
|
|
60
60
|
'document' : TA6Document,
|
|
61
61
|
'contributionAmount' : [] | [bigint],
|
|
62
62
|
}
|
|
63
|
+
export interface AuditWriteFailure {
|
|
64
|
+
'at' : bigint,
|
|
65
|
+
'transactionId' : string,
|
|
66
|
+
'eventType' : string,
|
|
67
|
+
'reason' : string,
|
|
68
|
+
}
|
|
63
69
|
export interface BotConnection {
|
|
64
70
|
'attribution' : string,
|
|
65
71
|
'clientId' : [] | [string],
|
|
@@ -95,6 +101,11 @@ export interface FormAnswer {
|
|
|
95
101
|
'answer' : string,
|
|
96
102
|
'details' : [] | [string],
|
|
97
103
|
}
|
|
104
|
+
export interface Health {
|
|
105
|
+
'failures' : bigint,
|
|
106
|
+
'lastFailureAt' : [] | [bigint],
|
|
107
|
+
'totalSinceDeploy' : bigint,
|
|
108
|
+
}
|
|
98
109
|
export interface HeatingSystem {
|
|
99
110
|
'certificate' : TA6Document,
|
|
100
111
|
'otherDetails' : [] | [string],
|
|
@@ -717,6 +728,8 @@ export interface WaterConnection {
|
|
|
717
728
|
'meterLocation' : [] | [string],
|
|
718
729
|
'connected' : TA6Answer,
|
|
719
730
|
}
|
|
731
|
+
export type Basis = { 'asking' : null } |
|
|
732
|
+
{ 'agreed' : null };
|
|
720
733
|
export interface _SERVICE {
|
|
721
734
|
'acknowledgeTA6Wording' : ActorMethod<[string], Result_1>,
|
|
722
735
|
'addParty' : ActorMethod<[string, string, string, string, boolean], Result_2>,
|
|
@@ -735,11 +748,26 @@ export interface _SERVICE {
|
|
|
735
748
|
],
|
|
736
749
|
Result_1
|
|
737
750
|
>,
|
|
751
|
+
'assignConveyancerFromPlatformV2' : ActorMethod<
|
|
752
|
+
[
|
|
753
|
+
string,
|
|
754
|
+
Principal,
|
|
755
|
+
string,
|
|
756
|
+
string,
|
|
757
|
+
string,
|
|
758
|
+
RegulatoryBody,
|
|
759
|
+
string,
|
|
760
|
+
{ 'seller' : null } |
|
|
761
|
+
{ 'buyer' : null },
|
|
762
|
+
],
|
|
763
|
+
Result_1
|
|
764
|
+
>,
|
|
738
765
|
'assignSolicitor' : ActorMethod<[string, Principal], Result>,
|
|
739
766
|
'assignSolicitorRecord' : ActorMethod<[string, SolicitorRecord], Result_1>,
|
|
740
767
|
'backfillTransactionMembers' : ActorMethod<[], Result_25>,
|
|
741
768
|
'bootstrapDocumentStorageCanister' : ActorMethod<[Principal], Result>,
|
|
742
769
|
'canAccessTransaction' : ActorMethod<[string], boolean>,
|
|
770
|
+
'clearAuditWriteFailures' : ActorMethod<[], undefined>,
|
|
743
771
|
'confirmKeysReleased' : ActorMethod<[string], Result>,
|
|
744
772
|
'connectBot' : ActorMethod<[string, Principal, string], Result_1>,
|
|
745
773
|
'consumeLandRegistryNotification' : ActorMethod<
|
|
@@ -792,6 +820,8 @@ export interface _SERVICE {
|
|
|
792
820
|
'getAllInviteCodes' : ActorMethod<[], Array<[string, string]>>,
|
|
793
821
|
'getAllTransactions' : ActorMethod<[], Array<Transaction>>,
|
|
794
822
|
'getAnomalies' : ActorMethod<[string], Result_23>,
|
|
823
|
+
'getAuditWriteFailures' : ActorMethod<[], Array<AuditWriteFailure>>,
|
|
824
|
+
'getAuditWriteHealth' : ActorMethod<[], Health>,
|
|
795
825
|
'getCompletionConfirmations' : ActorMethod<
|
|
796
826
|
[string],
|
|
797
827
|
[] | [{ 'buyer' : boolean, 'seller' : boolean }]
|
|
@@ -1020,6 +1050,7 @@ export interface _SERVICE {
|
|
|
1020
1050
|
* / while the isAdmin await is in flight.
|
|
1021
1051
|
*/
|
|
1022
1052
|
'recordRequisition' : ActorMethod<[string, Requisition], Result_1>,
|
|
1053
|
+
'releaseBuyerFromPlatform' : ActorMethod<[string], Result>,
|
|
1023
1054
|
'removeParty' : ActorMethod<[string, Principal], Result_1>,
|
|
1024
1055
|
'removeSolicitor' : ActorMethod<
|
|
1025
1056
|
[string, { 'seller' : null } | { 'buyer' : null }],
|
|
@@ -1047,6 +1078,7 @@ export interface _SERVICE {
|
|
|
1047
1078
|
'setLedgerManagerCanister' : ActorMethod<[string], Result>,
|
|
1048
1079
|
'setListingData' : ActorMethod<[string, string], Result>,
|
|
1049
1080
|
'setMonitorPrincipal' : ActorMethod<[Principal], Result>,
|
|
1081
|
+
'setPriceFromPlatform' : ActorMethod<[string, bigint, Basis], Result_1>,
|
|
1050
1082
|
'setPropertyLogbookCanister' : ActorMethod<[string], Result>,
|
|
1051
1083
|
'setPropertyRegistryCanister' : ActorMethod<[string], Result>,
|
|
1052
1084
|
'setUserManagementCanister' : ActorMethod<[string], Result>,
|
|
@@ -774,6 +774,18 @@ export const idlFactory = ({ IDL }) => {
|
|
|
774
774
|
'ok' : OfficialSearchResult,
|
|
775
775
|
'err' : IDL.Text,
|
|
776
776
|
});
|
|
777
|
+
const AuditWriteFailure = IDL.Record({
|
|
778
|
+
'at' : IDL.Int,
|
|
779
|
+
'transactionId' : IDL.Text,
|
|
780
|
+
'eventType' : IDL.Text,
|
|
781
|
+
'reason' : IDL.Text,
|
|
782
|
+
});
|
|
783
|
+
const Health = IDL.Record({
|
|
784
|
+
'failures' : IDL.Nat,
|
|
785
|
+
'lastFailureAt' : IDL.Opt(IDL.Int),
|
|
786
|
+
'totalSinceDeploy' : IDL.Nat,
|
|
787
|
+
});
|
|
788
|
+
const Basis = IDL.Variant({ 'asking' : IDL.Null, 'agreed' : IDL.Null });
|
|
777
789
|
return IDL.Service({
|
|
778
790
|
'acknowledgeTA6Wording' : IDL.Func([IDL.Text], [Result_1], []),
|
|
779
791
|
'addParty' : IDL.Func(
|
|
@@ -796,6 +808,20 @@ export const idlFactory = ({ IDL }) => {
|
|
|
796
808
|
[Result_1],
|
|
797
809
|
[],
|
|
798
810
|
),
|
|
811
|
+
'assignConveyancerFromPlatformV2' : IDL.Func(
|
|
812
|
+
[
|
|
813
|
+
IDL.Text,
|
|
814
|
+
IDL.Principal,
|
|
815
|
+
IDL.Text,
|
|
816
|
+
IDL.Text,
|
|
817
|
+
IDL.Text,
|
|
818
|
+
RegulatoryBody,
|
|
819
|
+
IDL.Text,
|
|
820
|
+
IDL.Variant({ 'seller' : IDL.Null, 'buyer' : IDL.Null }),
|
|
821
|
+
],
|
|
822
|
+
[Result_1],
|
|
823
|
+
[],
|
|
824
|
+
),
|
|
799
825
|
'assignSolicitor' : IDL.Func([IDL.Text, IDL.Principal], [Result], []),
|
|
800
826
|
'assignSolicitorRecord' : IDL.Func(
|
|
801
827
|
[IDL.Text, SolicitorRecord],
|
|
@@ -809,6 +835,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
809
835
|
[],
|
|
810
836
|
),
|
|
811
837
|
'canAccessTransaction' : IDL.Func([IDL.Text], [IDL.Bool], ['query']),
|
|
838
|
+
'clearAuditWriteFailures' : IDL.Func([], [], []),
|
|
812
839
|
'confirmKeysReleased' : IDL.Func([IDL.Text], [Result], []),
|
|
813
840
|
'connectBot' : IDL.Func(
|
|
814
841
|
[IDL.Text, IDL.Principal, IDL.Text],
|
|
@@ -878,6 +905,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
878
905
|
),
|
|
879
906
|
'getAllTransactions' : IDL.Func([], [IDL.Vec(Transaction)], ['query']),
|
|
880
907
|
'getAnomalies' : IDL.Func([IDL.Text], [Result_23], ['query']),
|
|
908
|
+
'getAuditWriteFailures' : IDL.Func(
|
|
909
|
+
[],
|
|
910
|
+
[IDL.Vec(AuditWriteFailure)],
|
|
911
|
+
['query'],
|
|
912
|
+
),
|
|
913
|
+
'getAuditWriteHealth' : IDL.Func([], [Health], ['query']),
|
|
881
914
|
'getCompletionConfirmations' : IDL.Func(
|
|
882
915
|
[IDL.Text],
|
|
883
916
|
[IDL.Opt(IDL.Record({ 'buyer' : IDL.Bool, 'seller' : IDL.Bool }))],
|
|
@@ -1177,6 +1210,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1177
1210
|
[],
|
|
1178
1211
|
),
|
|
1179
1212
|
'recordRequisition' : IDL.Func([IDL.Text, Requisition], [Result_1], []),
|
|
1213
|
+
'releaseBuyerFromPlatform' : IDL.Func([IDL.Text], [Result], []),
|
|
1180
1214
|
'removeParty' : IDL.Func([IDL.Text, IDL.Principal], [Result_1], []),
|
|
1181
1215
|
'removeSolicitor' : IDL.Func(
|
|
1182
1216
|
[IDL.Text, IDL.Variant({ 'seller' : IDL.Null, 'buyer' : IDL.Null })],
|
|
@@ -1203,6 +1237,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1203
1237
|
'setLedgerManagerCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
1204
1238
|
'setListingData' : IDL.Func([IDL.Text, IDL.Text], [Result], []),
|
|
1205
1239
|
'setMonitorPrincipal' : IDL.Func([IDL.Principal], [Result], []),
|
|
1240
|
+
'setPriceFromPlatform' : IDL.Func(
|
|
1241
|
+
[IDL.Text, IDL.Nat64, Basis],
|
|
1242
|
+
[Result_1],
|
|
1243
|
+
[],
|
|
1244
|
+
),
|
|
1206
1245
|
'setPropertyLogbookCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
1207
1246
|
'setPropertyRegistryCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
1208
1247
|
'setUserManagementCanister' : IDL.Func([IDL.Text], [Result], []),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@propxchain/core-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0-canary.67",
|
|
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",
|
|
@@ -798,6 +798,12 @@ type HeatingSystem =
|
|
|
798
798
|
lastServiceDate: opt text;
|
|
799
799
|
otherDetails: opt text;
|
|
800
800
|
};
|
|
801
|
+
type Health =
|
|
802
|
+
record {
|
|
803
|
+
failures: nat;
|
|
804
|
+
lastFailureAt: opt int;
|
|
805
|
+
totalSinceDeploy: nat;
|
|
806
|
+
};
|
|
801
807
|
type FormAnswer =
|
|
802
808
|
record {
|
|
803
809
|
answer: text;
|
|
@@ -844,6 +850,18 @@ type BotConnection =
|
|
|
844
850
|
ownerPrincipal: opt principal;
|
|
845
851
|
"principal": principal;
|
|
846
852
|
};
|
|
853
|
+
type Basis =
|
|
854
|
+
variant {
|
|
855
|
+
agreed;
|
|
856
|
+
asking;
|
|
857
|
+
};
|
|
858
|
+
type AuditWriteFailure =
|
|
859
|
+
record {
|
|
860
|
+
at: int;
|
|
861
|
+
eventType: text;
|
|
862
|
+
reason: text;
|
|
863
|
+
transactionId: text;
|
|
864
|
+
};
|
|
847
865
|
type Arrangement =
|
|
848
866
|
record {
|
|
849
867
|
contributionAmount: opt nat;
|
|
@@ -928,6 +946,12 @@ service : {
|
|
|
928
946
|
buyer;
|
|
929
947
|
seller;
|
|
930
948
|
}) -> (Result_1);
|
|
949
|
+
assignConveyancerFromPlatformV2: (transactionId: text, conveyancer:
|
|
950
|
+
principal, name: text, email: text, firmName: text, regulatoryBody:
|
|
951
|
+
RegulatoryBody, regNumber: text, actingFor: variant {
|
|
952
|
+
buyer;
|
|
953
|
+
seller;
|
|
954
|
+
}) -> (Result_1);
|
|
931
955
|
assignSolicitor: (transactionId: text, solicitorPrincipal: principal) ->
|
|
932
956
|
(Result);
|
|
933
957
|
assignSolicitorRecord: (transactionId: text, solicitorRecord:
|
|
@@ -935,6 +959,7 @@ service : {
|
|
|
935
959
|
backfillTransactionMembers: () -> (Result_25);
|
|
936
960
|
bootstrapDocumentStorageCanister: (canisterId: principal) -> (Result);
|
|
937
961
|
canAccessTransaction: (transactionId: text) -> (bool) query;
|
|
962
|
+
clearAuditWriteFailures: () -> ();
|
|
938
963
|
/// Keys released (Marc, 2026-11-05): confirmed by the seller's estate
|
|
939
964
|
/// agent (a seller-side delegate), or by the seller only when the seller
|
|
940
965
|
/// has no agent. Recorded once, after completion.
|
|
@@ -966,6 +991,8 @@ service : {
|
|
|
966
991
|
}) query;
|
|
967
992
|
getAllTransactions: () -> (vec Transaction) query;
|
|
968
993
|
getAnomalies: (txId: text) -> (Result_23) query;
|
|
994
|
+
getAuditWriteFailures: () -> (vec AuditWriteFailure) query;
|
|
995
|
+
getAuditWriteHealth: () -> (Health) query;
|
|
969
996
|
/// H6: which sides have confirmed completion so far, so each side's page
|
|
970
997
|
/// can say "waiting for the other side". Members only; a stranger gets
|
|
971
998
|
/// null, the same as a transaction with nothing pending.
|
|
@@ -1129,15 +1156,14 @@ service : {
|
|
|
1129
1156
|
/// - Locked after contract exchange (same posture as assignBuyer):
|
|
1130
1157
|
/// once the deal is signed nobody walks away by toggling a button.
|
|
1131
1158
|
///
|
|
1132
|
-
/// Effects:
|
|
1133
|
-
/// - Caller is removed from `accessList
|
|
1134
|
-
///
|
|
1135
|
-
///
|
|
1136
|
-
///
|
|
1137
|
-
///
|
|
1138
|
-
///
|
|
1139
|
-
/// - Audit event `buyer_left` (or `party_left` for non-buyer leavers)
|
|
1140
|
-
/// is logged via the existing ledger pattern.
|
|
1159
|
+
/// Effects (Marc, 2026-11-19: leaving takes you off completely):
|
|
1160
|
+
/// - Caller is removed from `accessList` and, once no longer on the
|
|
1161
|
+
/// deal, from the user_management roster (their document roles).
|
|
1162
|
+
/// - If the caller is the assigned buyer, the buyer slot goes back to
|
|
1163
|
+
/// the seller placeholder, their solicitor goes with them, they leave
|
|
1164
|
+
/// the buyers list, and the deal gets a FRESH invite code, so no code
|
|
1165
|
+
/// the leaver ever saw brings them back (InviteJoin.buyerExit).
|
|
1166
|
+
/// - Audit event `buyer_left` (or `party_left` for non-buyer leavers).
|
|
1141
1167
|
///
|
|
1142
1168
|
/// Concurrency: uses the same acquireTxLock/finally releaseTxLock
|
|
1143
1169
|
/// posture as assignBuyer so a leave can't race against an in-flight
|
|
@@ -1219,6 +1245,7 @@ service : {
|
|
|
1219
1245
|
/// while the isAdmin await is in flight.
|
|
1220
1246
|
recordRequisition: (transactionID: text, requisition: Requisition) ->
|
|
1221
1247
|
(Result_1);
|
|
1248
|
+
releaseBuyerFromPlatform: (transactionId: text) -> (Result);
|
|
1222
1249
|
removeParty: (transactionId: text, partyPrincipal: principal) -> (Result_1);
|
|
1223
1250
|
removeSolicitor: (transactionId: text, side: variant {
|
|
1224
1251
|
buyer;
|
|
@@ -1240,6 +1267,8 @@ service : {
|
|
|
1240
1267
|
setLedgerManagerCanister: (canisterId: text) -> (Result);
|
|
1241
1268
|
setListingData: (transactionId: text, jsonData: text) -> (Result);
|
|
1242
1269
|
setMonitorPrincipal: (p: principal) -> (Result);
|
|
1270
|
+
setPriceFromPlatform: (transactionId: text, amount: nat64, basis: Basis) ->
|
|
1271
|
+
(Result_1);
|
|
1243
1272
|
setPropertyLogbookCanister: (canisterId: text) -> (Result);
|
|
1244
1273
|
setPropertyRegistryCanister: (canisterId: text) -> (Result);
|
|
1245
1274
|
setUserManagementCanister: (canisterId: text) -> (Result);
|
|
@@ -60,6 +60,12 @@ export interface Arrangement {
|
|
|
60
60
|
'document' : TA6Document,
|
|
61
61
|
'contributionAmount' : [] | [bigint],
|
|
62
62
|
}
|
|
63
|
+
export interface AuditWriteFailure {
|
|
64
|
+
'at' : bigint,
|
|
65
|
+
'transactionId' : string,
|
|
66
|
+
'eventType' : string,
|
|
67
|
+
'reason' : string,
|
|
68
|
+
}
|
|
63
69
|
export interface BotConnection {
|
|
64
70
|
'attribution' : string,
|
|
65
71
|
'clientId' : [] | [string],
|
|
@@ -95,6 +101,11 @@ export interface FormAnswer {
|
|
|
95
101
|
'answer' : string,
|
|
96
102
|
'details' : [] | [string],
|
|
97
103
|
}
|
|
104
|
+
export interface Health {
|
|
105
|
+
'failures' : bigint,
|
|
106
|
+
'lastFailureAt' : [] | [bigint],
|
|
107
|
+
'totalSinceDeploy' : bigint,
|
|
108
|
+
}
|
|
98
109
|
export interface HeatingSystem {
|
|
99
110
|
'certificate' : TA6Document,
|
|
100
111
|
'otherDetails' : [] | [string],
|
|
@@ -717,6 +728,8 @@ export interface WaterConnection {
|
|
|
717
728
|
'meterLocation' : [] | [string],
|
|
718
729
|
'connected' : TA6Answer,
|
|
719
730
|
}
|
|
731
|
+
export type Basis = { 'asking' : null } |
|
|
732
|
+
{ 'agreed' : null };
|
|
720
733
|
export interface _SERVICE {
|
|
721
734
|
'acknowledgeTA6Wording' : ActorMethod<[string], Result_1>,
|
|
722
735
|
'addParty' : ActorMethod<[string, string, string, string, boolean], Result_2>,
|
|
@@ -735,11 +748,26 @@ export interface _SERVICE {
|
|
|
735
748
|
],
|
|
736
749
|
Result_1
|
|
737
750
|
>,
|
|
751
|
+
'assignConveyancerFromPlatformV2' : ActorMethod<
|
|
752
|
+
[
|
|
753
|
+
string,
|
|
754
|
+
Principal,
|
|
755
|
+
string,
|
|
756
|
+
string,
|
|
757
|
+
string,
|
|
758
|
+
RegulatoryBody,
|
|
759
|
+
string,
|
|
760
|
+
{ 'seller' : null } |
|
|
761
|
+
{ 'buyer' : null },
|
|
762
|
+
],
|
|
763
|
+
Result_1
|
|
764
|
+
>,
|
|
738
765
|
'assignSolicitor' : ActorMethod<[string, Principal], Result>,
|
|
739
766
|
'assignSolicitorRecord' : ActorMethod<[string, SolicitorRecord], Result_1>,
|
|
740
767
|
'backfillTransactionMembers' : ActorMethod<[], Result_25>,
|
|
741
768
|
'bootstrapDocumentStorageCanister' : ActorMethod<[Principal], Result>,
|
|
742
769
|
'canAccessTransaction' : ActorMethod<[string], boolean>,
|
|
770
|
+
'clearAuditWriteFailures' : ActorMethod<[], undefined>,
|
|
743
771
|
'confirmKeysReleased' : ActorMethod<[string], Result>,
|
|
744
772
|
'connectBot' : ActorMethod<[string, Principal, string], Result_1>,
|
|
745
773
|
'consumeLandRegistryNotification' : ActorMethod<
|
|
@@ -792,6 +820,8 @@ export interface _SERVICE {
|
|
|
792
820
|
'getAllInviteCodes' : ActorMethod<[], Array<[string, string]>>,
|
|
793
821
|
'getAllTransactions' : ActorMethod<[], Array<Transaction>>,
|
|
794
822
|
'getAnomalies' : ActorMethod<[string], Result_23>,
|
|
823
|
+
'getAuditWriteFailures' : ActorMethod<[], Array<AuditWriteFailure>>,
|
|
824
|
+
'getAuditWriteHealth' : ActorMethod<[], Health>,
|
|
795
825
|
'getCompletionConfirmations' : ActorMethod<
|
|
796
826
|
[string],
|
|
797
827
|
[] | [{ 'buyer' : boolean, 'seller' : boolean }]
|
|
@@ -1020,6 +1050,7 @@ export interface _SERVICE {
|
|
|
1020
1050
|
* / while the isAdmin await is in flight.
|
|
1021
1051
|
*/
|
|
1022
1052
|
'recordRequisition' : ActorMethod<[string, Requisition], Result_1>,
|
|
1053
|
+
'releaseBuyerFromPlatform' : ActorMethod<[string], Result>,
|
|
1023
1054
|
'removeParty' : ActorMethod<[string, Principal], Result_1>,
|
|
1024
1055
|
'removeSolicitor' : ActorMethod<
|
|
1025
1056
|
[string, { 'seller' : null } | { 'buyer' : null }],
|
|
@@ -1047,6 +1078,7 @@ export interface _SERVICE {
|
|
|
1047
1078
|
'setLedgerManagerCanister' : ActorMethod<[string], Result>,
|
|
1048
1079
|
'setListingData' : ActorMethod<[string, string], Result>,
|
|
1049
1080
|
'setMonitorPrincipal' : ActorMethod<[Principal], Result>,
|
|
1081
|
+
'setPriceFromPlatform' : ActorMethod<[string, bigint, Basis], Result_1>,
|
|
1050
1082
|
'setPropertyLogbookCanister' : ActorMethod<[string], Result>,
|
|
1051
1083
|
'setPropertyRegistryCanister' : ActorMethod<[string], Result>,
|
|
1052
1084
|
'setUserManagementCanister' : ActorMethod<[string], Result>,
|
|
@@ -774,6 +774,18 @@ export const idlFactory = ({ IDL }) => {
|
|
|
774
774
|
'ok' : OfficialSearchResult,
|
|
775
775
|
'err' : IDL.Text,
|
|
776
776
|
});
|
|
777
|
+
const AuditWriteFailure = IDL.Record({
|
|
778
|
+
'at' : IDL.Int,
|
|
779
|
+
'transactionId' : IDL.Text,
|
|
780
|
+
'eventType' : IDL.Text,
|
|
781
|
+
'reason' : IDL.Text,
|
|
782
|
+
});
|
|
783
|
+
const Health = IDL.Record({
|
|
784
|
+
'failures' : IDL.Nat,
|
|
785
|
+
'lastFailureAt' : IDL.Opt(IDL.Int),
|
|
786
|
+
'totalSinceDeploy' : IDL.Nat,
|
|
787
|
+
});
|
|
788
|
+
const Basis = IDL.Variant({ 'asking' : IDL.Null, 'agreed' : IDL.Null });
|
|
777
789
|
return IDL.Service({
|
|
778
790
|
'acknowledgeTA6Wording' : IDL.Func([IDL.Text], [Result_1], []),
|
|
779
791
|
'addParty' : IDL.Func(
|
|
@@ -796,6 +808,20 @@ export const idlFactory = ({ IDL }) => {
|
|
|
796
808
|
[Result_1],
|
|
797
809
|
[],
|
|
798
810
|
),
|
|
811
|
+
'assignConveyancerFromPlatformV2' : IDL.Func(
|
|
812
|
+
[
|
|
813
|
+
IDL.Text,
|
|
814
|
+
IDL.Principal,
|
|
815
|
+
IDL.Text,
|
|
816
|
+
IDL.Text,
|
|
817
|
+
IDL.Text,
|
|
818
|
+
RegulatoryBody,
|
|
819
|
+
IDL.Text,
|
|
820
|
+
IDL.Variant({ 'seller' : IDL.Null, 'buyer' : IDL.Null }),
|
|
821
|
+
],
|
|
822
|
+
[Result_1],
|
|
823
|
+
[],
|
|
824
|
+
),
|
|
799
825
|
'assignSolicitor' : IDL.Func([IDL.Text, IDL.Principal], [Result], []),
|
|
800
826
|
'assignSolicitorRecord' : IDL.Func(
|
|
801
827
|
[IDL.Text, SolicitorRecord],
|
|
@@ -809,6 +835,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
809
835
|
[],
|
|
810
836
|
),
|
|
811
837
|
'canAccessTransaction' : IDL.Func([IDL.Text], [IDL.Bool], ['query']),
|
|
838
|
+
'clearAuditWriteFailures' : IDL.Func([], [], []),
|
|
812
839
|
'confirmKeysReleased' : IDL.Func([IDL.Text], [Result], []),
|
|
813
840
|
'connectBot' : IDL.Func(
|
|
814
841
|
[IDL.Text, IDL.Principal, IDL.Text],
|
|
@@ -878,6 +905,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
878
905
|
),
|
|
879
906
|
'getAllTransactions' : IDL.Func([], [IDL.Vec(Transaction)], ['query']),
|
|
880
907
|
'getAnomalies' : IDL.Func([IDL.Text], [Result_23], ['query']),
|
|
908
|
+
'getAuditWriteFailures' : IDL.Func(
|
|
909
|
+
[],
|
|
910
|
+
[IDL.Vec(AuditWriteFailure)],
|
|
911
|
+
['query'],
|
|
912
|
+
),
|
|
913
|
+
'getAuditWriteHealth' : IDL.Func([], [Health], ['query']),
|
|
881
914
|
'getCompletionConfirmations' : IDL.Func(
|
|
882
915
|
[IDL.Text],
|
|
883
916
|
[IDL.Opt(IDL.Record({ 'buyer' : IDL.Bool, 'seller' : IDL.Bool }))],
|
|
@@ -1177,6 +1210,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1177
1210
|
[],
|
|
1178
1211
|
),
|
|
1179
1212
|
'recordRequisition' : IDL.Func([IDL.Text, Requisition], [Result_1], []),
|
|
1213
|
+
'releaseBuyerFromPlatform' : IDL.Func([IDL.Text], [Result], []),
|
|
1180
1214
|
'removeParty' : IDL.Func([IDL.Text, IDL.Principal], [Result_1], []),
|
|
1181
1215
|
'removeSolicitor' : IDL.Func(
|
|
1182
1216
|
[IDL.Text, IDL.Variant({ 'seller' : IDL.Null, 'buyer' : IDL.Null })],
|
|
@@ -1203,6 +1237,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1203
1237
|
'setLedgerManagerCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
1204
1238
|
'setListingData' : IDL.Func([IDL.Text, IDL.Text], [Result], []),
|
|
1205
1239
|
'setMonitorPrincipal' : IDL.Func([IDL.Principal], [Result], []),
|
|
1240
|
+
'setPriceFromPlatform' : IDL.Func(
|
|
1241
|
+
[IDL.Text, IDL.Nat64, Basis],
|
|
1242
|
+
[Result_1],
|
|
1243
|
+
[],
|
|
1244
|
+
),
|
|
1206
1245
|
'setPropertyLogbookCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
1207
1246
|
'setPropertyRegistryCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
1208
1247
|
'setUserManagementCanister' : IDL.Func([IDL.Text], [Result], []),
|