@monarkmarkets/api-client 1.3.38 → 1.3.40

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
@@ -918,11 +918,12 @@ export declare class Client {
918
918
  Defaults to 1 if not specified.
919
919
  * @param pageSize (optional) Size of the page to retrieve.
920
920
  Defaults to 25 if not specified.
921
+ * @param includeDocuments (optional) Optional flag to include associated documents.
921
922
  * @param sortOrder (optional)
922
923
  * @param sortBy (optional)
923
924
  * @return OK
924
925
  */
925
- getAllPreIPOCompanySPVs(investorId: string, monarkStage: MonarkStage | undefined, exemptionsClaimed: ExemptionsClaimed[] | undefined, nameFilter: string | undefined, preIPOCompanyId: string | undefined, preIPOCompanyInvestmentId: string | undefined, isApproved: boolean | undefined, page: number | undefined, pageSize: number | undefined, sortOrder: SortOrder15 | undefined, sortBy: SortBy2 | undefined): Promise<PreIPOCompanySPVApiResponse>;
926
+ getAllPreIPOCompanySPVs(investorId: string, monarkStage: MonarkStage | undefined, exemptionsClaimed: ExemptionsClaimed[] | undefined, nameFilter: string | undefined, preIPOCompanyId: string | undefined, preIPOCompanyInvestmentId: string | undefined, isApproved: boolean | undefined, page: number | undefined, pageSize: number | undefined, includeDocuments: boolean | undefined, sortOrder: SortOrder15 | undefined, sortBy: SortBy2 | undefined): Promise<PreIPOCompanySPVApiResponse>;
926
927
  protected processGetAllPreIPOCompanySPVs(response: Response): Promise<PreIPOCompanySPVApiResponse>;
927
928
  /**
928
929
  * Gets all Financial Institutions that have access to a specific SPV
@@ -1095,9 +1096,10 @@ export declare class Client {
1095
1096
  * @param sortOrder (optional) Which way to sort order, defaults to Descending.
1096
1097
  * @param financialInstitutionId (optional) Optional financial institution ID for access control.
1097
1098
  * @param assetClass (optional) Optional asset class to filter registered funds by asset class.
1099
+ * @param includeDocuments (optional) Optional flag to include associated documents.
1098
1100
  * @return OK
1099
1101
  */
1100
- getAllRegisteredFunds(page: number | undefined, pageSize: number | undefined, searchTerm: string | undefined, sortOrder: SortOrder19 | undefined, financialInstitutionId: string | undefined, assetClass: string | undefined): Promise<RegisteredFundApiResponse>;
1102
+ getAllRegisteredFunds(page: number | undefined, pageSize: number | undefined, searchTerm: string | undefined, sortOrder: SortOrder19 | undefined, financialInstitutionId: string | undefined, assetClass: string | undefined, includeDocuments: boolean | undefined): Promise<RegisteredFundApiResponse>;
1101
1103
  protected processGetAllRegisteredFunds(response: Response): Promise<RegisteredFundApiResponse>;
1102
1104
  /**
1103
1105
  * Gets a SecondaryLink Evergreen Fund by ID.
@@ -1212,9 +1214,10 @@ export declare class Client {
1212
1214
  * @param status (optional) Optional: Filter by order status.
1213
1215
  * @param referenceId (optional) Optional: Filter by order reference ID.
1214
1216
  * @param managerId (optional) Optional: Filter by manager ID. For SPVs, filters by Manager. For RegisteredFunds, filters by Fund Manager.
1217
+ * @param includeDocuments (optional) Optional flag to include associated documents.
1215
1218
  * @return OK
1216
1219
  */
1217
- 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>;
1220
+ getTransactions(targetAssetType: TargetAssetType, page: number | undefined, pageSize: number | undefined, targetId: string | undefined, investorId: string | undefined, status: string | undefined, referenceId: string | undefined, managerId: string | undefined, includeDocuments: boolean | undefined): Promise<TransactionApiResponse>;
1218
1221
  protected processGetTransactions(response: Response): Promise<TransactionApiResponse>;
1219
1222
  /**
1220
1223
  * Update an existing transaction.
@@ -1239,18 +1242,20 @@ export declare class Client {
1239
1242
  Defaults to 1 if not specified.
1240
1243
  * @param pageSize (optional) Size of the page to retrieve.
1241
1244
  Defaults to 25 if not specified.
1245
+ * @param includeDocuments (optional) Optional flag to include associated documents.
1242
1246
  * @return OK
1243
1247
  */
1244
- getTransactionsByInvestor(investorId: string, targetAssetType: TargetAssetType2 | undefined, page: number | undefined, pageSize: number | undefined): Promise<TransactionApiResponse>;
1248
+ getTransactionsByInvestor(investorId: string, targetAssetType: TargetAssetType2 | undefined, page: number | undefined, pageSize: number | undefined, includeDocuments: boolean | undefined): Promise<TransactionApiResponse>;
1245
1249
  protected processGetTransactionsByInvestor(response: Response): Promise<TransactionApiResponse>;
1246
1250
  /**
1247
1251
  * Get a specific transaction for an investor by target ID.
1248
1252
  * @param investorId The investor ID.
1249
1253
  * @param targetId The target ID (SPV ID, Fund ID, etc.).
1250
1254
  * @param targetAssetType (optional) Required: The asset type (PreIPOCompanySPV or RegisteredFund).
1255
+ * @param includeDocuments (optional) Optional flag to include associated documents.
1251
1256
  * @return OK
1252
1257
  */
1253
- getTransactionByInvestorAndTargetId(investorId: string, targetId: string, targetAssetType: TargetAssetType3 | undefined): Promise<Transaction>;
1258
+ getTransactionByInvestorAndTargetId(investorId: string, targetId: string, targetAssetType: TargetAssetType3 | undefined, includeDocuments: boolean | undefined): Promise<Transaction>;
1254
1259
  protected processGetTransactionByInvestorAndTargetId(response: Response): Promise<Transaction>;
1255
1260
  /**
1256
1261
  * Update a transaction's reference ID.
@@ -1296,6 +1301,57 @@ export declare class Client {
1296
1301
  */
1297
1302
  getVersion(): Promise<ApiVersion>;
1298
1303
  protected processGetVersion(response: Response): Promise<ApiVersion>;
1304
+ /**
1305
+ * Create or update a watchlist item.
1306
+ * @param body (optional) Watchlist item creation/update information.
1307
+ * @return The watchlist item was updated (already existed).
1308
+ */
1309
+ createOrUpdate(body: CreateWatchlist | undefined): Promise<Watchlist>;
1310
+ protected processCreateOrUpdate(response: Response): Promise<Watchlist>;
1311
+ /**
1312
+ * Get all watchlist items with optional filters.
1313
+ * @param investorId (optional) Optional investor ID to filter watchlist items.
1314
+ * @param advisorId (optional) Optional advisor ID to filter watchlist items.
1315
+ * @param targetId (optional) Optional target asset ID to filter watchlist items.
1316
+ * @param targetAssetType (optional) Optional target asset type to filter watchlist items.
1317
+ * @param pageNumber (optional) Page number for pagination (default: 1).
1318
+ * @param pageSize (optional) Page size for pagination (default: 25).
1319
+ * @return Returns the paginated list of watchlist items.
1320
+ */
1321
+ getAll(investorId: string | undefined, advisorId: string | undefined, targetId: string | undefined, targetAssetType: TargetAssetType5 | undefined, pageNumber: number | undefined, pageSize: number | undefined): Promise<WatchlistApiResponse>;
1322
+ protected processGetAll(response: Response): Promise<WatchlistApiResponse>;
1323
+ /**
1324
+ * Get a watchlist item by investor ID and target ID.
1325
+ * @param investorId The investor ID.
1326
+ * @param targetId The target asset ID.
1327
+ * @return Returns the watchlist item.
1328
+ */
1329
+ getByInvestorAndTarget(investorId: string, targetId: string): Promise<Watchlist>;
1330
+ protected processGetByInvestorAndTarget(response: Response): Promise<Watchlist>;
1331
+ /**
1332
+ * Delete a watchlist item by investor ID and target ID.
1333
+ * @param investorId The investor ID.
1334
+ * @param targetId The target asset ID.
1335
+ * @return Watchlist item deleted successfully.
1336
+ */
1337
+ delete(investorId: string, targetId: string): Promise<void>;
1338
+ protected processDelete(response: Response): Promise<void>;
1339
+ /**
1340
+ * Get a watchlist item by advisor ID and target ID.
1341
+ * @param advisorId The advisor ID.
1342
+ * @param targetId The target asset ID.
1343
+ * @return Returns the watchlist item.
1344
+ */
1345
+ getByAdvisorAndTarget(advisorId: string, targetId: string): Promise<Watchlist>;
1346
+ protected processGetByAdvisorAndTarget(response: Response): Promise<Watchlist>;
1347
+ /**
1348
+ * Delete a watchlist item by advisor ID and target ID.
1349
+ * @param advisorId The advisor ID.
1350
+ * @param targetId The target asset ID.
1351
+ * @return Watchlist item deleted successfully.
1352
+ */
1353
+ deleteByAdvisor(advisorId: string, targetId: string): Promise<void>;
1354
+ protected processDeleteByAdvisor(response: Response): Promise<void>;
1299
1355
  /**
1300
1356
  * Create a Webhook
1301
1357
  * @param body (optional) Create Webhook information.
@@ -2274,6 +2330,32 @@ export interface ICreateTransaction {
2274
2330
  /** The reference ID of an order submitted. */
2275
2331
  referenceId?: string | undefined;
2276
2332
  }
