@monarkmarkets/api-client 1.1.112 → 1.1.114
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 +779 -8
- package/dist/Client.js +1127 -45
- package/package.json +1 -1
package/dist/Client.js
CHANGED
|
@@ -3142,6 +3142,439 @@ export class Client {
|
|
|
3142
3142
|
}
|
|
3143
3143
|
return Promise.resolve(null);
|
|
3144
3144
|
}
|
|
3145
|
+
/**
|
|
3146
|
+
* Gets a PMI feed pricing record by ID.
|
|
3147
|
+
* @param id The PMI feed pricing ID.
|
|
3148
|
+
* @param financialInstitutionId The financial institution ID.
|
|
3149
|
+
* @return Returns the PmiFeedPricing with the specified Id.
|
|
3150
|
+
*/
|
|
3151
|
+
getPmiFeedPricingById(id, financialInstitutionId) {
|
|
3152
|
+
let url_ = this.baseUrl + "/primary/v1/pmi/feed-pricing/{id}/financial-institution/{financialInstitutionId}";
|
|
3153
|
+
if (id === undefined || id === null)
|
|
3154
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
3155
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
3156
|
+
if (financialInstitutionId === undefined || financialInstitutionId === null)
|
|
3157
|
+
throw new Error("The parameter 'financialInstitutionId' must be defined.");
|
|
3158
|
+
url_ = url_.replace("{financialInstitutionId}", encodeURIComponent("" + financialInstitutionId));
|
|
3159
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
3160
|
+
let options_ = {
|
|
3161
|
+
method: "GET",
|
|
3162
|
+
headers: {
|
|
3163
|
+
"Accept": "application/json"
|
|
3164
|
+
}
|
|
3165
|
+
};
|
|
3166
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
3167
|
+
return this.processGetPmiFeedPricingById(_response);
|
|
3168
|
+
});
|
|
3169
|
+
}
|
|
3170
|
+
processGetPmiFeedPricingById(response) {
|
|
3171
|
+
const status = response.status;
|
|
3172
|
+
let _headers = {};
|
|
3173
|
+
if (response.headers && response.headers.forEach) {
|
|
3174
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
3175
|
+
}
|
|
3176
|
+
;
|
|
3177
|
+
if (status === 200) {
|
|
3178
|
+
return response.text().then((_responseText) => {
|
|
3179
|
+
let result200 = null;
|
|
3180
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3181
|
+
result200 = PmiFeedPricing.fromJS(resultData200);
|
|
3182
|
+
return result200;
|
|
3183
|
+
});
|
|
3184
|
+
}
|
|
3185
|
+
else if (status === 404) {
|
|
3186
|
+
return response.text().then((_responseText) => {
|
|
3187
|
+
let result404 = null;
|
|
3188
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3189
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
3190
|
+
return throwException("PmiFeedPricing not found.", status, _responseText, _headers, result404);
|
|
3191
|
+
});
|
|
3192
|
+
}
|
|
3193
|
+
else if (status === 403) {
|
|
3194
|
+
return response.text().then((_responseText) => {
|
|
3195
|
+
let result403 = null;
|
|
3196
|
+
let resultData403 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3197
|
+
result403 = ProblemDetails.fromJS(resultData403);
|
|
3198
|
+
return throwException("Access denied.", status, _responseText, _headers, result403);
|
|
3199
|
+
});
|
|
3200
|
+
}
|
|
3201
|
+
else if (status !== 200 && status !== 204) {
|
|
3202
|
+
return response.text().then((_responseText) => {
|
|
3203
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
3204
|
+
});
|
|
3205
|
+
}
|
|
3206
|
+
return Promise.resolve(null);
|
|
3207
|
+
}
|
|
3208
|
+
/**
|
|
3209
|
+
* Gets all PMI feed pricing records with optional filtering.
|
|
3210
|
+
* @param financialInstitutionId The financial institution ID.
|
|
3211
|
+
* @param preIPOCompanyId (optional) Optional filter by PreIPO Company ID.
|
|
3212
|
+
* @param pmiId (optional) Optional filter by PMI Id.
|
|
3213
|
+
* @param displayName (optional) Optional filter by Display Name.
|
|
3214
|
+
* @param currency (optional) Optional filter by Currency (e.g., USD, EUR).
|
|
3215
|
+
* @param fromDate (optional) Optional filter by minimum date (YYYY-MM-DD).
|
|
3216
|
+
* @param toDate (optional) Optional filter by maximum date (YYYY-MM-DD).
|
|
3217
|
+
* @param pageNumber (optional) Pagination page number.
|
|
3218
|
+
* @param pageSize (optional) Pagination page size.
|
|
3219
|
+
* @return Returns the list of PmiFeedPricing.
|
|
3220
|
+
*/
|
|
3221
|
+
getAllPmiFeedPricing(financialInstitutionId, preIPOCompanyId, pmiId, displayName, currency, fromDate, toDate, pageNumber, pageSize) {
|
|
3222
|
+
let url_ = this.baseUrl + "/primary/v1/pmi/feed-pricing/financial-institution/{financialInstitutionId}?";
|
|
3223
|
+
if (financialInstitutionId === undefined || financialInstitutionId === null)
|
|
3224
|
+
throw new Error("The parameter 'financialInstitutionId' must be defined.");
|
|
3225
|
+
url_ = url_.replace("{financialInstitutionId}", encodeURIComponent("" + financialInstitutionId));
|
|
3226
|
+
if (preIPOCompanyId === null)
|
|
3227
|
+
throw new Error("The parameter 'preIPOCompanyId' cannot be null.");
|
|
3228
|
+
else if (preIPOCompanyId !== undefined)
|
|
3229
|
+
url_ += "preIPOCompanyId=" + encodeURIComponent("" + preIPOCompanyId) + "&";
|
|
3230
|
+
if (pmiId === null)
|
|
3231
|
+
throw new Error("The parameter 'pmiId' cannot be null.");
|
|
3232
|
+
else if (pmiId !== undefined)
|
|
3233
|
+
url_ += "pmiId=" + encodeURIComponent("" + pmiId) + "&";
|
|
3234
|
+
if (displayName === null)
|
|
3235
|
+
throw new Error("The parameter 'displayName' cannot be null.");
|
|
3236
|
+
else if (displayName !== undefined)
|
|
3237
|
+
url_ += "displayName=" + encodeURIComponent("" + displayName) + "&";
|
|
3238
|
+
if (currency === null)
|
|
3239
|
+
throw new Error("The parameter 'currency' cannot be null.");
|
|
3240
|
+
else if (currency !== undefined)
|
|
3241
|
+
url_ += "currency=" + encodeURIComponent("" + currency) + "&";
|
|
3242
|
+
if (fromDate === null)
|
|
3243
|
+
throw new Error("The parameter 'fromDate' cannot be null.");
|
|
3244
|
+
else if (fromDate !== undefined)
|
|
3245
|
+
url_ += "fromDate=" + encodeURIComponent(fromDate ? "" + fromDate.toISOString() : "") + "&";
|
|
3246
|
+
if (toDate === null)
|
|
3247
|
+
throw new Error("The parameter 'toDate' cannot be null.");
|
|
3248
|
+
else if (toDate !== undefined)
|
|
3249
|
+
url_ += "toDate=" + encodeURIComponent(toDate ? "" + toDate.toISOString() : "") + "&";
|
|
3250
|
+
if (pageNumber === null)
|
|
3251
|
+
throw new Error("The parameter 'pageNumber' cannot be null.");
|
|
3252
|
+
else if (pageNumber !== undefined)
|
|
3253
|
+
url_ += "pageNumber=" + encodeURIComponent("" + pageNumber) + "&";
|
|
3254
|
+
if (pageSize === null)
|
|
3255
|
+
throw new Error("The parameter 'pageSize' cannot be null.");
|
|
3256
|
+
else if (pageSize !== undefined)
|
|
3257
|
+
url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
|
|
3258
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
3259
|
+
let options_ = {
|
|
3260
|
+
method: "GET",
|
|
3261
|
+
headers: {
|
|
3262
|
+
"Accept": "application/json"
|
|
3263
|
+
}
|
|
3264
|
+
};
|
|
3265
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
3266
|
+
return this.processGetAllPmiFeedPricing(_response);
|
|
3267
|
+
});
|
|
3268
|
+
}
|
|
3269
|
+
processGetAllPmiFeedPricing(response) {
|
|
3270
|
+
const status = response.status;
|
|
3271
|
+
let _headers = {};
|
|
3272
|
+
if (response.headers && response.headers.forEach) {
|
|
3273
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
3274
|
+
}
|
|
3275
|
+
;
|
|
3276
|
+
if (status === 200) {
|
|
3277
|
+
return response.text().then((_responseText) => {
|
|
3278
|
+
let result200 = null;
|
|
3279
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3280
|
+
result200 = PmiFeedPricingApiResponse.fromJS(resultData200);
|
|
3281
|
+
return result200;
|
|
3282
|
+
});
|
|
3283
|
+
}
|
|
3284
|
+
else if (status === 403) {
|
|
3285
|
+
return response.text().then((_responseText) => {
|
|
3286
|
+
return throwException("Access denied.", status, _responseText, _headers);
|
|
3287
|
+
});
|
|
3288
|
+
}
|
|
3289
|
+
else if (status !== 200 && status !== 204) {
|
|
3290
|
+
return response.text().then((_responseText) => {
|
|
3291
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
3292
|
+
});
|
|
3293
|
+
}
|
|
3294
|
+
return Promise.resolve(null);
|
|
3295
|
+
}
|
|
3296
|
+
/**
|
|
3297
|
+
* Gets a PMI issuer record by ID.
|
|
3298
|
+
* @param id The PMI issuer ID.
|
|
3299
|
+
* @param financialInstitutionId The financial institution ID.
|
|
3300
|
+
* @return Returns the PmiIssuer with the specified Id.
|
|
3301
|
+
*/
|
|
3302
|
+
getPmiIssuerById(id, financialInstitutionId) {
|
|
3303
|
+
let url_ = this.baseUrl + "/primary/v1/pmi/issuers/{id}/financial-institution/{financialInstitutionId}";
|
|
3304
|
+
if (id === undefined || id === null)
|
|
3305
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
3306
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
3307
|
+
if (financialInstitutionId === undefined || financialInstitutionId === null)
|
|
3308
|
+
throw new Error("The parameter 'financialInstitutionId' must be defined.");
|
|
3309
|
+
url_ = url_.replace("{financialInstitutionId}", encodeURIComponent("" + financialInstitutionId));
|
|
3310
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
3311
|
+
let options_ = {
|
|
3312
|
+
method: "GET",
|
|
3313
|
+
headers: {
|
|
3314
|
+
"Accept": "application/json"
|
|
3315
|
+
}
|
|
3316
|
+
};
|
|
3317
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
3318
|
+
return this.processGetPmiIssuerById(_response);
|
|
3319
|
+
});
|
|
3320
|
+
}
|
|
3321
|
+
processGetPmiIssuerById(response) {
|
|
3322
|
+
const status = response.status;
|
|
3323
|
+
let _headers = {};
|
|
3324
|
+
if (response.headers && response.headers.forEach) {
|
|
3325
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
3326
|
+
}
|
|
3327
|
+
;
|
|
3328
|
+
if (status === 200) {
|
|
3329
|
+
return response.text().then((_responseText) => {
|
|
3330
|
+
let result200 = null;
|
|
3331
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3332
|
+
result200 = PmiIssuer.fromJS(resultData200);
|
|
3333
|
+
return result200;
|
|
3334
|
+
});
|
|
3335
|
+
}
|
|
3336
|
+
else if (status === 404) {
|
|
3337
|
+
return response.text().then((_responseText) => {
|
|
3338
|
+
let result404 = null;
|
|
3339
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3340
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
3341
|
+
return throwException("PmiIssuer not found.", status, _responseText, _headers, result404);
|
|
3342
|
+
});
|
|
3343
|
+
}
|
|
3344
|
+
else if (status === 403) {
|
|
3345
|
+
return response.text().then((_responseText) => {
|
|
3346
|
+
let result403 = null;
|
|
3347
|
+
let resultData403 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3348
|
+
result403 = ProblemDetails.fromJS(resultData403);
|
|
3349
|
+
return throwException("Access denied.", status, _responseText, _headers, result403);
|
|
3350
|
+
});
|
|
3351
|
+
}
|
|
3352
|
+
else if (status !== 200 && status !== 204) {
|
|
3353
|
+
return response.text().then((_responseText) => {
|
|
3354
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
3355
|
+
});
|
|
3356
|
+
}
|
|
3357
|
+
return Promise.resolve(null);
|
|
3358
|
+
}
|
|
3359
|
+
/**
|
|
3360
|
+
* Gets all PMI issuer records with optional filtering.
|
|
3361
|
+
* @param financialInstitutionId The financial institution ID.
|
|
3362
|
+
* @param preIPOCompanyId (optional) Optional filter by PreIPO Company ID.
|
|
3363
|
+
* @param infoId (optional) Optional filter by PMI Id.
|
|
3364
|
+
* @param infoDisplayName (optional) Optional filter by Display Name.
|
|
3365
|
+
* @param pageNumber (optional) Pagination page number.
|
|
3366
|
+
* @param pageSize (optional) Pagination page size.
|
|
3367
|
+
* @return Returns the list of PmiIssuer.
|
|
3368
|
+
*/
|
|
3369
|
+
getAllPmiIssuers(financialInstitutionId, preIPOCompanyId, infoId, infoDisplayName, pageNumber, pageSize) {
|
|
3370
|
+
let url_ = this.baseUrl + "/primary/v1/pmi/issuers/financial-institution/{financialInstitutionId}?";
|
|
3371
|
+
if (financialInstitutionId === undefined || financialInstitutionId === null)
|
|
3372
|
+
throw new Error("The parameter 'financialInstitutionId' must be defined.");
|
|
3373
|
+
url_ = url_.replace("{financialInstitutionId}", encodeURIComponent("" + financialInstitutionId));
|
|
3374
|
+
if (preIPOCompanyId === null)
|
|
3375
|
+
throw new Error("The parameter 'preIPOCompanyId' cannot be null.");
|
|
3376
|
+
else if (preIPOCompanyId !== undefined)
|
|
3377
|
+
url_ += "preIPOCompanyId=" + encodeURIComponent("" + preIPOCompanyId) + "&";
|
|
3378
|
+
if (infoId === null)
|
|
3379
|
+
throw new Error("The parameter 'infoId' cannot be null.");
|
|
3380
|
+
else if (infoId !== undefined)
|
|
3381
|
+
url_ += "infoId=" + encodeURIComponent("" + infoId) + "&";
|
|
3382
|
+
if (infoDisplayName === null)
|
|
3383
|
+
throw new Error("The parameter 'infoDisplayName' cannot be null.");
|
|
3384
|
+
else if (infoDisplayName !== undefined)
|
|
3385
|
+
url_ += "infoDisplayName=" + encodeURIComponent("" + infoDisplayName) + "&";
|
|
3386
|
+
if (pageNumber === null)
|
|
3387
|
+
throw new Error("The parameter 'pageNumber' cannot be null.");
|
|
3388
|
+
else if (pageNumber !== undefined)
|
|
3389
|
+
url_ += "pageNumber=" + encodeURIComponent("" + pageNumber) + "&";
|
|
3390
|
+
if (pageSize === null)
|
|
3391
|
+
throw new Error("The parameter 'pageSize' cannot be null.");
|
|
3392
|
+
else if (pageSize !== undefined)
|
|
3393
|
+
url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
|
|
3394
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
3395
|
+
let options_ = {
|
|
3396
|
+
method: "GET",
|
|
3397
|
+
headers: {
|
|
3398
|
+
"Accept": "application/json"
|
|
3399
|
+
}
|
|
3400
|
+
};
|
|
3401
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
3402
|
+
return this.processGetAllPmiIssuers(_response);
|
|
3403
|
+
});
|
|
3404
|
+
}
|
|
3405
|
+
processGetAllPmiIssuers(response) {
|
|
3406
|
+
const status = response.status;
|
|
3407
|
+
let _headers = {};
|
|
3408
|
+
if (response.headers && response.headers.forEach) {
|
|
3409
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
3410
|
+
}
|
|
3411
|
+
;
|
|
3412
|
+
if (status === 200) {
|
|
3413
|
+
return response.text().then((_responseText) => {
|
|
3414
|
+
let result200 = null;
|
|
3415
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3416
|
+
result200 = PmiIssuerApiResponse.fromJS(resultData200);
|
|
3417
|
+
return result200;
|
|
3418
|
+
});
|
|
3419
|
+
}
|
|
3420
|
+
else if (status === 403) {
|
|
3421
|
+
return response.text().then((_responseText) => {
|
|
3422
|
+
return throwException("Access denied.", status, _responseText, _headers);
|
|
3423
|
+
});
|
|
3424
|
+
}
|
|
3425
|
+
else if (status !== 200 && status !== 204) {
|
|
3426
|
+
return response.text().then((_responseText) => {
|
|
3427
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
3428
|
+
});
|
|
3429
|
+
}
|
|
3430
|
+
return Promise.resolve(null);
|
|
3431
|
+
}
|
|
3432
|
+
/**
|
|
3433
|
+
* Gets a PMI valuation record by ID.
|
|
3434
|
+
* @param id The PMI valuation ID.
|
|
3435
|
+
* @param financialInstitutionId The financial institution ID.
|
|
3436
|
+
* @return Returns the PmiValuation with the specified Id.
|
|
3437
|
+
*/
|
|
3438
|
+
getPmiValuationById(id, financialInstitutionId) {
|
|
3439
|
+
let url_ = this.baseUrl + "/primary/v1/pmi/valuations/{id}/financial-institution/{financialInstitutionId}";
|
|
3440
|
+
if (id === undefined || id === null)
|
|
3441
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
3442
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
3443
|
+
if (financialInstitutionId === undefined || financialInstitutionId === null)
|
|
3444
|
+
throw new Error("The parameter 'financialInstitutionId' must be defined.");
|
|
3445
|
+
url_ = url_.replace("{financialInstitutionId}", encodeURIComponent("" + financialInstitutionId));
|
|
3446
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
3447
|
+
let options_ = {
|
|
3448
|
+
method: "GET",
|
|
3449
|
+
headers: {
|
|
3450
|
+
"Accept": "application/json"
|
|
3451
|
+
}
|
|
3452
|
+
};
|
|
3453
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
3454
|
+
return this.processGetPmiValuationById(_response);
|
|
3455
|
+
});
|
|
3456
|
+
}
|
|
3457
|
+
processGetPmiValuationById(response) {
|
|
3458
|
+
const status = response.status;
|
|
3459
|
+
let _headers = {};
|
|
3460
|
+
if (response.headers && response.headers.forEach) {
|
|
3461
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
3462
|
+
}
|
|
3463
|
+
;
|
|
3464
|
+
if (status === 200) {
|
|
3465
|
+
return response.text().then((_responseText) => {
|
|
3466
|
+
let result200 = null;
|
|
3467
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3468
|
+
result200 = PmiValuation.fromJS(resultData200);
|
|
3469
|
+
return result200;
|
|
3470
|
+
});
|
|
3471
|
+
}
|
|
3472
|
+
else if (status === 404) {
|
|
3473
|
+
return response.text().then((_responseText) => {
|
|
3474
|
+
let result404 = null;
|
|
3475
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3476
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
3477
|
+
return throwException("PmiValuation not found.", status, _responseText, _headers, result404);
|
|
3478
|
+
});
|
|
3479
|
+
}
|
|
3480
|
+
else if (status === 403) {
|
|
3481
|
+
return response.text().then((_responseText) => {
|
|
3482
|
+
let result403 = null;
|
|
3483
|
+
let resultData403 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3484
|
+
result403 = ProblemDetails.fromJS(resultData403);
|
|
3485
|
+
return throwException("Access denied.", status, _responseText, _headers, result403);
|
|
3486
|
+
});
|
|
3487
|
+
}
|
|
3488
|
+
else if (status !== 200 && status !== 204) {
|
|
3489
|
+
return response.text().then((_responseText) => {
|
|
3490
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
3491
|
+
});
|
|
3492
|
+
}
|
|
3493
|
+
return Promise.resolve(null);
|
|
3494
|
+
}
|
|
3495
|
+
/**
|
|
3496
|
+
* Gets all PMI valuation records with optional filtering.
|
|
3497
|
+
* @param financialInstitutionId The financial institution ID.
|
|
3498
|
+
* @param preIPOCompanyId (optional) Optional filter by PreIPO Company ID.
|
|
3499
|
+
* @param pmiId (optional) Optional filter by PMI Id.
|
|
3500
|
+
* @param displayName (optional) Optional filter by Display Name.
|
|
3501
|
+
* @param fromDate (optional) Optional filter by minimum date (YYYY-MM-DD).
|
|
3502
|
+
* @param toDate (optional) Optional filter by maximum date (YYYY-MM-DD).
|
|
3503
|
+
* @param pageNumber (optional) Pagination page number.
|
|
3504
|
+
* @param pageSize (optional) Pagination page size.
|
|
3505
|
+
* @return Returns the list of PmiValuation.
|
|
3506
|
+
*/
|
|
3507
|
+
getAllPmiValuations(financialInstitutionId, preIPOCompanyId, pmiId, displayName, fromDate, toDate, pageNumber, pageSize) {
|
|
3508
|
+
let url_ = this.baseUrl + "/primary/v1/pmi/valuations/financial-institution/{financialInstitutionId}?";
|
|
3509
|
+
if (financialInstitutionId === undefined || financialInstitutionId === null)
|
|
3510
|
+
throw new Error("The parameter 'financialInstitutionId' must be defined.");
|
|
3511
|
+
url_ = url_.replace("{financialInstitutionId}", encodeURIComponent("" + financialInstitutionId));
|
|
3512
|
+
if (preIPOCompanyId === null)
|
|
3513
|
+
throw new Error("The parameter 'preIPOCompanyId' cannot be null.");
|
|
3514
|
+
else if (preIPOCompanyId !== undefined)
|
|
3515
|
+
url_ += "preIPOCompanyId=" + encodeURIComponent("" + preIPOCompanyId) + "&";
|
|
3516
|
+
if (pmiId === null)
|
|
3517
|
+
throw new Error("The parameter 'pmiId' cannot be null.");
|
|
3518
|
+
else if (pmiId !== undefined)
|
|
3519
|
+
url_ += "pmiId=" + encodeURIComponent("" + pmiId) + "&";
|
|
3520
|
+
if (displayName === null)
|
|
3521
|
+
throw new Error("The parameter 'displayName' cannot be null.");
|
|
3522
|
+
else if (displayName !== undefined)
|
|
3523
|
+
url_ += "displayName=" + encodeURIComponent("" + displayName) + "&";
|
|
3524
|
+
if (fromDate === null)
|
|
3525
|
+
throw new Error("The parameter 'fromDate' cannot be null.");
|
|
3526
|
+
else if (fromDate !== undefined)
|
|
3527
|
+
url_ += "fromDate=" + encodeURIComponent(fromDate ? "" + fromDate.toISOString() : "") + "&";
|
|
3528
|
+
if (toDate === null)
|
|
3529
|
+
throw new Error("The parameter 'toDate' cannot be null.");
|
|
3530
|
+
else if (toDate !== undefined)
|
|
3531
|
+
url_ += "toDate=" + encodeURIComponent(toDate ? "" + toDate.toISOString() : "") + "&";
|
|
3532
|
+
if (pageNumber === null)
|
|
3533
|
+
throw new Error("The parameter 'pageNumber' cannot be null.");
|
|
3534
|
+
else if (pageNumber !== undefined)
|
|
3535
|
+
url_ += "pageNumber=" + encodeURIComponent("" + pageNumber) + "&";
|
|
3536
|
+
if (pageSize === null)
|
|
3537
|
+
throw new Error("The parameter 'pageSize' cannot be null.");
|
|
3538
|
+
else if (pageSize !== undefined)
|
|
3539
|
+
url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
|
|
3540
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
3541
|
+
let options_ = {
|
|
3542
|
+
method: "GET",
|
|
3543
|
+
headers: {
|
|
3544
|
+
"Accept": "application/json"
|
|
3545
|
+
}
|
|
3546
|
+
};
|
|
3547
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
3548
|
+
return this.processGetAllPmiValuations(_response);
|
|
3549
|
+
});
|
|
3550
|
+
}
|
|
3551
|
+
processGetAllPmiValuations(response) {
|
|
3552
|
+
const status = response.status;
|
|
3553
|
+
let _headers = {};
|
|
3554
|
+
if (response.headers && response.headers.forEach) {
|
|
3555
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
3556
|
+
}
|
|
3557
|
+
;
|
|
3558
|
+
if (status === 200) {
|
|
3559
|
+
return response.text().then((_responseText) => {
|
|
3560
|
+
let result200 = null;
|
|
3561
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3562
|
+
result200 = PmiValuationApiResponse.fromJS(resultData200);
|
|
3563
|
+
return result200;
|
|
3564
|
+
});
|
|
3565
|
+
}
|
|
3566
|
+
else if (status === 403) {
|
|
3567
|
+
return response.text().then((_responseText) => {
|
|
3568
|
+
return throwException("Access denied.", status, _responseText, _headers);
|
|
3569
|
+
});
|
|
3570
|
+
}
|
|
3571
|
+
else if (status !== 200 && status !== 204) {
|
|
3572
|
+
return response.text().then((_responseText) => {
|
|
3573
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
3574
|
+
});
|
|
3575
|
+
}
|
|
3576
|
+
return Promise.resolve(null);
|
|
3577
|
+
}
|
|
3145
3578
|
/**
|
|
3146
3579
|
* Get a PreIPOCompany by Id
|
|
3147
3580
|
* @param id ID of the PreIPOCompany to find.
|
|
@@ -5556,6 +5989,18 @@ export class BulkPreIPOCompany {
|
|
|
5556
5989
|
this.referencePrice = _data["referencePrice"];
|
|
5557
5990
|
this.referencePriceDate = _data["referencePriceDate"] ? new Date(_data["referencePriceDate"].toString()) : undefined;
|
|
5558
5991
|
this.symbol = _data["symbol"];
|
|
5992
|
+
this.listingType = _data["listingType"];
|
|
5993
|
+
this.isActive = _data["isActive"];
|
|
5994
|
+
if (Array.isArray(_data["listings"])) {
|
|
5995
|
+
this.listings = [];
|
|
5996
|
+
for (let item of _data["listings"])
|
|
5997
|
+
this.listings.push(Listing.fromJS(item));
|
|
5998
|
+
}
|
|
5999
|
+
if (Array.isArray(_data["milestones"])) {
|
|
6000
|
+
this.milestones = [];
|
|
6001
|
+
for (let item of _data["milestones"])
|
|
6002
|
+
this.milestones.push(Milestone.fromJS(item));
|
|
6003
|
+
}
|
|
5559
6004
|
if (Array.isArray(_data["news"])) {
|
|
5560
6005
|
this.news = [];
|
|
5561
6006
|
for (let item of _data["news"])
|
|
@@ -5571,11 +6016,6 @@ export class BulkPreIPOCompany {
|
|
|
5571
6016
|
for (let item of _data["fundingRounds"])
|
|
5572
6017
|
this.fundingRounds.push(PreIPOCompanyFundingRound.fromJS(item));
|
|
5573
6018
|
}
|
|
5574
|
-
if (Array.isArray(_data["npmFundingRounds"])) {
|
|
5575
|
-
this.npmFundingRounds = [];
|
|
5576
|
-
for (let item of _data["npmFundingRounds"])
|
|
5577
|
-
this.npmFundingRounds.push(NpmFundingRound.fromJS(item));
|
|
5578
|
-
}
|
|
5579
6019
|
if (Array.isArray(_data["investments"])) {
|
|
5580
6020
|
this.investments = [];
|
|
5581
6021
|
for (let item of _data["investments"])
|
|
@@ -5584,7 +6024,7 @@ export class BulkPreIPOCompany {
|
|
|
5584
6024
|
if (Array.isArray(_data["spvs"])) {
|
|
5585
6025
|
this.spvs = [];
|
|
5586
6026
|
for (let item of _data["spvs"])
|
|
5587
|
-
this.spvs.push(
|
|
6027
|
+
this.spvs.push(BulkPreIPOCompanySPV.fromJS(item));
|
|
5588
6028
|
}
|
|
5589
6029
|
}
|
|
5590
6030
|
}
|
|
@@ -5640,6 +6080,18 @@ export class BulkPreIPOCompany {
|
|
|
5640
6080
|
data["referencePrice"] = this.referencePrice;
|
|
5641
6081
|
data["referencePriceDate"] = this.referencePriceDate ? this.referencePriceDate.toISOString() : undefined;
|
|
5642
6082
|
data["symbol"] = this.symbol;
|
|
6083
|
+
data["listingType"] = this.listingType;
|
|
6084
|
+
data["isActive"] = this.isActive;
|
|
6085
|
+
if (Array.isArray(this.listings)) {
|
|
6086
|
+
data["listings"] = [];
|
|
6087
|
+
for (let item of this.listings)
|
|
6088
|
+
data["listings"].push(item.toJSON());
|
|
6089
|
+
}
|
|
6090
|
+
if (Array.isArray(this.milestones)) {
|
|
6091
|
+
data["milestones"] = [];
|
|
6092
|
+
for (let item of this.milestones)
|
|
6093
|
+
data["milestones"].push(item.toJSON());
|
|
6094
|
+
}
|
|
5643
6095
|
if (Array.isArray(this.news)) {
|
|
5644
6096
|
data["news"] = [];
|
|
5645
6097
|
for (let item of this.news)
|
|
@@ -5655,11 +6107,6 @@ export class BulkPreIPOCompany {
|
|
|
5655
6107
|
for (let item of this.fundingRounds)
|
|
5656
6108
|
data["fundingRounds"].push(item.toJSON());
|
|
5657
6109
|
}
|
|
5658
|
-
if (Array.isArray(this.npmFundingRounds)) {
|
|
5659
|
-
data["npmFundingRounds"] = [];
|
|
5660
|
-
for (let item of this.npmFundingRounds)
|
|
5661
|
-
data["npmFundingRounds"].push(item.toJSON());
|
|
5662
|
-
}
|
|
5663
6110
|
if (Array.isArray(this.investments)) {
|
|
5664
6111
|
data["investments"] = [];
|
|
5665
6112
|
for (let item of this.investments)
|
|
@@ -5709,6 +6156,142 @@ export class BulkPreIPOCompanyApiResponse {
|
|
|
5709
6156
|
return data;
|
|
5710
6157
|
}
|
|
5711
6158
|
}
|
|
6159
|
+
export class BulkPreIPOCompanySPV {
|
|
6160
|
+
constructor(data) {
|
|
6161
|
+
if (data) {
|
|
6162
|
+
for (var property in data) {
|
|
6163
|
+
if (data.hasOwnProperty(property))
|
|
6164
|
+
this[property] = data[property];
|
|
6165
|
+
}
|
|
6166
|
+
}
|
|
6167
|
+
}
|
|
6168
|
+
init(_data) {
|
|
6169
|
+
if (_data) {
|
|
6170
|
+
this.id = _data["id"];
|
|
6171
|
+
this.preIPOCompanyInvestmentId = _data["preIPOCompanyInvestmentId"];
|
|
6172
|
+
this.preIPOCompanyId = _data["preIPOCompanyId"];
|
|
6173
|
+
this.totalDollarAllocation = _data["totalDollarAllocation"];
|
|
6174
|
+
this.minCommitmentAmount = _data["minCommitmentAmount"];
|
|
6175
|
+
this.name = _data["name"];
|
|
6176
|
+
this.valuation = _data["valuation"];
|
|
6177
|
+
this.synopsis = _data["synopsis"];
|
|
6178
|
+
this.description = _data["description"];
|
|
6179
|
+
if (Array.isArray(_data["notableInvestors"])) {
|
|
6180
|
+
this.notableInvestors = [];
|
|
6181
|
+
for (let item of _data["notableInvestors"])
|
|
6182
|
+
this.notableInvestors.push(item);
|
|
6183
|
+
}
|
|
6184
|
+
this.masterLLCName = _data["masterLLCName"];
|
|
6185
|
+
this.managementFee = _data["managementFee"];
|
|
6186
|
+
this.managementFeeYearsPayable = _data["managementFeeYearsPayable"];
|
|
6187
|
+
this.fundingDeadline = _data["fundingDeadline"] ? new Date(_data["fundingDeadline"].toString()) : undefined;
|
|
6188
|
+
if (Array.isArray(_data["exemptionsClaimed"])) {
|
|
6189
|
+
this.exemptionsClaimed = [];
|
|
6190
|
+
for (let item of _data["exemptionsClaimed"])
|
|
6191
|
+
this.exemptionsClaimed.push(item);
|
|
6192
|
+
}
|
|
6193
|
+
this.monarkStage = _data["monarkStage"];
|
|
6194
|
+
this.cusip = _data["cusip"];
|
|
6195
|
+
this.tradingSymbol = _data["tradingSymbol"];
|
|
6196
|
+
this.closeDate = _data["closeDate"] ? new Date(_data["closeDate"].toString()) : undefined;
|
|
6197
|
+
this.spvCustodian = _data["spvCustodian"];
|
|
6198
|
+
this.totalShareAllocation = _data["totalShareAllocation"];
|
|
6199
|
+
this.totalNumberOfSeats = _data["totalNumberOfSeats"];
|
|
6200
|
+
this.numberOfSeatsRemaining = _data["numberOfSeatsRemaining"];
|
|
6201
|
+
this.remainingDollarAllocation = _data["remainingDollarAllocation"];
|
|
6202
|
+
this.remainingShareAllocation = _data["remainingShareAllocation"];
|
|
6203
|
+
this.preFundedInventory = _data["preFundedInventory"];
|
|
6204
|
+
this.investorPricePerShare = _data["investorPricePerShare"];
|
|
6205
|
+
this.investorFeePerShare = _data["investorFeePerShare"];
|
|
6206
|
+
this.allInPricePerShare = _data["allInPricePerShare"];
|
|
6207
|
+
if (Array.isArray(_data["documents"])) {
|
|
6208
|
+
this.documents = [];
|
|
6209
|
+
for (let item of _data["documents"])
|
|
6210
|
+
this.documents.push(Document.fromJS(item));
|
|
6211
|
+
}
|
|
6212
|
+
this.spvAccountID = _data["spvAccountID"];
|
|
6213
|
+
this.preIPOCompanyName = _data["preIPOCompanyName"];
|
|
6214
|
+
this.manager = _data["manager"] ? Partner.fromJS(_data["manager"]) : undefined;
|
|
6215
|
+
if (Array.isArray(_data["coManagers"])) {
|
|
6216
|
+
this.coManagers = [];
|
|
6217
|
+
for (let item of _data["coManagers"])
|
|
6218
|
+
this.coManagers.push(Partner.fromJS(item));
|
|
6219
|
+
}
|
|
6220
|
+
this.carry = _data["carry"];
|
|
6221
|
+
if (Array.isArray(_data["allowedFinancialInstitutions"])) {
|
|
6222
|
+
this.allowedFinancialInstitutions = [];
|
|
6223
|
+
for (let item of _data["allowedFinancialInstitutions"])
|
|
6224
|
+
this.allowedFinancialInstitutions.push(item);
|
|
6225
|
+
}
|
|
6226
|
+
}
|
|
6227
|
+
}
|
|
6228
|
+
static fromJS(data) {
|
|
6229
|
+
data = typeof data === 'object' ? data : {};
|
|
6230
|
+
let result = new BulkPreIPOCompanySPV();
|
|
6231
|
+
result.init(data);
|
|
6232
|
+
return result;
|
|
6233
|
+
}
|
|
6234
|
+
toJSON(data) {
|
|
6235
|
+
data = typeof data === 'object' ? data : {};
|
|
6236
|
+
data["id"] = this.id;
|
|
6237
|
+
data["preIPOCompanyInvestmentId"] = this.preIPOCompanyInvestmentId;
|
|
6238
|
+
data["preIPOCompanyId"] = this.preIPOCompanyId;
|
|
6239
|
+
data["totalDollarAllocation"] = this.totalDollarAllocation;
|
|
6240
|
+
data["minCommitmentAmount"] = this.minCommitmentAmount;
|
|
6241
|
+
data["name"] = this.name;
|
|
6242
|
+
data["valuation"] = this.valuation;
|
|
6243
|
+
data["synopsis"] = this.synopsis;
|
|
6244
|
+
data["description"] = this.description;
|
|
6245
|
+
if (Array.isArray(this.notableInvestors)) {
|
|
6246
|
+
data["notableInvestors"] = [];
|
|
6247
|
+
for (let item of this.notableInvestors)
|
|
6248
|
+
data["notableInvestors"].push(item);
|
|
6249
|
+
}
|
|
6250
|
+
data["masterLLCName"] = this.masterLLCName;
|
|
6251
|
+
data["managementFee"] = this.managementFee;
|
|
6252
|
+
data["managementFeeYearsPayable"] = this.managementFeeYearsPayable;
|
|
6253
|
+
data["fundingDeadline"] = this.fundingDeadline ? formatDate(this.fundingDeadline) : undefined;
|
|
6254
|
+
if (Array.isArray(this.exemptionsClaimed)) {
|
|
6255
|
+
data["exemptionsClaimed"] = [];
|
|
6256
|
+
for (let item of this.exemptionsClaimed)
|
|
6257
|
+
data["exemptionsClaimed"].push(item);
|
|
6258
|
+
}
|
|
6259
|
+
data["monarkStage"] = this.monarkStage;
|
|
6260
|
+
data["cusip"] = this.cusip;
|
|
6261
|
+
data["tradingSymbol"] = this.tradingSymbol;
|
|
6262
|
+
data["closeDate"] = this.closeDate ? this.closeDate.toISOString() : undefined;
|
|
6263
|
+
data["spvCustodian"] = this.spvCustodian;
|
|
6264
|
+
data["totalShareAllocation"] = this.totalShareAllocation;
|
|
6265
|
+
data["totalNumberOfSeats"] = this.totalNumberOfSeats;
|
|
6266
|
+
data["numberOfSeatsRemaining"] = this.numberOfSeatsRemaining;
|
|
6267
|
+
data["remainingDollarAllocation"] = this.remainingDollarAllocation;
|
|
6268
|
+
data["remainingShareAllocation"] = this.remainingShareAllocation;
|
|
6269
|
+
data["preFundedInventory"] = this.preFundedInventory;
|
|
6270
|
+
data["investorPricePerShare"] = this.investorPricePerShare;
|
|
6271
|
+
data["investorFeePerShare"] = this.investorFeePerShare;
|
|
6272
|
+
data["allInPricePerShare"] = this.allInPricePerShare;
|
|
6273
|
+
if (Array.isArray(this.documents)) {
|
|
6274
|
+
data["documents"] = [];
|
|
6275
|
+
for (let item of this.documents)
|
|
6276
|
+
data["documents"].push(item.toJSON());
|
|
6277
|
+
}
|
|
6278
|
+
data["spvAccountID"] = this.spvAccountID;
|
|
6279
|
+
data["preIPOCompanyName"] = this.preIPOCompanyName;
|
|
6280
|
+
data["manager"] = this.manager ? this.manager.toJSON() : undefined;
|
|
6281
|
+
if (Array.isArray(this.coManagers)) {
|
|
6282
|
+
data["coManagers"] = [];
|
|
6283
|
+
for (let item of this.coManagers)
|
|
6284
|
+
data["coManagers"].push(item.toJSON());
|
|
6285
|
+
}
|
|
6286
|
+
data["carry"] = this.carry;
|
|
6287
|
+
if (Array.isArray(this.allowedFinancialInstitutions)) {
|
|
6288
|
+
data["allowedFinancialInstitutions"] = [];
|
|
6289
|
+
for (let item of this.allowedFinancialInstitutions)
|
|
6290
|
+
data["allowedFinancialInstitutions"].push(item);
|
|
6291
|
+
}
|
|
6292
|
+
return data;
|
|
6293
|
+
}
|
|
6294
|
+
}
|
|
5712
6295
|
export class Citation {
|
|
5713
6296
|
constructor(data) {
|
|
5714
6297
|
if (data) {
|
|
@@ -7085,20 +7668,92 @@ export class LayeredSPV {
|
|
|
7085
7668
|
}
|
|
7086
7669
|
static fromJS(data) {
|
|
7087
7670
|
data = typeof data === 'object' ? data : {};
|
|
7088
|
-
let result = new LayeredSPV();
|
|
7671
|
+
let result = new LayeredSPV();
|
|
7672
|
+
result.init(data);
|
|
7673
|
+
return result;
|
|
7674
|
+
}
|
|
7675
|
+
toJSON(data) {
|
|
7676
|
+
data = typeof data === 'object' ? data : {};
|
|
7677
|
+
data["managementFee"] = this.managementFee;
|
|
7678
|
+
data["managementFeeFrequency"] = this.managementFeeFrequency;
|
|
7679
|
+
data["carriedInterest"] = this.carriedInterest;
|
|
7680
|
+
data["gpName"] = this.gpName;
|
|
7681
|
+
data["fundStructure"] = this.fundStructure;
|
|
7682
|
+
data["spvOutstandingShareCount"] = this.spvOutstandingShareCount;
|
|
7683
|
+
data["lpStakeShareCount"] = this.lpStakeShareCount;
|
|
7684
|
+
data["lpStakePercentage"] = this.lpStakePercentage;
|
|
7685
|
+
return data;
|
|
7686
|
+
}
|
|
7687
|
+
}
|
|
7688
|
+
/** Represents a public listing on a stock exchange. */
|
|
7689
|
+
export class Listing {
|
|
7690
|
+
constructor(data) {
|
|
7691
|
+
if (data) {
|
|
7692
|
+
for (var property in data) {
|
|
7693
|
+
if (data.hasOwnProperty(property))
|
|
7694
|
+
this[property] = data[property];
|
|
7695
|
+
}
|
|
7696
|
+
}
|
|
7697
|
+
}
|
|
7698
|
+
init(_data) {
|
|
7699
|
+
if (_data) {
|
|
7700
|
+
this.id = _data["id"];
|
|
7701
|
+
this.type = _data["type"];
|
|
7702
|
+
this.venue = _data["venue"];
|
|
7703
|
+
this.ticker = _data["ticker"];
|
|
7704
|
+
this.listedAt = _data["listedAt"] ? new Date(_data["listedAt"].toString()) : undefined;
|
|
7705
|
+
this.delistedAt = _data["delistedAt"] ? new Date(_data["delistedAt"].toString()) : undefined;
|
|
7706
|
+
}
|
|
7707
|
+
}
|
|
7708
|
+
static fromJS(data) {
|
|
7709
|
+
data = typeof data === 'object' ? data : {};
|
|
7710
|
+
let result = new Listing();
|
|
7711
|
+
result.init(data);
|
|
7712
|
+
return result;
|
|
7713
|
+
}
|
|
7714
|
+
toJSON(data) {
|
|
7715
|
+
data = typeof data === 'object' ? data : {};
|
|
7716
|
+
data["id"] = this.id;
|
|
7717
|
+
data["type"] = this.type;
|
|
7718
|
+
data["venue"] = this.venue;
|
|
7719
|
+
data["ticker"] = this.ticker;
|
|
7720
|
+
data["listedAt"] = this.listedAt ? formatDate(this.listedAt) : undefined;
|
|
7721
|
+
data["delistedAt"] = this.delistedAt ? formatDate(this.delistedAt) : undefined;
|
|
7722
|
+
return data;
|
|
7723
|
+
}
|
|
7724
|
+
}
|
|
7725
|
+
/** Represents a significant event or milestone in the company’s lifecycle. */
|
|
7726
|
+
export class Milestone {
|
|
7727
|
+
constructor(data) {
|
|
7728
|
+
if (data) {
|
|
7729
|
+
for (var property in data) {
|
|
7730
|
+
if (data.hasOwnProperty(property))
|
|
7731
|
+
this[property] = data[property];
|
|
7732
|
+
}
|
|
7733
|
+
}
|
|
7734
|
+
}
|
|
7735
|
+
init(_data) {
|
|
7736
|
+
if (_data) {
|
|
7737
|
+
this.id = _data["id"];
|
|
7738
|
+
this.type = _data["type"];
|
|
7739
|
+
this.date = _data["date"] ? new Date(_data["date"].toString()) : undefined;
|
|
7740
|
+
this.label = _data["label"];
|
|
7741
|
+
this.description = _data["description"];
|
|
7742
|
+
}
|
|
7743
|
+
}
|
|
7744
|
+
static fromJS(data) {
|
|
7745
|
+
data = typeof data === 'object' ? data : {};
|
|
7746
|
+
let result = new Milestone();
|
|
7089
7747
|
result.init(data);
|
|
7090
7748
|
return result;
|
|
7091
7749
|
}
|
|
7092
7750
|
toJSON(data) {
|
|
7093
7751
|
data = typeof data === 'object' ? data : {};
|
|
7094
|
-
data["
|
|
7095
|
-
data["
|
|
7096
|
-
data["
|
|
7097
|
-
data["
|
|
7098
|
-
data["
|
|
7099
|
-
data["spvOutstandingShareCount"] = this.spvOutstandingShareCount;
|
|
7100
|
-
data["lpStakeShareCount"] = this.lpStakeShareCount;
|
|
7101
|
-
data["lpStakePercentage"] = this.lpStakePercentage;
|
|
7752
|
+
data["id"] = this.id;
|
|
7753
|
+
data["type"] = this.type;
|
|
7754
|
+
data["date"] = this.date ? formatDate(this.date) : undefined;
|
|
7755
|
+
data["label"] = this.label;
|
|
7756
|
+
data["description"] = this.description;
|
|
7102
7757
|
return data;
|
|
7103
7758
|
}
|
|
7104
7759
|
}
|
|
@@ -7970,6 +8625,365 @@ export class Partner {
|
|
|
7970
8625
|
return data;
|
|
7971
8626
|
}
|
|
7972
8627
|
}
|
|
8628
|
+
/** Read model representing a PMI feed composite derived pricing record returned by the API. */
|
|
8629
|
+
export class PmiFeedPricing {
|
|
8630
|
+
constructor(data) {
|
|
8631
|
+
if (data) {
|
|
8632
|
+
for (var property in data) {
|
|
8633
|
+
if (data.hasOwnProperty(property))
|
|
8634
|
+
this[property] = data[property];
|
|
8635
|
+
}
|
|
8636
|
+
}
|
|
8637
|
+
}
|
|
8638
|
+
init(_data) {
|
|
8639
|
+
if (_data) {
|
|
8640
|
+
this.id = _data["id"];
|
|
8641
|
+
this.preIPOCompanyId = _data["preIPOCompanyId"];
|
|
8642
|
+
this.pmiUpdatedAt = _data["pmiUpdatedAt"] ? new Date(_data["pmiUpdatedAt"].toString()) : undefined;
|
|
8643
|
+
this.pmiId = _data["pmiId"];
|
|
8644
|
+
this.displayName = _data["displayName"];
|
|
8645
|
+
this.date = _data["date"] ? new Date(_data["date"].toString()) : undefined;
|
|
8646
|
+
this.price = _data["price"];
|
|
8647
|
+
this.derivedPrice = _data["derivedPrice"];
|
|
8648
|
+
this.combinedPrice = _data["combinedPrice"];
|
|
8649
|
+
this.unadjustedPrice = _data["unadjustedPrice"];
|
|
8650
|
+
this.unadjustedDerivedPrice = _data["unadjustedDerivedPrice"];
|
|
8651
|
+
this.unadjustedCombinedPrice = _data["unadjustedCombinedPrice"];
|
|
8652
|
+
this.depth90Day = _data["depth90Day"];
|
|
8653
|
+
this.stdev90Day = _data["stdev90Day"];
|
|
8654
|
+
this.stdevRecent5 = _data["stdevRecent5"];
|
|
8655
|
+
this.volatility90Day = _data["volatility90Day"];
|
|
8656
|
+
this.underlyingVolatility90Day = _data["underlyingVolatility90Day"];
|
|
8657
|
+
this.bidVolume = _data["bidVolume"];
|
|
8658
|
+
this.numberOfBids = _data["numberOfBids"];
|
|
8659
|
+
this.askVolume = _data["askVolume"];
|
|
8660
|
+
this.numberOfAsks = _data["numberOfAsks"];
|
|
8661
|
+
this.tradeVolume = _data["tradeVolume"];
|
|
8662
|
+
this.numberOfTrades = _data["numberOfTrades"];
|
|
8663
|
+
this.currency = _data["currency"];
|
|
8664
|
+
}
|
|
8665
|
+
}
|
|
8666
|
+
static fromJS(data) {
|
|
8667
|
+
data = typeof data === 'object' ? data : {};
|
|
8668
|
+
let result = new PmiFeedPricing();
|
|
8669
|
+
result.init(data);
|
|
8670
|
+
return result;
|
|
8671
|
+
}
|
|
8672
|
+
toJSON(data) {
|
|
8673
|
+
data = typeof data === 'object' ? data : {};
|
|
8674
|
+
data["id"] = this.id;
|
|
8675
|
+
data["preIPOCompanyId"] = this.preIPOCompanyId;
|
|
8676
|
+
data["pmiUpdatedAt"] = this.pmiUpdatedAt ? this.pmiUpdatedAt.toISOString() : undefined;
|
|
8677
|
+
data["pmiId"] = this.pmiId;
|
|
8678
|
+
data["displayName"] = this.displayName;
|
|
8679
|
+
data["date"] = this.date ? formatDate(this.date) : undefined;
|
|
8680
|
+
data["price"] = this.price;
|
|
8681
|
+
data["derivedPrice"] = this.derivedPrice;
|
|
8682
|
+
data["combinedPrice"] = this.combinedPrice;
|
|
8683
|
+
data["unadjustedPrice"] = this.unadjustedPrice;
|
|
8684
|
+
data["unadjustedDerivedPrice"] = this.unadjustedDerivedPrice;
|
|
8685
|
+
data["unadjustedCombinedPrice"] = this.unadjustedCombinedPrice;
|
|
8686
|
+
data["depth90Day"] = this.depth90Day;
|
|
8687
|
+
data["stdev90Day"] = this.stdev90Day;
|
|
8688
|
+
data["stdevRecent5"] = this.stdevRecent5;
|
|
8689
|
+
data["volatility90Day"] = this.volatility90Day;
|
|
8690
|
+
data["underlyingVolatility90Day"] = this.underlyingVolatility90Day;
|
|
8691
|
+
data["bidVolume"] = this.bidVolume;
|
|
8692
|
+
data["numberOfBids"] = this.numberOfBids;
|
|
8693
|
+
data["askVolume"] = this.askVolume;
|
|
8694
|
+
data["numberOfAsks"] = this.numberOfAsks;
|
|
8695
|
+
data["tradeVolume"] = this.tradeVolume;
|
|
8696
|
+
data["numberOfTrades"] = this.numberOfTrades;
|
|
8697
|
+
data["currency"] = this.currency;
|
|
8698
|
+
return data;
|
|
8699
|
+
}
|
|
8700
|
+
}
|
|
8701
|
+
export class PmiFeedPricingApiResponse {
|
|
8702
|
+
constructor(data) {
|
|
8703
|
+
if (data) {
|
|
8704
|
+
for (var property in data) {
|
|
8705
|
+
if (data.hasOwnProperty(property))
|
|
8706
|
+
this[property] = data[property];
|
|
8707
|
+
}
|
|
8708
|
+
}
|
|
8709
|
+
}
|
|
8710
|
+
init(_data) {
|
|
8711
|
+
if (_data) {
|
|
8712
|
+
if (Array.isArray(_data["items"])) {
|
|
8713
|
+
this.items = [];
|
|
8714
|
+
for (let item of _data["items"])
|
|
8715
|
+
this.items.push(PmiFeedPricing.fromJS(item));
|
|
8716
|
+
}
|
|
8717
|
+
this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
|
|
8718
|
+
}
|
|
8719
|
+
}
|
|
8720
|
+
static fromJS(data) {
|
|
8721
|
+
data = typeof data === 'object' ? data : {};
|
|
8722
|
+
let result = new PmiFeedPricingApiResponse();
|
|
8723
|
+
result.init(data);
|
|
8724
|
+
return result;
|
|
8725
|
+
}
|
|
8726
|
+
toJSON(data) {
|
|
8727
|
+
data = typeof data === 'object' ? data : {};
|
|
8728
|
+
if (Array.isArray(this.items)) {
|
|
8729
|
+
data["items"] = [];
|
|
8730
|
+
for (let item of this.items)
|
|
8731
|
+
data["items"].push(item.toJSON());
|
|
8732
|
+
}
|
|
8733
|
+
data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
|
|
8734
|
+
return data;
|
|
8735
|
+
}
|
|
8736
|
+
}
|
|
8737
|
+
/** Read model representing a PMI issuer record returned by the API. */
|
|
8738
|
+
export class PmiIssuer {
|
|
8739
|
+
constructor(data) {
|
|
8740
|
+
if (data) {
|
|
8741
|
+
for (var property in data) {
|
|
8742
|
+
if (data.hasOwnProperty(property))
|
|
8743
|
+
this[property] = data[property];
|
|
8744
|
+
}
|
|
8745
|
+
}
|
|
8746
|
+
}
|
|
8747
|
+
init(_data) {
|
|
8748
|
+
if (_data) {
|
|
8749
|
+
this.id = _data["id"];
|
|
8750
|
+
this.preIPOCompanyId = _data["preIPOCompanyId"];
|
|
8751
|
+
this.pmiUpdatedAt = _data["pmiUpdatedAt"] ? new Date(_data["pmiUpdatedAt"].toString()) : undefined;
|
|
8752
|
+
this.infoId = _data["infoId"];
|
|
8753
|
+
this.infoDisplayName = _data["infoDisplayName"];
|
|
8754
|
+
this.infoAksNamesJson = _data["infoAksNamesJson"];
|
|
8755
|
+
this.infoDescription = _data["infoDescription"];
|
|
8756
|
+
this.infoUrl = _data["infoUrl"];
|
|
8757
|
+
this.infoHqAddress = _data["infoHqAddress"];
|
|
8758
|
+
this.infoHqCountry = _data["infoHqCountry"];
|
|
8759
|
+
this.infoIncorporationDate = _data["infoIncorporationDate"];
|
|
8760
|
+
this.infoNumberOfEmployees = _data["infoNumberOfEmployees"];
|
|
8761
|
+
this.infoSplitsJson = _data["infoSplitsJson"];
|
|
8762
|
+
this.infoNotPrivateMarketDatesJson = _data["infoNotPrivateMarketDatesJson"];
|
|
8763
|
+
this.infoSectorsJson = _data["infoSectorsJson"];
|
|
8764
|
+
this.infoCurrency = _data["infoCurrency"];
|
|
8765
|
+
this.infoLegalName = _data["infoLegalName"];
|
|
8766
|
+
this.infoCeosJson = _data["infoCeosJson"];
|
|
8767
|
+
this.pricePrice = _data["pricePrice"];
|
|
8768
|
+
this.priceIsDerived = _data["priceIsDerived"];
|
|
8769
|
+
this.priceCurrency = _data["priceCurrency"];
|
|
8770
|
+
this.priceYtd = _data["priceYtd"];
|
|
8771
|
+
this.priceYtdRoi = _data["priceYtdRoi"];
|
|
8772
|
+
this.volumeThreeMonthsBid = _data["volumeThreeMonthsBid"];
|
|
8773
|
+
this.volumeThreeMonthsAsk = _data["volumeThreeMonthsAsk"];
|
|
8774
|
+
this.volumeSixMonthsBid = _data["volumeSixMonthsBid"];
|
|
8775
|
+
this.volumeSixMonthsAsk = _data["volumeSixMonthsAsk"];
|
|
8776
|
+
this.volumeYtdBid = _data["volumeYtdBid"];
|
|
8777
|
+
this.volumeYtdAsk = _data["volumeYtdAsk"];
|
|
8778
|
+
this.volumeYearBid = _data["volumeYearBid"];
|
|
8779
|
+
this.volumeYearAsk = _data["volumeYearAsk"];
|
|
8780
|
+
this.volumeTwoYearBid = _data["volumeTwoYearBid"];
|
|
8781
|
+
this.volumeTwoYearAsk = _data["volumeTwoYearAsk"];
|
|
8782
|
+
this.valuationCurrentImpliedFiling = _data["valuationCurrentImpliedFiling"];
|
|
8783
|
+
this.valuationCurrentImpliedNews = _data["valuationCurrentImpliedNews"];
|
|
8784
|
+
this.valuationCurrentImpliedDate = _data["valuationCurrentImpliedDate"] ? new Date(_data["valuationCurrentImpliedDate"].toString()) : undefined;
|
|
8785
|
+
this.valuationLastRoundFiling = _data["valuationLastRoundFiling"];
|
|
8786
|
+
this.valuationLastRoundNews = _data["valuationLastRoundNews"];
|
|
8787
|
+
this.valuationLastRoundDate = _data["valuationLastRoundDate"] ? new Date(_data["valuationLastRoundDate"].toString()) : undefined;
|
|
8788
|
+
this.valuationShareCountFiling = _data["valuationShareCountFiling"];
|
|
8789
|
+
this.valuationShareCountNews = _data["valuationShareCountNews"];
|
|
8790
|
+
this.valuationShareCountDate = _data["valuationShareCountDate"] ? new Date(_data["valuationShareCountDate"].toString()) : undefined;
|
|
8791
|
+
this.valuationLastRoundShareClass = _data["valuationLastRoundShareClass"];
|
|
8792
|
+
this.valuationLastRoundPrice = _data["valuationLastRoundPrice"];
|
|
8793
|
+
this.valuationCurrentImpliedChangeSinceLastRound = _data["valuationCurrentImpliedChangeSinceLastRound"];
|
|
8794
|
+
this.valuationLatestRevenue = _data["valuationLatestRevenue"];
|
|
8795
|
+
this.valuationLatestRevenuePercentChange = _data["valuationLatestRevenuePercentChange"];
|
|
8796
|
+
this.valuationLatestRevenueYear = _data["valuationLatestRevenueYear"];
|
|
8797
|
+
this.valuationLatestRevenueCurrency = _data["valuationLatestRevenueCurrency"];
|
|
8798
|
+
this.valuationLatestRevenueSource = _data["valuationLatestRevenueSource"];
|
|
8799
|
+
}
|
|
8800
|
+
}
|
|
8801
|
+
static fromJS(data) {
|
|
8802
|
+
data = typeof data === 'object' ? data : {};
|
|
8803
|
+
let result = new PmiIssuer();
|
|
8804
|
+
result.init(data);
|
|
8805
|
+
return result;
|
|
8806
|
+
}
|
|
8807
|
+
toJSON(data) {
|
|
8808
|
+
data = typeof data === 'object' ? data : {};
|
|
8809
|
+
data["id"] = this.id;
|
|
8810
|
+
data["preIPOCompanyId"] = this.preIPOCompanyId;
|
|
8811
|
+
data["pmiUpdatedAt"] = this.pmiUpdatedAt ? this.pmiUpdatedAt.toISOString() : undefined;
|
|
8812
|
+
data["infoId"] = this.infoId;
|
|
8813
|
+
data["infoDisplayName"] = this.infoDisplayName;
|
|
8814
|
+
data["infoAksNamesJson"] = this.infoAksNamesJson;
|
|
8815
|
+
data["infoDescription"] = this.infoDescription;
|
|
8816
|
+
data["infoUrl"] = this.infoUrl;
|
|
8817
|
+
data["infoHqAddress"] = this.infoHqAddress;
|
|
8818
|
+
data["infoHqCountry"] = this.infoHqCountry;
|
|
8819
|
+
data["infoIncorporationDate"] = this.infoIncorporationDate;
|
|
8820
|
+
data["infoNumberOfEmployees"] = this.infoNumberOfEmployees;
|
|
8821
|
+
data["infoSplitsJson"] = this.infoSplitsJson;
|
|
8822
|
+
data["infoNotPrivateMarketDatesJson"] = this.infoNotPrivateMarketDatesJson;
|
|
8823
|
+
data["infoSectorsJson"] = this.infoSectorsJson;
|
|
8824
|
+
data["infoCurrency"] = this.infoCurrency;
|
|
8825
|
+
data["infoLegalName"] = this.infoLegalName;
|
|
8826
|
+
data["infoCeosJson"] = this.infoCeosJson;
|
|
8827
|
+
data["pricePrice"] = this.pricePrice;
|
|
8828
|
+
data["priceIsDerived"] = this.priceIsDerived;
|
|
8829
|
+
data["priceCurrency"] = this.priceCurrency;
|
|
8830
|
+
data["priceYtd"] = this.priceYtd;
|
|
8831
|
+
data["priceYtdRoi"] = this.priceYtdRoi;
|
|
8832
|
+
data["volumeThreeMonthsBid"] = this.volumeThreeMonthsBid;
|
|
8833
|
+
data["volumeThreeMonthsAsk"] = this.volumeThreeMonthsAsk;
|
|
8834
|
+
data["volumeSixMonthsBid"] = this.volumeSixMonthsBid;
|
|
8835
|
+
data["volumeSixMonthsAsk"] = this.volumeSixMonthsAsk;
|
|
8836
|
+
data["volumeYtdBid"] = this.volumeYtdBid;
|
|
8837
|
+
data["volumeYtdAsk"] = this.volumeYtdAsk;
|
|
8838
|
+
data["volumeYearBid"] = this.volumeYearBid;
|
|
8839
|
+
data["volumeYearAsk"] = this.volumeYearAsk;
|
|
8840
|
+
data["volumeTwoYearBid"] = this.volumeTwoYearBid;
|
|
8841
|
+
data["volumeTwoYearAsk"] = this.volumeTwoYearAsk;
|
|
8842
|
+
data["valuationCurrentImpliedFiling"] = this.valuationCurrentImpliedFiling;
|
|
8843
|
+
data["valuationCurrentImpliedNews"] = this.valuationCurrentImpliedNews;
|
|
8844
|
+
data["valuationCurrentImpliedDate"] = this.valuationCurrentImpliedDate ? formatDate(this.valuationCurrentImpliedDate) : undefined;
|
|
8845
|
+
data["valuationLastRoundFiling"] = this.valuationLastRoundFiling;
|
|
8846
|
+
data["valuationLastRoundNews"] = this.valuationLastRoundNews;
|
|
8847
|
+
data["valuationLastRoundDate"] = this.valuationLastRoundDate ? formatDate(this.valuationLastRoundDate) : undefined;
|
|
8848
|
+
data["valuationShareCountFiling"] = this.valuationShareCountFiling;
|
|
8849
|
+
data["valuationShareCountNews"] = this.valuationShareCountNews;
|
|
8850
|
+
data["valuationShareCountDate"] = this.valuationShareCountDate ? formatDate(this.valuationShareCountDate) : undefined;
|
|
8851
|
+
data["valuationLastRoundShareClass"] = this.valuationLastRoundShareClass;
|
|
8852
|
+
data["valuationLastRoundPrice"] = this.valuationLastRoundPrice;
|
|
8853
|
+
data["valuationCurrentImpliedChangeSinceLastRound"] = this.valuationCurrentImpliedChangeSinceLastRound;
|
|
8854
|
+
data["valuationLatestRevenue"] = this.valuationLatestRevenue;
|
|
8855
|
+
data["valuationLatestRevenuePercentChange"] = this.valuationLatestRevenuePercentChange;
|
|
8856
|
+
data["valuationLatestRevenueYear"] = this.valuationLatestRevenueYear;
|
|
8857
|
+
data["valuationLatestRevenueCurrency"] = this.valuationLatestRevenueCurrency;
|
|
8858
|
+
data["valuationLatestRevenueSource"] = this.valuationLatestRevenueSource;
|
|
8859
|
+
return data;
|
|
8860
|
+
}
|
|
8861
|
+
}
|
|
8862
|
+
export class PmiIssuerApiResponse {
|
|
8863
|
+
constructor(data) {
|
|
8864
|
+
if (data) {
|
|
8865
|
+
for (var property in data) {
|
|
8866
|
+
if (data.hasOwnProperty(property))
|
|
8867
|
+
this[property] = data[property];
|
|
8868
|
+
}
|
|
8869
|
+
}
|
|
8870
|
+
}
|
|
8871
|
+
init(_data) {
|
|
8872
|
+
if (_data) {
|
|
8873
|
+
if (Array.isArray(_data["items"])) {
|
|
8874
|
+
this.items = [];
|
|
8875
|
+
for (let item of _data["items"])
|
|
8876
|
+
this.items.push(PmiIssuer.fromJS(item));
|
|
8877
|
+
}
|
|
8878
|
+
this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
|
|
8879
|
+
}
|
|
8880
|
+
}
|
|
8881
|
+
static fromJS(data) {
|
|
8882
|
+
data = typeof data === 'object' ? data : {};
|
|
8883
|
+
let result = new PmiIssuerApiResponse();
|
|
8884
|
+
result.init(data);
|
|
8885
|
+
return result;
|
|
8886
|
+
}
|
|
8887
|
+
toJSON(data) {
|
|
8888
|
+
data = typeof data === 'object' ? data : {};
|
|
8889
|
+
if (Array.isArray(this.items)) {
|
|
8890
|
+
data["items"] = [];
|
|
8891
|
+
for (let item of this.items)
|
|
8892
|
+
data["items"].push(item.toJSON());
|
|
8893
|
+
}
|
|
8894
|
+
data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
|
|
8895
|
+
return data;
|
|
8896
|
+
}
|
|
8897
|
+
}
|
|
8898
|
+
/** Read model representing a PMI valuation record returned by the API. */
|
|
8899
|
+
export class PmiValuation {
|
|
8900
|
+
constructor(data) {
|
|
8901
|
+
if (data) {
|
|
8902
|
+
for (var property in data) {
|
|
8903
|
+
if (data.hasOwnProperty(property))
|
|
8904
|
+
this[property] = data[property];
|
|
8905
|
+
}
|
|
8906
|
+
}
|
|
8907
|
+
}
|
|
8908
|
+
init(_data) {
|
|
8909
|
+
if (_data) {
|
|
8910
|
+
this.id = _data["id"];
|
|
8911
|
+
this.preIPOCompanyId = _data["preIPOCompanyId"];
|
|
8912
|
+
this.pmiUpdatedAt = _data["pmiUpdatedAt"] ? new Date(_data["pmiUpdatedAt"].toString()) : undefined;
|
|
8913
|
+
this.pmiId = _data["pmiId"];
|
|
8914
|
+
this.displayName = _data["displayName"];
|
|
8915
|
+
this.date = _data["date"] ? new Date(_data["date"].toString()) : undefined;
|
|
8916
|
+
this.valuationUsd = _data["valuationUsd"];
|
|
8917
|
+
this.currencyMultiplier = _data["currencyMultiplier"];
|
|
8918
|
+
this.description = _data["description"];
|
|
8919
|
+
this.splitAdjustedPriceUsd = _data["splitAdjustedPriceUsd"];
|
|
8920
|
+
this.splitAdjustedShareCount = _data["splitAdjustedShareCount"];
|
|
8921
|
+
this.unadjustedPriceUsd = _data["unadjustedPriceUsd"];
|
|
8922
|
+
this.unadjustedShareCount = _data["unadjustedShareCount"];
|
|
8923
|
+
this.splitAtRatio = _data["splitAtRatio"];
|
|
8924
|
+
}
|
|
8925
|
+
}
|
|
8926
|
+
static fromJS(data) {
|
|
8927
|
+
data = typeof data === 'object' ? data : {};
|
|
8928
|
+
let result = new PmiValuation();
|
|
8929
|
+
result.init(data);
|
|
8930
|
+
return result;
|
|
8931
|
+
}
|
|
8932
|
+
toJSON(data) {
|
|
8933
|
+
data = typeof data === 'object' ? data : {};
|
|
8934
|
+
data["id"] = this.id;
|
|
8935
|
+
data["preIPOCompanyId"] = this.preIPOCompanyId;
|
|
8936
|
+
data["pmiUpdatedAt"] = this.pmiUpdatedAt ? this.pmiUpdatedAt.toISOString() : undefined;
|
|
8937
|
+
data["pmiId"] = this.pmiId;
|
|
8938
|
+
data["displayName"] = this.displayName;
|
|
8939
|
+
data["date"] = this.date ? formatDate(this.date) : undefined;
|
|
8940
|
+
data["valuationUsd"] = this.valuationUsd;
|
|
8941
|
+
data["currencyMultiplier"] = this.currencyMultiplier;
|
|
8942
|
+
data["description"] = this.description;
|
|
8943
|
+
data["splitAdjustedPriceUsd"] = this.splitAdjustedPriceUsd;
|
|
8944
|
+
data["splitAdjustedShareCount"] = this.splitAdjustedShareCount;
|
|
8945
|
+
data["unadjustedPriceUsd"] = this.unadjustedPriceUsd;
|
|
8946
|
+
data["unadjustedShareCount"] = this.unadjustedShareCount;
|
|
8947
|
+
data["splitAtRatio"] = this.splitAtRatio;
|
|
8948
|
+
return data;
|
|
8949
|
+
}
|
|
8950
|
+
}
|
|
8951
|
+
export class PmiValuationApiResponse {
|
|
8952
|
+
constructor(data) {
|
|
8953
|
+
if (data) {
|
|
8954
|
+
for (var property in data) {
|
|
8955
|
+
if (data.hasOwnProperty(property))
|
|
8956
|
+
this[property] = data[property];
|
|
8957
|
+
}
|
|
8958
|
+
}
|
|
8959
|
+
}
|
|
8960
|
+
init(_data) {
|
|
8961
|
+
if (_data) {
|
|
8962
|
+
if (Array.isArray(_data["items"])) {
|
|
8963
|
+
this.items = [];
|
|
8964
|
+
for (let item of _data["items"])
|
|
8965
|
+
this.items.push(PmiValuation.fromJS(item));
|
|
8966
|
+
}
|
|
8967
|
+
this.pagination = _data["pagination"] ? Pagination.fromJS(_data["pagination"]) : undefined;
|
|
8968
|
+
}
|
|
8969
|
+
}
|
|
8970
|
+
static fromJS(data) {
|
|
8971
|
+
data = typeof data === 'object' ? data : {};
|
|
8972
|
+
let result = new PmiValuationApiResponse();
|
|
8973
|
+
result.init(data);
|
|
8974
|
+
return result;
|
|
8975
|
+
}
|
|
8976
|
+
toJSON(data) {
|
|
8977
|
+
data = typeof data === 'object' ? data : {};
|
|
8978
|
+
if (Array.isArray(this.items)) {
|
|
8979
|
+
data["items"] = [];
|
|
8980
|
+
for (let item of this.items)
|
|
8981
|
+
data["items"].push(item.toJSON());
|
|
8982
|
+
}
|
|
8983
|
+
data["pagination"] = this.pagination ? this.pagination.toJSON() : undefined;
|
|
8984
|
+
return data;
|
|
8985
|
+
}
|
|
8986
|
+
}
|
|
7973
8987
|
/** PreIPOCompany represents the public information we provide for a PreIPOCompany in the Primary Offering. */
|
|
7974
8988
|
export class PreIPOCompany {
|
|
7975
8989
|
constructor(data) {
|
|
@@ -8026,6 +9040,18 @@ export class PreIPOCompany {
|
|
|
8026
9040
|
this.referencePrice = _data["referencePrice"];
|
|
8027
9041
|
this.referencePriceDate = _data["referencePriceDate"] ? new Date(_data["referencePriceDate"].toString()) : undefined;
|
|
8028
9042
|
this.symbol = _data["symbol"];
|
|
9043
|
+
this.listingType = _data["listingType"];
|
|
9044
|
+
this.isActive = _data["isActive"];
|
|
9045
|
+
if (Array.isArray(_data["listings"])) {
|
|
9046
|
+
this.listings = [];
|
|
9047
|
+
for (let item of _data["listings"])
|
|
9048
|
+
this.listings.push(Listing.fromJS(item));
|
|
9049
|
+
}
|
|
9050
|
+
if (Array.isArray(_data["milestones"])) {
|
|
9051
|
+
this.milestones = [];
|
|
9052
|
+
for (let item of _data["milestones"])
|
|
9053
|
+
this.milestones.push(Milestone.fromJS(item));
|
|
9054
|
+
}
|
|
8029
9055
|
}
|
|
8030
9056
|
}
|
|
8031
9057
|
static fromJS(data) {
|
|
@@ -8080,6 +9106,18 @@ export class PreIPOCompany {
|
|
|
8080
9106
|
data["referencePrice"] = this.referencePrice;
|
|
8081
9107
|
data["referencePriceDate"] = this.referencePriceDate ? this.referencePriceDate.toISOString() : undefined;
|
|
8082
9108
|
data["symbol"] = this.symbol;
|
|
9109
|
+
data["listingType"] = this.listingType;
|
|
9110
|
+
data["isActive"] = this.isActive;
|
|
9111
|
+
if (Array.isArray(this.listings)) {
|
|
9112
|
+
data["listings"] = [];
|
|
9113
|
+
for (let item of this.listings)
|
|
9114
|
+
data["listings"].push(item.toJSON());
|
|
9115
|
+
}
|
|
9116
|
+
if (Array.isArray(this.milestones)) {
|
|
9117
|
+
data["milestones"] = [];
|
|
9118
|
+
for (let item of this.milestones)
|
|
9119
|
+
data["milestones"].push(item.toJSON());
|
|
9120
|
+
}
|
|
8083
9121
|
return data;
|
|
8084
9122
|
}
|
|
8085
9123
|
}
|
|
@@ -8567,6 +9605,7 @@ export class PreIPOCompanySPV {
|
|
|
8567
9605
|
for (let item of _data["coManagers"])
|
|
8568
9606
|
this.coManagers.push(Partner.fromJS(item));
|
|
8569
9607
|
}
|
|
9608
|
+
this.carry = _data["carry"];
|
|
8570
9609
|
}
|
|
8571
9610
|
}
|
|
8572
9611
|
static fromJS(data) {
|
|
@@ -8627,6 +9666,7 @@ export class PreIPOCompanySPV {
|
|
|
8627
9666
|
for (let item of this.coManagers)
|
|
8628
9667
|
data["coManagers"].push(item.toJSON());
|
|
8629
9668
|
}
|
|
9669
|
+
data["carry"] = this.carry;
|
|
8630
9670
|
return data;
|
|
8631
9671
|
}
|
|
8632
9672
|
}
|
|
@@ -10055,7 +11095,6 @@ export var Includes;
|
|
|
10055
11095
|
Includes["News"] = "News";
|
|
10056
11096
|
Includes["Research"] = "Research";
|
|
10057
11097
|
Includes["SacraFundingRounds"] = "SacraFundingRounds";
|
|
10058
|
-
Includes["NpmFundingRounds"] = "NpmFundingRounds";
|
|
10059
11098
|
Includes["Investments"] = "Investments";
|
|
10060
11099
|
Includes["Spvs"] = "Spvs";
|
|
10061
11100
|
})(Includes || (Includes = {}));
|
|
@@ -10215,6 +11254,49 @@ export var BulkPreIPOCompanyType;
|
|
|
10215
11254
|
BulkPreIPOCompanyType["FOREIGN_TRUST"] = "FOREIGN_TRUST";
|
|
10216
11255
|
BulkPreIPOCompanyType["OTHER"] = "OTHER";
|
|
10217
11256
|
})(BulkPreIPOCompanyType || (BulkPreIPOCompanyType = {}));
|
|
11257
|
+
export var exemptionsClaimed;
|
|
11258
|
+
(function (exemptionsClaimed) {
|
|
11259
|
+
exemptionsClaimed["RULE_504_B_1_not_i_ii_iii"] = "RULE_504_B_1_not_i_ii_iii";
|
|
11260
|
+
exemptionsClaimed["RULE_504_B_1_i"] = "RULE_504_B_1_i";
|
|
11261
|
+
exemptionsClaimed["RULE_504_B_1_ii"] = "RULE_504_B_1_ii";
|
|
11262
|
+
exemptionsClaimed["RULE_504_B_1_iii"] = "RULE_504_B_1_iii";
|
|
11263
|
+
exemptionsClaimed["RULE_506_b"] = "RULE_506_b";
|
|
11264
|
+
exemptionsClaimed["RULE_506_c"] = "RULE_506_c";
|
|
11265
|
+
exemptionsClaimed["SECURITIES_ACT_SECTION_4_a_5"] = "SECURITIES_ACT_SECTION_4_a_5";
|
|
11266
|
+
exemptionsClaimed["SECURITIES_ACT_SECTION_3_c_1"] = "SECURITIES_ACT_SECTION_3_c_1";
|
|
11267
|
+
exemptionsClaimed["SECURITIES_ACT_SECTION_3_c_2"] = "SECURITIES_ACT_SECTION_3_c_2";
|
|
11268
|
+
exemptionsClaimed["SECURITIES_ACT_SECTION_3_c_3"] = "SECURITIES_ACT_SECTION_3_c_3";
|
|
11269
|
+
exemptionsClaimed["SECURITIES_ACT_SECTION_3_c_4"] = "SECURITIES_ACT_SECTION_3_c_4";
|
|
11270
|
+
exemptionsClaimed["SECURITIES_ACT_SECTION_3_c_5"] = "SECURITIES_ACT_SECTION_3_c_5";
|
|
11271
|
+
exemptionsClaimed["SECURITIES_ACT_SECTION_3_c_6"] = "SECURITIES_ACT_SECTION_3_c_6";
|
|
11272
|
+
exemptionsClaimed["SECURITIES_ACT_SECTION_3_c_7"] = "SECURITIES_ACT_SECTION_3_c_7";
|
|
11273
|
+
exemptionsClaimed["SECURITIES_ACT_SECTION_3_c_9"] = "SECURITIES_ACT_SECTION_3_c_9";
|
|
11274
|
+
exemptionsClaimed["SECURITIES_ACT_SECTION_3_c_10"] = "SECURITIES_ACT_SECTION_3_c_10";
|
|
11275
|
+
exemptionsClaimed["SECURITIES_ACT_SECTION_3_c_11"] = "SECURITIES_ACT_SECTION_3_c_11";
|
|
11276
|
+
exemptionsClaimed["SECURITIES_ACT_SECTION_3_c_12"] = "SECURITIES_ACT_SECTION_3_c_12";
|
|
11277
|
+
exemptionsClaimed["SECURITIES_ACT_SECTION_3_c_13"] = "SECURITIES_ACT_SECTION_3_c_13";
|
|
11278
|
+
exemptionsClaimed["SECURITIES_ACT_SECTION_3_c_14"] = "SECURITIES_ACT_SECTION_3_c_14";
|
|
11279
|
+
exemptionsClaimed["Reg_S"] = "Reg_S";
|
|
11280
|
+
})(exemptionsClaimed || (exemptionsClaimed = {}));
|
|
11281
|
+
export var BulkPreIPOCompanySPVMonarkStage;
|
|
11282
|
+
(function (BulkPreIPOCompanySPVMonarkStage) {
|
|
11283
|
+
BulkPreIPOCompanySPVMonarkStage["DRAFT"] = "DRAFT";
|
|
11284
|
+
BulkPreIPOCompanySPVMonarkStage["WAITING_MONARK_REVIEW"] = "WAITING_MONARK_REVIEW";
|
|
11285
|
+
BulkPreIPOCompanySPVMonarkStage["FUND_ADMIN_REVIEW"] = "FUND_ADMIN_REVIEW";
|
|
11286
|
+
BulkPreIPOCompanySPVMonarkStage["FUND_ADMIN_APPROVED"] = "FUND_ADMIN_APPROVED";
|
|
11287
|
+
BulkPreIPOCompanySPVMonarkStage["PRIMARY_FUNDRAISE"] = "PRIMARY_FUNDRAISE";
|
|
11288
|
+
BulkPreIPOCompanySPVMonarkStage["PRE_CLOSE_REVIEW"] = "PRE_CLOSE_REVIEW";
|
|
11289
|
+
BulkPreIPOCompanySPVMonarkStage["CLOSE_REQUESTED"] = "CLOSE_REQUESTED";
|
|
11290
|
+
BulkPreIPOCompanySPVMonarkStage["CLOSE_IN_PROCESS"] = "CLOSE_IN_PROCESS";
|
|
11291
|
+
BulkPreIPOCompanySPVMonarkStage["FUNDS_SENT_TO_TARGET"] = "FUNDS_SENT_TO_TARGET";
|
|
11292
|
+
BulkPreIPOCompanySPVMonarkStage["CLOSED"] = "CLOSED";
|
|
11293
|
+
BulkPreIPOCompanySPVMonarkStage["REGULATORY_HOLD_PERIOD"] = "REGULATORY_HOLD_PERIOD";
|
|
11294
|
+
BulkPreIPOCompanySPVMonarkStage["ACTIVELY_TRADING"] = "ACTIVELY_TRADING";
|
|
11295
|
+
BulkPreIPOCompanySPVMonarkStage["CLOSE_FAILED"] = "CLOSE_FAILED";
|
|
11296
|
+
BulkPreIPOCompanySPVMonarkStage["HALTED"] = "HALTED";
|
|
11297
|
+
BulkPreIPOCompanySPVMonarkStage["LIQUIDATION"] = "LIQUIDATION";
|
|
11298
|
+
BulkPreIPOCompanySPVMonarkStage["DISSOLVED"] = "DISSOLVED";
|
|
11299
|
+
})(BulkPreIPOCompanySPVMonarkStage || (BulkPreIPOCompanySPVMonarkStage = {}));
|
|
10218
11300
|
export var CreateInvestorType;
|
|
10219
11301
|
(function (CreateInvestorType) {
|
|
10220
11302
|
CreateInvestorType["IndividualInvestor"] = "IndividualInvestor";
|
|
@@ -10511,30 +11593,30 @@ export var PreIPOCompanyResearchRelation;
|
|
|
10511
11593
|
PreIPOCompanyResearchRelation["SUBJECT"] = "SUBJECT";
|
|
10512
11594
|
PreIPOCompanyResearchRelation["CONNECTED"] = "CONNECTED";
|
|
10513
11595
|
})(PreIPOCompanyResearchRelation || (PreIPOCompanyResearchRelation = {}));
|
|
10514
|
-
export var
|
|
10515
|
-
(function (
|
|
10516
|
-
|
|
10517
|
-
|
|
10518
|
-
|
|
10519
|
-
|
|
10520
|
-
|
|
10521
|
-
|
|
10522
|
-
|
|
10523
|
-
|
|
10524
|
-
|
|
10525
|
-
|
|
10526
|
-
|
|
10527
|
-
|
|
10528
|
-
|
|
10529
|
-
|
|
10530
|
-
|
|
10531
|
-
|
|
10532
|
-
|
|
10533
|
-
|
|
10534
|
-
|
|
10535
|
-
|
|
10536
|
-
|
|
10537
|
-
})(
|
|
11596
|
+
export var exemptionsClaimed2;
|
|
11597
|
+
(function (exemptionsClaimed2) {
|
|
11598
|
+
exemptionsClaimed2["RULE_504_B_1_not_i_ii_iii"] = "RULE_504_B_1_not_i_ii_iii";
|
|
11599
|
+
exemptionsClaimed2["RULE_504_B_1_i"] = "RULE_504_B_1_i";
|
|
11600
|
+
exemptionsClaimed2["RULE_504_B_1_ii"] = "RULE_504_B_1_ii";
|
|
11601
|
+
exemptionsClaimed2["RULE_504_B_1_iii"] = "RULE_504_B_1_iii";
|
|
11602
|
+
exemptionsClaimed2["RULE_506_b"] = "RULE_506_b";
|
|
11603
|
+
exemptionsClaimed2["RULE_506_c"] = "RULE_506_c";
|
|
11604
|
+
exemptionsClaimed2["SECURITIES_ACT_SECTION_4_a_5"] = "SECURITIES_ACT_SECTION_4_a_5";
|
|
11605
|
+
exemptionsClaimed2["SECURITIES_ACT_SECTION_3_c_1"] = "SECURITIES_ACT_SECTION_3_c_1";
|
|
11606
|
+
exemptionsClaimed2["SECURITIES_ACT_SECTION_3_c_2"] = "SECURITIES_ACT_SECTION_3_c_2";
|
|
11607
|
+
exemptionsClaimed2["SECURITIES_ACT_SECTION_3_c_3"] = "SECURITIES_ACT_SECTION_3_c_3";
|
|
11608
|
+
exemptionsClaimed2["SECURITIES_ACT_SECTION_3_c_4"] = "SECURITIES_ACT_SECTION_3_c_4";
|
|
11609
|
+
exemptionsClaimed2["SECURITIES_ACT_SECTION_3_c_5"] = "SECURITIES_ACT_SECTION_3_c_5";
|
|
11610
|
+
exemptionsClaimed2["SECURITIES_ACT_SECTION_3_c_6"] = "SECURITIES_ACT_SECTION_3_c_6";
|
|
11611
|
+
exemptionsClaimed2["SECURITIES_ACT_SECTION_3_c_7"] = "SECURITIES_ACT_SECTION_3_c_7";
|
|
11612
|
+
exemptionsClaimed2["SECURITIES_ACT_SECTION_3_c_9"] = "SECURITIES_ACT_SECTION_3_c_9";
|
|
11613
|
+
exemptionsClaimed2["SECURITIES_ACT_SECTION_3_c_10"] = "SECURITIES_ACT_SECTION_3_c_10";
|
|
11614
|
+
exemptionsClaimed2["SECURITIES_ACT_SECTION_3_c_11"] = "SECURITIES_ACT_SECTION_3_c_11";
|
|
11615
|
+
exemptionsClaimed2["SECURITIES_ACT_SECTION_3_c_12"] = "SECURITIES_ACT_SECTION_3_c_12";
|
|
11616
|
+
exemptionsClaimed2["SECURITIES_ACT_SECTION_3_c_13"] = "SECURITIES_ACT_SECTION_3_c_13";
|
|
11617
|
+
exemptionsClaimed2["SECURITIES_ACT_SECTION_3_c_14"] = "SECURITIES_ACT_SECTION_3_c_14";
|
|
11618
|
+
exemptionsClaimed2["Reg_S"] = "Reg_S";
|
|
11619
|
+
})(exemptionsClaimed2 || (exemptionsClaimed2 = {}));
|
|
10538
11620
|
export var PreIPOCompanySPVMonarkStage;
|
|
10539
11621
|
(function (PreIPOCompanySPVMonarkStage) {
|
|
10540
11622
|
PreIPOCompanySPVMonarkStage["DRAFT"] = "DRAFT";
|