@propxchain/core-client 0.28.0-canary.67 → 0.29.0-canary.68
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 +12 -1
- package/dist/canisters/transaction_manager/transaction_manager.did.js +15 -1
- package/package.json +1 -1
- package/src/canisters/transaction_manager/transaction_manager.did +14 -1
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +12 -1
- package/src/canisters/transaction_manager/transaction_manager.did.js +15 -1
|
@@ -730,6 +730,14 @@ export interface WaterConnection {
|
|
|
730
730
|
}
|
|
731
731
|
export type Basis = { 'asking' : null } |
|
|
732
732
|
{ 'agreed' : null };
|
|
733
|
+
export type BuyerReleaseCause = { 'other' : null } |
|
|
734
|
+
{ 'platformReset' : null } |
|
|
735
|
+
{ 'buyerCancelled' : null } |
|
|
736
|
+
{ 'sellerWithdrew' : null };
|
|
737
|
+
export interface BuyerReleaseNote {
|
|
738
|
+
'cause' : BuyerReleaseCause,
|
|
739
|
+
'clearedMilestones' : Array<string>,
|
|
740
|
+
}
|
|
733
741
|
export interface _SERVICE {
|
|
734
742
|
'acknowledgeTA6Wording' : ActorMethod<[string], Result_1>,
|
|
735
743
|
'addParty' : ActorMethod<[string, string, string, string, boolean], Result_2>,
|
|
@@ -1050,7 +1058,10 @@ export interface _SERVICE {
|
|
|
1050
1058
|
* / while the isAdmin await is in flight.
|
|
1051
1059
|
*/
|
|
1052
1060
|
'recordRequisition' : ActorMethod<[string, Requisition], Result_1>,
|
|
1053
|
-
'releaseBuyerFromPlatform' : ActorMethod<
|
|
1061
|
+
'releaseBuyerFromPlatform' : ActorMethod<
|
|
1062
|
+
[string, [] | [BuyerReleaseNote]],
|
|
1063
|
+
Result
|
|
1064
|
+
>,
|
|
1054
1065
|
'removeParty' : ActorMethod<[string, Principal], Result_1>,
|
|
1055
1066
|
'removeSolicitor' : ActorMethod<
|
|
1056
1067
|
[string, { 'seller' : null } | { 'buyer' : null }],
|
|
@@ -786,6 +786,16 @@ export const idlFactory = ({ IDL }) => {
|
|
|
786
786
|
'totalSinceDeploy' : IDL.Nat,
|
|
787
787
|
});
|
|
788
788
|
const Basis = IDL.Variant({ 'asking' : IDL.Null, 'agreed' : IDL.Null });
|
|
789
|
+
const BuyerReleaseCause = IDL.Variant({
|
|
790
|
+
'other' : IDL.Null,
|
|
791
|
+
'platformReset' : IDL.Null,
|
|
792
|
+
'buyerCancelled' : IDL.Null,
|
|
793
|
+
'sellerWithdrew' : IDL.Null,
|
|
794
|
+
});
|
|
795
|
+
const BuyerReleaseNote = IDL.Record({
|
|
796
|
+
'cause' : BuyerReleaseCause,
|
|
797
|
+
'clearedMilestones' : IDL.Vec(IDL.Text),
|
|
798
|
+
});
|
|
789
799
|
return IDL.Service({
|
|
790
800
|
'acknowledgeTA6Wording' : IDL.Func([IDL.Text], [Result_1], []),
|
|
791
801
|
'addParty' : IDL.Func(
|
|
@@ -1210,7 +1220,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1210
1220
|
[],
|
|
1211
1221
|
),
|
|
1212
1222
|
'recordRequisition' : IDL.Func([IDL.Text, Requisition], [Result_1], []),
|
|
1213
|
-
'releaseBuyerFromPlatform' : IDL.Func(
|
|
1223
|
+
'releaseBuyerFromPlatform' : IDL.Func(
|
|
1224
|
+
[IDL.Text, IDL.Opt(BuyerReleaseNote)],
|
|
1225
|
+
[Result],
|
|
1226
|
+
[],
|
|
1227
|
+
),
|
|
1214
1228
|
'removeParty' : IDL.Func([IDL.Text, IDL.Principal], [Result_1], []),
|
|
1215
1229
|
'removeSolicitor' : IDL.Func(
|
|
1216
1230
|
[IDL.Text, IDL.Variant({ 'seller' : IDL.Null, 'buyer' : IDL.Null })],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@propxchain/core-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0-canary.68",
|
|
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",
|
|
@@ -828,6 +828,18 @@ type CompanySeller =
|
|
|
828
828
|
countryOfIncorporation: text;
|
|
829
829
|
director: text;
|
|
830
830
|
};
|
|
831
|
+
type BuyerReleaseNote =
|
|
832
|
+
record {
|
|
833
|
+
cause: BuyerReleaseCause;
|
|
834
|
+
clearedMilestones: vec text;
|
|
835
|
+
};
|
|
836
|
+
type BuyerReleaseCause =
|
|
837
|
+
variant {
|
|
838
|
+
buyerCancelled;
|
|
839
|
+
other;
|
|
840
|
+
platformReset;
|
|
841
|
+
sellerWithdrew;
|
|
842
|
+
};
|
|
831
843
|
type BoundaryOwnership =
|
|
832
844
|
variant {
|
|
833
845
|
NotKnown;
|
|
@@ -1245,7 +1257,8 @@ service : {
|
|
|
1245
1257
|
/// while the isAdmin await is in flight.
|
|
1246
1258
|
recordRequisition: (transactionID: text, requisition: Requisition) ->
|
|
1247
1259
|
(Result_1);
|
|
1248
|
-
releaseBuyerFromPlatform: (transactionId: text
|
|
1260
|
+
releaseBuyerFromPlatform: (transactionId: text, note:
|
|
1261
|
+
opt BuyerReleaseNote) -> (Result);
|
|
1249
1262
|
removeParty: (transactionId: text, partyPrincipal: principal) -> (Result_1);
|
|
1250
1263
|
removeSolicitor: (transactionId: text, side: variant {
|
|
1251
1264
|
buyer;
|
|
@@ -730,6 +730,14 @@ export interface WaterConnection {
|
|
|
730
730
|
}
|
|
731
731
|
export type Basis = { 'asking' : null } |
|
|
732
732
|
{ 'agreed' : null };
|
|
733
|
+
export type BuyerReleaseCause = { 'other' : null } |
|
|
734
|
+
{ 'platformReset' : null } |
|
|
735
|
+
{ 'buyerCancelled' : null } |
|
|
736
|
+
{ 'sellerWithdrew' : null };
|
|
737
|
+
export interface BuyerReleaseNote {
|
|
738
|
+
'cause' : BuyerReleaseCause,
|
|
739
|
+
'clearedMilestones' : Array<string>,
|
|
740
|
+
}
|
|
733
741
|
export interface _SERVICE {
|
|
734
742
|
'acknowledgeTA6Wording' : ActorMethod<[string], Result_1>,
|
|
735
743
|
'addParty' : ActorMethod<[string, string, string, string, boolean], Result_2>,
|
|
@@ -1050,7 +1058,10 @@ export interface _SERVICE {
|
|
|
1050
1058
|
* / while the isAdmin await is in flight.
|
|
1051
1059
|
*/
|
|
1052
1060
|
'recordRequisition' : ActorMethod<[string, Requisition], Result_1>,
|
|
1053
|
-
'releaseBuyerFromPlatform' : ActorMethod<
|
|
1061
|
+
'releaseBuyerFromPlatform' : ActorMethod<
|
|
1062
|
+
[string, [] | [BuyerReleaseNote]],
|
|
1063
|
+
Result
|
|
1064
|
+
>,
|
|
1054
1065
|
'removeParty' : ActorMethod<[string, Principal], Result_1>,
|
|
1055
1066
|
'removeSolicitor' : ActorMethod<
|
|
1056
1067
|
[string, { 'seller' : null } | { 'buyer' : null }],
|
|
@@ -786,6 +786,16 @@ export const idlFactory = ({ IDL }) => {
|
|
|
786
786
|
'totalSinceDeploy' : IDL.Nat,
|
|
787
787
|
});
|
|
788
788
|
const Basis = IDL.Variant({ 'asking' : IDL.Null, 'agreed' : IDL.Null });
|
|
789
|
+
const BuyerReleaseCause = IDL.Variant({
|
|
790
|
+
'other' : IDL.Null,
|
|
791
|
+
'platformReset' : IDL.Null,
|
|
792
|
+
'buyerCancelled' : IDL.Null,
|
|
793
|
+
'sellerWithdrew' : IDL.Null,
|
|
794
|
+
});
|
|
795
|
+
const BuyerReleaseNote = IDL.Record({
|
|
796
|
+
'cause' : BuyerReleaseCause,
|
|
797
|
+
'clearedMilestones' : IDL.Vec(IDL.Text),
|
|
798
|
+
});
|
|
789
799
|
return IDL.Service({
|
|
790
800
|
'acknowledgeTA6Wording' : IDL.Func([IDL.Text], [Result_1], []),
|
|
791
801
|
'addParty' : IDL.Func(
|
|
@@ -1210,7 +1220,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1210
1220
|
[],
|
|
1211
1221
|
),
|
|
1212
1222
|
'recordRequisition' : IDL.Func([IDL.Text, Requisition], [Result_1], []),
|
|
1213
|
-
'releaseBuyerFromPlatform' : IDL.Func(
|
|
1223
|
+
'releaseBuyerFromPlatform' : IDL.Func(
|
|
1224
|
+
[IDL.Text, IDL.Opt(BuyerReleaseNote)],
|
|
1225
|
+
[Result],
|
|
1226
|
+
[],
|
|
1227
|
+
),
|
|
1214
1228
|
'removeParty' : IDL.Func([IDL.Text, IDL.Principal], [Result_1], []),
|
|
1215
1229
|
'removeSolicitor' : IDL.Func(
|
|
1216
1230
|
[IDL.Text, IDL.Variant({ 'seller' : IDL.Null, 'buyer' : IDL.Null })],
|