@monarkmarkets/api-client 1.3.12 → 1.3.13
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/Client.d.ts +2 -2
- package/dist/Client.js +5 -5
- package/package.json +1 -1
package/dist/Client.d.ts
CHANGED
|
@@ -1074,7 +1074,7 @@ export declare class Client {
|
|
|
1074
1074
|
protected processCreateTransaction(response: Response): Promise<Transaction>;
|
|
1075
1075
|
/**
|
|
1076
1076
|
* Get all orders for a specific asset type with optional filtering.
|
|
1077
|
-
* @param targetAssetType
|
|
1077
|
+
* @param targetAssetType Required: The asset type (PreIPOCompanySPV or RegisteredFund).
|
|
1078
1078
|
* @param page (optional) Number of the page to retrieve.
|
|
1079
1079
|
Defaults to 1 if not specified.
|
|
1080
1080
|
* @param pageSize (optional) Size of the page to retrieve.
|
|
@@ -1085,7 +1085,7 @@ export declare class Client {
|
|
|
1085
1085
|
* @param referenceId (optional) Optional: Filter by order reference ID.
|
|
1086
1086
|
* @return OK
|
|
1087
1087
|
*/
|
|
1088
|
-
getTransactions(targetAssetType: TargetAssetType
|
|
1088
|
+
getTransactions(targetAssetType: TargetAssetType, page: number | undefined, pageSize: number | undefined, targetId: string | undefined, investorId: string | undefined, status: string | undefined, referenceId: string | undefined): Promise<TransactionApiResponse>;
|
|
1089
1089
|
protected processGetTransactions(response: Response): Promise<TransactionApiResponse>;
|
|
1090
1090
|
/**
|
|
1091
1091
|
* Update an existing order.
|
package/dist/Client.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//----------------------
|
|
2
2
|
// <auto-generated>
|
|
3
|
-
// Generated using the NSwag toolchain v14.6.
|
|
3
|
+
// Generated using the NSwag toolchain v14.6.2.0 (NJsonSchema v11.5.2.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
|
|
4
4
|
// </auto-generated>
|
|
5
5
|
//----------------------
|
|
6
6
|
/* eslint-disable */
|
|
@@ -6977,7 +6977,7 @@ export class Client {
|
|
|
6977
6977
|
}
|
|
6978
6978
|
/**
|
|
6979
6979
|
* Get all orders for a specific asset type with optional filtering.
|
|
6980
|
-
* @param targetAssetType
|
|
6980
|
+
* @param targetAssetType Required: The asset type (PreIPOCompanySPV or RegisteredFund).
|
|
6981
6981
|
* @param page (optional) Number of the page to retrieve.
|
|
6982
6982
|
Defaults to 1 if not specified.
|
|
6983
6983
|
* @param pageSize (optional) Size of the page to retrieve.
|
|
@@ -6990,9 +6990,9 @@ export class Client {
|
|
|
6990
6990
|
*/
|
|
6991
6991
|
getTransactions(targetAssetType, page, pageSize, targetId, investorId, status, referenceId) {
|
|
6992
6992
|
let url_ = this.baseUrl + "/primary/v2/transaction?";
|
|
6993
|
-
if (targetAssetType === null)
|
|
6994
|
-
throw new globalThis.Error("The parameter 'targetAssetType' cannot be null.");
|
|
6995
|
-
else
|
|
6993
|
+
if (targetAssetType === undefined || targetAssetType === null)
|
|
6994
|
+
throw new globalThis.Error("The parameter 'targetAssetType' must be defined and cannot be null.");
|
|
6995
|
+
else
|
|
6996
6996
|
url_ += "targetAssetType=" + encodeURIComponent("" + targetAssetType) + "&";
|
|
6997
6997
|
if (page === null)
|
|
6998
6998
|
throw new globalThis.Error("The parameter 'page' cannot be null.");
|