@monarkmarkets/api-client 1.3.48 → 1.3.50
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 +18 -7
- package/dist/Client.js +15 -3
- package/package.json +1 -1
package/dist/Client.d.ts
CHANGED
|
@@ -1389,11 +1389,12 @@ export declare class Client {
|
|
|
1389
1389
|
* @param advisorId (optional) Optional advisor ID to filter watchlist items.
|
|
1390
1390
|
* @param targetId (optional) Optional target asset ID to filter watchlist items.
|
|
1391
1391
|
* @param targetAssetType (optional) Optional target asset type to filter watchlist items.
|
|
1392
|
+
* @param ownerType (optional) Optional owner type to filter watchlist items (Investor or FinancialAdvisor only).
|
|
1392
1393
|
* @param pageNumber (optional) Page number for pagination (default: 1).
|
|
1393
1394
|
* @param pageSize (optional) Page size for pagination (default: 25).
|
|
1394
1395
|
* @return Returns the paginated list of watchlist items.
|
|
1395
1396
|
*/
|
|
1396
|
-
getAll(investorId: string | undefined, advisorId: string | undefined, targetId: string | undefined, targetAssetType: TargetAssetType6 | undefined, pageNumber: number | undefined, pageSize: number | undefined): Promise<WatchlistApiResponse>;
|
|
1397
|
+
getAll(investorId: string | undefined, advisorId: string | undefined, targetId: string | undefined, targetAssetType: TargetAssetType6 | undefined, ownerType: OwnerType | undefined, pageNumber: number | undefined, pageSize: number | undefined): Promise<WatchlistApiResponse>;
|
|
1397
1398
|
protected processGetAll(response: Response): Promise<WatchlistApiResponse>;
|
|
1398
1399
|
/**
|
|
1399
1400
|
* Get a watchlist item by investor ID and target ID.
|
|
@@ -3443,7 +3444,7 @@ export declare class IndicationOfInterestV2 implements IIndicationOfInterestV2 {
|
|
|
3443
3444
|
advisorId?: string | undefined;
|
|
3444
3445
|
/** The unique ID of the target asset (company, fund, etc.) that the IoI request is for. */
|
|
3445
3446
|
targetId?: string;
|
|
3446
|
-
/** The asset type of the target being invested in (PreIPOCompany,
|
|
3447
|
+
/** The asset type of the target being invested in (PreIPOCompany, RegisteredFund, etc.) */
|
|
3447
3448
|
targetAssetType?: IndicationOfInterestV2TargetAssetType;
|
|
3448
3449
|
/** Optional number of clients represented in this IOI (for aggregated IOIs) */
|
|
3449
3450
|
numberOfClients?: number | undefined;
|
|
@@ -3478,7 +3479,7 @@ export interface IIndicationOfInterestV2 {
|
|
|
3478
3479
|
advisorId?: string | undefined;
|
|
3479
3480
|
/** The unique ID of the target asset (company, fund, etc.) that the IoI request is for. */
|
|
3480
3481
|
targetId?: string;
|
|
3481
|
-
/** The asset type of the target being invested in (PreIPOCompany,
|
|
3482
|
+
/** The asset type of the target being invested in (PreIPOCompany, RegisteredFund, etc.) */
|
|
3482
3483
|
targetAssetType?: IndicationOfInterestV2TargetAssetType;
|
|
3483
3484
|
/** Optional number of clients represented in this IOI (for aggregated IOIs) */
|
|
3484
3485
|
numberOfClients?: number | undefined;
|
|
@@ -7099,6 +7100,9 @@ export declare class RegisteredFund implements IRegisteredFund {
|
|
|
7099
7100
|
documents?: DocumentV2[] | undefined;
|
|
7100
7101
|
/** Third party data for the Registered Fund. */
|
|
7101
7102
|
thirdPartyData?: RegisteredFundThirdPartyData | undefined;
|
|
7103
|
+
/** Whether the Financial Institution has access to transactions for this registered fund.
|
|
7104
|
+
Only populated when filtering by financialInstitutionId. */
|
|
7105
|
+
transactionsEnabled?: boolean | undefined;
|
|
7102
7106
|
constructor(data?: IRegisteredFund);
|
|
7103
7107
|
init(_data?: any): void;
|
|
7104
7108
|
static fromJS(data: any): RegisteredFund;
|
|
@@ -7178,6 +7182,9 @@ export interface IRegisteredFund {
|
|
|
7178
7182
|
documents?: DocumentV2[] | undefined;
|
|
7179
7183
|
/** Third party data for the Registered Fund. */
|
|
7180
7184
|
thirdPartyData?: RegisteredFundThirdPartyData | undefined;
|
|
7185
|
+
/** Whether the Financial Institution has access to transactions for this registered fund.
|
|
7186
|
+
Only populated when filtering by financialInstitutionId. */
|
|
7187
|
+
transactionsEnabled?: boolean | undefined;
|
|
7181
7188
|
}
|
|
7182
7189
|
export declare class RegisteredFundApiResponse implements IRegisteredFundApiResponse {
|
|
7183
7190
|
items?: RegisteredFund[] | undefined;
|
|
@@ -9073,6 +9080,10 @@ export declare enum TargetAssetType6 {
|
|
|
9073
9080
|
RegisteredFund = "RegisteredFund",
|
|
9074
9081
|
PreIPOCompany = "PreIPOCompany"
|
|
9075
9082
|
}
|
|
9083
|
+
export declare enum OwnerType {
|
|
9084
|
+
Investor = "Investor",
|
|
9085
|
+
FinancialAdvisor = "FinancialAdvisor"
|
|
9086
|
+
}
|
|
9076
9087
|
export declare enum SortOrder27 {
|
|
9077
9088
|
Ascending = "Ascending",
|
|
9078
9089
|
Descending = "Descending"
|
|
@@ -9222,9 +9233,9 @@ export declare enum ConstructorInfoMemberType {
|
|
|
9222
9233
|
All = "All"
|
|
9223
9234
|
}
|
|
9224
9235
|
export declare enum CreateIndicationOfInterestV2TargetAssetType {
|
|
9225
|
-
PreIPOCompanySPV = "PreIPOCompanySPV",
|
|
9226
9236
|
RegisteredFund = "RegisteredFund",
|
|
9227
|
-
PreIPOCompany = "PreIPOCompany"
|
|
9237
|
+
PreIPOCompany = "PreIPOCompany",
|
|
9238
|
+
ProspectiveOffering = "ProspectiveOffering"
|
|
9228
9239
|
}
|
|
9229
9240
|
export declare enum CreateInvestorType {
|
|
9230
9241
|
IndividualInvestor = "IndividualInvestor",
|
|
@@ -9440,9 +9451,9 @@ export declare enum FinancialInstitutionKycRequired {
|
|
|
9440
9451
|
Bypass = "Bypass"
|
|
9441
9452
|
}
|
|
9442
9453
|
export declare enum IndicationOfInterestV2TargetAssetType {
|
|
9443
|
-
PreIPOCompanySPV = "PreIPOCompanySPV",
|
|
9444
9454
|
RegisteredFund = "RegisteredFund",
|
|
9445
|
-
PreIPOCompany = "PreIPOCompany"
|
|
9455
|
+
PreIPOCompany = "PreIPOCompany",
|
|
9456
|
+
ProspectiveOffering = "ProspectiveOffering"
|
|
9446
9457
|
}
|
|
9447
9458
|
export declare enum IndividualEntityInvestorQualifiedStatus {
|
|
9448
9459
|
QUALIFIED_PURCHASER = "QUALIFIED_PURCHASER",
|
package/dist/Client.js
CHANGED
|
@@ -8988,11 +8988,12 @@ export class Client {
|
|
|
8988
8988
|
* @param advisorId (optional) Optional advisor ID to filter watchlist items.
|
|
8989
8989
|
* @param targetId (optional) Optional target asset ID to filter watchlist items.
|
|
8990
8990
|
* @param targetAssetType (optional) Optional target asset type to filter watchlist items.
|
|
8991
|
+
* @param ownerType (optional) Optional owner type to filter watchlist items (Investor or FinancialAdvisor only).
|
|
8991
8992
|
* @param pageNumber (optional) Page number for pagination (default: 1).
|
|
8992
8993
|
* @param pageSize (optional) Page size for pagination (default: 25).
|
|
8993
8994
|
* @return Returns the paginated list of watchlist items.
|
|
8994
8995
|
*/
|
|
8995
|
-
getAll(investorId, advisorId, targetId, targetAssetType, pageNumber, pageSize) {
|
|
8996
|
+
getAll(investorId, advisorId, targetId, targetAssetType, ownerType, pageNumber, pageSize) {
|
|
8996
8997
|
let url_ = this.baseUrl + "/primary/v1/watchlist?";
|
|
8997
8998
|
if (investorId === null)
|
|
8998
8999
|
throw new globalThis.Error("The parameter 'investorId' cannot be null.");
|
|
@@ -9010,6 +9011,10 @@ export class Client {
|
|
|
9010
9011
|
throw new globalThis.Error("The parameter 'targetAssetType' cannot be null.");
|
|
9011
9012
|
else if (targetAssetType !== undefined)
|
|
9012
9013
|
url_ += "targetAssetType=" + encodeURIComponent("" + targetAssetType) + "&";
|
|
9014
|
+
if (ownerType === null)
|
|
9015
|
+
throw new globalThis.Error("The parameter 'ownerType' cannot be null.");
|
|
9016
|
+
else if (ownerType !== undefined)
|
|
9017
|
+
url_ += "ownerType=" + encodeURIComponent("" + ownerType) + "&";
|
|
9013
9018
|
if (pageNumber === null)
|
|
9014
9019
|
throw new globalThis.Error("The parameter 'pageNumber' cannot be null.");
|
|
9015
9020
|
else if (pageNumber !== undefined)
|
|
@@ -16143,6 +16148,7 @@ export class RegisteredFund {
|
|
|
16143
16148
|
this.documents.push(DocumentV2.fromJS(item));
|
|
16144
16149
|
}
|
|
16145
16150
|
this.thirdPartyData = _data["thirdPartyData"] ? RegisteredFundThirdPartyData.fromJS(_data["thirdPartyData"]) : undefined;
|
|
16151
|
+
this.transactionsEnabled = _data["transactionsEnabled"];
|
|
16146
16152
|
}
|
|
16147
16153
|
}
|
|
16148
16154
|
static fromJS(data) {
|
|
@@ -16201,6 +16207,7 @@ export class RegisteredFund {
|
|
|
16201
16207
|
data["documents"].push(item ? item.toJSON() : undefined);
|
|
16202
16208
|
}
|
|
16203
16209
|
data["thirdPartyData"] = this.thirdPartyData ? this.thirdPartyData.toJSON() : undefined;
|
|
16210
|
+
data["transactionsEnabled"] = this.transactionsEnabled;
|
|
16204
16211
|
return data;
|
|
16205
16212
|
}
|
|
16206
16213
|
}
|
|
@@ -18463,6 +18470,11 @@ export var TargetAssetType6;
|
|
|
18463
18470
|
TargetAssetType6["RegisteredFund"] = "RegisteredFund";
|
|
18464
18471
|
TargetAssetType6["PreIPOCompany"] = "PreIPOCompany";
|
|
18465
18472
|
})(TargetAssetType6 || (TargetAssetType6 = {}));
|
|
18473
|
+
export var OwnerType;
|
|
18474
|
+
(function (OwnerType) {
|
|
18475
|
+
OwnerType["Investor"] = "Investor";
|
|
18476
|
+
OwnerType["FinancialAdvisor"] = "FinancialAdvisor";
|
|
18477
|
+
})(OwnerType || (OwnerType = {}));
|
|
18466
18478
|
export var SortOrder27;
|
|
18467
18479
|
(function (SortOrder27) {
|
|
18468
18480
|
SortOrder27["Ascending"] = "Ascending";
|
|
@@ -18625,9 +18637,9 @@ export var ConstructorInfoMemberType;
|
|
|
18625
18637
|
})(ConstructorInfoMemberType || (ConstructorInfoMemberType = {}));
|
|
18626
18638
|
export var CreateIndicationOfInterestV2TargetAssetType;
|
|
18627
18639
|
(function (CreateIndicationOfInterestV2TargetAssetType) {
|
|
18628
|
-
CreateIndicationOfInterestV2TargetAssetType["PreIPOCompanySPV"] = "PreIPOCompanySPV";
|
|
18629
18640
|
CreateIndicationOfInterestV2TargetAssetType["RegisteredFund"] = "RegisteredFund";
|
|
18630
18641
|
CreateIndicationOfInterestV2TargetAssetType["PreIPOCompany"] = "PreIPOCompany";
|
|
18642
|
+
CreateIndicationOfInterestV2TargetAssetType["ProspectiveOffering"] = "ProspectiveOffering";
|
|
18631
18643
|
})(CreateIndicationOfInterestV2TargetAssetType || (CreateIndicationOfInterestV2TargetAssetType = {}));
|
|
18632
18644
|
export var CreateInvestorType;
|
|
18633
18645
|
(function (CreateInvestorType) {
|
|
@@ -18862,9 +18874,9 @@ export var FinancialInstitutionKycRequired;
|
|
|
18862
18874
|
})(FinancialInstitutionKycRequired || (FinancialInstitutionKycRequired = {}));
|
|
18863
18875
|
export var IndicationOfInterestV2TargetAssetType;
|
|
18864
18876
|
(function (IndicationOfInterestV2TargetAssetType) {
|
|
18865
|
-
IndicationOfInterestV2TargetAssetType["PreIPOCompanySPV"] = "PreIPOCompanySPV";
|
|
18866
18877
|
IndicationOfInterestV2TargetAssetType["RegisteredFund"] = "RegisteredFund";
|
|
18867
18878
|
IndicationOfInterestV2TargetAssetType["PreIPOCompany"] = "PreIPOCompany";
|
|
18879
|
+
IndicationOfInterestV2TargetAssetType["ProspectiveOffering"] = "ProspectiveOffering";
|
|
18868
18880
|
})(IndicationOfInterestV2TargetAssetType || (IndicationOfInterestV2TargetAssetType = {}));
|
|
18869
18881
|
export var IndividualEntityInvestorQualifiedStatus;
|
|
18870
18882
|
(function (IndividualEntityInvestorQualifiedStatus) {
|