@monarkmarkets/api-client 1.3.47 → 1.3.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/Client.js CHANGED
@@ -6550,6 +6550,154 @@ export class Client {
6550
6550
  }
6551
6551
  return Promise.resolve(null);
6552
6552
  }
6553
+ /**
6554
+ * Get the Prospective offering by the specified Id.
6555
+ * @param id ID of the Prospective offering to find.
6556
+ * @param financialInstitutionId ID of the financial institution to filter by.
6557
+ * @return Returns the Prospective offering with the specified ID.
6558
+ */
6559
+ getProspectiveOfferingById(id, financialInstitutionId) {
6560
+ let url_ = this.baseUrl + "/primary/v1/prospective-offering/{id}/financial-institution/{financialInstitutionId}";
6561
+ if (id === undefined || id === null)
6562
+ throw new globalThis.Error("The parameter 'id' must be defined.");
6563
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
6564
+ if (financialInstitutionId === undefined || financialInstitutionId === null)
6565
+ throw new globalThis.Error("The parameter 'financialInstitutionId' must be defined.");
6566
+ url_ = url_.replace("{financialInstitutionId}", encodeURIComponent("" + financialInstitutionId));
6567
+ url_ = url_.replace(/[?&]$/, "");
6568
+ let options_ = {
6569
+ method: "GET",
6570
+ headers: {
6571
+ "Accept": "application/json"
6572
+ }
6573
+ };
6574
+ return this.http.fetch(url_, options_).then((_response) => {
6575
+ return this.processGetProspectiveOfferingById(_response);
6576
+ });
6577
+ }
6578
+ processGetProspectiveOfferingById(response) {
6579
+ const status = response.status;
6580
+ let _headers = {};
6581
+ if (response.headers && response.headers.forEach) {
6582
+ response.headers.forEach((v, k) => _headers[k] = v);
6583
+ }
6584
+ ;
6585
+ if (status === 200) {
6586
+ return response.text().then((_responseText) => {
6587
+ let result200 = null;
6588
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6589
+ result200 = ProspectiveOffering.fromJS(resultData200);
6590
+ return result200;
6591
+ });
6592
+ }
6593
+ else if (status === 404) {
6594
+ return response.text().then((_responseText) => {
6595
+ let result404 = null;
6596
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6597
+ result404 = ProblemDetails.fromJS(resultData404);
6598
+ return throwException("Prospective offering not found.", status, _responseText, _headers, result404);
6599
+ });
6600
+ }
6601
+ else if (status !== 200 && status !== 204) {
6602
+ return response.text().then((_responseText) => {
6603
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
6604
+ });
6605
+ }
6606
+ return Promise.resolve(null);
6607
+ }
6608
+ /**
6609
+ * Get all Prospective offerings with filtering and pagination.
6610
+ * @param financialInstitutionId Filter by a specific financial institution.
6611
+ * @param targetAssetType The asset type to get prospective offerings for.
6612
+ * @param page (optional) Number of the page to retrieve.
6613
+ Defaults to 1 if not specified.
6614
+ * @param pageSize (optional) Size of the page to retrieve.
6615
+ Defaults to 25 if not specified.
6616
+ * @param searchTerm (optional) Search term to filter results on based on the target name.
6617
+ * @param targetId (optional) Filter by a specific target ID.
6618
+ * @param side (optional) Filter by prospective offering side (SUPPLY or DEMAND).
6619
+ * @param sortOrder (optional) Which way to sort order, defaults to Descending.
6620
+ * @param sortProperty (optional) Which property to sort the prospective offerings by (CreatedAt, CompanyName, Side, PricePerShare, AvailableVolume, ClosingDate, UpdatedAt).
6621
+ * @return OK
6622
+ */
6623
+ getAllProspectiveOfferings(financialInstitutionId, targetAssetType, page, pageSize, searchTerm, targetId, side, sortOrder, sortProperty) {
6624
+ let url_ = this.baseUrl + "/primary/v1/prospective-offering/financial-institution/{financialInstitutionId}?";
6625
+ if (financialInstitutionId === undefined || financialInstitutionId === null)
6626
+ throw new globalThis.Error("The parameter 'financialInstitutionId' must be defined.");
6627
+ url_ = url_.replace("{financialInstitutionId}", encodeURIComponent("" + financialInstitutionId));
6628
+ if (targetAssetType === undefined || targetAssetType === null)
6629
+ throw new globalThis.Error("The parameter 'targetAssetType' must be defined and cannot be null.");
6630
+ else
6631
+ url_ += "targetAssetType=" + encodeURIComponent("" + targetAssetType) + "&";
6632
+ if (page === null)
6633
+ throw new globalThis.Error("The parameter 'page' cannot be null.");
6634
+ else if (page !== undefined)
6635
+ url_ += "page=" + encodeURIComponent("" + page) + "&";
6636
+ if (pageSize === null)
6637
+ throw new globalThis.Error("The parameter 'pageSize' cannot be null.");
6638
+ else if (pageSize !== undefined)
6639
+ url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
6640
+ if (searchTerm === null)
6641
+ throw new globalThis.Error("The parameter 'searchTerm' cannot be null.");
6642
+ else if (searchTerm !== undefined)
6643
+ url_ += "searchTerm=" + encodeURIComponent("" + searchTerm) + "&";
6644
+ if (targetId === null)
6645
+ throw new globalThis.Error("The parameter 'targetId' cannot be null.");
6646
+ else if (targetId !== undefined)
6647
+ url_ += "targetId=" + encodeURIComponent("" + targetId) + "&";
6648
+ if (side === null)
6649
+ throw new globalThis.Error("The parameter 'side' cannot be null.");
6650
+ else if (side !== undefined)
6651
+ url_ += "side=" + encodeURIComponent("" + side) + "&";
6652
+ if (sortOrder === null)
6653
+ throw new globalThis.Error("The parameter 'sortOrder' cannot be null.");
6654
+ else if (sortOrder !== undefined)
6655
+ url_ += "sortOrder=" + encodeURIComponent("" + sortOrder) + "&";
6656
+ if (sortProperty === null)
6657
+ throw new globalThis.Error("The parameter 'sortProperty' cannot be null.");
6658
+ else if (sortProperty !== undefined)
6659
+ url_ += "sortProperty=" + encodeURIComponent("" + sortProperty) + "&";
6660
+ url_ = url_.replace(/[?&]$/, "");
6661
+ let options_ = {
6662
+ method: "GET",
6663
+ headers: {
6664
+ "Accept": "application/json"
6665
+ }
6666
+ };
6667
+ return this.http.fetch(url_, options_).then((_response) => {
6668
+ return this.processGetAllProspectiveOfferings(_response);
6669
+ });
6670
+ }
6671
+ processGetAllProspectiveOfferings(response) {
6672
+ const status = response.status;
6673
+ let _headers = {};
6674
+ if (response.headers && response.headers.forEach) {
6675
+ response.headers.forEach((v, k) => _headers[k] = v);
6676
+ }
6677
+ ;
6678
+ if (status === 200) {
6679
+ return response.text().then((_responseText) => {
6680
+ let result200 = null;
6681
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6682
+ result200 = ProspectiveOfferingApiResponse.fromJS(resultData200);
6683
+ return result200;
6684
+ });
6685
+ }
6686
+ else if (status === 400) {
6687
+ return response.text().then((_responseText) => {
6688
+ let result400 = null;
6689
+ let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6690
+ result400 = ProblemDetails.fromJS(resultData400);
6691
+ return throwException("Bad Request", status, _responseText, _headers, result400);
6692
+ });
6693
+ }
6694
+ else if (status !== 200 && status !== 204) {
6695
+ return response.text().then((_responseText) => {
6696
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
6697
+ });
6698
+ }
6699
+ return Promise.resolve(null);
6700
+ }
6553
6701
  /**
6554
6702
  * Create a Questionnaire.
6555
6703
  * @param body (optional) Payload describing the questionnaire to create.
@@ -7002,6 +7150,143 @@ export class Client {
7002
7150
  }
7003
7151
  return Promise.resolve(null);
7004
7152
  }
7153
+ /**
7154
+ * Get a redemption window by ID.
7155
+ * @param id ID of the redemption window.
7156
+ * @param includeDocuments (optional) Whether to include associated documents.
7157
+ * @return The redemption window.
7158
+ */
7159
+ getRedemptionWindowById(id, includeDocuments) {
7160
+ let url_ = this.baseUrl + "/primary/v1/redemption-window/{id}?";
7161
+ if (id === undefined || id === null)
7162
+ throw new globalThis.Error("The parameter 'id' must be defined.");
7163
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
7164
+ if (includeDocuments === null)
7165
+ throw new globalThis.Error("The parameter 'includeDocuments' cannot be null.");
7166
+ else if (includeDocuments !== undefined)
7167
+ url_ += "includeDocuments=" + encodeURIComponent("" + includeDocuments) + "&";
7168
+ url_ = url_.replace(/[?&]$/, "");
7169
+ let options_ = {
7170
+ method: "GET",
7171
+ headers: {
7172
+ "Accept": "application/json"
7173
+ }
7174
+ };
7175
+ return this.http.fetch(url_, options_).then((_response) => {
7176
+ return this.processGetRedemptionWindowById(_response);
7177
+ });
7178
+ }
7179
+ processGetRedemptionWindowById(response) {
7180
+ const status = response.status;
7181
+ let _headers = {};
7182
+ if (response.headers && response.headers.forEach) {
7183
+ response.headers.forEach((v, k) => _headers[k] = v);
7184
+ }
7185
+ ;
7186
+ if (status === 200) {
7187
+ return response.text().then((_responseText) => {
7188
+ let result200 = null;
7189
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7190
+ result200 = RedemptionWindow.fromJS(resultData200);
7191
+ return result200;
7192
+ });
7193
+ }
7194
+ else if (status === 404) {
7195
+ return response.text().then((_responseText) => {
7196
+ let result404 = null;
7197
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7198
+ result404 = ProblemDetails.fromJS(resultData404);
7199
+ return throwException("Redemption window not found.", status, _responseText, _headers, result404);
7200
+ });
7201
+ }
7202
+ else if (status !== 200 && status !== 204) {
7203
+ return response.text().then((_responseText) => {
7204
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7205
+ });
7206
+ }
7207
+ return Promise.resolve(null);
7208
+ }
7209
+ /**
7210
+ * Get all redemption windows with optional filters.
7211
+ * @param page (optional) Number of the page to retrieve.
7212
+ Defaults to 1 if not specified.
7213
+ * @param pageSize (optional) Size of the page to retrieve.
7214
+ Defaults to 25 if not specified.
7215
+ * @param registeredFundId (optional) Optional filter by registered fund ID.
7216
+ * @param status (optional) Optional filter by status (Scheduled, Active, Closed).
7217
+ * @param startDateFrom (optional) Optional filter by minimum start date.
7218
+ * @param startDateTo (optional) Optional filter by maximum start date.
7219
+ * @param sortOrder (optional) Sort order (default: Descending).
7220
+ * @param includeDocuments (optional) Whether to include associated documents.
7221
+ * @return OK
7222
+ */
7223
+ getAllRedemptionWindows(page, pageSize, registeredFundId, status, startDateFrom, startDateTo, sortOrder, includeDocuments) {
7224
+ let url_ = this.baseUrl + "/primary/v1/redemption-window?";
7225
+ if (page === null)
7226
+ throw new globalThis.Error("The parameter 'page' cannot be null.");
7227
+ else if (page !== undefined)
7228
+ url_ += "page=" + encodeURIComponent("" + page) + "&";
7229
+ if (pageSize === null)
7230
+ throw new globalThis.Error("The parameter 'pageSize' cannot be null.");
7231
+ else if (pageSize !== undefined)
7232
+ url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
7233
+ if (registeredFundId === null)
7234
+ throw new globalThis.Error("The parameter 'registeredFundId' cannot be null.");
7235
+ else if (registeredFundId !== undefined)
7236
+ url_ += "registeredFundId=" + encodeURIComponent("" + registeredFundId) + "&";
7237
+ if (status === null)
7238
+ throw new globalThis.Error("The parameter 'status' cannot be null.");
7239
+ else if (status !== undefined)
7240
+ url_ += "status=" + encodeURIComponent("" + status) + "&";
7241
+ if (startDateFrom === null)
7242
+ throw new globalThis.Error("The parameter 'startDateFrom' cannot be null.");
7243
+ else if (startDateFrom !== undefined)
7244
+ url_ += "startDateFrom=" + encodeURIComponent(startDateFrom ? "" + startDateFrom.toISOString() : "") + "&";
7245
+ if (startDateTo === null)
7246
+ throw new globalThis.Error("The parameter 'startDateTo' cannot be null.");
7247
+ else if (startDateTo !== undefined)
7248
+ url_ += "startDateTo=" + encodeURIComponent(startDateTo ? "" + startDateTo.toISOString() : "") + "&";
7249
+ if (sortOrder === null)
7250
+ throw new globalThis.Error("The parameter 'sortOrder' cannot be null.");
7251
+ else if (sortOrder !== undefined)
7252
+ url_ += "sortOrder=" + encodeURIComponent("" + sortOrder) + "&";
7253
+ if (includeDocuments === null)
7254
+ throw new globalThis.Error("The parameter 'includeDocuments' cannot be null.");
7255
+ else if (includeDocuments !== undefined)
7256
+ url_ += "includeDocuments=" + encodeURIComponent("" + includeDocuments) + "&";
7257
+ url_ = url_.replace(/[?&]$/, "");
7258
+ let options_ = {
7259
+ method: "GET",
7260
+ headers: {
7261
+ "Accept": "application/json"
7262
+ }
7263
+ };
7264
+ return this.http.fetch(url_, options_).then((_response) => {
7265
+ return this.processGetAllRedemptionWindows(_response);
7266
+ });
7267
+ }
7268
+ processGetAllRedemptionWindows(response) {
7269
+ const status = response.status;
7270
+ let _headers = {};
7271
+ if (response.headers && response.headers.forEach) {
7272
+ response.headers.forEach((v, k) => _headers[k] = v);
7273
+ }
7274
+ ;
7275
+ if (status === 200) {
7276
+ return response.text().then((_responseText) => {
7277
+ let result200 = null;
7278
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7279
+ result200 = RedemptionWindowApiResponse.fromJS(resultData200);
7280
+ return result200;
7281
+ });
7282
+ }
7283
+ else if (status !== 200 && status !== 204) {
7284
+ return response.text().then((_responseText) => {
7285
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7286
+ });
7287
+ }
7288
+ return Promise.resolve(null);
7289
+ }
7005
7290
  /**
7006
7291
  * Get the RegisteredFund by the specified Id.
7007
7292
  * @param id ID of the RegisteredFund to find.
@@ -7155,6 +7440,86 @@ export class Client {
7155
7440
  }
7156
7441
  return Promise.resolve(null);
7157
7442
  }
7443
+ /**
7444
+ * Get redemption windows for a specific registered fund.
7445
+ * @param id ID of the registered fund.
7446
+ * @param page (optional) Number of the page to retrieve.
7447
+ Defaults to 1 if not specified.
7448
+ * @param pageSize (optional) Size of the page to retrieve.
7449
+ Defaults to 25 if not specified.
7450
+ * @param status (optional) Optional filter by status (Scheduled, Active, Closed).
7451
+ * @param startDateFrom (optional) Optional filter by minimum start date.
7452
+ * @param startDateTo (optional) Optional filter by maximum start date.
7453
+ * @param sortOrder (optional) Sort order (default: Descending).
7454
+ * @param includeDocuments (optional) Whether to include associated documents.
7455
+ * @return OK
7456
+ */
7457
+ getRedemptionWindowsByFund(id, page, pageSize, status, startDateFrom, startDateTo, sortOrder, includeDocuments) {
7458
+ let url_ = this.baseUrl + "/primary/v1/registered-fund/{id}/redemption-window?";
7459
+ if (id === undefined || id === null)
7460
+ throw new globalThis.Error("The parameter 'id' must be defined.");
7461
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
7462
+ if (page === null)
7463
+ throw new globalThis.Error("The parameter 'page' cannot be null.");
7464
+ else if (page !== undefined)
7465
+ url_ += "page=" + encodeURIComponent("" + page) + "&";
7466
+ if (pageSize === null)
7467
+ throw new globalThis.Error("The parameter 'pageSize' cannot be null.");
7468
+ else if (pageSize !== undefined)
7469
+ url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
7470
+ if (status === null)
7471
+ throw new globalThis.Error("The parameter 'status' cannot be null.");
7472
+ else if (status !== undefined)
7473
+ url_ += "status=" + encodeURIComponent("" + status) + "&";
7474
+ if (startDateFrom === null)
7475
+ throw new globalThis.Error("The parameter 'startDateFrom' cannot be null.");
7476
+ else if (startDateFrom !== undefined)
7477
+ url_ += "startDateFrom=" + encodeURIComponent(startDateFrom ? "" + startDateFrom.toISOString() : "") + "&";
7478
+ if (startDateTo === null)
7479
+ throw new globalThis.Error("The parameter 'startDateTo' cannot be null.");
7480
+ else if (startDateTo !== undefined)
7481
+ url_ += "startDateTo=" + encodeURIComponent(startDateTo ? "" + startDateTo.toISOString() : "") + "&";
7482
+ if (sortOrder === null)
7483
+ throw new globalThis.Error("The parameter 'sortOrder' cannot be null.");
7484
+ else if (sortOrder !== undefined)
7485
+ url_ += "sortOrder=" + encodeURIComponent("" + sortOrder) + "&";
7486
+ if (includeDocuments === null)
7487
+ throw new globalThis.Error("The parameter 'includeDocuments' cannot be null.");
7488
+ else if (includeDocuments !== undefined)
7489
+ url_ += "includeDocuments=" + encodeURIComponent("" + includeDocuments) + "&";
7490
+ url_ = url_.replace(/[?&]$/, "");
7491
+ let options_ = {
7492
+ method: "GET",
7493
+ headers: {
7494
+ "Accept": "application/json"
7495
+ }
7496
+ };
7497
+ return this.http.fetch(url_, options_).then((_response) => {
7498
+ return this.processGetRedemptionWindowsByFund(_response);
7499
+ });
7500
+ }
7501
+ processGetRedemptionWindowsByFund(response) {
7502
+ const status = response.status;
7503
+ let _headers = {};
7504
+ if (response.headers && response.headers.forEach) {
7505
+ response.headers.forEach((v, k) => _headers[k] = v);
7506
+ }
7507
+ ;
7508
+ if (status === 200) {
7509
+ return response.text().then((_responseText) => {
7510
+ let result200 = null;
7511
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7512
+ result200 = RedemptionWindowApiResponse.fromJS(resultData200);
7513
+ return result200;
7514
+ });
7515
+ }
7516
+ else if (status !== 200 && status !== 204) {
7517
+ return response.text().then((_responseText) => {
7518
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7519
+ });
7520
+ }
7521
+ return Promise.resolve(null);
7522
+ }
7158
7523
  /**
7159
7524
  * Gets a SecondaryLink Evergreen Fund by ID.
7160
7525
  * @param id The Evergreen Fund ID.
@@ -8623,11 +8988,12 @@ export class Client {
8623
8988
  * @param advisorId (optional) Optional advisor ID to filter watchlist items.
8624
8989
  * @param targetId (optional) Optional target asset ID to filter watchlist items.
8625
8990
  * @param targetAssetType (optional) Optional target asset type to filter watchlist items.
8991
+ * @param ownerType (optional) Optional owner type to filter watchlist items (Investor or FinancialAdvisor only).
8626
8992
  * @param pageNumber (optional) Page number for pagination (default: 1).
8627
8993
  * @param pageSize (optional) Page size for pagination (default: 25).
8628
8994
  * @return Returns the paginated list of watchlist items.
8629
8995
  */
