@monarkmarkets/api-client 1.3.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Client.d.ts +371 -23
- package/dist/Client.js +1041 -30
- package/package.json +1 -1
package/dist/Client.js
CHANGED
|
@@ -329,7 +329,7 @@ export class Client {
|
|
|
329
329
|
return Promise.resolve(null);
|
|
330
330
|
}
|
|
331
331
|
/**
|
|
332
|
-
* Create a Financial Advisor
|
|
332
|
+
* Create a Financial Advisor.
|
|
333
333
|
* @param body (optional) create Financial Advisor information.
|
|
334
334
|
* @return The newly created Financial Advisor.
|
|
335
335
|
*/
|
|
@@ -380,7 +380,7 @@ export class Client {
|
|
|
380
380
|
return Promise.resolve(null);
|
|
381
381
|
}
|
|
382
382
|
/**
|
|
383
|
-
* Update
|
|
383
|
+
* Update a Financial Advisor.
|
|
384
384
|
* @param body (optional) update Financial Advisor information.
|
|
385
385
|
* @return The updated Financial Advisor.
|
|
386
386
|
*/
|
|
@@ -431,7 +431,7 @@ export class Client {
|
|
|
431
431
|
return Promise.resolve(null);
|
|
432
432
|
}
|
|
433
433
|
/**
|
|
434
|
-
* Get all Financial Advisors
|
|
434
|
+
* Get all Financial Advisors.
|
|
435
435
|
* @param page (optional) Number of the page to retrieve.
|
|
436
436
|
Defaults to 1 if not specified.
|
|
437
437
|
* @param pageSize (optional) Size of the page to retrieve.
|
|
@@ -492,7 +492,7 @@ export class Client {
|
|
|
492
492
|
return Promise.resolve(null);
|
|
493
493
|
}
|
|
494
494
|
/**
|
|
495
|
-
* Get
|
|
495
|
+
* Get a Financial Advisor by Id.
|
|
496
496
|
* @param id Id of the Financial Advisor to find.
|
|
497
497
|
* @return Returns the Financial Advisor with the specified Id.
|
|
498
498
|
*/
|
|
@@ -4916,6 +4916,139 @@ export class Client {
|
|
|
4916
4916
|
}
|
|
4917
4917
|
return Promise.resolve(null);
|
|
4918
4918
|
}
|
|
4919
|
+
/**
|
|
4920
|
+
* Gets all Financial Institutions that have access to a specific SPV
|
|
4921
|
+
* @param spvId ID of the SPV to find Financial Institutions for
|
|
4922
|
+
* @param page (optional) Number of the page to retrieve.
|
|
4923
|
+
Defaults to 1 if not specified.
|
|
4924
|
+
* @param pageSize (optional) Size of the page to retrieve.
|
|
4925
|
+
Defaults to 25 if not specified.
|
|
4926
|
+
* @return Returns the list of Financial Institutions
|
|
4927
|
+
*/
|
|
4928
|
+
getFinancialInstitutionsForSPV(spvId, page, pageSize) {
|
|
4929
|
+
let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv/{spvId}/financial-institutions?";
|
|
4930
|
+
if (spvId === undefined || spvId === null)
|
|
4931
|
+
throw new Error("The parameter 'spvId' must be defined.");
|
|
4932
|
+
url_ = url_.replace("{spvId}", encodeURIComponent("" + spvId));
|
|
4933
|
+
if (page === null)
|
|
4934
|
+
throw new Error("The parameter 'page' cannot be null.");
|
|
4935
|
+
else if (page !== undefined)
|
|
4936
|
+
url_ += "page=" + encodeURIComponent("" + page) + "&";
|
|
4937
|
+
if (pageSize === null)
|
|
4938
|
+
throw new Error("The parameter 'pageSize' cannot be null.");
|
|
4939
|
+
else if (pageSize !== undefined)
|
|
4940
|
+
url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
|
|
4941
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
4942
|
+
let options_ = {
|
|
4943
|
+
method: "GET",
|
|
4944
|
+
headers: {
|
|
4945
|
+
"Accept": "application/json"
|
|
4946
|
+
}
|
|
4947
|
+
};
|
|
4948
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
4949
|
+
return this.processGetFinancialInstitutionsForSPV(_response);
|
|
4950
|
+
});
|
|
4951
|
+
}
|
|
4952
|
+
processGetFinancialInstitutionsForSPV(response) {
|
|
4953
|
+
const status = response.status;
|
|
4954
|
+
let _headers = {};
|
|
4955
|
+
if (response.headers && response.headers.forEach) {
|
|
4956
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
4957
|
+
}
|
|
4958
|
+
;
|
|
4959
|
+
if (status === 200) {
|
|
4960
|
+
return response.text().then((_responseText) => {
|
|
4961
|
+
let result200 = null;
|
|
4962
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4963
|
+
result200 = FinancialInstitutionApiResponse.fromJS(resultData200);
|
|
4964
|
+
return result200;
|
|
4965
|
+
});
|
|
4966
|
+
}
|
|
4967
|
+
else if (status === 404) {
|
|
4968
|
+
return response.text().then((_responseText) => {
|
|
4969
|
+
let result404 = null;
|
|
4970
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4971
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
4972
|
+
return throwException("SPV not found", status, _responseText, _headers, result404);
|
|
4973
|
+
});
|
|
4974
|
+
}
|
|
4975
|
+
else if (status !== 200 && status !== 204) {
|
|
4976
|
+
return response.text().then((_responseText) => {
|
|
4977
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
4978
|
+
});
|
|
4979
|
+
}
|
|
4980
|
+
return Promise.resolve(null);
|
|
4981
|
+
}
|
|
4982
|
+
/**
|
|
4983
|
+
* Gets all SPVs that a Financial Institution has access to
|
|
4984
|
+
* @param financialInstitutionId ID of the Financial Institution
|
|
4985
|
+
* @param page (optional) Number of the page to retrieve.
|
|
4986
|
+
Defaults to 1 if not specified.
|
|
4987
|
+
* @param pageSize (optional) Size of the page to retrieve.
|
|
4988
|
+
Defaults to 25 if not specified.
|
|
4989
|
+
* @return Returns the list of SPVs
|
|
4990
|
+
*/
|
|
4991
|
+
getSPVsForFinancialInstitution(financialInstitutionId, page, pageSize) {
|
|
4992
|
+
let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv/financial-institution/{financialInstitutionId}/spvs?";
|
|
4993
|
+
if (financialInstitutionId === undefined || financialInstitutionId === null)
|
|
4994
|
+
throw new Error("The parameter 'financialInstitutionId' must be defined.");
|
|
4995
|
+
url_ = url_.replace("{financialInstitutionId}", encodeURIComponent("" + financialInstitutionId));
|
|
4996
|
+
if (page === null)
|
|
4997
|
+
throw new Error("The parameter 'page' cannot be null.");
|
|
4998
|
+
else if (page !== undefined)
|
|
4999
|
+
url_ += "page=" + encodeURIComponent("" + page) + "&";
|
|
5000
|
+
if (pageSize === null)
|
|
5001
|
+
throw new Error("The parameter 'pageSize' cannot be null.");
|
|
5002
|
+
else if (pageSize !== undefined)
|
|
5003
|
+
url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
|
|
5004
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
5005
|
+
let options_ = {
|
|
5006
|
+
method: "GET",
|
|
5007
|
+
headers: {
|
|
5008
|
+
"Accept": "application/json"
|
|
5009
|
+
}
|
|
5010
|
+
};
|
|
5011
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
5012
|
+
return this.processGetSPVsForFinancialInstitution(_response);
|
|
5013
|
+
});
|
|
5014
|
+
}
|
|
5015
|
+
processGetSPVsForFinancialInstitution(response) {
|
|
5016
|
+
const status = response.status;
|
|
5017
|
+
let _headers = {};
|
|
5018
|
+
if (response.headers && response.headers.forEach) {
|
|
5019
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
5020
|
+
}
|
|
5021
|
+
;
|
|
5022
|
+
if (status === 200) {
|
|
5023
|
+
return response.text().then((_responseText) => {
|
|
5024
|
+
let result200 = null;
|
|
5025
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
5026
|
+
if (Array.isArray(resultData200)) {
|
|
5027
|
+
result200 = [];
|
|
5028
|
+
for (let item of resultData200)
|
|
5029
|
+
result200.push(PreIPOCompanySPV.fromJS(item));
|
|
5030
|
+
}
|
|
5031
|
+
else {
|
|
5032
|
+
result200 = null;
|
|
5033
|
+
}
|
|
5034
|
+
return result200;
|
|
5035
|
+
});
|
|
5036
|
+
}
|
|
5037
|
+
else if (status === 404) {
|
|
5038
|
+
return response.text().then((_responseText) => {
|
|
5039
|
+
let result404 = null;
|
|
5040
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
5041
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
5042
|
+
return throwException("Financial Institution not found", status, _responseText, _headers, result404);
|
|
5043
|
+
});
|
|
5044
|
+
}
|
|
5045
|
+
else if (status !== 200 && status !== 204) {
|
|
5046
|
+
return response.text().then((_responseText) => {
|
|
5047
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
5048
|
+
});
|
|
5049
|
+
}
|
|
5050
|
+
return Promise.resolve(null);
|
|
5051
|
+
}
|
|
4919
5052
|
/**
|
|
4920
5053
|
* Gets all SPVs that have been approved.
|
|
4921
5054
|
* @param page (optional) Number of the page to retrieve.
|
|
@@ -5247,8 +5380,9 @@ export class Client {
|
|
|
5247
5380
|
return Promise.resolve(null);
|
|
5248
5381
|
}
|
|
5249
5382
|
/**
|
|
5250
|
-
*
|
|
5251
|
-
* @
|
|
5383
|
+
* Create a Questionnaire.
|
|
5384
|
+
* @param body (optional) Payload describing the questionnaire to create.
|
|
5385
|
+
* @return Returns the created questionnaire.
|
|
5252
5386
|
*/
|
|
5253
5387
|
createQuestionnaire(body) {
|
|
5254
5388
|
let url_ = this.baseUrl + "/primary/v1/questionnaire";
|
|
@@ -5286,7 +5420,7 @@ export class Client {
|
|
|
5286
5420
|
let result400 = null;
|
|
5287
5421
|
let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
5288
5422
|
result400 = ProblemDetails.fromJS(resultData400);
|
|
5289
|
-
return throwException("
|
|
5423
|
+
return throwException("Validation failed for the payload.", status, _responseText, _headers, result400);
|
|
5290
5424
|
});
|
|
5291
5425
|
}
|
|
5292
5426
|
else if (status !== 200 && status !== 204) {
|
|
@@ -5297,8 +5431,9 @@ export class Client {
|
|
|
5297
5431
|
return Promise.resolve(null);
|
|
5298
5432
|
}
|
|
5299
5433
|
/**
|
|
5300
|
-
*
|
|
5301
|
-
* @
|
|
5434
|
+
* Update a Questionnaire.
|
|
5435
|
+
* @param body (optional) Payload containing questionnaire updates.
|
|
5436
|
+
* @return Returns the updated questionnaire.
|
|
5302
5437
|
*/
|
|
5303
5438
|
updateQuestionnaire(body) {
|
|
5304
5439
|
let url_ = this.baseUrl + "/primary/v1/questionnaire";
|
|
@@ -5336,7 +5471,7 @@ export class Client {
|
|
|
5336
5471
|
let result400 = null;
|
|
5337
5472
|
let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
5338
5473
|
result400 = ProblemDetails.fromJS(resultData400);
|
|
5339
|
-
return throwException("
|
|
5474
|
+
return throwException("Validation failed for the payload.", status, _responseText, _headers, result400);
|
|
5340
5475
|
});
|
|
5341
5476
|
}
|
|
5342
5477
|
else if (status === 404) {
|
|
@@ -5344,7 +5479,7 @@ export class Client {
|
|
|
5344
5479
|
let result404 = null;
|
|
5345
5480
|
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
5346
5481
|
result404 = ProblemDetails.fromJS(resultData404);
|
|
5347
|
-
return throwException("
|
|
5482
|
+
return throwException("Questionnaire not found.", status, _responseText, _headers, result404);
|
|
5348
5483
|
});
|
|
5349
5484
|
}
|
|
5350
5485
|
else if (status !== 200 && status !== 204) {
|
|
@@ -5427,7 +5562,9 @@ export class Client {
|
|
|
5427
5562
|
return Promise.resolve(null);
|
|
5428
5563
|
}
|
|
5429
5564
|
/**
|
|
5430
|
-
*
|
|
5565
|
+
* Delete a Questionnaire.
|
|
5566
|
+
* @param id Identifier of the questionnaire to remove.
|
|
5567
|
+
* @return Questionnaire deleted successfully.
|
|
5431
5568
|
*/
|
|
5432
5569
|
deleteQuestionnaire(id) {
|
|
5433
5570
|
let url_ = this.baseUrl + "/primary/v1/questionnaire/{id}";
|
|
@@ -5460,7 +5597,7 @@ export class Client {
|
|
|
5460
5597
|
let result404 = null;
|
|
5461
5598
|
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
5462
5599
|
result404 = ProblemDetails.fromJS(resultData404);
|
|
5463
|
-
return throwException("
|
|
5600
|
+
return throwException("Questionnaire not found.", status, _responseText, _headers, result404);
|
|
5464
5601
|
});
|
|
5465
5602
|
}
|
|
5466
5603
|
else if (status !== 200 && status !== 204) {
|
|
@@ -6397,27 +6534,571 @@ export class Client {
|
|
|
6397
6534
|
}
|
|
6398
6535
|
};
|
|
6399
6536
|
return this.http.fetch(url_, options_).then((_response) => {
|
|
6400
|
-
return this.processCompleteRegisteredFundSubscriptionAction(_response);
|
|
6537
|
+
return this.processCompleteRegisteredFundSubscriptionAction(_response);
|
|
6538
|
+
});
|
|
6539
|
+
}
|
|
6540
|
+
processCompleteRegisteredFundSubscriptionAction(response) {
|
|
6541
|
+
const status = response.status;
|
|
6542
|
+
let _headers = {};
|
|
6543
|
+
if (response.headers && response.headers.forEach) {
|
|
6544
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
6545
|
+
}
|
|
6546
|
+
;
|
|
6547
|
+
if (status === 204) {
|
|
6548
|
+
return response.text().then((_responseText) => {
|
|
6549
|
+
return;
|
|
6550
|
+
});
|
|
6551
|
+
}
|
|
6552
|
+
else if (status === 404) {
|
|
6553
|
+
return response.text().then((_responseText) => {
|
|
6554
|
+
let result404 = null;
|
|
6555
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
6556
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
6557
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
6558
|
+
});
|
|
6559
|
+
}
|
|
6560
|
+
else if (status !== 200 && status !== 204) {
|
|
6561
|
+
return response.text().then((_responseText) => {
|
|
6562
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6563
|
+
});
|
|
6564
|
+
}
|
|
6565
|
+
return Promise.resolve(null);
|
|
6566
|
+
}
|
|
6567
|
+
/**
|
|
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.
|
|
6572
|
+
*/
|
|
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));
|
|
6581
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6582
|
+
let options_ = {
|
|
6583
|
+
method: "GET",
|
|
6584
|
+
headers: {
|
|
6585
|
+
"Accept": "application/json"
|
|
6586
|
+
}
|
|
6587
|
+
};
|
|
6588
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
6589
|
+
return this.processGetSecondaryLinkEvergreenFundById(_response);
|
|
6590
|
+
});
|
|
6591
|
+
}
|
|
6592
|
+
processGetSecondaryLinkEvergreenFundById(response) {
|
|
6593
|
+
const status = response.status;
|
|
6594
|
+
let _headers = {};
|
|
6595
|
+
if (response.headers && response.headers.forEach) {
|
|
6596
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
6597
|
+
}
|
|
6598
|
+
;
|
|
6599
|
+
if (status === 200) {
|
|
6600
|
+
return response.text().then((_responseText) => {
|
|
6601
|
+
let result200 = null;
|
|
6602
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
6603
|
+
result200 = EvergreenFund.fromJS(resultData200);
|
|
6604
|
+
return result200;
|
|
6605
|
+
});
|
|
6606
|
+
}
|
|
6607
|
+
else if (status === 404) {
|
|
6608
|
+
return response.text().then((_responseText) => {
|
|
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);
|
|
6613
|
+
});
|
|
6614
|
+
}
|
|
6615
|
+
else if (status === 403) {
|
|
6616
|
+
return response.text().then((_responseText) => {
|
|
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);
|
|
6621
|
+
});
|
|
6622
|
+
}
|
|
6623
|
+
else if (status !== 200 && status !== 204) {
|
|
6624
|
+
return response.text().then((_responseText) => {
|
|
6625
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6626
|
+
});
|
|
6627
|
+
}
|
|
6628
|
+
return Promise.resolve(null);
|
|
6629
|
+
}
|
|
6630
|
+
/**
|
|
6631
|
+
* Gets all SecondaryLink Evergreen Funds with optional filtering and pagination.
|
|
6632
|
+
* @param financialInstitutionId The financial institution ID.
|
|
6633
|
+
* @param page (optional) Number of the page to retrieve.
|
|
6634
|
+
Defaults to 1 if not specified.
|
|
6635
|
+
* @param pageSize (optional) Size of the page to retrieve.
|
|
6636
|
+
Defaults to 25 if not specified.
|
|
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.
|
|
6640
|
+
*/
|
|
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));
|
|
6646
|
+
if (page === null)
|
|
6647
|
+
throw new Error("The parameter 'page' cannot be null.");
|
|
6648
|
+
else if (page !== undefined)
|
|
6649
|
+
url_ += "page=" + encodeURIComponent("" + page) + "&";
|
|
6650
|
+
if (pageSize === null)
|
|
6651
|
+
throw new Error("The parameter 'pageSize' cannot be null.");
|
|
6652
|
+
else if (pageSize !== undefined)
|
|
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) + "&";
|
|
6658
|
+
if (sortOrder === null)
|
|
6659
|
+
throw new Error("The parameter 'sortOrder' cannot be null.");
|
|
6660
|
+
else if (sortOrder !== undefined)
|
|
6661
|
+
url_ += "sortOrder=" + encodeURIComponent("" + sortOrder) + "&";
|
|
6662
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6663
|
+
let options_ = {
|
|
6664
|
+
method: "GET",
|
|
6665
|
+
headers: {
|
|
6666
|
+
"Accept": "application/json"
|
|
6667
|
+
}
|
|
6668
|
+
};
|
|
6669
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
6670
|
+
return this.processGetAllSecondaryLinkEvergreenFunds(_response);
|
|
6671
|
+
});
|
|
6672
|
+
}
|
|
6673
|
+
processGetAllSecondaryLinkEvergreenFunds(response) {
|
|
6674
|
+
const status = response.status;
|
|
6675
|
+
let _headers = {};
|
|
6676
|
+
if (response.headers && response.headers.forEach) {
|
|
6677
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
6678
|
+
}
|
|
6679
|
+
;
|
|
6680
|
+
if (status === 200) {
|
|
6681
|
+
return response.text().then((_responseText) => {
|
|
6682
|
+
let result200 = null;
|
|
6683
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
6684
|
+
result200 = EvergreenFundApiResponse.fromJS(resultData200);
|
|
6685
|
+
return result200;
|
|
6686
|
+
});
|
|
6687
|
+
}
|
|
6688
|
+
else if (status === 403) {
|
|
6689
|
+
return response.text().then((_responseText) => {
|
|
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);
|
|
6694
|
+
});
|
|
6695
|
+
}
|
|
6696
|
+
else if (status !== 200 && status !== 204) {
|
|
6697
|
+
return response.text().then((_responseText) => {
|
|
6698
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6699
|
+
});
|
|
6700
|
+
}
|
|
6701
|
+
return Promise.resolve(null);
|
|
6702
|
+
}
|
|
6703
|
+
/**
|
|
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.
|
|
6708
|
+
*/
|
|
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));
|
|
6717
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6718
|
+
let options_ = {
|
|
6719
|
+
method: "GET",
|
|
6720
|
+
headers: {
|
|
6721
|
+
"Accept": "application/json"
|
|
6722
|
+
}
|
|
6723
|
+
};
|
|
6724
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
6725
|
+
return this.processGetSecondaryLinkEvergreenNewsById(_response);
|
|
6726
|
+
});
|
|
6727
|
+
}
|
|
6728
|
+
processGetSecondaryLinkEvergreenNewsById(response) {
|
|
6729
|
+
const status = response.status;
|
|
6730
|
+
let _headers = {};
|
|
6731
|
+
if (response.headers && response.headers.forEach) {
|
|
6732
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
6733
|
+
}
|
|
6734
|
+
;
|
|
6735
|
+
if (status === 200) {
|
|
6736
|
+
return response.text().then((_responseText) => {
|
|
6737
|
+
let result200 = null;
|
|
6738
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
6739
|
+
result200 = EvergreenNews.fromJS(resultData200);
|
|
6740
|
+
return result200;
|
|
6741
|
+
});
|
|
6742
|
+
}
|
|
6743
|
+
else if (status === 404) {
|
|
6744
|
+
return response.text().then((_responseText) => {
|
|
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);
|
|
6749
|
+
});
|
|
6750
|
+
}
|
|
6751
|
+
else if (status === 403) {
|
|
6752
|
+
return response.text().then((_responseText) => {
|
|
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);
|
|
6757
|
+
});
|
|
6758
|
+
}
|
|
6759
|
+
else if (status !== 200 && status !== 204) {
|
|
6760
|
+
return response.text().then((_responseText) => {
|
|
6761
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6762
|
+
});
|
|
6763
|
+
}
|
|
6764
|
+
return Promise.resolve(null);
|
|
6765
|
+
}
|
|
6766
|
+
/**
|
|
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.
|
|
6776
|
+
*/
|
|
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) + "&";
|
|
6798
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6799
|
+
let options_ = {
|
|
6800
|
+
method: "GET",
|
|
6801
|
+
headers: {
|
|
6802
|
+
"Accept": "application/json"
|
|
6803
|
+
}
|
|
6804
|
+
};
|
|
6805
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
6806
|
+
return this.processGetAllSecondaryLinkEvergreenNews(_response);
|
|
6807
|
+
});
|
|
6808
|
+
}
|
|
6809
|
+
processGetAllSecondaryLinkEvergreenNews(response) {
|
|
6810
|
+
const status = response.status;
|
|
6811
|
+
let _headers = {};
|
|
6812
|
+
if (response.headers && response.headers.forEach) {
|
|
6813
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
6814
|
+
}
|
|
6815
|
+
;
|
|
6816
|
+
if (status === 200) {
|
|
6817
|
+
return response.text().then((_responseText) => {
|
|
6818
|
+
let result200 = null;
|
|
6819
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
6820
|
+
result200 = EvergreenNewsApiResponse.fromJS(resultData200);
|
|
6821
|
+
return result200;
|
|
6822
|
+
});
|
|
6823
|
+
}
|
|
6824
|
+
else if (status === 403) {
|
|
6825
|
+
return response.text().then((_responseText) => {
|
|
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);
|
|
6830
|
+
});
|
|
6831
|
+
}
|
|
6832
|
+
else if (status !== 200 && status !== 204) {
|
|
6833
|
+
return response.text().then((_responseText) => {
|
|
6834
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6835
|
+
});
|
|
6836
|
+
}
|
|
6837
|
+
return Promise.resolve(null);
|
|
6838
|
+
}
|
|
6839
|
+
/**
|
|
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.
|
|
6844
|
+
*/
|
|
6845
|
+
getSecondaryLinkEvergreenReturnsById(id, financialInstitutionId) {
|
|
6846
|
+
let url_ = this.baseUrl + "/primary/v1/secondarylink/evergreen-returns/{id}/financial-institution/{financialInstitutionId}";
|
|
6847
|
+
if (id === undefined || id === null)
|
|
6848
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
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));
|
|
6853
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6854
|
+
let options_ = {
|
|
6855
|
+
method: "GET",
|
|
6856
|
+
headers: {
|
|
6857
|
+
"Accept": "application/json"
|
|
6858
|
+
}
|
|
6859
|
+
};
|
|
6860
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
6861
|
+
return this.processGetSecondaryLinkEvergreenReturnsById(_response);
|
|
6862
|
+
});
|
|
6863
|
+
}
|
|
6864
|
+
processGetSecondaryLinkEvergreenReturnsById(response) {
|
|
6865
|
+
const status = response.status;
|
|
6866
|
+
let _headers = {};
|
|
6867
|
+
if (response.headers && response.headers.forEach) {
|
|
6868
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
6869
|
+
}
|
|
6870
|
+
;
|
|
6871
|
+
if (status === 200) {
|
|
6872
|
+
return response.text().then((_responseText) => {
|
|
6873
|
+
let result200 = null;
|
|
6874
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
6875
|
+
result200 = EvergreenReturns.fromJS(resultData200);
|
|
6876
|
+
return result200;
|
|
6877
|
+
});
|
|
6878
|
+
}
|
|
6879
|
+
else if (status === 404) {
|
|
6880
|
+
return response.text().then((_responseText) => {
|
|
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);
|
|
6885
|
+
});
|
|
6886
|
+
}
|
|
6887
|
+
else if (status === 403) {
|
|
6888
|
+
return response.text().then((_responseText) => {
|
|
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);
|
|
6893
|
+
});
|
|
6894
|
+
}
|
|
6895
|
+
else if (status !== 200 && status !== 204) {
|
|
6896
|
+
return response.text().then((_responseText) => {
|
|
6897
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6898
|
+
});
|
|
6899
|
+
}
|
|
6900
|
+
return Promise.resolve(null);
|
|
6901
|
+
}
|
|
6902
|
+
/**
|
|
6903
|
+
* Gets all SecondaryLink Evergreen Returns with optional filtering and pagination.
|
|
6904
|
+
* @param financialInstitutionId The financial institution ID.
|
|
6905
|
+
* @param page (optional) Number of the page to retrieve.
|
|
6906
|
+
Defaults to 1 if not specified.
|
|
6907
|
+
* @param pageSize (optional) Size of the page to retrieve.
|
|
6908
|
+
Defaults to 25 if not specified.
|
|
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.
|
|
6912
|
+
*/
|
|
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
|
+
if (page === null)
|
|
6919
|
+
throw new Error("The parameter 'page' cannot be null.");
|
|
6920
|
+
else if (page !== undefined)
|
|
6921
|
+
url_ += "page=" + encodeURIComponent("" + page) + "&";
|
|
6922
|
+
if (pageSize === null)
|
|
6923
|
+
throw new Error("The parameter 'pageSize' cannot be null.");
|
|
6924
|
+
else if (pageSize !== undefined)
|
|
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) + "&";
|
|
6930
|
+
if (sortOrder === null)
|
|
6931
|
+
throw new Error("The parameter 'sortOrder' cannot be null.");
|
|
6932
|
+
else if (sortOrder !== undefined)
|
|
6933
|
+
url_ += "sortOrder=" + encodeURIComponent("" + sortOrder) + "&";
|
|
6934
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6935
|
+
let options_ = {
|
|
6936
|
+
method: "GET",
|
|
6937
|
+
headers: {
|
|
6938
|
+
"Accept": "application/json"
|
|
6939
|
+
}
|
|
6940
|
+
};
|
|
6941
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
6942
|
+
return this.processGetAllSecondaryLinkEvergreenReturns(_response);
|
|
6943
|
+
});
|
|
6944
|
+
}
|
|
6945
|
+
processGetAllSecondaryLinkEvergreenReturns(response) {
|
|
6946
|
+
const status = response.status;
|
|
6947
|
+
let _headers = {};
|
|
6948
|
+
if (response.headers && response.headers.forEach) {
|
|
6949
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
6950
|
+
}
|
|
6951
|
+
;
|
|
6952
|
+
if (status === 200) {
|
|
6953
|
+
return response.text().then((_responseText) => {
|
|
6954
|
+
let result200 = null;
|
|
6955
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
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);
|
|
7012
|
+
return result200;
|
|
7013
|
+
});
|
|
7014
|
+
}
|
|
7015
|
+
else if (status === 404) {
|
|
7016
|
+
return response.text().then((_responseText) => {
|
|
7017
|
+
let result404 = null;
|
|
7018
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
7019
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
7020
|
+
return throwException("EvergreenShareClasses not found.", status, _responseText, _headers, result404);
|
|
7021
|
+
});
|
|
7022
|
+
}
|
|
7023
|
+
else if (status === 403) {
|
|
7024
|
+
return response.text().then((_responseText) => {
|
|
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);
|
|
7029
|
+
});
|
|
7030
|
+
}
|
|
7031
|
+
else if (status !== 200 && status !== 204) {
|
|
7032
|
+
return response.text().then((_responseText) => {
|
|
7033
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7034
|
+
});
|
|
7035
|
+
}
|
|
7036
|
+
return Promise.resolve(null);
|
|
7037
|
+
}
|
|
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"
|
|
7075
|
+
}
|
|
7076
|
+
};
|
|
7077
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
7078
|
+
return this.processGetAllSecondaryLinkEvergreenShareClasses(_response);
|
|
6401
7079
|
});
|
|
6402
7080
|
}
|
|
6403
|
-
|
|
7081
|
+
processGetAllSecondaryLinkEvergreenShareClasses(response) {
|
|
6404
7082
|
const status = response.status;
|
|
6405
7083
|
let _headers = {};
|
|
6406
7084
|
if (response.headers && response.headers.forEach) {
|
|
6407
7085
|
response.headers.forEach((v, k) => _headers[k] = v);
|
|
6408
7086
|
}
|
|
6409
7087
|
;
|
|
6410
|
-
if (status ===
|
|
7088
|
+
if (status === 200) {
|
|
6411
7089
|
return response.text().then((_responseText) => {
|
|
6412
|
-
|
|
7090
|
+
let result200 = null;
|
|
7091
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
7092
|
+
result200 = EvergreenShareClassesApiResponse.fromJS(resultData200);
|
|
7093
|
+
return result200;
|
|
6413
7094
|
});
|
|
6414
7095
|
}
|
|
6415
|
-
else if (status ===
|
|
7096
|
+
else if (status === 403) {
|
|
6416
7097
|
return response.text().then((_responseText) => {
|
|
6417
|
-
let
|
|
6418
|
-
let
|
|
6419
|
-
|
|
6420
|
-
return throwException("
|
|
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);
|
|
6421
7102
|
});
|
|
6422
7103
|
}
|
|
6423
7104
|
else if (status !== 200 && status !== 204) {
|
|
@@ -8285,6 +8966,318 @@ export class EventInfo {
|
|
|
8285
8966
|
return data;
|
|
8286
8967
|
}
|
|
8287
8968
|
}
|
|
8969
|
+
/** Represents an evergreen fund. */
|
|
8970
|
+
export class EvergreenFund {
|
|
8971
|
+
constructor(data) {
|
|
8972
|
+
if (data) {
|
|
8973
|
+
for (var property in data) {
|
|
8974
|
+
if (data.hasOwnProperty(property))
|
|
8975
|
+
this[property] = data[property];
|
|
8976
|
+
}
|
|
8977
|
+
}
|
|
8978
|
+
}
|
|
8979
|
+
init(_data) {
|
|
8980
|
+
if (_data) {
|
|
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"];
|
|
8992
|
+
}
|
|
8993
|
+
}
|
|
8994
|
+
static fromJS(data) {
|
|
8995
|
+
data = typeof data === 'object' ? data : {};
|
|
8996
|
+
let result = new EvergreenFund();
|
|
8997
|
+
result.init(data);
|
|
8998
|
+
return result;
|
|
8999
|
+
}
|
|
9000
|
+
toJSON(data) {
|
|
9001
|
+
data = typeof data === 'object' ? data : {};
|
|
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;
|
|
9013
|
+
return data;
|
|
9014
|
+
}
|
|
9015
|
+
}
|
|
9016
|
+
export class EvergreenFundApiResponse {
|
|
9017
|
+
constructor(data) {
|
|
9018
|
+
if (data) {
|
|
9019
|
+
for (var property in data) {
|
|
9020
|
+
if (data.hasOwnProperty(property))
|
|
9021
|
+
this[property] = data[property];
|
|
9022
|
+
}
|
|
9023
|
+
}
|
|
9024
|
+
}
|
|
9025
|
+
init(_data) {
|
|
9026
|
+
if (_data) {
|
|
9027
|
+
if (Array.isArray(_data["items"])) {
|
|
9028
|
+
this.items = [];
|
|
9029
|
+
for (let item of _data["items"])
|
|
9030
|
+
this.items.push(EvergreenFund.fromJS(item));
|
|
9031
|
+
}
|
|
9032
|
+
this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
|
|
9033
|
+
}
|
|
9034
|
+
}
|
|
9035
|
+
static fromJS(data) {
|
|
9036
|
+
data = typeof data === 'object' ? data : {};
|
|
9037
|
+
let result = new EvergreenFundApiResponse();
|
|
9038
|
+
result.init(data);
|
|
9039
|
+
return result;
|
|
9040
|
+
}
|
|
9041
|
+
toJSON(data) {
|
|
9042
|
+
data = typeof data === 'object' ? data : {};
|
|
9043
|
+
if (Array.isArray(this.items)) {
|
|
9044
|
+
data["items"] = [];
|
|
9045
|
+
for (let item of this.items)
|
|
9046
|
+
data["items"].push(item.toJSON());
|
|
9047
|
+
}
|
|
9048
|
+
data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
|
|
9049
|
+
return data;
|
|
9050
|
+
}
|
|
9051
|
+
}
|
|
9052
|
+
/** Represents news data for an evergreen fund. */
|
|
9053
|
+
export class EvergreenNews {
|
|
9054
|
+
constructor(data) {
|
|
9055
|
+
if (data) {
|
|
9056
|
+
for (var property in data) {
|
|
9057
|
+
if (data.hasOwnProperty(property))
|
|
9058
|
+
this[property] = data[property];
|
|
9059
|
+
}
|
|
9060
|
+
}
|
|
9061
|
+
}
|
|
9062
|
+
init(_data) {
|
|
9063
|
+
if (_data) {
|
|
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;
|
|
9072
|
+
}
|
|
9073
|
+
}
|
|
9074
|
+
static fromJS(data) {
|
|
9075
|
+
data = typeof data === 'object' ? data : {};
|
|
9076
|
+
let result = new EvergreenNews();
|
|
9077
|
+
result.init(data);
|
|
9078
|
+
return result;
|
|
9079
|
+
}
|
|
9080
|
+
toJSON(data) {
|
|
9081
|
+
data = typeof data === 'object' ? data : {};
|
|
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;
|
|
9090
|
+
return data;
|
|
9091
|
+
}
|
|
9092
|
+
}
|
|
9093
|
+
export class EvergreenNewsApiResponse {
|
|
9094
|
+
constructor(data) {
|
|
9095
|
+
if (data) {
|
|
9096
|
+
for (var property in data) {
|
|
9097
|
+
if (data.hasOwnProperty(property))
|
|
9098
|
+
this[property] = data[property];
|
|
9099
|
+
}
|
|
9100
|
+
}
|
|
9101
|
+
}
|
|
9102
|
+
init(_data) {
|
|
9103
|
+
if (_data) {
|
|
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;
|
|
9110
|
+
}
|
|
9111
|
+
}
|
|
9112
|
+
static fromJS(data) {
|
|
9113
|
+
data = typeof data === 'object' ? data : {};
|
|
9114
|
+
let result = new EvergreenNewsApiResponse();
|
|
9115
|
+
result.init(data);
|
|
9116
|
+
return result;
|
|
9117
|
+
}
|
|
9118
|
+
toJSON(data) {
|
|
9119
|
+
data = typeof data === 'object' ? data : {};
|
|
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;
|
|
9126
|
+
return data;
|
|
9127
|
+
}
|
|
9128
|
+
}
|
|
9129
|
+
/** Represents returns data for an evergreen fund. */
|
|
9130
|
+
export class EvergreenReturns {
|
|
9131
|
+
constructor(data) {
|
|
9132
|
+
if (data) {
|
|
9133
|
+
for (var property in data) {
|
|
9134
|
+
if (data.hasOwnProperty(property))
|
|
9135
|
+
this[property] = data[property];
|
|
9136
|
+
}
|
|
9137
|
+
}
|
|
9138
|
+
}
|
|
9139
|
+
init(_data) {
|
|
9140
|
+
if (_data) {
|
|
9141
|
+
this.id = _data["id"];
|
|
9142
|
+
this.evergreenFundId = _data["evergreenFundId"];
|
|
9143
|
+
this.fundName = _data["fundName"];
|
|
9144
|
+
this.sinceInception = _data["sinceInception"];
|
|
9145
|
+
this.oneYear = _data["oneYear"];
|
|
9146
|
+
}
|
|
9147
|
+
}
|
|
9148
|
+
static fromJS(data) {
|
|
9149
|
+
data = typeof data === 'object' ? data : {};
|
|
9150
|
+
let result = new EvergreenReturns();
|
|
9151
|
+
result.init(data);
|
|
9152
|
+
return result;
|
|
9153
|
+
}
|
|
9154
|
+
toJSON(data) {
|
|
9155
|
+
data = typeof data === 'object' ? data : {};
|
|
9156
|
+
data["id"] = this.id;
|
|
9157
|
+
data["evergreenFundId"] = this.evergreenFundId;
|
|
9158
|
+
data["fundName"] = this.fundName;
|
|
9159
|
+
data["sinceInception"] = this.sinceInception;
|
|
9160
|
+
data["oneYear"] = this.oneYear;
|
|
9161
|
+
return data;
|
|
9162
|
+
}
|
|
9163
|
+
}
|
|
9164
|
+
export class EvergreenReturnsApiResponse {
|
|
9165
|
+
constructor(data) {
|
|
9166
|
+
if (data) {
|
|
9167
|
+
for (var property in data) {
|
|
9168
|
+
if (data.hasOwnProperty(property))
|
|
9169
|
+
this[property] = data[property];
|
|
9170
|
+
}
|
|
9171
|
+
}
|
|
9172
|
+
}
|
|
9173
|
+
init(_data) {
|
|
9174
|
+
if (_data) {
|
|
9175
|
+
if (Array.isArray(_data["items"])) {
|
|
9176
|
+
this.items = [];
|
|
9177
|
+
for (let item of _data["items"])
|
|
9178
|
+
this.items.push(EvergreenReturns.fromJS(item));
|
|
9179
|
+
}
|
|
9180
|
+
this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
|
|
9181
|
+
}
|
|
9182
|
+
}
|
|
9183
|
+
static fromJS(data) {
|
|
9184
|
+
data = typeof data === 'object' ? data : {};
|
|
9185
|
+
let result = new EvergreenReturnsApiResponse();
|
|
9186
|
+
result.init(data);
|
|
9187
|
+
return result;
|
|
9188
|
+
}
|
|
9189
|
+
toJSON(data) {
|
|
9190
|
+
data = typeof data === 'object' ? data : {};
|
|
9191
|
+
if (Array.isArray(this.items)) {
|
|
9192
|
+
data["items"] = [];
|
|
9193
|
+
for (let item of this.items)
|
|
9194
|
+
data["items"].push(item.toJSON());
|
|
9195
|
+
}
|
|
9196
|
+
data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
|
|
9197
|
+
return data;
|
|
9198
|
+
}
|
|
9199
|
+
}
|
|
9200
|
+
/** Represents share class data for an evergreen fund. */
|
|
9201
|
+
export class EvergreenShareClasses {
|
|
9202
|
+
constructor(data) {
|
|
9203
|
+
if (data) {
|
|
9204
|
+
for (var property in data) {
|
|
9205
|
+
if (data.hasOwnProperty(property))
|
|
9206
|
+
this[property] = data[property];
|
|
9207
|
+
}
|
|
9208
|
+
}
|
|
9209
|
+
}
|
|
9210
|
+
init(_data) {
|
|
9211
|
+
if (_data) {
|
|
9212
|
+
this.id = _data["id"];
|
|
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"];
|
|
9222
|
+
}
|
|
9223
|
+
}
|
|
9224
|
+
static fromJS(data) {
|
|
9225
|
+
data = typeof data === 'object' ? data : {};
|
|
9226
|
+
let result = new EvergreenShareClasses();
|
|
9227
|
+
result.init(data);
|
|
9228
|
+
return result;
|
|
9229
|
+
}
|
|
9230
|
+
toJSON(data) {
|
|
9231
|
+
data = typeof data === 'object' ? data : {};
|
|
9232
|
+
data["id"] = this.id;
|
|
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;
|
|
9242
|
+
return data;
|
|
9243
|
+
}
|
|
9244
|
+
}
|
|
9245
|
+
export class EvergreenShareClassesApiResponse {
|
|
9246
|
+
constructor(data) {
|
|
9247
|
+
if (data) {
|
|
9248
|
+
for (var property in data) {
|
|
9249
|
+
if (data.hasOwnProperty(property))
|
|
9250
|
+
this[property] = data[property];
|
|
9251
|
+
}
|
|
9252
|
+
}
|
|
9253
|
+
}
|
|
9254
|
+
init(_data) {
|
|
9255
|
+
if (_data) {
|
|
9256
|
+
if (Array.isArray(_data["items"])) {
|
|
9257
|
+
this.items = [];
|
|
9258
|
+
for (let item of _data["items"])
|
|
9259
|
+
this.items.push(EvergreenShareClasses.fromJS(item));
|
|
9260
|
+
}
|
|
9261
|
+
this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
|
|
9262
|
+
}
|
|
9263
|
+
}
|
|
9264
|
+
static fromJS(data) {
|
|
9265
|
+
data = typeof data === 'object' ? data : {};
|
|
9266
|
+
let result = new EvergreenShareClassesApiResponse();
|
|
9267
|
+
result.init(data);
|
|
9268
|
+
return result;
|
|
9269
|
+
}
|
|
9270
|
+
toJSON(data) {
|
|
9271
|
+
data = typeof data === 'object' ? data : {};
|
|
9272
|
+
if (Array.isArray(this.items)) {
|
|
9273
|
+
data["items"] = [];
|
|
9274
|
+
for (let item of this.items)
|
|
9275
|
+
data["items"].push(item.toJSON());
|
|
9276
|
+
}
|
|
9277
|
+
data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
|
|
9278
|
+
return data;
|
|
9279
|
+
}
|
|
9280
|
+
}
|
|
8288
9281
|
/** Represents a fee structure that can be associated with either a registered fund or a share class. */
|
|
8289
9282
|
export class FeeStructure {
|
|
8290
9283
|
constructor(data) {
|
|
@@ -14252,6 +15245,26 @@ export var SortOrder19;
|
|
|
14252
15245
|
SortOrder19["Ascending"] = "Ascending";
|
|
14253
15246
|
SortOrder19["Descending"] = "Descending";
|
|
14254
15247
|
})(SortOrder19 || (SortOrder19 = {}));
|
|
15248
|
+
export var SortOrder20;
|
|
15249
|
+
(function (SortOrder20) {
|
|
15250
|
+
SortOrder20["Ascending"] = "Ascending";
|
|
15251
|
+
SortOrder20["Descending"] = "Descending";
|
|
15252
|
+
})(SortOrder20 || (SortOrder20 = {}));
|
|
15253
|
+
export var SortOrder21;
|
|
15254
|
+
(function (SortOrder21) {
|
|
15255
|
+
SortOrder21["Ascending"] = "Ascending";
|
|
15256
|
+
SortOrder21["Descending"] = "Descending";
|
|
15257
|
+
})(SortOrder21 || (SortOrder21 = {}));
|
|
15258
|
+
export var SortOrder22;
|
|
15259
|
+
(function (SortOrder22) {
|
|
15260
|
+
SortOrder22["Ascending"] = "Ascending";
|
|
15261
|
+
SortOrder22["Descending"] = "Descending";
|
|
15262
|
+
})(SortOrder22 || (SortOrder22 = {}));
|
|
15263
|
+
export var SortOrder23;
|
|
15264
|
+
(function (SortOrder23) {
|
|
15265
|
+
SortOrder23["Ascending"] = "Ascending";
|
|
15266
|
+
SortOrder23["Descending"] = "Descending";
|
|
15267
|
+
})(SortOrder23 || (SortOrder23 = {}));
|
|
14255
15268
|
export var EventType;
|
|
14256
15269
|
(function (EventType) {
|
|
14257
15270
|
EventType["PreIPOCompany"] = "PreIPOCompany";
|
|
@@ -14262,6 +15275,9 @@ export var EventType;
|
|
|
14262
15275
|
EventType["InvestorSubscriptionAction"] = "InvestorSubscriptionAction";
|
|
14263
15276
|
EventType["SubscriptionStatus"] = "SubscriptionStatus";
|
|
14264
15277
|
EventType["RegisteredFundSubscriptionStatus"] = "RegisteredFundSubscriptionStatus";
|
|
15278
|
+
EventType["PreIPOCompanySPVUpdate"] = "PreIPOCompanySPVUpdate";
|
|
15279
|
+
EventType["PreIPOCompanySPVDocumentUpdate"] = "PreIPOCompanySPVDocumentUpdate";
|
|
15280
|
+
EventType["PreIPOCompanySPVSubscriptionActionDefinitionUpdate"] = "PreIPOCompanySPVSubscriptionActionDefinitionUpdate";
|
|
14265
15281
|
})(EventType || (EventType = {}));
|
|
14266
15282
|
export var DeliveryStatus;
|
|
14267
15283
|
(function (DeliveryStatus) {
|
|
@@ -14672,13 +15688,9 @@ export var InvestorSubscriptionActionStatus;
|
|
|
14672
15688
|
})(InvestorSubscriptionActionStatus || (InvestorSubscriptionActionStatus = {}));
|
|
14673
15689
|
export var InvestorSubscriptionActionType;
|
|
14674
15690
|
(function (InvestorSubscriptionActionType) {
|
|
14675
|
-
InvestorSubscriptionActionType["Other"] = "Other";
|
|
14676
15691
|
InvestorSubscriptionActionType["DocumentSign"] = "DocumentSign";
|
|
14677
15692
|
InvestorSubscriptionActionType["DocumentAcknowledge"] = "DocumentAcknowledge";
|
|
14678
|
-
InvestorSubscriptionActionType["CashMovement"] = "CashMovement";
|
|
14679
|
-
InvestorSubscriptionActionType["ApiCall"] = "ApiCall";
|
|
14680
15693
|
InvestorSubscriptionActionType["TextAcknowledge"] = "TextAcknowledge";
|
|
14681
|
-
InvestorSubscriptionActionType["KYCAML"] = "KYCAML";
|
|
14682
15694
|
})(InvestorSubscriptionActionType || (InvestorSubscriptionActionType = {}));
|
|
14683
15695
|
export var InvestorSubscriptionActionResponsibleParty;
|
|
14684
15696
|
(function (InvestorSubscriptionActionResponsibleParty) {
|
|
@@ -15125,13 +16137,9 @@ export var RegisteredFundSubscriptionActionStatus;
|
|
|
15125
16137
|
})(RegisteredFundSubscriptionActionStatus || (RegisteredFundSubscriptionActionStatus = {}));
|
|
15126
16138
|
export var RegisteredFundSubscriptionActionType;
|
|
15127
16139
|
(function (RegisteredFundSubscriptionActionType) {
|
|
15128
|
-
RegisteredFundSubscriptionActionType["Other"] = "Other";
|
|
15129
16140
|
RegisteredFundSubscriptionActionType["DocumentSign"] = "DocumentSign";
|
|
15130
16141
|
RegisteredFundSubscriptionActionType["DocumentAcknowledge"] = "DocumentAcknowledge";
|
|
15131
|
-
RegisteredFundSubscriptionActionType["CashMovement"] = "CashMovement";
|
|
15132
|
-
RegisteredFundSubscriptionActionType["ApiCall"] = "ApiCall";
|
|
15133
16142
|
RegisteredFundSubscriptionActionType["TextAcknowledge"] = "TextAcknowledge";
|
|
15134
|
-
RegisteredFundSubscriptionActionType["KYCAML"] = "KYCAML";
|
|
15135
16143
|
})(RegisteredFundSubscriptionActionType || (RegisteredFundSubscriptionActionType = {}));
|
|
15136
16144
|
export var RegisteredFundSubscriptionActionResponsibleParty;
|
|
15137
16145
|
(function (RegisteredFundSubscriptionActionResponsibleParty) {
|
|
@@ -15345,6 +16353,9 @@ export var WebhookEventEventType;
|
|
|
15345
16353
|
WebhookEventEventType["InvestorSubscriptionAction"] = "InvestorSubscriptionAction";
|
|
15346
16354
|
WebhookEventEventType["SubscriptionStatus"] = "SubscriptionStatus";
|
|
15347
16355
|
WebhookEventEventType["RegisteredFundSubscriptionStatus"] = "RegisteredFundSubscriptionStatus";
|
|
16356
|
+
WebhookEventEventType["PreIPOCompanySPVUpdate"] = "PreIPOCompanySPVUpdate";
|
|
16357
|
+
WebhookEventEventType["PreIPOCompanySPVDocumentUpdate"] = "PreIPOCompanySPVDocumentUpdate";
|
|
16358
|
+
WebhookEventEventType["PreIPOCompanySPVSubscriptionActionDefinitionUpdate"] = "PreIPOCompanySPVSubscriptionActionDefinitionUpdate";
|
|
15348
16359
|
})(WebhookEventEventType || (WebhookEventEventType = {}));
|
|
15349
16360
|
function formatDate(d) {
|
|
15350
16361
|
return d.getFullYear() + '-' +
|