@monarkmarkets/api-client 1.3.12 → 1.3.14
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 +6 -6
- package/dist/Client.js +7 -7
- 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.
|
|
@@ -2885,8 +2885,6 @@ export declare class FundManager implements IFundManager {
|
|
|
2885
2885
|
name: string | undefined;
|
|
2886
2886
|
/** Fund advisor legal name */
|
|
2887
2887
|
legalName: string | undefined;
|
|
2888
|
-
/** Name of the fund manager's advisor. */
|
|
2889
|
-
fundAdvisorName?: string | undefined;
|
|
2890
2888
|
/** Link to representative logo for fund advisor */
|
|
2891
2889
|
logoUrl: string | undefined;
|
|
2892
2890
|
/** Year when fund advisor firm was first established */
|
|
@@ -2928,8 +2926,6 @@ export interface IFundManager {
|
|
|
2928
2926
|
name: string | undefined;
|
|
2929
2927
|
/** Fund advisor legal name */
|
|
2930
2928
|
legalName: string | undefined;
|
|
2931
|
-
/** Name of the fund manager's advisor. */
|
|
2932
|
-
fundAdvisorName?: string | undefined;
|
|
2933
2929
|
/** Link to representative logo for fund advisor */
|
|
2934
2930
|
logoUrl: string | undefined;
|
|
2935
2931
|
/** Year when fund advisor firm was first established */
|
|
@@ -6371,6 +6367,8 @@ export declare class RegisteredFund implements IRegisteredFund {
|
|
|
6371
6367
|
fundManagerId?: string | undefined;
|
|
6372
6368
|
/** ID of the Partner associated with a registered fund. */
|
|
6373
6369
|
partnerId?: string | undefined;
|
|
6370
|
+
/** Name of the fund manager's advisor. */
|
|
6371
|
+
fundAdvisorName?: string | undefined;
|
|
6374
6372
|
/** Official name of Registered Fund */
|
|
6375
6373
|
name: string | undefined;
|
|
6376
6374
|
/** Central Index Key assigned by the SEC. */
|
|
@@ -6446,6 +6444,8 @@ export interface IRegisteredFund {
|
|
|
6446
6444
|
fundManagerId?: string | undefined;
|
|
6447
6445
|
/** ID of the Partner associated with a registered fund. */
|
|
6448
6446
|
partnerId?: string | undefined;
|
|
6447
|
+
/** Name of the fund manager's advisor. */
|
|
6448
|
+
fundAdvisorName?: string | undefined;
|
|
6449
6449
|
/** Official name of Registered Fund */
|
|
6450
6450
|
name: string | undefined;
|
|
6451
6451
|
/** Central Index Key assigned by the SEC. */
|
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.");
|
|
@@ -10101,7 +10101,6 @@ export class FundManager {
|
|
|
10101
10101
|
this.id = _data["id"];
|
|
10102
10102
|
this.name = _data["name"];
|
|
10103
10103
|
this.legalName = _data["legalName"];
|
|
10104
|
-
this.fundAdvisorName = _data["fundAdvisorName"];
|
|
10105
10104
|
this.logoUrl = _data["logoUrl"];
|
|
10106
10105
|
this.foundingDate = _data["foundingDate"] ? new Date(_data["foundingDate"].toString()) : undefined;
|
|
10107
10106
|
this.aum = _data["aum"];
|
|
@@ -10129,7 +10128,6 @@ export class FundManager {
|
|
|
10129
10128
|
data["id"] = this.id;
|
|
10130
10129
|
data["name"] = this.name;
|
|
10131
10130
|
data["legalName"] = this.legalName;
|
|
10132
|
-
data["fundAdvisorName"] = this.fundAdvisorName;
|
|
10133
10131
|
data["logoUrl"] = this.logoUrl;
|
|
10134
10132
|
data["foundingDate"] = this.foundingDate ? formatDate(this.foundingDate) : undefined;
|
|
10135
10133
|
data["aum"] = this.aum;
|
|
@@ -13919,6 +13917,7 @@ export class RegisteredFund {
|
|
|
13919
13917
|
this.id = _data["id"];
|
|
13920
13918
|
this.fundManagerId = _data["fundManagerId"];
|
|
13921
13919
|
this.partnerId = _data["partnerId"];
|
|
13920
|
+
this.fundAdvisorName = _data["fundAdvisorName"];
|
|
13922
13921
|
this.name = _data["name"];
|
|
13923
13922
|
this.cik = _data["cik"];
|
|
13924
13923
|
this.website = _data["website"];
|
|
@@ -13975,6 +13974,7 @@ export class RegisteredFund {
|
|
|
13975
13974
|
data["id"] = this.id;
|
|
13976
13975
|
data["fundManagerId"] = this.fundManagerId;
|
|
13977
13976
|
data["partnerId"] = this.partnerId;
|
|
13977
|
+
data["fundAdvisorName"] = this.fundAdvisorName;
|
|
13978
13978
|
data["name"] = this.name;
|
|
13979
13979
|
data["cik"] = this.cik;
|
|
13980
13980
|
data["website"] = this.website;
|