@propxchain/core-client 0.4.0-canary.39 → 0.6.0-canary.43
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 +31 -21
- package/dist/canisters/document_storage/document_storage.did.js +31 -21
- package/dist/canisters/document_verification/document_verification.did.d.ts +9 -9
- package/dist/canisters/document_verification/document_verification.did.js +28 -28
- package/dist/canisters/land_registry_integration/land_registry_integration.did.js +23 -139
- package/dist/canisters/ledger_manager/ledger_manager.did.d.ts +1 -0
- package/dist/canisters/ledger_manager/ledger_manager.did.js +2 -5
- package/dist/canisters/property_registry/property_registry.did.d.ts +7 -3
- package/dist/canisters/property_registry/property_registry.did.js +12 -4
- package/dist/canisters/transaction_manager/transaction_manager.did.d.ts +90 -42
- package/dist/canisters/transaction_manager/transaction_manager.did.js +117 -40
- package/dist/canisters/user_management/user_management.did.d.ts +75 -18
- package/dist/canisters/user_management/user_management.did.js +93 -19
- package/dist/mock.js +1 -1
- package/package.json +1 -1
- package/src/canisters/document_storage/document_storage.did +32 -21
- package/src/canisters/document_storage/document_storage.did.d.ts +31 -21
- 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 +9 -9
- package/src/canisters/document_verification/document_verification.did.js +28 -28
- 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 +1 -0
- 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 +7 -3
- package/src/canisters/property_registry/property_registry.did.js +12 -4
- package/src/canisters/transaction_manager/transaction_manager.did +104 -48
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +90 -42
- package/src/canisters/transaction_manager/transaction_manager.did.js +117 -40
- package/src/canisters/user_management/user_management.did +64 -19
- package/src/canisters/user_management/user_management.did.d.ts +75 -18
- package/src/canisters/user_management/user_management.did.js +93 -19
- package/src/mock.ts +1 -1
|
@@ -72,11 +72,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
72
72
|
'removalRequested' : IDL.Bool,
|
|
73
73
|
'regulatoryBody' : RegulatoryBody,
|
|
74
74
|
});
|
|
75
|
-
const
|
|
75
|
+
const Result_25 = IDL.Variant({
|
|
76
76
|
'ok' : IDL.Record({ 'registrations' : IDL.Nat, 'transactions' : IDL.Nat }),
|
|
77
77
|
'err' : IDL.Text,
|
|
78
78
|
});
|
|
79
|
-
const
|
|
79
|
+
const Result_24 = IDL.Variant({
|
|
80
80
|
'ok' : IDL.Tuple(IDL.Text, IDL.Text),
|
|
81
81
|
'err' : IDL.Text,
|
|
82
82
|
});
|
|
@@ -201,7 +201,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
201
201
|
'sources' : IDL.Vec(IDL.Text),
|
|
202
202
|
'severity' : Severity,
|
|
203
203
|
});
|
|
204
|
-
const
|
|
204
|
+
const Result_23 = IDL.Variant({ 'ok' : IDL.Vec(Anomaly), 'err' : IDL.Text });
|
|
205
205
|
const Phase = IDL.Variant({
|
|
206
206
|
'buyerSetup' : IDL.Null,
|
|
207
207
|
'preContract' : IDL.Null,
|
|
@@ -210,14 +210,27 @@ export const idlFactory = ({ IDL }) => {
|
|
|
210
210
|
'preCompletion' : IDL.Null,
|
|
211
211
|
'searches' : IDL.Null,
|
|
212
212
|
});
|
|
213
|
-
const
|
|
213
|
+
const Result_22 = IDL.Variant({ 'ok' : Phase, 'err' : IDL.Text });
|
|
214
|
+
const FormAnswer = IDL.Record({
|
|
215
|
+
'id' : IDL.Text,
|
|
216
|
+
'answer' : IDL.Text,
|
|
217
|
+
'details' : IDL.Opt(IDL.Text),
|
|
218
|
+
});
|
|
219
|
+
const Result_21 = IDL.Variant({
|
|
220
|
+
'ok' : IDL.Record({
|
|
221
|
+
'ta6' : IDL.Vec(FormAnswer),
|
|
222
|
+
'ta7' : IDL.Vec(FormAnswer),
|
|
223
|
+
'ta10' : IDL.Vec(FormAnswer),
|
|
224
|
+
}),
|
|
225
|
+
'err' : IDL.Text,
|
|
226
|
+
});
|
|
214
227
|
const HmlrFetchRecord = IDL.Record({
|
|
215
228
|
'fetchedAt' : IDL.Int,
|
|
216
229
|
'fetchedBy' : IDL.Principal,
|
|
217
230
|
'titleNumber' : IDL.Text,
|
|
218
231
|
'responseHash' : IDL.Text,
|
|
219
232
|
});
|
|
220
|
-
const
|
|
233
|
+
const Result_20 = IDL.Variant({
|
|
221
234
|
'ok' : IDL.Opt(HmlrFetchRecord),
|
|
222
235
|
'err' : IDL.Text,
|
|
223
236
|
});
|
|
@@ -251,10 +264,18 @@ export const idlFactory = ({ IDL }) => {
|
|
|
251
264
|
'options' : IDL.Vec(NextStepOption),
|
|
252
265
|
'partial' : IDL.Bool,
|
|
253
266
|
});
|
|
254
|
-
const
|
|
267
|
+
const Result_19 = IDL.Variant({
|
|
255
268
|
'ok' : NextStepRecommendation,
|
|
256
269
|
'err' : IDL.Text,
|
|
257
270
|
});
|
|
271
|
+
const Result_18 = IDL.Variant({
|
|
272
|
+
'ok' : IDL.Record({
|
|
273
|
+
'mode' : IDL.Text,
|
|
274
|
+
'seller' : IDL.Principal,
|
|
275
|
+
'buyer' : IDL.Principal,
|
|
276
|
+
}),
|
|
277
|
+
'err' : IDL.Text,
|
|
278
|
+
});
|
|
258
279
|
const PartyProgress = IDL.Record({
|
|
259
280
|
'completedParties' : IDL.Nat,
|
|
260
281
|
'overallProgress' : IDL.Nat,
|
|
@@ -267,7 +288,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
267
288
|
'sellers' : PartyProgress,
|
|
268
289
|
'buyers' : PartyProgress,
|
|
269
290
|
});
|
|
270
|
-
const
|
|
291
|
+
const Result_17 = IDL.Variant({
|
|
271
292
|
'ok' : TransactionPartyProgress,
|
|
272
293
|
'err' : IDL.Text,
|
|
273
294
|
});
|
|
@@ -275,8 +296,8 @@ export const idlFactory = ({ IDL }) => {
|
|
|
275
296
|
'contractDraftedAt' : IDL.Opt(IDL.Int),
|
|
276
297
|
'searchesOrderedAt' : IDL.Opt(IDL.Int),
|
|
277
298
|
});
|
|
278
|
-
const
|
|
279
|
-
const
|
|
299
|
+
const Result_16 = IDL.Variant({ 'ok' : PhaseMilestones, 'err' : IDL.Text });
|
|
300
|
+
const Result_15 = IDL.Variant({
|
|
280
301
|
'ok' : IDL.Record({
|
|
281
302
|
'sellerSolicitor' : IDL.Opt(SolicitorRecord),
|
|
282
303
|
'buyerSolicitor' : IDL.Opt(SolicitorRecord),
|
|
@@ -301,7 +322,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
301
322
|
'lastModifiedBy' : IDL.Principal,
|
|
302
323
|
'rooms' : IDL.Vec(TA10Room),
|
|
303
324
|
});
|
|
304
|
-
const
|
|
325
|
+
const Result_14 = IDL.Variant({
|
|
305
326
|
'ok' : IDL.Opt(TA10FittingsAndContents),
|
|
306
327
|
'err' : IDL.Text,
|
|
307
328
|
});
|
|
@@ -632,7 +653,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
632
653
|
'section8' : Section8Environmental,
|
|
633
654
|
'section9' : Section9Rights,
|
|
634
655
|
});
|
|
635
|
-
const
|
|
656
|
+
const Result_13 = IDL.Variant({
|
|
636
657
|
'ok' : IDL.Opt(TA6PropertyInformation),
|
|
637
658
|
'err' : IDL.Text,
|
|
638
659
|
});
|
|
@@ -655,7 +676,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
655
676
|
'leaseStartDate' : IDL.Text,
|
|
656
677
|
'alterationsAllowed' : IDL.Bool,
|
|
657
678
|
});
|
|
658
|
-
const
|
|
679
|
+
const Result_12 = IDL.Variant({
|
|
659
680
|
'ok' : IDL.Opt(TA7LeaseholdInformation),
|
|
660
681
|
'err' : IDL.Text,
|
|
661
682
|
});
|
|
@@ -665,19 +686,19 @@ export const idlFactory = ({ IDL }) => {
|
|
|
665
686
|
'addedAt' : IDL.Int,
|
|
666
687
|
'addedBy' : IDL.Principal,
|
|
667
688
|
});
|
|
668
|
-
const
|
|
689
|
+
const Result_11 = IDL.Variant({
|
|
669
690
|
'ok' : IDL.Vec(BotConnection),
|
|
670
691
|
'err' : IDL.Text,
|
|
671
692
|
});
|
|
672
|
-
const
|
|
693
|
+
const Result_10 = IDL.Variant({
|
|
673
694
|
'ok' : IDL.Vec(Transaction),
|
|
674
695
|
'err' : IDL.Text,
|
|
675
696
|
});
|
|
676
|
-
const
|
|
697
|
+
const Result_9 = IDL.Variant({
|
|
677
698
|
'ok' : IDL.Vec(Notification),
|
|
678
699
|
'err' : IDL.Text,
|
|
679
700
|
});
|
|
680
|
-
const
|
|
701
|
+
const Result_8 = IDL.Variant({
|
|
681
702
|
'ok' : IDL.Record({
|
|
682
703
|
'sellers' : IDL.Vec(TransactionParty),
|
|
683
704
|
'buyers' : IDL.Vec(TransactionParty),
|
|
@@ -693,7 +714,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
693
714
|
'totalTimeToCompletion' : IDL.Nat,
|
|
694
715
|
'totalTimeIncludingLR' : IDL.Nat,
|
|
695
716
|
});
|
|
696
|
-
const
|
|
717
|
+
const Result_7 = IDL.Variant({ 'ok' : Transaction, 'err' : IDL.Text });
|
|
697
718
|
const Result_3 = IDL.Variant({ 'ok' : IDL.Nat, 'err' : IDL.Text });
|
|
698
719
|
const ApplicationStatusUpdate = IDL.Record({
|
|
699
720
|
'lastUpdated' : IDL.Text,
|
|
@@ -703,10 +724,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
703
724
|
'currentStatus' : LandRegistryStatus,
|
|
704
725
|
'previousStatus' : LandRegistryStatus,
|
|
705
726
|
});
|
|
706
|
-
const
|
|
727
|
+
const Result_6 = IDL.Variant({
|
|
707
728
|
'ok' : ApplicationStatusUpdate,
|
|
708
729
|
'err' : IDL.Text,
|
|
709
730
|
});
|
|
731
|
+
const Result_5 = IDL.Variant({
|
|
732
|
+
'ok' : IDL.Record({ 'repairs' : IDL.Nat, 'transactions' : IDL.Nat }),
|
|
733
|
+
'err' : IDL.Text,
|
|
734
|
+
});
|
|
710
735
|
const OfficialSearchResult = IDL.Record({
|
|
711
736
|
'officialCopyTimestamp' : IDL.Opt(IDL.Text),
|
|
712
737
|
'advisoryEntries' : IDL.Vec(IDL.Text),
|
|
@@ -728,13 +753,26 @@ export const idlFactory = ({ IDL }) => {
|
|
|
728
753
|
),
|
|
729
754
|
'adminForceDeleteTransaction' : IDL.Func([IDL.Text], [Result], []),
|
|
730
755
|
'assignBuyer' : IDL.Func([IDL.Text, IDL.Principal], [Result], []),
|
|
756
|
+
'assignConveyancerFromPlatform' : IDL.Func(
|
|
757
|
+
[
|
|
758
|
+
IDL.Text,
|
|
759
|
+
IDL.Principal,
|
|
760
|
+
IDL.Text,
|
|
761
|
+
IDL.Text,
|
|
762
|
+
IDL.Text,
|
|
763
|
+
IDL.Text,
|
|
764
|
+
IDL.Variant({ 'seller' : IDL.Null, 'buyer' : IDL.Null }),
|
|
765
|
+
],
|
|
766
|
+
[Result_1],
|
|
767
|
+
[],
|
|
768
|
+
),
|
|
731
769
|
'assignSolicitor' : IDL.Func([IDL.Text, IDL.Principal], [Result], []),
|
|
732
770
|
'assignSolicitorRecord' : IDL.Func(
|
|
733
771
|
[IDL.Text, SolicitorRecord],
|
|
734
772
|
[Result_1],
|
|
735
773
|
[],
|
|
736
774
|
),
|
|
737
|
-
'backfillTransactionMembers' : IDL.Func([], [
|
|
775
|
+
'backfillTransactionMembers' : IDL.Func([], [Result_25], []),
|
|
738
776
|
'bootstrapDocumentStorageCanister' : IDL.Func(
|
|
739
777
|
[IDL.Principal],
|
|
740
778
|
[Result],
|
|
@@ -796,7 +834,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
796
834
|
IDL.Nat64,
|
|
797
835
|
IDL.Text,
|
|
798
836
|
],
|
|
799
|
-
[
|
|
837
|
+
[Result_24],
|
|
800
838
|
[],
|
|
801
839
|
),
|
|
802
840
|
'deleteTransaction' : IDL.Func([IDL.Text], [Result], []),
|
|
@@ -808,9 +846,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
808
846
|
['query'],
|
|
809
847
|
),
|
|
810
848
|
'getAllTransactions' : IDL.Func([], [IDL.Vec(Transaction)], ['query']),
|
|
811
|
-
'getAnomalies' : IDL.Func([IDL.Text], [
|
|
812
|
-
'getCurrentPhase' : IDL.Func([IDL.Text], [
|
|
849
|
+
'getAnomalies' : IDL.Func([IDL.Text], [Result_23], ['query']),
|
|
850
|
+
'getCurrentPhase' : IDL.Func([IDL.Text], [Result_22], ['query']),
|
|
813
851
|
'getCycles' : IDL.Func([], [IDL.Nat], ['query']),
|
|
852
|
+
'getDelegates' : IDL.Func(
|
|
853
|
+
[IDL.Text],
|
|
854
|
+
[IDL.Vec(IDL.Tuple(IDL.Principal, IDL.Principal))],
|
|
855
|
+
['query'],
|
|
856
|
+
),
|
|
814
857
|
'getDocumentStorageCanister' : IDL.Func(
|
|
815
858
|
[],
|
|
816
859
|
[IDL.Opt(IDL.Principal)],
|
|
@@ -822,7 +865,8 @@ export const idlFactory = ({ IDL }) => {
|
|
|
822
865
|
['query'],
|
|
823
866
|
),
|
|
824
867
|
'getFlowState' : IDL.Func([IDL.Text], [IDL.Opt(IDL.Text)], ['query']),
|
|
825
|
-
'
|
|
868
|
+
'getFormAnswersForPlatform' : IDL.Func([IDL.Text], [Result_21], ['query']),
|
|
869
|
+
'getHmlrFetch' : IDL.Func([IDL.Text], [Result_20], ['query']),
|
|
826
870
|
'getInviteCode' : IDL.Func([IDL.Text], [Result], ['query']),
|
|
827
871
|
'getLandRegistryCanister' : IDL.Func([], [IDL.Text], ['query']),
|
|
828
872
|
'getLandRegistryDetail' : IDL.Func(
|
|
@@ -832,36 +876,43 @@ export const idlFactory = ({ IDL }) => {
|
|
|
832
876
|
),
|
|
833
877
|
'getLedgerManagerCanister' : IDL.Func([], [IDL.Text], ['query']),
|
|
834
878
|
'getListingData' : IDL.Func([IDL.Text], [IDL.Opt(IDL.Text)], ['query']),
|
|
879
|
+
'getMonitorTransactionIds' : IDL.Func([], [IDL.Vec(IDL.Text)], ['query']),
|
|
835
880
|
'getMyNotifications' : IDL.Func([], [IDL.Vec(Notification)], ['query']),
|
|
836
881
|
'getMyTransactions' : IDL.Func([], [IDL.Vec(Transaction)], ['query']),
|
|
837
|
-
'getNextStep' : IDL.Func([IDL.Text], [
|
|
882
|
+
'getNextStep' : IDL.Func([IDL.Text], [Result_19], ['composite_query']),
|
|
838
883
|
'getOutstandingRequisitions' : IDL.Func(
|
|
839
884
|
[],
|
|
840
885
|
[IDL.Vec(IDL.Tuple(IDL.Text, Requisition))],
|
|
841
886
|
['query'],
|
|
842
887
|
),
|
|
843
|
-
'
|
|
888
|
+
'getPartyPrincipalsForPlatform' : IDL.Func(
|
|
889
|
+
[IDL.Text],
|
|
890
|
+
[Result_18],
|
|
891
|
+
['query'],
|
|
892
|
+
),
|
|
893
|
+
'getPartyProgress' : IDL.Func([IDL.Text], [Result_17], ['query']),
|
|
844
894
|
'getPendingLRApplications' : IDL.Func(
|
|
845
895
|
[],
|
|
846
896
|
[IDL.Vec(Transaction)],
|
|
847
897
|
['query'],
|
|
848
898
|
),
|
|
849
|
-
'getPhaseMilestones' : IDL.Func([IDL.Text], [
|
|
899
|
+
'getPhaseMilestones' : IDL.Func([IDL.Text], [Result_16], ['query']),
|
|
900
|
+
'getPropertyLogbookCanister' : IDL.Func([], [IDL.Text], ['query']),
|
|
850
901
|
'getPropertyRegistryCanister' : IDL.Func([], [IDL.Text], ['query']),
|
|
851
|
-
'getSolicitorStatus' : IDL.Func([IDL.Text], [
|
|
852
|
-
'getTA10' : IDL.Func([IDL.Text], [
|
|
853
|
-
'getTA6' : IDL.Func([IDL.Text], [
|
|
854
|
-
'getTA7' : IDL.Func([IDL.Text], [
|
|
902
|
+
'getSolicitorStatus' : IDL.Func([IDL.Text], [Result_15], ['query']),
|
|
903
|
+
'getTA10' : IDL.Func([IDL.Text], [Result_14], ['query']),
|
|
904
|
+
'getTA6' : IDL.Func([IDL.Text], [Result_13], ['query']),
|
|
905
|
+
'getTA7' : IDL.Func([IDL.Text], [Result_12], ['query']),
|
|
855
906
|
'getTransaction' : IDL.Func([IDL.Text], [IDL.Opt(Transaction)], ['query']),
|
|
856
|
-
'getTransactionBots' : IDL.Func([IDL.Text], [
|
|
907
|
+
'getTransactionBots' : IDL.Func([IDL.Text], [Result_11], ['query']),
|
|
857
908
|
'getTransactionByInviteCode' : IDL.Func(
|
|
858
909
|
[IDL.Text],
|
|
859
910
|
[IDL.Opt(Transaction)],
|
|
860
911
|
[],
|
|
861
912
|
),
|
|
862
|
-
'getTransactionChain' : IDL.Func([IDL.Text], [
|
|
863
|
-
'getTransactionNotifications' : IDL.Func([IDL.Text], [
|
|
864
|
-
'getTransactionParties' : IDL.Func([IDL.Text], [
|
|
913
|
+
'getTransactionChain' : IDL.Func([IDL.Text], [Result_10], ['query']),
|
|
914
|
+
'getTransactionNotifications' : IDL.Func([IDL.Text], [Result_9], ['query']),
|
|
915
|
+
'getTransactionParties' : IDL.Func([IDL.Text], [Result_8], ['query']),
|
|
865
916
|
'getTransactionsByStatus' : IDL.Func(
|
|
866
917
|
[TransactionStatus],
|
|
867
918
|
[IDL.Vec(Transaction)],
|
|
@@ -895,9 +946,19 @@ export const idlFactory = ({ IDL }) => {
|
|
|
895
946
|
[Result],
|
|
896
947
|
[],
|
|
897
948
|
),
|
|
898
|
-
'
|
|
899
|
-
|
|
900
|
-
|
|
949
|
+
'isDelegateOf' : IDL.Func(
|
|
950
|
+
[IDL.Text, IDL.Principal, IDL.Principal],
|
|
951
|
+
[IDL.Bool],
|
|
952
|
+
['query'],
|
|
953
|
+
),
|
|
954
|
+
'isTransactionMember' : IDL.Func(
|
|
955
|
+
[IDL.Text, IDL.Principal],
|
|
956
|
+
[IDL.Bool],
|
|
957
|
+
['query'],
|
|
958
|
+
),
|
|
959
|
+
'joinAsBotByInviteCode' : IDL.Func([IDL.Text, IDL.Text], [Result_7], []),
|
|
960
|
+
'joinTransactionByInviteCode' : IDL.Func([IDL.Text], [Result_7], []),
|
|
961
|
+
'joinTransactionByInviteCodeAsBuyer' : IDL.Func([IDL.Text], [Result_7], []),
|
|
901
962
|
'leaveTransaction' : IDL.Func([IDL.Text], [Result], []),
|
|
902
963
|
'linkTransactionToChain' : IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
|
|
903
964
|
'markAllNotificationsRead' : IDL.Func([], [IDL.Nat], []),
|
|
@@ -912,7 +973,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
912
973
|
),
|
|
913
974
|
'on_blockchain_completion_success' : IDL.Func([IDL.Text], [Result], []),
|
|
914
975
|
'pollAllPendingApplications' : IDL.Func([], [Result_3], []),
|
|
915
|
-
'pollApplicationStatus' : IDL.Func([IDL.Text], [
|
|
976
|
+
'pollApplicationStatus' : IDL.Func([IDL.Text], [Result_6], []),
|
|
916
977
|
'recordContractExchange' : IDL.Func(
|
|
917
978
|
[IDL.Text, IDL.Text, IDL.Text],
|
|
918
979
|
[Result],
|
|
@@ -923,6 +984,16 @@ export const idlFactory = ({ IDL }) => {
|
|
|
923
984
|
[Result_1],
|
|
924
985
|
[],
|
|
925
986
|
),
|
|
987
|
+
'recordDocShareRevoked' : IDL.Func(
|
|
988
|
+
[IDL.Text, IDL.Text, IDL.Text],
|
|
989
|
+
[Result_1],
|
|
990
|
+
[],
|
|
991
|
+
),
|
|
992
|
+
'recordDocShared' : IDL.Func(
|
|
993
|
+
[IDL.Text, IDL.Text, IDL.Text],
|
|
994
|
+
[Result_1],
|
|
995
|
+
[],
|
|
996
|
+
),
|
|
926
997
|
'recordFormUpload' : IDL.Func(
|
|
927
998
|
[IDL.Text, IDL.Text, IDL.Text, IDL.Text],
|
|
928
999
|
[Result_1],
|
|
@@ -943,8 +1014,6 @@ export const idlFactory = ({ IDL }) => {
|
|
|
943
1014
|
[Result_1],
|
|
944
1015
|
[],
|
|
945
1016
|
),
|
|
946
|
-
'recordDocShared' : IDL.Func([IDL.Text, IDL.Text, IDL.Text], [Result_1], []),
|
|
947
|
-
'recordDocShareRevoked' : IDL.Func([IDL.Text, IDL.Text, IDL.Text], [Result_1], []),
|
|
948
1017
|
'recordQuoteRequested' : IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
|
|
949
1018
|
'recordRequisition' : IDL.Func([IDL.Text, Requisition], [Result_1], []),
|
|
950
1019
|
'removeParty' : IDL.Func([IDL.Text, IDL.Principal], [Result_1], []),
|
|
@@ -953,6 +1022,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
953
1022
|
[Result_1],
|
|
954
1023
|
[],
|
|
955
1024
|
),
|
|
1025
|
+
'repairTransactionMemberRoles' : IDL.Func([], [Result_5], []),
|
|
956
1026
|
'requestOfficialSearch' : IDL.Func([IDL.Text], [Result_4], []),
|
|
957
1027
|
'respondToRequisition' : IDL.Func(
|
|
958
1028
|
[IDL.Text, IDL.Text, IDL.Text, IDL.Vec(IDL.Text)],
|
|
@@ -961,11 +1031,18 @@ export const idlFactory = ({ IDL }) => {
|
|
|
961
1031
|
),
|
|
962
1032
|
'revokeBuyer' : IDL.Func([IDL.Text, IDL.Principal], [Result], []),
|
|
963
1033
|
'runCrossReference' : IDL.Func([IDL.Text], [Result_3], []),
|
|
1034
|
+
'setDelegateFromPlatform' : IDL.Func(
|
|
1035
|
+
[IDL.Text, IDL.Principal, IDL.Principal, IDL.Bool],
|
|
1036
|
+
[Result],
|
|
1037
|
+
[],
|
|
1038
|
+
),
|
|
964
1039
|
'setDocumentStorageCanister' : IDL.Func([IDL.Principal], [Result], []),
|
|
965
1040
|
'setFlowState' : IDL.Func([IDL.Text, IDL.Text], [Result], []),
|
|
966
1041
|
'setLandRegistryCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
967
1042
|
'setLedgerManagerCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
968
1043
|
'setListingData' : IDL.Func([IDL.Text, IDL.Text], [Result], []),
|
|
1044
|
+
'setMonitorPrincipal' : IDL.Func([IDL.Principal], [Result], []),
|
|
1045
|
+
'setPropertyLogbookCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
969
1046
|
'setPropertyRegistryCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
970
1047
|
'setUserManagementCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
971
1048
|
'trigger_land_registry_submission' : IDL.Func([IDL.Text], [Result], []),
|
|
@@ -24,6 +24,18 @@ export interface AdminRecord {
|
|
|
24
24
|
}
|
|
25
25
|
export type AdminRole = { 'regular' : null } |
|
|
26
26
|
{ 'super' : null };
|
|
27
|
+
export interface AgentGrant {
|
|
28
|
+
'status' : GrantStatus,
|
|
29
|
+
'clientId' : [] | [string],
|
|
30
|
+
'expiresAt' : [] | [Time],
|
|
31
|
+
'source' : GrantSource,
|
|
32
|
+
'ownerPrincipal' : [] | [Principal],
|
|
33
|
+
'scopes' : Array<string>,
|
|
34
|
+
'tier' : GrantTier,
|
|
35
|
+
'issuedAt' : Time,
|
|
36
|
+
'lastElevatedAt' : [] | [Time],
|
|
37
|
+
'agentPrincipal' : Principal,
|
|
38
|
+
}
|
|
27
39
|
export interface AuditLog {
|
|
28
40
|
'id' : bigint,
|
|
29
41
|
'action' : string,
|
|
@@ -59,6 +71,16 @@ export interface BotAgent {
|
|
|
59
71
|
export type BotRole = { 'BotFirm' : null } |
|
|
60
72
|
{ 'BotInternal' : null } |
|
|
61
73
|
{ 'BotPersonal' : null };
|
|
74
|
+
export type GrantSource = { 'authMdEmail' : null } |
|
|
75
|
+
{ 'oauth' : null } |
|
|
76
|
+
{ 'authMdIdJag' : null } |
|
|
77
|
+
{ 'invite' : null } |
|
|
78
|
+
{ 'authMdAnonymous' : null };
|
|
79
|
+
export type GrantStatus = { 'active' : null } |
|
|
80
|
+
{ 'revoked' : null } |
|
|
81
|
+
{ 'preClaim' : null };
|
|
82
|
+
export type GrantTier = { 'readOnly' : null } |
|
|
83
|
+
{ 'consequential' : null };
|
|
62
84
|
export type Permission = { 'ViewTransactionProgress' : string } |
|
|
63
85
|
{ 'ViewSharedTransaction' : string } |
|
|
64
86
|
{ 'ViewDevelopmentUnits' : string } |
|
|
@@ -67,17 +89,15 @@ export type Permission = { 'ViewTransactionProgress' : string } |
|
|
|
67
89
|
{ 'AdminViewAllTransactions' : null } |
|
|
68
90
|
{ 'AdminManageUsers' : null } |
|
|
69
91
|
{ 'UpdateMemberDocuments' : [string, Principal] };
|
|
70
|
-
export type Result = {
|
|
71
|
-
'ok' : { 'ownerPrincipal' : Principal, 'role' : BotRole }
|
|
72
|
-
} |
|
|
92
|
+
export type Result = { 'ok' : string } |
|
|
73
93
|
{ 'err' : string };
|
|
74
|
-
export type Result_1 = { 'ok' :
|
|
94
|
+
export type Result_1 = { 'ok' : bigint } |
|
|
75
95
|
{ 'err' : string };
|
|
76
|
-
export type Result_2 = { 'ok' :
|
|
96
|
+
export type Result_2 = { 'ok' : null } |
|
|
77
97
|
{ 'err' : string };
|
|
78
|
-
export type Result_3 = { 'ok' :
|
|
98
|
+
export type Result_3 = { 'ok' : BotAgent } |
|
|
79
99
|
{ 'err' : string };
|
|
80
|
-
export type Result_4 = { 'ok' :
|
|
100
|
+
export type Result_4 = { 'ok' : AgentGrant } |
|
|
81
101
|
{ 'err' : string };
|
|
82
102
|
export type Result_5 = { 'ok' : SolicitorSubmissionDetails } |
|
|
83
103
|
{ 'err' : string };
|
|
@@ -166,21 +186,22 @@ export interface _SERVICE {
|
|
|
166
186
|
[string, Principal, UserType, boolean, boolean, string],
|
|
167
187
|
boolean
|
|
168
188
|
>,
|
|
169
|
-
'adminLinkPrincipals' : ActorMethod<[Principal, Principal],
|
|
189
|
+
'adminLinkPrincipals' : ActorMethod<[Principal, Principal], Result>,
|
|
170
190
|
'amIAdmin' : ActorMethod<[], boolean>,
|
|
171
191
|
'bootstrapAdmin' : ActorMethod<[string, string], boolean>,
|
|
172
192
|
'canUserAccessTransaction' : ActorMethod<[Principal, string], boolean>,
|
|
173
193
|
'checkPermissionWithAudit' : ActorMethod<[Permission], boolean>,
|
|
174
|
-
'claimLinkCode' : ActorMethod<[string],
|
|
194
|
+
'claimLinkCode' : ActorMethod<[string], Result>,
|
|
175
195
|
'createUserForPrincipal' : ActorMethod<
|
|
176
196
|
[Principal, string, string, string, string, string],
|
|
177
197
|
boolean
|
|
178
198
|
>,
|
|
179
|
-
'deactivateBot' : ActorMethod<[Principal],
|
|
199
|
+
'deactivateBot' : ActorMethod<[Principal], Result_2>,
|
|
180
200
|
'deleteUserByPrincipal' : ActorMethod<[Principal, string], boolean>,
|
|
181
201
|
'demoteAdmin' : ActorMethod<[Principal, string], AdminMutationResult_1>,
|
|
182
202
|
'generateCSRFToken' : ActorMethod<[], string>,
|
|
183
|
-
'generateLinkCode' : ActorMethod<[],
|
|
203
|
+
'generateLinkCode' : ActorMethod<[], Result>,
|
|
204
|
+
'getAgentGrant' : ActorMethod<[Principal], [] | [AgentGrant]>,
|
|
184
205
|
'getAllBots' : ActorMethod<[], Array<BotAgent>>,
|
|
185
206
|
'getAllUsers' : ActorMethod<[], Array<UserProfile>>,
|
|
186
207
|
'getAuditLogs' : ActorMethod<[bigint], Array<AuditLog>>,
|
|
@@ -188,7 +209,13 @@ export interface _SERVICE {
|
|
|
188
209
|
'getBotAgent' : ActorMethod<[Principal], [] | [BotAgent]>,
|
|
189
210
|
'getCSRFToken' : ActorMethod<[], [] | [string]>,
|
|
190
211
|
'getCycles' : ActorMethod<[], bigint>,
|
|
212
|
+
'getGrantIssuer' : ActorMethod<[], [] | [Principal]>,
|
|
191
213
|
'getLinkedPrincipals' : ActorMethod<[Principal], Array<Principal>>,
|
|
214
|
+
'getMemberRoleInTransaction' : ActorMethod<
|
|
215
|
+
[Principal, string],
|
|
216
|
+
[] | [UserType]
|
|
217
|
+
>,
|
|
218
|
+
'getMyAgentGrants' : ActorMethod<[], Array<AgentGrant>>,
|
|
192
219
|
'getMyBots' : ActorMethod<[], Array<BotAgent>>,
|
|
193
220
|
'getMyLinkedPrincipals' : ActorMethod<[], Array<Principal>>,
|
|
194
221
|
'getMyManagingSolicitor' : ActorMethod<[], [] | [UserProfile]>,
|
|
@@ -208,14 +235,14 @@ export interface _SERVICE {
|
|
|
208
235
|
'listAdmins' : ActorMethod<[], Array<AdminRecord>>,
|
|
209
236
|
'logBotAction' : ActorMethod<
|
|
210
237
|
[Principal, string, [] | [string], boolean, string],
|
|
211
|
-
|
|
238
|
+
Result_2
|
|
212
239
|
>,
|
|
213
240
|
'myAdminRole' : ActorMethod<[], [] | [AdminRole]>,
|
|
214
241
|
'promoteAdmin' : ActorMethod<
|
|
215
242
|
[Principal, AdminRole, [] | [string], string],
|
|
216
243
|
AdminMutationResult
|
|
217
244
|
>,
|
|
218
|
-
'reactivateBot' : ActorMethod<[Principal],
|
|
245
|
+
'reactivateBot' : ActorMethod<[Principal], Result_2>,
|
|
219
246
|
'recordAuditEntry' : ActorMethod<
|
|
220
247
|
[
|
|
221
248
|
ActorType,
|
|
@@ -226,9 +253,34 @@ export interface _SERVICE {
|
|
|
226
253
|
boolean,
|
|
227
254
|
string,
|
|
228
255
|
],
|
|
229
|
-
|
|
256
|
+
Result_1
|
|
257
|
+
>,
|
|
258
|
+
'recordGrantElevation' : ActorMethod<
|
|
259
|
+
[
|
|
260
|
+
Principal,
|
|
261
|
+
Principal,
|
|
262
|
+
GrantTier,
|
|
263
|
+
Array<string>,
|
|
264
|
+
GrantSource,
|
|
265
|
+
[] | [Time],
|
|
266
|
+
[] | [string],
|
|
267
|
+
],
|
|
268
|
+
Result_4
|
|
230
269
|
>,
|
|
231
|
-
'
|
|
270
|
+
'recordGrantIssued' : ActorMethod<
|
|
271
|
+
[
|
|
272
|
+
Principal,
|
|
273
|
+
[] | [Principal],
|
|
274
|
+
GrantTier,
|
|
275
|
+
Array<string>,
|
|
276
|
+
GrantStatus,
|
|
277
|
+
GrantSource,
|
|
278
|
+
[] | [Time],
|
|
279
|
+
],
|
|
280
|
+
Result_4
|
|
281
|
+
>,
|
|
282
|
+
'recordGrantRevocation' : ActorMethod<[Principal, string], Result_2>,
|
|
283
|
+
'registerBot' : ActorMethod<[Principal, string, string, BotRole], Result_3>,
|
|
232
284
|
'registerUser' : ActorMethod<[string, string, string, string], boolean>,
|
|
233
285
|
'registerUserV2' : ActorMethod<
|
|
234
286
|
[
|
|
@@ -244,20 +296,25 @@ export interface _SERVICE {
|
|
|
244
296
|
],
|
|
245
297
|
boolean
|
|
246
298
|
>,
|
|
299
|
+
'repairTransactionMemberRole' : ActorMethod<
|
|
300
|
+
[string, Principal, UserType],
|
|
301
|
+
boolean
|
|
302
|
+
>,
|
|
247
303
|
'resendVerificationEmail' : ActorMethod<[string], boolean>,
|
|
248
304
|
'revokeSolicitorAccess' : ActorMethod<[Principal, string], boolean>,
|
|
249
|
-
'
|
|
305
|
+
'setGrantIssuer' : ActorMethod<[Principal], Result_2>,
|
|
306
|
+
'sweepStaleGrants' : ActorMethod<[], Result_1>,
|
|
307
|
+
'unlinkPrincipal' : ActorMethod<[Principal], Result>,
|
|
250
308
|
'updateMemberDocuments' : ActorMethod<[string, string, string], boolean>,
|
|
251
309
|
'updateSolicitorLRDetails' : ActorMethod<
|
|
252
310
|
[[] | [string], boolean, [] | [string], [] | [string], [] | [string]],
|
|
253
|
-
|
|
311
|
+
Result
|
|
254
312
|
>,
|
|
255
313
|
'updateTransactionMemberRequiredDocs' : ActorMethod<
|
|
256
314
|
[string, Array<string>, string],
|
|
257
315
|
boolean
|
|
258
316
|
>,
|
|
259
317
|
'validateAdmin' : ActorMethod<[Principal], boolean>,
|
|
260
|
-
'validateBot' : ActorMethod<[Principal], Result>,
|
|
261
318
|
'validateCSRFToken' : ActorMethod<[string], boolean>,
|
|
262
319
|
'verifyEmail' : ActorMethod<[string, string], boolean>,
|
|
263
320
|
'verifyUser' : ActorMethod<[Principal, string], boolean>,
|