@monarkmarkets/api-client 1.3.17 → 1.3.19
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 +15 -9
- package/dist/Client.js +17 -9
- package/package.json +2 -2
package/dist/Client.d.ts
CHANGED
|
@@ -962,9 +962,10 @@ export declare class Client {
|
|
|
962
962
|
/**
|
|
963
963
|
* Get a Questionnaire by Id
|
|
964
964
|
* @param id ID of the Questionnaire to find.
|
|
965
|
+
* @param investorId (optional) Optional investor ID to filter questions based on Investor details.
|
|
965
966
|
* @return Returns the Questionnaire with the specified Id.
|
|
966
967
|
*/
|
|
967
|
-
getQuestionnaireById(id: string): Promise<Questionnaire>;
|
|
968
|
+
getQuestionnaireById(id: string, investorId: string | undefined): Promise<Questionnaire>;
|
|
968
969
|
protected processGetQuestionnaireById(response: Response): Promise<Questionnaire>;
|
|
969
970
|
/**
|
|
970
971
|
* Create a QuestionnaireAnswer
|
|
@@ -1111,14 +1112,14 @@ export declare class Client {
|
|
|
1111
1112
|
getAllSecondaryLinkEvergreenShareClasses(financialInstitutionId: string, page: number | undefined, pageSize: number | undefined, searchTerm: string | undefined, sortOrder: SortOrder22 | undefined, fundName: string | undefined, evergreenFundId: string | undefined): Promise<EvergreenShareClassesApiResponse>;
|
|
1112
1113
|
protected processGetAllSecondaryLinkEvergreenShareClasses(response: Response): Promise<EvergreenShareClassesApiResponse>;
|
|
1113
1114
|
/**
|
|
1114
|
-
* Create a new
|
|
1115
|
-
* @param body (optional)
|
|
1115
|
+
* Create a new transaction (subscription or redemption).
|
|
1116
|
+
* @param body (optional) Order creation properties.
|
|
1116
1117
|
* @return Created
|
|
1117
1118
|
*/
|
|
1118
1119
|
createTransaction(body: CreateTransaction | undefined): Promise<Transaction>;
|
|
1119
1120
|
protected processCreateTransaction(response: Response): Promise<Transaction>;
|
|
1120
1121
|
/**
|
|
1121
|
-
* Get all
|
|
1122
|
+
* Get all transactions.
|
|
1122
1123
|
* @param targetAssetType Required: The asset type (PreIPOCompanySPV or RegisteredFund).
|
|
1123
1124
|
* @param page (optional) Number of the page to retrieve.
|
|
1124
1125
|
Defaults to 1 if not specified.
|
|
@@ -1133,15 +1134,15 @@ export declare class Client {
|
|
|
1133
1134
|
getTransactions(targetAssetType: TargetAssetType, page: number | undefined, pageSize: number | undefined, targetId: string | undefined, investorId: string | undefined, status: string | undefined, referenceId: string | undefined): Promise<TransactionApiResponse>;
|
|
1134
1135
|
protected processGetTransactions(response: Response): Promise<TransactionApiResponse>;
|
|
1135
1136
|
/**
|
|
1136
|
-
* Update an existing
|
|
1137
|
-
* @param body (optional)
|
|
1137
|
+
* Update an existing transaction.
|
|
1138
|
+
* @param body (optional) The transaction update properties.
|
|
1138
1139
|
* @return OK
|
|
1139
1140
|
*/
|
|
1140
1141
|
updateTransaction(body: UpdateTransaction | undefined): Promise<Transaction>;
|
|
1141
1142
|
protected processUpdateTransaction(response: Response): Promise<Transaction>;
|
|
1142
1143
|
/**
|
|
1143
|
-
* Get
|
|
1144
|
-
* @param id The
|
|
1144
|
+
* Get a transaction by ID.
|
|
1145
|
+
* @param id The transaction ID.
|
|
1145
1146
|
* @param includeDocuments (optional) Optional flag to include associated documents.
|
|
1146
1147
|
* @return OK
|
|
1147
1148
|
*/
|
|
@@ -6449,6 +6450,8 @@ export interface IQuestionnaireQuestion {
|
|
|
6449
6450
|
export declare class QuestionnaireQuestionAnswer implements IQuestionnaireQuestionAnswer {
|
|
6450
6451
|
/** Unique ID associated with a Questionnaire question answer pairing. */
|
|
6451
6452
|
id?: string;
|
|
6453
|
+
/** The questionId of the question being answered. */
|
|
6454
|
+
questionId?: string;
|
|
6452
6455
|
/** Text of the question asked. */
|
|
6453
6456
|
questionText: string | undefined;
|
|
6454
6457
|
/** Explanation of the question asked. */
|
|
@@ -6472,6 +6475,8 @@ export declare class QuestionnaireQuestionAnswer implements IQuestionnaireQuesti
|
|
|
6472
6475
|
export interface IQuestionnaireQuestionAnswer {
|
|
6473
6476
|
/** Unique ID associated with a Questionnaire question answer pairing. */
|
|
6474
6477
|
id?: string;
|
|
6478
|
+
/** The questionId of the question being answered. */
|
|
6479
|
+
questionId?: string;
|
|
6475
6480
|
/** Text of the question asked. */
|
|
6476
6481
|
questionText: string | undefined;
|
|
6477
6482
|
/** Explanation of the question asked. */
|
|
@@ -9461,7 +9466,8 @@ export declare enum TransactionActionStatus {
|
|
|
9461
9466
|
export declare enum TransactionActionType {
|
|
9462
9467
|
DocumentSign = "DocumentSign",
|
|
9463
9468
|
DocumentAcknowledge = "DocumentAcknowledge",
|
|
9464
|
-
TextAcknowledge = "TextAcknowledge"
|
|
9469
|
+
TextAcknowledge = "TextAcknowledge",
|
|
9470
|
+
Questionnaire = "Questionnaire"
|
|
9465
9471
|
}
|
|
9466
9472
|
export declare enum TransactionActionResponsibleParty {
|
|
9467
9473
|
Partner = "Partner",
|
package/dist/Client.js
CHANGED
|
@@ -6217,13 +6217,18 @@ export class Client {
|
|
|
6217
6217
|
/**
|
|
6218
6218
|
* Get a Questionnaire by Id
|
|
6219
6219
|
* @param id ID of the Questionnaire to find.
|
|
6220
|
+
* @param investorId (optional) Optional investor ID to filter questions based on Investor details.
|
|
6220
6221
|
* @return Returns the Questionnaire with the specified Id.
|
|
6221
6222
|
*/
|
|
6222
|
-
getQuestionnaireById(id) {
|
|
6223
|
-
let url_ = this.baseUrl + "/primary/v1/questionnaire/{id}";
|
|
6223
|
+
getQuestionnaireById(id, investorId) {
|
|
6224
|
+
let url_ = this.baseUrl + "/primary/v1/questionnaire/{id}?";
|
|
6224
6225
|
if (id === undefined || id === null)
|
|
6225
6226
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
6226
6227
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
6228
|
+
if (investorId === null)
|
|
6229
|
+
throw new globalThis.Error("The parameter 'investorId' cannot be null.");
|
|
6230
|
+
else if (investorId !== undefined)
|
|
6231
|
+
url_ += "investorId=" + encodeURIComponent("" + investorId) + "&";
|
|
6227
6232
|
url_ = url_.replace(/[?&]$/, "");
|
|
6228
6233
|
let options_ = {
|
|
6229
6234
|
method: "GET",
|
|
@@ -7176,8 +7181,8 @@ export class Client {
|
|
|
7176
7181
|
return Promise.resolve(null);
|
|
7177
7182
|
}
|
|
7178
7183
|
/**
|
|
7179
|
-
* Create a new
|
|
7180
|
-
* @param body (optional)
|
|
7184
|
+
* Create a new transaction (subscription or redemption).
|
|
7185
|
+
* @param body (optional) Order creation properties.
|
|
7181
7186
|
* @return Created
|
|
7182
7187
|
*/
|
|
7183
7188
|
createTransaction(body) {
|
|
@@ -7235,7 +7240,7 @@ export class Client {
|
|
|
7235
7240
|
return Promise.resolve(null);
|
|
7236
7241
|
}
|
|
7237
7242
|
/**
|
|
7238
|
-
* Get all
|
|
7243
|
+
* Get all transactions.
|
|
7239
7244
|
* @param targetAssetType Required: The asset type (PreIPOCompanySPV or RegisteredFund).
|
|
7240
7245
|
* @param page (optional) Number of the page to retrieve.
|
|
7241
7246
|
Defaults to 1 if not specified.
|
|
@@ -7327,8 +7332,8 @@ export class Client {
|
|
|
7327
7332
|
return Promise.resolve(null);
|
|
7328
7333
|
}
|
|
7329
7334
|
/**
|
|
7330
|
-
* Update an existing
|
|
7331
|
-
* @param body (optional)
|
|
7335
|
+
* Update an existing transaction.
|
|
7336
|
+
* @param body (optional) The transaction update properties.
|
|
7332
7337
|
* @return OK
|
|
7333
7338
|
*/
|
|
7334
7339
|
updateTransaction(body) {
|
|
@@ -7394,8 +7399,8 @@ export class Client {
|
|
|
7394
7399
|
return Promise.resolve(null);
|
|
7395
7400
|
}
|
|
7396
7401
|
/**
|
|
7397
|
-
* Get
|
|
7398
|
-
* @param id The
|
|
7402
|
+
* Get a transaction by ID.
|
|
7403
|
+
* @param id The transaction ID.
|
|
7399
7404
|
* @param includeDocuments (optional) Optional flag to include associated documents.
|
|
7400
7405
|
* @return OK
|
|
7401
7406
|
*/
|
|
@@ -14221,6 +14226,7 @@ export class QuestionnaireQuestionAnswer {
|
|
|
14221
14226
|
init(_data) {
|
|
14222
14227
|
if (_data) {
|
|
14223
14228
|
this.id = _data["id"];
|
|
14229
|
+
this.questionId = _data["questionId"];
|
|
14224
14230
|
this.questionText = _data["questionText"];
|
|
14225
14231
|
this.questionExplanation = _data["questionExplanation"];
|
|
14226
14232
|
this.questionFormat = _data["questionFormat"];
|
|
@@ -14243,6 +14249,7 @@ export class QuestionnaireQuestionAnswer {
|
|
|
14243
14249
|
toJSON(data) {
|
|
14244
14250
|
data = typeof data === 'object' ? data : {};
|
|
14245
14251
|
data["id"] = this.id;
|
|
14252
|
+
data["questionId"] = this.questionId;
|
|
14246
14253
|
data["questionText"] = this.questionText;
|
|
14247
14254
|
data["questionExplanation"] = this.questionExplanation;
|
|
14248
14255
|
data["questionFormat"] = this.questionFormat;
|
|
@@ -17625,6 +17632,7 @@ export var TransactionActionType;
|
|
|
17625
17632
|
TransactionActionType["DocumentSign"] = "DocumentSign";
|
|
17626
17633
|
TransactionActionType["DocumentAcknowledge"] = "DocumentAcknowledge";
|
|
17627
17634
|
TransactionActionType["TextAcknowledge"] = "TextAcknowledge";
|
|
17635
|
+
TransactionActionType["Questionnaire"] = "Questionnaire";
|
|
17628
17636
|
})(TransactionActionType || (TransactionActionType = {}));
|
|
17629
17637
|
export var TransactionActionResponsibleParty;
|
|
17630
17638
|
(function (TransactionActionResponsibleParty) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monarkmarkets/api-client",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.19",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,6 +27,6 @@
|
|
|
27
27
|
"typescript": "5.9.3"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"nswag": "14.6.
|
|
30
|
+
"nswag": "14.6.3"
|
|
31
31
|
}
|
|
32
32
|
}
|