@monarkmarkets/api-client 1.1.109 → 1.1.111

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
@@ -478,6 +478,14 @@ export declare class Client {
478
478
  */
479
479
  preIpoCompany2(searchTerm: string | undefined, searchCategories: string[] | undefined, sortBy: SortBy | undefined, sortOrder: SortOrder7 | undefined, minLastValuation: number | undefined, maxLastValuation: number | undefined, minTotalFunding: number | undefined, maxTotalFunding: number | undefined, page: number | undefined, pageSize: number | undefined): Promise<PreIPOCompanyApiResponse>;
480
480
  protected processPreIpoCompany2(response: Response): Promise<PreIPOCompanyApiResponse>;
481
+ /**
482
+ * @param includes (optional)
483
+ * @param page (optional)
484
+ * @param pageSize (optional)
485
+ * @return OK
486
+ */
487
+ detailed(includes: Includes[] | undefined, page: number | undefined, pageSize: number | undefined): Promise<BulkPreIPOCompanyApiResponse>;
488
+ protected processDetailed(response: Response): Promise<BulkPreIPOCompanyApiResponse>;
481
489
  /**
482
490
  * Get the PreIPOCompanyFundingRound by the specified Id.
483
491
  * @param id ID of the PreIPOCompanyFundingRound to find.
@@ -776,6 +784,166 @@ export interface IApiVersion {
776
784
  /** The version of the API */
777
785
  version?: string | undefined;
778
786
  }
