@monarkmarkets/api-client 1.2.6 → 1.2.8

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 CHANGED
@@ -6,8 +6,9 @@ export declare class Client {
6
6
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
7
7
  });
8
8
  /**
9
- * @param body (optional)
10
- * @return OK
9
+ * Normalize Address (get valid state code).
10
+ * @param body (optional) Address information to normalize.
11
+ * @return Normalized address returned.
11
12
  */
12
13
  normalize(body: NormalizeAddressRequest | undefined): Promise<NormalizeAddressResponse>;
13
14
  protected processNormalize(response: Response): Promise<NormalizeAddressResponse>;
@@ -1195,8 +1196,6 @@ export declare class BulkPreIPOCompanySPV implements IBulkPreIPOCompanySPV {
1195
1196
  description?: string | undefined;
1196
1197
  /** A list of notable investors associated with an SPV. */
1197
1198
  notableInvestors?: string[] | undefined;
1198
- /** The name of the Master LLC. */
1199
- masterLLCName?: string | undefined;
1200
1199
  /** The one time, up front management fee charged by the SPV. */
1201
1200
  managementFee?: number | undefined;
1202
1201
  /** The number of years over which the management fee will be paid. SPVs offered through Monark will have this number set to 1, as the SPV will charge a one time up front management fee. */
@@ -1281,8 +1280,6 @@ export interface IBulkPreIPOCompanySPV {
1281
1280
  description?: string | undefined;
1282
1281
  /** A list of notable investors associated with an SPV. */
1283
1282
  notableInvestors?: string[] | undefined;
1284
- /** The name of the Master LLC. */
1285
- masterLLCName?: string | undefined;
1286
1283
  /** The one time, up front management fee charged by the SPV. */
1287
1284
  managementFee?: number | undefined;
1288
1285
  /** The number of years over which the management fee will be paid. SPVs offered through Monark will have this number set to 1, as the SPV will charge a one time up front management fee. */
@@ -1876,8 +1873,6 @@ export declare class Document implements IDocument {
1876
1873
  registeredFundSubscriptionId?: string | undefined;
1877
1874
  /** The type of Document. */
1878
1875
  type?: DocumentType2;
1879
- /** Boolean value to dictate if this is a template. */
1880
- templateDocument?: boolean;
1881
1876
  /** Optional tax year to tag the document with. */
1882
1877
  taxYear?: number | undefined;
1883
1878
  /** Description of the Document. */
@@ -1913,8 +1908,6 @@ export interface IDocument {
1913
1908
  registeredFundSubscriptionId?: string | undefined;
1914
1909
  /** The type of Document. */
1915
1910
  type?: DocumentType2;
1916
- /** Boolean value to dictate if this is a template. */
1917
- templateDocument?: boolean;
1918
1911
  /** Optional tax year to tag the document with. */
1919
1912
  taxYear?: number | undefined;
1920
1913
  /** Description of the Document. */
@@ -5220,8 +5213,6 @@ export declare class PreIPOCompanySPV implements IPreIPOCompanySPV {
5220
5213
  description?: string | undefined;
5221
5214
  /** A list of notable investors associated with an SPV. */
5222
5215
  notableInvestors?: string[] | undefined;
5223
- /** The name of the Master LLC. */
5224
- masterLLCName?: string | undefined;
5225
5216
  /** The one time, up front management fee charged by the SPV. */
5226
5217
  managementFee?: number | undefined;
5227
5218
  /** The number of years over which the management fee will be paid. SPVs offered through Monark will have this number set to 1, as the SPV will charge a one time up front management fee. */
@@ -5305,8 +5296,6 @@ export interface IPreIPOCompanySPV {
5305
5296
  description?: string | undefined;
5306
5297
  /** A list of notable investors associated with an SPV. */
5307
5298
  notableInvestors?: string[] | undefined;
5308
- /** The name of the Master LLC. */
5309
- masterLLCName?: string | undefined;
5310
5299
  /** The one time, up front management fee charged by the SPV. */
5311
5300
  managementFee?: number | undefined;
5312
5301
  /** The number of years over which the management fee will be paid. SPVs offered through Monark will have this number set to 1, as the SPV will charge a one time up front management fee. */
package/dist/Client.js CHANGED
@@ -13,8 +13,9 @@ export class Client {
13
13
  this.baseUrl = baseUrl ?? "";
14
14
  }
15
15
  /**
16
- * @param body (optional)
17
- * @return OK
16
+ * Normalize Address (get valid state code).
17
+ * @param body (optional) Address information to normalize.
18
+ * @return Normalized address returned.
18
19
  */
19
20
  normalize(body) {
20
21
  let url_ = this.baseUrl + "/primary/v1/address/normalize";
@@ -52,12 +53,12 @@ export class Client {
52
53
  let result400 = null;
53
54
  let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
54
55
  result400 = ProblemDetails.fromJS(resultData400);
55
- return throwException("Bad Request", status, _responseText, _headers, result400);
56
+ return throwException("Invalid input provided.", status, _responseText, _headers, result400);
56
57
  });
57
58
  }
58
59
  else if (status === 500) {
59
60
  return response.text().then((_responseText) => {
60
- return throwException("Internal Server Error", status, _responseText, _headers);
61
+ return throwException("Internal server error.", status, _responseText, _headers);
61
62
  });
62
63
  }
63
64
  else if (status !== 200 && status !== 204) {
@@ -7044,7 +7045,6 @@ export class BulkPreIPOCompanySPV {
7044
7045
  for (let item of _data["notableInvestors"])
7045
7046
  this.notableInvestors.push(item);
7046
7047
  }
7047
- this.masterLLCName = _data["masterLLCName"];
7048
7048
  this.managementFee = _data["managementFee"];
7049
7049
  this.managementFeeYearsPayable = _data["managementFeeYearsPayable"];
7050
7050
  this.fundingDeadline = _data["fundingDeadline"] ? new Date(_data["fundingDeadline"].toString()) : undefined;
@@ -7114,7 +7114,6 @@ export class BulkPreIPOCompanySPV {
7114
7114
  for (let item of this.notableInvestors)
7115
7115
  data["notableInvestors"].push(item);
7116
7116
  }
7117
- data["masterLLCName"] = this.masterLLCName;
7118
7117
  data["managementFee"] = this.managementFee;
7119
7118
  data["managementFeeYearsPayable"] = this.managementFeeYearsPayable;
7120
7119
  data["fundingDeadline"] = this.fundingDeadline ? formatDate(this.fundingDeadline) : undefined;
@@ -7920,7 +7919,6 @@ export class Document {
7920
7919
  this.registeredFundId = _data["registeredFundId"];
7921
7920
  this.registeredFundSubscriptionId = _data["registeredFundSubscriptionId"];
7922
7921
  this.type = _data["type"];
7923
- this.templateDocument = _data["templateDocument"];
7924
7922
  this.taxYear = _data["taxYear"];
7925
7923
  this.description = _data["description"];
7926
7924
  }
@@ -7945,7 +7943,6 @@ export class Document {
7945
7943
  data["registeredFundId"] = this.registeredFundId;
7946
7944
  data["registeredFundSubscriptionId"] = this.registeredFundSubscriptionId;
7947
7945
  data["type"] = this.type;
7948
- data["templateDocument"] = this.templateDocument;
7949
7946
  data["taxYear"] = this.taxYear;
7950
7947
  data["description"] = this.description;
7951
7948
  return data;
@@ -11481,7 +11478,6 @@ export class PreIPOCompanySPV {
11481
11478
  for (let item of _data["notableInvestors"])
11482
11479
  this.notableInvestors.push(item);
11483
11480
  }
11484
- this.masterLLCName = _data["masterLLCName"];
11485
11481
  this.managementFee = _data["managementFee"];
11486
11482
  this.managementFeeYearsPayable = _data["managementFeeYearsPayable"];
11487
11483
  this.fundingDeadline = _data["fundingDeadline"] ? new Date(_data["fundingDeadline"].toString()) : undefined;
@@ -11546,7 +11542,6 @@ export class PreIPOCompanySPV {
11546
11542
  for (let item of this.notableInvestors)
11547
11543
  data["notableInvestors"].push(item);
11548
11544
  }
11549
- data["masterLLCName"] = this.masterLLCName;
11550
11545
  data["managementFee"] = this.managementFee;
11551
11546
  data["managementFeeYearsPayable"] = this.managementFeeYearsPayable;
11552
11547
  data["fundingDeadline"] = this.fundingDeadline ? formatDate(this.fundingDeadline) : undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monarkmarkets/api-client",
3
- "version": "1.2.6",
3
+ "version": "1.2.8",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",