@propxchain/core-client 0.13.0-canary.51 → 0.15.0-canary.53

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.
@@ -39,6 +39,9 @@ export interface Arrangement {
39
39
  'contributionAmount' : [] | [bigint],
40
40
  }
41
41
  export interface BotConnection {
42
+ 'attribution' : string,
43
+ 'clientId' : [] | [string],
44
+ 'ownerPrincipal' : [] | [Principal],
42
45
  'principal' : Principal,
43
46
  'name' : string,
44
47
  'addedAt' : bigint,
@@ -887,6 +890,10 @@ export interface _SERVICE {
887
890
  [string, string, string, Principal],
888
891
  undefined
889
892
  >,
893
+ 'onMemberDocumentsUpdated' : ActorMethod<
894
+ [string, string, Principal],
895
+ undefined
896
+ >,
890
897
  'on_blockchain_completion_success' : ActorMethod<[string], Result>,
891
898
  'pollAllPendingApplications' : ActorMethod<[], Result_3>,
892
899
  'pollApplicationStatus' : ActorMethod<[string], Result_6>,
@@ -681,6 +681,9 @@ export const idlFactory = ({ IDL }) => {
681
681
  'err' : IDL.Text,
682
682
  });
683
683
  const BotConnection = IDL.Record({
684
+ 'attribution' : IDL.Text,
685
+ 'clientId' : IDL.Opt(IDL.Text),
686
+ 'ownerPrincipal' : IDL.Opt(IDL.Principal),
684
687
  'principal' : IDL.Principal,
685
688
  'name' : IDL.Text,
686
689
  'addedAt' : IDL.Int,
@@ -993,6 +996,11 @@ export const idlFactory = ({ IDL }) => {
993
996
  [],
994
997
  [],
995
998
  ),
999
+ 'onMemberDocumentsUpdated' : IDL.Func(
1000
+ [IDL.Text, IDL.Text, IDL.Principal],
1001
+ [],
1002
+ [],
1003
+ ),
996
1004
  'on_blockchain_completion_success' : IDL.Func([IDL.Text], [Result], []),
997
1005
  'pollAllPendingApplications' : IDL.Func([], [Result_3], []),
998
1006
  'pollApplicationStatus' : IDL.Func([IDL.Text], [Result_6], []),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propxchain/core-client",
3
- "version": "0.13.0-canary.51",
3
+ "version": "0.15.0-canary.53",
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",
@@ -836,7 +836,10 @@ type BotConnection =
836
836
  record {
837
837
  addedAt: int;
838
838
  addedBy: principal;
839
+ attribution: text;
840
+ clientId: opt text;
839
841
  name: text;
842
+ ownerPrincipal: opt principal;
840
843
  "principal": principal;
841
844
  };
842
845
  type Arrangement =
@@ -1059,6 +1062,7 @@ service : {
1059
1062
  principal) -> (Result);
1060
1063
  onDocumentRegistered: (transactionId: text, docType: text, documentHash:
1061
1064
  text, uploadedBy: principal) -> ();
1065
+ onMemberDocumentsUpdated: (txId: text, doc: text, member: principal) -> ();
1062
1066
  on_blockchain_completion_success: (transactionID: text) -> (Result);
1063
1067
  pollAllPendingApplications: () -> (Result_3);
1064
1068
  pollApplicationStatus: (transactionID: text) -> (Result_6);
@@ -39,6 +39,9 @@ export interface Arrangement {
39
39
  'contributionAmount' : [] | [bigint],
40
40
  }
41
41
  export interface BotConnection {
42
+ 'attribution' : string,
43
+ 'clientId' : [] | [string],
44
+ 'ownerPrincipal' : [] | [Principal],
42
45
  'principal' : Principal,
43
46
  'name' : string,
44
47
  'addedAt' : bigint,
@@ -887,6 +890,10 @@ export interface _SERVICE {
887
890
  [string, string, string, Principal],
888
891
  undefined
889
892
  >,
893
+ 'onMemberDocumentsUpdated' : ActorMethod<
894
+ [string, string, Principal],
895
+ undefined
896
+ >,
890
897
  'on_blockchain_completion_success' : ActorMethod<[string], Result>,
891
898
  'pollAllPendingApplications' : ActorMethod<[], Result_3>,
892
899
  'pollApplicationStatus' : ActorMethod<[string], Result_6>,
@@ -681,6 +681,9 @@ export const idlFactory = ({ IDL }) => {
681
681
  'err' : IDL.Text,
682
682
  });
683
683
  const BotConnection = IDL.Record({
684
+ 'attribution' : IDL.Text,
685
+ 'clientId' : IDL.Opt(IDL.Text),
686
+ 'ownerPrincipal' : IDL.Opt(IDL.Principal),
684
687
  'principal' : IDL.Principal,
685
688
  'name' : IDL.Text,
686
689
  'addedAt' : IDL.Int,
@@ -993,6 +996,11 @@ export const idlFactory = ({ IDL }) => {
993
996
  [],
994
997
  [],
995
998
  ),
999
+ 'onMemberDocumentsUpdated' : IDL.Func(
1000
+ [IDL.Text, IDL.Text, IDL.Principal],
1001
+ [],
1002
+ [],
1003
+ ),
996
1004
  'on_blockchain_completion_success' : IDL.Func([IDL.Text], [Result], []),
997
1005
  'pollAllPendingApplications' : IDL.Func([], [Result_3], []),
998
1006
  'pollApplicationStatus' : IDL.Func([IDL.Text], [Result_6], []),