787
+ export declare class BulkPreIPOCompany implements IBulkPreIPOCompany {
788
+ /** Unique ID associated with a PreIPOCompany. */
789
+ id: string;
790
+ /** The name of the PreIPOCompany. */
791
+ name: string | undefined;
792
+ /** Domain URL of the PreIPOCompany. */
793
+ domain: string | undefined;
794
+ /** The LinkedIn profile URL associated with the PreIPOCompany. */
795
+ linkedIn?: string | undefined;
796
+ /** The PreIPOCompany’s X profile URL. */
797
+ x?: string | undefined;
798
+ /** The Facebook profile URL of the PreIPOCompany. */
799
+ facebook?: string | undefined;
800
+ /** Country where the PreIPOCompany is located. */
801
+ country?: string | undefined;
802
+ /** PreIPOCompany’s address. This attribute will describe the company’s headquarters. */
803
+ address?: string | undefined;
804
+ /** Type of entity of the PreIPOCompany. */
805
+ type?: BulkPreIPOCompanyType;
806
+ /** The year the PreIPOCompany was established. */
807
+ yearEst?: Date | undefined;
808
+ /** The number of employees at the PreIPO Company. */
809
+ numJobs?: number | undefined;
810
+ /** Short description of the PreIPOCompany. */
811
+ description: string | undefined;
812
+ /** The founder of the PreIPOCompany. */
813
+ founder?: string | undefined;
814
+ /** A URL link associated with the PreIPOCompany’s logo. */
815
+ logoURL?: string | undefined;
816
+ /** PreIPOCompany total funding, expressed in USD. */
817
+ totalFunding?: number | undefined;
818
+ /** The most recent funding series. */
819
+ lastFundingSeries?: string | undefined;
820
+ /** The total size of the last funding round, expressed in USD. */
821
+ lastFundingTotal?: number | undefined;
822
+ /** PreIPOCompany total number of funding rounds. */
823
+ totalFundingRounds?: number | undefined;
824
+ /** The date of the PreIPOCompany’s most recent funding. */
825
+ lastFundingDate?: Date | undefined;
826
+ /** The type (Equity or Debt) of the last funding round. */
827
+ lastFundingType?: string | undefined;
828
+ /** The number of investors in a PreIPOCompany. This number represents the number of institutional investors that have participated in primary fundraises. */
829
+ numInvestors?: number | undefined;
830
+ /** Revenue generated in the previous 12 months by this PreIPOCompany. */
831
+ twelveMonthTrailingRevenue?: number | undefined;
832
+ /** Most recent valuation of the PreIPOCompany, based on the most recent funding round. Expressed in USD. */
833
+ lastValuation?: number | undefined;
834
+ /** The PreIPOCompany’s share price at the most recent funding round, expressed in USD. */
835
+ lastSharePrice?: number | undefined;
836
+ /** The number of customers serviced by a Pre-IPO Company. */
837
+ numCustomers?: number | undefined;
838
+ /** Array of the PreIPOCompany’s executive or management team. */
839
+ executiveTeam?: string[] | undefined;
840
+ /** The number of shares that have been issued by the PreIPOCompany. */
841
+ numSharesOutstanding?: number | undefined;
842
+ /** A list of the notable investors’ logos associated with a PreIPOCompany. */
843
+ notableInvestorsLogos?: string[] | undefined;
844
+ /** A list of the categories a PreIPOCompany belongs to. */
845
+ categories?: string[] | undefined;
846
+ /** The PreIPOCompany’s reference price, expressed in USD. */
847
+ referencePrice?: number | undefined;
848
+ /** Date and time when the PreIPOCompany's reference price was last updated. */
849
+ referencePriceDate?: Date | undefined;
850
+ /** Unique symbol assigned to this Pre-IPO Company. Each single asset SPV associated with this Pre-IPO Company will have its own, SPV-specific symbol that leverages this symbol as its "base". */
851
+ symbol?: string | undefined;
852
+ news?: PreIPOCompanyNews[] | undefined;
853
+ research?: PreIPOCompanyResearch[] | undefined;
854
+ fundingRounds?: PreIPOCompanyFundingRound[] | undefined;
855
+ npmFundingRounds?: NpmFundingRound[] | undefined;
856
+ investments?: PreIPOCompanyInvestment[] | undefined;
857
+ spvs?: PreIPOCompanySPV[] | undefined;
858
+ constructor(data?: IBulkPreIPOCompany);
859
+ init(_data?: any): void;
860
+ static fromJS(data: any): BulkPreIPOCompany;
861
+ toJSON(data?: any): any;
862
+ }
863
+ export interface IBulkPreIPOCompany {
864
+ /** Unique ID associated with a PreIPOCompany. */
865
+ id: string;
866
+ /** The name of the PreIPOCompany. */
867
+ name: string | undefined;
868
+ /** Domain URL of the PreIPOCompany. */
869
+ domain: string | undefined;
870
+ /** The LinkedIn profile URL associated with the PreIPOCompany. */
871
+ linkedIn?: string | undefined;
872
+ /** The PreIPOCompany’s X profile URL. */
873
+ x?: string | undefined;
874
+ /** The Facebook profile URL of the PreIPOCompany. */
875
+ facebook?: string | undefined;
876
+ /** Country where the PreIPOCompany is located. */
877
+ country?: string | undefined;
878
+ /** PreIPOCompany’s address. This attribute will describe the company’s headquarters. */
879
+ address?: string | undefined;
880
+ /** Type of entity of the PreIPOCompany. */
881
+ type?: BulkPreIPOCompanyType;
882
+ /** The year the PreIPOCompany was established. */
883
+ yearEst?: Date | undefined;
884
+ /** The number of employees at the PreIPO Company. */
885
+ numJobs?: number | undefined;
886
+ /** Short description of the PreIPOCompany. */
887
+ description: string | undefined;
888
+ /** The founder of the PreIPOCompany. */
889
+ founder?: string | undefined;
890
+ /** A URL link associated with the PreIPOCompany’s logo. */
891
+ logoURL?: string | undefined;
892
+ /** PreIPOCompany total funding, expressed in USD. */
893
+ totalFunding?: number | undefined;
894
+ /** The most recent funding series. */
895
+ lastFundingSeries?: string | undefined;
896
+ /** The total size of the last funding round, expressed in USD. */
897
+ lastFundingTotal?: number | undefined;
898
+ /** PreIPOCompany total number of funding rounds. */
899
+ totalFundingRounds?: number | undefined;
900
+ /** The date of the PreIPOCompany’s most recent funding. */
901
+ lastFundingDate?: Date | undefined;
902
+ /** The type (Equity or Debt) of the last funding round. */
903
+ lastFundingType?: string | undefined;
904
+ /** The number of investors in a PreIPOCompany. This number represents the number of institutional investors that have participated in primary fundraises. */
905
+ numInvestors?: number | undefined;
906
+ /** Revenue generated in the previous 12 months by this PreIPOCompany. */
907
+ twelveMonthTrailingRevenue?: number | undefined;
908
+ /** Most recent valuation of the PreIPOCompany, based on the most recent funding round. Expressed in USD. */
909
+ lastValuation?: number | undefined;
910
+ /** The PreIPOCompany’s share price at the most recent funding round, expressed in USD. */
911
+ lastSharePrice?: number | undefined;
912
+ /** The number of customers serviced by a Pre-IPO Company. */
913
+ numCustomers?: number | undefined;
914
+ /** Array of the PreIPOCompany’s executive or management team. */
915
+ executiveTeam?: string[] | undefined;
916
+ /** The number of shares that have been issued by the PreIPOCompany. */
917
+ numSharesOutstanding?: number | undefined;
918
+ /** A list of the notable investors’ logos associated with a PreIPOCompany. */
919
+ notableInvestorsLogos?: string[] | undefined;
920
+ /** A list of the categories a PreIPOCompany belongs to. */
921
+ categories?: string[] | undefined;
922
+ /** The PreIPOCompany’s reference price, expressed in USD. */
923
+ referencePrice?: number | undefined;
924
+ /** Date and time when the PreIPOCompany's reference price was last updated. */
925
+ referencePriceDate?: Date | undefined;
926
+ /** Unique symbol assigned to this Pre-IPO Company. Each single asset SPV associated with this Pre-IPO Company will have its own, SPV-specific symbol that leverages this symbol as its "base". */
927
+ symbol?: string | undefined;
928
+ news?: PreIPOCompanyNews[] | undefined;
929
+ research?: PreIPOCompanyResearch[] | undefined;
930
+ fundingRounds?: PreIPOCompanyFundingRound[] | undefined;
931
+ npmFundingRounds?: NpmFundingRound[] | undefined;
932
+ investments?: PreIPOCompanyInvestment[] | undefined;
933
+ spvs?: PreIPOCompanySPV[] | undefined;
934
+ }
935
+ export declare class BulkPreIPOCompanyApiResponse implements IBulkPreIPOCompanyApiResponse {
936
+ items?: BulkPreIPOCompany[] | undefined;
937
+ pagination?: Pagination | undefined;
938
+ constructor(data?: IBulkPreIPOCompanyApiResponse);
939
+ init(_data?: any): void;
940
+ static fromJS(data: any): BulkPreIPOCompanyApiResponse;
941
+ toJSON(data?: any): any;
942
+ }
943
+ export interface IBulkPreIPOCompanyApiResponse {
944
+ items?: BulkPreIPOCompany[] | undefined;
945
+ pagination?: Pagination | undefined;
946
+ }
779
947
  export declare class Citation implements ICitation {
780
948
  /** Type of the citation. */
781
949
  type: string;
@@ -4874,6 +5042,14 @@ export declare enum SortOrder7 {
4874
5042
  Ascending = "Ascending",
4875
5043
  Descending = "Descending"
4876
5044
  }
5045
+ export declare enum Includes {
5046
+ News = "News",
5047
+ Research = "Research",
5048
+ SacraFundingRounds = "SacraFundingRounds",
5049
+ NpmFundingRounds = "NpmFundingRounds",
5050
+ Investments = "Investments",
5051
+ Spvs = "Spvs"
5052
+ }
4877
5053
  export declare enum SortOrder8 {
4878
5054
  Ascending = "Ascending",
4879
5055
  Descending = "Descending"
@@ -4987,13 +5163,30 @@ export declare enum EventType {
4987
5163
  Investor = "Investor",
4988
5164
  Document = "Document",
4989
5165
  InvestorSubscriptionAction = "InvestorSubscriptionAction",
4990
- SubscriptionStatus = "SubscriptionStatus"
5166
+ SubscriptionStatus = "SubscriptionStatus",
5167
+ RegisteredFundSubscriptionStatus = "RegisteredFundSubscriptionStatus"
4991
5168
  }
4992
5169
  export declare enum DeliveryStatus {
4993
5170
  Pending = "Pending",
4994
5171
  Delivered = "Delivered",
4995
5172
  Failed = "Failed"
4996
5173
  }
5174
+ export declare enum BulkPreIPOCompanyType {
5175
+ SOLE_PROPRIETOR = "SOLE_PROPRIETOR",
5176
+ SINGLE_MEMBER_LLC = "SINGLE_MEMBER_LLC",
5177
+ LLC = "LLC",
5178
+ PARTNERSHIP = "PARTNERSHIP",
5179
+ C_CORPORATION = "C_CORPORATION",
5180
+ S_CORPORATION = "S_CORPORATION",
5181
+ TRUST = "TRUST",
5182
+ IRA_OR_TAX_EXEMPT = "IRA_OR_TAX_EXEMPT",
5183
+ NON_US_CORPORATION = "NON_US_CORPORATION",
5184
+ PRIVATE_LIMITED_COMPANY = "PRIVATE_LIMITED_COMPANY",
5185
+ PUBLIC_LIMITED_COMPANY = "PUBLIC_LIMITED_COMPANY",
5186
+ TAX_EXEMPT_ENTITY = "TAX_EXEMPT_ENTITY",
5187
+ FOREIGN_TRUST = "FOREIGN_TRUST",
5188
+ OTHER = "OTHER"
5189
+ }
4997
5190
  export declare enum CreateInvestorType {
4998
5191
  IndividualInvestor = "IndividualInvestor",
4999
5192
  EntityInvestor = "EntityInvestor"
@@ -5186,7 +5379,9 @@ export declare enum InvestorSubscriptionActionType {
5186
5379
  }
5187
5380
  export declare enum InvestorSubscriptionActionResponsibleParty {
5188
5381
  Partner = "Partner",
5189
- Monark = "Monark"
5382
+ Monark = "Monark",
5383
+ Investor = "Investor",
5384
+ Advisor = "Advisor"
5190
5385
  }
5191
5386
  export declare enum LayeredSPVFundStructure {
5192
5387
  ThreeCOne = "ThreeCOne",
@@ -5442,7 +5637,8 @@ export declare enum WebhookEventEventType {
5442
5637
  Investor = "Investor",
5443
5638
  Document = "Document",
5444
5639
  InvestorSubscriptionAction = "InvestorSubscriptionAction",
5445
- SubscriptionStatus = "SubscriptionStatus"
5640
+ SubscriptionStatus = "SubscriptionStatus",
5641
+ RegisteredFundSubscriptionStatus = "RegisteredFundSubscriptionStatus"
5446
5642
  }
5447
5643
  export interface FileResponse {
5448
5644
  data: Blob;
package/dist/Client.js CHANGED
@@ -3306,6 +3306,59 @@ export class Client {
3306
3306
  }
3307
3307
  return Promise.resolve(null);
3308
3308
  }
3309
+ /**
3310
+ * @param includes (optional)
3311
+ * @param page (optional)
3312
+ * @param pageSize (optional)
3313
+ * @return OK
3314
+ */
3315
+ detailed(includes, page, pageSize) {
3316
+ let url_ = this.baseUrl + "/primary/v1/pre-ipo-company/detailed?";
3317
+ if (includes === null)
3318
+ throw new Error("The parameter 'includes' cannot be null.");
3319
+ else if (includes !== undefined)
3320
+ includes && includes.forEach(item => { url_ += "includes=" + encodeURIComponent("" + item) + "&"; });
3321
+ if (page === null)
3322
+ throw new Error("The parameter 'page' cannot be null.");
3323
+ else if (page !== undefined)
3324
+ url_ += "page=" + encodeURIComponent("" + page) + "&";
3325
+ if (pageSize === null)
3326
+ throw new Error("The parameter 'pageSize' cannot be null.");
3327
+ else if (pageSize !== undefined)
3328
+ url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
3329
+ url_ = url_.replace(/[?&]$/, "");
3330
+ let options_ = {
3331
+ method: "GET",
3332
+ headers: {
3333
+ "Accept": "application/json"
3334
+ }
3335
+ };
3336
+ return this.http.fetch(url_, options_).then((_response) => {
3337
+ return this.processDetailed(_response);
3338
+ });
3339
+ }
3340
+ processDetailed(response) {
3341
+ const status = response.status;
3342
+ let _headers = {};
3343
+ if (response.headers && response.headers.forEach) {
3344
+ response.headers.forEach((v, k) => _headers[k] = v);
3345
+ }
3346
+ ;
3347
+ if (status === 200) {
3348
+ return response.text().then((_responseText) => {
3349
+ let result200 = null;
3350
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
3351
+ result200 = BulkPreIPOCompanyApiResponse.fromJS(resultData200);
3352
+ return result200;
3353
+ });
3354
+ }
3355
+ else if (status !== 200 && status !== 204) {
3356
+ return response.text().then((_responseText) => {
3357
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
3358
+ });
3359
+ }
3360
+ return Promise.resolve(null);
3361
+ }
3309
3362
  /**
3310
3363
  * Get the PreIPOCompanyFundingRound by the specified Id.
3311
3364
  * @param id ID of the PreIPOCompanyFundingRound to find.
@@ -5448,6 +5501,214 @@ export class ApiVersion {
5448
5501
  return data;
5449
5502
  }
5450
5503
  }
5504
+ export class BulkPreIPOCompany {
5505
+ constructor(data) {
5506
+ if (data) {
5507
+ for (var property in data) {
5508
+ if (data.hasOwnProperty(property))
5509
+ this[property] = data[property];
5510
+ }
5511
+ }
5512
+ }
5513
+ init(_data) {
5514
+ if (_data) {
5515
+ this.id = _data["id"];
5516
+ this.name = _data["name"];
5517
+ this.domain = _data["domain"];
5518
+ this.linkedIn = _data["linkedIn"];
5519
+ this.x = _data["x"];
5520
+ this.facebook = _data["facebook"];
5521
+ this.country = _data["country"];
5522
+ this.address = _data["address"];
5523
+ this.type = _data["type"];
5524
+ this.yearEst = _data["yearEst"] ? new Date(_data["yearEst"].toString()) : undefined;
5525
+ this.numJobs = _data["numJobs"];
5526
+ this.description = _data["description"];
5527
+ this.founder = _data["founder"];
5528
+ this.logoURL = _data["logoURL"];
5529
+ this.totalFunding = _data["totalFunding"];
5530
+ this.lastFundingSeries = _data["lastFundingSeries"];
5531
+ this.lastFundingTotal = _data["lastFundingTotal"];
5532
+ this.totalFundingRounds = _data["totalFundingRounds"];
5533
+ this.lastFundingDate = _data["lastFundingDate"] ? new Date(_data["lastFundingDate"].toString()) : undefined;
5534
+ this.lastFundingType = _data["lastFundingType"];
5535
+ this.numInvestors = _data["numInvestors"];
5536
+ this.twelveMonthTrailingRevenue = _data["twelveMonthTrailingRevenue"];
5537
+ this.lastValuation = _data["lastValuation"];
5538
+ this.lastSharePrice = _data["lastSharePrice"];
5539
+ this.numCustomers = _data["numCustomers"];
5540
+ if (Array.isArray(_data["executiveTeam"])) {
5541
+ this.executiveTeam = [];
5542
+ for (let item of _data["executiveTeam"])
5543
+ this.executiveTeam.push(item);
5544
+ }
5545
+ this.numSharesOutstanding = _data["numSharesOutstanding"];
5546
+ if (Array.isArray(_data["notableInvestorsLogos"])) {
5547
+ this.notableInvestorsLogos = [];
5548
+ for (let item of _data["notableInvestorsLogos"])
5549
+ this.notableInvestorsLogos.push(item);
5550
+ }
5551
+ if (Array.isArray(_data["categories"])) {
5552
+ this.categories = [];
5553
+ for (let item of _data["categories"])
5554
+ this.categories.push(item);
5555
+ }
5556
+ this.referencePrice = _data["referencePrice"];
5557
+ this.referencePriceDate = _data["referencePriceDate"] ? new Date(_data["referencePriceDate"].toString()) : undefined;
5558
+ this.symbol = _data["symbol"];
5559
+ if (Array.isArray(_data["news"])) {
5560
+ this.news = [];
5561
+ for (let item of _data["news"])
5562
+ this.news.push(PreIPOCompanyNews.fromJS(item));
5563
+ }
5564
+ if (Array.isArray(_data["research"])) {
5565
+ this.research = [];
5566
+ for (let item of _data["research"])
5567
+ this.research.push(PreIPOCompanyResearch.fromJS(item));
5568
+ }
5569
+ if (Array.isArray(_data["fundingRounds"])) {
5570
+ this.fundingRounds = [];
5571
+ for (let item of _data["fundingRounds"])
5572
+ this.fundingRounds.push(PreIPOCompanyFundingRound.fromJS(item));
5573
+ }
5574
+ if (Array.isArray(_data["npmFundingRounds"])) {
5575
+ this.npmFundingRounds = [];
5576
+ for (let item of _data["npmFundingRounds"])
5577
+ this.npmFundingRounds.push(NpmFundingRound.fromJS(item));
5578
+ }
5579
+ if (Array.isArray(_data["investments"])) {
5580
+ this.investments = [];
5581
+ for (let item of _data["investments"])
5582
+ this.investments.push(PreIPOCompanyInvestment.fromJS(item));
5583
+ }
5584
+ if (Array.isArray(_data["spvs"])) {
5585
+ this.spvs = [];
5586
+ for (let item of _data["spvs"])
5587
+ this.spvs.push(PreIPOCompanySPV.fromJS(item));
5588
+ }
5589
+ }
5590
+ }
5591
+ static fromJS(data) {
5592
+ data = typeof data === 'object' ? data : {};
5593
+ let result = new BulkPreIPOCompany();
5594
+ result.init(data);
5595
+ return result;
5596
+ }
5597
+ toJSON(data) {
5598
+ data = typeof data === 'object' ? data : {};
5599
+ data["id"] = this.id;
5600
+ data["name"] = this.name;
5601
+ data["domain"] = this.domain;
5602
+ data["linkedIn"] = this.linkedIn;
5603
+ data["x"] = this.x;
5604
+ data["facebook"] = this.facebook;
5605
+ data["country"] = this.country;
5606
+ data["address"] = this.address;
5607
+ data["type"] = this.type;
5608
+ data["yearEst"] = this.yearEst ? formatDate(this.yearEst) : undefined;
5609
+ data["numJobs"] = this.numJobs;
5610
+ data["description"] = this.description;
5611
+ data["founder"] = this.founder;
5612
+ data["logoURL"] = this.logoURL;
5613
+ data["totalFunding"] = this.totalFunding;
5614
+ data["lastFundingSeries"] = this.lastFundingSeries;
5615
+ data["lastFundingTotal"] = this.lastFundingTotal;
5616
+ data["totalFundingRounds"] = this.totalFundingRounds;
5617
+ data["lastFundingDate"] = this.lastFundingDate ? formatDate(this.lastFundingDate) : undefined;
5618
+ data["lastFundingType"] = this.lastFundingType;
5619
+ data["numInvestors"] = this.numInvestors;
5620
+ data["twelveMonthTrailingRevenue"] = this.twelveMonthTrailingRevenue;
5621
+ data["lastValuation"] = this.lastValuation;
5622
+ data["lastSharePrice"] = this.lastSharePrice;
5623
+ data["numCustomers"] = this.numCustomers;
5624
+ if (Array.isArray(this.executiveTeam)) {
5625
+ data["executiveTeam"] = [];
5626
+ for (let item of this.executiveTeam)
5627
+ data["executiveTeam"].push(item);
5628
+ }
5629
+ data["numSharesOutstanding"] = this.numSharesOutstanding;
5630
+ if (Array.isArray(this.notableInvestorsLogos)) {
5631
+ data["notableInvestorsLogos"] = [];
5632
+ for (let item of this.notableInvestorsLogos)
5633
+ data["notableInvestorsLogos"].push(item);
5634
+ }
5635
+ if (Array.isArray(this.categories)) {
5636
+ data["categories"] = [];
5637
+ for (let item of this.categories)
5638
+ data["categories"].push(item);
5639
+ }
5640
+ data["referencePrice"] = this.referencePrice;
5641
+ data["referencePriceDate"] = this.referencePriceDate ? this.referencePriceDate.toISOString() : undefined;
5642
+ data["symbol"] = this.symbol;
5643
+ if (Array.isArray(this.news)) {
5644
+ data["news"] = [];
5645
+ for (let item of this.news)
5646
+ data["news"].push(item.toJSON());
5647
+ }
5648
+ if (Array.isArray(this.research)) {
5649
+ data["research"] = [];
5650
+ for (let item of this.research)
5651
+ data["research"].push(item.toJSON());
5652
+ }
5653
+ if (Array.isArray(this.fundingRounds)) {
5654
+ data["fundingRounds"] = [];
5655
+ for (let item of this.fundingRounds)
5656
+ data["fundingRounds"].push(item.toJSON());
5657
+ }
5658
+ if (Array.isArray(this.npmFundingRounds)) {
5659
+ data["npmFundingRounds"] = [];
5660
+ for (let item of this.npmFundingRounds)
5661
+ data["npmFundingRounds"].push(item.toJSON());
5662
+ }
5663
+ if (Array.isArray(this.investments)) {
5664
+ data["investments"] = [];
5665
+ for (let item of this.investments)
5666
+ data["investments"].push(item.toJSON());
5667
+ }
5668
+ if (Array.isArray(this.spvs)) {
5669
+ data["spvs"] = [];
5670
+ for (let item of this.spvs)
5671
+ data["spvs"].push(item.toJSON());
5672
+ }
5673
+ return data;
5674
+ }
5675
+ }
5676
+ export class BulkPreIPOCompanyApiResponse {
5677
+ constructor(data) {
5678
+ if (data) {
5679
+ for (var property in data) {
5680
+ if (data.hasOwnProperty(property))
5681
+ this[property] = data[property];
5682
+ }
5683
+ }
5684
+ }
5685
+ init(_data) {
5686
+ if (_data) {
5687
+ if (Array.isArray(_data["items"])) {
5688
+ this.items = [];
5689
+ for (let item of _data["items"])
5690
+ this.items.push(BulkPreIPOCompany.fromJS(item));
5691
+ }
5692
+ this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
5693
+ }
5694
+ }
5695
+ static fromJS(data) {
5696
+ data = typeof data === 'object' ? data : {};
5697
+ let result = new BulkPreIPOCompanyApiResponse();
5698
+ result.init(data);
5699
+ return result;
5700
+ }
5701
+ toJSON(data) {
5702
+ data = typeof data === 'object' ? data : {};
5703
+ if (Array.isArray(this.items)) {
5704
+ data["items"] = [];
5705
+ for (let item of this.items)
5706
+ data["items"].push(item.toJSON());
5707
+ }
5708
+ data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
5709
+ return data;
5710
+ }
5711
+ }
5451
5712
  export class Citation {
5452
5713
  constructor(data) {
5453
5714
  if (data) {
@@ -9789,6 +10050,15 @@ export var SortOrder7;
9789
10050
  SortOrder7["Ascending"] = "Ascending";
9790
10051
  SortOrder7["Descending"] = "Descending";
9791
10052
  })(SortOrder7 || (SortOrder7 = {}));
10053
+ export var Includes;
10054
+ (function (Includes) {
10055
+ Includes["News"] = "News";
10056
+ Includes["Research"] = "Research";
10057
+ Includes["SacraFundingRounds"] = "SacraFundingRounds";
10058
+ Includes["NpmFundingRounds"] = "NpmFundingRounds";
10059
+ Includes["Investments"] = "Investments";
10060
+ Includes["Spvs"] = "Spvs";
10061
+ })(Includes || (Includes = {}));
9792
10062
  export var SortOrder8;
9793
10063
  (function (SortOrder8) {
9794
10064
  SortOrder8["Ascending"] = "Ascending";
@@ -9920,6 +10190,7 @@ export var EventType;
9920
10190
  EventType["Document"] = "Document";
9921
10191
  EventType["InvestorSubscriptionAction"] = "InvestorSubscriptionAction";
9922
10192
  EventType["SubscriptionStatus"] = "SubscriptionStatus";
10193
+ EventType["RegisteredFundSubscriptionStatus"] = "RegisteredFundSubscriptionStatus";
9923
10194
  })(EventType || (EventType = {}));
9924
10195
  export var DeliveryStatus;
9925
10196
  (function (DeliveryStatus) {
@@ -9927,6 +10198,23 @@ export var DeliveryStatus;
9927
10198
  DeliveryStatus["Delivered"] = "Delivered";
9928
10199
  DeliveryStatus["Failed"] = "Failed";
9929
10200
  })(DeliveryStatus || (DeliveryStatus = {}));
10201
+ export var BulkPreIPOCompanyType;
10202
+ (function (BulkPreIPOCompanyType) {
10203
+ BulkPreIPOCompanyType["SOLE_PROPRIETOR"] = "SOLE_PROPRIETOR";
10204
+ BulkPreIPOCompanyType["SINGLE_MEMBER_LLC"] = "SINGLE_MEMBER_LLC";
10205
+ BulkPreIPOCompanyType["LLC"] = "LLC";
10206
+ BulkPreIPOCompanyType["PARTNERSHIP"] = "PARTNERSHIP";
10207
+ BulkPreIPOCompanyType["C_CORPORATION"] = "C_CORPORATION";
10208
+ BulkPreIPOCompanyType["S_CORPORATION"] = "S_CORPORATION";
10209
+ BulkPreIPOCompanyType["TRUST"] = "TRUST";
10210
+ BulkPreIPOCompanyType["IRA_OR_TAX_EXEMPT"] = "IRA_OR_TAX_EXEMPT";
10211
+ BulkPreIPOCompanyType["NON_US_CORPORATION"] = "NON_US_CORPORATION";
10212
+ BulkPreIPOCompanyType["PRIVATE_LIMITED_COMPANY"] = "PRIVATE_LIMITED_COMPANY";
10213
+ BulkPreIPOCompanyType["PUBLIC_LIMITED_COMPANY"] = "PUBLIC_LIMITED_COMPANY";
10214
+ BulkPreIPOCompanyType["TAX_EXEMPT_ENTITY"] = "TAX_EXEMPT_ENTITY";
10215
+ BulkPreIPOCompanyType["FOREIGN_TRUST"] = "FOREIGN_TRUST";
10216
+ BulkPreIPOCompanyType["OTHER"] = "OTHER";
10217
+ })(BulkPreIPOCompanyType || (BulkPreIPOCompanyType = {}));
9930
10218
  export var CreateInvestorType;
9931
10219
  (function (CreateInvestorType) {
9932
10220
  CreateInvestorType["IndividualInvestor"] = "IndividualInvestor";
@@ -10142,6 +10430,8 @@ export var InvestorSubscriptionActionResponsibleParty;
10142
10430
  (function (InvestorSubscriptionActionResponsibleParty) {
10143
10431
  InvestorSubscriptionActionResponsibleParty["Partner"] = "Partner";
10144
10432
  InvestorSubscriptionActionResponsibleParty["Monark"] = "Monark";
10433
+ InvestorSubscriptionActionResponsibleParty["Investor"] = "Investor";
10434
+ InvestorSubscriptionActionResponsibleParty["Advisor"] = "Advisor";
10145
10435
  })(InvestorSubscriptionActionResponsibleParty || (InvestorSubscriptionActionResponsibleParty = {}));
10146
10436
  export var LayeredSPVFundStructure;
10147
10437
  (function (LayeredSPVFundStructure) {
@@ -10429,6 +10719,7 @@ export var WebhookEventEventType;
10429
10719
  WebhookEventEventType["Document"] = "Document";
10430
10720
  WebhookEventEventType["InvestorSubscriptionAction"] = "InvestorSubscriptionAction";
10431
10721
  WebhookEventEventType["SubscriptionStatus"] = "SubscriptionStatus";
10722
+ WebhookEventEventType["RegisteredFundSubscriptionStatus"] = "RegisteredFundSubscriptionStatus";
10432
10723
  })(WebhookEventEventType || (WebhookEventEventType = {}));
10433
10724
  function formatDate(d) {
10434
10725
  return d.getFullYear() + '-' +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monarkmarkets/api-client",
3
- "version": "1.1.109",
3
+ "version": "1.1.111",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",