@propxchain/core-client 0.22.0-canary.61 → 0.23.0-canary.62

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.
@@ -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 }]
@@ -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 }))],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propxchain/core-client",
3
- "version": "0.22.0-canary.61",
3
+ "version": "0.23.0-canary.62",
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,7 @@ service : {
935
935
  backfillTransactionMembers: () -> (Result_25);
936
936
  bootstrapDocumentStorageCanister: (canisterId: principal) -> (Result);
937
937
  canAccessTransaction: (transactionId: text) -> (bool) query;
938
+ confirmKeysReleased: (transactionID: text) -> (Result);
938
939
  connectBot: (transactionId: text, botPrincipal: principal, botName:
939
940
  text) -> (Result_1);
940
941
  consumeLandRegistryNotification: (notificationType: text,
@@ -970,6 +971,27 @@ service : {
970
971
  buyer: bool;
971
972
  seller: bool;
972
973
  }) query;
974
+ getCompletionStatus: (transactionID: text) ->
975
+ (opt
976
+ record {
977
+ buyer: opt record {
978
+ at: int;
979
+ byConveyancer: bool;
980
+ };
981
+ conveyancerActing: record {
982
+ buyer: bool;
983
+ seller: bool;
984
+ };
985
+ keysReleased: opt record {
986
+ at: int;
987
+ byAgent: bool;
988
+ };
989
+ seller: opt record {
990
+ at: int;
991
+ byConveyancer: bool;
992
+ };
993
+ status: text;
994
+ }) query;
973
995
  getConveyancerSide: (user: principal, txId: text) ->
974
996
  (opt variant {
975
997
  buyer;
@@ -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 }]
@@ -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 }))],