@monarkmarkets/api-client 1.1.124 → 1.1.125
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 +104 -44
- package/dist/Client.js +151 -14
- package/package.json +1 -1
package/dist/Client.d.ts
CHANGED
|
@@ -25,7 +25,8 @@ export declare class Client {
|
|
|
25
25
|
* @param preIPOCompanySPVId (optional) PreIPOCompanySPVId to filter by.
|
|
26
26
|
* @param preIPOCompanyInvestmentId (optional) PreIPOCompanyInvestmentId to filter by.
|
|
27
27
|
* @param investorSubscriptionId (optional) InvestorSubscriptionId to filter by.
|
|
28
|
-
* @param registeredFundId (optional)
|
|
28
|
+
* @param registeredFundId (optional) RegisteredFundId to filter by.
|
|
29
|
+
* @param registeredFundSubscriptionId (optional) RegisteredFundSubscriptionId to filter by.
|
|
29
30
|
* @param documentType (optional) Type of document to filter by.
|
|
30
31
|
* @param exactMatch (optional) Only returns the items exactly matching the parameters given.
|
|
31
32
|
* @param page (optional) Page number for pagination.
|
|
@@ -33,7 +34,7 @@ export declare class Client {
|
|
|
33
34
|
* @param sortOrder (optional)
|
|
34
35
|
* @return OK
|
|
35
36
|
*/
|
|
36
|
-
document2(investorId: string | undefined, preIPOCompanyId: string | undefined, preIPOCompanySPVId: string | undefined, preIPOCompanyInvestmentId: string | undefined, investorSubscriptionId: string | undefined, registeredFundId: string | undefined, documentType: DocumentType | undefined, exactMatch: boolean | undefined, page: number | undefined, pageSize: number | undefined, sortOrder: SortOrder | undefined): Promise<DocumentApiResponse>;
|
|
37
|
+
document2(investorId: string | undefined, preIPOCompanyId: string | undefined, preIPOCompanySPVId: string | undefined, preIPOCompanyInvestmentId: string | undefined, investorSubscriptionId: string | undefined, registeredFundId: string | undefined, registeredFundSubscriptionId: string | undefined, documentType: DocumentType | undefined, exactMatch: boolean | undefined, page: number | undefined, pageSize: number | undefined, sortOrder: SortOrder | undefined): Promise<DocumentApiResponse>;
|
|
37
38
|
protected processDocument2(response: Response): Promise<DocumentApiResponse>;
|
|
38
39
|
/**
|
|
39
40
|
* Signs a document by a document ID.
|
|
@@ -90,13 +91,21 @@ export declare class Client {
|
|
|
90
91
|
protected processFinancialInstitution(response: Response): Promise<FinancialInstitution>;
|
|
91
92
|
/**
|
|
92
93
|
* Get all Financial Institutions
|
|
94
|
+
* @param referenceId (optional) Optional reference Id to filter by.
|
|
93
95
|
* @param page (optional)
|
|
94
96
|
* @param pageSize (optional)
|
|
95
97
|
* @param sortOrder (optional)
|
|
96
98
|
* @return OK
|
|
97
99
|
*/
|
|
98
|
-
financialInstitution2(page: number | undefined, pageSize: number | undefined, sortOrder: SortOrder3 | undefined): Promise<FinancialInstitutionApiResponse>;
|
|
100
|
+
financialInstitution2(referenceId: string | undefined, page: number | undefined, pageSize: number | undefined, sortOrder: SortOrder3 | undefined): Promise<FinancialInstitutionApiResponse>;
|
|
99
101
|
protected processFinancialInstitution2(response: Response): Promise<FinancialInstitutionApiResponse>;
|
|
102
|
+
/**
|
|
103
|
+
* Update an Financial Institution's Reference ID.
|
|
104
|
+
* @param body (optional) The request containing the updated reference information.
|
|
105
|
+
* @return No Content
|
|
106
|
+
*/
|
|
107
|
+
reference(body: UpdateFinancialInstitutionReferenceId | undefined): Promise<void>;
|
|
108
|
+
protected processReference(response: Response): Promise<void>;
|
|
100
109
|
/**
|
|
101
110
|
* Create an Indication of Interest
|
|
102
111
|
* @param body (optional) create IndicationOfInterest information.
|
|
@@ -227,12 +236,13 @@ export declare class Client {
|
|
|
227
236
|
* @param preIPOCompanyName (optional) Optional Company Name to filter on.
|
|
228
237
|
* @param preIPOCompanySPVName (optional) Optional SPV Name to filter on.
|
|
229
238
|
* @param tradingSymbol (optional) Optional Trading Symbol to filter on.
|
|
239
|
+
* @param orderReferenceId (optional)
|
|
230
240
|
* @param page (optional)
|
|
231
241
|
* @param pageSize (optional)
|
|
232
242
|
* @param sortOrder (optional)
|
|
233
243
|
* @return OK
|
|
234
244
|
*/
|
|
235
|
-
investorSubscriptionGET(preIpoCompanySpvId: string | undefined, investorId: string | undefined, status: Status | undefined, preIPOCompanyName: string | undefined, preIPOCompanySPVName: string | undefined, tradingSymbol: string | undefined, page: number | undefined, pageSize: number | undefined, sortOrder: SortOrder6 | undefined): Promise<InvestorSubscriptionApiResponse>;
|
|
245
|
+
investorSubscriptionGET(preIpoCompanySpvId: string | undefined, investorId: string | undefined, status: Status | undefined, preIPOCompanyName: string | undefined, preIPOCompanySPVName: string | undefined, tradingSymbol: string | undefined, orderReferenceId: string | undefined, page: number | undefined, pageSize: number | undefined, sortOrder: SortOrder6 | undefined): Promise<InvestorSubscriptionApiResponse>;
|
|
236
246
|
protected processInvestorSubscriptionGET(response: Response): Promise<InvestorSubscriptionApiResponse>;
|
|
237
247
|
/**
|
|
238
248
|
* Update an InvestorSubscription.
|
|
@@ -553,15 +563,18 @@ export declare class Client {
|
|
|
553
563
|
preIpoCompany2(searchTerm: string | undefined, searchCategories: string[] | undefined, sortBy: SortBy | undefined, sortOrder: SortOrder7 | undefined, minLastValuation: number | undefined, maxLastValuation: number | undefined, minTotalFunding: number | undefined, maxTotalFunding: number | undefined, listingType: string | undefined, isActive: boolean | undefined, page: number | undefined, pageSize: number | undefined): Promise<PreIPOCompanyApiResponse>;
|
|
554
564
|
protected processPreIpoCompany2(response: Response): Promise<PreIPOCompanyApiResponse>;
|
|
555
565
|
/**
|
|
556
|
-
*
|
|
557
|
-
|
|
566
|
+
* Retrieves a paginated list of detailed PreIPOCompanies with optional filters and includes.
|
|
567
|
+
Includes More detail such as News, Research, Investments, Spv's and Funding Rounds.
|
|
568
|
+
* @param filterId (optional) Optional filter ID to narrow down the PreIPOCompanies.
|
|
569
|
+
* @param filterBy (optional) Optional filter type to categorize the PreIPOCompanies (e.g., Company, Investment, Spv).
|
|
570
|
+
* @param includes (optional) Optional list of additional data to include with the response (e.g., News, Research, Investments).
|
|
558
571
|
* @param listingType (optional) Optional listing status filter.
|
|
559
572
|
* @param isActive (optional) Optional active state filter.
|
|
560
|
-
* @param page (optional)
|
|
561
|
-
* @param pageSize (optional)
|
|
562
|
-
* @return
|
|
573
|
+
* @param page (optional) Page number for pagination, starting from 1.
|
|
574
|
+
* @param pageSize (optional) Number of items per page for pagination, Default = 25.
|
|
575
|
+
* @return Returns the filtered and paginated list of detailed PreIPOCompanies.
|
|
563
576
|
*/
|
|
564
|
-
detailed(includes: Includes[] | undefined, listingType: string | undefined, isActive: boolean | undefined, page: number | undefined, pageSize: number | undefined): Promise<BulkPreIPOCompanyApiResponse>;
|
|
577
|
+
detailed(filterId: string | undefined, filterBy: FilterBy | undefined, includes: Includes[] | undefined, listingType: string | undefined, isActive: boolean | undefined, page: number | undefined, pageSize: number | undefined): Promise<BulkPreIPOCompanyApiResponse>;
|
|
565
578
|
protected processDetailed(response: Response): Promise<BulkPreIPOCompanyApiResponse>;
|
|
566
579
|
/**
|
|
567
580
|
* Get the PreIPOCompanyFundingRound by the specified Id.
|
|
@@ -898,7 +911,7 @@ export declare class BulkPreIPOCompany implements IBulkPreIPOCompany {
|
|
|
898
911
|
/** Type of entity of the PreIPOCompany. */
|
|
899
912
|
type?: BulkPreIPOCompanyType;
|
|
900
913
|
/** The year the PreIPOCompany was established. */
|
|
901
|
-
yearEst?:
|
|
914
|
+
yearEst?: number | undefined;
|
|
902
915
|
/** The number of employees at the PreIPO Company. */
|
|
903
916
|
numJobs?: number | undefined;
|
|
904
917
|
/** Short description of the PreIPOCompany. */
|
|
@@ -981,7 +994,7 @@ export interface IBulkPreIPOCompany {
|
|
|
981
994
|
/** Type of entity of the PreIPOCompany. */
|
|
982
995
|
type?: BulkPreIPOCompanyType;
|
|
983
996
|
/** The year the PreIPOCompany was established. */
|
|
984
|
-
yearEst?:
|
|
997
|
+
yearEst?: number | undefined;
|
|
985
998
|
/** The number of employees at the PreIPO Company. */
|
|
986
999
|
numJobs?: number | undefined;
|
|
987
1000
|
/** Short description of the PreIPOCompany. */
|
|
@@ -1085,7 +1098,7 @@ export declare class BulkPreIPOCompanySPV implements IBulkPreIPOCompanySPV {
|
|
|
1085
1098
|
exemptionsClaimed?: exemptionsClaimed[] | undefined;
|
|
1086
1099
|
/** The stage that an SPV is in. Refer to the “SPV Status Transitions” page in our Guides for a detailed description of each stage. */
|
|
1087
1100
|
monarkStage: BulkPreIPOCompanySPVMonarkStage;
|
|
1088
|
-
/** CUSIP assigned to the SPV.
|
|
1101
|
+
/** CUSIP assigned to the SPV. */
|
|
1089
1102
|
cusip?: string | undefined;
|
|
1090
1103
|
/** Symbol assigned to the SPV. This symbol is created and assigned to the SPV upon its creation. See the [Symbology guide](https://api-docs.monark-markets.com/docs/symbology) for a more detailed description of how symbols are generated. */
|
|
1091
1104
|
tradingSymbol?: string | undefined;
|
|
@@ -1163,7 +1176,7 @@ export interface IBulkPreIPOCompanySPV {
|
|
|
1163
1176
|
exemptionsClaimed?: exemptionsClaimed[] | undefined;
|
|
1164
1177
|
/** The stage that an SPV is in. Refer to the “SPV Status Transitions” page in our Guides for a detailed description of each stage. */
|
|
1165
1178
|
monarkStage: BulkPreIPOCompanySPVMonarkStage;
|
|
1166
|
-
/** CUSIP assigned to the SPV.
|
|
1179
|
+
/** CUSIP assigned to the SPV. */
|
|
1167
1180
|
cusip?: string | undefined;
|
|
1168
1181
|
/** Symbol assigned to the SPV. This symbol is created and assigned to the SPV upon its creation. See the [Symbology guide](https://api-docs.monark-markets.com/docs/symbology) for a more detailed description of how symbols are generated. */
|
|
1169
1182
|
tradingSymbol?: string | undefined;
|
|
@@ -1383,6 +1396,8 @@ export declare class CreateInvestorSubscription implements ICreateInvestorSubscr
|
|
|
1383
1396
|
investorId: string;
|
|
1384
1397
|
/** Describes the amount, in dollars, an Investor intends to invest into an SPV. */
|
|
1385
1398
|
amountReservedDollars: number;
|
|
1399
|
+
/** The reference ID of an order submitted. */
|
|
1400
|
+
orderReferenceId?: string | undefined;
|
|
1386
1401
|
constructor(data?: ICreateInvestorSubscription);
|
|
1387
1402
|
init(_data?: any): void;
|
|
1388
1403
|
static fromJS(data: any): CreateInvestorSubscription;
|
|
@@ -1395,6 +1410,8 @@ export interface ICreateInvestorSubscription {
|
|
|
1395
1410
|
investorId: string;
|
|
1396
1411
|
/** Describes the amount, in dollars, an Investor intends to invest into an SPV. */
|
|
1397
1412
|
amountReservedDollars: number;
|
|
1413
|
+
/** The reference ID of an order submitted. */
|
|
1414
|
+
orderReferenceId?: string | undefined;
|
|
1398
1415
|
}
|
|
1399
1416
|
/** Create Questionnaire allows the creation of a questionaire with the primary offerring. */
|
|
1400
1417
|
export declare class CreateQuestionnaire implements ICreateQuestionnaire {
|
|
@@ -1568,6 +1585,8 @@ export declare class Document implements IDocument {
|
|
|
1568
1585
|
partnerId?: string | undefined;
|
|
1569
1586
|
/** Unique identifier of the registered fund, if any. */
|
|
1570
1587
|
registeredFundId?: string | undefined;
|
|
1588
|
+
/** Unique identifier of the registered fund subscription, if any. */
|
|
1589
|
+
registeredFundSubscriptionId?: string | undefined;
|
|
1571
1590
|
/** The type of Document. */
|
|
1572
1591
|
type?: DocumentType2;
|
|
1573
1592
|
/** Boolean value to dictate if this is a template. */
|
|
@@ -1603,6 +1622,8 @@ export interface IDocument {
|
|
|
1603
1622
|
partnerId?: string | undefined;
|
|
1604
1623
|
/** Unique identifier of the registered fund, if any. */
|
|
1605
1624
|
registeredFundId?: string | undefined;
|
|
1625
|
+
/** Unique identifier of the registered fund subscription, if any. */
|
|
1626
|
+
registeredFundSubscriptionId?: string | undefined;
|
|
1606
1627
|
/** The type of Document. */
|
|
1607
1628
|
type?: DocumentType2;
|
|
1608
1629
|
/** Boolean value to dictate if this is a template. */
|
|
@@ -1864,6 +1885,8 @@ See https://github.com/country-regions/country-region-data/blob/master/data.json
|
|
|
1864
1885
|
updatedAt?: Date;
|
|
1865
1886
|
/** The linked Partner. */
|
|
1866
1887
|
partner?: Partner | undefined;
|
|
1888
|
+
/** Optional reference field for this Financial Institution. */
|
|
1889
|
+
financialInstitutionReferenceId?: string | undefined;
|
|
1867
1890
|
constructor(data?: IFinancialInstitution);
|
|
1868
1891
|
init(_data?: any): void;
|
|
1869
1892
|
static fromJS(data: any): FinancialInstitution;
|
|
@@ -1899,6 +1922,8 @@ See https://github.com/country-regions/country-region-data/blob/master/data.json
|
|
|
1899
1922
|
updatedAt?: Date;
|
|
1900
1923
|
/** The linked Partner. */
|
|
1901
1924
|
partner?: Partner | undefined;
|
|
1925
|
+
/** Optional reference field for this Financial Institution. */
|
|
1926
|
+
financialInstitutionReferenceId?: string | undefined;
|
|
1902
1927
|
}
|
|
1903
1928
|
export declare class FinancialInstitutionApiResponse implements IFinancialInstitutionApiResponse {
|
|
1904
1929
|
items?: FinancialInstitution[] | undefined;
|
|
@@ -2106,9 +2131,9 @@ https://github.com/country-regions/country-region-data/blob/master/data.json for
|
|
|
2106
2131
|
isSubscriptionAdvisorOrERA?: boolean;
|
|
2107
2132
|
/** Email address associated with an Investor. */
|
|
2108
2133
|
email: string | undefined;
|
|
2109
|
-
/** Investor
|
|
2134
|
+
/** Investor's Social Security Number if `isUsBased` is true. Follow SSN format (XXX-XX-XXXX). If `isUsBased` is false, please provide the relevant tax id number. No formatting validation applies if `isUsBased` is false. */
|
|
2110
2135
|
taxId: string | undefined;
|
|
2111
|
-
/** Investor Passport Number.
|
|
2136
|
+
/** Investor Passport Number. Pass "N/A" if there is no `passportNumber`. */
|
|
2112
2137
|
passportNumber?: string | undefined;
|
|
2113
2138
|
/** Country code of the Investor’s citizenship. Check https://github.com/country-regions/country-region-data/blob/master/data.json for valid country codes */
|
|
2114
2139
|
citizenship: string | undefined;
|
|
@@ -2118,6 +2143,8 @@ https://github.com/country-regions/country-region-data/blob/master/data.json for
|
|
|
2118
2143
|
entityInvestorType?: IndividualEntityInvestorEntityInvestorType;
|
|
2119
2144
|
/** The percentage of the entity owned by the investor. */
|
|
2120
2145
|
percentageOwned?: number;
|
|
2146
|
+
/** Represents the title of the individual investor. */
|
|
2147
|
+
title?: string | undefined;
|
|
2121
2148
|
/** Id of the individual investor. */
|
|
2122
2149
|
id?: string;
|
|
2123
2150
|
constructor(data?: IIndividualEntityInvestor);
|
|
@@ -2175,9 +2202,9 @@ https://github.com/country-regions/country-region-data/blob/master/data.json for
|
|
|
2175
2202
|
isSubscriptionAdvisorOrERA?: boolean;
|
|
2176
2203
|
/** Email address associated with an Investor. */
|
|
2177
2204
|
email: string | undefined;
|
|
2178
|
-
/** Investor
|
|
2205
|
+
/** Investor's Social Security Number if `isUsBased` is true. Follow SSN format (XXX-XX-XXXX). If `isUsBased` is false, please provide the relevant tax id number. No formatting validation applies if `isUsBased` is false. */
|
|
2179
2206
|
taxId: string | undefined;
|
|
2180
|
-
/** Investor Passport Number.
|
|
2207
|
+
/** Investor Passport Number. Pass "N/A" if there is no `passportNumber`. */
|
|
2181
2208
|
passportNumber?: string | undefined;
|
|
2182
2209
|
/** Country code of the Investor’s citizenship. Check https://github.com/country-regions/country-region-data/blob/master/data.json for valid country codes */
|
|
2183
2210
|
citizenship: string | undefined;
|
|
@@ -2187,6 +2214,8 @@ https://github.com/country-regions/country-region-data/blob/master/data.json for
|
|
|
2187
2214
|
entityInvestorType?: IndividualEntityInvestorEntityInvestorType;
|
|
2188
2215
|
/** The percentage of the entity owned by the investor. */
|
|
2189
2216
|
percentageOwned?: number;
|
|
2217
|
+
/** Represents the title of the individual investor. */
|
|
2218
|
+
title?: string | undefined;
|
|
2190
2219
|
/** Id of the individual investor. */
|
|
2191
2220
|
id?: string;
|
|
2192
2221
|
}
|
|
@@ -2240,9 +2269,9 @@ https://github.com/country-regions/country-region-data/blob/master/data.json for
|
|
|
2240
2269
|
isSubscriptionAdvisorOrERA: boolean;
|
|
2241
2270
|
/** Email address associated with an Investor. */
|
|
2242
2271
|
email: string;
|
|
2243
|
-
/** Investor
|
|
2272
|
+
/** Investor's Social Security Number if `isUsBased` is true. Follow SSN format (XXX-XX-XXXX). If `isUsBased` is false, please provide the relevant tax id number. No formatting validation applies if `isUsBased` is false. */
|
|
2244
2273
|
taxId: string | undefined;
|
|
2245
|
-
/** Investor Passport Number.
|
|
2274
|
+
/** Investor Passport Number. Pass "N/A" if there is no `passportNumber`. */
|
|
2246
2275
|
passportNumber?: string | undefined;
|
|
2247
2276
|
/** Country code of the Investor’s citizenship. Check https://github.com/country-regions/country-region-data/blob/master/data.json for valid country codes */
|
|
2248
2277
|
citizenship: string;
|
|
@@ -2252,6 +2281,8 @@ https://github.com/country-regions/country-region-data/blob/master/data.json for
|
|
|
2252
2281
|
entityInvestorType?: IndividualEntityInvestorBaseEntityInvestorType;
|
|
2253
2282
|
/** The percentage of the entity owned by the investor. */
|
|
2254
2283
|
percentageOwned?: number;
|
|
2284
|
+
/** Represents the title of the individual investor. */
|
|
2285
|
+
title?: string | undefined;
|
|
2255
2286
|
constructor(data?: IIndividualEntityInvestorBase);
|
|
2256
2287
|
init(_data?: any): void;
|
|
2257
2288
|
static fromJS(data: any): IndividualEntityInvestorBase;
|
|
@@ -2307,9 +2338,9 @@ https://github.com/country-regions/country-region-data/blob/master/data.json for
|
|
|
2307
2338
|
isSubscriptionAdvisorOrERA: boolean;
|
|
2308
2339
|
/** Email address associated with an Investor. */
|
|
2309
2340
|
email: string;
|
|
2310
|
-
/** Investor
|
|
2341
|
+
/** Investor's Social Security Number if `isUsBased` is true. Follow SSN format (XXX-XX-XXXX). If `isUsBased` is false, please provide the relevant tax id number. No formatting validation applies if `isUsBased` is false. */
|
|
2311
2342
|
taxId: string | undefined;
|
|
2312
|
-
/** Investor Passport Number.
|
|
2343
|
+
/** Investor Passport Number. Pass "N/A" if there is no `passportNumber`. */
|
|
2313
2344
|
passportNumber?: string | undefined;
|
|
2314
2345
|
/** Country code of the Investor’s citizenship. Check https://github.com/country-regions/country-region-data/blob/master/data.json for valid country codes */
|
|
2315
2346
|
citizenship: string;
|
|
@@ -2319,6 +2350,8 @@ https://github.com/country-regions/country-region-data/blob/master/data.json for
|
|
|
2319
2350
|
entityInvestorType?: IndividualEntityInvestorBaseEntityInvestorType;
|
|
2320
2351
|
/** The percentage of the entity owned by the investor. */
|
|
2321
2352
|
percentageOwned?: number;
|
|
2353
|
+
/** Represents the title of the individual investor. */
|
|
2354
|
+
title?: string | undefined;
|
|
2322
2355
|
}
|
|
2323
2356
|
export declare class IndividualInvestor implements IIndividualInvestor {
|
|
2324
2357
|
/** First name of the Investor. */
|
|
@@ -2370,9 +2403,9 @@ https://github.com/country-regions/country-region-data/blob/master/data.json for
|
|
|
2370
2403
|
isSubscriptionAdvisorOrERA?: boolean;
|
|
2371
2404
|
/** Email address associated with an Investor. */
|
|
2372
2405
|
email: string | undefined;
|
|
2373
|
-
/** Investor
|
|
2406
|
+
/** Investor's Social Security Number if `isUsBased` is true. Follow SSN format (XXX-XX-XXXX). If `isUsBased` is false, please provide the relevant tax id number. No formatting validation applies if `isUsBased` is false. */
|
|
2374
2407
|
taxId: string | undefined;
|
|
2375
|
-
/** Investor Passport Number.
|
|
2408
|
+
/** Investor Passport Number. Pass "N/A" if there is no `passportNumber`. */
|
|
2376
2409
|
passportNumber?: string | undefined;
|
|
2377
2410
|
/** Country code of the Investor’s citizenship. Check https://github.com/country-regions/country-region-data/blob/master/data.json for valid country codes */
|
|
2378
2411
|
citizenship: string | undefined;
|
|
@@ -2439,9 +2472,9 @@ https://github.com/country-regions/country-region-data/blob/master/data.json for
|
|
|
2439
2472
|
isSubscriptionAdvisorOrERA?: boolean;
|
|
2440
2473
|
/** Email address associated with an Investor. */
|
|
2441
2474
|
email: string | undefined;
|
|
2442
|
-
/** Investor
|
|
2475
|
+
/** Investor's Social Security Number if `isUsBased` is true. Follow SSN format (XXX-XX-XXXX). If `isUsBased` is false, please provide the relevant tax id number. No formatting validation applies if `isUsBased` is false. */
|
|
2443
2476
|
taxId: string | undefined;
|
|
2444
|
-
/** Investor Passport Number.
|
|
2477
|
+
/** Investor Passport Number. Pass "N/A" if there is no `passportNumber`. */
|
|
2445
2478
|
passportNumber?: string | undefined;
|
|
2446
2479
|
/** Country code of the Investor’s citizenship. Check https://github.com/country-regions/country-region-data/blob/master/data.json for valid country codes */
|
|
2447
2480
|
citizenship: string | undefined;
|
|
@@ -2810,9 +2843,9 @@ https://github.com/country-regions/country-region-data/blob/master/data.json for
|
|
|
2810
2843
|
isSubscriptionAdvisorOrERA: boolean;
|
|
2811
2844
|
/** Email address associated with an Investor. */
|
|
2812
2845
|
email: string;
|
|
2813
|
-
/** Investor
|
|
2846
|
+
/** Investor's Social Security Number if `isUsBased` is true. Follow SSN format (XXX-XX-XXXX). If `isUsBased` is false, please provide the relevant tax id number. No formatting validation applies if `isUsBased` is false. */
|
|
2814
2847
|
taxId: string | undefined;
|
|
2815
|
-
/** Investor Passport Number.
|
|
2848
|
+
/** Investor Passport Number. Pass "N/A" if there is no `passportNumber`. */
|
|
2816
2849
|
passportNumber?: string | undefined;
|
|
2817
2850
|
/** Country code of the Investor’s citizenship. Check https://github.com/country-regions/country-region-data/blob/master/data.json for valid country codes */
|
|
2818
2851
|
citizenship: string;
|
|
@@ -2873,9 +2906,9 @@ https://github.com/country-regions/country-region-data/blob/master/data.json for
|
|
|
2873
2906
|
isSubscriptionAdvisorOrERA: boolean;
|
|
2874
2907
|
/** Email address associated with an Investor. */
|
|
2875
2908
|
email: string;
|
|
2876
|
-
/** Investor
|
|
2909
|
+
/** Investor's Social Security Number if `isUsBased` is true. Follow SSN format (XXX-XX-XXXX). If `isUsBased` is false, please provide the relevant tax id number. No formatting validation applies if `isUsBased` is false. */
|
|
2877
2910
|
taxId: string | undefined;
|
|
2878
|
-
/** Investor Passport Number.
|
|
2911
|
+
/** Investor Passport Number. Pass "N/A" if there is no `passportNumber`. */
|
|
2879
2912
|
passportNumber?: string | undefined;
|
|
2880
2913
|
/** Country code of the Investor’s citizenship. Check https://github.com/country-regions/country-region-data/blob/master/data.json for valid country codes */
|
|
2881
2914
|
citizenship: string;
|
|
@@ -3569,7 +3602,7 @@ export declare class Partner implements IPartner {
|
|
|
3569
3602
|
/** Legal Entity Name of the partner. */
|
|
3570
3603
|
legalEntityName: string | undefined;
|
|
3571
3604
|
/** Country code of the investor. */
|
|
3572
|
-
countryCode
|
|
3605
|
+
countryCode?: string | undefined;
|
|
3573
3606
|
/** Website of the Partner. */
|
|
3574
3607
|
website?: string | undefined;
|
|
3575
3608
|
/** Executive Team of the partner. */
|
|
@@ -3607,7 +3640,7 @@ export interface IPartner {
|
|
|
3607
3640
|
/** Legal Entity Name of the partner. */
|
|
3608
3641
|
legalEntityName: string | undefined;
|
|
3609
3642
|
/** Country code of the investor. */
|
|
3610
|
-
countryCode
|
|
3643
|
+
countryCode?: string | undefined;
|
|
3611
3644
|
/** Website of the Partner. */
|
|
3612
3645
|
website?: string | undefined;
|
|
3613
3646
|
/** Executive Team of the partner. */
|
|
@@ -4067,7 +4100,7 @@ export declare class PreIPOCompany implements IPreIPOCompany {
|
|
|
4067
4100
|
/** Type of entity of the PreIPOCompany. */
|
|
4068
4101
|
type?: PreIPOCompanyType;
|
|
4069
4102
|
/** The year the PreIPOCompany was established. */
|
|
4070
|
-
yearEst?:
|
|
4103
|
+
yearEst?: number | undefined;
|
|
4071
4104
|
/** The number of employees at the PreIPO Company. */
|
|
4072
4105
|
numJobs?: number | undefined;
|
|
4073
4106
|
/** Short description of the PreIPOCompany. */
|
|
@@ -4146,7 +4179,7 @@ export interface IPreIPOCompany {
|
|
|
4146
4179
|
/** Type of entity of the PreIPOCompany. */
|
|
4147
4180
|
type?: PreIPOCompanyType;
|
|
4148
4181
|
/** The year the PreIPOCompany was established. */
|
|
4149
|
-
yearEst?:
|
|
4182
|
+
yearEst?: number | undefined;
|
|
4150
4183
|
/** The number of employees at the PreIPO Company. */
|
|
4151
4184
|
numJobs?: number | undefined;
|
|
4152
4185
|
/** Short description of the PreIPOCompany. */
|
|
@@ -4530,7 +4563,7 @@ export declare class PreIPOCompanySPV implements IPreIPOCompanySPV {
|
|
|
4530
4563
|
exemptionsClaimed?: exemptionsClaimed2[] | undefined;
|
|
4531
4564
|
/** The stage that an SPV is in. Refer to the “SPV Status Transitions” page in our Guides for a detailed description of each stage. */
|
|
4532
4565
|
monarkStage: PreIPOCompanySPVMonarkStage;
|
|
4533
|
-
/** CUSIP assigned to the SPV.
|
|
4566
|
+
/** CUSIP assigned to the SPV. */
|
|
4534
4567
|
cusip?: string | undefined;
|
|
4535
4568
|
/** Symbol assigned to the SPV. This symbol is created and assigned to the SPV upon its creation. See the [Symbology guide](https://api-docs.monark-markets.com/docs/symbology) for a more detailed description of how symbols are generated. */
|
|
4536
4569
|
tradingSymbol?: string | undefined;
|
|
@@ -4607,7 +4640,7 @@ export interface IPreIPOCompanySPV {
|
|
|
4607
4640
|
exemptionsClaimed?: exemptionsClaimed2[] | undefined;
|
|
4608
4641
|
/** The stage that an SPV is in. Refer to the “SPV Status Transitions” page in our Guides for a detailed description of each stage. */
|
|
4609
4642
|
monarkStage: PreIPOCompanySPVMonarkStage;
|
|
4610
|
-
/** CUSIP assigned to the SPV.
|
|
4643
|
+
/** CUSIP assigned to the SPV. */
|
|
4611
4644
|
cusip?: string | undefined;
|
|
4612
4645
|
/** Symbol assigned to the SPV. This symbol is created and assigned to the SPV upon its creation. See the [Symbology guide](https://api-docs.monark-markets.com/docs/symbology) for a more detailed description of how symbols are generated. */
|
|
4613
4646
|
tradingSymbol?: string | undefined;
|
|
@@ -5209,7 +5242,7 @@ export interface IShareDetail {
|
|
|
5209
5242
|
/** Model for signing a document. */
|
|
5210
5243
|
export declare class SignDocument implements ISignDocument {
|
|
5211
5244
|
/** The investorId associated with the document. */
|
|
5212
|
-
investorId
|
|
5245
|
+
investorId: string;
|
|
5213
5246
|
/** Metadata about the signing. */
|
|
5214
5247
|
metadata?: string | undefined;
|
|
5215
5248
|
constructor(data?: ISignDocument);
|
|
@@ -5220,7 +5253,7 @@ export declare class SignDocument implements ISignDocument {
|
|
|
5220
5253
|
/** Model for signing a document. */
|
|
5221
5254
|
export interface ISignDocument {
|
|
5222
5255
|
/** The investorId associated with the document. */
|
|
5223
|
-
investorId
|
|
5256
|
+
investorId: string;
|
|
5224
5257
|
/** Metadata about the signing. */
|
|
5225
5258
|
metadata?: string | undefined;
|
|
5226
5259
|
}
|
|
@@ -5438,6 +5471,22 @@ export interface IUpdateFinancialAdvisor {
|
|
|
5438
5471
|
/** ID of the FinancialAdvisor to edit. */
|
|
5439
5472
|
id?: string;
|
|
5440
5473
|
}
|
|
5474
|
+
export declare class UpdateFinancialInstitutionReferenceId implements IUpdateFinancialInstitutionReferenceId {
|
|
5475
|
+
/** ID of the FinancialInstitution to edit. */
|
|
5476
|
+
financialInstitutionId?: string;
|
|
5477
|
+
/** Reference field for the Financial Institution. */
|
|
5478
|
+
financialInstitutionReferenceId?: string | undefined;
|
|
5479
|
+
constructor(data?: IUpdateFinancialInstitutionReferenceId);
|
|
5480
|
+
init(_data?: any): void;
|
|
5481
|
+
static fromJS(data: any): UpdateFinancialInstitutionReferenceId;
|
|
5482
|
+
toJSON(data?: any): any;
|
|
5483
|
+
}
|
|
5484
|
+
export interface IUpdateFinancialInstitutionReferenceId {
|
|
5485
|
+
/** ID of the FinancialInstitution to edit. */
|
|
5486
|
+
financialInstitutionId?: string;
|
|
5487
|
+
/** Reference field for the Financial Institution. */
|
|
5488
|
+
financialInstitutionReferenceId?: string | undefined;
|
|
5489
|
+
}
|
|
5441
5490
|
/** IndicationOfInterest represents the primary offering information on the IoI. */
|
|
5442
5491
|
export declare class UpdateIndicationOfInterest implements IUpdateIndicationOfInterest {
|
|
5443
5492
|
/** Unique ID associated with an IOI. */
|
|
@@ -5518,9 +5567,9 @@ https://github.com/country-regions/country-region-data/blob/master/data.json for
|
|
|
5518
5567
|
isSubscriptionAdvisorOrERA: boolean;
|
|
5519
5568
|
/** Email address associated with an Investor. */
|
|
5520
5569
|
email: string;
|
|
5521
|
-
/** Investor
|
|
5570
|
+
/** Investor's Social Security Number if `isUsBased` is true. Follow SSN format (XXX-XX-XXXX). If `isUsBased` is false, please provide the relevant tax id number. No formatting validation applies if `isUsBased` is false. */
|
|
5522
5571
|
taxId: string | undefined;
|
|
5523
|
-
/** Investor Passport Number.
|
|
5572
|
+
/** Investor Passport Number. Pass "N/A" if there is no `passportNumber`. */
|
|
5524
5573
|
passportNumber?: string | undefined;
|
|
5525
5574
|
/** Country code of the Investor’s citizenship. Check https://github.com/country-regions/country-region-data/blob/master/data.json for valid country codes */
|
|
5526
5575
|
citizenship: string;
|
|
@@ -5530,6 +5579,8 @@ https://github.com/country-regions/country-region-data/blob/master/data.json for
|
|
|
5530
5579
|
entityInvestorType?: UpdateIndividualEntityInvestorEntityInvestorType;
|
|
5531
5580
|
/** The percentage of the entity owned by the investor. */
|
|
5532
5581
|
percentageOwned?: number;
|
|
5582
|
+
/** Represents the title of the individual investor. */
|
|
5583
|
+
title?: string | undefined;
|
|
5533
5584
|
/** Identifier for the individual investor. */
|
|
5534
5585
|
id: string;
|
|
5535
5586
|
constructor(data?: IUpdateIndividualEntityInvestor);
|
|
@@ -5587,9 +5638,9 @@ https://github.com/country-regions/country-region-data/blob/master/data.json for
|
|
|
5587
5638
|
isSubscriptionAdvisorOrERA: boolean;
|
|
5588
5639
|
/** Email address associated with an Investor. */
|
|
5589
5640
|
email: string;
|
|
5590
|
-
/** Investor
|
|
5641
|
+
/** Investor's Social Security Number if `isUsBased` is true. Follow SSN format (XXX-XX-XXXX). If `isUsBased` is false, please provide the relevant tax id number. No formatting validation applies if `isUsBased` is false. */
|
|
5591
5642
|
taxId: string | undefined;
|
|
5592
|
-
/** Investor Passport Number.
|
|
5643
|
+
/** Investor Passport Number. Pass "N/A" if there is no `passportNumber`. */
|
|
5593
5644
|
passportNumber?: string | undefined;
|
|
5594
5645
|
/** Country code of the Investor’s citizenship. Check https://github.com/country-regions/country-region-data/blob/master/data.json for valid country codes */
|
|
5595
5646
|
citizenship: string;
|
|
@@ -5599,6 +5650,8 @@ https://github.com/country-regions/country-region-data/blob/master/data.json for
|
|
|
5599
5650
|
entityInvestorType?: UpdateIndividualEntityInvestorEntityInvestorType;
|
|
5600
5651
|
/** The percentage of the entity owned by the investor. */
|
|
5601
5652
|
percentageOwned?: number;
|
|
5653
|
+
/** Represents the title of the individual investor. */
|
|
5654
|
+
title?: string | undefined;
|
|
5602
5655
|
/** Identifier for the individual investor. */
|
|
5603
5656
|
id: string;
|
|
5604
5657
|
}
|
|
@@ -5974,7 +6027,8 @@ export declare enum Status {
|
|
|
5974
6027
|
Pending = "Pending",
|
|
5975
6028
|
Processing = "Processing",
|
|
5976
6029
|
Complete = "Complete",
|
|
5977
|
-
Rejected = "Rejected"
|
|
6030
|
+
Rejected = "Rejected",
|
|
6031
|
+
Failed = "Failed"
|
|
5978
6032
|
}
|
|
5979
6033
|
export declare enum SortOrder6 {
|
|
5980
6034
|
Ascending = "Ascending",
|
|
@@ -5990,6 +6044,11 @@ export declare enum SortOrder7 {
|
|
|
5990
6044
|
Ascending = "Ascending",
|
|
5991
6045
|
Descending = "Descending"
|
|
5992
6046
|
}
|
|
6047
|
+
export declare enum FilterBy {
|
|
6048
|
+
Company = "Company",
|
|
6049
|
+
Investment = "Investment",
|
|
6050
|
+
Spv = "Spv"
|
|
6051
|
+
}
|
|
5993
6052
|
export declare enum Includes {
|
|
5994
6053
|
News = "News",
|
|
5995
6054
|
Research = "Research",
|
|
@@ -6366,7 +6425,8 @@ export declare enum InvestorSubscriptionStatus {
|
|
|
6366
6425
|
Pending = "Pending",
|
|
6367
6426
|
Processing = "Processing",
|
|
6368
6427
|
Complete = "Complete",
|
|
6369
|
-
Rejected = "Rejected"
|
|
6428
|
+
Rejected = "Rejected",
|
|
6429
|
+
Failed = "Failed"
|
|
6370
6430
|
}
|
|
6371
6431
|
export declare enum InvestorSubscriptionActionStatus {
|
|
6372
6432
|
Pending = "Pending",
|
package/dist/Client.js
CHANGED
|
@@ -125,7 +125,8 @@ export class Client {
|
|
|
125
125
|
* @param preIPOCompanySPVId (optional) PreIPOCompanySPVId to filter by.
|
|
126
126
|
* @param preIPOCompanyInvestmentId (optional) PreIPOCompanyInvestmentId to filter by.
|
|
127
127
|
* @param investorSubscriptionId (optional) InvestorSubscriptionId to filter by.
|
|
128
|
-
* @param registeredFundId (optional)
|
|
128
|
+
* @param registeredFundId (optional) RegisteredFundId to filter by.
|
|
129
|
+
* @param registeredFundSubscriptionId (optional) RegisteredFundSubscriptionId to filter by.
|
|
129
130
|
* @param documentType (optional) Type of document to filter by.
|
|
130
131
|
* @param exactMatch (optional) Only returns the items exactly matching the parameters given.
|
|
131
132
|
* @param page (optional) Page number for pagination.
|
|
@@ -133,7 +134,7 @@ export class Client {
|
|
|
133
134
|
* @param sortOrder (optional)
|
|
134
135
|
* @return OK
|
|
135
136
|
*/
|
|
136
|
-
document2(investorId, preIPOCompanyId, preIPOCompanySPVId, preIPOCompanyInvestmentId, investorSubscriptionId, registeredFundId, documentType, exactMatch, page, pageSize, sortOrder) {
|
|
137
|
+
document2(investorId, preIPOCompanyId, preIPOCompanySPVId, preIPOCompanyInvestmentId, investorSubscriptionId, registeredFundId, registeredFundSubscriptionId, documentType, exactMatch, page, pageSize, sortOrder) {
|
|
137
138
|
let url_ = this.baseUrl + "/primary/v1/document?";
|
|
138
139
|
if (investorId === null)
|
|
139
140
|
throw new Error("The parameter 'investorId' cannot be null.");
|
|
@@ -159,6 +160,10 @@ export class Client {
|
|
|
159
160
|
throw new Error("The parameter 'registeredFundId' cannot be null.");
|
|
160
161
|
else if (registeredFundId !== undefined)
|
|
161
162
|
url_ += "registeredFundId=" + encodeURIComponent("" + registeredFundId) + "&";
|
|
163
|
+
if (registeredFundSubscriptionId === null)
|
|
164
|
+
throw new Error("The parameter 'registeredFundSubscriptionId' cannot be null.");
|
|
165
|
+
else if (registeredFundSubscriptionId !== undefined)
|
|
166
|
+
url_ += "registeredFundSubscriptionId=" + encodeURIComponent("" + registeredFundSubscriptionId) + "&";
|
|
162
167
|
if (documentType === null)
|
|
163
168
|
throw new Error("The parameter 'documentType' cannot be null.");
|
|
164
169
|
else if (documentType !== undefined)
|
|
@@ -585,13 +590,18 @@ export class Client {
|
|
|
585
590
|
}
|
|
586
591
|
/**
|
|
587
592
|
* Get all Financial Institutions
|
|
593
|
+
* @param referenceId (optional) Optional reference Id to filter by.
|
|
588
594
|
* @param page (optional)
|
|
589
595
|
* @param pageSize (optional)
|
|
590
596
|
* @param sortOrder (optional)
|
|
591
597
|
* @return OK
|
|
592
598
|
*/
|
|
593
|
-
financialInstitution2(page, pageSize, sortOrder) {
|
|
599
|
+
financialInstitution2(referenceId, page, pageSize, sortOrder) {
|
|
594
600
|
let url_ = this.baseUrl + "/primary/v1/financial-institution?";
|
|
601
|
+
if (referenceId === null)
|
|
602
|
+
throw new Error("The parameter 'referenceId' cannot be null.");
|
|
603
|
+
else if (referenceId !== undefined)
|
|
604
|
+
url_ += "referenceId=" + encodeURIComponent("" + referenceId) + "&";
|
|
595
605
|
if (page === null)
|
|
596
606
|
throw new Error("The parameter 'page' cannot be null.");
|
|
597
607
|
else if (page !== undefined)
|
|
@@ -637,6 +647,53 @@ export class Client {
|
|
|
637
647
|
}
|
|
638
648
|
return Promise.resolve(null);
|
|
639
649
|
}
|
|
650
|
+
/**
|
|
651
|
+
* Update an Financial Institution's Reference ID.
|
|
652
|
+
* @param body (optional) The request containing the updated reference information.
|
|
653
|
+
* @return No Content
|
|
654
|
+
*/
|
|
655
|
+
reference(body) {
|
|
656
|
+
let url_ = this.baseUrl + "/primary/v1/financial-institution/reference";
|
|
657
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
658
|
+
const content_ = JSON.stringify(body);
|
|
659
|
+
let options_ = {
|
|
660
|
+
body: content_,
|
|
661
|
+
method: "PUT",
|
|
662
|
+
headers: {
|
|
663
|
+
"Content-Type": "application/json",
|
|
664
|
+
}
|
|
665
|
+
};
|
|
666
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
667
|
+
return this.processReference(_response);
|
|
668
|
+
});
|
|
669
|
+
}
|
|
670
|
+
processReference(response) {
|
|
671
|
+
const status = response.status;
|
|
672
|
+
let _headers = {};
|
|
673
|
+
if (response.headers && response.headers.forEach) {
|
|
674
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
675
|
+
}
|
|
676
|
+
;
|
|
677
|
+
if (status === 204) {
|
|
678
|
+
return response.text().then((_responseText) => {
|
|
679
|
+
return;
|
|
680
|
+
});
|
|
681
|
+
}
|
|
682
|
+
else if (status === 404) {
|
|
683
|
+
return response.text().then((_responseText) => {
|
|
684
|
+
let result404 = null;
|
|
685
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
686
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
687
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
688
|
+
});
|
|
689
|
+
}
|
|
690
|
+
else if (status !== 200 && status !== 204) {
|
|
691
|
+
return response.text().then((_responseText) => {
|
|
692
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
693
|
+
});
|
|
694
|
+
}
|
|
695
|
+
return Promise.resolve(null);
|
|
696
|
+
}
|
|
640
697
|
/**
|
|
641
698
|
* Create an Indication of Interest
|
|
642
699
|
* @param body (optional) create IndicationOfInterest information.
|
|
@@ -1553,12 +1610,13 @@ export class Client {
|
|
|
1553
1610
|
* @param preIPOCompanyName (optional) Optional Company Name to filter on.
|
|
1554
1611
|
* @param preIPOCompanySPVName (optional) Optional SPV Name to filter on.
|
|
1555
1612
|
* @param tradingSymbol (optional) Optional Trading Symbol to filter on.
|
|
1613
|
+
* @param orderReferenceId (optional)
|
|
1556
1614
|
* @param page (optional)
|
|
1557
1615
|
* @param pageSize (optional)
|
|
1558
1616
|
* @param sortOrder (optional)
|
|
1559
1617
|
* @return OK
|
|
1560
1618
|
*/
|
|
1561
|
-
investorSubscriptionGET(preIpoCompanySpvId, investorId, status, preIPOCompanyName, preIPOCompanySPVName, tradingSymbol, page, pageSize, sortOrder) {
|
|
1619
|
+
investorSubscriptionGET(preIpoCompanySpvId, investorId, status, preIPOCompanyName, preIPOCompanySPVName, tradingSymbol, orderReferenceId, page, pageSize, sortOrder) {
|
|
1562
1620
|
let url_ = this.baseUrl + "/primary/v1/investor-subscription?";
|
|
1563
1621
|
if (preIpoCompanySpvId === null)
|
|
1564
1622
|
throw new Error("The parameter 'preIpoCompanySpvId' cannot be null.");
|
|
@@ -1584,6 +1642,10 @@ export class Client {
|
|
|
1584
1642
|
throw new Error("The parameter 'tradingSymbol' cannot be null.");
|
|
1585
1643
|
else if (tradingSymbol !== undefined)
|
|
1586
1644
|
url_ += "tradingSymbol=" + encodeURIComponent("" + tradingSymbol) + "&";
|
|
1645
|
+
if (orderReferenceId === null)
|
|
1646
|
+
throw new Error("The parameter 'orderReferenceId' cannot be null.");
|
|
1647
|
+
else if (orderReferenceId !== undefined)
|
|
1648
|
+
url_ += "orderReferenceId=" + encodeURIComponent("" + orderReferenceId) + "&";
|
|
1587
1649
|
if (page === null)
|
|
1588
1650
|
throw new Error("The parameter 'page' cannot be null.");
|
|
1589
1651
|
else if (page !== undefined)
|
|
@@ -3810,16 +3872,27 @@ export class Client {
|
|
|
3810
3872
|
return Promise.resolve(null);
|
|
3811
3873
|
}
|
|
3812
3874
|
/**
|
|
3813
|
-
*
|
|
3814
|
-
|
|
3875
|
+
* Retrieves a paginated list of detailed PreIPOCompanies with optional filters and includes.
|
|
3876
|
+
Includes More detail such as News, Research, Investments, Spv's and Funding Rounds.
|
|
3877
|
+
* @param filterId (optional) Optional filter ID to narrow down the PreIPOCompanies.
|
|
3878
|
+
* @param filterBy (optional) Optional filter type to categorize the PreIPOCompanies (e.g., Company, Investment, Spv).
|
|
3879
|
+
* @param includes (optional) Optional list of additional data to include with the response (e.g., News, Research, Investments).
|
|
3815
3880
|
* @param listingType (optional) Optional listing status filter.
|
|
3816
3881
|
* @param isActive (optional) Optional active state filter.
|
|
3817
|
-
* @param page (optional)
|
|
3818
|
-
* @param pageSize (optional)
|
|
3819
|
-
* @return
|
|
3882
|
+
* @param page (optional) Page number for pagination, starting from 1.
|
|
3883
|
+
* @param pageSize (optional) Number of items per page for pagination, Default = 25.
|
|
3884
|
+
* @return Returns the filtered and paginated list of detailed PreIPOCompanies.
|
|
3820
3885
|
*/
|
|
3821
|
-
detailed(includes, listingType, isActive, page, pageSize) {
|
|
3886
|
+
detailed(filterId, filterBy, includes, listingType, isActive, page, pageSize) {
|
|
3822
3887
|
let url_ = this.baseUrl + "/primary/v1/pre-ipo-company/detailed?";
|
|
3888
|
+
if (filterId === null)
|
|
3889
|
+
throw new Error("The parameter 'filterId' cannot be null.");
|
|
3890
|
+
else if (filterId !== undefined)
|
|
3891
|
+
url_ += "filterId=" + encodeURIComponent("" + filterId) + "&";
|
|
3892
|
+
if (filterBy === null)
|
|
3893
|
+
throw new Error("The parameter 'filterBy' cannot be null.");
|
|
3894
|
+
else if (filterBy !== undefined)
|
|
3895
|
+
url_ += "filterBy=" + encodeURIComponent("" + filterBy) + "&";
|
|
3823
3896
|
if (includes === null)
|
|
3824
3897
|
throw new Error("The parameter 'includes' cannot be null.");
|
|
3825
3898
|
else if (includes !== undefined)
|
|
@@ -3866,6 +3939,22 @@ export class Client {
|
|
|
3866
3939
|
return result200;
|
|
3867
3940
|
});
|
|
3868
3941
|
}
|
|
3942
|
+
else if (status === 404) {
|
|
3943
|
+
return response.text().then((_responseText) => {
|
|
3944
|
+
let result404 = null;
|
|
3945
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3946
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
3947
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3948
|
+
});
|
|
3949
|
+
}
|
|
3950
|
+
else if (status === 400) {
|
|
3951
|
+
return response.text().then((_responseText) => {
|
|
3952
|
+
let result400 = null;
|
|
3953
|
+
let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3954
|
+
result400 = ProblemDetails.fromJS(resultData400);
|
|
3955
|
+
return throwException("Bad Request", status, _responseText, _headers, result400);
|
|
3956
|
+
});
|
|
3957
|
+
}
|
|
3869
3958
|
else if (status !== 200 && status !== 204) {
|
|
3870
3959
|
return response.text().then((_responseText) => {
|
|
3871
3960
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -6187,7 +6276,7 @@ export class BulkPreIPOCompany {
|
|
|
6187
6276
|
this.country = _data["country"];
|
|
6188
6277
|
this.address = _data["address"];
|
|
6189
6278
|
this.type = _data["type"];
|
|
6190
|
-
this.yearEst = _data["yearEst"]
|
|
6279
|
+
this.yearEst = _data["yearEst"];
|
|
6191
6280
|
this.numJobs = _data["numJobs"];
|
|
6192
6281
|
this.description = _data["description"];
|
|
6193
6282
|
this.founder = _data["founder"];
|
|
@@ -6278,7 +6367,7 @@ export class BulkPreIPOCompany {
|
|
|
6278
6367
|
data["country"] = this.country;
|
|
6279
6368
|
data["address"] = this.address;
|
|
6280
6369
|
data["type"] = this.type;
|
|
6281
|
-
data["yearEst"] = this.yearEst
|
|
6370
|
+
data["yearEst"] = this.yearEst;
|
|
6282
6371
|
data["numJobs"] = this.numJobs;
|
|
6283
6372
|
data["description"] = this.description;
|
|
6284
6373
|
data["founder"] = this.founder;
|
|
@@ -6733,6 +6822,7 @@ export class CreateInvestorSubscription {
|
|
|
6733
6822
|
this.preIPOCompanySPVId = _data["preIPOCompanySPVId"];
|
|
6734
6823
|
this.investorId = _data["investorId"];
|
|
6735
6824
|
this.amountReservedDollars = _data["amountReservedDollars"];
|
|
6825
|
+
this.orderReferenceId = _data["orderReferenceId"];
|
|
6736
6826
|
}
|
|
6737
6827
|
}
|
|
6738
6828
|
static fromJS(data) {
|
|
@@ -6746,6 +6836,7 @@ export class CreateInvestorSubscription {
|
|
|
6746
6836
|
data["preIPOCompanySPVId"] = this.preIPOCompanySPVId;
|
|
6747
6837
|
data["investorId"] = this.investorId;
|
|
6748
6838
|
data["amountReservedDollars"] = this.amountReservedDollars;
|
|
6839
|
+
data["orderReferenceId"] = this.orderReferenceId;
|
|
6749
6840
|
return data;
|
|
6750
6841
|
}
|
|
6751
6842
|
}
|
|
@@ -6996,6 +7087,7 @@ export class Document {
|
|
|
6996
7087
|
this.investorSubscriptionId = _data["investorSubscriptionId"];
|
|
6997
7088
|
this.partnerId = _data["partnerId"];
|
|
6998
7089
|
this.registeredFundId = _data["registeredFundId"];
|
|
7090
|
+
this.registeredFundSubscriptionId = _data["registeredFundSubscriptionId"];
|
|
6999
7091
|
this.type = _data["type"];
|
|
7000
7092
|
this.templateDocument = _data["templateDocument"];
|
|
7001
7093
|
this.taxYear = _data["taxYear"];
|
|
@@ -7020,6 +7112,7 @@ export class Document {
|
|
|
7020
7112
|
data["investorSubscriptionId"] = this.investorSubscriptionId;
|
|
7021
7113
|
data["partnerId"] = this.partnerId;
|
|
7022
7114
|
data["registeredFundId"] = this.registeredFundId;
|
|
7115
|
+
data["registeredFundSubscriptionId"] = this.registeredFundSubscriptionId;
|
|
7023
7116
|
data["type"] = this.type;
|
|
7024
7117
|
data["templateDocument"] = this.templateDocument;
|
|
7025
7118
|
data["taxYear"] = this.taxYear;
|
|
@@ -7277,6 +7370,7 @@ export class FinancialInstitution {
|
|
|
7277
7370
|
this.createdAt = _data["createdAt"] ? new Date(_data["createdAt"].toString()) : undefined;
|
|
7278
7371
|
this.updatedAt = _data["updatedAt"] ? new Date(_data["updatedAt"].toString()) : undefined;
|
|
7279
7372
|
this.partner = _data["partner"] ? Partner.fromJS(_data["partner"]) : undefined;
|
|
7373
|
+
this.financialInstitutionReferenceId = _data["financialInstitutionReferenceId"];
|
|
7280
7374
|
}
|
|
7281
7375
|
}
|
|
7282
7376
|
static fromJS(data) {
|
|
@@ -7301,6 +7395,7 @@ export class FinancialInstitution {
|
|
|
7301
7395
|
data["createdAt"] = this.createdAt ? this.createdAt.toISOString() : undefined;
|
|
7302
7396
|
data["updatedAt"] = this.updatedAt ? this.updatedAt.toISOString() : undefined;
|
|
7303
7397
|
data["partner"] = this.partner ? this.partner.toJSON() : undefined;
|
|
7398
|
+
data["financialInstitutionReferenceId"] = this.financialInstitutionReferenceId;
|
|
7304
7399
|
return data;
|
|
7305
7400
|
}
|
|
7306
7401
|
}
|
|
@@ -7522,6 +7617,7 @@ export class IndividualEntityInvestor {
|
|
|
7522
7617
|
this.qualifiedStatus = _data["qualifiedStatus"];
|
|
7523
7618
|
this.entityInvestorType = _data["entityInvestorType"];
|
|
7524
7619
|
this.percentageOwned = _data["percentageOwned"];
|
|
7620
|
+
this.title = _data["title"];
|
|
7525
7621
|
this.id = _data["id"];
|
|
7526
7622
|
}
|
|
7527
7623
|
}
|
|
@@ -7562,6 +7658,7 @@ export class IndividualEntityInvestor {
|
|
|
7562
7658
|
data["qualifiedStatus"] = this.qualifiedStatus;
|
|
7563
7659
|
data["entityInvestorType"] = this.entityInvestorType;
|
|
7564
7660
|
data["percentageOwned"] = this.percentageOwned;
|
|
7661
|
+
data["title"] = this.title;
|
|
7565
7662
|
data["id"] = this.id;
|
|
7566
7663
|
return data;
|
|
7567
7664
|
}
|
|
@@ -7606,6 +7703,7 @@ export class IndividualEntityInvestorBase {
|
|
|
7606
7703
|
this.qualifiedStatus = _data["qualifiedStatus"];
|
|
7607
7704
|
this.entityInvestorType = _data["entityInvestorType"];
|
|
7608
7705
|
this.percentageOwned = _data["percentageOwned"];
|
|
7706
|
+
this.title = _data["title"];
|
|
7609
7707
|
}
|
|
7610
7708
|
}
|
|
7611
7709
|
static fromJS(data) {
|
|
@@ -7645,6 +7743,7 @@ export class IndividualEntityInvestorBase {
|
|
|
7645
7743
|
data["qualifiedStatus"] = this.qualifiedStatus;
|
|
7646
7744
|
data["entityInvestorType"] = this.entityInvestorType;
|
|
7647
7745
|
data["percentageOwned"] = this.percentageOwned;
|
|
7746
|
+
data["title"] = this.title;
|
|
7648
7747
|
return data;
|
|
7649
7748
|
}
|
|
7650
7749
|
}
|
|
@@ -9403,7 +9502,7 @@ export class PreIPOCompany {
|
|
|
9403
9502
|
this.country = _data["country"];
|
|
9404
9503
|
this.address = _data["address"];
|
|
9405
9504
|
this.type = _data["type"];
|
|
9406
|
-
this.yearEst = _data["yearEst"]
|
|
9505
|
+
this.yearEst = _data["yearEst"];
|
|
9407
9506
|
this.numJobs = _data["numJobs"];
|
|
9408
9507
|
this.description = _data["description"];
|
|
9409
9508
|
this.founder = _data["founder"];
|
|
@@ -9469,7 +9568,7 @@ export class PreIPOCompany {
|
|
|
9469
9568
|
data["country"] = this.country;
|
|
9470
9569
|
data["address"] = this.address;
|
|
9471
9570
|
data["type"] = this.type;
|
|
9472
|
-
data["yearEst"] = this.yearEst
|
|
9571
|
+
data["yearEst"] = this.yearEst;
|
|
9473
9572
|
data["numJobs"] = this.numJobs;
|
|
9474
9573
|
data["description"] = this.description;
|
|
9475
9574
|
data["founder"] = this.founder;
|
|
@@ -10942,6 +11041,34 @@ export class UpdateFinancialAdvisor {
|
|
|
10942
11041
|
return data;
|
|
10943
11042
|
}
|
|
10944
11043
|
}
|
|
11044
|
+
export class UpdateFinancialInstitutionReferenceId {
|
|
11045
|
+
constructor(data) {
|
|
11046
|
+
if (data) {
|
|
11047
|
+
for (var property in data) {
|
|
11048
|
+
if (data.hasOwnProperty(property))
|
|
11049
|
+
this[property] = data[property];
|
|
11050
|
+
}
|
|
11051
|
+
}
|
|
11052
|
+
}
|
|
11053
|
+
init(_data) {
|
|
11054
|
+
if (_data) {
|
|
11055
|
+
this.financialInstitutionId = _data["financialInstitutionId"];
|
|
11056
|
+
this.financialInstitutionReferenceId = _data["financialInstitutionReferenceId"];
|
|
11057
|
+
}
|
|
11058
|
+
}
|
|
11059
|
+
static fromJS(data) {
|
|
11060
|
+
data = typeof data === 'object' ? data : {};
|
|
11061
|
+
let result = new UpdateFinancialInstitutionReferenceId();
|
|
11062
|
+
result.init(data);
|
|
11063
|
+
return result;
|
|
11064
|
+
}
|
|
11065
|
+
toJSON(data) {
|
|
11066
|
+
data = typeof data === 'object' ? data : {};
|
|
11067
|
+
data["financialInstitutionId"] = this.financialInstitutionId;
|
|
11068
|
+
data["financialInstitutionReferenceId"] = this.financialInstitutionReferenceId;
|
|
11069
|
+
return data;
|
|
11070
|
+
}
|
|
11071
|
+
}
|
|
10945
11072
|
/** IndicationOfInterest represents the primary offering information on the IoI. */
|
|
10946
11073
|
export class UpdateIndicationOfInterest {
|
|
10947
11074
|
constructor(data) {
|
|
@@ -11017,6 +11144,7 @@ export class UpdateIndividualEntityInvestor {
|
|
|
11017
11144
|
this.qualifiedStatus = _data["qualifiedStatus"];
|
|
11018
11145
|
this.entityInvestorType = _data["entityInvestorType"];
|
|
11019
11146
|
this.percentageOwned = _data["percentageOwned"];
|
|
11147
|
+
this.title = _data["title"];
|
|
11020
11148
|
this.id = _data["id"];
|
|
11021
11149
|
}
|
|
11022
11150
|
}
|
|
@@ -11057,6 +11185,7 @@ export class UpdateIndividualEntityInvestor {
|
|
|
11057
11185
|
data["qualifiedStatus"] = this.qualifiedStatus;
|
|
11058
11186
|
data["entityInvestorType"] = this.entityInvestorType;
|
|
11059
11187
|
data["percentageOwned"] = this.percentageOwned;
|
|
11188
|
+
data["title"] = this.title;
|
|
11060
11189
|
data["id"] = this.id;
|
|
11061
11190
|
return data;
|
|
11062
11191
|
}
|
|
@@ -11569,6 +11698,7 @@ export var Status;
|
|
|
11569
11698
|
Status["Processing"] = "Processing";
|
|
11570
11699
|
Status["Complete"] = "Complete";
|
|
11571
11700
|
Status["Rejected"] = "Rejected";
|
|
11701
|
+
Status["Failed"] = "Failed";
|
|
11572
11702
|
})(Status || (Status = {}));
|
|
11573
11703
|
export var SortOrder6;
|
|
11574
11704
|
(function (SortOrder6) {
|
|
@@ -11587,6 +11717,12 @@ export var SortOrder7;
|
|
|
11587
11717
|
SortOrder7["Ascending"] = "Ascending";
|
|
11588
11718
|
SortOrder7["Descending"] = "Descending";
|
|
11589
11719
|
})(SortOrder7 || (SortOrder7 = {}));
|
|
11720
|
+
export var FilterBy;
|
|
11721
|
+
(function (FilterBy) {
|
|
11722
|
+
FilterBy["Company"] = "Company";
|
|
11723
|
+
FilterBy["Investment"] = "Investment";
|
|
11724
|
+
FilterBy["Spv"] = "Spv";
|
|
11725
|
+
})(FilterBy || (FilterBy = {}));
|
|
11590
11726
|
export var Includes;
|
|
11591
11727
|
(function (Includes) {
|
|
11592
11728
|
Includes["News"] = "News";
|
|
@@ -12007,6 +12143,7 @@ export var InvestorSubscriptionStatus;
|
|
|
12007
12143
|
InvestorSubscriptionStatus["Processing"] = "Processing";
|
|
12008
12144
|
InvestorSubscriptionStatus["Complete"] = "Complete";
|
|
12009
12145
|
InvestorSubscriptionStatus["Rejected"] = "Rejected";
|
|
12146
|
+
InvestorSubscriptionStatus["Failed"] = "Failed";
|
|
12010
12147
|
})(InvestorSubscriptionStatus || (InvestorSubscriptionStatus = {}));
|
|
12011
12148
|
export var InvestorSubscriptionActionStatus;
|
|
12012
12149
|
(function (InvestorSubscriptionActionStatus) {
|