8630
- getAll(investorId, advisorId, targetId, targetAssetType, pageNumber, pageSize) {
8996
+ getAll(investorId, advisorId, targetId, targetAssetType, ownerType, pageNumber, pageSize) {
8631
8997
  let url_ = this.baseUrl + "/primary/v1/watchlist?";
8632
8998
  if (investorId === null)
8633
8999
  throw new globalThis.Error("The parameter 'investorId' cannot be null.");
@@ -8645,6 +9011,10 @@ export class Client {
8645
9011
  throw new globalThis.Error("The parameter 'targetAssetType' cannot be null.");
8646
9012
  else if (targetAssetType !== undefined)
8647
9013
  url_ += "targetAssetType=" + encodeURIComponent("" + targetAssetType) + "&";
9014
+ if (ownerType === null)
9015
+ throw new globalThis.Error("The parameter 'ownerType' cannot be null.");
9016
+ else if (ownerType !== undefined)
9017
+ url_ += "ownerType=" + encodeURIComponent("" + ownerType) + "&";
8648
9018
  if (pageNumber === null)
8649
9019
  throw new globalThis.Error("The parameter 'pageNumber' cannot be null.");
8650
9020
  else if (pageNumber !== undefined)
@@ -10718,6 +11088,7 @@ export class DocumentV2 {
10718
11088
  this.preIPOCompanySPVId = _data["preIPOCompanySPVId"];
10719
11089
  this.partnerId = _data["partnerId"];
10720
11090
  this.registeredFundId = _data["registeredFundId"];
11091
+ this.redemptionWindowId = _data["redemptionWindowId"];
10721
11092
  this.transactionId = _data["transactionId"];
10722
11093
  this.type = _data["type"];
10723
11094
  this.taxYear = _data["taxYear"];
@@ -10742,6 +11113,7 @@ export class DocumentV2 {
10742
11113
  data["preIPOCompanySPVId"] = this.preIPOCompanySPVId;
10743
11114
  data["partnerId"] = this.partnerId;
10744
11115
  data["registeredFundId"] = this.registeredFundId;
11116
+ data["redemptionWindowId"] = this.redemptionWindowId;
10745
11117
  data["transactionId"] = this.transactionId;
10746
11118
  data["type"] = this.type;
10747
11119
  data["taxYear"] = this.taxYear;
@@ -12110,6 +12482,7 @@ export class Investor {
12110
12482
  init(_data) {
12111
12483
  if (_data) {
12112
12484
  this.id = _data["id"];
12485
+ this.externalId = _data["externalId"];
12113
12486
  this.partnerId = _data["partnerId"];
12114
12487
  this.financialInstitutionId = _data["financialInstitutionId"];
12115
12488
  this.financialAdvisorId = _data["financialAdvisorId"];
@@ -12134,6 +12507,7 @@ export class Investor {
12134
12507
  toJSON(data) {
12135
12508
  data = typeof data === 'object' ? data : {};
12136
12509
  data["id"] = this.id;
12510
+ data["externalId"] = this.externalId;
12137
12511
  data["partnerId"] = this.partnerId;
12138
12512
  data["financialInstitutionId"] = this.financialInstitutionId;
12139
12513
  data["financialAdvisorId"] = this.financialAdvisorId;
@@ -15205,6 +15579,125 @@ export class PropertyInfo {
15205
15579
  return data;
15206
15580
  }
15207
15581
  }
15582
+ export class ProspectiveOffering {
15583
+ constructor(data) {
15584
+ if (data) {
15585
+ for (var property in data) {
15586
+ if (data.hasOwnProperty(property))
15587
+ this[property] = data[property];
15588
+ }
15589
+ }
15590
+ }
15591
+ init(_data) {
15592
+ if (_data) {
15593
+ this.id = _data["id"];
15594
+ this.targetId = _data["targetId"];
15595
+ this.targetName = _data["targetName"];
15596
+ this.targetAssetType = _data["targetAssetType"];
15597
+ this.logoUrl = _data["logoUrl"];
15598
+ this.availableVolume = _data["availableVolume"];
15599
+ this.minimumInvestment = _data["minimumInvestment"];
15600
+ this.structure = _data["structure"];
15601
+ this.estimatedValuation = _data["estimatedValuation"] ? ProspectiveOfferingEstimatedValue.fromJS(_data["estimatedValuation"]) : undefined;
15602
+ this.estimatedValuationText = _data["estimatedValuationText"];
15603
+ this.estimatedPricePerShare = _data["estimatedPricePerShare"] ? ProspectiveOfferingEstimatedValue.fromJS(_data["estimatedPricePerShare"]) : undefined;
15604
+ this.estimatedPricePerShareText = _data["estimatedPricePerShareText"];
15605
+ this.researchReport = _data["researchReport"];
15606
+ this.createdAt = _data["createdAt"] ? new Date(_data["createdAt"].toString()) : undefined;
15607
+ }
15608
+ }
15609
+ static fromJS(data) {
15610
+ data = typeof data === 'object' ? data : {};
15611
+ let result = new ProspectiveOffering();
15612
+ result.init(data);
15613
+ return result;
15614
+ }
15615
+ toJSON(data) {
15616
+ data = typeof data === 'object' ? data : {};
15617
+ data["id"] = this.id;
15618
+ data["targetId"] = this.targetId;
15619
+ data["targetName"] = this.targetName;
15620
+ data["targetAssetType"] = this.targetAssetType;
15621
+ data["logoUrl"] = this.logoUrl;
15622
+ data["availableVolume"] = this.availableVolume;
15623
+ data["minimumInvestment"] = this.minimumInvestment;
15624
+ data["structure"] = this.structure;
15625
+ data["estimatedValuation"] = this.estimatedValuation ? this.estimatedValuation.toJSON() : undefined;
15626
+ data["estimatedValuationText"] = this.estimatedValuationText;
15627
+ data["estimatedPricePerShare"] = this.estimatedPricePerShare ? this.estimatedPricePerShare.toJSON() : undefined;
15628
+ data["estimatedPricePerShareText"] = this.estimatedPricePerShareText;
15629
+ data["researchReport"] = this.researchReport;
15630
+ data["createdAt"] = this.createdAt ? this.createdAt.toISOString() : undefined;
15631
+ return data;
15632
+ }
15633
+ }
15634
+ export class ProspectiveOfferingApiResponse {
15635
+ constructor(data) {
15636
+ if (data) {
15637
+ for (var property in data) {
15638
+ if (data.hasOwnProperty(property))
15639
+ this[property] = data[property];
15640
+ }
15641
+ }
15642
+ }
15643
+ init(_data) {
15644
+ if (_data) {
15645
+ if (Array.isArray(_data["items"])) {
15646
+ this.items = [];
15647
+ for (let item of _data["items"])
15648
+ this.items.push(ProspectiveOffering.fromJS(item));
15649
+ }
15650
+ this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
15651
+ }
15652
+ }
15653
+ static fromJS(data) {
15654
+ data = typeof data === 'object' ? data : {};
15655
+ let result = new ProspectiveOfferingApiResponse();
15656
+ result.init(data);
15657
+ return result;
15658
+ }
15659
+ toJSON(data) {
15660
+ data = typeof data === 'object' ? data : {};
15661
+ if (Array.isArray(this.items)) {
15662
+ data["items"] = [];
15663
+ for (let item of this.items)
15664
+ data["items"].push(item ? item.toJSON() : undefined);
15665
+ }
15666
+ data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
15667
+ return data;
15668
+ }
15669
+ }
15670
+ /** Represents an estimated value for a prospective offering property, including single, high, and low amounts. */
15671
+ export class ProspectiveOfferingEstimatedValue {
15672
+ constructor(data) {
15673
+ if (data) {
15674
+ for (var property in data) {
15675
+ if (data.hasOwnProperty(property))
15676
+ this[property] = data[property];
15677
+ }
15678
+ }
15679
+ }
15680
+ init(_data) {
15681
+ if (_data) {
15682
+ this.single = _data["single"];
15683
+ this.high = _data["high"];
15684
+ this.low = _data["low"];
15685
+ }
15686
+ }
15687
+ static fromJS(data) {
15688
+ data = typeof data === 'object' ? data : {};
15689
+ let result = new ProspectiveOfferingEstimatedValue();
15690
+ result.init(data);
15691
+ return result;
15692
+ }
15693
+ toJSON(data) {
15694
+ data = typeof data === 'object' ? data : {};
15695
+ data["single"] = this.single;
15696
+ data["high"] = this.high;
15697
+ data["low"] = this.low;
15698
+ return data;
15699
+ }
15700
+ }
15208
15701
  /** Questionnaire repesents the public information we provide for a Questionnaire in the Primary Offering. */
15209
15702
  export class Questionnaire {
15210
15703
  constructor(data) {
@@ -15504,6 +15997,97 @@ export class QuestionnaireQuestionAnswer {
15504
15997
  return data;
15505
15998
  }
15506
15999
  }
16000
+ /** Response model for a redemption window. */
16001
+ export class RedemptionWindow {
16002
+ constructor(data) {
16003
+ if (data) {
16004
+ for (var property in data) {
16005
+ if (data.hasOwnProperty(property))
16006
+ this[property] = data[property];
16007
+ }
16008
+ }
16009
+ }
16010
+ init(_data) {
16011
+ if (_data) {
16012
+ this.id = _data["id"];
16013
+ this.registeredFundId = _data["registeredFundId"];
16014
+ this.startDate = _data["startDate"] ? new Date(_data["startDate"].toString()) : undefined;
16015
+ this.endDate = _data["endDate"] ? new Date(_data["endDate"].toString()) : undefined;
16016
+ this.cutOffDate = _data["cutOffDate"] ? new Date(_data["cutOffDate"].toString()) : undefined;
16017
+ this.settlementDate = _data["settlementDate"] ? new Date(_data["settlementDate"].toString()) : undefined;
16018
+ this.navRedemptionPercent = _data["navRedemptionPercent"];
16019
+ this.sharesBeingRedeemed = _data["sharesBeingRedeemed"];
16020
+ if (Array.isArray(_data["documents"])) {
16021
+ this.documents = [];
16022
+ for (let item of _data["documents"])
16023
+ this.documents.push(DocumentV2.fromJS(item));
16024
+ }
16025
+ this.notes = _data["notes"];
16026
+ this.status = _data["status"];
16027
+ }
16028
+ }
16029
+ static fromJS(data) {
16030
+ data = typeof data === 'object' ? data : {};
16031
+ let result = new RedemptionWindow();
16032
+ result.init(data);
16033
+ return result;
16034
+ }
16035
+ toJSON(data) {
16036
+ data = typeof data === 'object' ? data : {};
16037
+ data["id"] = this.id;
16038
+ data["registeredFundId"] = this.registeredFundId;
16039
+ data["startDate"] = this.startDate ? this.startDate.toISOString() : undefined;
16040
+ data["endDate"] = this.endDate ? this.endDate.toISOString() : undefined;
16041
+ data["cutOffDate"] = this.cutOffDate ? this.cutOffDate.toISOString() : undefined;
16042
+ data["settlementDate"] = this.settlementDate ? this.settlementDate.toISOString() : undefined;
16043
+ data["navRedemptionPercent"] = this.navRedemptionPercent;
16044
+ data["sharesBeingRedeemed"] = this.sharesBeingRedeemed;
16045
+ if (Array.isArray(this.documents)) {
16046
+ data["documents"] = [];
16047
+ for (let item of this.documents)
16048
+ data["documents"].push(item ? item.toJSON() : undefined);
16049
+ }
16050
+ data["notes"] = this.notes;
16051
+ data["status"] = this.status;
16052
+ return data;
16053
+ }
16054
+ }
16055
+ export class RedemptionWindowApiResponse {
16056
+ constructor(data) {
16057
+ if (data) {
16058
+ for (var property in data) {
16059
+ if (data.hasOwnProperty(property))
16060
+ this[property] = data[property];
16061
+ }
16062
+ }
16063
+ }
16064
+ init(_data) {
16065
+ if (_data) {
16066
+ if (Array.isArray(_data["items"])) {
16067
+ this.items = [];
16068
+ for (let item of _data["items"])
16069
+ this.items.push(RedemptionWindow.fromJS(item));
16070
+ }
16071
+ this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
16072
+ }
16073
+ }
16074
+ static fromJS(data) {
16075
+ data = typeof data === 'object' ? data : {};
16076
+ let result = new RedemptionWindowApiResponse();
16077
+ result.init(data);
16078
+ return result;
16079
+ }
16080
+ toJSON(data) {
16081
+ data = typeof data === 'object' ? data : {};
16082
+ if (Array.isArray(this.items)) {
16083
+ data["items"] = [];
16084
+ for (let item of this.items)
16085
+ data["items"].push(item ? item.toJSON() : undefined);
16086
+ }
16087
+ data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
16088
+ return data;
16089
+ }
16090
+ }
15507
16091
  /** Represents a registered fund. */
15508
16092
  export class RegisteredFund {
15509
16093
  constructor(data) {
@@ -15564,6 +16148,7 @@ export class RegisteredFund {
15564
16148
  this.documents.push(DocumentV2.fromJS(item));
15565
16149
  }
15566
16150
  this.thirdPartyData = _data["thirdPartyData"] ? RegisteredFundThirdPartyData.fromJS(_data["thirdPartyData"]) : undefined;
16151
+ this.transactionsEnabled = _data["transactionsEnabled"];
15567
16152
  }
15568
16153
  }
15569
16154
  static fromJS(data) {
@@ -15622,6 +16207,7 @@ export class RegisteredFund {
15622
16207
  data["documents"].push(item ? item.toJSON() : undefined);
15623
16208
  }
15624
16209
  data["thirdPartyData"] = this.thirdPartyData ? this.thirdPartyData.toJSON() : undefined;
16210
+ data["transactionsEnabled"] = this.transactionsEnabled;
15625
16211
  return data;
15626
16212
  }
15627
16213
  }
@@ -17772,11 +18358,26 @@ export var SortOrder16;
17772
18358
  SortOrder16["Ascending"] = "Ascending";
17773
18359
  SortOrder16["Descending"] = "Descending";
17774
18360
  })(SortOrder16 || (SortOrder16 = {}));
18361
+ export var TargetAssetType;
18362
+ (function (TargetAssetType) {
18363
+ TargetAssetType["RegisteredFund"] = "RegisteredFund";
18364
+ TargetAssetType["PreIPOCompany"] = "PreIPOCompany";
18365
+ })(TargetAssetType || (TargetAssetType = {}));
17775
18366
  export var SortOrder17;
17776
18367
  (function (SortOrder17) {
17777
18368
  SortOrder17["Ascending"] = "Ascending";
17778
18369
  SortOrder17["Descending"] = "Descending";
17779
18370
  })(SortOrder17 || (SortOrder17 = {}));
18371
+ export var SortProperty3;
18372
+ (function (SortProperty3) {
18373
+ SortProperty3["CreatedAt"] = "CreatedAt";
18374
+ SortProperty3["UpdatedAt"] = "UpdatedAt";
18375
+ SortProperty3["CompanyName"] = "CompanyName";
18376
+ SortProperty3["Side"] = "Side";
18377
+ SortProperty3["PricePerShare"] = "PricePerShare";
18378
+ SortProperty3["AvailableVolume"] = "AvailableVolume";
18379
+ SortProperty3["ClosingDate"] = "ClosingDate";
18380
+ })(SortProperty3 || (SortProperty3 = {}));
17780
18381
  export var SortOrder18;
17781
18382
  (function (SortOrder18) {
17782
18383
  SortOrder18["Ascending"] = "Ascending";
@@ -17787,6 +18388,12 @@ export var SortOrder19;
17787
18388
  SortOrder19["Ascending"] = "Ascending";
17788
18389
  SortOrder19["Descending"] = "Descending";
17789
18390
  })(SortOrder19 || (SortOrder19 = {}));
18391
+ export var Status2;
18392
+ (function (Status2) {
18393
+ Status2["Scheduled"] = "Scheduled";
18394
+ Status2["Active"] = "Active";
18395
+ Status2["Closed"] = "Closed";
18396
+ })(Status2 || (Status2 = {}));
17790
18397
  export var SortOrder20;
17791
18398
  (function (SortOrder20) {
17792
18399
  SortOrder20["Ascending"] = "Ascending";
@@ -17797,6 +18404,12 @@ export var SortOrder21;
17797
18404
  SortOrder21["Ascending"] = "Ascending";
17798
18405
  SortOrder21["Descending"] = "Descending";
17799
18406
  })(SortOrder21 || (SortOrder21 = {}));
18407
+ export var Status3;
18408
+ (function (Status3) {
18409
+ Status3["Scheduled"] = "Scheduled";
18410
+ Status3["Active"] = "Active";
18411
+ Status3["Closed"] = "Closed";
18412
+ })(Status3 || (Status3 = {}));
17800
18413
  export var SortOrder22;
17801
18414
  (function (SortOrder22) {
17802
18415
  SortOrder22["Ascending"] = "Ascending";
@@ -17807,23 +18420,32 @@ export var SortOrder23;
17807
18420
  SortOrder23["Ascending"] = "Ascending";
17808
18421
  SortOrder23["Descending"] = "Descending";
17809
18422
  })(SortOrder23 || (SortOrder23 = {}));
17810
- export var TargetAssetType;
17811
- (function (TargetAssetType) {
17812
- TargetAssetType["PreIPOCompanySPV"] = "PreIPOCompanySPV";
17813
- TargetAssetType["RegisteredFund"] = "RegisteredFund";
17814
- TargetAssetType["PreIPOCompany"] = "PreIPOCompany";
17815
- })(TargetAssetType || (TargetAssetType = {}));
17816
- export var Side;
17817
- (function (Side) {
17818
- Side["Subscription"] = "Subscription";
17819
- Side["Redemption"] = "Redemption";
17820
- })(Side || (Side = {}));
18423
+ export var SortOrder24;
18424
+ (function (SortOrder24) {
18425
+ SortOrder24["Ascending"] = "Ascending";
18426
+ SortOrder24["Descending"] = "Descending";
18427
+ })(SortOrder24 || (SortOrder24 = {}));
18428
+ export var SortOrder25;
18429
+ (function (SortOrder25) {
18430
+ SortOrder25["Ascending"] = "Ascending";
18431
+ SortOrder25["Descending"] = "Descending";
18432
+ })(SortOrder25 || (SortOrder25 = {}));
18433
+ export var SortOrder26;
18434
+ (function (SortOrder26) {
18435
+ SortOrder26["Ascending"] = "Ascending";
18436
+ SortOrder26["Descending"] = "Descending";
18437
+ })(SortOrder26 || (SortOrder26 = {}));
17821
18438
  export var TargetAssetType2;
17822
18439
  (function (TargetAssetType2) {
17823
18440
  TargetAssetType2["PreIPOCompanySPV"] = "PreIPOCompanySPV";
17824
18441
  TargetAssetType2["RegisteredFund"] = "RegisteredFund";
17825
18442
  TargetAssetType2["PreIPOCompany"] = "PreIPOCompany";
17826
18443
  })(TargetAssetType2 || (TargetAssetType2 = {}));
18444
+ export var Side;
18445
+ (function (Side) {
18446
+ Side["Subscription"] = "Subscription";
18447
+ Side["Redemption"] = "Redemption";
18448
+ })(Side || (Side = {}));
17827
18449
  export var TargetAssetType3;
17828
18450
  (function (TargetAssetType3) {
17829
18451
  TargetAssetType3["PreIPOCompanySPV"] = "PreIPOCompanySPV";
@@ -17842,16 +18464,27 @@ export var TargetAssetType5;
17842
18464
  TargetAssetType5["RegisteredFund"] = "RegisteredFund";
17843
18465
  TargetAssetType5["PreIPOCompany"] = "PreIPOCompany";
17844
18466
  })(TargetAssetType5 || (TargetAssetType5 = {}));
17845
- export var SortOrder24;
17846
- (function (SortOrder24) {
17847
- SortOrder24["Ascending"] = "Ascending";
17848
- SortOrder24["Descending"] = "Descending";
17849
- })(SortOrder24 || (SortOrder24 = {}));
17850
- export var SortOrder25;
17851
- (function (SortOrder25) {
17852
- SortOrder25["Ascending"] = "Ascending";
17853
- SortOrder25["Descending"] = "Descending";
17854
- })(SortOrder25 || (SortOrder25 = {}));
18467
+ export var TargetAssetType6;
18468
+ (function (TargetAssetType6) {
18469
+ TargetAssetType6["PreIPOCompanySPV"] = "PreIPOCompanySPV";
18470
+ TargetAssetType6["RegisteredFund"] = "RegisteredFund";
18471
+ TargetAssetType6["PreIPOCompany"] = "PreIPOCompany";
18472
+ })(TargetAssetType6 || (TargetAssetType6 = {}));
18473
+ export var OwnerType;
18474
+ (function (OwnerType) {
18475
+ OwnerType["Investor"] = "Investor";
18476
+ OwnerType["FinancialAdvisor"] = "FinancialAdvisor";
18477
+ })(OwnerType || (OwnerType = {}));
18478
+ export var SortOrder27;
18479
+ (function (SortOrder27) {
18480
+ SortOrder27["Ascending"] = "Ascending";
18481
+ SortOrder27["Descending"] = "Descending";
18482
+ })(SortOrder27 || (SortOrder27 = {}));
18483
+ export var SortOrder28;
18484
+ (function (SortOrder28) {
18485
+ SortOrder28["Ascending"] = "Ascending";
18486
+ SortOrder28["Descending"] = "Descending";
18487
+ })(SortOrder28 || (SortOrder28 = {}));
17855
18488
  export var EventType;
17856
18489
  (function (EventType) {
17857
18490
  EventType["PreIPOCompany"] = "PreIPOCompany";
@@ -18004,9 +18637,9 @@ export var ConstructorInfoMemberType;
18004
18637
  })(ConstructorInfoMemberType || (ConstructorInfoMemberType = {}));
18005
18638
  export var CreateIndicationOfInterestV2TargetAssetType;
18006
18639
  (function (CreateIndicationOfInterestV2TargetAssetType) {
18007
- CreateIndicationOfInterestV2TargetAssetType["PreIPOCompanySPV"] = "PreIPOCompanySPV";
18008
18640
  CreateIndicationOfInterestV2TargetAssetType["RegisteredFund"] = "RegisteredFund";
18009
18641
  CreateIndicationOfInterestV2TargetAssetType["PreIPOCompany"] = "PreIPOCompany";
18642
+ CreateIndicationOfInterestV2TargetAssetType["ProspectiveOffering"] = "ProspectiveOffering";
18010
18643
  })(CreateIndicationOfInterestV2TargetAssetType || (CreateIndicationOfInterestV2TargetAssetType = {}));
18011
18644
  export var CreateInvestorType;
18012
18645
  (function (CreateInvestorType) {
@@ -18241,9 +18874,9 @@ export var FinancialInstitutionKycRequired;
18241
18874
  })(FinancialInstitutionKycRequired || (FinancialInstitutionKycRequired = {}));
18242
18875
  export var IndicationOfInterestV2TargetAssetType;
18243
18876
  (function (IndicationOfInterestV2TargetAssetType) {
18244
- IndicationOfInterestV2TargetAssetType["PreIPOCompanySPV"] = "PreIPOCompanySPV";
18245
18877
  IndicationOfInterestV2TargetAssetType["RegisteredFund"] = "RegisteredFund";
18246
18878
  IndicationOfInterestV2TargetAssetType["PreIPOCompany"] = "PreIPOCompany";
18879
+ IndicationOfInterestV2TargetAssetType["ProspectiveOffering"] = "ProspectiveOffering";
18247
18880
  })(IndicationOfInterestV2TargetAssetType || (IndicationOfInterestV2TargetAssetType = {}));
18248
18881
  export var IndividualEntityInvestorQualifiedStatus;
18249
18882
  (function (IndividualEntityInvestorQualifiedStatus) {
@@ -18647,6 +19280,11 @@ export var PropertyInfoAttributes;
18647
19280
  PropertyInfoAttributes["Reserved4"] = "Reserved4";
18648
19281
  PropertyInfoAttributes["ReservedMask"] = "ReservedMask";
18649
19282
  })(PropertyInfoAttributes || (PropertyInfoAttributes = {}));
19283
+ export var ProspectiveOfferingTargetAssetType;
19284
+ (function (ProspectiveOfferingTargetAssetType) {
19285
+ ProspectiveOfferingTargetAssetType["RegisteredFund"] = "RegisteredFund";
19286
+ ProspectiveOfferingTargetAssetType["PreIPOCompany"] = "PreIPOCompany";
19287
+ })(ProspectiveOfferingTargetAssetType || (ProspectiveOfferingTargetAssetType = {}));
18650
19288
  export var QuestionnaireAnswerApiResponseStatusCode;
18651
19289
  (function (QuestionnaireAnswerApiResponseStatusCode) {
18652
19290
  QuestionnaireAnswerApiResponseStatusCode["Continue"] = "Continue";
@@ -18742,6 +19380,12 @@ export var QuestionnaireQuestionAnswerQuestionFormat;
18742
19380
  QuestionnaireQuestionAnswerQuestionFormat["Email"] = "Email";
18743
19381
  QuestionnaireQuestionAnswerQuestionFormat["Scale"] = "Scale";
18744
19382
  })(QuestionnaireQuestionAnswerQuestionFormat || (QuestionnaireQuestionAnswerQuestionFormat = {}));
19383
+ export var RedemptionWindowStatus;
19384
+ (function (RedemptionWindowStatus) {
19385
+ RedemptionWindowStatus["Scheduled"] = "Scheduled";
19386
+ RedemptionWindowStatus["Active"] = "Active";
19387
+ RedemptionWindowStatus["Closed"] = "Closed";
19388
+ })(RedemptionWindowStatus || (RedemptionWindowStatus = {}));
18745
19389
  export var RegisteredFundSubscriptionCadence;
18746
19390
  (function (RegisteredFundSubscriptionCadence) {
18747
19391
  RegisteredFundSubscriptionCadence["Monthly"] = "Monthly";
@@ -18761,6 +19405,12 @@ export var RegisteredFundDistributionCadence;
18761
19405
  RegisteredFundDistributionCadence["Quarterly"] = "Quarterly";
18762
19406
  RegisteredFundDistributionCadence["Annual"] = "Annual";
18763
19407
  })(RegisteredFundDistributionCadence || (RegisteredFundDistributionCadence = {}));
19408
+ export var RegisteredFundTaxForm;
19409
+ (function (RegisteredFundTaxForm) {
19410
+ RegisteredFundTaxForm["K1"] = "K1";
19411
+ RegisteredFundTaxForm["Form1099"] = "Form1099";
19412
+ RegisteredFundTaxForm["Other"] = "Other";
19413
+ })(RegisteredFundTaxForm || (RegisteredFundTaxForm = {}));
18764
19414
  export var SpvAipDataSecurityIdentifier;
18765
19415
  (function (SpvAipDataSecurityIdentifier) {
18766
19416
  SpvAipDataSecurityIdentifier["Isin"] = "Isin";