@monarkmarkets/api-client 1.3.52 → 1.3.53
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 -1
- package/dist/Client.js +8 -1
- package/package.json +1 -1
package/dist/Client.d.ts
CHANGED
|
@@ -234,6 +234,7 @@ export declare class Client {
|
|
|
234
234
|
* @param searchTerm (optional) Optional search term on the company/target name.
|
|
235
235
|
* @param investorId (optional) Filter the returned IndicationOfInterests by an InvestorId.
|
|
236
236
|
* @param targetAssetType (optional) Filter the returned IndicationOfInterests by the primary_offering_api_models.IndicationOfInterests.Enums.IndicationOfInterestTargetAssetType.
|
|
237
|
+
* @param isActive (optional) Filter the IndicationOfInterests by whether it is in the active state.
|
|
237
238
|
* @param page (optional) Number of the page to retrieve.
|
|
238
239
|
Defaults to 1 if not specified.
|
|
239
240
|
* @param pageSize (optional) Size of the page to retrieve.
|
|
@@ -242,7 +243,7 @@ export declare class Client {
|
|
|
242
243
|
* @param sortOrder (optional) Which direction to sort by.
|
|
243
244
|
* @return Returns the list of IndicationOfInterest.
|
|
244
245
|
*/
|
|
245
|
-
getAllIndicationOfInterestsV2(searchTerm: string | undefined, investorId: string | undefined, targetAssetType: TargetAssetType | undefined, page: number | undefined, pageSize: number | undefined, sortProperty: SortProperty2 | undefined, sortOrder: SortOrder6 | undefined): Promise<IndicationOfInterestV2ApiResponse>;
|
|
246
|
+
getAllIndicationOfInterestsV2(searchTerm: string | undefined, investorId: string | undefined, targetAssetType: TargetAssetType | undefined, isActive: boolean | undefined, page: number | undefined, pageSize: number | undefined, sortProperty: SortProperty2 | undefined, sortOrder: SortOrder6 | undefined): Promise<IndicationOfInterestV2ApiResponse>;
|
|
246
247
|
protected processGetAllIndicationOfInterestsV2(response: Response): Promise<IndicationOfInterestV2ApiResponse>;
|
|
247
248
|
/**
|
|
248
249
|
* Get an IndicationOfInterest by Id.
|
|
@@ -3482,6 +3483,8 @@ export declare class IndicationOfInterestV2 implements IIndicationOfInterestV2 {
|
|
|
3482
3483
|
investorLastName?: string | undefined;
|
|
3483
3484
|
/** The name of the target asset (for display purposes). */
|
|
3484
3485
|
targetName?: string | undefined;
|
|
3486
|
+
/** Specifies whether the IOI is currently available. */
|
|
3487
|
+
isActive?: boolean;
|
|
3485
3488
|
constructor(data?: IIndicationOfInterestV2);
|
|
3486
3489
|
init(_data?: any): void;
|
|
3487
3490
|
static fromJS(data: any): IndicationOfInterestV2;
|
|
@@ -3517,6 +3520,8 @@ export interface IIndicationOfInterestV2 {
|
|
|
3517
3520
|
investorLastName?: string | undefined;
|
|
3518
3521
|
/** The name of the target asset (for display purposes). */
|
|
3519
3522
|
targetName?: string | undefined;
|
|
3523
|
+
/** Specifies whether the IOI is currently available. */
|
|
3524
|
+
isActive?: boolean;
|
|
3520
3525
|
}
|
|
3521
3526
|
export declare class IndicationOfInterestV2ApiResponse implements IIndicationOfInterestV2ApiResponse {
|
|
3522
3527
|
items?: IndicationOfInterestV2[] | undefined;
|
package/dist/Client.js
CHANGED
|
@@ -1434,6 +1434,7 @@ export class Client {
|
|
|
1434
1434
|
* @param searchTerm (optional) Optional search term on the company/target name.
|
|
1435
1435
|
* @param investorId (optional) Filter the returned IndicationOfInterests by an InvestorId.
|
|
1436
1436
|
* @param targetAssetType (optional) Filter the returned IndicationOfInterests by the primary_offering_api_models.IndicationOfInterests.Enums.IndicationOfInterestTargetAssetType.
|
|
1437
|
+
* @param isActive (optional) Filter the IndicationOfInterests by whether it is in the active state.
|
|
1437
1438
|
* @param page (optional) Number of the page to retrieve.
|
|
1438
1439
|
Defaults to 1 if not specified.
|
|
1439
1440
|
* @param pageSize (optional) Size of the page to retrieve.
|
|
@@ -1442,7 +1443,7 @@ export class Client {
|
|
|
1442
1443
|
* @param sortOrder (optional) Which direction to sort by.
|
|
1443
1444
|
* @return Returns the list of IndicationOfInterest.
|
|
1444
1445
|
*/
|
|
1445
|
-
getAllIndicationOfInterestsV2(searchTerm, investorId, targetAssetType, page, pageSize, sortProperty, sortOrder) {
|
|
1446
|
+
getAllIndicationOfInterestsV2(searchTerm, investorId, targetAssetType, isActive, page, pageSize, sortProperty, sortOrder) {
|
|
1446
1447
|
let url_ = this.baseUrl + "/primary/v2/indication-of-interest?";
|
|
1447
1448
|
if (searchTerm === null)
|
|
1448
1449
|
throw new globalThis.Error("The parameter 'searchTerm' cannot be null.");
|
|
@@ -1456,6 +1457,10 @@ export class Client {
|
|
|
1456
1457
|
throw new globalThis.Error("The parameter 'targetAssetType' cannot be null.");
|
|
1457
1458
|
else if (targetAssetType !== undefined)
|
|
1458
1459
|
url_ += "targetAssetType=" + encodeURIComponent("" + targetAssetType) + "&";
|
|
1460
|
+
if (isActive === null)
|
|
1461
|
+
throw new globalThis.Error("The parameter 'isActive' cannot be null.");
|
|
1462
|
+
else if (isActive !== undefined)
|
|
1463
|
+
url_ += "isActive=" + encodeURIComponent("" + isActive) + "&";
|
|
1459
1464
|
if (page === null)
|
|
1460
1465
|
throw new globalThis.Error("The parameter 'page' cannot be null.");
|
|
1461
1466
|
else if (page !== undefined)
|
|
@@ -12156,6 +12161,7 @@ export class IndicationOfInterestV2 {
|
|
|
12156
12161
|
this.investorFirstName = _data["investorFirstName"];
|
|
12157
12162
|
this.investorLastName = _data["investorLastName"];
|
|
12158
12163
|
this.targetName = _data["targetName"];
|
|
12164
|
+
this.isActive = _data["isActive"];
|
|
12159
12165
|
}
|
|
12160
12166
|
}
|
|
12161
12167
|
static fromJS(data) {
|
|
@@ -12180,6 +12186,7 @@ export class IndicationOfInterestV2 {
|
|
|
12180
12186
|
data["investorFirstName"] = this.investorFirstName;
|
|
12181
12187
|
data["investorLastName"] = this.investorLastName;
|
|
12182
12188
|
data["targetName"] = this.targetName;
|
|
12189
|
+
data["isActive"] = this.isActive;
|
|
12183
12190
|
return data;
|
|
12184
12191
|
}
|
|
12185
12192
|
}
|