2333
+ /** CreateWatchlist represents the request to create or update a watchlist item. */
2334
+ export declare class CreateWatchlist implements ICreateWatchlist {
2335
+ /** Represents the unique ID, provided by Monark, associated with the Investor who is adding this item to their watchlist. */
2336
+ investorId?: string | undefined;
2337
+ /** Represents the unique ID, provided by Monark, associated with the Financial Advisor who is adding this item to their watchlist. */
2338
+ advisorId?: string | undefined;
2339
+ /** The unique ID of the target asset (company, fund, etc.) that the watchlist item is for. */
2340
+ targetId: string;
2341
+ /** The asset type of the target being watched (PreIPOCompany, PreIPOCompanySPV, RegisteredFund, etc.) */
2342
+ targetAssetType?: CreateWatchlistTargetAssetType;
2343
+ constructor(data?: ICreateWatchlist);
2344
+ init(_data?: any): void;
2345
+ static fromJS(data: any): CreateWatchlist;
2346
+ toJSON(data?: any): any;
2347
+ }
2348
+ /** CreateWatchlist represents the request to create or update a watchlist item. */
2349
+ export interface ICreateWatchlist {
2350
+ /** Represents the unique ID, provided by Monark, associated with the Investor who is adding this item to their watchlist. */
2351
+ investorId?: string | undefined;
2352
+ /** Represents the unique ID, provided by Monark, associated with the Financial Advisor who is adding this item to their watchlist. */
2353
+ advisorId?: string | undefined;
2354
+ /** The unique ID of the target asset (company, fund, etc.) that the watchlist item is for. */
2355
+ targetId: string;
2356
+ /** The asset type of the target being watched (PreIPOCompany, PreIPOCompanySPV, RegisteredFund, etc.) */
2357
+ targetAssetType?: CreateWatchlistTargetAssetType;
2358
+ }
2277
2359
  export declare class CreateWebhook implements ICreateWebhook {
2278
2360
  /** The delivery url for the webhook */
2279
2361
  url: string;
@@ -8214,6 +8296,52 @@ export interface IUpdateWebhook {
8214
8296
  /** Flag to dictate if the webhook should be sent events. */
8215
8297
  isActive?: boolean;
8216
8298
  }
8299
+ /** Watchlist represents a user's subscription to future updates about a given company. */
8300
+ export declare class Watchlist implements IWatchlist {
8301
+ /** Unique ID associated with this watchlist item. */
8302
+ id?: string;
8303
+ /** Represents the unique ID, provided by Monark, associated with the Investor who added this item to their watchlist. */
8304
+ investorId?: string | undefined;
8305
+ /** Represents the unique ID, provided by Monark, associated with the Financial Advisor who added this item to their watchlist. */
8306
+ advisorId?: string | undefined;
8307
+ /** The unique ID of the target asset (company, fund, etc.) that the watchlist item is for. */
8308
+ targetId?: string;
8309
+ /** The asset type of the target being watched (PreIPOCompany, PreIPOCompanySPV, RegisteredFund, etc.) */
8310
+ targetAssetType?: WatchlistTargetAssetType;
8311
+ /** The name of the target asset (for display purposes). */
8312
+ targetName?: string | undefined;
8313
+ constructor(data?: IWatchlist);
8314
+ init(_data?: any): void;
8315
+ static fromJS(data: any): Watchlist;
8316
+ toJSON(data?: any): any;
8317
+ }
8318
+ /** Watchlist represents a user's subscription to future updates about a given company. */
8319
+ export interface IWatchlist {
8320
+ /** Unique ID associated with this watchlist item. */
8321
+ id?: string;
8322
+ /** Represents the unique ID, provided by Monark, associated with the Investor who added this item to their watchlist. */
8323
+ investorId?: string | undefined;
8324
+ /** Represents the unique ID, provided by Monark, associated with the Financial Advisor who added this item to their watchlist. */
8325
+ advisorId?: string | undefined;
8326
+ /** The unique ID of the target asset (company, fund, etc.) that the watchlist item is for. */
8327
+ targetId?: string;
8328
+ /** The asset type of the target being watched (PreIPOCompany, PreIPOCompanySPV, RegisteredFund, etc.) */
8329
+ targetAssetType?: WatchlistTargetAssetType;
8330
+ /** The name of the target asset (for display purposes). */
8331
+ targetName?: string | undefined;
8332
+ }
8333
+ export declare class WatchlistApiResponse implements IWatchlistApiResponse {
8334
+ items?: Watchlist[] | undefined;
8335
+ pagination?: Pagination | undefined;
8336
+ constructor(data?: IWatchlistApiResponse);
8337
+ init(_data?: any): void;
8338
+ static fromJS(data: any): WatchlistApiResponse;
8339
+ toJSON(data?: any): any;
8340
+ }
8341
+ export interface IWatchlistApiResponse {
8342
+ items?: Watchlist[] | undefined;
8343
+ pagination?: Pagination | undefined;
8344
+ }
8217
8345
  export declare class Webhook implements IWebhook {
8218
8346
  /** Unique ID associated with a Webhook. */
8219
8347
  id?: string;
@@ -8634,6 +8762,11 @@ export declare enum TargetAssetType4 {
8634
8762
  RegisteredFund = "RegisteredFund",
8635
8763
  PreIPOCompany = "PreIPOCompany"
8636
8764
  }
8765
+ export declare enum TargetAssetType5 {
8766
+ PreIPOCompanySPV = "PreIPOCompanySPV",
8767
+ RegisteredFund = "RegisteredFund",
8768
+ PreIPOCompany = "PreIPOCompany"
8769
+ }
8637
8770
  export declare enum SortOrder24 {
8638
8771
  Ascending = "Ascending",
8639
8772
  Descending = "Descending"
@@ -8816,6 +8949,11 @@ export declare enum CreateTransactionSide {
8816
8949
  Subscription = "Subscription",
8817
8950
  Redemption = "Redemption"
8818
8951
  }
8952
+ export declare enum CreateWatchlistTargetAssetType {
8953
+ PreIPOCompanySPV = "PreIPOCompanySPV",
8954
+ RegisteredFund = "RegisteredFund",
8955
+ PreIPOCompany = "PreIPOCompany"
8956
+ }
8819
8957
  export declare enum DocumentType3 {
8820
8958
  BUSINESS_FORMATION = "BUSINESS_FORMATION",
8821
8959
  CERTIFICATE_OF_FORMATION = "CERTIFICATE_OF_FORMATION",
@@ -9836,6 +9974,11 @@ export declare enum UpdateTransactionReferenceTargetAssetType {
9836
9974
  RegisteredFund = "RegisteredFund",
9837
9975
  PreIPOCompany = "PreIPOCompany"
9838
9976
  }
9977
+ export declare enum WatchlistTargetAssetType {
9978
+ PreIPOCompanySPV = "PreIPOCompanySPV",
9979
+ RegisteredFund = "RegisteredFund",
9980
+ PreIPOCompany = "PreIPOCompany"
9981
+ }
9839
9982
  export declare enum WebhookEventDeliveryStatus {
9840
9983
  Pending = "Pending",
9841
9984
  Delivered = "Delivered",
package/dist/Client.js CHANGED
@@ -5851,11 +5851,12 @@ export class Client {
5851
5851
  Defaults to 1 if not specified.
5852
5852
  * @param pageSize (optional) Size of the page to retrieve.
5853
5853
  Defaults to 25 if not specified.
5854
+ * @param includeDocuments (optional) Optional flag to include associated documents.
5854
5855
  * @param sortOrder (optional)
5855
5856
  * @param sortBy (optional)
5856
5857
  * @return OK
5857
5858
  */
5858
- getAllPreIPOCompanySPVs(investorId, monarkStage, exemptionsClaimed, nameFilter, preIPOCompanyId, preIPOCompanyInvestmentId, isApproved, page, pageSize, sortOrder, sortBy) {
5859
+ getAllPreIPOCompanySPVs(investorId, monarkStage, exemptionsClaimed, nameFilter, preIPOCompanyId, preIPOCompanyInvestmentId, isApproved, page, pageSize, includeDocuments, sortOrder, sortBy) {
5859
5860
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv/investor/{investorId}?";
5860
5861
  if (investorId === undefined || investorId === null)
5861
5862
  throw new globalThis.Error("The parameter 'investorId' must be defined.");
@@ -5892,6 +5893,10 @@ export class Client {
5892
5893
  throw new globalThis.Error("The parameter 'pageSize' cannot be null.");
5893
5894
  else if (pageSize !== undefined)
5894
5895
  url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
5896
+ if (includeDocuments === null)
5897
+ throw new globalThis.Error("The parameter 'includeDocuments' cannot be null.");
5898
+ else if (includeDocuments !== undefined)
5899
+ url_ += "includeDocuments=" + encodeURIComponent("" + includeDocuments) + "&";
5895
5900
  if (sortOrder === null)
5896
5901
  throw new globalThis.Error("The parameter 'sortOrder' cannot be null.");
5897
5902
  else if (sortOrder !== undefined)
@@ -6996,9 +7001,10 @@ export class Client {
6996
7001
  * @param sortOrder (optional) Which way to sort order, defaults to Descending.
6997
7002
  * @param financialInstitutionId (optional) Optional financial institution ID for access control.
6998
7003
  * @param assetClass (optional) Optional asset class to filter registered funds by asset class.
7004
+ * @param includeDocuments (optional) Optional flag to include associated documents.
6999
7005
  * @return OK
7000
7006
  */
7001
- getAllRegisteredFunds(page, pageSize, searchTerm, sortOrder, financialInstitutionId, assetClass) {
7007
+ getAllRegisteredFunds(page, pageSize, searchTerm, sortOrder, financialInstitutionId, assetClass, includeDocuments) {
7002
7008
  let url_ = this.baseUrl + "/primary/v1/registered-fund?";
7003
7009
  if (page === null)
7004
7010
  throw new globalThis.Error("The parameter 'page' cannot be null.");
@@ -7024,6 +7030,10 @@ export class Client {
7024
7030
  throw new globalThis.Error("The parameter 'assetClass' cannot be null.");
7025
7031
  else if (assetClass !== undefined)
7026
7032
  url_ += "assetClass=" + encodeURIComponent("" + assetClass) + "&";
7033
+ if (includeDocuments === null)
7034
+ throw new globalThis.Error("The parameter 'includeDocuments' cannot be null.");
7035
+ else if (includeDocuments !== undefined)
7036
+ url_ += "includeDocuments=" + encodeURIComponent("" + includeDocuments) + "&";
7027
7037
  url_ = url_.replace(/[?&]$/, "");
7028
7038
  let options_ = {
7029
7039
  method: "GET",
@@ -7738,9 +7748,10 @@ export class Client {
7738
7748
  * @param status (optional) Optional: Filter by order status.
7739
7749
  * @param referenceId (optional) Optional: Filter by order reference ID.
7740
7750
  * @param managerId (optional) Optional: Filter by manager ID. For SPVs, filters by Manager. For RegisteredFunds, filters by Fund Manager.
7751
+ * @param includeDocuments (optional) Optional flag to include associated documents.
7741
7752
  * @return OK
7742
7753
  */
7743
- getTransactions(targetAssetType, page, pageSize, targetId, investorId, status, referenceId, managerId) {
7754
+ getTransactions(targetAssetType, page, pageSize, targetId, investorId, status, referenceId, managerId, includeDocuments) {
7744
7755
  let url_ = this.baseUrl + "/primary/v2/transaction?";
7745
7756
  if (targetAssetType === undefined || targetAssetType === null)
7746
7757
  throw new globalThis.Error("The parameter 'targetAssetType' must be defined and cannot be null.");
@@ -7774,6 +7785,10 @@ export class Client {
7774
7785
  throw new globalThis.Error("The parameter 'managerId' cannot be null.");
7775
7786
  else if (managerId !== undefined)
7776
7787
  url_ += "managerId=" + encodeURIComponent("" + managerId) + "&";
7788
+ if (includeDocuments === null)
7789
+ throw new globalThis.Error("The parameter 'includeDocuments' cannot be null.");
7790
+ else if (includeDocuments !== undefined)
7791
+ url_ += "includeDocuments=" + encodeURIComponent("" + includeDocuments) + "&";
7777
7792
  url_ = url_.replace(/[?&]$/, "");
7778
7793
  let options_ = {
7779
7794
  method: "GET",
@@ -7962,9 +7977,10 @@ export class Client {
7962
7977
  Defaults to 1 if not specified.
7963
7978
  * @param pageSize (optional) Size of the page to retrieve.
7964
7979
  Defaults to 25 if not specified.
7980
+ * @param includeDocuments (optional) Optional flag to include associated documents.
7965
7981
  * @return OK
7966
7982
  */
7967
- getTransactionsByInvestor(investorId, targetAssetType, page, pageSize) {
7983
+ getTransactionsByInvestor(investorId, targetAssetType, page, pageSize, includeDocuments) {
7968
7984
  let url_ = this.baseUrl + "/primary/v2/transaction/investor/{investorId}?";
7969
7985
  if (investorId === undefined || investorId === null)
7970
7986
  throw new globalThis.Error("The parameter 'investorId' must be defined.");
@@ -7981,6 +7997,10 @@ export class Client {
7981
7997
  throw new globalThis.Error("The parameter 'pageSize' cannot be null.");
7982
7998
  else if (pageSize !== undefined)
7983
7999
  url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
8000
+ if (includeDocuments === null)
8001
+ throw new globalThis.Error("The parameter 'includeDocuments' cannot be null.");
8002
+ else if (includeDocuments !== undefined)
8003
+ url_ += "includeDocuments=" + encodeURIComponent("" + includeDocuments) + "&";
7984
8004
  url_ = url_.replace(/[?&]$/, "");
7985
8005
  let options_ = {
7986
8006
  method: "GET",
@@ -8035,9 +8055,10 @@ export class Client {
8035
8055
  * @param investorId The investor ID.
8036
8056
  * @param targetId The target ID (SPV ID, Fund ID, etc.).
8037
8057
  * @param targetAssetType (optional) Required: The asset type (PreIPOCompanySPV or RegisteredFund).
8058
+ * @param includeDocuments (optional) Optional flag to include associated documents.
8038
8059
  * @return OK
8039
8060
  */
8040
- getTransactionByInvestorAndTargetId(investorId, targetId, targetAssetType) {
8061
+ getTransactionByInvestorAndTargetId(investorId, targetId, targetAssetType, includeDocuments) {
8041
8062
  let url_ = this.baseUrl + "/primary/v2/transaction/investor/{investorId}/target/{targetId}?";
8042
8063
  if (investorId === undefined || investorId === null)
8043
8064
  throw new globalThis.Error("The parameter 'investorId' must be defined.");
@@ -8049,6 +8070,10 @@ export class Client {
8049
8070
  throw new globalThis.Error("The parameter 'targetAssetType' cannot be null.");
8050
8071
  else if (targetAssetType !== undefined)
8051
8072
  url_ += "targetAssetType=" + encodeURIComponent("" + targetAssetType) + "&";
8073
+ if (includeDocuments === null)
8074
+ throw new globalThis.Error("The parameter 'includeDocuments' cannot be null.");
8075
+ else if (includeDocuments !== undefined)
8076
+ url_ += "includeDocuments=" + encodeURIComponent("" + includeDocuments) + "&";
8052
8077
  url_ = url_.replace(/[?&]$/, "");
8053
8078
  let options_ = {
8054
8079
  method: "GET",
@@ -8448,6 +8473,352 @@ export class Client {
8448
8473
  }
8449
8474
  return Promise.resolve(null);
8450
8475
  }
8476
+ /**
8477
+ * Create or update a watchlist item.
8478
+ * @param body (optional) Watchlist item creation/update information.
8479
+ * @return The watchlist item was updated (already existed).
8480
+ */
8481
+ createOrUpdate(body) {
8482
+ let url_ = this.baseUrl + "/primary/v1/watchlist";
8483
+ url_ = url_.replace(/[?&]$/, "");
8484
+ const content_ = JSON.stringify(body);
8485
+ let options_ = {
8486
+ body: content_,
8487
+ method: "POST",
8488
+ headers: {
8489
+ "Content-Type": "application/json",
8490
+ "Accept": "application/json"
8491
+ }
8492
+ };
8493
+ return this.http.fetch(url_, options_).then((_response) => {
8494
+ return this.processCreateOrUpdate(_response);
8495
+ });
8496
+ }
8497
+ processCreateOrUpdate(response) {
8498
+ const status = response.status;
8499
+ let _headers = {};
8500
+ if (response.headers && response.headers.forEach) {
8501
+ response.headers.forEach((v, k) => _headers[k] = v);
8502
+ }
8503
+ ;
8504
+ if (status === 200) {
8505
+ return response.text().then((_responseText) => {
8506
+ let result200 = null;
8507
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
8508
+ result200 = Watchlist.fromJS(resultData200);
8509
+ return result200;
8510
+ });
8511
+ }
8512
+ else if (status === 201) {
8513
+ return response.text().then((_responseText) => {
8514
+ let result201 = null;
8515
+ let resultData201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
8516
+ result201 = Watchlist.fromJS(resultData201);
8517
+ return result201;
8518
+ });
8519
+ }
8520
+ else if (status === 400) {
8521
+ return response.text().then((_responseText) => {
8522
+ let result400 = null;
8523
+ let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
8524
+ result400 = ProblemDetails.fromJS(resultData400);
8525
+ return throwException("Bad request if required fields are missing.", status, _responseText, _headers, result400);
8526
+ });
8527
+ }
8528
+ else if (status === 404) {
8529
+ return response.text().then((_responseText) => {
8530
+ let result404 = null;
8531
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
8532
+ result404 = ProblemDetails.fromJS(resultData404);
8533
+ return throwException("Target asset or investor/advisor not found.", status, _responseText, _headers, result404);
8534
+ });
8535
+ }
8536
+ else if (status !== 200 && status !== 204) {
8537
+ return response.text().then((_responseText) => {
8538
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
8539
+ });
8540
+ }
8541
+ return Promise.resolve(null);
8542
+ }
8543
+ /**
8544
+ * Get all watchlist items with optional filters.
8545
+ * @param investorId (optional) Optional investor ID to filter watchlist items.
8546
+ * @param advisorId (optional) Optional advisor ID to filter watchlist items.
8547
+ * @param targetId (optional) Optional target asset ID to filter watchlist items.
8548
+ * @param targetAssetType (optional) Optional target asset type to filter watchlist items.
8549
+ * @param pageNumber (optional) Page number for pagination (default: 1).
8550
+ * @param pageSize (optional) Page size for pagination (default: 25).
8551
+ * @return Returns the paginated list of watchlist items.
8552
+ */
8553
+ getAll(investorId, advisorId, targetId, targetAssetType, pageNumber, pageSize) {
8554
+ let url_ = this.baseUrl + "/primary/v1/watchlist?";
8555
+ if (investorId === null)
8556
+ throw new globalThis.Error("The parameter 'investorId' cannot be null.");
8557
+ else if (investorId !== undefined)
8558
+ url_ += "investorId=" + encodeURIComponent("" + investorId) + "&";
8559
+ if (advisorId === null)
8560
+ throw new globalThis.Error("The parameter 'advisorId' cannot be null.");
8561
+ else if (advisorId !== undefined)
8562
+ url_ += "advisorId=" + encodeURIComponent("" + advisorId) + "&";
8563
+ if (targetId === null)
8564
+ throw new globalThis.Error("The parameter 'targetId' cannot be null.");
8565
+ else if (targetId !== undefined)
8566
+ url_ += "targetId=" + encodeURIComponent("" + targetId) + "&";
8567
+ if (targetAssetType === null)
8568
+ throw new globalThis.Error("The parameter 'targetAssetType' cannot be null.");
8569
+ else if (targetAssetType !== undefined)
8570
+ url_ += "targetAssetType=" + encodeURIComponent("" + targetAssetType) + "&";
8571
+ if (pageNumber === null)
8572
+ throw new globalThis.Error("The parameter 'pageNumber' cannot be null.");
8573
+ else if (pageNumber !== undefined)
8574
+ url_ += "pageNumber=" + encodeURIComponent("" + pageNumber) + "&";
8575
+ if (pageSize === null)
8576
+ throw new globalThis.Error("The parameter 'pageSize' cannot be null.");
8577
+ else if (pageSize !== undefined)
8578
+ url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
8579
+ url_ = url_.replace(/[?&]$/, "");
8580
+ let options_ = {
8581
+ method: "GET",
8582
+ headers: {
8583
+ "Accept": "application/json"
8584
+ }
8585
+ };
8586
+ return this.http.fetch(url_, options_).then((_response) => {
8587
+ return this.processGetAll(_response);
8588
+ });
8589
+ }
8590
+ processGetAll(response) {
8591
+ const status = response.status;
8592
+ let _headers = {};
8593
+ if (response.headers && response.headers.forEach) {
8594
+ response.headers.forEach((v, k) => _headers[k] = v);
8595
+ }
8596
+ ;
8597
+ if (status === 200) {
8598
+ return response.text().then((_responseText) => {
8599
+ let result200 = null;
8600
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
8601
+ result200 = WatchlistApiResponse.fromJS(resultData200);
8602
+ return result200;
8603
+ });
8604
+ }
8605
+ else if (status !== 200 && status !== 204) {
8606
+ return response.text().then((_responseText) => {
8607
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
8608
+ });
8609
+ }
8610
+ return Promise.resolve(null);
8611
+ }
8612
+ /**
8613
+ * Get a watchlist item by investor ID and target ID.
8614
+ * @param investorId The investor ID.
8615
+ * @param targetId The target asset ID.
8616
+ * @return Returns the watchlist item.
8617
+ */
8618
+ getByInvestorAndTarget(investorId, targetId) {
8619
+ let url_ = this.baseUrl + "/primary/v1/watchlist/investorId/{investorId}/targetId/{targetId}";
8620
+ if (investorId === undefined || investorId === null)
8621
+ throw new globalThis.Error("The parameter 'investorId' must be defined.");
8622
+ url_ = url_.replace("{investorId}", encodeURIComponent("" + investorId));
8623
+ if (targetId === undefined || targetId === null)
8624
+ throw new globalThis.Error("The parameter 'targetId' must be defined.");
8625
+ url_ = url_.replace("{targetId}", encodeURIComponent("" + targetId));
8626
+ url_ = url_.replace(/[?&]$/, "");
8627
+ let options_ = {
8628
+ method: "GET",
8629
+ headers: {
8630
+ "Accept": "application/json"
8631
+ }
8632
+ };
8633
+ return this.http.fetch(url_, options_).then((_response) => {
8634
+ return this.processGetByInvestorAndTarget(_response);
8635
+ });
8636
+ }
8637
+ processGetByInvestorAndTarget(response) {
8638
+ const status = response.status;
8639
+ let _headers = {};
8640
+ if (response.headers && response.headers.forEach) {
8641
+ response.headers.forEach((v, k) => _headers[k] = v);
8642
+ }
8643
+ ;
8644
+ if (status === 200) {
8645
+ return response.text().then((_responseText) => {
8646
+ let result200 = null;
8647
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
8648
+ result200 = Watchlist.fromJS(resultData200);
8649
+ return result200;
8650
+ });
8651
+ }
8652
+ else if (status === 404) {
8653
+ return response.text().then((_responseText) => {
8654
+ let result404 = null;
8655
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
8656
+ result404 = ProblemDetails.fromJS(resultData404);
8657
+ return throwException("Watchlist item not found.", status, _responseText, _headers, result404);
8658
+ });
8659
+ }
8660
+ else if (status !== 200 && status !== 204) {
8661
+ return response.text().then((_responseText) => {
8662
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
8663
+ });
8664
+ }
8665
+ return Promise.resolve(null);
8666
+ }
8667
+ /**
8668
+ * Delete a watchlist item by investor ID and target ID.
8669
+ * @param investorId The investor ID.
8670
+ * @param targetId The target asset ID.
8671
+ * @return Watchlist item deleted successfully.
8672
+ */
8673
+ delete(investorId, targetId) {
8674
+ let url_ = this.baseUrl + "/primary/v1/watchlist/investorId/{investorId}/targetId/{targetId}";
8675
+ if (investorId === undefined || investorId === null)
8676
+ throw new globalThis.Error("The parameter 'investorId' must be defined.");
8677
+ url_ = url_.replace("{investorId}", encodeURIComponent("" + investorId));
8678
+ if (targetId === undefined || targetId === null)
8679
+ throw new globalThis.Error("The parameter 'targetId' must be defined.");
8680
+ url_ = url_.replace("{targetId}", encodeURIComponent("" + targetId));
8681
+ url_ = url_.replace(/[?&]$/, "");
8682
+ let options_ = {
8683
+ method: "DELETE",
8684
+ headers: {}
8685
+ };
8686
+ return this.http.fetch(url_, options_).then((_response) => {
8687
+ return this.processDelete(_response);
8688
+ });
8689
+ }
8690
+ processDelete(response) {
8691
+ const status = response.status;
8692
+ let _headers = {};
8693
+ if (response.headers && response.headers.forEach) {
8694
+ response.headers.forEach((v, k) => _headers[k] = v);
8695
+ }
8696
+ ;
8697
+ if (status === 204) {
8698
+ return response.text().then((_responseText) => {
8699
+ return;
8700
+ });
8701
+ }
8702
+ else if (status === 404) {
8703
+ return response.text().then((_responseText) => {
8704
+ let result404 = null;
8705
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
8706
+ result404 = ProblemDetails.fromJS(resultData404);
8707
+ return throwException("Watchlist item not found.", status, _responseText, _headers, result404);
8708
+ });
8709
+ }
8710
+ else if (status !== 200 && status !== 204) {
8711
+ return response.text().then((_responseText) => {
8712
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
8713
+ });
8714
+ }
8715
+ return Promise.resolve(null);
8716
+ }
8717
+ /**
8718
+ * Get a watchlist item by advisor ID and target ID.
8719
+ * @param advisorId The advisor ID.
8720
+ * @param targetId The target asset ID.
8721
+ * @return Returns the watchlist item.
8722
+ */
8723
+ getByAdvisorAndTarget(advisorId, targetId) {
8724
+ let url_ = this.baseUrl + "/primary/v1/watchlist/advisorId/{advisorId}/targetId/{targetId}";
8725
+ if (advisorId === undefined || advisorId === null)
8726
+ throw new globalThis.Error("The parameter 'advisorId' must be defined.");
8727
+ url_ = url_.replace("{advisorId}", encodeURIComponent("" + advisorId));
8728
+ if (targetId === undefined || targetId === null)
8729
+ throw new globalThis.Error("The parameter 'targetId' must be defined.");
8730
+ url_ = url_.replace("{targetId}", encodeURIComponent("" + targetId));
8731
+ url_ = url_.replace(/[?&]$/, "");
8732
+ let options_ = {
8733
+ method: "GET",
8734
+ headers: {
8735
+ "Accept": "application/json"
8736
+ }
8737
+ };
8738
+ return this.http.fetch(url_, options_).then((_response) => {
8739
+ return this.processGetByAdvisorAndTarget(_response);
8740
+ });
8741
+ }
8742
+ processGetByAdvisorAndTarget(response) {
8743
+ const status = response.status;
8744
+ let _headers = {};
8745
+ if (response.headers && response.headers.forEach) {
8746
+ response.headers.forEach((v, k) => _headers[k] = v);
8747
+ }
8748
+ ;
8749
+ if (status === 200) {
8750
+ return response.text().then((_responseText) => {
8751
+ let result200 = null;
8752
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
8753
+ result200 = Watchlist.fromJS(resultData200);
8754
+ return result200;
8755
+ });
8756
+ }
8757
+ else if (status === 404) {
8758
+ return response.text().then((_responseText) => {
8759
+ let result404 = null;
8760
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
8761
+ result404 = ProblemDetails.fromJS(resultData404);
8762
+ return throwException("Watchlist item not found.", status, _responseText, _headers, result404);
8763
+ });
8764
+ }
8765
+ else if (status !== 200 && status !== 204) {
8766
+ return response.text().then((_responseText) => {
8767
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
8768
+ });
8769
+ }
8770
+ return Promise.resolve(null);
8771
+ }
8772
+ /**
8773
+ * Delete a watchlist item by advisor ID and target ID.
8774
+ * @param advisorId The advisor ID.
8775
+ * @param targetId The target asset ID.
8776
+ * @return Watchlist item deleted successfully.
8777
+ */
8778
+ deleteByAdvisor(advisorId, targetId) {
8779
+ let url_ = this.baseUrl + "/primary/v1/watchlist/advisorId/{advisorId}/targetId/{targetId}";
8780
+ if (advisorId === undefined || advisorId === null)
8781
+ throw new globalThis.Error("The parameter 'advisorId' must be defined.");
8782
+ url_ = url_.replace("{advisorId}", encodeURIComponent("" + advisorId));
8783
+ if (targetId === undefined || targetId === null)
8784
+ throw new globalThis.Error("The parameter 'targetId' must be defined.");
8785
+ url_ = url_.replace("{targetId}", encodeURIComponent("" + targetId));
8786
+ url_ = url_.replace(/[?&]$/, "");
8787
+ let options_ = {
8788
+ method: "DELETE",
8789
+ headers: {}
8790
+ };
8791
+ return this.http.fetch(url_, options_).then((_response) => {
8792
+ return this.processDeleteByAdvisor(_response);
8793
+ });
8794
+ }
8795
+ processDeleteByAdvisor(response) {
8796
+ const status = response.status;
8797
+ let _headers = {};
8798
+ if (response.headers && response.headers.forEach) {
8799
+ response.headers.forEach((v, k) => _headers[k] = v);
8800
+ }
8801
+ ;
8802
+ if (status === 204) {
8803
+ return response.text().then((_responseText) => {
8804
+ return;
8805
+ });
8806
+ }
8807
+ else if (status === 404) {
8808
+ return response.text().then((_responseText) => {
8809
+ let result404 = null;
8810
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
8811
+ result404 = ProblemDetails.fromJS(resultData404);
8812
+ return throwException("Watchlist item not found.", status, _responseText, _headers, result404);
8813
+ });
8814
+ }
8815
+ else if (status !== 200 && status !== 204) {
8816
+ return response.text().then((_responseText) => {
8817
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
8818
+ });
8819
+ }
8820
+ return Promise.resolve(null);
8821
+ }
8451
8822
  /**
8452
8823
  * Create a Webhook
8453
8824
  * @param body (optional) Create Webhook information.
@@ -9986,6 +10357,39 @@ export class CreateTransaction {
9986
10357
  return data;
9987
10358
  }
9988
10359
  }
10360
+ /** CreateWatchlist represents the request to create or update a watchlist item. */
10361
+ export class CreateWatchlist {
10362
+ constructor(data) {
10363
+ if (data) {
10364
+ for (var property in data) {
10365
+ if (data.hasOwnProperty(property))
10366
+ this[property] = data[property];
10367
+ }
10368
+ }
10369
+ }
10370
+ init(_data) {
10371
+ if (_data) {
10372
+ this.investorId = _data["investorId"];
10373
+ this.advisorId = _data["advisorId"];
10374
+ this.targetId = _data["targetId"];
10375
+ this.targetAssetType = _data["targetAssetType"];
10376
+ }
10377
+ }
10378
+ static fromJS(data) {
10379
+ data = typeof data === 'object' ? data : {};
10380
+ let result = new CreateWatchlist();
10381
+ result.init(data);
10382
+ return result;
10383
+ }
10384
+ toJSON(data) {
10385
+ data = typeof data === 'object' ? data : {};
10386
+ data["investorId"] = this.investorId;
10387
+ data["advisorId"] = this.advisorId;
10388
+ data["targetId"] = this.targetId;
10389
+ data["targetAssetType"] = this.targetAssetType;
10390
+ return data;
10391
+ }
10392
+ }
9989
10393
  export class CreateWebhook {
9990
10394
  constructor(data) {
9991
10395
  if (data) {
@@ -16746,6 +17150,79 @@ export class UpdateWebhook {
16746
17150
  return data;
16747
17151
  }
16748
17152
  }
17153
+ /** Watchlist represents a user's subscription to future updates about a given company. */
17154
+ export class Watchlist {
17155
+ constructor(data) {
17156
+ if (data) {
17157
+ for (var property in data) {
17158
+ if (data.hasOwnProperty(property))
17159
+ this[property] = data[property];
17160
+ }
17161
+ }
17162
+ }
17163
+ init(_data) {
17164
+ if (_data) {
17165
+ this.id = _data["id"];
17166
+ this.investorId = _data["investorId"];
17167
+ this.advisorId = _data["advisorId"];
17168
+ this.targetId = _data["targetId"];
17169
+ this.targetAssetType = _data["targetAssetType"];
17170
+ this.targetName = _data["targetName"];
17171
+ }
17172
+ }
17173
+ static fromJS(data) {
17174
+ data = typeof data === 'object' ? data : {};
17175
+ let result = new Watchlist();
17176
+ result.init(data);
17177
+ return result;
17178
+ }
17179
+ toJSON(data) {
17180
+ data = typeof data === 'object' ? data : {};
17181
+ data["id"] = this.id;
17182
+ data["investorId"] = this.investorId;
17183
+ data["advisorId"] = this.advisorId;
17184
+ data["targetId"] = this.targetId;
17185
+ data["targetAssetType"] = this.targetAssetType;
17186
+ data["targetName"] = this.targetName;
17187
+ return data;
17188
+ }
17189
+ }
17190
+ export class WatchlistApiResponse {
17191
+ constructor(data) {
17192
+ if (data) {
17193
+ for (var property in data) {
17194
+ if (data.hasOwnProperty(property))
17195
+ this[property] = data[property];
17196
+ }
17197
+ }
17198
+ }
17199
+ init(_data) {
17200
+ if (_data) {
17201
+ if (Array.isArray(_data["items"])) {
17202
+ this.items = [];
17203
+ for (let item of _data["items"])
17204
+ this.items.push(Watchlist.fromJS(item));
17205
+ }
17206
+ this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
17207
+ }
17208
+ }
17209
+ static fromJS(data) {
17210
+ data = typeof data === 'object' ? data : {};
17211
+ let result = new WatchlistApiResponse();
17212
+ result.init(data);
17213
+ return result;
17214
+ }
17215
+ toJSON(data) {
17216
+ data = typeof data === 'object' ? data : {};
17217
+ if (Array.isArray(this.items)) {
17218
+ data["items"] = [];
17219
+ for (let item of this.items)
17220
+ data["items"].push(item ? item.toJSON() : undefined);
17221
+ }
17222
+ data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
17223
+ return data;
17224
+ }
17225
+ }
16749
17226
  export class Webhook {
16750
17227
  constructor(data) {
16751
17228
  if (data) {
@@ -17265,6 +17742,12 @@ export var TargetAssetType4;
17265
17742
  TargetAssetType4["RegisteredFund"] = "RegisteredFund";
17266
17743
  TargetAssetType4["PreIPOCompany"] = "PreIPOCompany";
17267
17744
  })(TargetAssetType4 || (TargetAssetType4 = {}));
17745
+ export var TargetAssetType5;
17746
+ (function (TargetAssetType5) {
17747
+ TargetAssetType5["PreIPOCompanySPV"] = "PreIPOCompanySPV";
17748
+ TargetAssetType5["RegisteredFund"] = "RegisteredFund";
17749
+ TargetAssetType5["PreIPOCompany"] = "PreIPOCompany";
17750
+ })(TargetAssetType5 || (TargetAssetType5 = {}));
17268
17751
  export var SortOrder24;
17269
17752
  (function (SortOrder24) {
17270
17753
  SortOrder24["Ascending"] = "Ascending";
@@ -17465,6 +17948,12 @@ export var CreateTransactionSide;
17465
17948
  CreateTransactionSide["Subscription"] = "Subscription";
17466
17949
  CreateTransactionSide["Redemption"] = "Redemption";
17467
17950
  })(CreateTransactionSide || (CreateTransactionSide = {}));
17951
+ export var CreateWatchlistTargetAssetType;
17952
+ (function (CreateWatchlistTargetAssetType) {
17953
+ CreateWatchlistTargetAssetType["PreIPOCompanySPV"] = "PreIPOCompanySPV";
17954
+ CreateWatchlistTargetAssetType["RegisteredFund"] = "RegisteredFund";
17955
+ CreateWatchlistTargetAssetType["PreIPOCompany"] = "PreIPOCompany";
17956
+ })(CreateWatchlistTargetAssetType || (CreateWatchlistTargetAssetType = {}));
17468
17957
  export var DocumentType3;
17469
17958
  (function (DocumentType3) {
17470
17959
  DocumentType3["BUSINESS_FORMATION"] = "BUSINESS_FORMATION";
@@ -18578,6 +19067,12 @@ export var UpdateTransactionReferenceTargetAssetType;
18578
19067
  UpdateTransactionReferenceTargetAssetType["RegisteredFund"] = "RegisteredFund";
18579
19068
  UpdateTransactionReferenceTargetAssetType["PreIPOCompany"] = "PreIPOCompany";
18580
19069
  })(UpdateTransactionReferenceTargetAssetType || (UpdateTransactionReferenceTargetAssetType = {}));
19070
+ export var WatchlistTargetAssetType;
19071
+ (function (WatchlistTargetAssetType) {
19072
+ WatchlistTargetAssetType["PreIPOCompanySPV"] = "PreIPOCompanySPV";
19073
+ WatchlistTargetAssetType["RegisteredFund"] = "RegisteredFund";
19074
+ WatchlistTargetAssetType["PreIPOCompany"] = "PreIPOCompany";
19075
+ })(WatchlistTargetAssetType || (WatchlistTargetAssetType = {}));
18581
19076
  export var WebhookEventDeliveryStatus;
18582
19077
  (function (WebhookEventDeliveryStatus) {
18583
19078
  WebhookEventDeliveryStatus["Pending"] = "Pending";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monarkmarkets/api-client",
3
- "version": "1.3.38",
3
+ "version": "1.3.40",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",