@propxchain/core-client 0.16.0-canary.55 → 0.18.0-canary.57
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 +8 -1
- package/dist/canisters/transaction_manager/transaction_manager.did.js +7 -0
- package/package.json +1 -1
- package/src/canisters/transaction_manager/transaction_manager.did +10 -5
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +8 -1
- package/src/canisters/transaction_manager/transaction_manager.did.js +7 -0
|
@@ -271,7 +271,12 @@ export type Result_16 = { 'ok' : PhaseMilestones } |
|
|
|
271
271
|
export type Result_17 = { 'ok' : TransactionPartyProgress } |
|
|
272
272
|
{ 'err' : string };
|
|
273
273
|
export type Result_18 = {
|
|
274
|
-
'ok' : {
|
|
274
|
+
'ok' : {
|
|
275
|
+
'mode' : string,
|
|
276
|
+
'createdBy' : Principal,
|
|
277
|
+
'seller' : Principal,
|
|
278
|
+
'buyer' : Principal,
|
|
279
|
+
}
|
|
275
280
|
} |
|
|
276
281
|
{ 'err' : string };
|
|
277
282
|
export type Result_19 = { 'ok' : NextStepRecommendation } |
|
|
@@ -851,6 +856,7 @@ export interface _SERVICE {
|
|
|
851
856
|
[string],
|
|
852
857
|
[] | [TransactionTimeline]
|
|
853
858
|
>,
|
|
859
|
+
'handOverSellerFromPlatform' : ActorMethod<[string, Principal], Result>,
|
|
854
860
|
'hasAcknowledgedTA6Wording' : ActorMethod<[string], boolean>,
|
|
855
861
|
'initiate_blockchain_completion' : ActorMethod<
|
|
856
862
|
[string, string, string],
|
|
@@ -985,6 +991,7 @@ export interface _SERVICE {
|
|
|
985
991
|
'setPropertyRegistryCanister' : ActorMethod<[string], Result>,
|
|
986
992
|
'setUserManagementCanister' : ActorMethod<[string], Result>,
|
|
987
993
|
'trigger_land_registry_submission' : ActorMethod<[string], Result>,
|
|
994
|
+
'unrecordFormUpload' : ActorMethod<[string, string], Result_1>,
|
|
988
995
|
'updatePartyAMLDoc' : ActorMethod<[string, Principal, string], Result_2>,
|
|
989
996
|
'updateSolicitorTaskStatus' : ActorMethod<
|
|
990
997
|
[string, SolicitorTaskType, SolicitorTaskStatus, [] | [string]],
|
|
@@ -271,6 +271,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
271
271
|
const Result_18 = IDL.Variant({
|
|
272
272
|
'ok' : IDL.Record({
|
|
273
273
|
'mode' : IDL.Text,
|
|
274
|
+
'createdBy' : IDL.Principal,
|
|
274
275
|
'seller' : IDL.Principal,
|
|
275
276
|
'buyer' : IDL.Principal,
|
|
276
277
|
}),
|
|
@@ -991,6 +992,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
991
992
|
[IDL.Opt(TransactionTimeline)],
|
|
992
993
|
['query'],
|
|
993
994
|
),
|
|
995
|
+
'handOverSellerFromPlatform' : IDL.Func(
|
|
996
|
+
[IDL.Text, IDL.Principal],
|
|
997
|
+
[Result],
|
|
998
|
+
[],
|
|
999
|
+
),
|
|
994
1000
|
'hasAcknowledgedTA6Wording' : IDL.Func([IDL.Text], [IDL.Bool], ['query']),
|
|
995
1001
|
'initiate_blockchain_completion' : IDL.Func(
|
|
996
1002
|
[IDL.Text, IDL.Text, IDL.Text],
|
|
@@ -1114,6 +1120,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1114
1120
|
'setPropertyRegistryCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
1115
1121
|
'setUserManagementCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
1116
1122
|
'trigger_land_registry_submission' : IDL.Func([IDL.Text], [Result], []),
|
|
1123
|
+
'unrecordFormUpload' : IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
|
|
1117
1124
|
'updatePartyAMLDoc' : IDL.Func(
|
|
1118
1125
|
[IDL.Text, IDL.Principal, IDL.Text],
|
|
1119
1126
|
[Result_2],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@propxchain/core-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0-canary.57",
|
|
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",
|
|
@@ -556,11 +556,13 @@ type Result_19 =
|
|
|
556
556
|
type Result_18 =
|
|
557
557
|
variant {
|
|
558
558
|
err: text;
|
|
559
|
-
ok:
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
559
|
+
ok:
|
|
560
|
+
record {
|
|
561
|
+
buyer: principal;
|
|
562
|
+
createdBy: principal;
|
|
563
|
+
mode: text;
|
|
564
|
+
seller: principal;
|
|
565
|
+
};
|
|
564
566
|
};
|
|
565
567
|
type Result_17 =
|
|
566
568
|
variant {
|
|
@@ -1034,6 +1036,8 @@ service : {
|
|
|
1034
1036
|
getUserManagementCanister: () -> (text) query;
|
|
1035
1037
|
get_transaction_timeline: (transactionID: text) ->
|
|
1036
1038
|
(opt TransactionTimeline) query;
|
|
1039
|
+
handOverSellerFromPlatform: (transactionId: text, newSeller: principal) ->
|
|
1040
|
+
(Result);
|
|
1037
1041
|
hasAcknowledgedTA6Wording: (txId: text) -> (bool) query;
|
|
1038
1042
|
initiate_blockchain_completion: (transactionID: text, buyerFundsHash:
|
|
1039
1043
|
text, completionStatementHash: text) -> (Result);
|
|
@@ -1158,6 +1162,7 @@ service : {
|
|
|
1158
1162
|
setPropertyRegistryCanister: (canisterId: text) -> (Result);
|
|
1159
1163
|
setUserManagementCanister: (canisterId: text) -> (Result);
|
|
1160
1164
|
trigger_land_registry_submission: (transactionID: text) -> (Result);
|
|
1165
|
+
unrecordFormUpload: (txId: text, formType: text) -> (Result_1);
|
|
1161
1166
|
updatePartyAMLDoc: (transactionId: text, partyPrincipal: principal,
|
|
1162
1167
|
docType: text) -> (Result_2);
|
|
1163
1168
|
updateSolicitorTaskStatus: (transactionId: text, taskType:
|
|
@@ -271,7 +271,12 @@ export type Result_16 = { 'ok' : PhaseMilestones } |
|
|
|
271
271
|
export type Result_17 = { 'ok' : TransactionPartyProgress } |
|
|
272
272
|
{ 'err' : string };
|
|
273
273
|
export type Result_18 = {
|
|
274
|
-
'ok' : {
|
|
274
|
+
'ok' : {
|
|
275
|
+
'mode' : string,
|
|
276
|
+
'createdBy' : Principal,
|
|
277
|
+
'seller' : Principal,
|
|
278
|
+
'buyer' : Principal,
|
|
279
|
+
}
|
|
275
280
|
} |
|
|
276
281
|
{ 'err' : string };
|
|
277
282
|
export type Result_19 = { 'ok' : NextStepRecommendation } |
|
|
@@ -851,6 +856,7 @@ export interface _SERVICE {
|
|
|
851
856
|
[string],
|
|
852
857
|
[] | [TransactionTimeline]
|
|
853
858
|
>,
|
|
859
|
+
'handOverSellerFromPlatform' : ActorMethod<[string, Principal], Result>,
|
|
854
860
|
'hasAcknowledgedTA6Wording' : ActorMethod<[string], boolean>,
|
|
855
861
|
'initiate_blockchain_completion' : ActorMethod<
|
|
856
862
|
[string, string, string],
|
|
@@ -985,6 +991,7 @@ export interface _SERVICE {
|
|
|
985
991
|
'setPropertyRegistryCanister' : ActorMethod<[string], Result>,
|
|
986
992
|
'setUserManagementCanister' : ActorMethod<[string], Result>,
|
|
987
993
|
'trigger_land_registry_submission' : ActorMethod<[string], Result>,
|
|
994
|
+
'unrecordFormUpload' : ActorMethod<[string, string], Result_1>,
|
|
988
995
|
'updatePartyAMLDoc' : ActorMethod<[string, Principal, string], Result_2>,
|
|
989
996
|
'updateSolicitorTaskStatus' : ActorMethod<
|
|
990
997
|
[string, SolicitorTaskType, SolicitorTaskStatus, [] | [string]],
|
|
@@ -271,6 +271,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
271
271
|
const Result_18 = IDL.Variant({
|
|
272
272
|
'ok' : IDL.Record({
|
|
273
273
|
'mode' : IDL.Text,
|
|
274
|
+
'createdBy' : IDL.Principal,
|
|
274
275
|
'seller' : IDL.Principal,
|
|
275
276
|
'buyer' : IDL.Principal,
|
|
276
277
|
}),
|
|
@@ -991,6 +992,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
991
992
|
[IDL.Opt(TransactionTimeline)],
|
|
992
993
|
['query'],
|
|
993
994
|
),
|
|
995
|
+
'handOverSellerFromPlatform' : IDL.Func(
|
|
996
|
+
[IDL.Text, IDL.Principal],
|
|
997
|
+
[Result],
|
|
998
|
+
[],
|
|
999
|
+
),
|
|
994
1000
|
'hasAcknowledgedTA6Wording' : IDL.Func([IDL.Text], [IDL.Bool], ['query']),
|
|
995
1001
|
'initiate_blockchain_completion' : IDL.Func(
|
|
996
1002
|
[IDL.Text, IDL.Text, IDL.Text],
|
|
@@ -1114,6 +1120,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1114
1120
|
'setPropertyRegistryCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
1115
1121
|
'setUserManagementCanister' : IDL.Func([IDL.Text], [Result], []),
|
|
1116
1122
|
'trigger_land_registry_submission' : IDL.Func([IDL.Text], [Result], []),
|
|
1123
|
+
'unrecordFormUpload' : IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
|
|
1117
1124
|
'updatePartyAMLDoc' : IDL.Func(
|
|
1118
1125
|
[IDL.Text, IDL.Principal, IDL.Text],
|
|
1119
1126
|
[Result_2],
|