@monarkmarkets/api-client 1.3.27 → 1.3.29
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 +292 -34
- package/dist/Client.js +727 -42
- package/package.json +1 -1
package/dist/Client.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//----------------------
|
|
2
2
|
// <auto-generated>
|
|
3
|
-
// Generated using the NSwag toolchain v14.6.
|
|
3
|
+
// Generated using the NSwag toolchain v14.6.3.0 (NJsonSchema v11.5.2.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
|
|
4
4
|
// </auto-generated>
|
|
5
5
|
//----------------------
|
|
6
6
|
/* eslint-disable */
|
|
@@ -390,6 +390,7 @@ export class Client {
|
|
|
390
390
|
* @param preIPOCompanyInvestmentId (optional) PreIPOCompanyInvestmentId to filter by.
|
|
391
391
|
* @param transactionId (optional) TransactionId to filter by (InvestorSubscription or RegisteredFundSubscription).
|
|
392
392
|
* @param registeredFundId (optional) RegisteredFundId to filter by.
|
|
393
|
+
* @param managerId (optional) Manager ID to filter by. Filters documents that third party managers should see.
|
|
393
394
|
* @param documentType (optional) Type of document to filter by.
|
|
394
395
|
* @param page (optional) Number of the page to retrieve.
|
|
395
396
|
Defaults to 1 if not specified.
|
|
@@ -399,7 +400,7 @@ export class Client {
|
|
|
399
400
|
* @param sortOrder (optional) Sort order for results.
|
|
400
401
|
* @return OK
|
|
401
402
|
*/
|
|
402
|
-
getAllDocumentsV2(investorId, preIPOCompanyId, preIPOCompanySPVId, preIPOCompanyInvestmentId, transactionId, registeredFundId, documentType, page, pageSize, exactMatch, sortOrder) {
|
|
403
|
+
getAllDocumentsV2(investorId, preIPOCompanyId, preIPOCompanySPVId, preIPOCompanyInvestmentId, transactionId, registeredFundId, managerId, documentType, page, pageSize, exactMatch, sortOrder) {
|
|
403
404
|
let url_ = this.baseUrl + "/primary/v2/document?";
|
|
404
405
|
if (investorId === null)
|
|
405
406
|
throw new globalThis.Error("The parameter 'investorId' cannot be null.");
|
|
@@ -425,6 +426,10 @@ export class Client {
|
|
|
425
426
|
throw new globalThis.Error("The parameter 'registeredFundId' cannot be null.");
|
|
426
427
|
else if (registeredFundId !== undefined)
|
|
427
428
|
url_ += "registeredFundId=" + encodeURIComponent("" + registeredFundId) + "&";
|
|
429
|
+
if (managerId === null)
|
|
430
|
+
throw new globalThis.Error("The parameter 'managerId' cannot be null.");
|
|
431
|
+
else if (managerId !== undefined)
|
|
432
|
+
url_ += "managerId=" + encodeURIComponent("" + managerId) + "&";
|
|
428
433
|
if (documentType === null)
|
|
429
434
|
throw new globalThis.Error("The parameter 'documentType' cannot be null.");
|
|
430
435
|
else if (documentType !== undefined)
|
|
@@ -3862,11 +3867,439 @@ export class Client {
|
|
|
3862
3867
|
return Promise.resolve(null);
|
|
3863
3868
|
}
|
|
3864
3869
|
/**
|
|
3865
|
-
* Get the Partner of the authenticated user.
|
|
3866
|
-
* @return Returns the Partner with the specified Id.
|
|
3870
|
+
* Get the Partner of the authenticated user.
|
|
3871
|
+
* @return Returns the Partner with the specified Id.
|
|
3872
|
+
*/
|
|
3873
|
+
getPartner() {
|
|
3874
|
+
let url_ = this.baseUrl + "/primary/v1/partner";
|
|
3875
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
3876
|
+
let options_ = {
|
|
3877
|
+
method: "GET",
|
|
3878
|
+
headers: {
|
|
3879
|
+
"Accept": "application/json"
|
|
3880
|
+
}
|
|
3881
|
+
};
|
|
3882
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
3883
|
+
return this.processGetPartner(_response);
|
|
3884
|
+
});
|
|
3885
|
+
}
|
|
3886
|
+
processGetPartner(response) {
|
|
3887
|
+
const status = response.status;
|
|
3888
|
+
let _headers = {};
|
|
3889
|
+
if (response.headers && response.headers.forEach) {
|
|
3890
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
3891
|
+
}
|
|
3892
|
+
;
|
|
3893
|
+
if (status === 200) {
|
|
3894
|
+
return response.text().then((_responseText) => {
|
|
3895
|
+
let result200 = null;
|
|
3896
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3897
|
+
result200 = Partner.fromJS(resultData200);
|
|
3898
|
+
return result200;
|
|
3899
|
+
});
|
|
3900
|
+
}
|
|
3901
|
+
else if (status === 404) {
|
|
3902
|
+
return response.text().then((_responseText) => {
|
|
3903
|
+
let result404 = null;
|
|
3904
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3905
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
3906
|
+
return throwException("Partner not found.", status, _responseText, _headers, result404);
|
|
3907
|
+
});
|
|
3908
|
+
}
|
|
3909
|
+
else if (status !== 200 && status !== 204) {
|
|
3910
|
+
return response.text().then((_responseText) => {
|
|
3911
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
3912
|
+
});
|
|
3913
|
+
}
|
|
3914
|
+
return Promise.resolve(null);
|
|
3915
|
+
}
|
|
3916
|
+
/**
|
|
3917
|
+
* Gets all targets of a specific type that have been approved.
|
|
3918
|
+
* @param targetType (optional) Type of the target entities to retrieve (PreIPOCompanySPV, RegisteredFund, etc.).
|
|
3919
|
+
* @param page (optional) Number of the page to retrieve.
|
|
3920
|
+
Defaults to 1 if not specified.
|
|
3921
|
+
* @param pageSize (optional) Size of the page to retrieve.
|
|
3922
|
+
Defaults to 25 if not specified.
|
|
3923
|
+
* @return Returns the list of approved target IDs.
|
|
3924
|
+
*/
|
|
3925
|
+
getPartnerApprovedTargets(targetType, page, pageSize) {
|
|
3926
|
+
let url_ = this.baseUrl + "/primary/v2/partner-approval/partner/targets?";
|
|
3927
|
+
if (targetType === null)
|
|
3928
|
+
throw new globalThis.Error("The parameter 'targetType' cannot be null.");
|
|
3929
|
+
else if (targetType !== undefined)
|
|
3930
|
+
url_ += "targetType=" + encodeURIComponent("" + targetType) + "&";
|
|
3931
|
+
if (page === null)
|
|
3932
|
+
throw new globalThis.Error("The parameter 'page' cannot be null.");
|
|
3933
|
+
else if (page !== undefined)
|
|
3934
|
+
url_ += "page=" + encodeURIComponent("" + page) + "&";
|
|
3935
|
+
if (pageSize === null)
|
|
3936
|
+
throw new globalThis.Error("The parameter 'pageSize' cannot be null.");
|
|
3937
|
+
else if (pageSize !== undefined)
|
|
3938
|
+
url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
|
|
3939
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
3940
|
+
let options_ = {
|
|
3941
|
+
method: "GET",
|
|
3942
|
+
headers: {
|
|
3943
|
+
"Accept": "application/json"
|
|
3944
|
+
}
|
|
3945
|
+
};
|
|
3946
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
3947
|
+
return this.processGetPartnerApprovedTargets(_response);
|
|
3948
|
+
});
|
|
3949
|
+
}
|
|
3950
|
+
processGetPartnerApprovedTargets(response) {
|
|
3951
|
+
const status = response.status;
|
|
3952
|
+
let _headers = {};
|
|
3953
|
+
if (response.headers && response.headers.forEach) {
|
|
3954
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
3955
|
+
}
|
|
3956
|
+
;
|
|
3957
|
+
if (status === 200) {
|
|
3958
|
+
return response.text().then((_responseText) => {
|
|
3959
|
+
let result200 = null;
|
|
3960
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3961
|
+
result200 = GuidApiResponse.fromJS(resultData200);
|
|
3962
|
+
return result200;
|
|
3963
|
+
});
|
|
3964
|
+
}
|
|
3965
|
+
else if (status === 404) {
|
|
3966
|
+
return response.text().then((_responseText) => {
|
|
3967
|
+
let result404 = null;
|
|
3968
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3969
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
3970
|
+
return throwException("Partner not found.", status, _responseText, _headers, result404);
|
|
3971
|
+
});
|
|
3972
|
+
}
|
|
3973
|
+
else if (status !== 200 && status !== 204) {
|
|
3974
|
+
return response.text().then((_responseText) => {
|
|
3975
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
3976
|
+
});
|
|
3977
|
+
}
|
|
3978
|
+
return Promise.resolve(null);
|
|
3979
|
+
}
|
|
3980
|
+
/**
|
|
3981
|
+
* Gets all approved targets for the authenticated Partner with full target objects included, optionally filtered by target type.
|
|
3982
|
+
* @param page (optional) Number of the page to retrieve.
|
|
3983
|
+
Defaults to 1 if not specified.
|
|
3984
|
+
* @param pageSize (optional) Size of the page to retrieve.
|
|
3985
|
+
Defaults to 25 if not specified.
|
|
3986
|
+
* @param targetType (optional) Optional target type to filter by (PreIPOCompanySPV, RegisteredFund, etc.). If not provided, returns all types.
|
|
3987
|
+
* @return Returns the approved targets with full objects.
|
|
3988
|
+
*/
|
|
3989
|
+
getPartnerApprovedTargetsWithObjects(page, pageSize, targetType) {
|
|
3990
|
+
let url_ = this.baseUrl + "/primary/v2/partner-approval/partner/targets/expanded?";
|
|
3991
|
+
if (page === null)
|
|
3992
|
+
throw new globalThis.Error("The parameter 'page' cannot be null.");
|
|
3993
|
+
else if (page !== undefined)
|
|
3994
|
+
url_ += "page=" + encodeURIComponent("" + page) + "&";
|
|
3995
|
+
if (pageSize === null)
|
|
3996
|
+
throw new globalThis.Error("The parameter 'pageSize' cannot be null.");
|
|
3997
|
+
else if (pageSize !== undefined)
|
|
3998
|
+
url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
|
|
3999
|
+
if (targetType === null)
|
|
4000
|
+
throw new globalThis.Error("The parameter 'targetType' cannot be null.");
|
|
4001
|
+
else if (targetType !== undefined)
|
|
4002
|
+
url_ += "targetType=" + encodeURIComponent("" + targetType) + "&";
|
|
4003
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
4004
|
+
let options_ = {
|
|
4005
|
+
method: "GET",
|
|
4006
|
+
headers: {
|
|
4007
|
+
"Accept": "application/json"
|
|
4008
|
+
}
|
|
4009
|
+
};
|
|
4010
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
4011
|
+
return this.processGetPartnerApprovedTargetsWithObjects(_response);
|
|
4012
|
+
});
|
|
4013
|
+
}
|
|
4014
|
+
processGetPartnerApprovedTargetsWithObjects(response) {
|
|
4015
|
+
const status = response.status;
|
|
4016
|
+
let _headers = {};
|
|
4017
|
+
if (response.headers && response.headers.forEach) {
|
|
4018
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
4019
|
+
}
|
|
4020
|
+
;
|
|
4021
|
+
if (status === 200) {
|
|
4022
|
+
return response.text().then((_responseText) => {
|
|
4023
|
+
let result200 = null;
|
|
4024
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4025
|
+
result200 = PartnerApprovalWithTargets.fromJS(resultData200);
|
|
4026
|
+
return result200;
|
|
4027
|
+
});
|
|
4028
|
+
}
|
|
4029
|
+
else if (status === 404) {
|
|
4030
|
+
return response.text().then((_responseText) => {
|
|
4031
|
+
let result404 = null;
|
|
4032
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4033
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
4034
|
+
return throwException("Partner not found.", status, _responseText, _headers, result404);
|
|
4035
|
+
});
|
|
4036
|
+
}
|
|
4037
|
+
else if (status !== 200 && status !== 204) {
|
|
4038
|
+
return response.text().then((_responseText) => {
|
|
4039
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
4040
|
+
});
|
|
4041
|
+
}
|
|
4042
|
+
return Promise.resolve(null);
|
|
4043
|
+
}
|
|
4044
|
+
/**
|
|
4045
|
+
* Checks if a specific target has been approved.
|
|
4046
|
+
* @param targetId ID of the target entity.
|
|
4047
|
+
* @param targetType (optional) Type of the target entity.
|
|
4048
|
+
* @return Returns whether approval exists.
|
|
4049
|
+
*/
|
|
4050
|
+
isTargetApproved(targetId, targetType) {
|
|
4051
|
+
let url_ = this.baseUrl + "/primary/v2/partner-approval/target/{targetId}/is-approved?";
|
|
4052
|
+
if (targetId === undefined || targetId === null)
|
|
4053
|
+
throw new globalThis.Error("The parameter 'targetId' must be defined.");
|
|
4054
|
+
url_ = url_.replace("{targetId}", encodeURIComponent("" + targetId));
|
|
4055
|
+
if (targetType === null)
|
|
4056
|
+
throw new globalThis.Error("The parameter 'targetType' cannot be null.");
|
|
4057
|
+
else if (targetType !== undefined)
|
|
4058
|
+
url_ += "targetType=" + encodeURIComponent("" + targetType) + "&";
|
|
4059
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
4060
|
+
let options_ = {
|
|
4061
|
+
method: "GET",
|
|
4062
|
+
headers: {
|
|
4063
|
+
"Accept": "application/json"
|
|
4064
|
+
}
|
|
4065
|
+
};
|
|
4066
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
4067
|
+
return this.processIsTargetApproved(_response);
|
|
4068
|
+
});
|
|
4069
|
+
}
|
|
4070
|
+
processIsTargetApproved(response) {
|
|
4071
|
+
const status = response.status;
|
|
4072
|
+
let _headers = {};
|
|
4073
|
+
if (response.headers && response.headers.forEach) {
|
|
4074
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
4075
|
+
}
|
|
4076
|
+
;
|
|
4077
|
+
if (status === 200) {
|
|
4078
|
+
return response.text().then((_responseText) => {
|
|
4079
|
+
let result200 = null;
|
|
4080
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4081
|
+
result200 = resultData200 !== undefined ? resultData200 : null;
|
|
4082
|
+
return result200;
|
|
4083
|
+
});
|
|
4084
|
+
}
|
|
4085
|
+
else if (status === 404) {
|
|
4086
|
+
return response.text().then((_responseText) => {
|
|
4087
|
+
let result404 = null;
|
|
4088
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4089
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
4090
|
+
return throwException("Target or Partner not found.", status, _responseText, _headers, result404);
|
|
4091
|
+
});
|
|
4092
|
+
}
|
|
4093
|
+
else if (status !== 200 && status !== 204) {
|
|
4094
|
+
return response.text().then((_responseText) => {
|
|
4095
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
4096
|
+
});
|
|
4097
|
+
}
|
|
4098
|
+
return Promise.resolve(null);
|
|
4099
|
+
}
|
|
4100
|
+
/**
|
|
4101
|
+
* Approves a target.
|
|
4102
|
+
* @param targetId ID of the target entity.
|
|
4103
|
+
* @param targetType (optional) Type of the target entity.
|
|
4104
|
+
* @param body (optional) Approval request containing optional notes.
|
|
4105
|
+
* @return Target successfully approved.
|
|
4106
|
+
*/
|
|
4107
|
+
approveTarget(targetId, targetType, body) {
|
|
4108
|
+
let url_ = this.baseUrl + "/primary/v2/partner-approval/target/{targetId}/approve?";
|
|
4109
|
+
if (targetId === undefined || targetId === null)
|
|
4110
|
+
throw new globalThis.Error("The parameter 'targetId' must be defined.");
|
|
4111
|
+
url_ = url_.replace("{targetId}", encodeURIComponent("" + targetId));
|
|
4112
|
+
if (targetType === null)
|
|
4113
|
+
throw new globalThis.Error("The parameter 'targetType' cannot be null.");
|
|
4114
|
+
else if (targetType !== undefined)
|
|
4115
|
+
url_ += "targetType=" + encodeURIComponent("" + targetType) + "&";
|
|
4116
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
4117
|
+
const content_ = JSON.stringify(body);
|
|
4118
|
+
let options_ = {
|
|
4119
|
+
body: content_,
|
|
4120
|
+
method: "PUT",
|
|
4121
|
+
headers: {
|
|
4122
|
+
"Content-Type": "application/json",
|
|
4123
|
+
"Accept": "application/json"
|
|
4124
|
+
}
|
|
4125
|
+
};
|
|
4126
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
4127
|
+
return this.processApproveTarget(_response);
|
|
4128
|
+
});
|
|
4129
|
+
}
|
|
4130
|
+
processApproveTarget(response) {
|
|
4131
|
+
const status = response.status;
|
|
4132
|
+
let _headers = {};
|
|
4133
|
+
if (response.headers && response.headers.forEach) {
|
|
4134
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
4135
|
+
}
|
|
4136
|
+
;
|
|
4137
|
+
if (status === 200) {
|
|
4138
|
+
return response.text().then((_responseText) => {
|
|
4139
|
+
let result200 = null;
|
|
4140
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4141
|
+
result200 = resultData200 !== undefined ? resultData200 : null;
|
|
4142
|
+
return result200;
|
|
4143
|
+
});
|
|
4144
|
+
}
|
|
4145
|
+
else if (status === 400) {
|
|
4146
|
+
return response.text().then((_responseText) => {
|
|
4147
|
+
let result400 = null;
|
|
4148
|
+
let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4149
|
+
result400 = ProblemDetails.fromJS(resultData400);
|
|
4150
|
+
return throwException("Bad request if required fields are missing.", status, _responseText, _headers, result400);
|
|
4151
|
+
});
|
|
4152
|
+
}
|
|
4153
|
+
else if (status === 404) {
|
|
4154
|
+
return response.text().then((_responseText) => {
|
|
4155
|
+
let result404 = null;
|
|
4156
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4157
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
4158
|
+
return throwException("Target not found.", status, _responseText, _headers, result404);
|
|
4159
|
+
});
|
|
4160
|
+
}
|
|
4161
|
+
else if (status !== 200 && status !== 204) {
|
|
4162
|
+
return response.text().then((_responseText) => {
|
|
4163
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
4164
|
+
});
|
|
4165
|
+
}
|
|
4166
|
+
return Promise.resolve(null);
|
|
4167
|
+
}
|
|
4168
|
+
/**
|
|
4169
|
+
* Gets the approval record for a specific target.
|
|
4170
|
+
* @param targetId ID of the target entity.
|
|
4171
|
+
* @param targetType (optional) Type of the target entity.
|
|
4172
|
+
* @return Returns the approval record.
|
|
4173
|
+
*/
|
|
4174
|
+
getPartnerTargetApproval(targetId, targetType) {
|
|
4175
|
+
let url_ = this.baseUrl + "/primary/v2/partner-approval/target/{targetId}/approval?";
|
|
4176
|
+
if (targetId === undefined || targetId === null)
|
|
4177
|
+
throw new globalThis.Error("The parameter 'targetId' must be defined.");
|
|
4178
|
+
url_ = url_.replace("{targetId}", encodeURIComponent("" + targetId));
|
|
4179
|
+
if (targetType === null)
|
|
4180
|
+
throw new globalThis.Error("The parameter 'targetType' cannot be null.");
|
|
4181
|
+
else if (targetType !== undefined)
|
|
4182
|
+
url_ += "targetType=" + encodeURIComponent("" + targetType) + "&";
|
|
4183
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
4184
|
+
let options_ = {
|
|
4185
|
+
method: "GET",
|
|
4186
|
+
headers: {
|
|
4187
|
+
"Accept": "application/json"
|
|
4188
|
+
}
|
|
4189
|
+
};
|
|
4190
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
4191
|
+
return this.processGetPartnerTargetApproval(_response);
|
|
4192
|
+
});
|
|
4193
|
+
}
|
|
4194
|
+
processGetPartnerTargetApproval(response) {
|
|
4195
|
+
const status = response.status;
|
|
4196
|
+
let _headers = {};
|
|
4197
|
+
if (response.headers && response.headers.forEach) {
|
|
4198
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
4199
|
+
}
|
|
4200
|
+
;
|
|
4201
|
+
if (status === 200) {
|
|
4202
|
+
return response.text().then((_responseText) => {
|
|
4203
|
+
let result200 = null;
|
|
4204
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4205
|
+
result200 = PartnerApproval.fromJS(resultData200);
|
|
4206
|
+
return result200;
|
|
4207
|
+
});
|
|
4208
|
+
}
|
|
4209
|
+
else if (status === 404) {
|
|
4210
|
+
return response.text().then((_responseText) => {
|
|
4211
|
+
let result404 = null;
|
|
4212
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4213
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
4214
|
+
return throwException("Target not found.", status, _responseText, _headers, result404);
|
|
4215
|
+
});
|
|
4216
|
+
}
|
|
4217
|
+
else if (status !== 200 && status !== 204) {
|
|
4218
|
+
return response.text().then((_responseText) => {
|
|
4219
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
4220
|
+
});
|
|
4221
|
+
}
|
|
4222
|
+
return Promise.resolve(null);
|
|
4223
|
+
}
|
|
4224
|
+
/**
|
|
4225
|
+
* Gets an approval record by Id.
|
|
4226
|
+
* @param approvalId ID of the approval record.
|
|
4227
|
+
* @return Returns an approval record.
|
|
4228
|
+
*/
|
|
4229
|
+
getPartnerTargetApprovalById(approvalId) {
|
|
4230
|
+
let url_ = this.baseUrl + "/primary/v2/partner-approval/{approvalId}";
|
|
4231
|
+
if (approvalId === undefined || approvalId === null)
|
|
4232
|
+
throw new globalThis.Error("The parameter 'approvalId' must be defined.");
|
|
4233
|
+
url_ = url_.replace("{approvalId}", encodeURIComponent("" + approvalId));
|
|
4234
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
4235
|
+
let options_ = {
|
|
4236
|
+
method: "GET",
|
|
4237
|
+
headers: {
|
|
4238
|
+
"Accept": "application/json"
|
|
4239
|
+
}
|
|
4240
|
+
};
|
|
4241
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
4242
|
+
return this.processGetPartnerTargetApprovalById(_response);
|
|
4243
|
+
});
|
|
4244
|
+
}
|
|
4245
|
+
processGetPartnerTargetApprovalById(response) {
|
|
4246
|
+
const status = response.status;
|
|
4247
|
+
let _headers = {};
|
|
4248
|
+
if (response.headers && response.headers.forEach) {
|
|
4249
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
4250
|
+
}
|
|
4251
|
+
;
|
|
4252
|
+
if (status === 200) {
|
|
4253
|
+
return response.text().then((_responseText) => {
|
|
4254
|
+
let result200 = null;
|
|
4255
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4256
|
+
result200 = PartnerApproval.fromJS(resultData200);
|
|
4257
|
+
return result200;
|
|
4258
|
+
});
|
|
4259
|
+
}
|
|
4260
|
+
else if (status === 404) {
|
|
4261
|
+
return response.text().then((_responseText) => {
|
|
4262
|
+
let result404 = null;
|
|
4263
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4264
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
4265
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
4266
|
+
});
|
|
4267
|
+
}
|
|
4268
|
+
else if (status !== 200 && status !== 204) {
|
|
4269
|
+
return response.text().then((_responseText) => {
|
|
4270
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
4271
|
+
});
|
|
4272
|
+
}
|
|
4273
|
+
return Promise.resolve(null);
|
|
4274
|
+
}
|
|
4275
|
+
/**
|
|
4276
|
+
* Gets all approval records with optional filtering.
|
|
4277
|
+
* @param page (optional) Number of the page to retrieve.
|
|
4278
|
+
Defaults to 1 if not specified.
|
|
4279
|
+
* @param pageSize (optional) Size of the page to retrieve.
|
|
4280
|
+
Defaults to 25 if not specified.
|
|
4281
|
+
* @param targetType (optional) Optional target type to filter by.
|
|
4282
|
+
* @param sortOrder (optional) Sort order for results.
|
|
4283
|
+
* @return Returns the list of approval records.
|
|
3867
4284
|
*/
|
|
3868
|
-
|
|
3869
|
-
let url_ = this.baseUrl + "/primary/
|
|
4285
|
+
getAllPartnerTargetApprovals(page, pageSize, targetType, sortOrder) {
|
|
4286
|
+
let url_ = this.baseUrl + "/primary/v2/partner-approval?";
|
|
4287
|
+
if (page === null)
|
|
4288
|
+
throw new globalThis.Error("The parameter 'page' cannot be null.");
|
|
4289
|
+
else if (page !== undefined)
|
|
4290
|
+
url_ += "page=" + encodeURIComponent("" + page) + "&";
|
|
4291
|
+
if (pageSize === null)
|
|
4292
|
+
throw new globalThis.Error("The parameter 'pageSize' cannot be null.");
|
|
4293
|
+
else if (pageSize !== undefined)
|
|
4294
|
+
url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
|
|
4295
|
+
if (targetType === null)
|
|
4296
|
+
throw new globalThis.Error("The parameter 'targetType' cannot be null.");
|
|
4297
|
+
else if (targetType !== undefined)
|
|
4298
|
+
url_ += "targetType=" + encodeURIComponent("" + targetType) + "&";
|
|
4299
|
+
if (sortOrder === null)
|
|
4300
|
+
throw new globalThis.Error("The parameter 'sortOrder' cannot be null.");
|
|
4301
|
+
else if (sortOrder !== undefined)
|
|
4302
|
+
url_ += "sortOrder=" + encodeURIComponent("" + sortOrder) + "&";
|
|
3870
4303
|
url_ = url_.replace(/[?&]$/, "");
|
|
3871
4304
|
let options_ = {
|
|
3872
4305
|
method: "GET",
|
|
@@ -3875,10 +4308,10 @@ export class Client {
|
|
|
3875
4308
|
}
|
|
3876
4309
|
};
|
|
3877
4310
|
return this.http.fetch(url_, options_).then((_response) => {
|
|
3878
|
-
return this.
|
|
4311
|
+
return this.processGetAllPartnerTargetApprovals(_response);
|
|
3879
4312
|
});
|
|
3880
4313
|
}
|
|
3881
|
-
|
|
4314
|
+
processGetAllPartnerTargetApprovals(response) {
|
|
3882
4315
|
const status = response.status;
|
|
3883
4316
|
let _headers = {};
|
|
3884
4317
|
if (response.headers && response.headers.forEach) {
|
|
@@ -3889,18 +4322,10 @@ export class Client {
|
|
|
3889
4322
|
return response.text().then((_responseText) => {
|
|
3890
4323
|
let result200 = null;
|
|
3891
4324
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3892
|
-
result200 =
|
|
4325
|
+
result200 = PartnerApprovalApiResponse.fromJS(resultData200);
|
|
3893
4326
|
return result200;
|
|
3894
4327
|
});
|
|
3895
4328
|
}
|
|
3896
|
-
else if (status === 404) {
|
|
3897
|
-
return response.text().then((_responseText) => {
|
|
3898
|
-
let result404 = null;
|
|
3899
|
-
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3900
|
-
result404 = ProblemDetails.fromJS(resultData404);
|
|
3901
|
-
return throwException("Partner not found.", status, _responseText, _headers, result404);
|
|
3902
|
-
});
|
|
3903
|
-
}
|
|
3904
4329
|
else if (status !== 200 && status !== 204) {
|
|
3905
4330
|
return response.text().then((_responseText) => {
|
|
3906
4331
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -5719,6 +6144,7 @@ export class Client {
|
|
|
5719
6144
|
* @param pageSize (optional) Size of the page to retrieve.
|
|
5720
6145
|
Defaults to 25 if not specified.
|
|
5721
6146
|
* @return Returns the list of approved SPVs.
|
|
6147
|
+
* @deprecated
|
|
5722
6148
|
*/
|
|
5723
6149
|
getPartnerApprovedSPVs(page, pageSize) {
|
|
5724
6150
|
let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv-partner-approval/partner/spvs?";
|
|
@@ -5775,6 +6201,7 @@ export class Client {
|
|
|
5775
6201
|
* Checks if a specific SPV has been approved.
|
|
5776
6202
|
* @param spvId ID of the SPV.
|
|
5777
6203
|
* @return Returns whether approval exists.
|
|
6204
|
+
* @deprecated
|
|
5778
6205
|
*/
|
|
5779
6206
|
isSpvApproved(spvId) {
|
|
5780
6207
|
let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv-partner-approval/spv/{spvId}/is-approved";
|
|
@@ -5827,6 +6254,7 @@ export class Client {
|
|
|
5827
6254
|
* @param spvId ID of the SPV.
|
|
5828
6255
|
* @param body (optional) Approval request containing optional notes.
|
|
5829
6256
|
* @return SPV successfully approved.
|
|
6257
|
+
* @deprecated
|
|
5830
6258
|
*/
|
|
5831
6259
|
approveSpv(spvId, body) {
|
|
5832
6260
|
let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv-partner-approval/spv/{spvId}/approve";
|
|
@@ -5889,6 +6317,7 @@ export class Client {
|
|
|
5889
6317
|
* Gets the approval record for a specific SPV.
|
|
5890
6318
|
* @param spvId ID of the SPV.
|
|
5891
6319
|
* @return Returns the approval record.
|
|
6320
|
+
* @deprecated
|
|
5892
6321
|
*/
|
|
5893
6322
|
getPartnerSpvApproval(spvId) {
|
|
5894
6323
|
let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv-partner-approval/spv/{spvId}/approval";
|
|
@@ -5939,6 +6368,7 @@ export class Client {
|
|
|
5939
6368
|
/**
|
|
5940
6369
|
* Gets an approval record by Id.
|
|
5941
6370
|
* @return Returns an approval record.
|
|
6371
|
+
* @deprecated
|
|
5942
6372
|
*/
|
|
5943
6373
|
getPartnerSpvApprovalById(approvalId) {
|
|
5944
6374
|
let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv-partner-approval/{approvalId}";
|
|
@@ -5994,6 +6424,7 @@ export class Client {
|
|
|
5994
6424
|
Defaults to 25 if not specified.
|
|
5995
6425
|
* @param sortOrder (optional) Sort order for results.
|
|
5996
6426
|
* @return Returns the list of approval records.
|
|
6427
|
+
* @deprecated
|
|
5997
6428
|
*/
|
|
5998
6429
|
getAllPartnerSpvApprovals(page, pageSize, sortOrder) {
|
|
5999
6430
|
let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv-partner-approval?";
|
|
@@ -9298,6 +9729,33 @@ export class CreateInvestorSubscription {
|
|
|
9298
9729
|
return data;
|
|
9299
9730
|
}
|
|
9300
9731
|
}
|
|
9732
|
+
/** Request model for creating or updating a Partner approval. */
|
|
9733
|
+
export class CreatePartnerApproval {
|
|
9734
|
+
constructor(data) {
|
|
9735
|
+
if (data) {
|
|
9736
|
+
for (var property in data) {
|
|
9737
|
+
if (data.hasOwnProperty(property))
|
|
9738
|
+
this[property] = data[property];
|
|
9739
|
+
}
|
|
9740
|
+
}
|
|
9741
|
+
}
|
|
9742
|
+
init(_data) {
|
|
9743
|
+
if (_data) {
|
|
9744
|
+
this.notes = _data["notes"];
|
|
9745
|
+
}
|
|
9746
|
+
}
|
|
9747
|
+
static fromJS(data) {
|
|
9748
|
+
data = typeof data === 'object' ? data : {};
|
|
9749
|
+
let result = new CreatePartnerApproval();
|
|
9750
|
+
result.init(data);
|
|
9751
|
+
return result;
|
|
9752
|
+
}
|
|
9753
|
+
toJSON(data) {
|
|
9754
|
+
data = typeof data === 'object' ? data : {};
|
|
9755
|
+
data["notes"] = this.notes;
|
|
9756
|
+
return data;
|
|
9757
|
+
}
|
|
9758
|
+
}
|
|
9301
9759
|
export class CreatePreIPOCompanySPVPartnerApproval {
|
|
9302
9760
|
constructor(data) {
|
|
9303
9761
|
if (data) {
|
|
@@ -10640,6 +11098,42 @@ export class FundManager {
|
|
|
10640
11098
|
return data;
|
|
10641
11099
|
}
|
|
10642
11100
|
}
|
|
11101
|
+
export class GuidApiResponse {
|
|
11102
|
+
constructor(data) {
|
|
11103
|
+
if (data) {
|
|
11104
|
+
for (var property in data) {
|
|
11105
|
+
if (data.hasOwnProperty(property))
|
|
11106
|
+
this[property] = data[property];
|
|
11107
|
+
}
|
|
11108
|
+
}
|
|
11109
|
+
}
|
|
11110
|
+
init(_data) {
|
|
11111
|
+
if (_data) {
|
|
11112
|
+
if (Array.isArray(_data["items"])) {
|
|
11113
|
+
this.items = [];
|
|
11114
|
+
for (let item of _data["items"])
|
|
11115
|
+
this.items.push(item);
|
|
11116
|
+
}
|
|
11117
|
+
this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
|
|
11118
|
+
}
|
|
11119
|
+
}
|
|
11120
|
+
static fromJS(data) {
|
|
11121
|
+
data = typeof data === 'object' ? data : {};
|
|
11122
|
+
let result = new GuidApiResponse();
|
|
11123
|
+
result.init(data);
|
|
11124
|
+
return result;
|
|
11125
|
+
}
|
|
11126
|
+
toJSON(data) {
|
|
11127
|
+
data = typeof data === 'object' ? data : {};
|
|
11128
|
+
if (Array.isArray(this.items)) {
|
|
11129
|
+
data["items"] = [];
|
|
11130
|
+
for (let item of this.items)
|
|
11131
|
+
data["items"].push(item);
|
|
11132
|
+
}
|
|
11133
|
+
data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
|
|
11134
|
+
return data;
|
|
11135
|
+
}
|
|
11136
|
+
}
|
|
10643
11137
|
export class ICustomAttributeProvider {
|
|
10644
11138
|
constructor(data) {
|
|
10645
11139
|
if (data) {
|
|
@@ -12776,8 +13270,18 @@ export class Partner {
|
|
|
12776
13270
|
this.name = _data["name"];
|
|
12777
13271
|
this.partnerType = _data["partnerType"];
|
|
12778
13272
|
this.legalEntityName = _data["legalEntityName"];
|
|
13273
|
+
this.primaryPhoneCountryCode = _data["primaryPhoneCountryCode"];
|
|
13274
|
+
this.primaryPhone = _data["primaryPhone"];
|
|
13275
|
+
this.street1 = _data["street1"];
|
|
13276
|
+
this.street2 = _data["street2"];
|
|
13277
|
+
this.city = _data["city"];
|
|
13278
|
+
this.state = _data["state"];
|
|
13279
|
+
this.zipCode = _data["zipCode"];
|
|
12779
13280
|
this.countryCode = _data["countryCode"];
|
|
12780
13281
|
this.website = _data["website"];
|
|
13282
|
+
this.primaryContactFirstName = _data["primaryContactFirstName"];
|
|
13283
|
+
this.primaryContactLastName = _data["primaryContactLastName"];
|
|
13284
|
+
this.primaryEmail = _data["primaryEmail"];
|
|
12781
13285
|
if (Array.isArray(_data["executiveTeam"])) {
|
|
12782
13286
|
this.executiveTeam = [];
|
|
12783
13287
|
for (let item of _data["executiveTeam"])
|
|
@@ -12810,8 +13314,18 @@ export class Partner {
|
|
|
12810
13314
|
data["name"] = this.name;
|
|
12811
13315
|
data["partnerType"] = this.partnerType;
|
|
12812
13316
|
data["legalEntityName"] = this.legalEntityName;
|
|
13317
|
+
data["primaryPhoneCountryCode"] = this.primaryPhoneCountryCode;
|
|
13318
|
+
data["primaryPhone"] = this.primaryPhone;
|
|
13319
|
+
data["street1"] = this.street1;
|
|
13320
|
+
data["street2"] = this.street2;
|
|
13321
|
+
data["city"] = this.city;
|
|
13322
|
+
data["state"] = this.state;
|
|
13323
|
+
data["zipCode"] = this.zipCode;
|
|
12813
13324
|
data["countryCode"] = this.countryCode;
|
|
12814
13325
|
data["website"] = this.website;
|
|
13326
|
+
data["primaryContactFirstName"] = this.primaryContactFirstName;
|
|
13327
|
+
data["primaryContactLastName"] = this.primaryContactLastName;
|
|
13328
|
+
data["primaryEmail"] = this.primaryEmail;
|
|
12815
13329
|
if (Array.isArray(this.executiveTeam)) {
|
|
12816
13330
|
data["executiveTeam"] = [];
|
|
12817
13331
|
for (let item of this.executiveTeam)
|
|
@@ -12833,6 +13347,130 @@ export class Partner {
|
|
|
12833
13347
|
return data;
|
|
12834
13348
|
}
|
|
12835
13349
|
}
|
|
13350
|
+
/** Represents approval control mapping between targets (SPVs, Funds, etc.) and Partners. */
|
|
13351
|
+
export class PartnerApproval {
|
|
13352
|
+
constructor(data) {
|
|
13353
|
+
if (data) {
|
|
13354
|
+
for (var property in data) {
|
|
13355
|
+
if (data.hasOwnProperty(property))
|
|
13356
|
+
this[property] = data[property];
|
|
13357
|
+
}
|
|
13358
|
+
}
|
|
13359
|
+
}
|
|
13360
|
+
init(_data) {
|
|
13361
|
+
if (_data) {
|
|
13362
|
+
this.id = _data["id"];
|
|
13363
|
+
this.targetId = _data["targetId"];
|
|
13364
|
+
this.targetType = _data["targetType"];
|
|
13365
|
+
this.partnerId = _data["partnerId"];
|
|
13366
|
+
this.isApproved = _data["isApproved"];
|
|
13367
|
+
this.notes = _data["notes"];
|
|
13368
|
+
this.createdAt = _data["createdAt"] ? new Date(_data["createdAt"].toString()) : undefined;
|
|
13369
|
+
this.updatedAt = _data["updatedAt"] ? new Date(_data["updatedAt"].toString()) : undefined;
|
|
13370
|
+
}
|
|
13371
|
+
}
|
|
13372
|
+
static fromJS(data) {
|
|
13373
|
+
data = typeof data === 'object' ? data : {};
|
|
13374
|
+
let result = new PartnerApproval();
|
|
13375
|
+
result.init(data);
|
|
13376
|
+
return result;
|
|
13377
|
+
}
|
|
13378
|
+
toJSON(data) {
|
|
13379
|
+
data = typeof data === 'object' ? data : {};
|
|
13380
|
+
data["id"] = this.id;
|
|
13381
|
+
data["targetId"] = this.targetId;
|
|
13382
|
+
data["targetType"] = this.targetType;
|
|
13383
|
+
data["partnerId"] = this.partnerId;
|
|
13384
|
+
data["isApproved"] = this.isApproved;
|
|
13385
|
+
data["notes"] = this.notes;
|
|
13386
|
+
data["createdAt"] = this.createdAt ? this.createdAt.toISOString() : undefined;
|
|
13387
|
+
data["updatedAt"] = this.updatedAt ? this.updatedAt.toISOString() : undefined;
|
|
13388
|
+
return data;
|
|
13389
|
+
}
|
|
13390
|
+
}
|
|
13391
|
+
export class PartnerApprovalApiResponse {
|
|
13392
|
+
constructor(data) {
|
|
13393
|
+
if (data) {
|
|
13394
|
+
for (var property in data) {
|
|
13395
|
+
if (data.hasOwnProperty(property))
|
|
13396
|
+
this[property] = data[property];
|
|
13397
|
+
}
|
|
13398
|
+
}
|
|
13399
|
+
}
|
|
13400
|
+
init(_data) {
|
|
13401
|
+
if (_data) {
|
|
13402
|
+
if (Array.isArray(_data["items"])) {
|
|
13403
|
+
this.items = [];
|
|
13404
|
+
for (let item of _data["items"])
|
|
13405
|
+
this.items.push(PartnerApproval.fromJS(item));
|
|
13406
|
+
}
|
|
13407
|
+
this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
|
|
13408
|
+
}
|
|
13409
|
+
}
|
|
13410
|
+
static fromJS(data) {
|
|
13411
|
+
data = typeof data === 'object' ? data : {};
|
|
13412
|
+
let result = new PartnerApprovalApiResponse();
|
|
13413
|
+
result.init(data);
|
|
13414
|
+
return result;
|
|
13415
|
+
}
|
|
13416
|
+
toJSON(data) {
|
|
13417
|
+
data = typeof data === 'object' ? data : {};
|
|
13418
|
+
if (Array.isArray(this.items)) {
|
|
13419
|
+
data["items"] = [];
|
|
13420
|
+
for (let item of this.items)
|
|
13421
|
+
data["items"].push(item ? item.toJSON() : undefined);
|
|
13422
|
+
}
|
|
13423
|
+
data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
|
|
13424
|
+
return data;
|
|
13425
|
+
}
|
|
13426
|
+
}
|
|
13427
|
+
/** Partner approval information with included target objects. */
|
|
13428
|
+
export class PartnerApprovalWithTargets {
|
|
13429
|
+
constructor(data) {
|
|
13430
|
+
if (data) {
|
|
13431
|
+
for (var property in data) {
|
|
13432
|
+
if (data.hasOwnProperty(property))
|
|
13433
|
+
this[property] = data[property];
|
|
13434
|
+
}
|
|
13435
|
+
}
|
|
13436
|
+
}
|
|
13437
|
+
init(_data) {
|
|
13438
|
+
if (_data) {
|
|
13439
|
+
if (Array.isArray(_data["preIPOCompanySPVs"])) {
|
|
13440
|
+
this.preIPOCompanySPVs = [];
|
|
13441
|
+
for (let item of _data["preIPOCompanySPVs"])
|
|
13442
|
+
this.preIPOCompanySPVs.push(PreIPOCompanySPV.fromJS(item));
|
|
13443
|
+
}
|
|
13444
|
+
if (Array.isArray(_data["registeredFunds"])) {
|
|
13445
|
+
this.registeredFunds = [];
|
|
13446
|
+
for (let item of _data["registeredFunds"])
|
|
13447
|
+
this.registeredFunds.push(RegisteredFund.fromJS(item));
|
|
13448
|
+
}
|
|
13449
|
+
this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
|
|
13450
|
+
}
|
|
13451
|
+
}
|
|
13452
|
+
static fromJS(data) {
|
|
13453
|
+
data = typeof data === 'object' ? data : {};
|
|
13454
|
+
let result = new PartnerApprovalWithTargets();
|
|
13455
|
+
result.init(data);
|
|
13456
|
+
return result;
|
|
13457
|
+
}
|
|
13458
|
+
toJSON(data) {
|
|
13459
|
+
data = typeof data === 'object' ? data : {};
|
|
13460
|
+
if (Array.isArray(this.preIPOCompanySPVs)) {
|
|
13461
|
+
data["preIPOCompanySPVs"] = [];
|
|
13462
|
+
for (let item of this.preIPOCompanySPVs)
|
|
13463
|
+
data["preIPOCompanySPVs"].push(item ? item.toJSON() : undefined);
|
|
13464
|
+
}
|
|
13465
|
+
if (Array.isArray(this.registeredFunds)) {
|
|
13466
|
+
data["registeredFunds"] = [];
|
|
13467
|
+
for (let item of this.registeredFunds)
|
|
13468
|
+
data["registeredFunds"].push(item ? item.toJSON() : undefined);
|
|
13469
|
+
}
|
|
13470
|
+
data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
|
|
13471
|
+
return data;
|
|
13472
|
+
}
|
|
13473
|
+
}
|
|
12836
13474
|
/** Read model representing a PMI feed composite derived pricing record returned by the API. */
|
|
12837
13475
|
export class PmiFeedPricing {
|
|
12838
13476
|
constructor(data) {
|
|
@@ -14965,6 +15603,7 @@ export class TransactionAction {
|
|
|
14965
15603
|
this.type = _data["type"];
|
|
14966
15604
|
this.responsibleParty = _data["responsibleParty"];
|
|
14967
15605
|
this.actionText = _data["actionText"];
|
|
15606
|
+
this.markdownText = _data["markdownText"];
|
|
14968
15607
|
}
|
|
14969
15608
|
}
|
|
14970
15609
|
static fromJS(data) {
|
|
@@ -14984,6 +15623,7 @@ export class TransactionAction {
|
|
|
14984
15623
|
data["type"] = this.type;
|
|
14985
15624
|
data["responsibleParty"] = this.responsibleParty;
|
|
14986
15625
|
data["actionText"] = this.actionText;
|
|
15626
|
+
data["markdownText"] = this.markdownText;
|
|
14987
15627
|
return data;
|
|
14988
15628
|
}
|
|
14989
15629
|
}
|
|
@@ -16461,6 +17101,45 @@ export var SortOrder8;
|
|
|
16461
17101
|
SortOrder8["Ascending"] = "Ascending";
|
|
16462
17102
|
SortOrder8["Descending"] = "Descending";
|
|
16463
17103
|
})(SortOrder8 || (SortOrder8 = {}));
|
|
17104
|
+
/** Defines the types of targets that can have Partner approval control. */
|
|
17105
|
+
export var TargetType;
|
|
17106
|
+
(function (TargetType) {
|
|
17107
|
+
TargetType["PreIPOCompanySPV"] = "PreIPOCompanySPV";
|
|
17108
|
+
TargetType["RegisteredFund"] = "RegisteredFund";
|
|
17109
|
+
})(TargetType || (TargetType = {}));
|
|
17110
|
+
export var TargetType2;
|
|
17111
|
+
(function (TargetType2) {
|
|
17112
|
+
TargetType2["PreIPOCompanySPV"] = "PreIPOCompanySPV";
|
|
17113
|
+
TargetType2["RegisteredFund"] = "RegisteredFund";
|
|
17114
|
+
})(TargetType2 || (TargetType2 = {}));
|
|
17115
|
+
/** Defines the types of targets that can have Partner approval control. */
|
|
17116
|
+
export var TargetType3;
|
|
17117
|
+
(function (TargetType3) {
|
|
17118
|
+
TargetType3["PreIPOCompanySPV"] = "PreIPOCompanySPV";
|
|
17119
|
+
TargetType3["RegisteredFund"] = "RegisteredFund";
|
|
17120
|
+
})(TargetType3 || (TargetType3 = {}));
|
|
17121
|
+
/** Defines the types of targets that can have Partner approval control. */
|
|
17122
|
+
export var TargetType4;
|
|
17123
|
+
(function (TargetType4) {
|
|
17124
|
+
TargetType4["PreIPOCompanySPV"] = "PreIPOCompanySPV";
|
|
17125
|
+
TargetType4["RegisteredFund"] = "RegisteredFund";
|
|
17126
|
+
})(TargetType4 || (TargetType4 = {}));
|
|
17127
|
+
/** Defines the types of targets that can have Partner approval control. */
|
|
17128
|
+
export var TargetType5;
|
|
17129
|
+
(function (TargetType5) {
|
|
17130
|
+
TargetType5["PreIPOCompanySPV"] = "PreIPOCompanySPV";
|
|
17131
|
+
TargetType5["RegisteredFund"] = "RegisteredFund";
|
|
17132
|
+
})(TargetType5 || (TargetType5 = {}));
|
|
17133
|
+
export var TargetType6;
|
|
17134
|
+
(function (TargetType6) {
|
|
17135
|
+
TargetType6["PreIPOCompanySPV"] = "PreIPOCompanySPV";
|
|
17136
|
+
TargetType6["RegisteredFund"] = "RegisteredFund";
|
|
17137
|
+
})(TargetType6 || (TargetType6 = {}));
|
|
17138
|
+
export var SortOrder9;
|
|
17139
|
+
(function (SortOrder9) {
|
|
17140
|
+
SortOrder9["Ascending"] = "Ascending";
|
|
17141
|
+
SortOrder9["Descending"] = "Descending";
|
|
17142
|
+
})(SortOrder9 || (SortOrder9 = {}));
|
|
16464
17143
|
export var SortBy;
|
|
16465
17144
|
(function (SortBy) {
|
|
16466
17145
|
SortBy["UpdatedAt"] = "UpdatedAt";
|
|
@@ -16468,11 +17147,11 @@ export var SortBy;
|
|
|
16468
17147
|
SortBy["LastValuation"] = "LastValuation";
|
|
16469
17148
|
SortBy["TotalFunding"] = "TotalFunding";
|
|
16470
17149
|
})(SortBy || (SortBy = {}));
|
|
16471
|
-
export var
|
|
16472
|
-
(function (
|
|
16473
|
-
|
|
16474
|
-
|
|
16475
|
-
})(
|
|
17150
|
+
export var SortOrder10;
|
|
17151
|
+
(function (SortOrder10) {
|
|
17152
|
+
SortOrder10["Ascending"] = "Ascending";
|
|
17153
|
+
SortOrder10["Descending"] = "Descending";
|
|
17154
|
+
})(SortOrder10 || (SortOrder10 = {}));
|
|
16476
17155
|
export var FilterBy;
|
|
16477
17156
|
(function (FilterBy) {
|
|
16478
17157
|
FilterBy["Company"] = "Company";
|
|
@@ -16487,11 +17166,6 @@ export var Includes;
|
|
|
16487
17166
|
Includes["Investments"] = "Investments";
|
|
16488
17167
|
Includes["Spvs"] = "Spvs";
|
|
16489
17168
|
})(Includes || (Includes = {}));
|
|
16490
|
-
export var SortOrder10;
|
|
16491
|
-
(function (SortOrder10) {
|
|
16492
|
-
SortOrder10["Ascending"] = "Ascending";
|
|
16493
|
-
SortOrder10["Descending"] = "Descending";
|
|
16494
|
-
})(SortOrder10 || (SortOrder10 = {}));
|
|
16495
17169
|
export var SortOrder11;
|
|
16496
17170
|
(function (SortOrder11) {
|
|
16497
17171
|
SortOrder11["Ascending"] = "Ascending";
|
|
@@ -16507,6 +17181,11 @@ export var SortOrder13;
|
|
|
16507
17181
|
SortOrder13["Ascending"] = "Ascending";
|
|
16508
17182
|
SortOrder13["Descending"] = "Descending";
|
|
16509
17183
|
})(SortOrder13 || (SortOrder13 = {}));
|
|
17184
|
+
export var SortOrder14;
|
|
17185
|
+
(function (SortOrder14) {
|
|
17186
|
+
SortOrder14["Ascending"] = "Ascending";
|
|
17187
|
+
SortOrder14["Descending"] = "Descending";
|
|
17188
|
+
})(SortOrder14 || (SortOrder14 = {}));
|
|
16510
17189
|
export var ResearchType;
|
|
16511
17190
|
(function (ResearchType) {
|
|
16512
17191
|
ResearchType["INTERVIEW"] = "INTERVIEW";
|
|
@@ -16562,11 +17241,11 @@ export var ExemptionsClaimed;
|
|
|
16562
17241
|
ExemptionsClaimed["SECURITIES_ACT_SECTION_3_c_14"] = "SECURITIES_ACT_SECTION_3_c_14";
|
|
16563
17242
|
ExemptionsClaimed["Reg_S"] = "Reg_S";
|
|
16564
17243
|
})(ExemptionsClaimed || (ExemptionsClaimed = {}));
|
|
16565
|
-
export var
|
|
16566
|
-
(function (
|
|
16567
|
-
|
|
16568
|
-
|
|
16569
|
-
})(
|
|
17244
|
+
export var SortOrder15;
|
|
17245
|
+
(function (SortOrder15) {
|
|
17246
|
+
SortOrder15["Ascending"] = "Ascending";
|
|
17247
|
+
SortOrder15["Descending"] = "Descending";
|
|
17248
|
+
})(SortOrder15 || (SortOrder15 = {}));
|
|
16570
17249
|
export var SortBy2;
|
|
16571
17250
|
(function (SortBy2) {
|
|
16572
17251
|
SortBy2["UpdatedAt"] = "UpdatedAt";
|
|
@@ -16578,11 +17257,6 @@ export var SortBy2;
|
|
|
16578
17257
|
SortBy2["Valuation"] = "Valuation";
|
|
16579
17258
|
SortBy2["MinCommitmentAmount"] = "MinCommitmentAmount";
|
|
16580
17259
|
})(SortBy2 || (SortBy2 = {}));
|
|
16581
|
-
export var SortOrder15;
|
|
16582
|
-
(function (SortOrder15) {
|
|
16583
|
-
SortOrder15["Ascending"] = "Ascending";
|
|
16584
|
-
SortOrder15["Descending"] = "Descending";
|
|
16585
|
-
})(SortOrder15 || (SortOrder15 = {}));
|
|
16586
17260
|
export var SortOrder16;
|
|
16587
17261
|
(function (SortOrder16) {
|
|
16588
17262
|
SortOrder16["Ascending"] = "Ascending";
|
|
@@ -16618,6 +17292,11 @@ export var SortOrder22;
|
|
|
16618
17292
|
SortOrder22["Ascending"] = "Ascending";
|
|
16619
17293
|
SortOrder22["Descending"] = "Descending";
|
|
16620
17294
|
})(SortOrder22 || (SortOrder22 = {}));
|
|
17295
|
+
export var SortOrder23;
|
|
17296
|
+
(function (SortOrder23) {
|
|
17297
|
+
SortOrder23["Ascending"] = "Ascending";
|
|
17298
|
+
SortOrder23["Descending"] = "Descending";
|
|
17299
|
+
})(SortOrder23 || (SortOrder23 = {}));
|
|
16621
17300
|
export var TargetAssetType;
|
|
16622
17301
|
(function (TargetAssetType) {
|
|
16623
17302
|
TargetAssetType["PreIPOCompanySPV"] = "PreIPOCompanySPV";
|
|
@@ -16642,16 +17321,16 @@ export var TargetAssetType4;
|
|
|
16642
17321
|
TargetAssetType4["RegisteredFund"] = "RegisteredFund";
|
|
16643
17322
|
TargetAssetType4["PreIPOCompany"] = "PreIPOCompany";
|
|
16644
17323
|
})(TargetAssetType4 || (TargetAssetType4 = {}));
|
|
16645
|
-
export var SortOrder23;
|
|
16646
|
-
(function (SortOrder23) {
|
|
16647
|
-
SortOrder23["Ascending"] = "Ascending";
|
|
16648
|
-
SortOrder23["Descending"] = "Descending";
|
|
16649
|
-
})(SortOrder23 || (SortOrder23 = {}));
|
|
16650
17324
|
export var SortOrder24;
|
|
16651
17325
|
(function (SortOrder24) {
|
|
16652
17326
|
SortOrder24["Ascending"] = "Ascending";
|
|
16653
17327
|
SortOrder24["Descending"] = "Descending";
|
|
16654
17328
|
})(SortOrder24 || (SortOrder24 = {}));
|
|
17329
|
+
export var SortOrder25;
|
|
17330
|
+
(function (SortOrder25) {
|
|
17331
|
+
SortOrder25["Ascending"] = "Ascending";
|
|
17332
|
+
SortOrder25["Descending"] = "Descending";
|
|
17333
|
+
})(SortOrder25 || (SortOrder25 = {}));
|
|
16655
17334
|
export var EventType;
|
|
16656
17335
|
(function (EventType) {
|
|
16657
17336
|
EventType["PreIPOCompany"] = "PreIPOCompany";
|
|
@@ -17369,6 +18048,11 @@ export var PartnerRegistration;
|
|
|
17369
18048
|
PartnerRegistration["EXEMPT_REPORTING_ADVISOR"] = "EXEMPT_REPORTING_ADVISOR";
|
|
17370
18049
|
PartnerRegistration["RIA"] = "RIA";
|
|
17371
18050
|
})(PartnerRegistration || (PartnerRegistration = {}));
|
|
18051
|
+
export var PartnerApprovalTargetType;
|
|
18052
|
+
(function (PartnerApprovalTargetType) {
|
|
18053
|
+
PartnerApprovalTargetType["PreIPOCompanySPV"] = "PreIPOCompanySPV";
|
|
18054
|
+
PartnerApprovalTargetType["RegisteredFund"] = "RegisteredFund";
|
|
18055
|
+
})(PartnerApprovalTargetType || (PartnerApprovalTargetType = {}));
|
|
17372
18056
|
export var PreIPOCompanyType;
|
|
17373
18057
|
(function (PreIPOCompanyType) {
|
|
17374
18058
|
PreIPOCompanyType["SOLE_PROPRIETOR"] = "SOLE_PROPRIETOR";
|
|
@@ -17779,6 +18463,7 @@ export var TransactionActionType;
|
|
|
17779
18463
|
TransactionActionType["DocumentAcknowledge"] = "DocumentAcknowledge";
|
|
17780
18464
|
TransactionActionType["TextAcknowledge"] = "TextAcknowledge";
|
|
17781
18465
|
TransactionActionType["Questionnaire"] = "Questionnaire";
|
|
18466
|
+
TransactionActionType["ViewDisclosure"] = "ViewDisclosure";
|
|
17782
18467
|
})(TransactionActionType || (TransactionActionType = {}));
|
|
17783
18468
|
export var TransactionActionResponsibleParty;
|
|
17784
18469
|
(function (TransactionActionResponsibleParty) {
|