@monarkmarkets/api-client 1.3.24 → 1.3.25
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 -1
- package/dist/Client.js +6 -1
- package/package.json +1 -1
package/dist/Client.d.ts
CHANGED
|
@@ -1138,9 +1138,10 @@ export declare class Client {
|
|
|
1138
1138
|
* @param investorId (optional) Optional: Filter by investor ID.
|
|
1139
1139
|
* @param status (optional) Optional: Filter by order status.
|
|
1140
1140
|
* @param referenceId (optional) Optional: Filter by order reference ID.
|
|
1141
|
+
* @param managerId (optional) Optional: Filter by manager ID. For SPVs, filters by Manager. For RegisteredFunds, filters by Fund Manager.
|
|
1141
1142
|
* @return OK
|
|
1142
1143
|
*/
|
|
1143
|
-
getTransactions(targetAssetType: TargetAssetType, page: number | undefined, pageSize: number | undefined, targetId: string | undefined, investorId: string | undefined, status: string | undefined, referenceId: string | undefined): Promise<TransactionApiResponse>;
|
|
1144
|
+
getTransactions(targetAssetType: TargetAssetType, page: number | undefined, pageSize: number | undefined, targetId: string | undefined, investorId: string | undefined, status: string | undefined, referenceId: string | undefined, managerId: string | undefined): Promise<TransactionApiResponse>;
|
|
1144
1145
|
protected processGetTransactions(response: Response): Promise<TransactionApiResponse>;
|
|
1145
1146
|
/**
|
|
1146
1147
|
* Update an existing transaction.
|
package/dist/Client.js
CHANGED
|
@@ -7306,9 +7306,10 @@ export class Client {
|
|
|
7306
7306
|
* @param investorId (optional) Optional: Filter by investor ID.
|
|
7307
7307
|
* @param status (optional) Optional: Filter by order status.
|
|
7308
7308
|
* @param referenceId (optional) Optional: Filter by order reference ID.
|
|
7309
|
+
* @param managerId (optional) Optional: Filter by manager ID. For SPVs, filters by Manager. For RegisteredFunds, filters by Fund Manager.
|
|
7309
7310
|
* @return OK
|
|
7310
7311
|
*/
|
|
7311
|
-
getTransactions(targetAssetType, page, pageSize, targetId, investorId, status, referenceId) {
|
|
7312
|
+
getTransactions(targetAssetType, page, pageSize, targetId, investorId, status, referenceId, managerId) {
|
|
7312
7313
|
let url_ = this.baseUrl + "/primary/v2/transaction?";
|
|
7313
7314
|
if (targetAssetType === undefined || targetAssetType === null)
|
|
7314
7315
|
throw new globalThis.Error("The parameter 'targetAssetType' must be defined and cannot be null.");
|
|
@@ -7338,6 +7339,10 @@ export class Client {
|
|
|
7338
7339
|
throw new globalThis.Error("The parameter 'referenceId' cannot be null.");
|
|
7339
7340
|
else if (referenceId !== undefined)
|
|
7340
7341
|
url_ += "referenceId=" + encodeURIComponent("" + referenceId) + "&";
|
|
7342
|
+
if (managerId === null)
|
|
7343
|
+
throw new globalThis.Error("The parameter 'managerId' cannot be null.");
|
|
7344
|
+
else if (managerId !== undefined)
|
|
7345
|
+
url_ += "managerId=" + encodeURIComponent("" + managerId) + "&";
|
|
7341
7346
|
url_ = url_.replace(/[?&]$/, "");
|
|
7342
7347
|
let options_ = {
|
|
7343
7348
|
method: "GET",
|