@monarkmarkets/api-client 1.3.50 → 1.3.52
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 +63 -20
- package/dist/Client.js +74 -18
- package/package.json +1 -1
package/dist/Client.d.ts
CHANGED
|
@@ -233,6 +233,7 @@ export declare class Client {
|
|
|
233
233
|
* Get all IndicationOfInterests.
|
|
234
234
|
* @param searchTerm (optional) Optional search term on the company/target name.
|
|
235
235
|
* @param investorId (optional) Filter the returned IndicationOfInterests by an InvestorId.
|
|
236
|
+
* @param targetAssetType (optional) Filter the returned IndicationOfInterests by the primary_offering_api_models.IndicationOfInterests.Enums.IndicationOfInterestTargetAssetType.
|
|
236
237
|
* @param page (optional) Number of the page to retrieve.
|
|
237
238
|
Defaults to 1 if not specified.
|
|
238
239
|
* @param pageSize (optional) Size of the page to retrieve.
|
|
@@ -241,7 +242,7 @@ export declare class Client {
|
|
|
241
242
|
* @param sortOrder (optional) Which direction to sort by.
|
|
242
243
|
* @return Returns the list of IndicationOfInterest.
|
|
243
244
|
*/
|
|
244
|
-
getAllIndicationOfInterestsV2(searchTerm: string | undefined, investorId: string | undefined, page: number | undefined, pageSize: number | undefined, sortProperty: SortProperty2 | undefined, sortOrder: SortOrder6 | undefined): Promise<IndicationOfInterestV2ApiResponse>;
|
|
245
|
+
getAllIndicationOfInterestsV2(searchTerm: string | undefined, investorId: string | undefined, targetAssetType: TargetAssetType | undefined, page: number | undefined, pageSize: number | undefined, sortProperty: SortProperty2 | undefined, sortOrder: SortOrder6 | undefined): Promise<IndicationOfInterestV2ApiResponse>;
|
|
245
246
|
protected processGetAllIndicationOfInterestsV2(response: Response): Promise<IndicationOfInterestV2ApiResponse>;
|
|
246
247
|
/**
|
|
247
248
|
* Get an IndicationOfInterest by Id.
|
|
@@ -1042,7 +1043,7 @@ export declare class Client {
|
|
|
1042
1043
|
* @param sortProperty (optional) Which property to sort the prospective offerings by (CreatedAt, CompanyName, Side, PricePerShare, AvailableVolume, ClosingDate, UpdatedAt).
|
|
1043
1044
|
* @return OK
|
|
1044
1045
|
*/
|
|
1045
|
-
getAllProspectiveOfferings(financialInstitutionId: string, targetAssetType:
|
|
1046
|
+
getAllProspectiveOfferings(financialInstitutionId: string, targetAssetType: TargetAssetType2, page: number | undefined, pageSize: number | undefined, searchTerm: string | undefined, targetId: string | undefined, side: string | undefined, sortOrder: SortOrder17 | undefined, sortProperty: SortProperty3 | undefined): Promise<ProspectiveOfferingApiResponse>;
|
|
1046
1047
|
protected processGetAllProspectiveOfferings(response: Response): Promise<ProspectiveOfferingApiResponse>;
|
|
1047
1048
|
/**
|
|
1048
1049
|
* Create a Questionnaire.
|
|
@@ -1080,9 +1081,10 @@ export declare class Client {
|
|
|
1080
1081
|
* Get a Questionnaire by Id
|
|
1081
1082
|
* @param id ID of the Questionnaire to find.
|
|
1082
1083
|
* @param investorId (optional) Optional investor ID to filter questions based on Investor details.
|
|
1084
|
+
* @param financialAdvisorId (optional) Optional financial advisor ID to filter questions based on advisor details. Requires investorId to be specified.
|
|
1083
1085
|
* @return Returns the Questionnaire with the specified Id.
|
|
1084
1086
|
*/
|
|
1085
|
-
getQuestionnaireById(id: string, investorId: string | undefined): Promise<Questionnaire>;
|
|
1087
|
+
getQuestionnaireById(id: string, investorId: string | undefined, financialAdvisorId: string | undefined): Promise<Questionnaire>;
|
|
1086
1088
|
protected processGetQuestionnaireById(response: Response): Promise<Questionnaire>;
|
|
1087
1089
|
/**
|
|
1088
1090
|
* Create a QuestionnaireAnswer
|
|
@@ -1292,7 +1294,7 @@ export declare class Client {
|
|
|
1292
1294
|
* @param side (optional) Optional: Filter by transaction side. (Currently only supported for registered funds)
|
|
1293
1295
|
* @return OK
|
|
1294
1296
|
*/
|
|
1295
|
-
getTransactions(targetAssetType:
|
|
1297
|
+
getTransactions(targetAssetType: TargetAssetType3, page: number | undefined, pageSize: number | undefined, targetId: string | undefined, investorId: string | undefined, status: string | undefined, referenceId: string | undefined, managerId: string | undefined, includeDocuments: boolean | undefined, side: Side | undefined): Promise<TransactionApiResponse>;
|
|
1296
1298
|
protected processGetTransactions(response: Response): Promise<TransactionApiResponse>;
|
|
1297
1299
|
/**
|
|
1298
1300
|
* Update an existing transaction.
|
|
@@ -1320,7 +1322,7 @@ export declare class Client {
|
|
|
1320
1322
|
* @param includeDocuments (optional) Optional flag to include associated documents.
|
|
1321
1323
|
* @return OK
|
|
1322
1324
|
*/
|
|
1323
|
-
getTransactionsByInvestor(investorId: string, targetAssetType:
|
|
1325
|
+
getTransactionsByInvestor(investorId: string, targetAssetType: TargetAssetType4 | undefined, page: number | undefined, pageSize: number | undefined, includeDocuments: boolean | undefined): Promise<TransactionApiResponse>;
|
|
1324
1326
|
protected processGetTransactionsByInvestor(response: Response): Promise<TransactionApiResponse>;
|
|
1325
1327
|
/**
|
|
1326
1328
|
* Get a specific transaction for an investor by target ID.
|
|
@@ -1330,7 +1332,7 @@ export declare class Client {
|
|
|
1330
1332
|
* @param includeDocuments (optional) Optional flag to include associated documents.
|
|
1331
1333
|
* @return OK
|
|
1332
1334
|
*/
|
|
1333
|
-
getTransactionByInvestorAndTargetId(investorId: string, targetId: string, targetAssetType:
|
|
1335
|
+
getTransactionByInvestorAndTargetId(investorId: string, targetId: string, targetAssetType: TargetAssetType5 | undefined, includeDocuments: boolean | undefined): Promise<Transaction>;
|
|
1334
1336
|
protected processGetTransactionByInvestorAndTargetId(response: Response): Promise<Transaction>;
|
|
1335
1337
|
/**
|
|
1336
1338
|
* Update a transaction's reference ID.
|
|
@@ -1346,7 +1348,7 @@ export declare class Client {
|
|
|
1346
1348
|
* @param body (optional)
|
|
1347
1349
|
* @return OK
|
|
1348
1350
|
*/
|
|
1349
|
-
rejectTransaction(id: string, targetAssetType:
|
|
1351
|
+
rejectTransaction(id: string, targetAssetType: TargetAssetType6 | undefined, body: any | undefined): Promise<Transaction>;
|
|
1350
1352
|
protected processRejectTransaction(response: Response): Promise<Transaction>;
|
|
1351
1353
|
/**
|
|
1352
1354
|
* Get all TransactionActions by Transaction.
|
|
@@ -1394,7 +1396,7 @@ export declare class Client {
|
|
|
1394
1396
|
* @param pageSize (optional) Page size for pagination (default: 25).
|
|
1395
1397
|
* @return Returns the paginated list of watchlist items.
|
|
1396
1398
|
*/
|
|
1397
|
-
getAll(investorId: string | undefined, advisorId: string | undefined, targetId: string | undefined, targetAssetType:
|
|
1399
|
+
getAll(investorId: string | undefined, advisorId: string | undefined, targetId: string | undefined, targetAssetType: TargetAssetType7 | undefined, ownerType: OwnerType | undefined, pageNumber: number | undefined, pageSize: number | undefined): Promise<WatchlistApiResponse>;
|
|
1398
1400
|
protected processGetAll(response: Response): Promise<WatchlistApiResponse>;
|
|
1399
1401
|
/**
|
|
1400
1402
|
* Get a watchlist item by investor ID and target ID.
|
|
@@ -2183,8 +2185,13 @@ export declare class CreateInvestor implements ICreateInvestor {
|
|
|
2183
2185
|
/** The Financial Institution ID associated with the Investor.
|
|
2184
2186
|
If not provided, the default Financial Institution for the Partner will be used. */
|
|
2185
2187
|
financialInstitutionId?: string | undefined;
|
|
2186
|
-
/** The Financial Advisor ID associated with the Investor.
|
|
2188
|
+
/** The Financial Advisor ID associated with the Investor.
|
|
2189
|
+
For backward compatibility: use this field to assign a single advisor. */
|
|
2187
2190
|
financialAdvisorId?: string | undefined;
|
|
2191
|
+
/** List of Financial Advisor IDs to associate with the Investor.
|
|
2192
|
+
The first advisor in the list will be marked as primary.
|
|
2193
|
+
Cannot be used together with FinancialAdvisorId. */
|
|
2194
|
+
financialAdvisorIds?: string[] | undefined;
|
|
2188
2195
|
/** Represents the unique ID provided by a Partner, used to identify an Investor. */
|
|
2189
2196
|
investorReferenceId: string;
|
|
2190
2197
|
/** Type of the Investor. */
|
|
@@ -2201,8 +2208,13 @@ export interface ICreateInvestor {
|
|
|
2201
2208
|
/** The Financial Institution ID associated with the Investor.
|
|
2202
2209
|
If not provided, the default Financial Institution for the Partner will be used. */
|
|
2203
2210
|
financialInstitutionId?: string | undefined;
|
|
2204
|
-
/** The Financial Advisor ID associated with the Investor.
|
|
2211
|
+
/** The Financial Advisor ID associated with the Investor.
|
|
2212
|
+
For backward compatibility: use this field to assign a single advisor. */
|
|
2205
2213
|
financialAdvisorId?: string | undefined;
|
|
2214
|
+
/** List of Financial Advisor IDs to associate with the Investor.
|
|
2215
|
+
The first advisor in the list will be marked as primary.
|
|
2216
|
+
Cannot be used together with FinancialAdvisorId. */
|
|
2217
|
+
financialAdvisorIds?: string[] | undefined;
|
|
2206
2218
|
/** Represents the unique ID provided by a Partner, used to identify an Investor. */
|
|
2207
2219
|
investorReferenceId: string;
|
|
2208
2220
|
/** Type of the Investor. */
|
|
@@ -2391,6 +2403,9 @@ export declare class CreateTransaction implements ICreateTransaction {
|
|
|
2391
2403
|
isFullExit?: boolean | undefined;
|
|
2392
2404
|
/** The reference ID of an order submitted. */
|
|
2393
2405
|
referenceId?: string | undefined;
|
|
2406
|
+
/** The financial advisor ID to assign to this transaction.
|
|
2407
|
+
If not provided, no advisor will be assigned. */
|
|
2408
|
+
financialAdvisorId?: string | undefined;
|
|
2394
2409
|
constructor(data?: ICreateTransaction);
|
|
2395
2410
|
init(_data?: any): void;
|
|
2396
2411
|
static fromJS(data: any): CreateTransaction;
|
|
@@ -2413,6 +2428,9 @@ export interface ICreateTransaction {
|
|
|
2413
2428
|
isFullExit?: boolean | undefined;
|
|
2414
2429
|
/** The reference ID of an order submitted. */
|
|
2415
2430
|
referenceId?: string | undefined;
|
|
2431
|
+
/** The financial advisor ID to assign to this transaction.
|
|
2432
|
+
If not provided, no advisor will be assigned. */
|
|
2433
|
+
financialAdvisorId?: string | undefined;
|
|
2416
2434
|
}
|
|
2417
2435
|
/** CreateWatchlist represents the request to create or update a watchlist item. */
|
|
2418
2436
|
export declare class CreateWatchlist implements ICreateWatchlist {
|
|
@@ -3944,8 +3962,12 @@ export declare class Investor implements IInvestor {
|
|
|
3944
3962
|
partnerId: string;
|
|
3945
3963
|
/** The Financial Institution ID associated with the Investor. */
|
|
3946
3964
|
financialInstitutionId: string | undefined;
|
|
3947
|
-
/** The Financial Advisor ID associated with the Investor.
|
|
3965
|
+
/** The Financial Advisor ID associated with the Investor.
|
|
3966
|
+
For backward compatibility: returns the single advisor ID if investor has exactly one advisor, otherwise null. */
|
|
3948
3967
|
financialAdvisorId: string | undefined;
|
|
3968
|
+
/** List of Financial Advisor IDs associated with the Investor.
|
|
3969
|
+
Supports many-to-many relationship between investors and advisors. */
|
|
3970
|
+
financialAdvisorIds?: string[] | undefined;
|
|
3949
3971
|
/** Updated at the specified date. */
|
|
3950
3972
|
updatedAt?: Date | undefined;
|
|
3951
3973
|
/** Represents the unique ID provided by a Partner, used to identify an Investor. */
|
|
@@ -3981,8 +4003,12 @@ export interface IInvestor {
|
|
|
3981
4003
|
partnerId: string;
|
|
3982
4004
|
/** The Financial Institution ID associated with the Investor. */
|
|
3983
4005
|
financialInstitutionId: string | undefined;
|
|
3984
|
-
/** The Financial Advisor ID associated with the Investor.
|
|
4006
|
+
/** The Financial Advisor ID associated with the Investor.
|
|
4007
|
+
For backward compatibility: returns the single advisor ID if investor has exactly one advisor, otherwise null. */
|
|
3985
4008
|
financialAdvisorId: string | undefined;
|
|
4009
|
+
/** List of Financial Advisor IDs associated with the Investor.
|
|
4010
|
+
Supports many-to-many relationship between investors and advisors. */
|
|
4011
|
+
financialAdvisorIds?: string[] | undefined;
|
|
3986
4012
|
/** Updated at the specified date. */
|
|
3987
4013
|
updatedAt?: Date | undefined;
|
|
3988
4014
|
/** Represents the unique ID provided by a Partner, used to identify an Investor. */
|
|
@@ -8333,8 +8359,14 @@ export declare class UpdateInvestor implements IUpdateInvestor {
|
|
|
8333
8359
|
id: string;
|
|
8334
8360
|
/** Represents the unique ID provided by a Partner, used to identify an Investor. */
|
|
8335
8361
|
investorReferenceId?: string | undefined;
|
|
8336
|
-
/** The Financial Advisor ID associated with the Investor.
|
|
8362
|
+
/** The Financial Advisor ID associated with the Investor.
|
|
8363
|
+
For backward compatibility: use this field to update to a single advisor. */
|
|
8337
8364
|
financialAdvisorId?: string | undefined;
|
|
8365
|
+
/** List of Financial Advisor IDs to associate with the Investor.
|
|
8366
|
+
When provided, replaces all existing advisor associations.
|
|
8367
|
+
The first advisor in the list will be marked as primary.
|
|
8368
|
+
Cannot be used together with FinancialAdvisorId. */
|
|
8369
|
+
financialAdvisorIds?: string[] | undefined;
|
|
8338
8370
|
constructor(data?: IUpdateInvestor);
|
|
8339
8371
|
init(_data?: any): void;
|
|
8340
8372
|
static fromJS(data: any): UpdateInvestor;
|
|
@@ -8349,8 +8381,14 @@ export interface IUpdateInvestor {
|
|
|
8349
8381
|
id: string;
|
|
8350
8382
|
/** Represents the unique ID provided by a Partner, used to identify an Investor. */
|
|
8351
8383
|
investorReferenceId?: string | undefined;
|
|
8352
|
-
/** The Financial Advisor ID associated with the Investor.
|
|
8384
|
+
/** The Financial Advisor ID associated with the Investor.
|
|
8385
|
+
For backward compatibility: use this field to update to a single advisor. */
|
|
8353
8386
|
financialAdvisorId?: string | undefined;
|
|
8387
|
+
/** List of Financial Advisor IDs to associate with the Investor.
|
|
8388
|
+
When provided, replaces all existing advisor associations.
|
|
8389
|
+
The first advisor in the list will be marked as primary.
|
|
8390
|
+
Cannot be used together with FinancialAdvisorId. */
|
|
8391
|
+
financialAdvisorIds?: string[] | undefined;
|
|
8354
8392
|
}
|
|
8355
8393
|
export declare class UpdateInvestorAccreditation implements IUpdateInvestorAccreditation {
|
|
8356
8394
|
investorId: string;
|
|
@@ -8819,6 +8857,11 @@ export declare enum SortOrder5 {
|
|
|
8819
8857
|
Ascending = "Ascending",
|
|
8820
8858
|
Descending = "Descending"
|
|
8821
8859
|
}
|
|
8860
|
+
export declare enum TargetAssetType {
|
|
8861
|
+
RegisteredFund = "RegisteredFund",
|
|
8862
|
+
PreIPOCompany = "PreIPOCompany",
|
|
8863
|
+
ProspectiveOffering = "ProspectiveOffering"
|
|
8864
|
+
}
|
|
8822
8865
|
export declare enum SortProperty2 {
|
|
8823
8866
|
UpdatedAt = "UpdatedAt",
|
|
8824
8867
|
CreatedAt = "CreatedAt",
|
|
@@ -8988,7 +9031,7 @@ export declare enum SortOrder16 {
|
|
|
8988
9031
|
Ascending = "Ascending",
|
|
8989
9032
|
Descending = "Descending"
|
|
8990
9033
|
}
|
|
8991
|
-
export declare enum
|
|
9034
|
+
export declare enum TargetAssetType2 {
|
|
8992
9035
|
RegisteredFund = "RegisteredFund",
|
|
8993
9036
|
PreIPOCompany = "PreIPOCompany"
|
|
8994
9037
|
}
|
|
@@ -9051,7 +9094,7 @@ export declare enum SortOrder26 {
|
|
|
9051
9094
|
Ascending = "Ascending",
|
|
9052
9095
|
Descending = "Descending"
|
|
9053
9096
|
}
|
|
9054
|
-
export declare enum
|
|
9097
|
+
export declare enum TargetAssetType3 {
|
|
9055
9098
|
PreIPOCompanySPV = "PreIPOCompanySPV",
|
|
9056
9099
|
RegisteredFund = "RegisteredFund",
|
|
9057
9100
|
PreIPOCompany = "PreIPOCompany"
|
|
@@ -9060,22 +9103,22 @@ export declare enum Side {
|
|
|
9060
9103
|
Subscription = "Subscription",
|
|
9061
9104
|
Redemption = "Redemption"
|
|
9062
9105
|
}
|
|
9063
|
-
export declare enum
|
|
9106
|
+
export declare enum TargetAssetType4 {
|
|
9064
9107
|
PreIPOCompanySPV = "PreIPOCompanySPV",
|
|
9065
9108
|
RegisteredFund = "RegisteredFund",
|
|
9066
9109
|
PreIPOCompany = "PreIPOCompany"
|
|
9067
9110
|
}
|
|
9068
|
-
export declare enum
|
|
9111
|
+
export declare enum TargetAssetType5 {
|
|
9069
9112
|
PreIPOCompanySPV = "PreIPOCompanySPV",
|
|
9070
9113
|
RegisteredFund = "RegisteredFund",
|
|
9071
9114
|
PreIPOCompany = "PreIPOCompany"
|
|
9072
9115
|
}
|
|
9073
|
-
export declare enum
|
|
9116
|
+
export declare enum TargetAssetType6 {
|
|
9074
9117
|
PreIPOCompanySPV = "PreIPOCompanySPV",
|
|
9075
9118
|
RegisteredFund = "RegisteredFund",
|
|
9076
9119
|
PreIPOCompany = "PreIPOCompany"
|
|
9077
9120
|
}
|
|
9078
|
-
export declare enum
|
|
9121
|
+
export declare enum TargetAssetType7 {
|
|
9079
9122
|
PreIPOCompanySPV = "PreIPOCompanySPV",
|
|
9080
9123
|
RegisteredFund = "RegisteredFund",
|
|
9081
9124
|
PreIPOCompany = "PreIPOCompany"
|
package/dist/Client.js
CHANGED
|
@@ -1433,6 +1433,7 @@ export class Client {
|
|
|
1433
1433
|
* Get all IndicationOfInterests.
|
|
1434
1434
|
* @param searchTerm (optional) Optional search term on the company/target name.
|
|
1435
1435
|
* @param investorId (optional) Filter the returned IndicationOfInterests by an InvestorId.
|
|
1436
|
+
* @param targetAssetType (optional) Filter the returned IndicationOfInterests by the primary_offering_api_models.IndicationOfInterests.Enums.IndicationOfInterestTargetAssetType.
|
|
1436
1437
|
* @param page (optional) Number of the page to retrieve.
|
|
1437
1438
|
Defaults to 1 if not specified.
|
|
1438
1439
|
* @param pageSize (optional) Size of the page to retrieve.
|
|
@@ -1441,7 +1442,7 @@ export class Client {
|
|
|
1441
1442
|
* @param sortOrder (optional) Which direction to sort by.
|
|
1442
1443
|
* @return Returns the list of IndicationOfInterest.
|
|
1443
1444
|
*/
|
|
1444
|
-
getAllIndicationOfInterestsV2(searchTerm, investorId, page, pageSize, sortProperty, sortOrder) {
|
|
1445
|
+
getAllIndicationOfInterestsV2(searchTerm, investorId, targetAssetType, page, pageSize, sortProperty, sortOrder) {
|
|
1445
1446
|
let url_ = this.baseUrl + "/primary/v2/indication-of-interest?";
|
|
1446
1447
|
if (searchTerm === null)
|
|
1447
1448
|
throw new globalThis.Error("The parameter 'searchTerm' cannot be null.");
|
|
@@ -1451,6 +1452,10 @@ export class Client {
|
|
|
1451
1452
|
throw new globalThis.Error("The parameter 'investorId' cannot be null.");
|
|
1452
1453
|
else if (investorId !== undefined)
|
|
1453
1454
|
url_ += "investorId=" + encodeURIComponent("" + investorId) + "&";
|
|
1455
|
+
if (targetAssetType === null)
|
|
1456
|
+
throw new globalThis.Error("The parameter 'targetAssetType' cannot be null.");
|
|
1457
|
+
else if (targetAssetType !== undefined)
|
|
1458
|
+
url_ += "targetAssetType=" + encodeURIComponent("" + targetAssetType) + "&";
|
|
1454
1459
|
if (page === null)
|
|
1455
1460
|
throw new globalThis.Error("The parameter 'page' cannot be null.");
|
|
1456
1461
|
else if (page !== undefined)
|
|
@@ -6930,9 +6935,10 @@ export class Client {
|
|
|
6930
6935
|
* Get a Questionnaire by Id
|
|
6931
6936
|
* @param id ID of the Questionnaire to find.
|
|
6932
6937
|
* @param investorId (optional) Optional investor ID to filter questions based on Investor details.
|
|
6938
|
+
* @param financialAdvisorId (optional) Optional financial advisor ID to filter questions based on advisor details. Requires investorId to be specified.
|
|
6933
6939
|
* @return Returns the Questionnaire with the specified Id.
|
|
6934
6940
|
*/
|
|
6935
|
-
getQuestionnaireById(id, investorId) {
|
|
6941
|
+
getQuestionnaireById(id, investorId, financialAdvisorId) {
|
|
6936
6942
|
let url_ = this.baseUrl + "/primary/v1/questionnaire/{id}?";
|
|
6937
6943
|
if (id === undefined || id === null)
|
|
6938
6944
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -6941,6 +6947,10 @@ export class Client {
|
|
|
6941
6947
|
throw new globalThis.Error("The parameter 'investorId' cannot be null.");
|
|
6942
6948
|
else if (investorId !== undefined)
|
|
6943
6949
|
url_ += "investorId=" + encodeURIComponent("" + investorId) + "&";
|
|
6950
|
+
if (financialAdvisorId === null)
|
|
6951
|
+
throw new globalThis.Error("The parameter 'financialAdvisorId' cannot be null.");
|
|
6952
|
+
else if (financialAdvisorId !== undefined)
|
|
6953
|
+
url_ += "financialAdvisorId=" + encodeURIComponent("" + financialAdvisorId) + "&";
|
|
6944
6954
|
url_ = url_.replace(/[?&]$/, "");
|
|
6945
6955
|
let options_ = {
|
|
6946
6956
|
method: "GET",
|
|
@@ -6967,6 +6977,14 @@ export class Client {
|
|
|
6967
6977
|
return result200;
|
|
6968
6978
|
});
|
|
6969
6979
|
}
|
|
6980
|
+
else if (status === 400) {
|
|
6981
|
+
return response.text().then((_responseText) => {
|
|
6982
|
+
let result400 = null;
|
|
6983
|
+
let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
6984
|
+
result400 = ProblemDetails.fromJS(resultData400);
|
|
6985
|
+
return throwException("financialAdvisorId was provided without investorId.", status, _responseText, _headers, result400);
|
|
6986
|
+
});
|
|
6987
|
+
}
|
|
6970
6988
|
else if (status === 404) {
|
|
6971
6989
|
return response.text().then((_responseText) => {
|
|
6972
6990
|
let result404 = null;
|
|
@@ -10494,6 +10512,11 @@ export class CreateInvestor {
|
|
|
10494
10512
|
if (_data) {
|
|
10495
10513
|
this.financialInstitutionId = _data["financialInstitutionId"];
|
|
10496
10514
|
this.financialAdvisorId = _data["financialAdvisorId"];
|
|
10515
|
+
if (Array.isArray(_data["financialAdvisorIds"])) {
|
|
10516
|
+
this.financialAdvisorIds = [];
|
|
10517
|
+
for (let item of _data["financialAdvisorIds"])
|
|
10518
|
+
this.financialAdvisorIds.push(item);
|
|
10519
|
+
}
|
|
10497
10520
|
this.investorReferenceId = _data["investorReferenceId"];
|
|
10498
10521
|
this.type = _data["type"];
|
|
10499
10522
|
this.pii = _data["pii"] ? InvestorPii.fromJS(_data["pii"]) : undefined;
|
|
@@ -10509,6 +10532,11 @@ export class CreateInvestor {
|
|
|
10509
10532
|
data = typeof data === 'object' ? data : {};
|
|
10510
10533
|
data["financialInstitutionId"] = this.financialInstitutionId;
|
|
10511
10534
|
data["financialAdvisorId"] = this.financialAdvisorId;
|
|
10535
|
+
if (Array.isArray(this.financialAdvisorIds)) {
|
|
10536
|
+
data["financialAdvisorIds"] = [];
|
|
10537
|
+
for (let item of this.financialAdvisorIds)
|
|
10538
|
+
data["financialAdvisorIds"].push(item);
|
|
10539
|
+
}
|
|
10512
10540
|
data["investorReferenceId"] = this.investorReferenceId;
|
|
10513
10541
|
data["type"] = this.type;
|
|
10514
10542
|
data["pii"] = this.pii ? this.pii.toJSON() : undefined;
|
|
@@ -10787,6 +10815,7 @@ export class CreateTransaction {
|
|
|
10787
10815
|
this.amountShares = _data["amountShares"];
|
|
10788
10816
|
this.isFullExit = _data["isFullExit"];
|
|
10789
10817
|
this.referenceId = _data["referenceId"];
|
|
10818
|
+
this.financialAdvisorId = _data["financialAdvisorId"];
|
|
10790
10819
|
}
|
|
10791
10820
|
}
|
|
10792
10821
|
static fromJS(data) {
|
|
@@ -10805,6 +10834,7 @@ export class CreateTransaction {
|
|
|
10805
10834
|
data["amountShares"] = this.amountShares;
|
|
10806
10835
|
data["isFullExit"] = this.isFullExit;
|
|
10807
10836
|
data["referenceId"] = this.referenceId;
|
|
10837
|
+
data["financialAdvisorId"] = this.financialAdvisorId;
|
|
10808
10838
|
return data;
|
|
10809
10839
|
}
|
|
10810
10840
|
}
|
|
@@ -12486,6 +12516,11 @@ export class Investor {
|
|
|
12486
12516
|
this.partnerId = _data["partnerId"];
|
|
12487
12517
|
this.financialInstitutionId = _data["financialInstitutionId"];
|
|
12488
12518
|
this.financialAdvisorId = _data["financialAdvisorId"];
|
|
12519
|
+
if (Array.isArray(_data["financialAdvisorIds"])) {
|
|
12520
|
+
this.financialAdvisorIds = [];
|
|
12521
|
+
for (let item of _data["financialAdvisorIds"])
|
|
12522
|
+
this.financialAdvisorIds.push(item);
|
|
12523
|
+
}
|
|
12489
12524
|
this.updatedAt = _data["updatedAt"] ? new Date(_data["updatedAt"].toString()) : undefined;
|
|
12490
12525
|
this.investorReferenceId = _data["investorReferenceId"];
|
|
12491
12526
|
this.status = _data["status"];
|
|
@@ -12511,6 +12546,11 @@ export class Investor {
|
|
|
12511
12546
|
data["partnerId"] = this.partnerId;
|
|
12512
12547
|
data["financialInstitutionId"] = this.financialInstitutionId;
|
|
12513
12548
|
data["financialAdvisorId"] = this.financialAdvisorId;
|
|
12549
|
+
if (Array.isArray(this.financialAdvisorIds)) {
|
|
12550
|
+
data["financialAdvisorIds"] = [];
|
|
12551
|
+
for (let item of this.financialAdvisorIds)
|
|
12552
|
+
data["financialAdvisorIds"].push(item);
|
|
12553
|
+
}
|
|
12514
12554
|
data["updatedAt"] = this.updatedAt ? this.updatedAt.toISOString() : undefined;
|
|
12515
12555
|
data["investorReferenceId"] = this.investorReferenceId;
|
|
12516
12556
|
data["status"] = this.status;
|
|
@@ -17513,6 +17553,11 @@ export class UpdateInvestor {
|
|
|
17513
17553
|
this.id = _data["id"];
|
|
17514
17554
|
this.investorReferenceId = _data["investorReferenceId"];
|
|
17515
17555
|
this.financialAdvisorId = _data["financialAdvisorId"];
|
|
17556
|
+
if (Array.isArray(_data["financialAdvisorIds"])) {
|
|
17557
|
+
this.financialAdvisorIds = [];
|
|
17558
|
+
for (let item of _data["financialAdvisorIds"])
|
|
17559
|
+
this.financialAdvisorIds.push(item);
|
|
17560
|
+
}
|
|
17516
17561
|
}
|
|
17517
17562
|
}
|
|
17518
17563
|
static fromJS(data) {
|
|
@@ -17528,6 +17573,11 @@ export class UpdateInvestor {
|
|
|
17528
17573
|
data["id"] = this.id;
|
|
17529
17574
|
data["investorReferenceId"] = this.investorReferenceId;
|
|
17530
17575
|
data["financialAdvisorId"] = this.financialAdvisorId;
|
|
17576
|
+
if (Array.isArray(this.financialAdvisorIds)) {
|
|
17577
|
+
data["financialAdvisorIds"] = [];
|
|
17578
|
+
for (let item of this.financialAdvisorIds)
|
|
17579
|
+
data["financialAdvisorIds"].push(item);
|
|
17580
|
+
}
|
|
17531
17581
|
return data;
|
|
17532
17582
|
}
|
|
17533
17583
|
}
|
|
@@ -18161,6 +18211,12 @@ export var SortOrder5;
|
|
|
18161
18211
|
SortOrder5["Ascending"] = "Ascending";
|
|
18162
18212
|
SortOrder5["Descending"] = "Descending";
|
|
18163
18213
|
})(SortOrder5 || (SortOrder5 = {}));
|
|
18214
|
+
export var TargetAssetType;
|
|
18215
|
+
(function (TargetAssetType) {
|
|
18216
|
+
TargetAssetType["RegisteredFund"] = "RegisteredFund";
|
|
18217
|
+
TargetAssetType["PreIPOCompany"] = "PreIPOCompany";
|
|
18218
|
+
TargetAssetType["ProspectiveOffering"] = "ProspectiveOffering";
|
|
18219
|
+
})(TargetAssetType || (TargetAssetType = {}));
|
|
18164
18220
|
export var SortProperty2;
|
|
18165
18221
|
(function (SortProperty2) {
|
|
18166
18222
|
SortProperty2["UpdatedAt"] = "UpdatedAt";
|
|
@@ -18358,11 +18414,11 @@ export var SortOrder16;
|
|
|
18358
18414
|
SortOrder16["Ascending"] = "Ascending";
|
|
18359
18415
|
SortOrder16["Descending"] = "Descending";
|
|
18360
18416
|
})(SortOrder16 || (SortOrder16 = {}));
|
|
18361
|
-
export var
|
|
18362
|
-
(function (
|
|
18363
|
-
|
|
18364
|
-
|
|
18365
|
-
})(
|
|
18417
|
+
export var TargetAssetType2;
|
|
18418
|
+
(function (TargetAssetType2) {
|
|
18419
|
+
TargetAssetType2["RegisteredFund"] = "RegisteredFund";
|
|
18420
|
+
TargetAssetType2["PreIPOCompany"] = "PreIPOCompany";
|
|
18421
|
+
})(TargetAssetType2 || (TargetAssetType2 = {}));
|
|
18366
18422
|
export var SortOrder17;
|
|
18367
18423
|
(function (SortOrder17) {
|
|
18368
18424
|
SortOrder17["Ascending"] = "Ascending";
|
|
@@ -18435,23 +18491,17 @@ export var SortOrder26;
|
|
|
18435
18491
|
SortOrder26["Ascending"] = "Ascending";
|
|
18436
18492
|
SortOrder26["Descending"] = "Descending";
|
|
18437
18493
|
})(SortOrder26 || (SortOrder26 = {}));
|
|
18438
|
-
export var TargetAssetType2;
|
|
18439
|
-
(function (TargetAssetType2) {
|
|
18440
|
-
TargetAssetType2["PreIPOCompanySPV"] = "PreIPOCompanySPV";
|
|
18441
|
-
TargetAssetType2["RegisteredFund"] = "RegisteredFund";
|
|
18442
|
-
TargetAssetType2["PreIPOCompany"] = "PreIPOCompany";
|
|
18443
|
-
})(TargetAssetType2 || (TargetAssetType2 = {}));
|
|
18444
|
-
export var Side;
|
|
18445
|
-
(function (Side) {
|
|
18446
|
-
Side["Subscription"] = "Subscription";
|
|
18447
|
-
Side["Redemption"] = "Redemption";
|
|
18448
|
-
})(Side || (Side = {}));
|
|
18449
18494
|
export var TargetAssetType3;
|
|
18450
18495
|
(function (TargetAssetType3) {
|
|
18451
18496
|
TargetAssetType3["PreIPOCompanySPV"] = "PreIPOCompanySPV";
|
|
18452
18497
|
TargetAssetType3["RegisteredFund"] = "RegisteredFund";
|
|
18453
18498
|
TargetAssetType3["PreIPOCompany"] = "PreIPOCompany";
|
|
18454
18499
|
})(TargetAssetType3 || (TargetAssetType3 = {}));
|
|
18500
|
+
export var Side;
|
|
18501
|
+
(function (Side) {
|
|
18502
|
+
Side["Subscription"] = "Subscription";
|
|
18503
|
+
Side["Redemption"] = "Redemption";
|
|
18504
|
+
})(Side || (Side = {}));
|
|
18455
18505
|
export var TargetAssetType4;
|
|
18456
18506
|
(function (TargetAssetType4) {
|
|
18457
18507
|
TargetAssetType4["PreIPOCompanySPV"] = "PreIPOCompanySPV";
|
|
@@ -18470,6 +18520,12 @@ export var TargetAssetType6;
|
|
|
18470
18520
|
TargetAssetType6["RegisteredFund"] = "RegisteredFund";
|
|
18471
18521
|
TargetAssetType6["PreIPOCompany"] = "PreIPOCompany";
|
|
18472
18522
|
})(TargetAssetType6 || (TargetAssetType6 = {}));
|
|
18523
|
+
export var TargetAssetType7;
|
|
18524
|
+
(function (TargetAssetType7) {
|
|
18525
|
+
TargetAssetType7["PreIPOCompanySPV"] = "PreIPOCompanySPV";
|
|
18526
|
+
TargetAssetType7["RegisteredFund"] = "RegisteredFund";
|
|
18527
|
+
TargetAssetType7["PreIPOCompany"] = "PreIPOCompany";
|
|
18528
|
+
})(TargetAssetType7 || (TargetAssetType7 = {}));
|
|
18473
18529
|
export var OwnerType;
|
|
18474
18530
|
(function (OwnerType) {
|
|
18475
18531
|
OwnerType["Investor"] = "Investor";
|