@monarkmarkets/api-client 1.2.19 → 1.2.20
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 +4 -2
- package/dist/Client.js +12 -2
- package/package.json +1 -1
package/dist/Client.d.ts
CHANGED
|
@@ -620,9 +620,10 @@ export declare class Client {
|
|
|
620
620
|
* @param includes (optional) Optional list of additional data to include with the response (e.g., News, Research, Investments).
|
|
621
621
|
* @param listingType (optional) Optional listing status filter.
|
|
622
622
|
* @param isActive (optional) Optional active state filter.
|
|
623
|
+
* @param isApproved (optional) Optional spv partner approval state filter.
|
|
623
624
|
* @return Returns the filtered and paginated list of detailed PreIPOCompanies.
|
|
624
625
|
*/
|
|
625
|
-
getAllDetailedPreIPOCompanies(filterId: string | undefined, filterBy: FilterBy | undefined, page: number | undefined, pageSize: number | undefined, includes: Includes[] | undefined, listingType: string | undefined, isActive: boolean | undefined): Promise<BulkPreIPOCompanyApiResponse>;
|
|
626
|
+
getAllDetailedPreIPOCompanies(filterId: string | undefined, filterBy: FilterBy | undefined, page: number | undefined, pageSize: number | undefined, includes: Includes[] | undefined, listingType: string | undefined, isActive: boolean | undefined, isApproved: boolean | undefined): Promise<BulkPreIPOCompanyApiResponse>;
|
|
626
627
|
protected processGetAllDetailedPreIPOCompanies(response: Response): Promise<BulkPreIPOCompanyApiResponse>;
|
|
627
628
|
/**
|
|
628
629
|
* Get the PreIPOCompanyFundingRound by the specified Id.
|
|
@@ -733,6 +734,7 @@ export declare class Client {
|
|
|
733
734
|
* @param nameFilter (optional) Optional param to filter returned spv's based on the company name.
|
|
734
735
|
* @param preIPOCompanyId (optional) Optional param to only return spv's for the preIPOCompany.
|
|
735
736
|
* @param preIPOCompanyInvestmentId (optional) Optional param to only return spv's for the preIPOCompanyInvestment.
|
|
737
|
+
* @param isApproved (optional) Optional param to filter spvs based on partner approvals.
|
|
736
738
|
* @param page (optional) Number of the page to retrieve.
|
|
737
739
|
Defaults to 1 if not specified.
|
|
738
740
|
* @param pageSize (optional) Size of the page to retrieve.
|
|
@@ -741,7 +743,7 @@ export declare class Client {
|
|
|
741
743
|
* @param sortBy (optional)
|
|
742
744
|
* @return OK
|
|
743
745
|
*/
|
|
744
|
-
getAllPreIPOCompanySPVs(investorId: string, monarkStage: MonarkStage | undefined, exemptionsClaimed: ExemptionsClaimed[] | undefined, nameFilter: string | undefined, preIPOCompanyId: string | undefined, preIPOCompanyInvestmentId: string | undefined, page: number | undefined, pageSize: number | undefined, sortOrder: SortOrder12 | undefined, sortBy: SortBy2 | undefined): Promise<PreIPOCompanySPVApiResponse>;
|
|
746
|
+
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: SortOrder12 | undefined, sortBy: SortBy2 | undefined): Promise<PreIPOCompanySPVApiResponse>;
|
|
745
747
|
protected processGetAllPreIPOCompanySPVs(response: Response): Promise<PreIPOCompanySPVApiResponse>;
|
|
746
748
|
/**
|
|
747
749
|
* Gets all SPVs that have been approved.
|
package/dist/Client.js
CHANGED
|
@@ -3986,9 +3986,10 @@ export class Client {
|
|
|
3986
3986
|
* @param includes (optional) Optional list of additional data to include with the response (e.g., News, Research, Investments).
|
|
3987
3987
|
* @param listingType (optional) Optional listing status filter.
|
|
3988
3988
|
* @param isActive (optional) Optional active state filter.
|
|
3989
|
+
* @param isApproved (optional) Optional spv partner approval state filter.
|
|
3989
3990
|
* @return Returns the filtered and paginated list of detailed PreIPOCompanies.
|
|
3990
3991
|
*/
|
|
3991
|
-
getAllDetailedPreIPOCompanies(filterId, filterBy, page, pageSize, includes, listingType, isActive) {
|
|
3992
|
+
getAllDetailedPreIPOCompanies(filterId, filterBy, page, pageSize, includes, listingType, isActive, isApproved) {
|
|
3992
3993
|
let url_ = this.baseUrl + "/primary/v1/pre-ipo-company/detailed?";
|
|
3993
3994
|
if (filterId === null)
|
|
3994
3995
|
throw new Error("The parameter 'filterId' cannot be null.");
|
|
@@ -4018,6 +4019,10 @@ export class Client {
|
|
|
4018
4019
|
throw new Error("The parameter 'isActive' cannot be null.");
|
|
4019
4020
|
else if (isActive !== undefined)
|
|
4020
4021
|
url_ += "isActive=" + encodeURIComponent("" + isActive) + "&";
|
|
4022
|
+
if (isApproved === null)
|
|
4023
|
+
throw new Error("The parameter 'isApproved' cannot be null.");
|
|
4024
|
+
else if (isApproved !== undefined)
|
|
4025
|
+
url_ += "isApproved=" + encodeURIComponent("" + isApproved) + "&";
|
|
4021
4026
|
url_ = url_.replace(/[?&]$/, "");
|
|
4022
4027
|
let options_ = {
|
|
4023
4028
|
method: "GET",
|
|
@@ -4808,6 +4813,7 @@ export class Client {
|
|
|
4808
4813
|
* @param nameFilter (optional) Optional param to filter returned spv's based on the company name.
|
|
4809
4814
|
* @param preIPOCompanyId (optional) Optional param to only return spv's for the preIPOCompany.
|
|
4810
4815
|
* @param preIPOCompanyInvestmentId (optional) Optional param to only return spv's for the preIPOCompanyInvestment.
|
|
4816
|
+
* @param isApproved (optional) Optional param to filter spvs based on partner approvals.
|
|
4811
4817
|
* @param page (optional) Number of the page to retrieve.
|
|
4812
4818
|
Defaults to 1 if not specified.
|
|
4813
4819
|
* @param pageSize (optional) Size of the page to retrieve.
|
|
@@ -4816,7 +4822,7 @@ export class Client {
|
|
|
4816
4822
|
* @param sortBy (optional)
|
|
4817
4823
|
* @return OK
|
|
4818
4824
|
*/
|
|
4819
|
-
getAllPreIPOCompanySPVs(investorId, monarkStage, exemptionsClaimed, nameFilter, preIPOCompanyId, preIPOCompanyInvestmentId, page, pageSize, sortOrder, sortBy) {
|
|
4825
|
+
getAllPreIPOCompanySPVs(investorId, monarkStage, exemptionsClaimed, nameFilter, preIPOCompanyId, preIPOCompanyInvestmentId, isApproved, page, pageSize, sortOrder, sortBy) {
|
|
4820
4826
|
let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv/investor/{investorId}?";
|
|
4821
4827
|
if (investorId === undefined || investorId === null)
|
|
4822
4828
|
throw new Error("The parameter 'investorId' must be defined.");
|
|
@@ -4841,6 +4847,10 @@ export class Client {
|
|
|
4841
4847
|
throw new Error("The parameter 'preIPOCompanyInvestmentId' cannot be null.");
|
|
4842
4848
|
else if (preIPOCompanyInvestmentId !== undefined)
|
|
4843
4849
|
url_ += "preIPOCompanyInvestmentId=" + encodeURIComponent("" + preIPOCompanyInvestmentId) + "&";
|
|
4850
|
+
if (isApproved === null)
|
|
4851
|
+
throw new Error("The parameter 'isApproved' cannot be null.");
|
|
4852
|
+
else if (isApproved !== undefined)
|
|
4853
|
+
url_ += "isApproved=" + encodeURIComponent("" + isApproved) + "&";
|
|
4844
4854
|
if (page === null)
|
|
4845
4855
|
throw new Error("The parameter 'page' cannot be null.");
|
|
4846
4856
|
else if (page !== undefined)
|