@propxchain/core-client 0.12.0 → 0.14.0-canary.52

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.
@@ -70,23 +70,6 @@ export interface _SERVICE {
70
70
  >,
71
71
  'setTransactionManagerCanister' : ActorMethod<[string], Result>,
72
72
  'setUserManagementCanister' : ActorMethod<[string], Result>,
73
- 'submitEmailVerification' : ActorMethod<[string, string, string], bigint>,
74
- 'submitMessageNotification' : ActorMethod<
75
- [string, string, string, string, string, string, string, string, string],
76
- bigint
77
- >,
78
- 'submitPartnerInquiry' : ActorMethod<
79
- [string, string, string, string, string, string],
80
- bigint
81
- >,
82
- 'submitSalesInquiry' : ActorMethod<
83
- [string, string, string, string, string, string, string],
84
- bigint
85
- >,
86
- 'submitSupportRequest' : ActorMethod<
87
- [string, string, string, string],
88
- bigint
89
- >,
90
73
  }
91
74
  export declare const idlFactory: IDL.InterfaceFactory;
92
75
  export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
@@ -91,41 +91,6 @@ export const idlFactory = ({ IDL }) => {
91
91
  ),
92
92
  'setTransactionManagerCanister' : IDL.Func([IDL.Text], [Result], []),
93
93
  'setUserManagementCanister' : IDL.Func([IDL.Text], [Result], []),
94
- 'submitEmailVerification' : IDL.Func(
95
- [IDL.Text, IDL.Text, IDL.Text],
96
- [IDL.Nat],
97
- [],
98
- ),
99
- 'submitMessageNotification' : IDL.Func(
100
- [
101
- IDL.Text,
102
- IDL.Text,
103
- IDL.Text,
104
- IDL.Text,
105
- IDL.Text,
106
- IDL.Text,
107
- IDL.Text,
108
- IDL.Text,
109
- IDL.Text,
110
- ],
111
- [IDL.Nat],
112
- [],
113
- ),
114
- 'submitPartnerInquiry' : IDL.Func(
115
- [IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text],
116
- [IDL.Nat],
117
- [],
118
- ),
119
- 'submitSalesInquiry' : IDL.Func(
120
- [IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text],
121
- [IDL.Nat],
122
- [],
123
- ),
124
- 'submitSupportRequest' : IDL.Func(
125
- [IDL.Text, IDL.Text, IDL.Text, IDL.Text],
126
- [IDL.Nat],
127
- [],
128
- ),
129
94
  });
130
95
  };
131
96
  export const init = ({ IDL }) => { return []; };
@@ -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,
@@ -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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propxchain/core-client",
3
- "version": "0.12.0",
3
+ "version": "0.14.0-canary.52",
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",
@@ -72,15 +72,4 @@ service : {
72
72
  text, details: text) -> (nat);
73
73
  setTransactionManagerCanister: (canisterId: text) -> (Result);
74
74
  setUserManagementCanister: (canisterId: text) -> (Result);
75
- submitEmailVerification: (name: text, email: text, verificationToken:
76
- text) -> (nat);
77
- submitMessageNotification: (recipientEmail: text, recipientName: text,
78
- senderName: text, subject: text, messagePreview: text, threadId: text,
79
- transactionId: text, propertyAddress: text, priority: text) -> (nat);
80
- submitPartnerInquiry: (name: text, email: text, company: text, website:
81
- text, partnerType: text, message: text) -> (nat);
82
- submitSalesInquiry: (name: text, email: text, company: text, phone:
83
- text, userType: text, volume: text, message: text) -> (nat);
84
- submitSupportRequest: (name: text, email: text, subject: text, message:
85
- text) -> (nat);
86
75
  }
@@ -70,23 +70,6 @@ export interface _SERVICE {
70
70
  >,
71
71
  'setTransactionManagerCanister' : ActorMethod<[string], Result>,
72
72
  'setUserManagementCanister' : ActorMethod<[string], Result>,
73
- 'submitEmailVerification' : ActorMethod<[string, string, string], bigint>,
74
- 'submitMessageNotification' : ActorMethod<
75
- [string, string, string, string, string, string, string, string, string],
76
- bigint
77
- >,
78
- 'submitPartnerInquiry' : ActorMethod<
79
- [string, string, string, string, string, string],
80
- bigint
81
- >,
82
- 'submitSalesInquiry' : ActorMethod<
83
- [string, string, string, string, string, string, string],
84
- bigint
85
- >,
86
- 'submitSupportRequest' : ActorMethod<
87
- [string, string, string, string],
88
- bigint
89
- >,
90
73
  }
91
74
  export declare const idlFactory: IDL.InterfaceFactory;
92
75
  export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
@@ -91,41 +91,6 @@ export const idlFactory = ({ IDL }) => {
91
91
  ),
92
92
  'setTransactionManagerCanister' : IDL.Func([IDL.Text], [Result], []),
93
93
  'setUserManagementCanister' : IDL.Func([IDL.Text], [Result], []),
94
- 'submitEmailVerification' : IDL.Func(
95
- [IDL.Text, IDL.Text, IDL.Text],
96
- [IDL.Nat],
97
- [],
98
- ),
99
- 'submitMessageNotification' : IDL.Func(
100
- [
101
- IDL.Text,
102
- IDL.Text,
103
- IDL.Text,
104
- IDL.Text,
105
- IDL.Text,
106
- IDL.Text,
107
- IDL.Text,
108
- IDL.Text,
109
- IDL.Text,
110
- ],
111
- [IDL.Nat],
112
- [],
113
- ),
114
- 'submitPartnerInquiry' : IDL.Func(
115
- [IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text],
116
- [IDL.Nat],
117
- [],
118
- ),
119
- 'submitSalesInquiry' : IDL.Func(
120
- [IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text],
121
- [IDL.Nat],
122
- [],
123
- ),
124
- 'submitSupportRequest' : IDL.Func(
125
- [IDL.Text, IDL.Text, IDL.Text, IDL.Text],
126
- [IDL.Nat],
127
- [],
128
- ),
129
94
  });
130
95
  };
131
96
  export const init = ({ IDL }) => { return []; };
@@ -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 =
@@ -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,
@@ -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,