@monarkmarkets/api-client 1.3.49 → 1.3.51

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 CHANGED
@@ -233,6 +233,7 @@ export declare class Client {
233
233
  * Get all IndicationOfInterests.
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
+ * @param targetAssetType (optional) Filter the returned IndicationOfInterests by the primary_offering_api_models.IndicationOfInterests.Enums.IndicationOfInterestTargetAssetType.
236
237
  * @param page (optional) Number of the page to retrieve.
237
238
  Defaults to 1 if not specified.
238
239
  * @param pageSize (optional) Size of the page to retrieve.
@@ -241,7 +242,7 @@ export declare class Client {
241
242
  * @param sortOrder (optional) Which direction to sort by.
242
243
  * @return Returns the list of IndicationOfInterest.
243
244
  */
244
- getAllIndicationOfInterestsV2(searchTerm: string | undefined, investorId: string | undefined, page: number | undefined, pageSize: number | undefined, sortProperty: SortProperty2 | undefined, sortOrder: SortOrder6 | undefined): Promise<IndicationOfInterestV2ApiResponse>;
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>;
245
246
  protected processGetAllIndicationOfInterestsV2(response: Response): Promise<IndicationOfInterestV2ApiResponse>;
246
247
  /**
247
248
  * Get an IndicationOfInterest by Id.
@@ -1042,7 +1043,7 @@ export declare class Client {
1042
1043
  * @param sortProperty (optional) Which property to sort the prospective offerings by (CreatedAt, CompanyName, Side, PricePerShare, AvailableVolume, ClosingDate, UpdatedAt).
1043
1044
  * @return OK
1044
1045
  */
1045
- getAllProspectiveOfferings(financialInstitutionId: string, targetAssetType: TargetAssetType, page: number | undefined, pageSize: number | undefined, searchTerm: string | undefined, targetId: string | undefined, side: string | undefined, sortOrder: SortOrder17 | undefined, sortProperty: SortProperty3 | undefined): Promise<ProspectiveOfferingApiResponse>;
1046
+ getAllProspectiveOfferings(financialInstitutionId: string, targetAssetType: TargetAssetType2, page: number | undefined, pageSize: number | undefined, searchTerm: string | undefined, targetId: string | undefined, side: string | undefined, sortOrder: SortOrder17 | undefined, sortProperty: SortProperty3 | undefined): Promise<ProspectiveOfferingApiResponse>;
1046
1047
  protected processGetAllProspectiveOfferings(response: Response): Promise<ProspectiveOfferingApiResponse>;
1047
1048
  /**
1048
1049
  * Create a Questionnaire.
@@ -1292,7 +1293,7 @@ export declare class Client {
1292
1293
  * @param side (optional) Optional: Filter by transaction side. (Currently only supported for registered funds)
1293
1294
  * @return OK
1294
1295
  */
1295
- getTransactions(targetAssetType: TargetAssetType2, page: number | undefined, pageSize: number | undefined, targetId: string | undefined, investorId: string | undefined, status: string | undefined, referenceId: string | undefined, managerId: string | undefined, includeDocuments: boolean | undefined, side: Side | undefined): Promise<TransactionApiResponse>;
1296
+ getTransactions(targetAssetType: TargetAssetType3, page: number | undefined, pageSize: number | undefined, targetId: string | undefined, investorId: string | undefined, status: string | undefined, referenceId: string | undefined, managerId: string | undefined, includeDocuments: boolean | undefined, side: Side | undefined): Promise<TransactionApiResponse>;
1296
1297
  protected processGetTransactions(response: Response): Promise<TransactionApiResponse>;
1297
1298
  /**
1298
1299
  * Update an existing transaction.
@@ -1320,7 +1321,7 @@ export declare class Client {
1320
1321
  * @param includeDocuments (optional) Optional flag to include associated documents.
1321
1322
  * @return OK
1322
1323
  */
1323
- getTransactionsByInvestor(investorId: string, targetAssetType: TargetAssetType3 | undefined, page: number | undefined, pageSize: number | undefined, includeDocuments: boolean | undefined): Promise<TransactionApiResponse>;
1324
+ getTransactionsByInvestor(investorId: string, targetAssetType: TargetAssetType4 | undefined, page: number | undefined, pageSize: number | undefined, includeDocuments: boolean | undefined): Promise<TransactionApiResponse>;
1324
1325
  protected processGetTransactionsByInvestor(response: Response): Promise<TransactionApiResponse>;
1325
1326
  /**
1326
1327
  * Get a specific transaction for an investor by target ID.
@@ -1330,7 +1331,7 @@ export declare class Client {
1330
1331
  * @param includeDocuments (optional) Optional flag to include associated documents.
1331
1332
  * @return OK
1332
1333
  */
1333
- getTransactionByInvestorAndTargetId(investorId: string, targetId: string, targetAssetType: TargetAssetType4 | undefined, includeDocuments: boolean | undefined): Promise<Transaction>;
1334
+ getTransactionByInvestorAndTargetId(investorId: string, targetId: string, targetAssetType: TargetAssetType5 | undefined, includeDocuments: boolean | undefined): Promise<Transaction>;
1334
1335
  protected processGetTransactionByInvestorAndTargetId(response: Response): Promise<Transaction>;
1335
1336
  /**
1336
1337
  * Update a transaction's reference ID.
@@ -1346,7 +1347,7 @@ export declare class Client {
1346
1347
  * @param body (optional)
1347
1348
  * @return OK
1348
1349
  */
1349
- rejectTransaction(id: string, targetAssetType: TargetAssetType5 | undefined, body: any | undefined): Promise<Transaction>;
1350
+ rejectTransaction(id: string, targetAssetType: TargetAssetType6 | undefined, body: any | undefined): Promise<Transaction>;
1350
1351
  protected processRejectTransaction(response: Response): Promise<Transaction>;
1351
1352
  /**
1352
1353
  * Get all TransactionActions by Transaction.
@@ -1394,7 +1395,7 @@ export declare class Client {
1394
1395
  * @param pageSize (optional) Page size for pagination (default: 25).
1395
1396
  * @return Returns the paginated list of watchlist items.
1396
1397
  */
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>;
1398
+ getAll(investorId: string | undefined, advisorId: string | undefined, targetId: string | undefined, targetAssetType: TargetAssetType7 | undefined, ownerType: OwnerType | undefined, pageNumber: number | undefined, pageSize: number | undefined): Promise<WatchlistApiResponse>;
1398
1399
  protected processGetAll(response: Response): Promise<WatchlistApiResponse>;
1399
1400
  /**
1400
1401
  * Get a watchlist item by investor ID and target ID.
@@ -8819,6 +8820,11 @@ export declare enum SortOrder5 {
8819
8820
  Ascending = "Ascending",
8820
8821
  Descending = "Descending"
8821
8822
  }
8823
+ export declare enum TargetAssetType {
8824
+ RegisteredFund = "RegisteredFund",
8825
+ PreIPOCompany = "PreIPOCompany",
8826
+ ProspectiveOffering = "ProspectiveOffering"
8827
+ }
8822
8828
  export declare enum SortProperty2 {
8823
8829
  UpdatedAt = "UpdatedAt",
8824
8830
  CreatedAt = "CreatedAt",
@@ -8988,7 +8994,7 @@ export declare enum SortOrder16 {
8988
8994
  Ascending = "Ascending",
8989
8995
  Descending = "Descending"
8990
8996
  }
8991
- export declare enum TargetAssetType {
8997
+ export declare enum TargetAssetType2 {
8992
8998
  RegisteredFund = "RegisteredFund",
8993
8999
  PreIPOCompany = "PreIPOCompany"
8994
9000
  }
@@ -9051,7 +9057,7 @@ export declare enum SortOrder26 {
9051
9057
  Ascending = "Ascending",
9052
9058
  Descending = "Descending"
9053
9059
  }
9054
- export declare enum TargetAssetType2 {
9060
+ export declare enum TargetAssetType3 {
9055
9061
  PreIPOCompanySPV = "PreIPOCompanySPV",
9056
9062
  RegisteredFund = "RegisteredFund",
9057
9063
  PreIPOCompany = "PreIPOCompany"
@@ -9060,22 +9066,22 @@ export declare enum Side {
9060
9066
  Subscription = "Subscription",
9061
9067
  Redemption = "Redemption"
9062
9068
  }
9063
- export declare enum TargetAssetType3 {
9069
+ export declare enum TargetAssetType4 {
9064
9070
  PreIPOCompanySPV = "PreIPOCompanySPV",
9065
9071
  RegisteredFund = "RegisteredFund",
9066
9072
  PreIPOCompany = "PreIPOCompany"
9067
9073
  }
9068
- export declare enum TargetAssetType4 {
9074
+ export declare enum TargetAssetType5 {
9069
9075
  PreIPOCompanySPV = "PreIPOCompanySPV",
9070
9076
  RegisteredFund = "RegisteredFund",
9071
9077
  PreIPOCompany = "PreIPOCompany"
9072
9078
  }
9073
- export declare enum TargetAssetType5 {
9079
+ export declare enum TargetAssetType6 {
9074
9080
  PreIPOCompanySPV = "PreIPOCompanySPV",
9075
9081
  RegisteredFund = "RegisteredFund",
9076
9082
  PreIPOCompany = "PreIPOCompany"
9077
9083
  }
9078
- export declare enum TargetAssetType6 {
9084
+ export declare enum TargetAssetType7 {
9079
9085
  PreIPOCompanySPV = "PreIPOCompanySPV",
9080
9086
  RegisteredFund = "RegisteredFund",
9081
9087
  PreIPOCompany = "PreIPOCompany"
package/dist/Client.js CHANGED
@@ -1433,6 +1433,7 @@ export class Client {
1433
1433
  * Get all IndicationOfInterests.
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
+ * @param targetAssetType (optional) Filter the returned IndicationOfInterests by the primary_offering_api_models.IndicationOfInterests.Enums.IndicationOfInterestTargetAssetType.
1436
1437
  * @param page (optional) Number of the page to retrieve.
1437
1438
  Defaults to 1 if not specified.
1438
1439
  * @param pageSize (optional) Size of the page to retrieve.
@@ -1441,7 +1442,7 @@ export class Client {
1441
1442
  * @param sortOrder (optional) Which direction to sort by.
1442
1443
  * @return Returns the list of IndicationOfInterest.
1443
1444
  */
1444
- getAllIndicationOfInterestsV2(searchTerm, investorId, page, pageSize, sortProperty, sortOrder) {
1445
+ getAllIndicationOfInterestsV2(searchTerm, investorId, targetAssetType, page, pageSize, sortProperty, sortOrder) {
1445
1446
  let url_ = this.baseUrl + "/primary/v2/indication-of-interest?";
1446
1447
  if (searchTerm === null)
1447
1448
  throw new globalThis.Error("The parameter 'searchTerm' cannot be null.");
@@ -1451,6 +1452,10 @@ export class Client {
1451
1452
  throw new globalThis.Error("The parameter 'investorId' cannot be null.");
1452
1453
  else if (investorId !== undefined)
1453
1454
  url_ += "investorId=" + encodeURIComponent("" + investorId) + "&";
1455
+ if (targetAssetType === null)
1456
+ throw new globalThis.Error("The parameter 'targetAssetType' cannot be null.");
1457
+ else if (targetAssetType !== undefined)
1458
+ url_ += "targetAssetType=" + encodeURIComponent("" + targetAssetType) + "&";
1454
1459
  if (page === null)
1455
1460
  throw new globalThis.Error("The parameter 'page' cannot be null.");
1456
1461
  else if (page !== undefined)
@@ -18161,6 +18166,12 @@ export var SortOrder5;
18161
18166
  SortOrder5["Ascending"] = "Ascending";
18162
18167
  SortOrder5["Descending"] = "Descending";
18163
18168
  })(SortOrder5 || (SortOrder5 = {}));
18169
+ export var TargetAssetType;
18170
+ (function (TargetAssetType) {
18171
+ TargetAssetType["RegisteredFund"] = "RegisteredFund";
18172
+ TargetAssetType["PreIPOCompany"] = "PreIPOCompany";
18173
+ TargetAssetType["ProspectiveOffering"] = "ProspectiveOffering";
18174
+ })(TargetAssetType || (TargetAssetType = {}));
18164
18175
  export var SortProperty2;
18165
18176
  (function (SortProperty2) {
18166
18177
  SortProperty2["UpdatedAt"] = "UpdatedAt";
@@ -18358,11 +18369,11 @@ export var SortOrder16;
18358
18369
  SortOrder16["Ascending"] = "Ascending";
18359
18370
  SortOrder16["Descending"] = "Descending";
18360
18371
  })(SortOrder16 || (SortOrder16 = {}));
18361
- export var TargetAssetType;
18362
- (function (TargetAssetType) {
18363
- TargetAssetType["RegisteredFund"] = "RegisteredFund";
18364
- TargetAssetType["PreIPOCompany"] = "PreIPOCompany";
18365
- })(TargetAssetType || (TargetAssetType = {}));
18372
+ export var TargetAssetType2;
18373
+ (function (TargetAssetType2) {
18374
+ TargetAssetType2["RegisteredFund"] = "RegisteredFund";
18375
+ TargetAssetType2["PreIPOCompany"] = "PreIPOCompany";
18376
+ })(TargetAssetType2 || (TargetAssetType2 = {}));
18366
18377
  export var SortOrder17;
18367
18378
  (function (SortOrder17) {
18368
18379
  SortOrder17["Ascending"] = "Ascending";
@@ -18435,23 +18446,17 @@ export var SortOrder26;
18435
18446
  SortOrder26["Ascending"] = "Ascending";
18436
18447
  SortOrder26["Descending"] = "Descending";
18437
18448
  })(SortOrder26 || (SortOrder26 = {}));
18438
- export var TargetAssetType2;
18439
- (function (TargetAssetType2) {
18440
- TargetAssetType2["PreIPOCompanySPV"] = "PreIPOCompanySPV";
18441
- TargetAssetType2["RegisteredFund"] = "RegisteredFund";
18442
- TargetAssetType2["PreIPOCompany"] = "PreIPOCompany";
18443
- })(TargetAssetType2 || (TargetAssetType2 = {}));
18444
- export var Side;
18445
- (function (Side) {
18446
- Side["Subscription"] = "Subscription";
18447
- Side["Redemption"] = "Redemption";
18448
- })(Side || (Side = {}));
18449
18449
  export var TargetAssetType3;
18450
18450
  (function (TargetAssetType3) {
18451
18451
  TargetAssetType3["PreIPOCompanySPV"] = "PreIPOCompanySPV";
18452
18452
  TargetAssetType3["RegisteredFund"] = "RegisteredFund";
18453
18453
  TargetAssetType3["PreIPOCompany"] = "PreIPOCompany";
18454
18454
  })(TargetAssetType3 || (TargetAssetType3 = {}));
18455
+ export var Side;
18456
+ (function (Side) {
18457
+ Side["Subscription"] = "Subscription";
18458
+ Side["Redemption"] = "Redemption";
18459
+ })(Side || (Side = {}));
18455
18460
  export var TargetAssetType4;
18456
18461
  (function (TargetAssetType4) {
18457
18462
  TargetAssetType4["PreIPOCompanySPV"] = "PreIPOCompanySPV";
@@ -18470,6 +18475,12 @@ export var TargetAssetType6;
18470
18475
  TargetAssetType6["RegisteredFund"] = "RegisteredFund";
18471
18476
  TargetAssetType6["PreIPOCompany"] = "PreIPOCompany";
18472
18477
  })(TargetAssetType6 || (TargetAssetType6 = {}));
18478
+ export var TargetAssetType7;
18479
+ (function (TargetAssetType7) {
18480
+ TargetAssetType7["PreIPOCompanySPV"] = "PreIPOCompanySPV";
18481
+ TargetAssetType7["RegisteredFund"] = "RegisteredFund";
18482
+ TargetAssetType7["PreIPOCompany"] = "PreIPOCompany";
18483
+ })(TargetAssetType7 || (TargetAssetType7 = {}));
18473
18484
  export var OwnerType;
18474
18485
  (function (OwnerType) {
18475
18486
  OwnerType["Investor"] = "Investor";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monarkmarkets/api-client",
3
- "version": "1.3.49",
3
+ "version": "1.3.51",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",