@monarkmarkets/api-client 1.3.1 → 1.3.3

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.
Files changed (3) hide show
  1. package/dist/Client.d.ts +564 -4
  2. package/dist/Client.js +2110 -1012
  3. package/package.json +1 -1
package/dist/Client.js CHANGED
@@ -6565,11 +6565,19 @@ export class Client {
6565
6565
  return Promise.resolve(null);
6566
6566
  }
6567
6567
  /**
6568
- * Get the API version
6569
- * @return Returns the API version
6568
+ * Gets a SecondaryLink Evergreen Fund by ID.
6569
+ * @param id The Evergreen Fund ID.
6570
+ * @param financialInstitutionId The financial institution ID.
6571
+ * @return Returns the EvergreenFund with the specified Id.
6570
6572
  */
6571
- getVersion() {
6572
- let url_ = this.baseUrl + "/primary/v1/version";
6573
+ getSecondaryLinkEvergreenFundById(id, financialInstitutionId) {
6574
+ let url_ = this.baseUrl + "/primary/v1/secondarylink/evergreen-funds/{id}/financial-institution/{financialInstitutionId}";
6575
+ if (id === undefined || id === null)
6576
+ throw new Error("The parameter 'id' must be defined.");
6577
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
6578
+ if (financialInstitutionId === undefined || financialInstitutionId === null)
6579
+ throw new Error("The parameter 'financialInstitutionId' must be defined.");
6580
+ url_ = url_.replace("{financialInstitutionId}", encodeURIComponent("" + financialInstitutionId));
6573
6581
  url_ = url_.replace(/[?&]$/, "");
6574
6582
  let options_ = {
6575
6583
  method: "GET",
@@ -6578,10 +6586,10 @@ export class Client {
6578
6586
  }
6579
6587
  };
6580
6588
  return this.http.fetch(url_, options_).then((_response) => {
6581
- return this.processGetVersion(_response);
6589
+ return this.processGetSecondaryLinkEvergreenFundById(_response);
6582
6590
  });
6583
6591
  }
6584
- processGetVersion(response) {
6592
+ processGetSecondaryLinkEvergreenFundById(response) {
6585
6593
  const status = response.status;
6586
6594
  let _headers = {};
6587
6595
  if (response.headers && response.headers.forEach) {
@@ -6592,59 +6600,24 @@ export class Client {
6592
6600
  return response.text().then((_responseText) => {
6593
6601
  let result200 = null;
6594
6602
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6595
- result200 = ApiVersion.fromJS(resultData200);
6603
+ result200 = EvergreenFund.fromJS(resultData200);
6596
6604
  return result200;
6597
6605
  });
6598
6606
  }
6599
- else if (status !== 200 && status !== 204) {
6600
- return response.text().then((_responseText) => {
6601
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
6602
- });
6603
- }
6604
- return Promise.resolve(null);
6605
- }
6606
- /**
6607
- * Create a Webhook
6608
- * @param body (optional) Create Webhook information.
6609
- * @return The newly created Webhook.
6610
- */
6611
- createWebhook(body) {
6612
- let url_ = this.baseUrl + "/primary/v1/webhook";
6613
- url_ = url_.replace(/[?&]$/, "");
6614
- const content_ = JSON.stringify(body);
6615
- let options_ = {
6616
- body: content_,
6617
- method: "POST",
6618
- headers: {
6619
- "Content-Type": "application/json",
6620
- "Accept": "application/json"
6621
- }
6622
- };
6623
- return this.http.fetch(url_, options_).then((_response) => {
6624
- return this.processCreateWebhook(_response);
6625
- });
6626
- }
6627
- processCreateWebhook(response) {
6628
- const status = response.status;
6629
- let _headers = {};
6630
- if (response.headers && response.headers.forEach) {
6631
- response.headers.forEach((v, k) => _headers[k] = v);
6632
- }
6633
- ;
6634
- if (status === 201) {
6607
+ else if (status === 404) {
6635
6608
  return response.text().then((_responseText) => {
6636
- let result201 = null;
6637
- let resultData201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6638
- result201 = Webhook.fromJS(resultData201);
6639
- return result201;
6609
+ let result404 = null;
6610
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6611
+ result404 = ProblemDetails.fromJS(resultData404);
6612
+ return throwException("EvergreenFund not found.", status, _responseText, _headers, result404);
6640
6613
  });
6641
6614
  }
6642
- else if (status === 400) {
6615
+ else if (status === 403) {
6643
6616
  return response.text().then((_responseText) => {
6644
- let result400 = null;
6645
- let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6646
- result400 = ProblemDetails.fromJS(resultData400);
6647
- return throwException("Bad request if required fields are missing.", status, _responseText, _headers, result400);
6617
+ let result403 = null;
6618
+ let resultData403 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6619
+ result403 = ProblemDetails.fromJS(resultData403);
6620
+ return throwException("Access denied.", status, _responseText, _headers, result403);
6648
6621
  });
6649
6622
  }
6650
6623
  else if (status !== 200 && status !== 204) {
@@ -6655,16 +6628,21 @@ export class Client {
6655
6628
  return Promise.resolve(null);
6656
6629
  }
6657
6630
  /**
6658
- * Get all Webhooks
6631
+ * Gets all SecondaryLink Evergreen Funds with optional filtering and pagination.
6632
+ * @param financialInstitutionId The financial institution ID.
6659
6633
  * @param page (optional) Number of the page to retrieve.
6660
6634
  Defaults to 1 if not specified.
6661
6635
  * @param pageSize (optional) Size of the page to retrieve.
6662
6636
  Defaults to 25 if not specified.
6663
- * @param sortOrder (optional) Order of which to sort the webhooks by. Default is Descending
6664
- * @return Returns a list of Webhooks.
6637
+ * @param searchTerm (optional) Optional search term to filter by fund name or manager.
6638
+ * @param sortOrder (optional) Sort order (Ascending or Descending). Defaults to Descending.
6639
+ * @return Returns the list of EvergreenFund.
6665
6640
  */
6666
- getAllWebhooks(page, pageSize, sortOrder) {
6667
- let url_ = this.baseUrl + "/primary/v1/webhook?";
6641
+ getAllSecondaryLinkEvergreenFunds(financialInstitutionId, page, pageSize, searchTerm, sortOrder) {
6642
+ let url_ = this.baseUrl + "/primary/v1/secondarylink/evergreen-funds/financial-institution/{financialInstitutionId}?";
6643
+ if (financialInstitutionId === undefined || financialInstitutionId === null)
6644
+ throw new Error("The parameter 'financialInstitutionId' must be defined.");
6645
+ url_ = url_.replace("{financialInstitutionId}", encodeURIComponent("" + financialInstitutionId));
6668
6646
  if (page === null)
6669
6647
  throw new Error("The parameter 'page' cannot be null.");
6670
6648
  else if (page !== undefined)
@@ -6673,6 +6651,10 @@ export class Client {
6673
6651
  throw new Error("The parameter 'pageSize' cannot be null.");
6674
6652
  else if (pageSize !== undefined)
6675
6653
  url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
6654
+ if (searchTerm === null)
6655
+ throw new Error("The parameter 'searchTerm' cannot be null.");
6656
+ else if (searchTerm !== undefined)
6657
+ url_ += "searchTerm=" + encodeURIComponent("" + searchTerm) + "&";
6676
6658
  if (sortOrder === null)
6677
6659
  throw new Error("The parameter 'sortOrder' cannot be null.");
6678
6660
  else if (sortOrder !== undefined)
@@ -6685,10 +6667,10 @@ export class Client {
6685
6667
  }
6686
6668
  };
6687
6669
  return this.http.fetch(url_, options_).then((_response) => {
6688
- return this.processGetAllWebhooks(_response);
6670
+ return this.processGetAllSecondaryLinkEvergreenFunds(_response);
6689
6671
  });
6690
6672
  }
6691
- processGetAllWebhooks(response) {
6673
+ processGetAllSecondaryLinkEvergreenFunds(response) {
6692
6674
  const status = response.status;
6693
6675
  let _headers = {};
6694
6676
  if (response.headers && response.headers.forEach) {
@@ -6699,21 +6681,16 @@ export class Client {
6699
6681
  return response.text().then((_responseText) => {
6700
6682
  let result200 = null;
6701
6683
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6702
- result200 = WebhookApiResponse.fromJS(resultData200);
6684
+ result200 = EvergreenFundApiResponse.fromJS(resultData200);
6703
6685
  return result200;
6704
6686
  });
6705
6687
  }
6706
- else if (status === 404) {
6707
- return response.text().then((_responseText) => {
6708
- let result404 = null;
6709
- let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6710
- result404 = ProblemDetails.fromJS(resultData404);
6711
- return throwException("Not Found", status, _responseText, _headers, result404);
6712
- });
6713
- }
6714
- else if (status === 400) {
6688
+ else if (status === 403) {
6715
6689
  return response.text().then((_responseText) => {
6716
- return throwException("An error occured.", status, _responseText, _headers);
6690
+ let result403 = null;
6691
+ let resultData403 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6692
+ result403 = ProblemDetails.fromJS(resultData403);
6693
+ return throwException("Access denied.", status, _responseText, _headers, result403);
6717
6694
  });
6718
6695
  }
6719
6696
  else if (status !== 200 && status !== 204) {
@@ -6724,51 +6701,59 @@ export class Client {
6724
6701
  return Promise.resolve(null);
6725
6702
  }
6726
6703
  /**
6727
- * Update a Webhook’s Information
6728
- * @param body (optional) Update Webhook Request.
6729
- * @return The Updated Webhook.
6704
+ * Gets a SecondaryLink Evergreen News record by ID.
6705
+ * @param id The Evergreen News ID.
6706
+ * @param financialInstitutionId The financial institution ID.
6707
+ * @return Returns the EvergreenNews with the specified Id.
6730
6708
  */
6731
- updateWebhook(body) {
6732
- let url_ = this.baseUrl + "/primary/v1/webhook";
6709
+ getSecondaryLinkEvergreenNewsById(id, financialInstitutionId) {
6710
+ let url_ = this.baseUrl + "/primary/v1/secondarylink/evergreen-news/{id}/financial-institution/{financialInstitutionId}";
6711
+ if (id === undefined || id === null)
6712
+ throw new Error("The parameter 'id' must be defined.");
6713
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
6714
+ if (financialInstitutionId === undefined || financialInstitutionId === null)
6715
+ throw new Error("The parameter 'financialInstitutionId' must be defined.");
6716
+ url_ = url_.replace("{financialInstitutionId}", encodeURIComponent("" + financialInstitutionId));
6733
6717
  url_ = url_.replace(/[?&]$/, "");
6734
- const content_ = JSON.stringify(body);
6735
6718
  let options_ = {
6736
- body: content_,
6737
- method: "PUT",
6719
+ method: "GET",
6738
6720
  headers: {
6739
- "Content-Type": "application/json",
6721
+ "Accept": "application/json"
6740
6722
  }
6741
6723
  };
6742
6724
  return this.http.fetch(url_, options_).then((_response) => {
6743
- return this.processUpdateWebhook(_response);
6725
+ return this.processGetSecondaryLinkEvergreenNewsById(_response);
6744
6726
  });
6745
6727
  }
6746
- processUpdateWebhook(response) {
6728
+ processGetSecondaryLinkEvergreenNewsById(response) {
6747
6729
  const status = response.status;
6748
6730
  let _headers = {};
6749
6731
  if (response.headers && response.headers.forEach) {
6750
6732
  response.headers.forEach((v, k) => _headers[k] = v);
6751
6733
  }
6752
6734
  ;
6753
- if (status === 201) {
6735
+ if (status === 200) {
6754
6736
  return response.text().then((_responseText) => {
6755
- let result201 = null;
6756
- let resultData201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6757
- result201 = Webhook.fromJS(resultData201);
6758
- return throwException("Created", status, _responseText, _headers, result201);
6737
+ let result200 = null;
6738
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6739
+ result200 = EvergreenNews.fromJS(resultData200);
6740
+ return result200;
6759
6741
  });
6760
6742
  }
6761
- else if (status === 400) {
6743
+ else if (status === 404) {
6762
6744
  return response.text().then((_responseText) => {
6763
- let result400 = null;
6764
- let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6765
- result400 = ProblemDetails.fromJS(resultData400);
6766
- return throwException("Bad request if required fields are missing.", status, _responseText, _headers, result400);
6745
+ let result404 = null;
6746
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6747
+ result404 = ProblemDetails.fromJS(resultData404);
6748
+ return throwException("EvergreenNews not found.", status, _responseText, _headers, result404);
6767
6749
  });
6768
6750
  }
6769
- else if (status === 200) {
6751
+ else if (status === 403) {
6770
6752
  return response.text().then((_responseText) => {
6771
- return;
6753
+ let result403 = null;
6754
+ let resultData403 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6755
+ result403 = ProblemDetails.fromJS(resultData403);
6756
+ return throwException("Access denied.", status, _responseText, _headers, result403);
6772
6757
  });
6773
6758
  }
6774
6759
  else if (status !== 200 && status !== 204) {
@@ -6779,15 +6764,37 @@ export class Client {
6779
6764
  return Promise.resolve(null);
6780
6765
  }
6781
6766
  /**
6782
- * Get a Webhook
6783
- * @param id Id of the webhook to get.
6784
- * @return Returns the Webhook with the specified Id.
6767
+ * Gets all SecondaryLink Evergreen News with optional filtering and pagination.
6768
+ * @param financialInstitutionId The financial institution ID.
6769
+ * @param page (optional) Number of the page to retrieve.
6770
+ Defaults to 1 if not specified.
6771
+ * @param pageSize (optional) Size of the page to retrieve.
6772
+ Defaults to 25 if not specified.
6773
+ * @param searchTerm (optional) Optional search term to filter by fund name or title.
6774
+ * @param sortOrder (optional) Sort order (Ascending or Descending). Defaults to Descending.
6775
+ * @return Returns the list of EvergreenNews.
6785
6776
  */
6786
- getWebhookById(id) {
6787
- let url_ = this.baseUrl + "/primary/v1/webhook/{id}";
6788
- if (id === undefined || id === null)
6789
- throw new Error("The parameter 'id' must be defined.");
6790
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
6777
+ getAllSecondaryLinkEvergreenNews(financialInstitutionId, page, pageSize, searchTerm, sortOrder) {
6778
+ let url_ = this.baseUrl + "/primary/v1/secondarylink/evergreen-news/financial-institution/{financialInstitutionId}?";
6779
+ if (financialInstitutionId === undefined || financialInstitutionId === null)
6780
+ throw new Error("The parameter 'financialInstitutionId' must be defined.");
6781
+ url_ = url_.replace("{financialInstitutionId}", encodeURIComponent("" + financialInstitutionId));
6782
+ if (page === null)
6783
+ throw new Error("The parameter 'page' cannot be null.");
6784
+ else if (page !== undefined)
6785
+ url_ += "page=" + encodeURIComponent("" + page) + "&";
6786
+ if (pageSize === null)
6787
+ throw new Error("The parameter 'pageSize' cannot be null.");
6788
+ else if (pageSize !== undefined)
6789
+ url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
6790
+ if (searchTerm === null)
6791
+ throw new Error("The parameter 'searchTerm' cannot be null.");
6792
+ else if (searchTerm !== undefined)
6793
+ url_ += "searchTerm=" + encodeURIComponent("" + searchTerm) + "&";
6794
+ if (sortOrder === null)
6795
+ throw new Error("The parameter 'sortOrder' cannot be null.");
6796
+ else if (sortOrder !== undefined)
6797
+ url_ += "sortOrder=" + encodeURIComponent("" + sortOrder) + "&";
6791
6798
  url_ = url_.replace(/[?&]$/, "");
6792
6799
  let options_ = {
6793
6800
  method: "GET",
@@ -6796,10 +6803,10 @@ export class Client {
6796
6803
  }
6797
6804
  };
6798
6805
  return this.http.fetch(url_, options_).then((_response) => {
6799
- return this.processGetWebhookById(_response);
6806
+ return this.processGetAllSecondaryLinkEvergreenNews(_response);
6800
6807
  });
6801
6808
  }
6802
- processGetWebhookById(response) {
6809
+ processGetAllSecondaryLinkEvergreenNews(response) {
6803
6810
  const status = response.status;
6804
6811
  let _headers = {};
6805
6812
  if (response.headers && response.headers.forEach) {
@@ -6810,16 +6817,16 @@ export class Client {
6810
6817
  return response.text().then((_responseText) => {
6811
6818
  let result200 = null;
6812
6819
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6813
- result200 = Webhook.fromJS(resultData200);
6820
+ result200 = EvergreenNewsApiResponse.fromJS(resultData200);
6814
6821
  return result200;
6815
6822
  });
6816
6823
  }
6817
- else if (status === 404) {
6824
+ else if (status === 403) {
6818
6825
  return response.text().then((_responseText) => {
6819
- let result404 = null;
6820
- let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6821
- result404 = ProblemDetails.fromJS(resultData404);
6822
- return throwException("Webhook not found.", status, _responseText, _headers, result404);
6826
+ let result403 = null;
6827
+ let resultData403 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6828
+ result403 = ProblemDetails.fromJS(resultData403);
6829
+ return throwException("Access denied.", status, _responseText, _headers, result403);
6823
6830
  });
6824
6831
  }
6825
6832
  else if (status !== 200 && status !== 204) {
@@ -6830,55 +6837,59 @@ export class Client {
6830
6837
  return Promise.resolve(null);
6831
6838
  }
6832
6839
  /**
6833
- * Delete a Webhook
6834
- * @param id The Webhooks ID.
6835
- * @return The Webhook was deleted.
6840
+ * Gets a SecondaryLink Evergreen Returns record by ID.
6841
+ * @param id The Evergreen Returns ID.
6842
+ * @param financialInstitutionId The financial institution ID.
6843
+ * @return Returns the EvergreenReturns with the specified Id.
6836
6844
  */
6837
- deleteWebhook(id) {
6838
- let url_ = this.baseUrl + "/primary/v1/webhook/{id}";
6845
+ getSecondaryLinkEvergreenReturnsById(id, financialInstitutionId) {
6846
+ let url_ = this.baseUrl + "/primary/v1/secondarylink/evergreen-returns/{id}/financial-institution/{financialInstitutionId}";
6839
6847
  if (id === undefined || id === null)
6840
6848
  throw new Error("The parameter 'id' must be defined.");
6841
6849
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
6850
+ if (financialInstitutionId === undefined || financialInstitutionId === null)
6851
+ throw new Error("The parameter 'financialInstitutionId' must be defined.");
6852
+ url_ = url_.replace("{financialInstitutionId}", encodeURIComponent("" + financialInstitutionId));
6842
6853
  url_ = url_.replace(/[?&]$/, "");
6843
6854
  let options_ = {
6844
- method: "DELETE",
6845
- headers: {}
6855
+ method: "GET",
6856
+ headers: {
6857
+ "Accept": "application/json"
6858
+ }
6846
6859
  };
6847
6860
  return this.http.fetch(url_, options_).then((_response) => {
6848
- return this.processDeleteWebhook(_response);
6861
+ return this.processGetSecondaryLinkEvergreenReturnsById(_response);
6849
6862
  });
6850
6863
  }
6851
- processDeleteWebhook(response) {
6864
+ processGetSecondaryLinkEvergreenReturnsById(response) {
6852
6865
  const status = response.status;
6853
6866
  let _headers = {};
6854
6867
  if (response.headers && response.headers.forEach) {
6855
6868
  response.headers.forEach((v, k) => _headers[k] = v);
6856
6869
  }
6857
6870
  ;
6858
- if (status === 204) {
6859
- return response.text().then((_responseText) => {
6860
- let result204 = null;
6861
- let resultData204 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6862
- result204 = Webhook.fromJS(resultData204);
6863
- return throwException("No Content", status, _responseText, _headers, result204);
6864
- });
6865
- }
6866
- else if (status === 400) {
6871
+ if (status === 200) {
6867
6872
  return response.text().then((_responseText) => {
6868
- let result400 = null;
6869
- let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6870
- result400 = ProblemDetails.fromJS(resultData400);
6871
- return throwException("Bad Request", status, _responseText, _headers, result400);
6873
+ let result200 = null;
6874
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6875
+ result200 = EvergreenReturns.fromJS(resultData200);
6876
+ return result200;
6872
6877
  });
6873
6878
  }
6874
- else if (status === 200) {
6879
+ else if (status === 404) {
6875
6880
  return response.text().then((_responseText) => {
6876
- return;
6881
+ let result404 = null;
6882
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6883
+ result404 = ProblemDetails.fromJS(resultData404);
6884
+ return throwException("EvergreenReturns not found.", status, _responseText, _headers, result404);
6877
6885
  });
6878
6886
  }
6879
- else if (status === 404) {
6887
+ else if (status === 403) {
6880
6888
  return response.text().then((_responseText) => {
6881
- return throwException("The Webhook ID was not found..", status, _responseText, _headers);
6889
+ let result403 = null;
6890
+ let resultData403 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6891
+ result403 = ProblemDetails.fromJS(resultData403);
6892
+ return throwException("Access denied.", status, _responseText, _headers, result403);
6882
6893
  });
6883
6894
  }
6884
6895
  else if (status !== 200 && status !== 204) {
@@ -6889,32 +6900,21 @@ export class Client {
6889
6900
  return Promise.resolve(null);
6890
6901
  }
6891
6902
  /**
6892
- * Get all Webhook Events for a specified Webhook
6893
- * @param id The Webhook's ID.
6894
- * @param from Filters events so that only events from this datetime is returned.
6895
- * @param to Filters events so that only events to this datetime is returned.
6903
+ * Gets all SecondaryLink Evergreen Returns with optional filtering and pagination.
6904
+ * @param financialInstitutionId The financial institution ID.
6896
6905
  * @param page (optional) Number of the page to retrieve.
6897
6906
  Defaults to 1 if not specified.
6898
6907
  * @param pageSize (optional) Size of the page to retrieve.
6899
6908
  Defaults to 25 if not specified.
6900
- * @param sortOrder (optional) Order of which to sort the events by. Default is Descending.
6901
- * @param eventType (optional) Optional filter by event type.
6902
- * @param deliveryStatus (optional) Optional filter by delivery status.
6903
- * @return Returns a list of Webhook Events.
6909
+ * @param searchTerm (optional) Optional search term to filter by fund name.
6910
+ * @param sortOrder (optional) Sort order (Ascending or Descending). Defaults to Descending.
6911
+ * @return Returns the list of EvergreenReturns.
6904
6912
  */
6905
- getAllWebhookEvents(id, from, to, page, pageSize, sortOrder, eventType, deliveryStatus) {
6906
- let url_ = this.baseUrl + "/primary/v1/webhook/{id}/events?";
6907
- if (id === undefined || id === null)
6908
- throw new Error("The parameter 'id' must be defined.");
6909
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
6910
- if (from === undefined || from === null)
6911
- throw new Error("The parameter 'from' must be defined and cannot be null.");
6912
- else
6913
- url_ += "from=" + encodeURIComponent(from ? "" + from.toISOString() : "") + "&";
6914
- if (to === undefined || to === null)
6915
- throw new Error("The parameter 'to' must be defined and cannot be null.");
6916
- else
6917
- url_ += "to=" + encodeURIComponent(to ? "" + to.toISOString() : "") + "&";
6913
+ getAllSecondaryLinkEvergreenReturns(financialInstitutionId, page, pageSize, searchTerm, sortOrder) {
6914
+ let url_ = this.baseUrl + "/primary/v1/secondarylink/evergreen-returns/financial-institution/{financialInstitutionId}?";
6915
+ if (financialInstitutionId === undefined || financialInstitutionId === null)
6916
+ throw new Error("The parameter 'financialInstitutionId' must be defined.");
6917
+ url_ = url_.replace("{financialInstitutionId}", encodeURIComponent("" + financialInstitutionId));
6918
6918
  if (page === null)
6919
6919
  throw new Error("The parameter 'page' cannot be null.");
6920
6920
  else if (page !== undefined)
@@ -6923,18 +6923,14 @@ export class Client {
6923
6923
  throw new Error("The parameter 'pageSize' cannot be null.");
6924
6924
  else if (pageSize !== undefined)
6925
6925
  url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
6926
+ if (searchTerm === null)
6927
+ throw new Error("The parameter 'searchTerm' cannot be null.");
6928
+ else if (searchTerm !== undefined)
6929
+ url_ += "searchTerm=" + encodeURIComponent("" + searchTerm) + "&";
6926
6930
  if (sortOrder === null)
6927
6931
  throw new Error("The parameter 'sortOrder' cannot be null.");
6928
6932
  else if (sortOrder !== undefined)
6929
6933
  url_ += "sortOrder=" + encodeURIComponent("" + sortOrder) + "&";
6930
- if (eventType === null)
6931
- throw new Error("The parameter 'eventType' cannot be null.");
6932
- else if (eventType !== undefined)
6933
- url_ += "eventType=" + encodeURIComponent("" + eventType) + "&";
6934
- if (deliveryStatus === null)
6935
- throw new Error("The parameter 'deliveryStatus' cannot be null.");
6936
- else if (deliveryStatus !== undefined)
6937
- url_ += "deliveryStatus=" + encodeURIComponent("" + deliveryStatus) + "&";
6938
6934
  url_ = url_.replace(/[?&]$/, "");
6939
6935
  let options_ = {
6940
6936
  method: "GET",
@@ -6943,10 +6939,10 @@ export class Client {
6943
6939
  }
6944
6940
  };
6945
6941
  return this.http.fetch(url_, options_).then((_response) => {
6946
- return this.processGetAllWebhookEvents(_response);
6942
+ return this.processGetAllSecondaryLinkEvergreenReturns(_response);
6947
6943
  });
6948
6944
  }
6949
- processGetAllWebhookEvents(response) {
6945
+ processGetAllSecondaryLinkEvergreenReturns(response) {
6950
6946
  const status = response.status;
6951
6947
  let _headers = {};
6952
6948
  if (response.headers && response.headers.forEach) {
@@ -6957,7 +6953,62 @@ export class Client {
6957
6953
  return response.text().then((_responseText) => {
6958
6954
  let result200 = null;
6959
6955
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6960
- result200 = WebhookEventApiResponse.fromJS(resultData200);
6956
+ result200 = EvergreenReturnsApiResponse.fromJS(resultData200);
6957
+ return result200;
6958
+ });
6959
+ }
6960
+ else if (status === 403) {
6961
+ return response.text().then((_responseText) => {
6962
+ let result403 = null;
6963
+ let resultData403 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6964
+ result403 = ProblemDetails.fromJS(resultData403);
6965
+ return throwException("Access denied.", status, _responseText, _headers, result403);
6966
+ });
6967
+ }
6968
+ else if (status !== 200 && status !== 204) {
6969
+ return response.text().then((_responseText) => {
6970
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
6971
+ });
6972
+ }
6973
+ return Promise.resolve(null);
6974
+ }
6975
+ /**
6976
+ * Gets a SecondaryLink Evergreen Share Classes record by ID.
6977
+ * @param id The Evergreen Share Classes ID.
6978
+ * @param financialInstitutionId The financial institution ID.
6979
+ * @return Returns the EvergreenShareClasses with the specified Id.
6980
+ */
6981
+ getSecondaryLinkEvergreenShareClassesById(id, financialInstitutionId) {
6982
+ let url_ = this.baseUrl + "/primary/v1/secondarylink/evergreen-share-classes/{id}/financial-institution/{financialInstitutionId}";
6983
+ if (id === undefined || id === null)
6984
+ throw new Error("The parameter 'id' must be defined.");
6985
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
6986
+ if (financialInstitutionId === undefined || financialInstitutionId === null)
6987
+ throw new Error("The parameter 'financialInstitutionId' must be defined.");
6988
+ url_ = url_.replace("{financialInstitutionId}", encodeURIComponent("" + financialInstitutionId));
6989
+ url_ = url_.replace(/[?&]$/, "");
6990
+ let options_ = {
6991
+ method: "GET",
6992
+ headers: {
6993
+ "Accept": "application/json"
6994
+ }
6995
+ };
6996
+ return this.http.fetch(url_, options_).then((_response) => {
6997
+ return this.processGetSecondaryLinkEvergreenShareClassesById(_response);
6998
+ });
6999
+ }
7000
+ processGetSecondaryLinkEvergreenShareClassesById(response) {
7001
+ const status = response.status;
7002
+ let _headers = {};
7003
+ if (response.headers && response.headers.forEach) {
7004
+ response.headers.forEach((v, k) => _headers[k] = v);
7005
+ }
7006
+ ;
7007
+ if (status === 200) {
7008
+ return response.text().then((_responseText) => {
7009
+ let result200 = null;
7010
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7011
+ result200 = EvergreenShareClasses.fromJS(resultData200);
6961
7012
  return result200;
6962
7013
  });
6963
7014
  }
@@ -6966,12 +7017,15 @@ export class Client {
6966
7017
  let result404 = null;
6967
7018
  let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6968
7019
  result404 = ProblemDetails.fromJS(resultData404);
6969
- return throwException("Not Found", status, _responseText, _headers, result404);
7020
+ return throwException("EvergreenShareClasses not found.", status, _responseText, _headers, result404);
6970
7021
  });
6971
7022
  }
6972
- else if (status === 400) {
7023
+ else if (status === 403) {
6973
7024
  return response.text().then((_responseText) => {
6974
- return throwException("An error occured.", status, _responseText, _headers);
7025
+ let result403 = null;
7026
+ let resultData403 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7027
+ result403 = ProblemDetails.fromJS(resultData403);
7028
+ return throwException("Access denied.", status, _responseText, _headers, result403);
6975
7029
  });
6976
7030
  }
6977
7031
  else if (status !== 200 && status !== 204) {
@@ -6981,127 +7035,1111 @@ export class Client {
6981
7035
  }
6982
7036
  return Promise.resolve(null);
6983
7037
  }
6984
- }
6985
- /** Represents the version information of the API */
6986
- export class ApiVersion {
6987
- constructor(data) {
6988
- if (data) {
6989
- for (var property in data) {
6990
- if (data.hasOwnProperty(property))
6991
- this[property] = data[property];
7038
+ /**
7039
+ * Gets all SecondaryLink Evergreen Share Classes with optional filtering and pagination.
7040
+ * @param financialInstitutionId The financial institution ID.
7041
+ * @param page (optional) Number of the page to retrieve.
7042
+ Defaults to 1 if not specified.
7043
+ * @param pageSize (optional) Size of the page to retrieve.
7044
+ Defaults to 25 if not specified.
7045
+ * @param searchTerm (optional) Optional search term to filter by fund name or ticker.
7046
+ * @param sortOrder (optional) Sort order (Ascending or Descending). Defaults to Descending.
7047
+ * @return Returns the list of EvergreenShareClasses.
7048
+ */
7049
+ getAllSecondaryLinkEvergreenShareClasses(financialInstitutionId, page, pageSize, searchTerm, sortOrder) {
7050
+ let url_ = this.baseUrl + "/primary/v1/secondarylink/evergreen-share-classes/financial-institution/{financialInstitutionId}?";
7051
+ if (financialInstitutionId === undefined || financialInstitutionId === null)
7052
+ throw new Error("The parameter 'financialInstitutionId' must be defined.");
7053
+ url_ = url_.replace("{financialInstitutionId}", encodeURIComponent("" + financialInstitutionId));
7054
+ if (page === null)
7055
+ throw new Error("The parameter 'page' cannot be null.");
7056
+ else if (page !== undefined)
7057
+ url_ += "page=" + encodeURIComponent("" + page) + "&";
7058
+ if (pageSize === null)
7059
+ throw new Error("The parameter 'pageSize' cannot be null.");
7060
+ else if (pageSize !== undefined)
7061
+ url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
7062
+ if (searchTerm === null)
7063
+ throw new Error("The parameter 'searchTerm' cannot be null.");
7064
+ else if (searchTerm !== undefined)
7065
+ url_ += "searchTerm=" + encodeURIComponent("" + searchTerm) + "&";
7066
+ if (sortOrder === null)
7067
+ throw new Error("The parameter 'sortOrder' cannot be null.");
7068
+ else if (sortOrder !== undefined)
7069
+ url_ += "sortOrder=" + encodeURIComponent("" + sortOrder) + "&";
7070
+ url_ = url_.replace(/[?&]$/, "");
7071
+ let options_ = {
7072
+ method: "GET",
7073
+ headers: {
7074
+ "Accept": "application/json"
6992
7075
  }
6993
- }
7076
+ };
7077
+ return this.http.fetch(url_, options_).then((_response) => {
7078
+ return this.processGetAllSecondaryLinkEvergreenShareClasses(_response);
7079
+ });
6994
7080
  }
6995
- init(_data) {
6996
- if (_data) {
6997
- this.version = _data["version"];
7081
+ processGetAllSecondaryLinkEvergreenShareClasses(response) {
7082
+ const status = response.status;
7083
+ let _headers = {};
7084
+ if (response.headers && response.headers.forEach) {
7085
+ response.headers.forEach((v, k) => _headers[k] = v);
6998
7086
  }
6999
- }
7000
- static fromJS(data) {
7001
- data = typeof data === 'object' ? data : {};
7002
- let result = new ApiVersion();
7003
- result.init(data);
7004
- return result;
7005
- }
7006
- toJSON(data) {
7007
- data = typeof data === 'object' ? data : {};
7008
- data["version"] = this.version;
7009
- return data;
7010
- }
7011
- }
7012
- export class Assembly {
7013
- constructor(data) {
7014
- if (data) {
7015
- for (var property in data) {
7016
- if (data.hasOwnProperty(property))
7017
- this[property] = data[property];
7018
- }
7087
+ ;
7088
+ if (status === 200) {
7089
+ return response.text().then((_responseText) => {
7090
+ let result200 = null;
7091
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7092
+ result200 = EvergreenShareClassesApiResponse.fromJS(resultData200);
7093
+ return result200;
7094
+ });
7019
7095
  }
7020
- }
7021
- init(_data) {
7022
- if (_data) {
7023
- if (Array.isArray(_data["definedTypes"])) {
7024
- this.definedTypes = [];
7025
- for (let item of _data["definedTypes"])
7026
- this.definedTypes.push(TypeInfo.fromJS(item));
7027
- }
7028
- if (Array.isArray(_data["exportedTypes"])) {
7029
- this.exportedTypes = [];
7030
- for (let item of _data["exportedTypes"])
7031
- this.exportedTypes.push(Type.fromJS(item));
7032
- }
7033
- this.codeBase = _data["codeBase"];
7034
- this.entryPoint = _data["entryPoint"] ? MethodInfo.fromJS(_data["entryPoint"]) : undefined;
7035
- this.fullName = _data["fullName"];
7036
- this.imageRuntimeVersion = _data["imageRuntimeVersion"];
7037
- this.isDynamic = _data["isDynamic"];
7038
- this.location = _data["location"];
7039
- this.reflectionOnly = _data["reflectionOnly"];
7040
- this.isCollectible = _data["isCollectible"];
7041
- this.isFullyTrusted = _data["isFullyTrusted"];
7042
- if (Array.isArray(_data["customAttributes"])) {
7043
- this.customAttributes = [];
7044
- for (let item of _data["customAttributes"])
7045
- this.customAttributes.push(CustomAttributeData.fromJS(item));
7046
- }
7047
- this.escapedCodeBase = _data["escapedCodeBase"];
7048
- this.manifestModule = _data["manifestModule"] ? Module.fromJS(_data["manifestModule"]) : undefined;
7049
- if (Array.isArray(_data["modules"])) {
7050
- this.modules = [];
7051
- for (let item of _data["modules"])
7052
- this.modules.push(Module.fromJS(item));
7053
- }
7054
- this.globalAssemblyCache = _data["globalAssemblyCache"];
7055
- this.hostContext = _data["hostContext"];
7056
- this.securityRuleSet = _data["securityRuleSet"];
7096
+ else if (status === 403) {
7097
+ return response.text().then((_responseText) => {
7098
+ let result403 = null;
7099
+ let resultData403 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7100
+ result403 = ProblemDetails.fromJS(resultData403);
7101
+ return throwException("Access denied.", status, _responseText, _headers, result403);
7102
+ });
7103
+ }
7104
+ else if (status !== 200 && status !== 204) {
7105
+ return response.text().then((_responseText) => {
7106
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7107
+ });
7057
7108
  }
7109
+ return Promise.resolve(null);
7058
7110
  }
7059
- static fromJS(data) {
7060
- data = typeof data === 'object' ? data : {};
7061
- let result = new Assembly();
7062
- result.init(data);
7063
- return result;
7111
+ /**
7112
+ * Get the API version
7113
+ * @return Returns the API version
7114
+ */
7115
+ getVersion() {
7116
+ let url_ = this.baseUrl + "/primary/v1/version";
7117
+ url_ = url_.replace(/[?&]$/, "");
7118
+ let options_ = {
7119
+ method: "GET",
7120
+ headers: {
7121
+ "Accept": "application/json"
7122
+ }
7123
+ };
7124
+ return this.http.fetch(url_, options_).then((_response) => {
7125
+ return this.processGetVersion(_response);
7126
+ });
7064
7127
  }
7065
- toJSON(data) {
7066
- data = typeof data === 'object' ? data : {};
7067
- if (Array.isArray(this.definedTypes)) {
7068
- data["definedTypes"] = [];
7069
- for (let item of this.definedTypes)
7070
- data["definedTypes"].push(item.toJSON());
7128
+ processGetVersion(response) {
7129
+ const status = response.status;
7130
+ let _headers = {};
7131
+ if (response.headers && response.headers.forEach) {
7132
+ response.headers.forEach((v, k) => _headers[k] = v);
7071
7133
  }
7072
- if (Array.isArray(this.exportedTypes)) {
7073
- data["exportedTypes"] = [];
7074
- for (let item of this.exportedTypes)
7075
- data["exportedTypes"].push(item.toJSON());
7134
+ ;
7135
+ if (status === 200) {
7136
+ return response.text().then((_responseText) => {
7137
+ let result200 = null;
7138
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7139
+ result200 = ApiVersion.fromJS(resultData200);
7140
+ return result200;
7141
+ });
7076
7142
  }
7077
- data["codeBase"] = this.codeBase;
7078
- data["entryPoint"] = this.entryPoint ? this.entryPoint.toJSON() : undefined;
7079
- data["fullName"] = this.fullName;
7080
- data["imageRuntimeVersion"] = this.imageRuntimeVersion;
7081
- data["isDynamic"] = this.isDynamic;
7082
- data["location"] = this.location;
7083
- data["reflectionOnly"] = this.reflectionOnly;
7084
- data["isCollectible"] = this.isCollectible;
7085
- data["isFullyTrusted"] = this.isFullyTrusted;
7086
- if (Array.isArray(this.customAttributes)) {
7143
+ else if (status !== 200 && status !== 204) {
7144
+ return response.text().then((_responseText) => {
7145
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7146
+ });
7147
+ }
7148
+ return Promise.resolve(null);
7149
+ }
7150
+ /**
7151
+ * Create a Webhook
7152
+ * @param body (optional) Create Webhook information.
7153
+ * @return The newly created Webhook.
7154
+ */
7155
+ createWebhook(body) {
7156
+ let url_ = this.baseUrl + "/primary/v1/webhook";
7157
+ url_ = url_.replace(/[?&]$/, "");
7158
+ const content_ = JSON.stringify(body);
7159
+ let options_ = {
7160
+ body: content_,
7161
+ method: "POST",
7162
+ headers: {
7163
+ "Content-Type": "application/json",
7164
+ "Accept": "application/json"
7165
+ }
7166
+ };
7167
+ return this.http.fetch(url_, options_).then((_response) => {
7168
+ return this.processCreateWebhook(_response);
7169
+ });
7170
+ }
7171
+ processCreateWebhook(response) {
7172
+ const status = response.status;
7173
+ let _headers = {};
7174
+ if (response.headers && response.headers.forEach) {
7175
+ response.headers.forEach((v, k) => _headers[k] = v);
7176
+ }
7177
+ ;
7178
+ if (status === 201) {
7179
+ return response.text().then((_responseText) => {
7180
+ let result201 = null;
7181
+ let resultData201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7182
+ result201 = Webhook.fromJS(resultData201);
7183
+ return result201;
7184
+ });
7185
+ }
7186
+ else if (status === 400) {
7187
+ return response.text().then((_responseText) => {
7188
+ let result400 = null;
7189
+ let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7190
+ result400 = ProblemDetails.fromJS(resultData400);
7191
+ return throwException("Bad request if required fields are missing.", status, _responseText, _headers, result400);
7192
+ });
7193
+ }
7194
+ else if (status !== 200 && status !== 204) {
7195
+ return response.text().then((_responseText) => {
7196
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7197
+ });
7198
+ }
7199
+ return Promise.resolve(null);
7200
+ }
7201
+ /**
7202
+ * Get all Webhooks
7203
+ * @param page (optional) Number of the page to retrieve.
7204
+ Defaults to 1 if not specified.
7205
+ * @param pageSize (optional) Size of the page to retrieve.
7206
+ Defaults to 25 if not specified.
7207
+ * @param sortOrder (optional) Order of which to sort the webhooks by. Default is Descending
7208
+ * @return Returns a list of Webhooks.
7209
+ */
7210
+ getAllWebhooks(page, pageSize, sortOrder) {
7211
+ let url_ = this.baseUrl + "/primary/v1/webhook?";
7212
+ if (page === null)
7213
+ throw new Error("The parameter 'page' cannot be null.");
7214
+ else if (page !== undefined)
7215
+ url_ += "page=" + encodeURIComponent("" + page) + "&";
7216
+ if (pageSize === null)
7217
+ throw new Error("The parameter 'pageSize' cannot be null.");
7218
+ else if (pageSize !== undefined)
7219
+ url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
7220
+ if (sortOrder === null)
7221
+ throw new Error("The parameter 'sortOrder' cannot be null.");
7222
+ else if (sortOrder !== undefined)
7223
+ url_ += "sortOrder=" + encodeURIComponent("" + sortOrder) + "&";
7224
+ url_ = url_.replace(/[?&]$/, "");
7225
+ let options_ = {
7226
+ method: "GET",
7227
+ headers: {
7228
+ "Accept": "application/json"
7229
+ }
7230
+ };
7231
+ return this.http.fetch(url_, options_).then((_response) => {
7232
+ return this.processGetAllWebhooks(_response);
7233
+ });
7234
+ }
7235
+ processGetAllWebhooks(response) {
7236
+ const status = response.status;
7237
+ let _headers = {};
7238
+ if (response.headers && response.headers.forEach) {
7239
+ response.headers.forEach((v, k) => _headers[k] = v);
7240
+ }
7241
+ ;
7242
+ if (status === 200) {
7243
+ return response.text().then((_responseText) => {
7244
+ let result200 = null;
7245
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7246
+ result200 = WebhookApiResponse.fromJS(resultData200);
7247
+ return result200;
7248
+ });
7249
+ }
7250
+ else if (status === 404) {
7251
+ return response.text().then((_responseText) => {
7252
+ let result404 = null;
7253
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7254
+ result404 = ProblemDetails.fromJS(resultData404);
7255
+ return throwException("Not Found", status, _responseText, _headers, result404);
7256
+ });
7257
+ }
7258
+ else if (status === 400) {
7259
+ return response.text().then((_responseText) => {
7260
+ return throwException("An error occured.", status, _responseText, _headers);
7261
+ });
7262
+ }
7263
+ else if (status !== 200 && status !== 204) {
7264
+ return response.text().then((_responseText) => {
7265
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7266
+ });
7267
+ }
7268
+ return Promise.resolve(null);
7269
+ }
7270
+ /**
7271
+ * Update a Webhook’s Information
7272
+ * @param body (optional) Update Webhook Request.
7273
+ * @return The Updated Webhook.
7274
+ */
7275
+ updateWebhook(body) {
7276
+ let url_ = this.baseUrl + "/primary/v1/webhook";
7277
+ url_ = url_.replace(/[?&]$/, "");
7278
+ const content_ = JSON.stringify(body);
7279
+ let options_ = {
7280
+ body: content_,
7281
+ method: "PUT",
7282
+ headers: {
7283
+ "Content-Type": "application/json",
7284
+ }
7285
+ };
7286
+ return this.http.fetch(url_, options_).then((_response) => {
7287
+ return this.processUpdateWebhook(_response);
7288
+ });
7289
+ }
7290
+ processUpdateWebhook(response) {
7291
+ const status = response.status;
7292
+ let _headers = {};
7293
+ if (response.headers && response.headers.forEach) {
7294
+ response.headers.forEach((v, k) => _headers[k] = v);
7295
+ }
7296
+ ;
7297
+ if (status === 201) {
7298
+ return response.text().then((_responseText) => {
7299
+ let result201 = null;
7300
+ let resultData201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7301
+ result201 = Webhook.fromJS(resultData201);
7302
+ return throwException("Created", status, _responseText, _headers, result201);
7303
+ });
7304
+ }
7305
+ else if (status === 400) {
7306
+ return response.text().then((_responseText) => {
7307
+ let result400 = null;
7308
+ let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7309
+ result400 = ProblemDetails.fromJS(resultData400);
7310
+ return throwException("Bad request if required fields are missing.", status, _responseText, _headers, result400);
7311
+ });
7312
+ }
7313
+ else if (status === 200) {
7314
+ return response.text().then((_responseText) => {
7315
+ return;
7316
+ });
7317
+ }
7318
+ else if (status !== 200 && status !== 204) {
7319
+ return response.text().then((_responseText) => {
7320
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7321
+ });
7322
+ }
7323
+ return Promise.resolve(null);
7324
+ }
7325
+ /**
7326
+ * Get a Webhook
7327
+ * @param id Id of the webhook to get.
7328
+ * @return Returns the Webhook with the specified Id.
7329
+ */
7330
+ getWebhookById(id) {
7331
+ let url_ = this.baseUrl + "/primary/v1/webhook/{id}";
7332
+ if (id === undefined || id === null)
7333
+ throw new Error("The parameter 'id' must be defined.");
7334
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
7335
+ url_ = url_.replace(/[?&]$/, "");
7336
+ let options_ = {
7337
+ method: "GET",
7338
+ headers: {
7339
+ "Accept": "application/json"
7340
+ }
7341
+ };
7342
+ return this.http.fetch(url_, options_).then((_response) => {
7343
+ return this.processGetWebhookById(_response);
7344
+ });
7345
+ }
7346
+ processGetWebhookById(response) {
7347
+ const status = response.status;
7348
+ let _headers = {};
7349
+ if (response.headers && response.headers.forEach) {
7350
+ response.headers.forEach((v, k) => _headers[k] = v);
7351
+ }
7352
+ ;
7353
+ if (status === 200) {
7354
+ return response.text().then((_responseText) => {
7355
+ let result200 = null;
7356
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7357
+ result200 = Webhook.fromJS(resultData200);
7358
+ return result200;
7359
+ });
7360
+ }
7361
+ else if (status === 404) {
7362
+ return response.text().then((_responseText) => {
7363
+ let result404 = null;
7364
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7365
+ result404 = ProblemDetails.fromJS(resultData404);
7366
+ return throwException("Webhook not found.", status, _responseText, _headers, result404);
7367
+ });
7368
+ }
7369
+ else if (status !== 200 && status !== 204) {
7370
+ return response.text().then((_responseText) => {
7371
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7372
+ });
7373
+ }
7374
+ return Promise.resolve(null);
7375
+ }
7376
+ /**
7377
+ * Delete a Webhook
7378
+ * @param id The Webhooks ID.
7379
+ * @return The Webhook was deleted.
7380
+ */
7381
+ deleteWebhook(id) {
7382
+ let url_ = this.baseUrl + "/primary/v1/webhook/{id}";
7383
+ if (id === undefined || id === null)
7384
+ throw new Error("The parameter 'id' must be defined.");
7385
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
7386
+ url_ = url_.replace(/[?&]$/, "");
7387
+ let options_ = {
7388
+ method: "DELETE",
7389
+ headers: {}
7390
+ };
7391
+ return this.http.fetch(url_, options_).then((_response) => {
7392
+ return this.processDeleteWebhook(_response);
7393
+ });
7394
+ }
7395
+ processDeleteWebhook(response) {
7396
+ const status = response.status;
7397
+ let _headers = {};
7398
+ if (response.headers && response.headers.forEach) {
7399
+ response.headers.forEach((v, k) => _headers[k] = v);
7400
+ }
7401
+ ;
7402
+ if (status === 204) {
7403
+ return response.text().then((_responseText) => {
7404
+ let result204 = null;
7405
+ let resultData204 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7406
+ result204 = Webhook.fromJS(resultData204);
7407
+ return throwException("No Content", status, _responseText, _headers, result204);
7408
+ });
7409
+ }
7410
+ else if (status === 400) {
7411
+ return response.text().then((_responseText) => {
7412
+ let result400 = null;
7413
+ let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7414
+ result400 = ProblemDetails.fromJS(resultData400);
7415
+ return throwException("Bad Request", status, _responseText, _headers, result400);
7416
+ });
7417
+ }
7418
+ else if (status === 200) {
7419
+ return response.text().then((_responseText) => {
7420
+ return;
7421
+ });
7422
+ }
7423
+ else if (status === 404) {
7424
+ return response.text().then((_responseText) => {
7425
+ return throwException("The Webhook ID was not found..", status, _responseText, _headers);
7426
+ });
7427
+ }
7428
+ else if (status !== 200 && status !== 204) {
7429
+ return response.text().then((_responseText) => {
7430
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7431
+ });
7432
+ }
7433
+ return Promise.resolve(null);
7434
+ }
7435
+ /**
7436
+ * Get all Webhook Events for a specified Webhook
7437
+ * @param id The Webhook's ID.
7438
+ * @param from Filters events so that only events from this datetime is returned.
7439
+ * @param to Filters events so that only events to this datetime is returned.
7440
+ * @param page (optional) Number of the page to retrieve.
7441
+ Defaults to 1 if not specified.
7442
+ * @param pageSize (optional) Size of the page to retrieve.
7443
+ Defaults to 25 if not specified.
7444
+ * @param sortOrder (optional) Order of which to sort the events by. Default is Descending.
7445
+ * @param eventType (optional) Optional filter by event type.
7446
+ * @param deliveryStatus (optional) Optional filter by delivery status.
7447
+ * @return Returns a list of Webhook Events.
7448
+ */
7449
+ getAllWebhookEvents(id, from, to, page, pageSize, sortOrder, eventType, deliveryStatus) {
7450
+ let url_ = this.baseUrl + "/primary/v1/webhook/{id}/events?";
7451
+ if (id === undefined || id === null)
7452
+ throw new Error("The parameter 'id' must be defined.");
7453
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
7454
+ if (from === undefined || from === null)
7455
+ throw new Error("The parameter 'from' must be defined and cannot be null.");
7456
+ else
7457
+ url_ += "from=" + encodeURIComponent(from ? "" + from.toISOString() : "") + "&";
7458
+ if (to === undefined || to === null)
7459
+ throw new Error("The parameter 'to' must be defined and cannot be null.");
7460
+ else
7461
+ url_ += "to=" + encodeURIComponent(to ? "" + to.toISOString() : "") + "&";
7462
+ if (page === null)
7463
+ throw new Error("The parameter 'page' cannot be null.");
7464
+ else if (page !== undefined)
7465
+ url_ += "page=" + encodeURIComponent("" + page) + "&";
7466
+ if (pageSize === null)
7467
+ throw new Error("The parameter 'pageSize' cannot be null.");
7468
+ else if (pageSize !== undefined)
7469
+ url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
7470
+ if (sortOrder === null)
7471
+ throw new Error("The parameter 'sortOrder' cannot be null.");
7472
+ else if (sortOrder !== undefined)
7473
+ url_ += "sortOrder=" + encodeURIComponent("" + sortOrder) + "&";
7474
+ if (eventType === null)
7475
+ throw new Error("The parameter 'eventType' cannot be null.");
7476
+ else if (eventType !== undefined)
7477
+ url_ += "eventType=" + encodeURIComponent("" + eventType) + "&";
7478
+ if (deliveryStatus === null)
7479
+ throw new Error("The parameter 'deliveryStatus' cannot be null.");
7480
+ else if (deliveryStatus !== undefined)
7481
+ url_ += "deliveryStatus=" + encodeURIComponent("" + deliveryStatus) + "&";
7482
+ url_ = url_.replace(/[?&]$/, "");
7483
+ let options_ = {
7484
+ method: "GET",
7485
+ headers: {
7486
+ "Accept": "application/json"
7487
+ }
7488
+ };
7489
+ return this.http.fetch(url_, options_).then((_response) => {
7490
+ return this.processGetAllWebhookEvents(_response);
7491
+ });
7492
+ }
7493
+ processGetAllWebhookEvents(response) {
7494
+ const status = response.status;
7495
+ let _headers = {};
7496
+ if (response.headers && response.headers.forEach) {
7497
+ response.headers.forEach((v, k) => _headers[k] = v);
7498
+ }
7499
+ ;
7500
+ if (status === 200) {
7501
+ return response.text().then((_responseText) => {
7502
+ let result200 = null;
7503
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7504
+ result200 = WebhookEventApiResponse.fromJS(resultData200);
7505
+ return result200;
7506
+ });
7507
+ }
7508
+ else if (status === 404) {
7509
+ return response.text().then((_responseText) => {
7510
+ let result404 = null;
7511
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7512
+ result404 = ProblemDetails.fromJS(resultData404);
7513
+ return throwException("Not Found", status, _responseText, _headers, result404);
7514
+ });
7515
+ }
7516
+ else if (status === 400) {
7517
+ return response.text().then((_responseText) => {
7518
+ return throwException("An error occured.", status, _responseText, _headers);
7519
+ });
7520
+ }
7521
+ else if (status !== 200 && status !== 204) {
7522
+ return response.text().then((_responseText) => {
7523
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7524
+ });
7525
+ }
7526
+ return Promise.resolve(null);
7527
+ }
7528
+ }
7529
+ /** Represents the version information of the API */
7530
+ export class ApiVersion {
7531
+ constructor(data) {
7532
+ if (data) {
7533
+ for (var property in data) {
7534
+ if (data.hasOwnProperty(property))
7535
+ this[property] = data[property];
7536
+ }
7537
+ }
7538
+ }
7539
+ init(_data) {
7540
+ if (_data) {
7541
+ this.version = _data["version"];
7542
+ }
7543
+ }
7544
+ static fromJS(data) {
7545
+ data = typeof data === 'object' ? data : {};
7546
+ let result = new ApiVersion();
7547
+ result.init(data);
7548
+ return result;
7549
+ }
7550
+ toJSON(data) {
7551
+ data = typeof data === 'object' ? data : {};
7552
+ data["version"] = this.version;
7553
+ return data;
7554
+ }
7555
+ }
7556
+ export class Assembly {
7557
+ constructor(data) {
7558
+ if (data) {
7559
+ for (var property in data) {
7560
+ if (data.hasOwnProperty(property))
7561
+ this[property] = data[property];
7562
+ }
7563
+ }
7564
+ }
7565
+ init(_data) {
7566
+ if (_data) {
7567
+ if (Array.isArray(_data["definedTypes"])) {
7568
+ this.definedTypes = [];
7569
+ for (let item of _data["definedTypes"])
7570
+ this.definedTypes.push(TypeInfo.fromJS(item));
7571
+ }
7572
+ if (Array.isArray(_data["exportedTypes"])) {
7573
+ this.exportedTypes = [];
7574
+ for (let item of _data["exportedTypes"])
7575
+ this.exportedTypes.push(Type.fromJS(item));
7576
+ }
7577
+ this.codeBase = _data["codeBase"];
7578
+ this.entryPoint = _data["entryPoint"] ? MethodInfo.fromJS(_data["entryPoint"]) : undefined;
7579
+ this.fullName = _data["fullName"];
7580
+ this.imageRuntimeVersion = _data["imageRuntimeVersion"];
7581
+ this.isDynamic = _data["isDynamic"];
7582
+ this.location = _data["location"];
7583
+ this.reflectionOnly = _data["reflectionOnly"];
7584
+ this.isCollectible = _data["isCollectible"];
7585
+ this.isFullyTrusted = _data["isFullyTrusted"];
7586
+ if (Array.isArray(_data["customAttributes"])) {
7587
+ this.customAttributes = [];
7588
+ for (let item of _data["customAttributes"])
7589
+ this.customAttributes.push(CustomAttributeData.fromJS(item));
7590
+ }
7591
+ this.escapedCodeBase = _data["escapedCodeBase"];
7592
+ this.manifestModule = _data["manifestModule"] ? Module.fromJS(_data["manifestModule"]) : undefined;
7593
+ if (Array.isArray(_data["modules"])) {
7594
+ this.modules = [];
7595
+ for (let item of _data["modules"])
7596
+ this.modules.push(Module.fromJS(item));
7597
+ }
7598
+ this.globalAssemblyCache = _data["globalAssemblyCache"];
7599
+ this.hostContext = _data["hostContext"];
7600
+ this.securityRuleSet = _data["securityRuleSet"];
7601
+ }
7602
+ }
7603
+ static fromJS(data) {
7604
+ data = typeof data === 'object' ? data : {};
7605
+ let result = new Assembly();
7606
+ result.init(data);
7607
+ return result;
7608
+ }
7609
+ toJSON(data) {
7610
+ data = typeof data === 'object' ? data : {};
7611
+ if (Array.isArray(this.definedTypes)) {
7612
+ data["definedTypes"] = [];
7613
+ for (let item of this.definedTypes)
7614
+ data["definedTypes"].push(item.toJSON());
7615
+ }
7616
+ if (Array.isArray(this.exportedTypes)) {
7617
+ data["exportedTypes"] = [];
7618
+ for (let item of this.exportedTypes)
7619
+ data["exportedTypes"].push(item.toJSON());
7620
+ }
7621
+ data["codeBase"] = this.codeBase;
7622
+ data["entryPoint"] = this.entryPoint ? this.entryPoint.toJSON() : undefined;
7623
+ data["fullName"] = this.fullName;
7624
+ data["imageRuntimeVersion"] = this.imageRuntimeVersion;
7625
+ data["isDynamic"] = this.isDynamic;
7626
+ data["location"] = this.location;
7627
+ data["reflectionOnly"] = this.reflectionOnly;
7628
+ data["isCollectible"] = this.isCollectible;
7629
+ data["isFullyTrusted"] = this.isFullyTrusted;
7630
+ if (Array.isArray(this.customAttributes)) {
7631
+ data["customAttributes"] = [];
7632
+ for (let item of this.customAttributes)
7633
+ data["customAttributes"].push(item.toJSON());
7634
+ }
7635
+ data["escapedCodeBase"] = this.escapedCodeBase;
7636
+ data["manifestModule"] = this.manifestModule ? this.manifestModule.toJSON() : undefined;
7637
+ if (Array.isArray(this.modules)) {
7638
+ data["modules"] = [];
7639
+ for (let item of this.modules)
7640
+ data["modules"].push(item.toJSON());
7641
+ }
7642
+ data["globalAssemblyCache"] = this.globalAssemblyCache;
7643
+ data["hostContext"] = this.hostContext;
7644
+ data["securityRuleSet"] = this.securityRuleSet;
7645
+ return data;
7646
+ }
7647
+ }
7648
+ export class BulkPreIPOCompany {
7649
+ constructor(data) {
7650
+ if (data) {
7651
+ for (var property in data) {
7652
+ if (data.hasOwnProperty(property))
7653
+ this[property] = data[property];
7654
+ }
7655
+ }
7656
+ }
7657
+ init(_data) {
7658
+ if (_data) {
7659
+ this.id = _data["id"];
7660
+ this.name = _data["name"];
7661
+ this.domain = _data["domain"];
7662
+ this.linkedIn = _data["linkedIn"];
7663
+ this.x = _data["x"];
7664
+ this.facebook = _data["facebook"];
7665
+ this.country = _data["country"];
7666
+ this.address = _data["address"];
7667
+ this.type = _data["type"];
7668
+ this.yearEst = _data["yearEst"];
7669
+ this.numJobs = _data["numJobs"];
7670
+ this.description = _data["description"];
7671
+ this.founder = _data["founder"];
7672
+ this.logoURL = _data["logoURL"];
7673
+ this.totalFunding = _data["totalFunding"];
7674
+ this.lastFundingSeries = _data["lastFundingSeries"];
7675
+ this.lastFundingTotal = _data["lastFundingTotal"];
7676
+ this.totalFundingRounds = _data["totalFundingRounds"];
7677
+ this.lastFundingDate = _data["lastFundingDate"] ? new Date(_data["lastFundingDate"].toString()) : undefined;
7678
+ this.lastFundingType = _data["lastFundingType"];
7679
+ this.numInvestors = _data["numInvestors"];
7680
+ this.twelveMonthTrailingRevenue = _data["twelveMonthTrailingRevenue"];
7681
+ this.lastValuation = _data["lastValuation"];
7682
+ this.lastSharePrice = _data["lastSharePrice"];
7683
+ this.numCustomers = _data["numCustomers"];
7684
+ if (Array.isArray(_data["executiveTeam"])) {
7685
+ this.executiveTeam = [];
7686
+ for (let item of _data["executiveTeam"])
7687
+ this.executiveTeam.push(item);
7688
+ }
7689
+ this.numSharesOutstanding = _data["numSharesOutstanding"];
7690
+ if (Array.isArray(_data["notableInvestorsLogos"])) {
7691
+ this.notableInvestorsLogos = [];
7692
+ for (let item of _data["notableInvestorsLogos"])
7693
+ this.notableInvestorsLogos.push(item);
7694
+ }
7695
+ if (Array.isArray(_data["categories"])) {
7696
+ this.categories = [];
7697
+ for (let item of _data["categories"])
7698
+ this.categories.push(item);
7699
+ }
7700
+ this.referencePrice = _data["referencePrice"];
7701
+ this.referencePriceDate = _data["referencePriceDate"] ? new Date(_data["referencePriceDate"].toString()) : undefined;
7702
+ this.symbol = _data["symbol"];
7703
+ this.listingType = _data["listingType"];
7704
+ this.isActive = _data["isActive"];
7705
+ if (Array.isArray(_data["listings"])) {
7706
+ this.listings = [];
7707
+ for (let item of _data["listings"])
7708
+ this.listings.push(Listing.fromJS(item));
7709
+ }
7710
+ if (Array.isArray(_data["milestones"])) {
7711
+ this.milestones = [];
7712
+ for (let item of _data["milestones"])
7713
+ this.milestones.push(Milestone.fromJS(item));
7714
+ }
7715
+ if (Array.isArray(_data["news"])) {
7716
+ this.news = [];
7717
+ for (let item of _data["news"])
7718
+ this.news.push(PreIPOCompanyNews.fromJS(item));
7719
+ }
7720
+ if (Array.isArray(_data["research"])) {
7721
+ this.research = [];
7722
+ for (let item of _data["research"])
7723
+ this.research.push(PreIPOCompanyResearch.fromJS(item));
7724
+ }
7725
+ if (Array.isArray(_data["fundingRounds"])) {
7726
+ this.fundingRounds = [];
7727
+ for (let item of _data["fundingRounds"])
7728
+ this.fundingRounds.push(PreIPOCompanyFundingRound.fromJS(item));
7729
+ }
7730
+ if (Array.isArray(_data["investments"])) {
7731
+ this.investments = [];
7732
+ for (let item of _data["investments"])
7733
+ this.investments.push(PreIPOCompanyInvestment.fromJS(item));
7734
+ }
7735
+ if (Array.isArray(_data["spvs"])) {
7736
+ this.spvs = [];
7737
+ for (let item of _data["spvs"])
7738
+ this.spvs.push(BulkPreIPOCompanySPV.fromJS(item));
7739
+ }
7740
+ }
7741
+ }
7742
+ static fromJS(data) {
7743
+ data = typeof data === 'object' ? data : {};
7744
+ let result = new BulkPreIPOCompany();
7745
+ result.init(data);
7746
+ return result;
7747
+ }
7748
+ toJSON(data) {
7749
+ data = typeof data === 'object' ? data : {};
7750
+ data["id"] = this.id;
7751
+ data["name"] = this.name;
7752
+ data["domain"] = this.domain;
7753
+ data["linkedIn"] = this.linkedIn;
7754
+ data["x"] = this.x;
7755
+ data["facebook"] = this.facebook;
7756
+ data["country"] = this.country;
7757
+ data["address"] = this.address;
7758
+ data["type"] = this.type;
7759
+ data["yearEst"] = this.yearEst;
7760
+ data["numJobs"] = this.numJobs;
7761
+ data["description"] = this.description;
7762
+ data["founder"] = this.founder;
7763
+ data["logoURL"] = this.logoURL;
7764
+ data["totalFunding"] = this.totalFunding;
7765
+ data["lastFundingSeries"] = this.lastFundingSeries;
7766
+ data["lastFundingTotal"] = this.lastFundingTotal;
7767
+ data["totalFundingRounds"] = this.totalFundingRounds;
7768
+ data["lastFundingDate"] = this.lastFundingDate ? formatDate(this.lastFundingDate) : undefined;
7769
+ data["lastFundingType"] = this.lastFundingType;
7770
+ data["numInvestors"] = this.numInvestors;
7771
+ data["twelveMonthTrailingRevenue"] = this.twelveMonthTrailingRevenue;
7772
+ data["lastValuation"] = this.lastValuation;
7773
+ data["lastSharePrice"] = this.lastSharePrice;
7774
+ data["numCustomers"] = this.numCustomers;
7775
+ if (Array.isArray(this.executiveTeam)) {
7776
+ data["executiveTeam"] = [];
7777
+ for (let item of this.executiveTeam)
7778
+ data["executiveTeam"].push(item);
7779
+ }
7780
+ data["numSharesOutstanding"] = this.numSharesOutstanding;
7781
+ if (Array.isArray(this.notableInvestorsLogos)) {
7782
+ data["notableInvestorsLogos"] = [];
7783
+ for (let item of this.notableInvestorsLogos)
7784
+ data["notableInvestorsLogos"].push(item);
7785
+ }
7786
+ if (Array.isArray(this.categories)) {
7787
+ data["categories"] = [];
7788
+ for (let item of this.categories)
7789
+ data["categories"].push(item);
7790
+ }
7791
+ data["referencePrice"] = this.referencePrice;
7792
+ data["referencePriceDate"] = this.referencePriceDate ? this.referencePriceDate.toISOString() : undefined;
7793
+ data["symbol"] = this.symbol;
7794
+ data["listingType"] = this.listingType;
7795
+ data["isActive"] = this.isActive;
7796
+ if (Array.isArray(this.listings)) {
7797
+ data["listings"] = [];
7798
+ for (let item of this.listings)
7799
+ data["listings"].push(item.toJSON());
7800
+ }
7801
+ if (Array.isArray(this.milestones)) {
7802
+ data["milestones"] = [];
7803
+ for (let item of this.milestones)
7804
+ data["milestones"].push(item.toJSON());
7805
+ }
7806
+ if (Array.isArray(this.news)) {
7807
+ data["news"] = [];
7808
+ for (let item of this.news)
7809
+ data["news"].push(item.toJSON());
7810
+ }
7811
+ if (Array.isArray(this.research)) {
7812
+ data["research"] = [];
7813
+ for (let item of this.research)
7814
+ data["research"].push(item.toJSON());
7815
+ }
7816
+ if (Array.isArray(this.fundingRounds)) {
7817
+ data["fundingRounds"] = [];
7818
+ for (let item of this.fundingRounds)
7819
+ data["fundingRounds"].push(item.toJSON());
7820
+ }
7821
+ if (Array.isArray(this.investments)) {
7822
+ data["investments"] = [];
7823
+ for (let item of this.investments)
7824
+ data["investments"].push(item.toJSON());
7825
+ }
7826
+ if (Array.isArray(this.spvs)) {
7827
+ data["spvs"] = [];
7828
+ for (let item of this.spvs)
7829
+ data["spvs"].push(item.toJSON());
7830
+ }
7831
+ return data;
7832
+ }
7833
+ }
7834
+ export class BulkPreIPOCompanyApiResponse {
7835
+ constructor(data) {
7836
+ if (data) {
7837
+ for (var property in data) {
7838
+ if (data.hasOwnProperty(property))
7839
+ this[property] = data[property];
7840
+ }
7841
+ }
7842
+ }
7843
+ init(_data) {
7844
+ if (_data) {
7845
+ if (Array.isArray(_data["items"])) {
7846
+ this.items = [];
7847
+ for (let item of _data["items"])
7848
+ this.items.push(BulkPreIPOCompany.fromJS(item));
7849
+ }
7850
+ this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
7851
+ }
7852
+ }
7853
+ static fromJS(data) {
7854
+ data = typeof data === 'object' ? data : {};
7855
+ let result = new BulkPreIPOCompanyApiResponse();
7856
+ result.init(data);
7857
+ return result;
7858
+ }
7859
+ toJSON(data) {
7860
+ data = typeof data === 'object' ? data : {};
7861
+ if (Array.isArray(this.items)) {
7862
+ data["items"] = [];
7863
+ for (let item of this.items)
7864
+ data["items"].push(item.toJSON());
7865
+ }
7866
+ data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
7867
+ return data;
7868
+ }
7869
+ }
7870
+ export class BulkPreIPOCompanySPV {
7871
+ constructor(data) {
7872
+ if (data) {
7873
+ for (var property in data) {
7874
+ if (data.hasOwnProperty(property))
7875
+ this[property] = data[property];
7876
+ }
7877
+ }
7878
+ }
7879
+ init(_data) {
7880
+ if (_data) {
7881
+ this.id = _data["id"];
7882
+ this.preIPOCompanyInvestmentId = _data["preIPOCompanyInvestmentId"];
7883
+ this.preIPOCompanyId = _data["preIPOCompanyId"];
7884
+ this.totalDollarAllocation = _data["totalDollarAllocation"];
7885
+ this.minCommitmentAmount = _data["minCommitmentAmount"];
7886
+ this.name = _data["name"];
7887
+ this.valuation = _data["valuation"];
7888
+ this.synopsis = _data["synopsis"];
7889
+ this.description = _data["description"];
7890
+ if (Array.isArray(_data["notableInvestors"])) {
7891
+ this.notableInvestors = [];
7892
+ for (let item of _data["notableInvestors"])
7893
+ this.notableInvestors.push(item);
7894
+ }
7895
+ this.managementFee = _data["managementFee"];
7896
+ this.managementFeeYearsPayable = _data["managementFeeYearsPayable"];
7897
+ this.fundingDeadline = _data["fundingDeadline"] ? new Date(_data["fundingDeadline"].toString()) : undefined;
7898
+ if (Array.isArray(_data["exemptionsClaimed"])) {
7899
+ this.exemptionsClaimed = [];
7900
+ for (let item of _data["exemptionsClaimed"])
7901
+ this.exemptionsClaimed.push(item);
7902
+ }
7903
+ this.monarkStage = _data["monarkStage"];
7904
+ this.cusip = _data["cusip"];
7905
+ this.tradingSymbol = _data["tradingSymbol"];
7906
+ this.closeDate = _data["closeDate"] ? new Date(_data["closeDate"].toString()) : undefined;
7907
+ this.spvCustodian = _data["spvCustodian"];
7908
+ this.totalShareAllocation = _data["totalShareAllocation"];
7909
+ this.totalNumberOfSeats = _data["totalNumberOfSeats"];
7910
+ this.numberOfSeatsRemaining = _data["numberOfSeatsRemaining"];
7911
+ this.remainingDollarAllocation = _data["remainingDollarAllocation"];
7912
+ this.remainingShareAllocation = _data["remainingShareAllocation"];
7913
+ this.preFundedInventory = _data["preFundedInventory"];
7914
+ this.investorPricePerShare = _data["investorPricePerShare"];
7915
+ this.investorFeePerShare = _data["investorFeePerShare"];
7916
+ this.allInPricePerShare = _data["allInPricePerShare"];
7917
+ this.fundAdminExpense = _data["fundAdminExpense"];
7918
+ this.expenseReserve = _data["expenseReserve"];
7919
+ this.holdbackEnabled = _data["holdbackEnabled"];
7920
+ if (Array.isArray(_data["documents"])) {
7921
+ this.documents = [];
7922
+ for (let item of _data["documents"])
7923
+ this.documents.push(Document.fromJS(item));
7924
+ }
7925
+ this.spvAccountID = _data["spvAccountID"];
7926
+ this.preIPOCompanyName = _data["preIPOCompanyName"];
7927
+ this.manager = _data["manager"] ? Partner.fromJS(_data["manager"]) : undefined;
7928
+ if (Array.isArray(_data["coManagers"])) {
7929
+ this.coManagers = [];
7930
+ for (let item of _data["coManagers"])
7931
+ this.coManagers.push(Partner.fromJS(item));
7932
+ }
7933
+ this.carry = _data["carry"];
7934
+ this.totalPendingSubscriptionDollars = _data["totalPendingSubscriptionDollars"];
7935
+ this.isApproved = _data["isApproved"];
7936
+ this.goLiveDate = _data["goLiveDate"] ? new Date(_data["goLiveDate"].toString()) : undefined;
7937
+ if (Array.isArray(_data["allowedFinancialInstitutions"])) {
7938
+ this.allowedFinancialInstitutions = [];
7939
+ for (let item of _data["allowedFinancialInstitutions"])
7940
+ this.allowedFinancialInstitutions.push(item);
7941
+ }
7942
+ }
7943
+ }
7944
+ static fromJS(data) {
7945
+ data = typeof data === 'object' ? data : {};
7946
+ let result = new BulkPreIPOCompanySPV();
7947
+ result.init(data);
7948
+ return result;
7949
+ }
7950
+ toJSON(data) {
7951
+ data = typeof data === 'object' ? data : {};
7952
+ data["id"] = this.id;
7953
+ data["preIPOCompanyInvestmentId"] = this.preIPOCompanyInvestmentId;
7954
+ data["preIPOCompanyId"] = this.preIPOCompanyId;
7955
+ data["totalDollarAllocation"] = this.totalDollarAllocation;
7956
+ data["minCommitmentAmount"] = this.minCommitmentAmount;
7957
+ data["name"] = this.name;
7958
+ data["valuation"] = this.valuation;
7959
+ data["synopsis"] = this.synopsis;
7960
+ data["description"] = this.description;
7961
+ if (Array.isArray(this.notableInvestors)) {
7962
+ data["notableInvestors"] = [];
7963
+ for (let item of this.notableInvestors)
7964
+ data["notableInvestors"].push(item);
7965
+ }
7966
+ data["managementFee"] = this.managementFee;
7967
+ data["managementFeeYearsPayable"] = this.managementFeeYearsPayable;
7968
+ data["fundingDeadline"] = this.fundingDeadline ? formatDate(this.fundingDeadline) : undefined;
7969
+ if (Array.isArray(this.exemptionsClaimed)) {
7970
+ data["exemptionsClaimed"] = [];
7971
+ for (let item of this.exemptionsClaimed)
7972
+ data["exemptionsClaimed"].push(item);
7973
+ }
7974
+ data["monarkStage"] = this.monarkStage;
7975
+ data["cusip"] = this.cusip;
7976
+ data["tradingSymbol"] = this.tradingSymbol;
7977
+ data["closeDate"] = this.closeDate ? this.closeDate.toISOString() : undefined;
7978
+ data["spvCustodian"] = this.spvCustodian;
7979
+ data["totalShareAllocation"] = this.totalShareAllocation;
7980
+ data["totalNumberOfSeats"] = this.totalNumberOfSeats;
7981
+ data["numberOfSeatsRemaining"] = this.numberOfSeatsRemaining;
7982
+ data["remainingDollarAllocation"] = this.remainingDollarAllocation;
7983
+ data["remainingShareAllocation"] = this.remainingShareAllocation;
7984
+ data["preFundedInventory"] = this.preFundedInventory;
7985
+ data["investorPricePerShare"] = this.investorPricePerShare;
7986
+ data["investorFeePerShare"] = this.investorFeePerShare;
7987
+ data["allInPricePerShare"] = this.allInPricePerShare;
7988
+ data["fundAdminExpense"] = this.fundAdminExpense;
7989
+ data["expenseReserve"] = this.expenseReserve;
7990
+ data["holdbackEnabled"] = this.holdbackEnabled;
7991
+ if (Array.isArray(this.documents)) {
7992
+ data["documents"] = [];
7993
+ for (let item of this.documents)
7994
+ data["documents"].push(item.toJSON());
7995
+ }
7996
+ data["spvAccountID"] = this.spvAccountID;
7997
+ data["preIPOCompanyName"] = this.preIPOCompanyName;
7998
+ data["manager"] = this.manager ? this.manager.toJSON() : undefined;
7999
+ if (Array.isArray(this.coManagers)) {
8000
+ data["coManagers"] = [];
8001
+ for (let item of this.coManagers)
8002
+ data["coManagers"].push(item.toJSON());
8003
+ }
8004
+ data["carry"] = this.carry;
8005
+ data["totalPendingSubscriptionDollars"] = this.totalPendingSubscriptionDollars;
8006
+ data["isApproved"] = this.isApproved;
8007
+ data["goLiveDate"] = this.goLiveDate ? formatDate(this.goLiveDate) : undefined;
8008
+ if (Array.isArray(this.allowedFinancialInstitutions)) {
8009
+ data["allowedFinancialInstitutions"] = [];
8010
+ for (let item of this.allowedFinancialInstitutions)
8011
+ data["allowedFinancialInstitutions"].push(item);
8012
+ }
8013
+ return data;
8014
+ }
8015
+ }
8016
+ export class Citation {
8017
+ constructor(data) {
8018
+ if (data) {
8019
+ for (var property in data) {
8020
+ if (data.hasOwnProperty(property))
8021
+ this[property] = data[property];
8022
+ }
8023
+ }
8024
+ }
8025
+ init(_data) {
8026
+ if (_data) {
8027
+ this.type = _data["type"];
8028
+ this.url = _data["url"];
8029
+ this.updatedAt = _data["updatedAt"] ? new Date(_data["updatedAt"].toString()) : undefined;
8030
+ }
8031
+ }
8032
+ static fromJS(data) {
8033
+ data = typeof data === 'object' ? data : {};
8034
+ let result = new Citation();
8035
+ result.init(data);
8036
+ return result;
8037
+ }
8038
+ toJSON(data) {
8039
+ data = typeof data === 'object' ? data : {};
8040
+ data["type"] = this.type;
8041
+ data["url"] = this.url;
8042
+ data["updatedAt"] = this.updatedAt ? this.updatedAt.toISOString() : undefined;
8043
+ return data;
8044
+ }
8045
+ }
8046
+ export class ConstructorInfo {
8047
+ constructor(data) {
8048
+ if (data) {
8049
+ for (var property in data) {
8050
+ if (data.hasOwnProperty(property))
8051
+ this[property] = data[property];
8052
+ }
8053
+ }
8054
+ }
8055
+ init(_data) {
8056
+ if (_data) {
8057
+ this.name = _data["name"];
8058
+ this.declaringType = _data["declaringType"] ? Type.fromJS(_data["declaringType"]) : undefined;
8059
+ this.reflectedType = _data["reflectedType"] ? Type.fromJS(_data["reflectedType"]) : undefined;
8060
+ this.module = _data["module"] ? Module.fromJS(_data["module"]) : undefined;
8061
+ if (Array.isArray(_data["customAttributes"])) {
8062
+ this.customAttributes = [];
8063
+ for (let item of _data["customAttributes"])
8064
+ this.customAttributes.push(CustomAttributeData.fromJS(item));
8065
+ }
8066
+ this.isCollectible = _data["isCollectible"];
8067
+ this.metadataToken = _data["metadataToken"];
8068
+ this.attributes = _data["attributes"];
8069
+ this.methodImplementationFlags = _data["methodImplementationFlags"];
8070
+ this.callingConvention = _data["callingConvention"];
8071
+ this.isAbstract = _data["isAbstract"];
8072
+ this.isConstructor = _data["isConstructor"];
8073
+ this.isFinal = _data["isFinal"];
8074
+ this.isHideBySig = _data["isHideBySig"];
8075
+ this.isSpecialName = _data["isSpecialName"];
8076
+ this.isStatic = _data["isStatic"];
8077
+ this.isVirtual = _data["isVirtual"];
8078
+ this.isAssembly = _data["isAssembly"];
8079
+ this.isFamily = _data["isFamily"];
8080
+ this.isFamilyAndAssembly = _data["isFamilyAndAssembly"];
8081
+ this.isFamilyOrAssembly = _data["isFamilyOrAssembly"];
8082
+ this.isPrivate = _data["isPrivate"];
8083
+ this.isPublic = _data["isPublic"];
8084
+ this.isConstructedGenericMethod = _data["isConstructedGenericMethod"];
8085
+ this.isGenericMethod = _data["isGenericMethod"];
8086
+ this.isGenericMethodDefinition = _data["isGenericMethodDefinition"];
8087
+ this.containsGenericParameters = _data["containsGenericParameters"];
8088
+ this.methodHandle = _data["methodHandle"] ? RuntimeMethodHandle.fromJS(_data["methodHandle"]) : undefined;
8089
+ this.isSecurityCritical = _data["isSecurityCritical"];
8090
+ this.isSecuritySafeCritical = _data["isSecuritySafeCritical"];
8091
+ this.isSecurityTransparent = _data["isSecurityTransparent"];
8092
+ this.memberType = _data["memberType"];
8093
+ }
8094
+ }
8095
+ static fromJS(data) {
8096
+ data = typeof data === 'object' ? data : {};
8097
+ let result = new ConstructorInfo();
8098
+ result.init(data);
8099
+ return result;
8100
+ }
8101
+ toJSON(data) {
8102
+ data = typeof data === 'object' ? data : {};
8103
+ data["name"] = this.name;
8104
+ data["declaringType"] = this.declaringType ? this.declaringType.toJSON() : undefined;
8105
+ data["reflectedType"] = this.reflectedType ? this.reflectedType.toJSON() : undefined;
8106
+ data["module"] = this.module ? this.module.toJSON() : undefined;
8107
+ if (Array.isArray(this.customAttributes)) {
7087
8108
  data["customAttributes"] = [];
7088
8109
  for (let item of this.customAttributes)
7089
8110
  data["customAttributes"].push(item.toJSON());
7090
8111
  }
7091
- data["escapedCodeBase"] = this.escapedCodeBase;
7092
- data["manifestModule"] = this.manifestModule ? this.manifestModule.toJSON() : undefined;
7093
- if (Array.isArray(this.modules)) {
7094
- data["modules"] = [];
7095
- for (let item of this.modules)
7096
- data["modules"].push(item.toJSON());
7097
- }
7098
- data["globalAssemblyCache"] = this.globalAssemblyCache;
7099
- data["hostContext"] = this.hostContext;
7100
- data["securityRuleSet"] = this.securityRuleSet;
8112
+ data["isCollectible"] = this.isCollectible;
8113
+ data["metadataToken"] = this.metadataToken;
8114
+ data["attributes"] = this.attributes;
8115
+ data["methodImplementationFlags"] = this.methodImplementationFlags;
8116
+ data["callingConvention"] = this.callingConvention;
8117
+ data["isAbstract"] = this.isAbstract;
8118
+ data["isConstructor"] = this.isConstructor;
8119
+ data["isFinal"] = this.isFinal;
8120
+ data["isHideBySig"] = this.isHideBySig;
8121
+ data["isSpecialName"] = this.isSpecialName;
8122
+ data["isStatic"] = this.isStatic;
8123
+ data["isVirtual"] = this.isVirtual;
8124
+ data["isAssembly"] = this.isAssembly;
8125
+ data["isFamily"] = this.isFamily;
8126
+ data["isFamilyAndAssembly"] = this.isFamilyAndAssembly;
8127
+ data["isFamilyOrAssembly"] = this.isFamilyOrAssembly;
8128
+ data["isPrivate"] = this.isPrivate;
8129
+ data["isPublic"] = this.isPublic;
8130
+ data["isConstructedGenericMethod"] = this.isConstructedGenericMethod;
8131
+ data["isGenericMethod"] = this.isGenericMethod;
8132
+ data["isGenericMethodDefinition"] = this.isGenericMethodDefinition;
8133
+ data["containsGenericParameters"] = this.containsGenericParameters;
8134
+ data["methodHandle"] = this.methodHandle ? this.methodHandle.toJSON() : undefined;
8135
+ data["isSecurityCritical"] = this.isSecurityCritical;
8136
+ data["isSecuritySafeCritical"] = this.isSecuritySafeCritical;
8137
+ data["isSecurityTransparent"] = this.isSecurityTransparent;
8138
+ data["memberType"] = this.memberType;
7101
8139
  return data;
7102
8140
  }
7103
8141
  }
7104
- export class BulkPreIPOCompany {
8142
+ export class Cookie {
7105
8143
  constructor(data) {
7106
8144
  if (data) {
7107
8145
  for (var property in data) {
@@ -7112,182 +8150,178 @@ export class BulkPreIPOCompany {
7112
8150
  }
7113
8151
  init(_data) {
7114
8152
  if (_data) {
7115
- this.id = _data["id"];
7116
- this.name = _data["name"];
8153
+ this.comment = _data["comment"];
8154
+ this.commentUri = _data["commentUri"];
8155
+ this.httpOnly = _data["httpOnly"];
8156
+ this.discard = _data["discard"];
7117
8157
  this.domain = _data["domain"];
7118
- this.linkedIn = _data["linkedIn"];
7119
- this.x = _data["x"];
7120
- this.facebook = _data["facebook"];
7121
- this.country = _data["country"];
7122
- this.address = _data["address"];
7123
- this.type = _data["type"];
7124
- this.yearEst = _data["yearEst"];
7125
- this.numJobs = _data["numJobs"];
7126
- this.description = _data["description"];
7127
- this.founder = _data["founder"];
7128
- this.logoURL = _data["logoURL"];
7129
- this.totalFunding = _data["totalFunding"];
7130
- this.lastFundingSeries = _data["lastFundingSeries"];
7131
- this.lastFundingTotal = _data["lastFundingTotal"];
7132
- this.totalFundingRounds = _data["totalFundingRounds"];
7133
- this.lastFundingDate = _data["lastFundingDate"] ? new Date(_data["lastFundingDate"].toString()) : undefined;
7134
- this.lastFundingType = _data["lastFundingType"];
7135
- this.numInvestors = _data["numInvestors"];
7136
- this.twelveMonthTrailingRevenue = _data["twelveMonthTrailingRevenue"];
7137
- this.lastValuation = _data["lastValuation"];
7138
- this.lastSharePrice = _data["lastSharePrice"];
7139
- this.numCustomers = _data["numCustomers"];
7140
- if (Array.isArray(_data["executiveTeam"])) {
7141
- this.executiveTeam = [];
7142
- for (let item of _data["executiveTeam"])
7143
- this.executiveTeam.push(item);
7144
- }
7145
- this.numSharesOutstanding = _data["numSharesOutstanding"];
7146
- if (Array.isArray(_data["notableInvestorsLogos"])) {
7147
- this.notableInvestorsLogos = [];
7148
- for (let item of _data["notableInvestorsLogos"])
7149
- this.notableInvestorsLogos.push(item);
7150
- }
7151
- if (Array.isArray(_data["categories"])) {
7152
- this.categories = [];
7153
- for (let item of _data["categories"])
7154
- this.categories.push(item);
7155
- }
7156
- this.referencePrice = _data["referencePrice"];
7157
- this.referencePriceDate = _data["referencePriceDate"] ? new Date(_data["referencePriceDate"].toString()) : undefined;
7158
- this.symbol = _data["symbol"];
7159
- this.listingType = _data["listingType"];
7160
- this.isActive = _data["isActive"];
7161
- if (Array.isArray(_data["listings"])) {
7162
- this.listings = [];
7163
- for (let item of _data["listings"])
7164
- this.listings.push(Listing.fromJS(item));
7165
- }
7166
- if (Array.isArray(_data["milestones"])) {
7167
- this.milestones = [];
7168
- for (let item of _data["milestones"])
7169
- this.milestones.push(Milestone.fromJS(item));
7170
- }
7171
- if (Array.isArray(_data["news"])) {
7172
- this.news = [];
7173
- for (let item of _data["news"])
7174
- this.news.push(PreIPOCompanyNews.fromJS(item));
7175
- }
7176
- if (Array.isArray(_data["research"])) {
7177
- this.research = [];
7178
- for (let item of _data["research"])
7179
- this.research.push(PreIPOCompanyResearch.fromJS(item));
8158
+ this.expired = _data["expired"];
8159
+ this.expires = _data["expires"] ? new Date(_data["expires"].toString()) : undefined;
8160
+ this.name = _data["name"];
8161
+ this.path = _data["path"];
8162
+ this.port = _data["port"];
8163
+ this.secure = _data["secure"];
8164
+ this.timeStamp = _data["timeStamp"] ? new Date(_data["timeStamp"].toString()) : undefined;
8165
+ this.value = _data["value"];
8166
+ this.version = _data["version"];
8167
+ }
8168
+ }
8169
+ static fromJS(data) {
8170
+ data = typeof data === 'object' ? data : {};
8171
+ let result = new Cookie();
8172
+ result.init(data);
8173
+ return result;
8174
+ }
8175
+ toJSON(data) {
8176
+ data = typeof data === 'object' ? data : {};
8177
+ data["comment"] = this.comment;
8178
+ data["commentUri"] = this.commentUri;
8179
+ data["httpOnly"] = this.httpOnly;
8180
+ data["discard"] = this.discard;
8181
+ data["domain"] = this.domain;
8182
+ data["expired"] = this.expired;
8183
+ data["expires"] = this.expires ? this.expires.toISOString() : undefined;
8184
+ data["name"] = this.name;
8185
+ data["path"] = this.path;
8186
+ data["port"] = this.port;
8187
+ data["secure"] = this.secure;
8188
+ data["timeStamp"] = this.timeStamp ? this.timeStamp.toISOString() : undefined;
8189
+ data["value"] = this.value;
8190
+ data["version"] = this.version;
8191
+ return data;
8192
+ }
8193
+ }
8194
+ export class CreateFinancialAdvisor {
8195
+ constructor(data) {
8196
+ if (data) {
8197
+ for (var property in data) {
8198
+ if (data.hasOwnProperty(property))
8199
+ this[property] = data[property];
7180
8200
  }
7181
- if (Array.isArray(_data["fundingRounds"])) {
7182
- this.fundingRounds = [];
7183
- for (let item of _data["fundingRounds"])
7184
- this.fundingRounds.push(PreIPOCompanyFundingRound.fromJS(item));
8201
+ }
8202
+ }
8203
+ init(_data) {
8204
+ if (_data) {
8205
+ this.financialInstitutionId = _data["financialInstitutionId"];
8206
+ this.crdNumber = _data["crdNumber"];
8207
+ this.iardNumber = _data["iardNumber"];
8208
+ this.firstName = _data["firstName"];
8209
+ this.middleName = _data["middleName"];
8210
+ this.lastName = _data["lastName"];
8211
+ this.mailingAddress = _data["mailingAddress"];
8212
+ this.mailingCity = _data["mailingCity"];
8213
+ this.mailingState = _data["mailingState"];
8214
+ this.mailingZipCode = _data["mailingZipCode"];
8215
+ this.mailingCountryCode = _data["mailingCountryCode"];
8216
+ this.branchNumber = _data["branchNumber"];
8217
+ this.phoneCountryCode = _data["phoneCountryCode"];
8218
+ this.phoneNumber = _data["phoneNumber"];
8219
+ this.phoneExtension = _data["phoneExtension"];
8220
+ this.emailAddress = _data["emailAddress"];
8221
+ this.fax = _data["fax"];
8222
+ this.prefix = _data["prefix"];
8223
+ this.broker = _data["broker"];
8224
+ }
8225
+ }
8226
+ static fromJS(data) {
8227
+ data = typeof data === 'object' ? data : {};
8228
+ let result = new CreateFinancialAdvisor();
8229
+ result.init(data);
8230
+ return result;
8231
+ }
8232
+ toJSON(data) {
8233
+ data = typeof data === 'object' ? data : {};
8234
+ data["financialInstitutionId"] = this.financialInstitutionId;
8235
+ data["crdNumber"] = this.crdNumber;
8236
+ data["iardNumber"] = this.iardNumber;
8237
+ data["firstName"] = this.firstName;
8238
+ data["middleName"] = this.middleName;
8239
+ data["lastName"] = this.lastName;
8240
+ data["mailingAddress"] = this.mailingAddress;
8241
+ data["mailingCity"] = this.mailingCity;
8242
+ data["mailingState"] = this.mailingState;
8243
+ data["mailingZipCode"] = this.mailingZipCode;
8244
+ data["mailingCountryCode"] = this.mailingCountryCode;
8245
+ data["branchNumber"] = this.branchNumber;
8246
+ data["phoneCountryCode"] = this.phoneCountryCode;
8247
+ data["phoneNumber"] = this.phoneNumber;
8248
+ data["phoneExtension"] = this.phoneExtension;
8249
+ data["emailAddress"] = this.emailAddress;
8250
+ data["fax"] = this.fax;
8251
+ data["prefix"] = this.prefix;
8252
+ data["broker"] = this.broker;
8253
+ return data;
8254
+ }
8255
+ }
8256
+ /** CreateIndicationOfInterest represents the primary offering information to Create an IoI. */
8257
+ export class CreateIndicationOfInterest {
8258
+ constructor(data) {
8259
+ if (data) {
8260
+ for (var property in data) {
8261
+ if (data.hasOwnProperty(property))
8262
+ this[property] = data[property];
7185
8263
  }
7186
- if (Array.isArray(_data["investments"])) {
7187
- this.investments = [];
7188
- for (let item of _data["investments"])
7189
- this.investments.push(PreIPOCompanyInvestment.fromJS(item));
8264
+ }
8265
+ }
8266
+ init(_data) {
8267
+ if (_data) {
8268
+ this.investorId = _data["investorId"];
8269
+ this.preIPOCompanyId = _data["preIPOCompanyId"];
8270
+ this.notionalAmount = _data["notionalAmount"];
8271
+ this.currency = _data["currency"];
8272
+ }
8273
+ }
8274
+ static fromJS(data) {
8275
+ data = typeof data === 'object' ? data : {};
8276
+ let result = new CreateIndicationOfInterest();
8277
+ result.init(data);
8278
+ return result;
8279
+ }
8280
+ toJSON(data) {
8281
+ data = typeof data === 'object' ? data : {};
8282
+ data["investorId"] = this.investorId;
8283
+ data["preIPOCompanyId"] = this.preIPOCompanyId;
8284
+ data["notionalAmount"] = this.notionalAmount;
8285
+ data["currency"] = this.currency;
8286
+ return data;
8287
+ }
8288
+ }
8289
+ export class CreateIndividualEntityInvestors {
8290
+ constructor(data) {
8291
+ if (data) {
8292
+ for (var property in data) {
8293
+ if (data.hasOwnProperty(property))
8294
+ this[property] = data[property];
7190
8295
  }
7191
- if (Array.isArray(_data["spvs"])) {
7192
- this.spvs = [];
7193
- for (let item of _data["spvs"])
7194
- this.spvs.push(BulkPreIPOCompanySPV.fromJS(item));
8296
+ }
8297
+ }
8298
+ init(_data) {
8299
+ if (_data) {
8300
+ if (Array.isArray(_data["individualInvestors"])) {
8301
+ this.individualInvestors = [];
8302
+ for (let item of _data["individualInvestors"])
8303
+ this.individualInvestors.push(IndividualEntityInvestorBase.fromJS(item));
7195
8304
  }
7196
8305
  }
7197
8306
  }
7198
8307
  static fromJS(data) {
7199
8308
  data = typeof data === 'object' ? data : {};
7200
- let result = new BulkPreIPOCompany();
8309
+ let result = new CreateIndividualEntityInvestors();
7201
8310
  result.init(data);
7202
8311
  return result;
7203
8312
  }
7204
8313
  toJSON(data) {
7205
8314
  data = typeof data === 'object' ? data : {};
7206
- data["id"] = this.id;
7207
- data["name"] = this.name;
7208
- data["domain"] = this.domain;
7209
- data["linkedIn"] = this.linkedIn;
7210
- data["x"] = this.x;
7211
- data["facebook"] = this.facebook;
7212
- data["country"] = this.country;
7213
- data["address"] = this.address;
7214
- data["type"] = this.type;
7215
- data["yearEst"] = this.yearEst;
7216
- data["numJobs"] = this.numJobs;
7217
- data["description"] = this.description;
7218
- data["founder"] = this.founder;
7219
- data["logoURL"] = this.logoURL;
7220
- data["totalFunding"] = this.totalFunding;
7221
- data["lastFundingSeries"] = this.lastFundingSeries;
7222
- data["lastFundingTotal"] = this.lastFundingTotal;
7223
- data["totalFundingRounds"] = this.totalFundingRounds;
7224
- data["lastFundingDate"] = this.lastFundingDate ? formatDate(this.lastFundingDate) : undefined;
7225
- data["lastFundingType"] = this.lastFundingType;
7226
- data["numInvestors"] = this.numInvestors;
7227
- data["twelveMonthTrailingRevenue"] = this.twelveMonthTrailingRevenue;
7228
- data["lastValuation"] = this.lastValuation;
7229
- data["lastSharePrice"] = this.lastSharePrice;
7230
- data["numCustomers"] = this.numCustomers;
7231
- if (Array.isArray(this.executiveTeam)) {
7232
- data["executiveTeam"] = [];
7233
- for (let item of this.executiveTeam)
7234
- data["executiveTeam"].push(item);
7235
- }
7236
- data["numSharesOutstanding"] = this.numSharesOutstanding;
7237
- if (Array.isArray(this.notableInvestorsLogos)) {
7238
- data["notableInvestorsLogos"] = [];
7239
- for (let item of this.notableInvestorsLogos)
7240
- data["notableInvestorsLogos"].push(item);
7241
- }
7242
- if (Array.isArray(this.categories)) {
7243
- data["categories"] = [];
7244
- for (let item of this.categories)
7245
- data["categories"].push(item);
7246
- }
7247
- data["referencePrice"] = this.referencePrice;
7248
- data["referencePriceDate"] = this.referencePriceDate ? this.referencePriceDate.toISOString() : undefined;
7249
- data["symbol"] = this.symbol;
7250
- data["listingType"] = this.listingType;
7251
- data["isActive"] = this.isActive;
7252
- if (Array.isArray(this.listings)) {
7253
- data["listings"] = [];
7254
- for (let item of this.listings)
7255
- data["listings"].push(item.toJSON());
7256
- }
7257
- if (Array.isArray(this.milestones)) {
7258
- data["milestones"] = [];
7259
- for (let item of this.milestones)
7260
- data["milestones"].push(item.toJSON());
7261
- }
7262
- if (Array.isArray(this.news)) {
7263
- data["news"] = [];
7264
- for (let item of this.news)
7265
- data["news"].push(item.toJSON());
7266
- }
7267
- if (Array.isArray(this.research)) {
7268
- data["research"] = [];
7269
- for (let item of this.research)
7270
- data["research"].push(item.toJSON());
7271
- }
7272
- if (Array.isArray(this.fundingRounds)) {
7273
- data["fundingRounds"] = [];
7274
- for (let item of this.fundingRounds)
7275
- data["fundingRounds"].push(item.toJSON());
7276
- }
7277
- if (Array.isArray(this.investments)) {
7278
- data["investments"] = [];
7279
- for (let item of this.investments)
7280
- data["investments"].push(item.toJSON());
7281
- }
7282
- if (Array.isArray(this.spvs)) {
7283
- data["spvs"] = [];
7284
- for (let item of this.spvs)
7285
- data["spvs"].push(item.toJSON());
8315
+ if (Array.isArray(this.individualInvestors)) {
8316
+ data["individualInvestors"] = [];
8317
+ for (let item of this.individualInvestors)
8318
+ data["individualInvestors"].push(item.toJSON());
7286
8319
  }
7287
8320
  return data;
7288
8321
  }
7289
8322
  }
7290
- export class BulkPreIPOCompanyApiResponse {
8323
+ /** Create Investor Lead represents the investor lead information required for the primary offering. */
8324
+ export class CreateInvestor {
7291
8325
  constructor(data) {
7292
8326
  if (data) {
7293
8327
  for (var property in data) {
@@ -7298,32 +8332,30 @@ export class BulkPreIPOCompanyApiResponse {
7298
8332
  }
7299
8333
  init(_data) {
7300
8334
  if (_data) {
7301
- if (Array.isArray(_data["items"])) {
7302
- this.items = [];
7303
- for (let item of _data["items"])
7304
- this.items.push(BulkPreIPOCompany.fromJS(item));
7305
- }
7306
- this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
8335
+ this.financialInstitutionId = _data["financialInstitutionId"];
8336
+ this.financialAdvisorId = _data["financialAdvisorId"];
8337
+ this.investorReferenceId = _data["investorReferenceId"];
8338
+ this.type = _data["type"];
8339
+ this.pii = _data["pii"] ? InvestorPii.fromJS(_data["pii"]) : undefined;
7307
8340
  }
7308
8341
  }
7309
8342
  static fromJS(data) {
7310
8343
  data = typeof data === 'object' ? data : {};
7311
- let result = new BulkPreIPOCompanyApiResponse();
8344
+ let result = new CreateInvestor();
7312
8345
  result.init(data);
7313
8346
  return result;
7314
8347
  }
7315
8348
  toJSON(data) {
7316
8349
  data = typeof data === 'object' ? data : {};
7317
- if (Array.isArray(this.items)) {
7318
- data["items"] = [];
7319
- for (let item of this.items)
7320
- data["items"].push(item.toJSON());
7321
- }
7322
- data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
8350
+ data["financialInstitutionId"] = this.financialInstitutionId;
8351
+ data["financialAdvisorId"] = this.financialAdvisorId;
8352
+ data["investorReferenceId"] = this.investorReferenceId;
8353
+ data["type"] = this.type;
8354
+ data["pii"] = this.pii ? this.pii.toJSON() : undefined;
7323
8355
  return data;
7324
8356
  }
7325
8357
  }
7326
- export class BulkPreIPOCompanySPV {
8358
+ export class CreateInvestorSubscription {
7327
8359
  constructor(data) {
7328
8360
  if (data) {
7329
8361
  for (var property in data) {
@@ -7334,142 +8366,28 @@ export class BulkPreIPOCompanySPV {
7334
8366
  }
7335
8367
  init(_data) {
7336
8368
  if (_data) {
7337
- this.id = _data["id"];
7338
- this.preIPOCompanyInvestmentId = _data["preIPOCompanyInvestmentId"];
7339
- this.preIPOCompanyId = _data["preIPOCompanyId"];
7340
- this.totalDollarAllocation = _data["totalDollarAllocation"];
7341
- this.minCommitmentAmount = _data["minCommitmentAmount"];
7342
- this.name = _data["name"];
7343
- this.valuation = _data["valuation"];
7344
- this.synopsis = _data["synopsis"];
7345
- this.description = _data["description"];
7346
- if (Array.isArray(_data["notableInvestors"])) {
7347
- this.notableInvestors = [];
7348
- for (let item of _data["notableInvestors"])
7349
- this.notableInvestors.push(item);
7350
- }
7351
- this.managementFee = _data["managementFee"];
7352
- this.managementFeeYearsPayable = _data["managementFeeYearsPayable"];
7353
- this.fundingDeadline = _data["fundingDeadline"] ? new Date(_data["fundingDeadline"].toString()) : undefined;
7354
- if (Array.isArray(_data["exemptionsClaimed"])) {
7355
- this.exemptionsClaimed = [];
7356
- for (let item of _data["exemptionsClaimed"])
7357
- this.exemptionsClaimed.push(item);
7358
- }
7359
- this.monarkStage = _data["monarkStage"];
7360
- this.cusip = _data["cusip"];
7361
- this.tradingSymbol = _data["tradingSymbol"];
7362
- this.closeDate = _data["closeDate"] ? new Date(_data["closeDate"].toString()) : undefined;
7363
- this.spvCustodian = _data["spvCustodian"];
7364
- this.totalShareAllocation = _data["totalShareAllocation"];
7365
- this.totalNumberOfSeats = _data["totalNumberOfSeats"];
7366
- this.numberOfSeatsRemaining = _data["numberOfSeatsRemaining"];
7367
- this.remainingDollarAllocation = _data["remainingDollarAllocation"];
7368
- this.remainingShareAllocation = _data["remainingShareAllocation"];
7369
- this.preFundedInventory = _data["preFundedInventory"];
7370
- this.investorPricePerShare = _data["investorPricePerShare"];
7371
- this.investorFeePerShare = _data["investorFeePerShare"];
7372
- this.allInPricePerShare = _data["allInPricePerShare"];
7373
- this.fundAdminExpense = _data["fundAdminExpense"];
7374
- this.expenseReserve = _data["expenseReserve"];
7375
- this.holdbackEnabled = _data["holdbackEnabled"];
7376
- if (Array.isArray(_data["documents"])) {
7377
- this.documents = [];
7378
- for (let item of _data["documents"])
7379
- this.documents.push(Document.fromJS(item));
7380
- }
7381
- this.spvAccountID = _data["spvAccountID"];
7382
- this.preIPOCompanyName = _data["preIPOCompanyName"];
7383
- this.manager = _data["manager"] ? Partner.fromJS(_data["manager"]) : undefined;
7384
- if (Array.isArray(_data["coManagers"])) {
7385
- this.coManagers = [];
7386
- for (let item of _data["coManagers"])
7387
- this.coManagers.push(Partner.fromJS(item));
7388
- }
7389
- this.carry = _data["carry"];
7390
- this.totalPendingSubscriptionDollars = _data["totalPendingSubscriptionDollars"];
7391
- this.isApproved = _data["isApproved"];
7392
- this.goLiveDate = _data["goLiveDate"] ? new Date(_data["goLiveDate"].toString()) : undefined;
7393
- if (Array.isArray(_data["allowedFinancialInstitutions"])) {
7394
- this.allowedFinancialInstitutions = [];
7395
- for (let item of _data["allowedFinancialInstitutions"])
7396
- this.allowedFinancialInstitutions.push(item);
7397
- }
8369
+ this.preIPOCompanySPVId = _data["preIPOCompanySPVId"];
8370
+ this.investorId = _data["investorId"];
8371
+ this.amountReservedDollars = _data["amountReservedDollars"];
8372
+ this.orderReferenceId = _data["orderReferenceId"];
7398
8373
  }
7399
8374
  }
7400
8375
  static fromJS(data) {
7401
8376
  data = typeof data === 'object' ? data : {};
7402
- let result = new BulkPreIPOCompanySPV();
8377
+ let result = new CreateInvestorSubscription();
7403
8378
  result.init(data);
7404
8379
  return result;
7405
8380
  }
7406
8381
  toJSON(data) {
7407
8382
  data = typeof data === 'object' ? data : {};
7408
- data["id"] = this.id;
7409
- data["preIPOCompanyInvestmentId"] = this.preIPOCompanyInvestmentId;
7410
- data["preIPOCompanyId"] = this.preIPOCompanyId;
7411
- data["totalDollarAllocation"] = this.totalDollarAllocation;
7412
- data["minCommitmentAmount"] = this.minCommitmentAmount;
7413
- data["name"] = this.name;
7414
- data["valuation"] = this.valuation;
7415
- data["synopsis"] = this.synopsis;
7416
- data["description"] = this.description;
7417
- if (Array.isArray(this.notableInvestors)) {
7418
- data["notableInvestors"] = [];
7419
- for (let item of this.notableInvestors)
7420
- data["notableInvestors"].push(item);
7421
- }
7422
- data["managementFee"] = this.managementFee;
7423
- data["managementFeeYearsPayable"] = this.managementFeeYearsPayable;
7424
- data["fundingDeadline"] = this.fundingDeadline ? formatDate(this.fundingDeadline) : undefined;
7425
- if (Array.isArray(this.exemptionsClaimed)) {
7426
- data["exemptionsClaimed"] = [];
7427
- for (let item of this.exemptionsClaimed)
7428
- data["exemptionsClaimed"].push(item);
7429
- }
7430
- data["monarkStage"] = this.monarkStage;
7431
- data["cusip"] = this.cusip;
7432
- data["tradingSymbol"] = this.tradingSymbol;
7433
- data["closeDate"] = this.closeDate ? this.closeDate.toISOString() : undefined;
7434
- data["spvCustodian"] = this.spvCustodian;
7435
- data["totalShareAllocation"] = this.totalShareAllocation;
7436
- data["totalNumberOfSeats"] = this.totalNumberOfSeats;
7437
- data["numberOfSeatsRemaining"] = this.numberOfSeatsRemaining;
7438
- data["remainingDollarAllocation"] = this.remainingDollarAllocation;
7439
- data["remainingShareAllocation"] = this.remainingShareAllocation;
7440
- data["preFundedInventory"] = this.preFundedInventory;
7441
- data["investorPricePerShare"] = this.investorPricePerShare;
7442
- data["investorFeePerShare"] = this.investorFeePerShare;
7443
- data["allInPricePerShare"] = this.allInPricePerShare;
7444
- data["fundAdminExpense"] = this.fundAdminExpense;
7445
- data["expenseReserve"] = this.expenseReserve;
7446
- data["holdbackEnabled"] = this.holdbackEnabled;
7447
- if (Array.isArray(this.documents)) {
7448
- data["documents"] = [];
7449
- for (let item of this.documents)
7450
- data["documents"].push(item.toJSON());
7451
- }
7452
- data["spvAccountID"] = this.spvAccountID;
7453
- data["preIPOCompanyName"] = this.preIPOCompanyName;
7454
- data["manager"] = this.manager ? this.manager.toJSON() : undefined;
7455
- if (Array.isArray(this.coManagers)) {
7456
- data["coManagers"] = [];
7457
- for (let item of this.coManagers)
7458
- data["coManagers"].push(item.toJSON());
7459
- }
7460
- data["carry"] = this.carry;
7461
- data["totalPendingSubscriptionDollars"] = this.totalPendingSubscriptionDollars;
7462
- data["isApproved"] = this.isApproved;
7463
- data["goLiveDate"] = this.goLiveDate ? formatDate(this.goLiveDate) : undefined;
7464
- if (Array.isArray(this.allowedFinancialInstitutions)) {
7465
- data["allowedFinancialInstitutions"] = [];
7466
- for (let item of this.allowedFinancialInstitutions)
7467
- data["allowedFinancialInstitutions"].push(item);
7468
- }
8383
+ data["preIPOCompanySPVId"] = this.preIPOCompanySPVId;
8384
+ data["investorId"] = this.investorId;
8385
+ data["amountReservedDollars"] = this.amountReservedDollars;
8386
+ data["orderReferenceId"] = this.orderReferenceId;
7469
8387
  return data;
7470
8388
  }
7471
8389
  }
7472
- export class Citation {
8390
+ export class CreatePreIPOCompanySPVPartnerApproval {
7473
8391
  constructor(data) {
7474
8392
  if (data) {
7475
8393
  for (var property in data) {
@@ -7480,26 +8398,23 @@ export class Citation {
7480
8398
  }
7481
8399
  init(_data) {
7482
8400
  if (_data) {
7483
- this.type = _data["type"];
7484
- this.url = _data["url"];
7485
- this.updatedAt = _data["updatedAt"] ? new Date(_data["updatedAt"].toString()) : undefined;
8401
+ this.notes = _data["notes"];
7486
8402
  }
7487
8403
  }
7488
8404
  static fromJS(data) {
7489
8405
  data = typeof data === 'object' ? data : {};
7490
- let result = new Citation();
8406
+ let result = new CreatePreIPOCompanySPVPartnerApproval();
7491
8407
  result.init(data);
7492
8408
  return result;
7493
8409
  }
7494
8410
  toJSON(data) {
7495
8411
  data = typeof data === 'object' ? data : {};
7496
- data["type"] = this.type;
7497
- data["url"] = this.url;
7498
- data["updatedAt"] = this.updatedAt ? this.updatedAt.toISOString() : undefined;
8412
+ data["notes"] = this.notes;
7499
8413
  return data;
7500
8414
  }
7501
8415
  }
7502
- export class ConstructorInfo {
8416
+ /** Create Questionnaire allows the creation of a questionaire with the primary offerring. */
8417
+ export class CreateQuestionnaire {
7503
8418
  constructor(data) {
7504
8419
  if (data) {
7505
8420
  for (var property in data) {
@@ -7507,95 +8422,41 @@ export class ConstructorInfo {
7507
8422
  this[property] = data[property];
7508
8423
  }
7509
8424
  }
8425
+ if (!data) {
8426
+ this.createQuestions = [];
8427
+ }
7510
8428
  }
7511
8429
  init(_data) {
7512
8430
  if (_data) {
7513
8431
  this.name = _data["name"];
7514
- this.declaringType = _data["declaringType"] ? Type.fromJS(_data["declaringType"]) : undefined;
7515
- this.reflectedType = _data["reflectedType"] ? Type.fromJS(_data["reflectedType"]) : undefined;
7516
- this.module = _data["module"] ? Module.fromJS(_data["module"]) : undefined;
7517
- if (Array.isArray(_data["customAttributes"])) {
7518
- this.customAttributes = [];
7519
- for (let item of _data["customAttributes"])
7520
- this.customAttributes.push(CustomAttributeData.fromJS(item));
8432
+ this.title = _data["title"];
8433
+ if (Array.isArray(_data["createQuestions"])) {
8434
+ this.createQuestions = [];
8435
+ for (let item of _data["createQuestions"])
8436
+ this.createQuestions.push(CreateQuestionnaireQuestion.fromJS(item));
7521
8437
  }
7522
- this.isCollectible = _data["isCollectible"];
7523
- this.metadataToken = _data["metadataToken"];
7524
- this.attributes = _data["attributes"];
7525
- this.methodImplementationFlags = _data["methodImplementationFlags"];
7526
- this.callingConvention = _data["callingConvention"];
7527
- this.isAbstract = _data["isAbstract"];
7528
- this.isConstructor = _data["isConstructor"];
7529
- this.isFinal = _data["isFinal"];
7530
- this.isHideBySig = _data["isHideBySig"];
7531
- this.isSpecialName = _data["isSpecialName"];
7532
- this.isStatic = _data["isStatic"];
7533
- this.isVirtual = _data["isVirtual"];
7534
- this.isAssembly = _data["isAssembly"];
7535
- this.isFamily = _data["isFamily"];
7536
- this.isFamilyAndAssembly = _data["isFamilyAndAssembly"];
7537
- this.isFamilyOrAssembly = _data["isFamilyOrAssembly"];
7538
- this.isPrivate = _data["isPrivate"];
7539
- this.isPublic = _data["isPublic"];
7540
- this.isConstructedGenericMethod = _data["isConstructedGenericMethod"];
7541
- this.isGenericMethod = _data["isGenericMethod"];
7542
- this.isGenericMethodDefinition = _data["isGenericMethodDefinition"];
7543
- this.containsGenericParameters = _data["containsGenericParameters"];
7544
- this.methodHandle = _data["methodHandle"] ? RuntimeMethodHandle.fromJS(_data["methodHandle"]) : undefined;
7545
- this.isSecurityCritical = _data["isSecurityCritical"];
7546
- this.isSecuritySafeCritical = _data["isSecuritySafeCritical"];
7547
- this.isSecurityTransparent = _data["isSecurityTransparent"];
7548
- this.memberType = _data["memberType"];
7549
8438
  }
7550
8439
  }
7551
8440
  static fromJS(data) {
7552
8441
  data = typeof data === 'object' ? data : {};
7553
- let result = new ConstructorInfo();
8442
+ let result = new CreateQuestionnaire();
7554
8443
  result.init(data);
7555
8444
  return result;
7556
8445
  }
7557
8446
  toJSON(data) {
7558
8447
  data = typeof data === 'object' ? data : {};
7559
8448
  data["name"] = this.name;
7560
- data["declaringType"] = this.declaringType ? this.declaringType.toJSON() : undefined;
7561
- data["reflectedType"] = this.reflectedType ? this.reflectedType.toJSON() : undefined;
7562
- data["module"] = this.module ? this.module.toJSON() : undefined;
7563
- if (Array.isArray(this.customAttributes)) {
7564
- data["customAttributes"] = [];
7565
- for (let item of this.customAttributes)
7566
- data["customAttributes"].push(item.toJSON());
8449
+ data["title"] = this.title;
8450
+ if (Array.isArray(this.createQuestions)) {
8451
+ data["createQuestions"] = [];
8452
+ for (let item of this.createQuestions)
8453
+ data["createQuestions"].push(item.toJSON());
7567
8454
  }
7568
- data["isCollectible"] = this.isCollectible;
7569
- data["metadataToken"] = this.metadataToken;
7570
- data["attributes"] = this.attributes;
7571
- data["methodImplementationFlags"] = this.methodImplementationFlags;
7572
- data["callingConvention"] = this.callingConvention;
7573
- data["isAbstract"] = this.isAbstract;
7574
- data["isConstructor"] = this.isConstructor;
7575
- data["isFinal"] = this.isFinal;
7576
- data["isHideBySig"] = this.isHideBySig;
7577
- data["isSpecialName"] = this.isSpecialName;
7578
- data["isStatic"] = this.isStatic;
7579
- data["isVirtual"] = this.isVirtual;
7580
- data["isAssembly"] = this.isAssembly;
7581
- data["isFamily"] = this.isFamily;
7582
- data["isFamilyAndAssembly"] = this.isFamilyAndAssembly;
7583
- data["isFamilyOrAssembly"] = this.isFamilyOrAssembly;
7584
- data["isPrivate"] = this.isPrivate;
7585
- data["isPublic"] = this.isPublic;
7586
- data["isConstructedGenericMethod"] = this.isConstructedGenericMethod;
7587
- data["isGenericMethod"] = this.isGenericMethod;
7588
- data["isGenericMethodDefinition"] = this.isGenericMethodDefinition;
7589
- data["containsGenericParameters"] = this.containsGenericParameters;
7590
- data["methodHandle"] = this.methodHandle ? this.methodHandle.toJSON() : undefined;
7591
- data["isSecurityCritical"] = this.isSecurityCritical;
7592
- data["isSecuritySafeCritical"] = this.isSecuritySafeCritical;
7593
- data["isSecurityTransparent"] = this.isSecurityTransparent;
7594
- data["memberType"] = this.memberType;
7595
8455
  return data;
7596
8456
  }
7597
8457
  }
7598
- export class Cookie {
8458
+ /** Create the Questionnaire answer. */
8459
+ export class CreateQuestionnaireAnswer {
7599
8460
  constructor(data) {
7600
8461
  if (data) {
7601
8462
  for (var property in data) {
@@ -7603,51 +8464,41 @@ export class Cookie {
7603
8464
  this[property] = data[property];
7604
8465
  }
7605
8466
  }
8467
+ if (!data) {
8468
+ this.createQuestionAnswers = [];
8469
+ }
7606
8470
  }
7607
8471
  init(_data) {
7608
8472
  if (_data) {
7609
- this.comment = _data["comment"];
7610
- this.commentUri = _data["commentUri"];
7611
- this.httpOnly = _data["httpOnly"];
7612
- this.discard = _data["discard"];
7613
- this.domain = _data["domain"];
7614
- this.expired = _data["expired"];
7615
- this.expires = _data["expires"] ? new Date(_data["expires"].toString()) : undefined;
7616
- this.name = _data["name"];
7617
- this.path = _data["path"];
7618
- this.port = _data["port"];
7619
- this.secure = _data["secure"];
7620
- this.timeStamp = _data["timeStamp"] ? new Date(_data["timeStamp"].toString()) : undefined;
7621
- this.value = _data["value"];
7622
- this.version = _data["version"];
8473
+ this.questionnaireId = _data["questionnaireId"];
8474
+ this.investorId = _data["investorId"];
8475
+ if (Array.isArray(_data["createQuestionAnswers"])) {
8476
+ this.createQuestionAnswers = [];
8477
+ for (let item of _data["createQuestionAnswers"])
8478
+ this.createQuestionAnswers.push(CreateQuestionnaireQuestionAnswer.fromJS(item));
8479
+ }
7623
8480
  }
7624
8481
  }
7625
8482
  static fromJS(data) {
7626
8483
  data = typeof data === 'object' ? data : {};
7627
- let result = new Cookie();
8484
+ let result = new CreateQuestionnaireAnswer();
7628
8485
  result.init(data);
7629
8486
  return result;
7630
8487
  }
7631
8488
  toJSON(data) {
7632
8489
  data = typeof data === 'object' ? data : {};
7633
- data["comment"] = this.comment;
7634
- data["commentUri"] = this.commentUri;
7635
- data["httpOnly"] = this.httpOnly;
7636
- data["discard"] = this.discard;
7637
- data["domain"] = this.domain;
7638
- data["expired"] = this.expired;
7639
- data["expires"] = this.expires ? this.expires.toISOString() : undefined;
7640
- data["name"] = this.name;
7641
- data["path"] = this.path;
7642
- data["port"] = this.port;
7643
- data["secure"] = this.secure;
7644
- data["timeStamp"] = this.timeStamp ? this.timeStamp.toISOString() : undefined;
7645
- data["value"] = this.value;
7646
- data["version"] = this.version;
8490
+ data["questionnaireId"] = this.questionnaireId;
8491
+ data["investorId"] = this.investorId;
8492
+ if (Array.isArray(this.createQuestionAnswers)) {
8493
+ data["createQuestionAnswers"] = [];
8494
+ for (let item of this.createQuestionAnswers)
8495
+ data["createQuestionAnswers"].push(item.toJSON());
8496
+ }
7647
8497
  return data;
7648
8498
  }
7649
8499
  }
7650
- export class CreateFinancialAdvisor {
8500
+ /** Create Questionnaire Question. */
8501
+ export class CreateQuestionnaireQuestion {
7651
8502
  constructor(data) {
7652
8503
  if (data) {
7653
8504
  for (var property in data) {
@@ -7658,59 +8509,49 @@ export class CreateFinancialAdvisor {
7658
8509
  }
7659
8510
  init(_data) {
7660
8511
  if (_data) {
7661
- this.financialInstitutionId = _data["financialInstitutionId"];
7662
- this.crdNumber = _data["crdNumber"];
7663
- this.iardNumber = _data["iardNumber"];
7664
- this.firstName = _data["firstName"];
7665
- this.middleName = _data["middleName"];
7666
- this.lastName = _data["lastName"];
7667
- this.mailingAddress = _data["mailingAddress"];
7668
- this.mailingCity = _data["mailingCity"];
7669
- this.mailingState = _data["mailingState"];
7670
- this.mailingZipCode = _data["mailingZipCode"];
7671
- this.mailingCountryCode = _data["mailingCountryCode"];
7672
- this.branchNumber = _data["branchNumber"];
7673
- this.phoneCountryCode = _data["phoneCountryCode"];
7674
- this.phoneNumber = _data["phoneNumber"];
7675
- this.phoneExtension = _data["phoneExtension"];
7676
- this.emailAddress = _data["emailAddress"];
7677
- this.fax = _data["fax"];
7678
- this.prefix = _data["prefix"];
7679
- this.broker = _data["broker"];
8512
+ this.identifier = _data["identifier"];
8513
+ this.sequence = _data["sequence"];
8514
+ this.status = _data["status"];
8515
+ this.text = _data["text"];
8516
+ this.explanation = _data["explanation"];
8517
+ this.format = _data["format"];
8518
+ if (Array.isArray(_data["options"])) {
8519
+ this.options = [];
8520
+ for (let item of _data["options"])
8521
+ this.options.push(item);
8522
+ }
8523
+ this.scaleMin = _data["scaleMin"];
8524
+ this.scaleMax = _data["scaleMax"];
8525
+ this.scaleStep = _data["scaleStep"];
7680
8526
  }
7681
8527
  }
7682
8528
  static fromJS(data) {
7683
8529
  data = typeof data === 'object' ? data : {};
7684
- let result = new CreateFinancialAdvisor();
8530
+ let result = new CreateQuestionnaireQuestion();
7685
8531
  result.init(data);
7686
8532
  return result;
7687
8533
  }
7688
8534
  toJSON(data) {
7689
8535
  data = typeof data === 'object' ? data : {};
7690
- data["financialInstitutionId"] = this.financialInstitutionId;
7691
- data["crdNumber"] = this.crdNumber;
7692
- data["iardNumber"] = this.iardNumber;
7693
- data["firstName"] = this.firstName;
7694
- data["middleName"] = this.middleName;
7695
- data["lastName"] = this.lastName;
7696
- data["mailingAddress"] = this.mailingAddress;
7697
- data["mailingCity"] = this.mailingCity;
7698
- data["mailingState"] = this.mailingState;
7699
- data["mailingZipCode"] = this.mailingZipCode;
7700
- data["mailingCountryCode"] = this.mailingCountryCode;
7701
- data["branchNumber"] = this.branchNumber;
7702
- data["phoneCountryCode"] = this.phoneCountryCode;
7703
- data["phoneNumber"] = this.phoneNumber;
7704
- data["phoneExtension"] = this.phoneExtension;
7705
- data["emailAddress"] = this.emailAddress;
7706
- data["fax"] = this.fax;
7707
- data["prefix"] = this.prefix;
7708
- data["broker"] = this.broker;
8536
+ data["identifier"] = this.identifier;
8537
+ data["sequence"] = this.sequence;
8538
+ data["status"] = this.status;
8539
+ data["text"] = this.text;
8540
+ data["explanation"] = this.explanation;
8541
+ data["format"] = this.format;
8542
+ if (Array.isArray(this.options)) {
8543
+ data["options"] = [];
8544
+ for (let item of this.options)
8545
+ data["options"].push(item);
8546
+ }
8547
+ data["scaleMin"] = this.scaleMin;
8548
+ data["scaleMax"] = this.scaleMax;
8549
+ data["scaleStep"] = this.scaleStep;
7709
8550
  return data;
7710
8551
  }
7711
8552
  }
7712
- /** CreateIndicationOfInterest represents the primary offering information to Create an IoI. */
7713
- export class CreateIndicationOfInterest {
8553
+ /** Create the Questionnaire Question Answer. */
8554
+ export class CreateQuestionnaireQuestionAnswer {
7714
8555
  constructor(data) {
7715
8556
  if (data) {
7716
8557
  for (var property in data) {
@@ -7721,28 +8562,25 @@ export class CreateIndicationOfInterest {
7721
8562
  }
7722
8563
  init(_data) {
7723
8564
  if (_data) {
7724
- this.investorId = _data["investorId"];
7725
- this.preIPOCompanyId = _data["preIPOCompanyId"];
7726
- this.notionalAmount = _data["notionalAmount"];
7727
- this.currency = _data["currency"];
8565
+ this.questionnaireQuestionId = _data["questionnaireQuestionId"];
8566
+ this.value = _data["value"];
7728
8567
  }
7729
8568
  }
7730
8569
  static fromJS(data) {
7731
8570
  data = typeof data === 'object' ? data : {};
7732
- let result = new CreateIndicationOfInterest();
8571
+ let result = new CreateQuestionnaireQuestionAnswer();
7733
8572
  result.init(data);
7734
8573
  return result;
7735
8574
  }
7736
8575
  toJSON(data) {
7737
8576
  data = typeof data === 'object' ? data : {};
7738
- data["investorId"] = this.investorId;
7739
- data["preIPOCompanyId"] = this.preIPOCompanyId;
7740
- data["notionalAmount"] = this.notionalAmount;
7741
- data["currency"] = this.currency;
8577
+ data["questionnaireQuestionId"] = this.questionnaireQuestionId;
8578
+ data["value"] = this.value;
7742
8579
  return data;
7743
8580
  }
7744
8581
  }
7745
- export class CreateIndividualEntityInvestors {
8582
+ /** Request model for creating a registered fund subscription. */
8583
+ export class CreateRegisteredFundSubscription {
7746
8584
  constructor(data) {
7747
8585
  if (data) {
7748
8586
  for (var property in data) {
@@ -7753,31 +8591,26 @@ export class CreateIndividualEntityInvestors {
7753
8591
  }
7754
8592
  init(_data) {
7755
8593
  if (_data) {
7756
- if (Array.isArray(_data["individualInvestors"])) {
7757
- this.individualInvestors = [];
7758
- for (let item of _data["individualInvestors"])
7759
- this.individualInvestors.push(IndividualEntityInvestorBase.fromJS(item));
7760
- }
8594
+ this.registeredFundId = _data["registeredFundId"];
8595
+ this.investorId = _data["investorId"];
8596
+ this.subscriptionAmount = _data["subscriptionAmount"];
7761
8597
  }
7762
8598
  }
7763
8599
  static fromJS(data) {
7764
8600
  data = typeof data === 'object' ? data : {};
7765
- let result = new CreateIndividualEntityInvestors();
8601
+ let result = new CreateRegisteredFundSubscription();
7766
8602
  result.init(data);
7767
8603
  return result;
7768
8604
  }
7769
8605
  toJSON(data) {
7770
8606
  data = typeof data === 'object' ? data : {};
7771
- if (Array.isArray(this.individualInvestors)) {
7772
- data["individualInvestors"] = [];
7773
- for (let item of this.individualInvestors)
7774
- data["individualInvestors"].push(item.toJSON());
7775
- }
8607
+ data["registeredFundId"] = this.registeredFundId;
8608
+ data["investorId"] = this.investorId;
8609
+ data["subscriptionAmount"] = this.subscriptionAmount;
7776
8610
  return data;
7777
8611
  }
7778
8612
  }
7779
- /** Create Investor Lead represents the investor lead information required for the primary offering. */
7780
- export class CreateInvestor {
8613
+ export class CreateWebhook {
7781
8614
  constructor(data) {
7782
8615
  if (data) {
7783
8616
  for (var property in data) {
@@ -7788,30 +8621,24 @@ export class CreateInvestor {
7788
8621
  }
7789
8622
  init(_data) {
7790
8623
  if (_data) {
7791
- this.financialInstitutionId = _data["financialInstitutionId"];
7792
- this.financialAdvisorId = _data["financialAdvisorId"];
7793
- this.investorReferenceId = _data["investorReferenceId"];
7794
- this.type = _data["type"];
7795
- this.pii = _data["pii"] ? InvestorPii.fromJS(_data["pii"]) : undefined;
8624
+ this.url = _data["url"];
8625
+ this.token = _data["token"];
7796
8626
  }
7797
8627
  }
7798
8628
  static fromJS(data) {
7799
8629
  data = typeof data === 'object' ? data : {};
7800
- let result = new CreateInvestor();
8630
+ let result = new CreateWebhook();
7801
8631
  result.init(data);
7802
8632
  return result;
7803
8633
  }
7804
8634
  toJSON(data) {
7805
8635
  data = typeof data === 'object' ? data : {};
7806
- data["financialInstitutionId"] = this.financialInstitutionId;
7807
- data["financialAdvisorId"] = this.financialAdvisorId;
7808
- data["investorReferenceId"] = this.investorReferenceId;
7809
- data["type"] = this.type;
7810
- data["pii"] = this.pii ? this.pii.toJSON() : undefined;
8636
+ data["url"] = this.url;
8637
+ data["token"] = this.token;
7811
8638
  return data;
7812
8639
  }
7813
8640
  }
7814
- export class CreateInvestorSubscription {
8641
+ export class CustomAttributeData {
7815
8642
  constructor(data) {
7816
8643
  if (data) {
7817
8644
  for (var property in data) {
@@ -7822,28 +8649,44 @@ export class CreateInvestorSubscription {
7822
8649
  }
7823
8650
  init(_data) {
7824
8651
  if (_data) {
7825
- this.preIPOCompanySPVId = _data["preIPOCompanySPVId"];
7826
- this.investorId = _data["investorId"];
7827
- this.amountReservedDollars = _data["amountReservedDollars"];
7828
- this.orderReferenceId = _data["orderReferenceId"];
8652
+ this.attributeType = _data["attributeType"] ? Type.fromJS(_data["attributeType"]) : undefined;
8653
+ this.constructor_ = _data["constructor"] ? ConstructorInfo.fromJS(_data["constructor"]) : undefined;
8654
+ if (Array.isArray(_data["constructorArguments"])) {
8655
+ this.constructorArguments = [];
8656
+ for (let item of _data["constructorArguments"])
8657
+ this.constructorArguments.push(CustomAttributeTypedArgument.fromJS(item));
8658
+ }
8659
+ if (Array.isArray(_data["namedArguments"])) {
8660
+ this.namedArguments = [];
8661
+ for (let item of _data["namedArguments"])
8662
+ this.namedArguments.push(CustomAttributeNamedArgument.fromJS(item));
8663
+ }
7829
8664
  }
7830
8665
  }
7831
8666
  static fromJS(data) {
7832
8667
  data = typeof data === 'object' ? data : {};
7833
- let result = new CreateInvestorSubscription();
8668
+ let result = new CustomAttributeData();
7834
8669
  result.init(data);
7835
8670
  return result;
7836
8671
  }
7837
8672
  toJSON(data) {
7838
8673
  data = typeof data === 'object' ? data : {};
7839
- data["preIPOCompanySPVId"] = this.preIPOCompanySPVId;
7840
- data["investorId"] = this.investorId;
7841
- data["amountReservedDollars"] = this.amountReservedDollars;
7842
- data["orderReferenceId"] = this.orderReferenceId;
8674
+ data["attributeType"] = this.attributeType ? this.attributeType.toJSON() : undefined;
8675
+ data["constructor"] = this.constructor_ ? this.constructor_.toJSON() : undefined;
8676
+ if (Array.isArray(this.constructorArguments)) {
8677
+ data["constructorArguments"] = [];
8678
+ for (let item of this.constructorArguments)
8679
+ data["constructorArguments"].push(item.toJSON());
8680
+ }
8681
+ if (Array.isArray(this.namedArguments)) {
8682
+ data["namedArguments"] = [];
8683
+ for (let item of this.namedArguments)
8684
+ data["namedArguments"].push(item.toJSON());
8685
+ }
7843
8686
  return data;
7844
8687
  }
7845
8688
  }
7846
- export class CreatePreIPOCompanySPVPartnerApproval {
8689
+ export class CustomAttributeNamedArgument {
7847
8690
  constructor(data) {
7848
8691
  if (data) {
7849
8692
  for (var property in data) {
@@ -7854,23 +8697,28 @@ export class CreatePreIPOCompanySPVPartnerApproval {
7854
8697
  }
7855
8698
  init(_data) {
7856
8699
  if (_data) {
7857
- this.notes = _data["notes"];
8700
+ this.memberInfo = _data["memberInfo"] ? MemberInfo.fromJS(_data["memberInfo"]) : undefined;
8701
+ this.typedValue = _data["typedValue"] ? CustomAttributeTypedArgument.fromJS(_data["typedValue"]) : undefined;
8702
+ this.memberName = _data["memberName"];
8703
+ this.isField = _data["isField"];
7858
8704
  }
7859
8705
  }
7860
8706
  static fromJS(data) {
7861
8707
  data = typeof data === 'object' ? data : {};
7862
- let result = new CreatePreIPOCompanySPVPartnerApproval();
8708
+ let result = new CustomAttributeNamedArgument();
7863
8709
  result.init(data);
7864
8710
  return result;
7865
8711
  }
7866
8712
  toJSON(data) {
7867
8713
  data = typeof data === 'object' ? data : {};
7868
- data["notes"] = this.notes;
8714
+ data["memberInfo"] = this.memberInfo ? this.memberInfo.toJSON() : undefined;
8715
+ data["typedValue"] = this.typedValue ? this.typedValue.toJSON() : undefined;
8716
+ data["memberName"] = this.memberName;
8717
+ data["isField"] = this.isField;
7869
8718
  return data;
7870
8719
  }
7871
8720
  }
7872
- /** Create Questionnaire allows the creation of a questionaire with the primary offerring. */
7873
- export class CreateQuestionnaire {
8721
+ export class CustomAttributeTypedArgument {
7874
8722
  constructor(data) {
7875
8723
  if (data) {
7876
8724
  for (var property in data) {
@@ -7878,41 +8726,28 @@ export class CreateQuestionnaire {
7878
8726
  this[property] = data[property];
7879
8727
  }
7880
8728
  }
7881
- if (!data) {
7882
- this.createQuestions = [];
7883
- }
7884
8729
  }
7885
8730
  init(_data) {
7886
8731
  if (_data) {
7887
- this.name = _data["name"];
7888
- this.title = _data["title"];
7889
- if (Array.isArray(_data["createQuestions"])) {
7890
- this.createQuestions = [];
7891
- for (let item of _data["createQuestions"])
7892
- this.createQuestions.push(CreateQuestionnaireQuestion.fromJS(item));
7893
- }
8732
+ this.argumentType = _data["argumentType"] ? Type.fromJS(_data["argumentType"]) : undefined;
8733
+ this.value = _data["value"];
7894
8734
  }
7895
8735
  }
7896
8736
  static fromJS(data) {
7897
8737
  data = typeof data === 'object' ? data : {};
7898
- let result = new CreateQuestionnaire();
8738
+ let result = new CustomAttributeTypedArgument();
7899
8739
  result.init(data);
7900
8740
  return result;
7901
8741
  }
7902
8742
  toJSON(data) {
7903
8743
  data = typeof data === 'object' ? data : {};
7904
- data["name"] = this.name;
7905
- data["title"] = this.title;
7906
- if (Array.isArray(this.createQuestions)) {
7907
- data["createQuestions"] = [];
7908
- for (let item of this.createQuestions)
7909
- data["createQuestions"].push(item.toJSON());
7910
- }
8744
+ data["argumentType"] = this.argumentType ? this.argumentType.toJSON() : undefined;
8745
+ data["value"] = this.value;
7911
8746
  return data;
7912
8747
  }
7913
8748
  }
7914
- /** Create the Questionnaire answer. */
7915
- export class CreateQuestionnaireAnswer {
8749
+ /** Represents a document associated with the fund admin. */
8750
+ export class Document {
7916
8751
  constructor(data) {
7917
8752
  if (data) {
7918
8753
  for (var property in data) {
@@ -7920,41 +8755,51 @@ export class CreateQuestionnaireAnswer {
7920
8755
  this[property] = data[property];
7921
8756
  }
7922
8757
  }
7923
- if (!data) {
7924
- this.createQuestionAnswers = [];
7925
- }
7926
8758
  }
7927
8759
  init(_data) {
7928
8760
  if (_data) {
7929
- this.questionnaireId = _data["questionnaireId"];
8761
+ this.id = _data["id"];
8762
+ this.name = _data["name"];
8763
+ this.url = _data["url"];
7930
8764
  this.investorId = _data["investorId"];
7931
- if (Array.isArray(_data["createQuestionAnswers"])) {
7932
- this.createQuestionAnswers = [];
7933
- for (let item of _data["createQuestionAnswers"])
7934
- this.createQuestionAnswers.push(CreateQuestionnaireQuestionAnswer.fromJS(item));
7935
- }
8765
+ this.preIPOCompanyId = _data["preIPOCompanyId"];
8766
+ this.preIPOCompanyInvestmentId = _data["preIPOCompanyInvestmentId"];
8767
+ this.preIPOCompanySPVId = _data["preIPOCompanySPVId"];
8768
+ this.investorSubscriptionId = _data["investorSubscriptionId"];
8769
+ this.partnerId = _data["partnerId"];
8770
+ this.registeredFundId = _data["registeredFundId"];
8771
+ this.registeredFundSubscriptionId = _data["registeredFundSubscriptionId"];
8772
+ this.type = _data["type"];
8773
+ this.taxYear = _data["taxYear"];
8774
+ this.description = _data["description"];
7936
8775
  }
7937
8776
  }
7938
8777
  static fromJS(data) {
7939
8778
  data = typeof data === 'object' ? data : {};
7940
- let result = new CreateQuestionnaireAnswer();
8779
+ let result = new Document();
7941
8780
  result.init(data);
7942
8781
  return result;
7943
8782
  }
7944
8783
  toJSON(data) {
7945
8784
  data = typeof data === 'object' ? data : {};
7946
- data["questionnaireId"] = this.questionnaireId;
8785
+ data["id"] = this.id;
8786
+ data["name"] = this.name;
8787
+ data["url"] = this.url;
7947
8788
  data["investorId"] = this.investorId;
7948
- if (Array.isArray(this.createQuestionAnswers)) {
7949
- data["createQuestionAnswers"] = [];
7950
- for (let item of this.createQuestionAnswers)
7951
- data["createQuestionAnswers"].push(item.toJSON());
7952
- }
8789
+ data["preIPOCompanyId"] = this.preIPOCompanyId;
8790
+ data["preIPOCompanyInvestmentId"] = this.preIPOCompanyInvestmentId;
8791
+ data["preIPOCompanySPVId"] = this.preIPOCompanySPVId;
8792
+ data["investorSubscriptionId"] = this.investorSubscriptionId;
8793
+ data["partnerId"] = this.partnerId;
8794
+ data["registeredFundId"] = this.registeredFundId;
8795
+ data["registeredFundSubscriptionId"] = this.registeredFundSubscriptionId;
8796
+ data["type"] = this.type;
8797
+ data["taxYear"] = this.taxYear;
8798
+ data["description"] = this.description;
7953
8799
  return data;
7954
8800
  }
7955
8801
  }
7956
- /** Create Questionnaire Question. */
7957
- export class CreateQuestionnaireQuestion {
8802
+ export class DocumentApiResponse {
7958
8803
  constructor(data) {
7959
8804
  if (data) {
7960
8805
  for (var property in data) {
@@ -7965,49 +8810,33 @@ export class CreateQuestionnaireQuestion {
7965
8810
  }
7966
8811
  init(_data) {
7967
8812
  if (_data) {
7968
- this.identifier = _data["identifier"];
7969
- this.sequence = _data["sequence"];
7970
- this.status = _data["status"];
7971
- this.text = _data["text"];
7972
- this.explanation = _data["explanation"];
7973
- this.format = _data["format"];
7974
- if (Array.isArray(_data["options"])) {
7975
- this.options = [];
7976
- for (let item of _data["options"])
7977
- this.options.push(item);
8813
+ if (Array.isArray(_data["items"])) {
8814
+ this.items = [];
8815
+ for (let item of _data["items"])
8816
+ this.items.push(Document.fromJS(item));
7978
8817
  }
7979
- this.scaleMin = _data["scaleMin"];
7980
- this.scaleMax = _data["scaleMax"];
7981
- this.scaleStep = _data["scaleStep"];
8818
+ this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
7982
8819
  }
7983
8820
  }
7984
8821
  static fromJS(data) {
7985
8822
  data = typeof data === 'object' ? data : {};
7986
- let result = new CreateQuestionnaireQuestion();
8823
+ let result = new DocumentApiResponse();
7987
8824
  result.init(data);
7988
8825
  return result;
7989
8826
  }
7990
8827
  toJSON(data) {
7991
8828
  data = typeof data === 'object' ? data : {};
7992
- data["identifier"] = this.identifier;
7993
- data["sequence"] = this.sequence;
7994
- data["status"] = this.status;
7995
- data["text"] = this.text;
7996
- data["explanation"] = this.explanation;
7997
- data["format"] = this.format;
7998
- if (Array.isArray(this.options)) {
7999
- data["options"] = [];
8000
- for (let item of this.options)
8001
- data["options"].push(item);
8829
+ if (Array.isArray(this.items)) {
8830
+ data["items"] = [];
8831
+ for (let item of this.items)
8832
+ data["items"].push(item.toJSON());
8002
8833
  }
8003
- data["scaleMin"] = this.scaleMin;
8004
- data["scaleMax"] = this.scaleMax;
8005
- data["scaleStep"] = this.scaleStep;
8834
+ data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
8006
8835
  return data;
8007
8836
  }
8008
8837
  }
8009
- /** Create the Questionnaire Question Answer. */
8010
- export class CreateQuestionnaireQuestionAnswer {
8838
+ /** Represents an entity investor within the primary offering. */
8839
+ export class EntityInvestor {
8011
8840
  constructor(data) {
8012
8841
  if (data) {
8013
8842
  for (var property in data) {
@@ -8018,25 +8847,64 @@ export class CreateQuestionnaireQuestionAnswer {
8018
8847
  }
8019
8848
  init(_data) {
8020
8849
  if (_data) {
8021
- this.questionnaireQuestionId = _data["questionnaireQuestionId"];
8022
- this.value = _data["value"];
8850
+ this.id = _data["id"];
8851
+ this.dbaName = _data["dbaName"];
8852
+ this.beneficialOwnershipCount = _data["beneficialOwnershipCount"];
8853
+ this.phone = _data["phone"];
8854
+ this.phoneCountryCode = _data["phoneCountryCode"];
8855
+ this.entityType = _data["entityType"];
8856
+ this.jurisdiction = _data["jurisdiction"];
8857
+ this.formationDate = _data["formationDate"] ? new Date(_data["formationDate"].toString()) : undefined;
8858
+ this.taxClassification = _data["taxClassification"];
8859
+ this.taxId = _data["taxId"];
8860
+ this.street = _data["street"];
8861
+ this.city = _data["city"];
8862
+ this.state = _data["state"];
8863
+ this.zipCode = _data["zipCode"];
8864
+ this.countryCode = _data["countryCode"];
8865
+ this.mailingAddressStreet = _data["mailingAddressStreet"];
8866
+ this.mailingAddressCity = _data["mailingAddressCity"];
8867
+ this.mailingAddressState = _data["mailingAddressState"];
8868
+ this.mailingAddressZipCode = _data["mailingAddressZipCode"];
8869
+ this.mailingAddressCountry = _data["mailingAddressCountry"];
8870
+ this.isSubscriptionAdvisorOrERA = _data["isSubscriptionAdvisorOrERA"];
8871
+ this.trustType = _data["trustType"];
8023
8872
  }
8024
8873
  }
8025
8874
  static fromJS(data) {
8026
8875
  data = typeof data === 'object' ? data : {};
8027
- let result = new CreateQuestionnaireQuestionAnswer();
8876
+ let result = new EntityInvestor();
8028
8877
  result.init(data);
8029
8878
  return result;
8030
8879
  }
8031
8880
  toJSON(data) {
8032
8881
  data = typeof data === 'object' ? data : {};
8033
- data["questionnaireQuestionId"] = this.questionnaireQuestionId;
8034
- data["value"] = this.value;
8882
+ data["id"] = this.id;
8883
+ data["dbaName"] = this.dbaName;
8884
+ data["beneficialOwnershipCount"] = this.beneficialOwnershipCount;
8885
+ data["phone"] = this.phone;
8886
+ data["phoneCountryCode"] = this.phoneCountryCode;
8887
+ data["entityType"] = this.entityType;
8888
+ data["jurisdiction"] = this.jurisdiction;
8889
+ data["formationDate"] = this.formationDate ? this.formationDate.toISOString() : undefined;
8890
+ data["taxClassification"] = this.taxClassification;
8891
+ data["taxId"] = this.taxId;
8892
+ data["street"] = this.street;
8893
+ data["city"] = this.city;
8894
+ data["state"] = this.state;
8895
+ data["zipCode"] = this.zipCode;
8896
+ data["countryCode"] = this.countryCode;
8897
+ data["mailingAddressStreet"] = this.mailingAddressStreet;
8898
+ data["mailingAddressCity"] = this.mailingAddressCity;
8899
+ data["mailingAddressState"] = this.mailingAddressState;
8900
+ data["mailingAddressZipCode"] = this.mailingAddressZipCode;
8901
+ data["mailingAddressCountry"] = this.mailingAddressCountry;
8902
+ data["isSubscriptionAdvisorOrERA"] = this.isSubscriptionAdvisorOrERA;
8903
+ data["trustType"] = this.trustType;
8035
8904
  return data;
8036
8905
  }
8037
8906
  }
8038
- /** Request model for creating a registered fund subscription. */
8039
- export class CreateRegisteredFundSubscription {
8907
+ export class EventInfo {
8040
8908
  constructor(data) {
8041
8909
  if (data) {
8042
8910
  for (var property in data) {
@@ -8047,26 +8915,59 @@ export class CreateRegisteredFundSubscription {
8047
8915
  }
8048
8916
  init(_data) {
8049
8917
  if (_data) {
8050
- this.registeredFundId = _data["registeredFundId"];
8051
- this.investorId = _data["investorId"];
8052
- this.subscriptionAmount = _data["subscriptionAmount"];
8918
+ this.name = _data["name"];
8919
+ this.declaringType = _data["declaringType"] ? Type.fromJS(_data["declaringType"]) : undefined;
8920
+ this.reflectedType = _data["reflectedType"] ? Type.fromJS(_data["reflectedType"]) : undefined;
8921
+ this.module = _data["module"] ? Module.fromJS(_data["module"]) : undefined;
8922
+ if (Array.isArray(_data["customAttributes"])) {
8923
+ this.customAttributes = [];
8924
+ for (let item of _data["customAttributes"])
8925
+ this.customAttributes.push(CustomAttributeData.fromJS(item));
8926
+ }
8927
+ this.isCollectible = _data["isCollectible"];
8928
+ this.metadataToken = _data["metadataToken"];
8929
+ this.memberType = _data["memberType"];
8930
+ this.attributes = _data["attributes"];
8931
+ this.isSpecialName = _data["isSpecialName"];
8932
+ this.addMethod = _data["addMethod"] ? MethodInfo.fromJS(_data["addMethod"]) : undefined;
8933
+ this.removeMethod = _data["removeMethod"] ? MethodInfo.fromJS(_data["removeMethod"]) : undefined;
8934
+ this.raiseMethod = _data["raiseMethod"] ? MethodInfo.fromJS(_data["raiseMethod"]) : undefined;
8935
+ this.isMulticast = _data["isMulticast"];
8936
+ this.eventHandlerType = _data["eventHandlerType"] ? Type.fromJS(_data["eventHandlerType"]) : undefined;
8053
8937
  }
8054
8938
  }
8055
8939
  static fromJS(data) {
8056
8940
  data = typeof data === 'object' ? data : {};
8057
- let result = new CreateRegisteredFundSubscription();
8941
+ let result = new EventInfo();
8058
8942
  result.init(data);
8059
8943
  return result;
8060
8944
  }
8061
8945
  toJSON(data) {
8062
8946
  data = typeof data === 'object' ? data : {};
8063
- data["registeredFundId"] = this.registeredFundId;
8064
- data["investorId"] = this.investorId;
8065
- data["subscriptionAmount"] = this.subscriptionAmount;
8947
+ data["name"] = this.name;
8948
+ data["declaringType"] = this.declaringType ? this.declaringType.toJSON() : undefined;
8949
+ data["reflectedType"] = this.reflectedType ? this.reflectedType.toJSON() : undefined;
8950
+ data["module"] = this.module ? this.module.toJSON() : undefined;
8951
+ if (Array.isArray(this.customAttributes)) {
8952
+ data["customAttributes"] = [];
8953
+ for (let item of this.customAttributes)
8954
+ data["customAttributes"].push(item.toJSON());
8955
+ }
8956
+ data["isCollectible"] = this.isCollectible;
8957
+ data["metadataToken"] = this.metadataToken;
8958
+ data["memberType"] = this.memberType;
8959
+ data["attributes"] = this.attributes;
8960
+ data["isSpecialName"] = this.isSpecialName;
8961
+ data["addMethod"] = this.addMethod ? this.addMethod.toJSON() : undefined;
8962
+ data["removeMethod"] = this.removeMethod ? this.removeMethod.toJSON() : undefined;
8963
+ data["raiseMethod"] = this.raiseMethod ? this.raiseMethod.toJSON() : undefined;
8964
+ data["isMulticast"] = this.isMulticast;
8965
+ data["eventHandlerType"] = this.eventHandlerType ? this.eventHandlerType.toJSON() : undefined;
8066
8966
  return data;
8067
8967
  }
8068
8968
  }
8069
- export class CreateWebhook {
8969
+ /** Represents an evergreen fund. */
8970
+ export class EvergreenFund {
8070
8971
  constructor(data) {
8071
8972
  if (data) {
8072
8973
  for (var property in data) {
@@ -8077,24 +8978,42 @@ export class CreateWebhook {
8077
8978
  }
8078
8979
  init(_data) {
8079
8980
  if (_data) {
8080
- this.url = _data["url"];
8081
- this.token = _data["token"];
8981
+ this.id = _data["id"];
8982
+ this.fundName = _data["fundName"];
8983
+ this.manager = _data["manager"];
8984
+ this.inception = _data["inception"];
8985
+ this.dealTypeFocus = _data["dealTypeFocus"];
8986
+ this.strategyFocus = _data["strategyFocus"];
8987
+ this.managementFee = _data["managementFee"];
8988
+ this.fundType = _data["fundType"];
8989
+ this.registration = _data["registration"];
8990
+ this.repurchaseFrequency = _data["repurchaseFrequency"];
8991
+ this.subscriptionFrequency = _data["subscriptionFrequency"];
8082
8992
  }
8083
8993
  }
8084
8994
  static fromJS(data) {
8085
8995
  data = typeof data === 'object' ? data : {};
8086
- let result = new CreateWebhook();
8996
+ let result = new EvergreenFund();
8087
8997
  result.init(data);
8088
8998
  return result;
8089
8999
  }
8090
9000
  toJSON(data) {
8091
9001
  data = typeof data === 'object' ? data : {};
8092
- data["url"] = this.url;
8093
- data["token"] = this.token;
9002
+ data["id"] = this.id;
9003
+ data["fundName"] = this.fundName;
9004
+ data["manager"] = this.manager;
9005
+ data["inception"] = this.inception;
9006
+ data["dealTypeFocus"] = this.dealTypeFocus;
9007
+ data["strategyFocus"] = this.strategyFocus;
9008
+ data["managementFee"] = this.managementFee;
9009
+ data["fundType"] = this.fundType;
9010
+ data["registration"] = this.registration;
9011
+ data["repurchaseFrequency"] = this.repurchaseFrequency;
9012
+ data["subscriptionFrequency"] = this.subscriptionFrequency;
8094
9013
  return data;
8095
9014
  }
8096
9015
  }
8097
- export class CustomAttributeData {
9016
+ export class EvergreenFundApiResponse {
8098
9017
  constructor(data) {
8099
9018
  if (data) {
8100
9019
  for (var property in data) {
@@ -8105,44 +9024,33 @@ export class CustomAttributeData {
8105
9024
  }
8106
9025
  init(_data) {
8107
9026
  if (_data) {
8108
- this.attributeType = _data["attributeType"] ? Type.fromJS(_data["attributeType"]) : undefined;
8109
- this.constructor_ = _data["constructor"] ? ConstructorInfo.fromJS(_data["constructor"]) : undefined;
8110
- if (Array.isArray(_data["constructorArguments"])) {
8111
- this.constructorArguments = [];
8112
- for (let item of _data["constructorArguments"])
8113
- this.constructorArguments.push(CustomAttributeTypedArgument.fromJS(item));
8114
- }
8115
- if (Array.isArray(_data["namedArguments"])) {
8116
- this.namedArguments = [];
8117
- for (let item of _data["namedArguments"])
8118
- this.namedArguments.push(CustomAttributeNamedArgument.fromJS(item));
9027
+ if (Array.isArray(_data["items"])) {
9028
+ this.items = [];
9029
+ for (let item of _data["items"])
9030
+ this.items.push(EvergreenFund.fromJS(item));
8119
9031
  }
9032
+ this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
8120
9033
  }
8121
9034
  }
8122
9035
  static fromJS(data) {
8123
9036
  data = typeof data === 'object' ? data : {};
8124
- let result = new CustomAttributeData();
9037
+ let result = new EvergreenFundApiResponse();
8125
9038
  result.init(data);
8126
9039
  return result;
8127
9040
  }
8128
9041
  toJSON(data) {
8129
9042
  data = typeof data === 'object' ? data : {};
8130
- data["attributeType"] = this.attributeType ? this.attributeType.toJSON() : undefined;
8131
- data["constructor"] = this.constructor_ ? this.constructor_.toJSON() : undefined;
8132
- if (Array.isArray(this.constructorArguments)) {
8133
- data["constructorArguments"] = [];
8134
- for (let item of this.constructorArguments)
8135
- data["constructorArguments"].push(item.toJSON());
8136
- }
8137
- if (Array.isArray(this.namedArguments)) {
8138
- data["namedArguments"] = [];
8139
- for (let item of this.namedArguments)
8140
- data["namedArguments"].push(item.toJSON());
9043
+ if (Array.isArray(this.items)) {
9044
+ data["items"] = [];
9045
+ for (let item of this.items)
9046
+ data["items"].push(item.toJSON());
8141
9047
  }
9048
+ data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
8142
9049
  return data;
8143
9050
  }
8144
9051
  }
8145
- export class CustomAttributeNamedArgument {
9052
+ /** Represents news data for an evergreen fund. */
9053
+ export class EvergreenNews {
8146
9054
  constructor(data) {
8147
9055
  if (data) {
8148
9056
  for (var property in data) {
@@ -8153,28 +9061,36 @@ export class CustomAttributeNamedArgument {
8153
9061
  }
8154
9062
  init(_data) {
8155
9063
  if (_data) {
8156
- this.memberInfo = _data["memberInfo"] ? MemberInfo.fromJS(_data["memberInfo"]) : undefined;
8157
- this.typedValue = _data["typedValue"] ? CustomAttributeTypedArgument.fromJS(_data["typedValue"]) : undefined;
8158
- this.memberName = _data["memberName"];
8159
- this.isField = _data["isField"];
9064
+ this.id = _data["id"];
9065
+ this.evergreenFundId = _data["evergreenFundId"];
9066
+ this.fundName = _data["fundName"];
9067
+ this.title = _data["title"];
9068
+ this.strap = _data["strap"];
9069
+ this.url = _data["url"];
9070
+ this.article = _data["article"];
9071
+ this.publishDate = _data["publishDate"] ? new Date(_data["publishDate"].toString()) : undefined;
8160
9072
  }
8161
9073
  }
8162
9074
  static fromJS(data) {
8163
9075
  data = typeof data === 'object' ? data : {};
8164
- let result = new CustomAttributeNamedArgument();
9076
+ let result = new EvergreenNews();
8165
9077
  result.init(data);
8166
9078
  return result;
8167
9079
  }
8168
9080
  toJSON(data) {
8169
9081
  data = typeof data === 'object' ? data : {};
8170
- data["memberInfo"] = this.memberInfo ? this.memberInfo.toJSON() : undefined;
8171
- data["typedValue"] = this.typedValue ? this.typedValue.toJSON() : undefined;
8172
- data["memberName"] = this.memberName;
8173
- data["isField"] = this.isField;
9082
+ data["id"] = this.id;
9083
+ data["evergreenFundId"] = this.evergreenFundId;
9084
+ data["fundName"] = this.fundName;
9085
+ data["title"] = this.title;
9086
+ data["strap"] = this.strap;
9087
+ data["url"] = this.url;
9088
+ data["article"] = this.article;
9089
+ data["publishDate"] = this.publishDate ? formatDate(this.publishDate) : undefined;
8174
9090
  return data;
8175
9091
  }
8176
9092
  }
8177
- export class CustomAttributeTypedArgument {
9093
+ export class EvergreenNewsApiResponse {
8178
9094
  constructor(data) {
8179
9095
  if (data) {
8180
9096
  for (var property in data) {
@@ -8185,25 +9101,33 @@ export class CustomAttributeTypedArgument {
8185
9101
  }
8186
9102
  init(_data) {
8187
9103
  if (_data) {
8188
- this.argumentType = _data["argumentType"] ? Type.fromJS(_data["argumentType"]) : undefined;
8189
- this.value = _data["value"];
9104
+ if (Array.isArray(_data["items"])) {
9105
+ this.items = [];
9106
+ for (let item of _data["items"])
9107
+ this.items.push(EvergreenNews.fromJS(item));
9108
+ }
9109
+ this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
8190
9110
  }
8191
9111
  }
8192
9112
  static fromJS(data) {
8193
9113
  data = typeof data === 'object' ? data : {};
8194
- let result = new CustomAttributeTypedArgument();
9114
+ let result = new EvergreenNewsApiResponse();
8195
9115
  result.init(data);
8196
9116
  return result;
8197
9117
  }
8198
9118
  toJSON(data) {
8199
9119
  data = typeof data === 'object' ? data : {};
8200
- data["argumentType"] = this.argumentType ? this.argumentType.toJSON() : undefined;
8201
- data["value"] = this.value;
9120
+ if (Array.isArray(this.items)) {
9121
+ data["items"] = [];
9122
+ for (let item of this.items)
9123
+ data["items"].push(item.toJSON());
9124
+ }
9125
+ data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
8202
9126
  return data;
8203
9127
  }
8204
9128
  }
8205
- /** Represents a document associated with the fund admin. */
8206
- export class Document {
9129
+ /** Represents returns data for an evergreen fund. */
9130
+ export class EvergreenReturns {
8207
9131
  constructor(data) {
8208
9132
  if (data) {
8209
9133
  for (var property in data) {
@@ -8215,47 +9139,29 @@ export class Document {
8215
9139
  init(_data) {
8216
9140
  if (_data) {
8217
9141
  this.id = _data["id"];
8218
- this.name = _data["name"];
8219
- this.url = _data["url"];
8220
- this.investorId = _data["investorId"];
8221
- this.preIPOCompanyId = _data["preIPOCompanyId"];
8222
- this.preIPOCompanyInvestmentId = _data["preIPOCompanyInvestmentId"];
8223
- this.preIPOCompanySPVId = _data["preIPOCompanySPVId"];
8224
- this.investorSubscriptionId = _data["investorSubscriptionId"];
8225
- this.partnerId = _data["partnerId"];
8226
- this.registeredFundId = _data["registeredFundId"];
8227
- this.registeredFundSubscriptionId = _data["registeredFundSubscriptionId"];
8228
- this.type = _data["type"];
8229
- this.taxYear = _data["taxYear"];
8230
- this.description = _data["description"];
9142
+ this.evergreenFundId = _data["evergreenFundId"];
9143
+ this.fundName = _data["fundName"];
9144
+ this.sinceInception = _data["sinceInception"];
9145
+ this.oneYear = _data["oneYear"];
8231
9146
  }
8232
9147
  }
8233
9148
  static fromJS(data) {
8234
9149
  data = typeof data === 'object' ? data : {};
8235
- let result = new Document();
9150
+ let result = new EvergreenReturns();
8236
9151
  result.init(data);
8237
9152
  return result;
8238
9153
  }
8239
9154
  toJSON(data) {
8240
9155
  data = typeof data === 'object' ? data : {};
8241
9156
  data["id"] = this.id;
8242
- data["name"] = this.name;
8243
- data["url"] = this.url;
8244
- data["investorId"] = this.investorId;
8245
- data["preIPOCompanyId"] = this.preIPOCompanyId;
8246
- data["preIPOCompanyInvestmentId"] = this.preIPOCompanyInvestmentId;
8247
- data["preIPOCompanySPVId"] = this.preIPOCompanySPVId;
8248
- data["investorSubscriptionId"] = this.investorSubscriptionId;
8249
- data["partnerId"] = this.partnerId;
8250
- data["registeredFundId"] = this.registeredFundId;
8251
- data["registeredFundSubscriptionId"] = this.registeredFundSubscriptionId;
8252
- data["type"] = this.type;
8253
- data["taxYear"] = this.taxYear;
8254
- data["description"] = this.description;
9157
+ data["evergreenFundId"] = this.evergreenFundId;
9158
+ data["fundName"] = this.fundName;
9159
+ data["sinceInception"] = this.sinceInception;
9160
+ data["oneYear"] = this.oneYear;
8255
9161
  return data;
8256
9162
  }
8257
9163
  }
8258
- export class DocumentApiResponse {
9164
+ export class EvergreenReturnsApiResponse {
8259
9165
  constructor(data) {
8260
9166
  if (data) {
8261
9167
  for (var property in data) {
@@ -8269,14 +9175,14 @@ export class DocumentApiResponse {
8269
9175
  if (Array.isArray(_data["items"])) {
8270
9176
  this.items = [];
8271
9177
  for (let item of _data["items"])
8272
- this.items.push(Document.fromJS(item));
9178
+ this.items.push(EvergreenReturns.fromJS(item));
8273
9179
  }
8274
9180
  this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
8275
9181
  }
8276
9182
  }
8277
9183
  static fromJS(data) {
8278
9184
  data = typeof data === 'object' ? data : {};
8279
- let result = new DocumentApiResponse();
9185
+ let result = new EvergreenReturnsApiResponse();
8280
9186
  result.init(data);
8281
9187
  return result;
8282
9188
  }
@@ -8291,8 +9197,8 @@ export class DocumentApiResponse {
8291
9197
  return data;
8292
9198
  }
8293
9199
  }
8294
- /** Represents an entity investor within the primary offering. */
8295
- export class EntityInvestor {
9200
+ /** Represents share class data for an evergreen fund. */
9201
+ export class EvergreenShareClasses {
8296
9202
  constructor(data) {
8297
9203
  if (data) {
8298
9204
  for (var property in data) {
@@ -8304,63 +9210,39 @@ export class EntityInvestor {
8304
9210
  init(_data) {
8305
9211
  if (_data) {
8306
9212
  this.id = _data["id"];
8307
- this.dbaName = _data["dbaName"];
8308
- this.beneficialOwnershipCount = _data["beneficialOwnershipCount"];
8309
- this.phone = _data["phone"];
8310
- this.phoneCountryCode = _data["phoneCountryCode"];
8311
- this.entityType = _data["entityType"];
8312
- this.jurisdiction = _data["jurisdiction"];
8313
- this.formationDate = _data["formationDate"] ? new Date(_data["formationDate"].toString()) : undefined;
8314
- this.taxClassification = _data["taxClassification"];
8315
- this.taxId = _data["taxId"];
8316
- this.street = _data["street"];
8317
- this.city = _data["city"];
8318
- this.state = _data["state"];
8319
- this.zipCode = _data["zipCode"];
8320
- this.countryCode = _data["countryCode"];
8321
- this.mailingAddressStreet = _data["mailingAddressStreet"];
8322
- this.mailingAddressCity = _data["mailingAddressCity"];
8323
- this.mailingAddressState = _data["mailingAddressState"];
8324
- this.mailingAddressZipCode = _data["mailingAddressZipCode"];
8325
- this.mailingAddressCountry = _data["mailingAddressCountry"];
8326
- this.isSubscriptionAdvisorOrERA = _data["isSubscriptionAdvisorOrERA"];
8327
- this.trustType = _data["trustType"];
9213
+ this.evergreenFundId = _data["evergreenFundId"];
9214
+ this.fundName = _data["fundName"];
9215
+ this.shareClassTicker = _data["shareClassTicker"];
9216
+ this.minInvestmentSize = _data["minInvestmentSize"];
9217
+ this.minSubsequentInvestment = _data["minSubsequentInvestment"];
9218
+ this.salesLoad = _data["salesLoad"];
9219
+ this.distributionAndServicingFee = _data["distributionAndServicingFee"];
9220
+ this.earlyRepurchaseOrRedemptionFee = _data["earlyRepurchaseOrRedemptionFee"];
9221
+ this.status = _data["status"];
8328
9222
  }
8329
9223
  }
8330
9224
  static fromJS(data) {
8331
9225
  data = typeof data === 'object' ? data : {};
8332
- let result = new EntityInvestor();
9226
+ let result = new EvergreenShareClasses();
8333
9227
  result.init(data);
8334
9228
  return result;
8335
9229
  }
8336
9230
  toJSON(data) {
8337
9231
  data = typeof data === 'object' ? data : {};
8338
9232
  data["id"] = this.id;
8339
- data["dbaName"] = this.dbaName;
8340
- data["beneficialOwnershipCount"] = this.beneficialOwnershipCount;
8341
- data["phone"] = this.phone;
8342
- data["phoneCountryCode"] = this.phoneCountryCode;
8343
- data["entityType"] = this.entityType;
8344
- data["jurisdiction"] = this.jurisdiction;
8345
- data["formationDate"] = this.formationDate ? this.formationDate.toISOString() : undefined;
8346
- data["taxClassification"] = this.taxClassification;
8347
- data["taxId"] = this.taxId;
8348
- data["street"] = this.street;
8349
- data["city"] = this.city;
8350
- data["state"] = this.state;
8351
- data["zipCode"] = this.zipCode;
8352
- data["countryCode"] = this.countryCode;
8353
- data["mailingAddressStreet"] = this.mailingAddressStreet;
8354
- data["mailingAddressCity"] = this.mailingAddressCity;
8355
- data["mailingAddressState"] = this.mailingAddressState;
8356
- data["mailingAddressZipCode"] = this.mailingAddressZipCode;
8357
- data["mailingAddressCountry"] = this.mailingAddressCountry;
8358
- data["isSubscriptionAdvisorOrERA"] = this.isSubscriptionAdvisorOrERA;
8359
- data["trustType"] = this.trustType;
9233
+ data["evergreenFundId"] = this.evergreenFundId;
9234
+ data["fundName"] = this.fundName;
9235
+ data["shareClassTicker"] = this.shareClassTicker;
9236
+ data["minInvestmentSize"] = this.minInvestmentSize;
9237
+ data["minSubsequentInvestment"] = this.minSubsequentInvestment;
9238
+ data["salesLoad"] = this.salesLoad;
9239
+ data["distributionAndServicingFee"] = this.distributionAndServicingFee;
9240
+ data["earlyRepurchaseOrRedemptionFee"] = this.earlyRepurchaseOrRedemptionFee;
9241
+ data["status"] = this.status;
8360
9242
  return data;
8361
9243
  }
8362
9244
  }
8363
- export class EventInfo {
9245
+ export class EvergreenShareClassesApiResponse {
8364
9246
  constructor(data) {
8365
9247
  if (data) {
8366
9248
  for (var property in data) {
@@ -8371,54 +9253,28 @@ export class EventInfo {
8371
9253
  }
8372
9254
  init(_data) {
8373
9255
  if (_data) {
8374
- this.name = _data["name"];
8375
- this.declaringType = _data["declaringType"] ? Type.fromJS(_data["declaringType"]) : undefined;
8376
- this.reflectedType = _data["reflectedType"] ? Type.fromJS(_data["reflectedType"]) : undefined;
8377
- this.module = _data["module"] ? Module.fromJS(_data["module"]) : undefined;
8378
- if (Array.isArray(_data["customAttributes"])) {
8379
- this.customAttributes = [];
8380
- for (let item of _data["customAttributes"])
8381
- this.customAttributes.push(CustomAttributeData.fromJS(item));
9256
+ if (Array.isArray(_data["items"])) {
9257
+ this.items = [];
9258
+ for (let item of _data["items"])
9259
+ this.items.push(EvergreenShareClasses.fromJS(item));
8382
9260
  }
8383
- this.isCollectible = _data["isCollectible"];
8384
- this.metadataToken = _data["metadataToken"];
8385
- this.memberType = _data["memberType"];
8386
- this.attributes = _data["attributes"];
8387
- this.isSpecialName = _data["isSpecialName"];
8388
- this.addMethod = _data["addMethod"] ? MethodInfo.fromJS(_data["addMethod"]) : undefined;
8389
- this.removeMethod = _data["removeMethod"] ? MethodInfo.fromJS(_data["removeMethod"]) : undefined;
8390
- this.raiseMethod = _data["raiseMethod"] ? MethodInfo.fromJS(_data["raiseMethod"]) : undefined;
8391
- this.isMulticast = _data["isMulticast"];
8392
- this.eventHandlerType = _data["eventHandlerType"] ? Type.fromJS(_data["eventHandlerType"]) : undefined;
9261
+ this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
8393
9262
  }
8394
9263
  }
8395
9264
  static fromJS(data) {
8396
9265
  data = typeof data === 'object' ? data : {};
8397
- let result = new EventInfo();
9266
+ let result = new EvergreenShareClassesApiResponse();
8398
9267
  result.init(data);
8399
9268
  return result;
8400
9269
  }
8401
9270
  toJSON(data) {
8402
9271
  data = typeof data === 'object' ? data : {};
8403
- data["name"] = this.name;
8404
- data["declaringType"] = this.declaringType ? this.declaringType.toJSON() : undefined;
8405
- data["reflectedType"] = this.reflectedType ? this.reflectedType.toJSON() : undefined;
8406
- data["module"] = this.module ? this.module.toJSON() : undefined;
8407
- if (Array.isArray(this.customAttributes)) {
8408
- data["customAttributes"] = [];
8409
- for (let item of this.customAttributes)
8410
- data["customAttributes"].push(item.toJSON());
9272
+ if (Array.isArray(this.items)) {
9273
+ data["items"] = [];
9274
+ for (let item of this.items)
9275
+ data["items"].push(item.toJSON());
8411
9276
  }
8412
- data["isCollectible"] = this.isCollectible;
8413
- data["metadataToken"] = this.metadataToken;
8414
- data["memberType"] = this.memberType;
8415
- data["attributes"] = this.attributes;
8416
- data["isSpecialName"] = this.isSpecialName;
8417
- data["addMethod"] = this.addMethod ? this.addMethod.toJSON() : undefined;
8418
- data["removeMethod"] = this.removeMethod ? this.removeMethod.toJSON() : undefined;
8419
- data["raiseMethod"] = this.raiseMethod ? this.raiseMethod.toJSON() : undefined;
8420
- data["isMulticast"] = this.isMulticast;
8421
- data["eventHandlerType"] = this.eventHandlerType ? this.eventHandlerType.toJSON() : undefined;
9277
+ data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
8422
9278
  return data;
8423
9279
  }
8424
9280
  }
@@ -12940,6 +13796,66 @@ export class SignatureRequest {
12940
13796
  return data;
12941
13797
  }
12942
13798
  }
13799
+ export class SpvAipData {
13800
+ constructor(data) {
13801
+ if (data) {
13802
+ for (var property in data) {
13803
+ if (data.hasOwnProperty(property))
13804
+ this[property] = data[property];
13805
+ }
13806
+ }
13807
+ }
13808
+ init(_data) {
13809
+ if (_data) {
13810
+ this.securityIdentifier = _data["securityIdentifier"];
13811
+ this.overridenSecurityIssueId = _data["overridenSecurityIssueId"];
13812
+ this.fundNumber = _data["fundNumber"];
13813
+ this.unitizedIndicator = _data["unitizedIndicator"];
13814
+ this.registeredIndicator = _data["registeredIndicator"];
13815
+ this.aipSecurityType = _data["aipSecurityType"];
13816
+ this.ownershipStructure = _data["ownershipStructure"];
13817
+ this.acceptedNoLienIndicator = _data["acceptedNoLienIndicator"];
13818
+ this.seriesEligibilityIndicator = _data["seriesEligibilityIndicator"];
13819
+ this.purchaseOrderProcessIndicator = _data["purchaseOrderProcessIndicator"];
13820
+ this.loadTypeIndicator = _data["loadTypeIndicator"];
13821
+ this.commissionPercentageHigh = _data["commissionPercentageHigh"];
13822
+ this.commissionPercentageLow = _data["commissionPercentageLow"];
13823
+ this.transferFrequency = _data["transferFrequency"];
13824
+ this.securityContactType = _data["securityContactType"];
13825
+ this.addressLine1 = _data["addressLine1"];
13826
+ this.valuationBasis = _data["valuationBasis"];
13827
+ this.valuationMethod = _data["valuationMethod"];
13828
+ }
13829
+ }
13830
+ static fromJS(data) {
13831
+ data = typeof data === 'object' ? data : {};
13832
+ let result = new SpvAipData();
13833
+ result.init(data);
13834
+ return result;
13835
+ }
13836
+ toJSON(data) {
13837
+ data = typeof data === 'object' ? data : {};
13838
+ data["securityIdentifier"] = this.securityIdentifier;
13839
+ data["overridenSecurityIssueId"] = this.overridenSecurityIssueId;
13840
+ data["fundNumber"] = this.fundNumber;
13841
+ data["unitizedIndicator"] = this.unitizedIndicator;
13842
+ data["registeredIndicator"] = this.registeredIndicator;
13843
+ data["aipSecurityType"] = this.aipSecurityType;
13844
+ data["ownershipStructure"] = this.ownershipStructure;
13845
+ data["acceptedNoLienIndicator"] = this.acceptedNoLienIndicator;
13846
+ data["seriesEligibilityIndicator"] = this.seriesEligibilityIndicator;
13847
+ data["purchaseOrderProcessIndicator"] = this.purchaseOrderProcessIndicator;
13848
+ data["loadTypeIndicator"] = this.loadTypeIndicator;
13849
+ data["commissionPercentageHigh"] = this.commissionPercentageHigh;
13850
+ data["commissionPercentageLow"] = this.commissionPercentageLow;
13851
+ data["transferFrequency"] = this.transferFrequency;
13852
+ data["securityContactType"] = this.securityContactType;
13853
+ data["addressLine1"] = this.addressLine1;
13854
+ data["valuationBasis"] = this.valuationBasis;
13855
+ data["valuationMethod"] = this.valuationMethod;
13856
+ return data;
13857
+ }
13858
+ }
12943
13859
  export class StructLayoutAttribute {
12944
13860
  constructor(data) {
12945
13861
  if (data) {
@@ -14389,6 +15305,26 @@ export var SortOrder19;
14389
15305
  SortOrder19["Ascending"] = "Ascending";
14390
15306
  SortOrder19["Descending"] = "Descending";
14391
15307
  })(SortOrder19 || (SortOrder19 = {}));
15308
+ export var SortOrder20;
15309
+ (function (SortOrder20) {
15310
+ SortOrder20["Ascending"] = "Ascending";
15311
+ SortOrder20["Descending"] = "Descending";
15312
+ })(SortOrder20 || (SortOrder20 = {}));
15313
+ export var SortOrder21;
15314
+ (function (SortOrder21) {
15315
+ SortOrder21["Ascending"] = "Ascending";
15316
+ SortOrder21["Descending"] = "Descending";
15317
+ })(SortOrder21 || (SortOrder21 = {}));
15318
+ export var SortOrder22;
15319
+ (function (SortOrder22) {
15320
+ SortOrder22["Ascending"] = "Ascending";
15321
+ SortOrder22["Descending"] = "Descending";
15322
+ })(SortOrder22 || (SortOrder22 = {}));
15323
+ export var SortOrder23;
15324
+ (function (SortOrder23) {
15325
+ SortOrder23["Ascending"] = "Ascending";
15326
+ SortOrder23["Descending"] = "Descending";
15327
+ })(SortOrder23 || (SortOrder23 = {}));
14392
15328
  export var EventType;
14393
15329
  (function (EventType) {
14394
15330
  EventType["PreIPOCompany"] = "PreIPOCompany";
@@ -14399,6 +15335,9 @@ export var EventType;
14399
15335
  EventType["InvestorSubscriptionAction"] = "InvestorSubscriptionAction";
14400
15336
  EventType["SubscriptionStatus"] = "SubscriptionStatus";
14401
15337
  EventType["RegisteredFundSubscriptionStatus"] = "RegisteredFundSubscriptionStatus";
15338
+ EventType["PreIPOCompanySPVUpdate"] = "PreIPOCompanySPVUpdate";
15339
+ EventType["PreIPOCompanySPVDocumentUpdate"] = "PreIPOCompanySPVDocumentUpdate";
15340
+ EventType["PreIPOCompanySPVSubscriptionActionDefinitionUpdate"] = "PreIPOCompanySPVSubscriptionActionDefinitionUpdate";
14402
15341
  })(EventType || (EventType = {}));
14403
15342
  export var DeliveryStatus;
14404
15343
  (function (DeliveryStatus) {
@@ -15269,6 +16208,162 @@ export var RegisteredFundSubscriptionActionResponsibleParty;
15269
16208
  RegisteredFundSubscriptionActionResponsibleParty["Investor"] = "Investor";
15270
16209
  RegisteredFundSubscriptionActionResponsibleParty["Advisor"] = "Advisor";
15271
16210
  })(RegisteredFundSubscriptionActionResponsibleParty || (RegisteredFundSubscriptionActionResponsibleParty = {}));
16211
+ export var SpvAipDataSecurityIdentifier;
16212
+ (function (SpvAipDataSecurityIdentifier) {
16213
+ SpvAipDataSecurityIdentifier["Isin"] = "Isin";
16214
+ SpvAipDataSecurityIdentifier["Sedol"] = "Sedol";
16215
+ SpvAipDataSecurityIdentifier["Cusip"] = "Cusip";
16216
+ SpvAipDataSecurityIdentifier["Custom"] = "Custom";
16217
+ })(SpvAipDataSecurityIdentifier || (SpvAipDataSecurityIdentifier = {}));
16218
+ export var SpvAipDataUnitizedIndicator;
16219
+ (function (SpvAipDataUnitizedIndicator) {
16220
+ SpvAipDataUnitizedIndicator["Unitized"] = "Unitized";
16221
+ SpvAipDataUnitizedIndicator["CapitalBalance"] = "CapitalBalance";
16222
+ })(SpvAipDataUnitizedIndicator || (SpvAipDataUnitizedIndicator = {}));
16223
+ export var SpvAipDataRegisteredIndicator;
16224
+ (function (SpvAipDataRegisteredIndicator) {
16225
+ SpvAipDataRegisteredIndicator["Registered"] = "Registered";
16226
+ SpvAipDataRegisteredIndicator["Unregistered"] = "Unregistered";
16227
+ })(SpvAipDataRegisteredIndicator || (SpvAipDataRegisteredIndicator = {}));
16228
+ export var SpvAipDataAipSecurityType;
16229
+ (function (SpvAipDataAipSecurityType) {
16230
+ SpvAipDataAipSecurityType["HedgeFund"] = "HedgeFund";
16231
+ SpvAipDataAipSecurityType["FundOfFunds"] = "FundOfFunds";
16232
+ SpvAipDataAipSecurityType["PrivateEquityFund"] = "PrivateEquityFund";
16233
+ SpvAipDataAipSecurityType["ManagedDebtFund"] = "ManagedDebtFund";
16234
+ SpvAipDataAipSecurityType["PrivateDebtFund"] = "PrivateDebtFund";
16235
+ SpvAipDataAipSecurityType["ManagedCurrencyFund"] = "ManagedCurrencyFund";
16236
+ SpvAipDataAipSecurityType["CommodityPoolFund"] = "CommodityPoolFund";
16237
+ SpvAipDataAipSecurityType["REIT"] = "REIT";
16238
+ SpvAipDataAipSecurityType["ManagedFutureFund"] = "ManagedFutureFund";
16239
+ SpvAipDataAipSecurityType["Other"] = "Other";
16240
+ SpvAipDataAipSecurityType["BusinessDevelopmentCorporation"] = "BusinessDevelopmentCorporation";
16241
+ SpvAipDataAipSecurityType["RegisteredHedgeFund"] = "RegisteredHedgeFund";
16242
+ SpvAipDataAipSecurityType["OilAndGasPublic"] = "OilAndGasPublic";
16243
+ SpvAipDataAipSecurityType["OilAndGasPrivate"] = "OilAndGasPrivate";
16244
+ SpvAipDataAipSecurityType["EquipmentLeasingPublic"] = "EquipmentLeasingPublic";
16245
+ SpvAipDataAipSecurityType["EquipmentLeasingPrivate"] = "EquipmentLeasingPrivate";
16246
+ SpvAipDataAipSecurityType["FuturesPublic"] = "FuturesPublic";
16247
+ SpvAipDataAipSecurityType["FuturesPrivate"] = "FuturesPrivate";
16248
+ SpvAipDataAipSecurityType["NotesPublic"] = "NotesPublic";
16249
+ SpvAipDataAipSecurityType["NotesPrivate"] = "NotesPrivate";
16250
+ SpvAipDataAipSecurityType["RealEstatePublic"] = "RealEstatePublic";
16251
+ SpvAipDataAipSecurityType["RealEstatePrivate"] = "RealEstatePrivate";
16252
+ SpvAipDataAipSecurityType["ClosedEndManagementInvestmentCompany"] = "ClosedEndManagementInvestmentCompany";
16253
+ })(SpvAipDataAipSecurityType || (SpvAipDataAipSecurityType = {}));
16254
+ export var SpvAipDataOwnershipStructure;
16255
+ (function (SpvAipDataOwnershipStructure) {
16256
+ SpvAipDataOwnershipStructure["LimitedPartnership"] = "LimitedPartnership";
16257
+ SpvAipDataOwnershipStructure["USLimitedLiabilityCompany"] = "USLimitedLiabilityCompany";
16258
+ SpvAipDataOwnershipStructure["USSCorp"] = "USSCorp";
16259
+ SpvAipDataOwnershipStructure["USCCorp"] = "USCCorp";
16260
+ SpvAipDataOwnershipStructure["CaymanOrdinaryResidentCompany"] = "CaymanOrdinaryResidentCompany";
16261
+ SpvAipDataOwnershipStructure["CaymanExemptedCompany"] = "CaymanExemptedCompany";
16262
+ SpvAipDataOwnershipStructure["CaymanOrdinaryNonresidentCompany"] = "CaymanOrdinaryNonresidentCompany";
16263
+ SpvAipDataOwnershipStructure["CaymanLimitedDurationExemptedCompany"] = "CaymanLimitedDurationExemptedCompany";
16264
+ SpvAipDataOwnershipStructure["CaymanForeignCompany"] = "CaymanForeignCompany";
16265
+ SpvAipDataOwnershipStructure["CaymanTrust"] = "CaymanTrust";
16266
+ SpvAipDataOwnershipStructure["BVICompanyLimitedByGuaranteeNoShares"] = "BVICompanyLimitedByGuaranteeNoShares";
16267
+ SpvAipDataOwnershipStructure["BVICompanyLimitedByGuaranteeMayIssueShares"] = "BVICompanyLimitedByGuaranteeMayIssueShares";
16268
+ SpvAipDataOwnershipStructure["BVIUnlimitedCompanyNoShares"] = "BVIUnlimitedCompanyNoShares";
16269
+ SpvAipDataOwnershipStructure["BVIUnlimitedCompanyMayIssueShares"] = "BVIUnlimitedCompanyMayIssueShares";
16270
+ SpvAipDataOwnershipStructure["BermudaCompanyLimitedByShares"] = "BermudaCompanyLimitedByShares";
16271
+ SpvAipDataOwnershipStructure["BermudaCompanyLimitedByGuarantee"] = "BermudaCompanyLimitedByGuarantee";
16272
+ SpvAipDataOwnershipStructure["BermudaUnlimitedLiabilityCompany"] = "BermudaUnlimitedLiabilityCompany";
16273
+ SpvAipDataOwnershipStructure["LuxembourgPublicLimitedCompany"] = "LuxembourgPublicLimitedCompany";
16274
+ SpvAipDataOwnershipStructure["LuxembourgPrivateLimitedCompany"] = "LuxembourgPrivateLimitedCompany";
16275
+ SpvAipDataOwnershipStructure["LuxembourgPartnership"] = "LuxembourgPartnership";
16276
+ SpvAipDataOwnershipStructure["LuxembourgLimitedPartnership"] = "LuxembourgLimitedPartnership";
16277
+ SpvAipDataOwnershipStructure["LuxembourgCooperativeCompany"] = "LuxembourgCooperativeCompany";
16278
+ SpvAipDataOwnershipStructure["IrishPrivateLimitedCompany"] = "IrishPrivateLimitedCompany";
16279
+ SpvAipDataOwnershipStructure["IrishPublicLimitedCompany"] = "IrishPublicLimitedCompany";
16280
+ SpvAipDataOwnershipStructure["IrishCompanyLimitedByGuarantee"] = "IrishCompanyLimitedByGuarantee";
16281
+ SpvAipDataOwnershipStructure["JerseyLimitedLiabilityPartnerships"] = "JerseyLimitedLiabilityPartnerships";
16282
+ SpvAipDataOwnershipStructure["JerseyPublicCompany"] = "JerseyPublicCompany";
16283
+ SpvAipDataOwnershipStructure["JerseyPrivateCompany"] = "JerseyPrivateCompany";
16284
+ SpvAipDataOwnershipStructure["IsleOfManLimitedLiabilityCompany"] = "IsleOfManLimitedLiabilityCompany";
16285
+ SpvAipDataOwnershipStructure["IsleOfManTrust"] = "IsleOfManTrust";
16286
+ SpvAipDataOwnershipStructure["MauritiusDomesticCompany"] = "MauritiusDomesticCompany";
16287
+ SpvAipDataOwnershipStructure["MauritiusCompanyCategoryIGlobalBusinessLicense"] = "MauritiusCompanyCategoryIGlobalBusinessLicense";
16288
+ SpvAipDataOwnershipStructure["MauritiusCompanyCategoryIIGlobalBusinessLicense"] = "MauritiusCompanyCategoryIIGlobalBusinessLicense";
16289
+ SpvAipDataOwnershipStructure["MauritiusSocieteCommerciale"] = "MauritiusSocieteCommerciale";
16290
+ SpvAipDataOwnershipStructure["MauritiusSocieteEnNomCollectifEtEnCommandite"] = "MauritiusSocieteEnNomCollectifEtEnCommandite";
16291
+ SpvAipDataOwnershipStructure["MauritiusSocieteCivile"] = "MauritiusSocieteCivile";
16292
+ SpvAipDataOwnershipStructure["Other"] = "Other";
16293
+ SpvAipDataOwnershipStructure["DelawareBusinessTrust"] = "DelawareBusinessTrust";
16294
+ SpvAipDataOwnershipStructure["MassachusettsBusinessTrust"] = "MassachusettsBusinessTrust";
16295
+ SpvAipDataOwnershipStructure["MarylandRealEstateInvestmentTrust"] = "MarylandRealEstateInvestmentTrust";
16296
+ SpvAipDataOwnershipStructure["CaymanExemptLimitedPartnership"] = "CaymanExemptLimitedPartnership";
16297
+ SpvAipDataOwnershipStructure["BVICompanyLimitedByShares"] = "BVICompanyLimitedByShares";
16298
+ SpvAipDataOwnershipStructure["DelawareStatutoryTrust"] = "DelawareStatutoryTrust";
16299
+ })(SpvAipDataOwnershipStructure || (SpvAipDataOwnershipStructure = {}));
16300
+ export var SpvAipDataSeriesEligibilityIndicator;
16301
+ (function (SpvAipDataSeriesEligibilityIndicator) {
16302
+ SpvAipDataSeriesEligibilityIndicator["No"] = "No";
16303
+ SpvAipDataSeriesEligibilityIndicator["Yes"] = "Yes";
16304
+ SpvAipDataSeriesEligibilityIndicator["NotAvailable"] = "NotAvailable";
16305
+ })(SpvAipDataSeriesEligibilityIndicator || (SpvAipDataSeriesEligibilityIndicator = {}));
16306
+ export var SpvAipDataPurchaseOrderProcessIndicator;
16307
+ (function (SpvAipDataPurchaseOrderProcessIndicator) {
16308
+ SpvAipDataPurchaseOrderProcessIndicator["SettlementPostNavCalculation"] = "SettlementPostNavCalculation";
16309
+ SpvAipDataPurchaseOrderProcessIndicator["SettlementPreNavCalculation"] = "SettlementPreNavCalculation";
16310
+ SpvAipDataPurchaseOrderProcessIndicator["EscrowTrade"] = "EscrowTrade";
16311
+ SpvAipDataPurchaseOrderProcessIndicator["CommitmentCallDrawdown"] = "CommitmentCallDrawdown";
16312
+ })(SpvAipDataPurchaseOrderProcessIndicator || (SpvAipDataPurchaseOrderProcessIndicator = {}));
16313
+ export var SpvAipDataLoadTypeIndicator;
16314
+ (function (SpvAipDataLoadTypeIndicator) {
16315
+ SpvAipDataLoadTypeIndicator["LevelLoad"] = "LevelLoad";
16316
+ SpvAipDataLoadTypeIndicator["BackEndLoad"] = "BackEndLoad";
16317
+ SpvAipDataLoadTypeIndicator["FrontEndLoad"] = "FrontEndLoad";
16318
+ SpvAipDataLoadTypeIndicator["FindersFee"] = "FindersFee";
16319
+ SpvAipDataLoadTypeIndicator["Other"] = "Other";
16320
+ SpvAipDataLoadTypeIndicator["Negotiated"] = "Negotiated";
16321
+ SpvAipDataLoadTypeIndicator["Hybrid"] = "Hybrid";
16322
+ SpvAipDataLoadTypeIndicator["NA"] = "NA";
16323
+ SpvAipDataLoadTypeIndicator["PlacementFee"] = "PlacementFee";
16324
+ })(SpvAipDataLoadTypeIndicator || (SpvAipDataLoadTypeIndicator = {}));
16325
+ export var SpvAipDataTransferFrequency;
16326
+ (function (SpvAipDataTransferFrequency) {
16327
+ SpvAipDataTransferFrequency["Daily"] = "Daily";
16328
+ SpvAipDataTransferFrequency["Weekly"] = "Weekly";
16329
+ SpvAipDataTransferFrequency["BiWeekly"] = "BiWeekly";
16330
+ SpvAipDataTransferFrequency["Monthly"] = "Monthly";
16331
+ SpvAipDataTransferFrequency["Quarterly"] = "Quarterly";
16332
+ SpvAipDataTransferFrequency["BiAnnually"] = "BiAnnually";
16333
+ SpvAipDataTransferFrequency["Annually"] = "Annually";
16334
+ })(SpvAipDataTransferFrequency || (SpvAipDataTransferFrequency = {}));
16335
+ export var SpvAipDataSecurityContactType;
16336
+ (function (SpvAipDataSecurityContactType) {
16337
+ SpvAipDataSecurityContactType["Administrator"] = "Administrator";
16338
+ SpvAipDataSecurityContactType["MainFundOrderDesk"] = "MainFundOrderDesk";
16339
+ SpvAipDataSecurityContactType["MarketingSales"] = "MarketingSales";
16340
+ SpvAipDataSecurityContactType["FundManagementCompany"] = "FundManagementCompany";
16341
+ SpvAipDataSecurityContactType["LocalFundOrderDesk"] = "LocalFundOrderDesk";
16342
+ SpvAipDataSecurityContactType["Commission"] = "Commission";
16343
+ SpvAipDataSecurityContactType["Exchange"] = "Exchange";
16344
+ SpvAipDataSecurityContactType["Transfers"] = "Transfers";
16345
+ SpvAipDataSecurityContactType["Settlement"] = "Settlement";
16346
+ SpvAipDataSecurityContactType["Other"] = "Other";
16347
+ SpvAipDataSecurityContactType["Auditor"] = "Auditor";
16348
+ SpvAipDataSecurityContactType["PcoabAuditor"] = "PcoabAuditor";
16349
+ })(SpvAipDataSecurityContactType || (SpvAipDataSecurityContactType = {}));
16350
+ export var SpvAipDataValuationBasis;
16351
+ (function (SpvAipDataValuationBasis) {
16352
+ SpvAipDataValuationBasis["Actual"] = "Actual";
16353
+ SpvAipDataValuationBasis["Estimated"] = "Estimated";
16354
+ })(SpvAipDataValuationBasis || (SpvAipDataValuationBasis = {}));
16355
+ export var SpvAipDataValuationMethod;
16356
+ (function (SpvAipDataValuationMethod) {
16357
+ SpvAipDataValuationMethod["IndependentValuationFirm"] = "IndependentValuationFirm";
16358
+ SpvAipDataValuationMethod["ProgramManagerEstimateNav"] = "ProgramManagerEstimateNav";
16359
+ SpvAipDataValuationMethod["BookValue"] = "BookValue";
16360
+ SpvAipDataValuationMethod["RepurchasePrices"] = "RepurchasePrices";
16361
+ SpvAipDataValuationMethod["InformalSecondaryMarketPrices"] = "InformalSecondaryMarketPrices";
16362
+ SpvAipDataValuationMethod["NetInvestmentMethodology"] = "NetInvestmentMethodology";
16363
+ SpvAipDataValuationMethod["NotPriced"] = "NotPriced";
16364
+ SpvAipDataValuationMethod["CommissionBasedPop"] = "CommissionBasedPop";
16365
+ SpvAipDataValuationMethod["FeeBasedPop"] = "FeeBasedPop";
16366
+ })(SpvAipDataValuationMethod || (SpvAipDataValuationMethod = {}));
15272
16367
  export var StructLayoutAttributeValue;
15273
16368
  (function (StructLayoutAttributeValue) {
15274
16369
  StructLayoutAttributeValue["Sequential"] = "Sequential";
@@ -15474,6 +16569,9 @@ export var WebhookEventEventType;
15474
16569
  WebhookEventEventType["InvestorSubscriptionAction"] = "InvestorSubscriptionAction";
15475
16570
  WebhookEventEventType["SubscriptionStatus"] = "SubscriptionStatus";
15476
16571
  WebhookEventEventType["RegisteredFundSubscriptionStatus"] = "RegisteredFundSubscriptionStatus";
16572
+ WebhookEventEventType["PreIPOCompanySPVUpdate"] = "PreIPOCompanySPVUpdate";
16573
+ WebhookEventEventType["PreIPOCompanySPVDocumentUpdate"] = "PreIPOCompanySPVDocumentUpdate";
16574
+ WebhookEventEventType["PreIPOCompanySPVSubscriptionActionDefinitionUpdate"] = "PreIPOCompanySPVSubscriptionActionDefinitionUpdate";
15477
16575
  })(WebhookEventEventType || (WebhookEventEventType = {}));
15478
16576
  function formatDate(d) {
15479
16577
  return d.getFullYear() + '-' +