@monarkmarkets/api-client 1.3.15 → 1.3.17

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
@@ -16,6 +16,7 @@ export declare class Client {
16
16
  * Get a Document by ID.
17
17
  * @param id The Document ID for the document to retrieve.
18
18
  * @return OK
19
+ * @deprecated
19
20
  */
20
21
  getDocumentById(id: string): Promise<Document>;
21
22
  protected processGetDocumentById(response: Response): Promise<Document>;
@@ -36,6 +37,7 @@ export declare class Client {
36
37
  * @param exactMatch (optional) Only returns the items exactly matching the parameters given.
37
38
  * @param sortOrder (optional)
38
39
  * @return OK
40
+ * @deprecated
39
41
  */
40
42
  getAllDocuments(investorId: string | undefined, preIPOCompanyId: string | undefined, preIPOCompanySPVId: string | undefined, preIPOCompanyInvestmentId: string | undefined, investorSubscriptionId: string | undefined, registeredFundId: string | undefined, registeredFundSubscriptionId: string | undefined, documentType: DocumentType | undefined, page: number | undefined, pageSize: number | undefined, exactMatch: boolean | undefined, sortOrder: SortOrder | undefined): Promise<DocumentApiResponse>;
41
43
  protected processGetAllDocuments(response: Response): Promise<DocumentApiResponse>;
@@ -44,6 +46,7 @@ export declare class Client {
44
46
  * @param id The Document ID for the document to sign.
45
47
  * @param body (optional) Data about the signing.
46
48
  * @return No Content
49
+ * @deprecated
47
50
  */
48
51
  signDocument(id: string, body: SignDocument | undefined): Promise<void>;
49
52
  protected processSignDocument(response: Response): Promise<void>;
@@ -51,6 +54,7 @@ export declare class Client {
51
54
  * Downloads a document using document ID and token. The document is accessed anonymously using a secure token.
52
55
  * @param id The Document ID for the document to download.
53
56
  * @param token The secure token required to access the document.
57
+ * @deprecated
54
58
  */
55
59
  downloadDocument(id: string, token: string): Promise<void>;
56
60
  protected processDownloadDocument(response: Response): Promise<void>;
@@ -1138,9 +1142,10 @@ export declare class Client {
1138
1142
  /**
1139
1143
  * Get an order by ID.
1140
1144
  * @param id The order ID.
1145
+ * @param includeDocuments (optional) Optional flag to include associated documents.
1141
1146
  * @return OK
1142
1147
  */
1143
- getTransactionById(id: string): Promise<Transaction>;
1148
+ getTransactionById(id: string, includeDocuments: boolean | undefined): Promise<Transaction>;
1144
1149
  protected processGetTransactionById(response: Response): Promise<Transaction>;
1145
1150
  /**
1146
1151
  * Get all transactions for a specific investor filtered by target asset type.
@@ -1792,33 +1797,33 @@ export interface ICookie {
1792
1797
  }
1793
1798
  export declare class CreateFinancialAdvisor implements ICreateFinancialAdvisor {
1794
1799
  /** This is the unique identifier of the Institution that the Financial Advisor is attached to. */
1795
- financialInstitutionId?: string;
1800
+ financialInstitutionId: string;
1796
1801
  /** CRD Number of the Financial Advisor. */
1797
- crdNumber: string | undefined;
1802
+ crdNumber?: string | undefined;
1798
1803
  /** IARD Number of the Financial Advisor. */
1799
1804
  iardNumber?: string | undefined;
1800
1805
  /** Financial Advisor first name. */
1801
- firstName: string | undefined;
1806
+ firstName: string;
1802
1807
  /** Financial advisor middle name. */
1803
1808
  middleName?: string | undefined;
1804
1809
  /** Financial advisor last name. */
1805
- lastName: string | undefined;
1810
+ lastName: string;
1806
1811
  /** Financial advisor mailing address. */
1807
- mailingAddress: string | undefined;
1812
+ mailingAddress: string;
1808
1813
  /** Financial advisor mailing city. */
1809
- mailingCity: string | undefined;
1814
+ mailingCity: string;
1810
1815
  /** Financial advisor mailing state. */
1811
- mailingState: string | undefined;
1816
+ mailingState: string;
1812
1817
  /** Financial advisor mailing zip code. */
1813
- mailingZipCode: string | undefined;
1818
+ mailingZipCode: string;
1814
1819
  /** Financial advisor mailing country code. */
1815
- mailingCountryCode: string | undefined;
1820
+ mailingCountryCode: string;
1816
1821
  /** Financial Advisor branch number. */
1817
- branchNumber: string | undefined;
1822
+ branchNumber: string;
1818
1823
  /** Financial advisor phone country code. */
1819
- phoneCountryCode: string | undefined;
1824
+ phoneCountryCode: string;
1820
1825
  /** Financial advisor phone number. */
1821
- phoneNumber: string | undefined;
1826
+ phoneNumber: string;
1822
1827
  /** Financial advisor phone number extension. */
1823
1828
  phoneExtension?: string | undefined;
1824
1829
  /** Financial advisor email address. */
@@ -1826,9 +1831,9 @@ export declare class CreateFinancialAdvisor implements ICreateFinancialAdvisor {
1826
1831
  /** Financial advisor fax number. */
1827
1832
  fax?: string | undefined;
1828
1833
  /** Prefix for the Financial Advisor. */
1829
- prefix: string | undefined;
1834
+ prefix: string;
1830
1835
  /** Financial advisor broker. */
1831
- broker: string | undefined;
1836
+ broker?: string | undefined;
1832
1837
  constructor(data?: ICreateFinancialAdvisor);
1833
1838
  init(_data?: any): void;
1834
1839
  static fromJS(data: any): CreateFinancialAdvisor;
@@ -1836,33 +1841,33 @@ export declare class CreateFinancialAdvisor implements ICreateFinancialAdvisor {
1836
1841
  }
1837
1842
  export interface ICreateFinancialAdvisor {
1838
1843
  /** This is the unique identifier of the Institution that the Financial Advisor is attached to. */
1839
- financialInstitutionId?: string;
1844
+ financialInstitutionId: string;
1840
1845
  /** CRD Number of the Financial Advisor. */
1841
- crdNumber: string | undefined;
1846
+ crdNumber?: string | undefined;
1842
1847
  /** IARD Number of the Financial Advisor. */
1843
1848
  iardNumber?: string | undefined;
1844
1849
  /** Financial Advisor first name. */
1845
- firstName: string | undefined;
1850
+ firstName: string;
1846
1851
  /** Financial advisor middle name. */
1847
1852
  middleName?: string | undefined;
1848
1853
  /** Financial advisor last name. */
1849
- lastName: string | undefined;
1854
+ lastName: string;
1850
1855
  /** Financial advisor mailing address. */
1851
- mailingAddress: string | undefined;
1856
+ mailingAddress: string;
1852
1857
  /** Financial advisor mailing city. */
1853
- mailingCity: string | undefined;
1858
+ mailingCity: string;
1854
1859
  /** Financial advisor mailing state. */
1855
- mailingState: string | undefined;
1860
+ mailingState: string;
1856
1861
  /** Financial advisor mailing zip code. */
1857
- mailingZipCode: string | undefined;
1862
+ mailingZipCode: string;
1858
1863
  /** Financial advisor mailing country code. */
1859
- mailingCountryCode: string | undefined;
1864
+ mailingCountryCode: string;
1860
1865
  /** Financial Advisor branch number. */
1861
- branchNumber: string | undefined;
1866
+ branchNumber: string;
1862
1867
  /** Financial advisor phone country code. */
1863
- phoneCountryCode: string | undefined;
1868
+ phoneCountryCode: string;
1864
1869
  /** Financial advisor phone number. */
1865
- phoneNumber: string | undefined;
1870
+ phoneNumber: string;
1866
1871
  /** Financial advisor phone number extension. */
1867
1872
  phoneExtension?: string | undefined;
1868
1873
  /** Financial advisor email address. */
@@ -1870,9 +1875,9 @@ export interface ICreateFinancialAdvisor {
1870
1875
  /** Financial advisor fax number. */
1871
1876
  fax?: string | undefined;
1872
1877
  /** Prefix for the Financial Advisor. */
1873
- prefix: string | undefined;
1878
+ prefix: string;
1874
1879
  /** Financial advisor broker. */
1875
- broker: string | undefined;
1880
+ broker?: string | undefined;
1876
1881
  }
1877
1882
  /** CreateIndicationOfInterest represents the primary offering information to Create an IoI. */
1878
1883
  export declare class CreateIndicationOfInterest implements ICreateIndicationOfInterest {
@@ -1903,7 +1908,9 @@ export interface ICreateIndicationOfInterest {
1903
1908
  /** CreateIndicationOfInterestV2 represents the v2 request to create a generic IOI supporting multiple asset types. */
1904
1909
  export declare class CreateIndicationOfInterestV2 implements ICreateIndicationOfInterestV2 {
1905
1910
  /** Represents the unique ID, provided by Monark, associated with the Investor submitting an IOI, investing in an SPV, or taking any action in the secondary market. */
1906
- investorId?: string;
1911
+ investorId?: string | undefined;
1912
+ /** Represents the unique ID, provided by Monark, associated with the Financial Advisor submitting an IOI on behalf of their clients. */
1913
+ advisorId?: string | undefined;
1907
1914
  /** The unique ID of the target asset (company, fund, etc.) that the IoI request is for. */
1908
1915
  targetId?: string;
1909
1916
  /** The asset type of the target being invested in (PreIPOCompany, PrivateCompany, etc.) */
@@ -1922,7 +1929,9 @@ export declare class CreateIndicationOfInterestV2 implements ICreateIndicationOf
1922
1929
  /** CreateIndicationOfInterestV2 represents the v2 request to create a generic IOI supporting multiple asset types. */
1923
1930
  export interface ICreateIndicationOfInterestV2 {
1924
1931
  /** Represents the unique ID, provided by Monark, associated with the Investor submitting an IOI, investing in an SPV, or taking any action in the secondary market. */
1925
- investorId?: string;
1932
+ investorId?: string | undefined;
1933
+ /** Represents the unique ID, provided by Monark, associated with the Financial Advisor submitting an IOI on behalf of their clients. */
1934
+ advisorId?: string | undefined;
1926
1935
  /** The unique ID of the target asset (company, fund, etc.) that the IoI request is for. */
1927
1936
  targetId?: string;
1928
1937
  /** The asset type of the target being invested in (PreIPOCompany, PrivateCompany, etc.) */
@@ -2851,7 +2860,7 @@ export declare class FinancialAdvisor implements IFinancialAdvisor {
2851
2860
  /** This is the unique identifier of the Institution that the Financial Advisor is attached to. */
2852
2861
  financialInstitutionId?: string;
2853
2862
  /** CRD Number of the Financial Advisor. */
2854
- crdNumber: string | undefined;
2863
+ crdNumber?: string | undefined;
2855
2864
  /** IARD Number of the Financial Advisor. */
2856
2865
  iardNumber?: string | undefined;
2857
2866
  /** Financial Advisor first name. */
@@ -2867,7 +2876,7 @@ export declare class FinancialAdvisor implements IFinancialAdvisor {
2867
2876
  /** Prefix for the Financial Advisor. */
2868
2877
  prefix: string | undefined;
2869
2878
  /** Financial advisor broker. */
2870
- broker: string | undefined;
2879
+ broker?: string | undefined;
2871
2880
  constructor(data?: IFinancialAdvisor);
2872
2881
  init(_data?: any): void;
2873
2882
  static fromJS(data: any): FinancialAdvisor;
@@ -2880,7 +2889,7 @@ export interface IFinancialAdvisor {
2880
2889
  /** This is the unique identifier of the Institution that the Financial Advisor is attached to. */
2881
2890
  financialInstitutionId?: string;
2882
2891
  /** CRD Number of the Financial Advisor. */
2883
- crdNumber: string | undefined;
2892
+ crdNumber?: string | undefined;
2884
2893
  /** IARD Number of the Financial Advisor. */
2885
2894
  iardNumber?: string | undefined;
2886
2895
  /** Financial Advisor first name. */
@@ -2896,7 +2905,7 @@ export interface IFinancialAdvisor {
2896
2905
  /** Prefix for the Financial Advisor. */
2897
2906
  prefix: string | undefined;
2898
2907
  /** Financial advisor broker. */
2899
- broker: string | undefined;
2908
+ broker?: string | undefined;
2900
2909
  }
2901
2910
  export declare class FinancialAdvisorApiResponse implements IFinancialAdvisorApiResponse {
2902
2911
  items?: FinancialAdvisor[] | undefined;
@@ -3149,7 +3158,9 @@ export declare class IndicationOfInterestV2 implements IIndicationOfInterestV2 {
3149
3158
  /** Unique ID associated with an IOI. */
3150
3159
  id?: string;
3151
3160
  /** Represents the unique ID, provided by Monark, associated with the Investor submitting an IOI, investing in an SPV, or taking any action in the secondary market. */
3152
- investorId?: string;
3161
+ investorId?: string | undefined;
3162
+ /** Represents the unique ID, provided by Monark, associated with the Financial Advisor submitting an IOI on behalf of their clients. */
3163
+ advisorId?: string | undefined;
3153
3164
  /** The unique ID of the target asset (company, fund, etc.) that the IoI request is for. */
3154
3165
  targetId?: string;
3155
3166
  /** The asset type of the target being invested in (PreIPOCompany, PrivateCompany, etc.) */
@@ -3182,7 +3193,9 @@ export interface IIndicationOfInterestV2 {
3182
3193
  /** Unique ID associated with an IOI. */
3183
3194
  id?: string;
3184
3195
  /** Represents the unique ID, provided by Monark, associated with the Investor submitting an IOI, investing in an SPV, or taking any action in the secondary market. */
3185
- investorId?: string;
3196
+ investorId?: string | undefined;
3197
+ /** Represents the unique ID, provided by Monark, associated with the Financial Advisor submitting an IOI on behalf of their clients. */
3198
+ advisorId?: string | undefined;
3186
3199
  /** The unique ID of the target asset (company, fund, etc.) that the IoI request is for. */
3187
3200
  targetId?: string;
3188
3201
  /** The asset type of the target being invested in (PreIPOCompany, PrivateCompany, etc.) */
@@ -6911,6 +6924,8 @@ export declare class Transaction implements ITransaction {
6911
6924
  companyName?: string | undefined;
6912
6925
  /** The reference ID of an order submitted. */
6913
6926
  referenceId?: string | undefined;
6927
+ /** Optional list of documents associated with this transaction. */
6928
+ documents?: DocumentV2[] | undefined;
6914
6929
  constructor(data?: ITransaction);
6915
6930
  init(_data?: any): void;
6916
6931
  static fromJS(data: any): Transaction;
@@ -6949,6 +6964,8 @@ export interface ITransaction {
6949
6964
  companyName?: string | undefined;
6950
6965
  /** The reference ID of an order submitted. */
6951
6966
  referenceId?: string | undefined;
6967
+ /** Optional list of documents associated with this transaction. */
6968
+ documents?: DocumentV2[] | undefined;
6952
6969
  }
6953
6970
  export declare class TransactionAction implements ITransactionAction {
6954
6971
  /** Unique ID associated with an TransactionAction. */
@@ -7446,33 +7463,33 @@ https://github.com/country-regions/country-region-data/blob/master/data.json for
7446
7463
  }
7447
7464
  export declare class UpdateFinancialAdvisor implements IUpdateFinancialAdvisor {
7448
7465
  /** This is the unique identifier of the Institution that the Financial Advisor is attached to. */
7449
- financialInstitutionId?: string;
7466
+ financialInstitutionId: string;
7450
7467
  /** CRD Number of the Financial Advisor. */
7451
- crdNumber: string | undefined;
7468
+ crdNumber?: string | undefined;
7452
7469
  /** IARD Number of the Financial Advisor. */
7453
7470
  iardNumber?: string | undefined;
7454
7471
  /** Financial Advisor first name. */
7455
- firstName: string | undefined;
7472
+ firstName: string;
7456
7473
  /** Financial advisor middle name. */
7457
7474
  middleName?: string | undefined;
7458
7475
  /** Financial advisor last name. */
7459
- lastName: string | undefined;
7476
+ lastName: string;
7460
7477
  /** Financial advisor mailing address. */
7461
- mailingAddress: string | undefined;
7478
+ mailingAddress: string;
7462
7479
  /** Financial advisor mailing city. */
7463
- mailingCity: string | undefined;
7480
+ mailingCity: string;
7464
7481
  /** Financial advisor mailing state. */
7465
- mailingState: string | undefined;
7482
+ mailingState: string;
7466
7483
  /** Financial advisor mailing zip code. */
7467
- mailingZipCode: string | undefined;
7484
+ mailingZipCode: string;
7468
7485
  /** Financial advisor mailing country code. */
7469
- mailingCountryCode: string | undefined;
7486
+ mailingCountryCode: string;
7470
7487
  /** Financial Advisor branch number. */
7471
- branchNumber: string | undefined;
7488
+ branchNumber: string;
7472
7489
  /** Financial advisor phone country code. */
7473
- phoneCountryCode: string | undefined;
7490
+ phoneCountryCode: string;
7474
7491
  /** Financial advisor phone number. */
7475
- phoneNumber: string | undefined;
7492
+ phoneNumber: string;
7476
7493
  /** Financial advisor phone number extension. */
7477
7494
  phoneExtension?: string | undefined;
7478
7495
  /** Financial advisor email address. */
@@ -7480,11 +7497,11 @@ export declare class UpdateFinancialAdvisor implements IUpdateFinancialAdvisor {
7480
7497
  /** Financial advisor fax number. */
7481
7498
  fax?: string | undefined;
7482
7499
  /** Prefix for the Financial Advisor. */
7483
- prefix: string | undefined;
7500
+ prefix: string;
7484
7501
  /** Financial advisor broker. */
7485
- broker: string | undefined;
7502
+ broker?: string | undefined;
7486
7503
  /** ID of the FinancialAdvisor to edit. */
7487
- id?: string;
7504
+ id: string;
7488
7505
  constructor(data?: IUpdateFinancialAdvisor);
7489
7506
  init(_data?: any): void;
7490
7507
  static fromJS(data: any): UpdateFinancialAdvisor;
@@ -7492,33 +7509,33 @@ export declare class UpdateFinancialAdvisor implements IUpdateFinancialAdvisor {
7492
7509
  }
7493
7510
  export interface IUpdateFinancialAdvisor {
7494
7511
  /** This is the unique identifier of the Institution that the Financial Advisor is attached to. */
7495
- financialInstitutionId?: string;
7512
+ financialInstitutionId: string;
7496
7513
  /** CRD Number of the Financial Advisor. */
7497
- crdNumber: string | undefined;
7514
+ crdNumber?: string | undefined;
7498
7515
  /** IARD Number of the Financial Advisor. */
7499
7516
  iardNumber?: string | undefined;
7500
7517
  /** Financial Advisor first name. */
7501
- firstName: string | undefined;
7518
+ firstName: string;
7502
7519
  /** Financial advisor middle name. */
7503
7520
  middleName?: string | undefined;
7504
7521
  /** Financial advisor last name. */
7505
- lastName: string | undefined;
7522
+ lastName: string;
7506
7523
  /** Financial advisor mailing address. */
7507
- mailingAddress: string | undefined;
7524
+ mailingAddress: string;
7508
7525
  /** Financial advisor mailing city. */
7509
- mailingCity: string | undefined;
7526
+ mailingCity: string;
7510
7527
  /** Financial advisor mailing state. */
7511
- mailingState: string | undefined;
7528
+ mailingState: string;
7512
7529
  /** Financial advisor mailing zip code. */
7513
- mailingZipCode: string | undefined;
7530
+ mailingZipCode: string;
7514
7531
  /** Financial advisor mailing country code. */
7515
- mailingCountryCode: string | undefined;
7532
+ mailingCountryCode: string;
7516
7533
  /** Financial Advisor branch number. */
7517
- branchNumber: string | undefined;
7534
+ branchNumber: string;
7518
7535
  /** Financial advisor phone country code. */
7519
- phoneCountryCode: string | undefined;
7536
+ phoneCountryCode: string;
7520
7537
  /** Financial advisor phone number. */
7521
- phoneNumber: string | undefined;
7538
+ phoneNumber: string;
7522
7539
  /** Financial advisor phone number extension. */
7523
7540
  phoneExtension?: string | undefined;
7524
7541
  /** Financial advisor email address. */
@@ -7526,11 +7543,11 @@ export interface IUpdateFinancialAdvisor {
7526
7543
  /** Financial advisor fax number. */
7527
7544
  fax?: string | undefined;
7528
7545
  /** Prefix for the Financial Advisor. */
7529
- prefix: string | undefined;
7546
+ prefix: string;
7530
7547
  /** Financial advisor broker. */
7531
- broker: string | undefined;
7548
+ broker?: string | undefined;
7532
7549
  /** ID of the FinancialAdvisor to edit. */
7533
- id?: string;
7550
+ id: string;
7534
7551
  }
7535
7552
  export declare class UpdateFinancialInstitutionReferenceId implements IUpdateFinancialInstitutionReferenceId {
7536
7553
  /** ID of the FinancialInstitution to edit. */
package/dist/Client.js CHANGED
@@ -71,6 +71,7 @@ export class Client {
71
71
  * Get a Document by ID.
72
72
  * @param id The Document ID for the document to retrieve.
73
73
  * @return OK
74
+ * @deprecated
74
75
  */
75
76
  getDocumentById(id) {
76
77
  let url_ = this.baseUrl + "/primary/v1/document/{id}";
@@ -135,6 +136,7 @@ export class Client {
135
136
  * @param exactMatch (optional) Only returns the items exactly matching the parameters given.
136
137
  * @param sortOrder (optional)
137
138
  * @return OK
139
+ * @deprecated
138
140
  */
139
141
  getAllDocuments(investorId, preIPOCompanyId, preIPOCompanySPVId, preIPOCompanyInvestmentId, investorSubscriptionId, registeredFundId, registeredFundSubscriptionId, documentType, page, pageSize, exactMatch, sortOrder) {
140
142
  let url_ = this.baseUrl + "/primary/v1/document?";
@@ -224,6 +226,7 @@ export class Client {
224
226
  * @param id The Document ID for the document to sign.
225
227
  * @param body (optional) Data about the signing.
226
228
  * @return No Content
229
+ * @deprecated
227
230
  */
228
231
  signDocument(id, body) {
229
232
  let url_ = this.baseUrl + "/primary/v1/document/{id}/sign";
@@ -274,6 +277,7 @@ export class Client {
274
277
  * Downloads a document using document ID and token. The document is accessed anonymously using a secure token.
275
278
  * @param id The Document ID for the document to download.
276
279
  * @param token The secure token required to access the document.
280
+ * @deprecated
277
281
  */
278
282
  downloadDocument(id, token) {
279
283
  let url_ = this.baseUrl + "/primary/v1/document/{id}/download/{token}";
@@ -7392,13 +7396,18 @@ export class Client {
7392
7396
  /**
7393
7397
  * Get an order by ID.
7394
7398
  * @param id The order ID.
7399
+ * @param includeDocuments (optional) Optional flag to include associated documents.
7395
7400
  * @return OK
7396
7401
  */
7397
- getTransactionById(id) {
7398
- let url_ = this.baseUrl + "/primary/v2/transaction/{id}";
7402
+ getTransactionById(id, includeDocuments) {
7403
+ let url_ = this.baseUrl + "/primary/v2/transaction/{id}?";
7399
7404
  if (id === undefined || id === null)
7400
7405
  throw new globalThis.Error("The parameter 'id' must be defined.");
7401
7406
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
7407
+ if (includeDocuments === null)
7408
+ throw new globalThis.Error("The parameter 'includeDocuments' cannot be null.");
7409
+ else if (includeDocuments !== undefined)
7410
+ url_ += "includeDocuments=" + encodeURIComponent("" + includeDocuments) + "&";
7402
7411
  url_ = url_.replace(/[?&]$/, "");
7403
7412
  let options_ = {
7404
7413
  method: "GET",
@@ -9012,6 +9021,7 @@ export class CreateIndicationOfInterestV2 {
9012
9021
  init(_data) {
9013
9022
  if (_data) {
9014
9023
  this.investorId = _data["investorId"];
9024
+ this.advisorId = _data["advisorId"];
9015
9025
  this.targetId = _data["targetId"];
9016
9026
  this.targetAssetType = _data["targetAssetType"];
9017
9027
  this.numberOfClients = _data["numberOfClients"];
@@ -9028,6 +9038,7 @@ export class CreateIndicationOfInterestV2 {
9028
9038
  toJSON(data) {
9029
9039
  data = typeof data === 'object' ? data : {};
9030
9040
  data["investorId"] = this.investorId;
9041
+ data["advisorId"] = this.advisorId;
9031
9042
  data["targetId"] = this.targetId;
9032
9043
  data["targetAssetType"] = this.targetAssetType;
9033
9044
  data["numberOfClients"] = this.numberOfClients;
@@ -10606,6 +10617,7 @@ export class IndicationOfInterestV2 {
10606
10617
  if (_data) {
10607
10618
  this.id = _data["id"];
10608
10619
  this.investorId = _data["investorId"];
10620
+ this.advisorId = _data["advisorId"];
10609
10621
  this.targetId = _data["targetId"];
10610
10622
  this.targetAssetType = _data["targetAssetType"];
10611
10623
  this.numberOfClients = _data["numberOfClients"];
@@ -10629,6 +10641,7 @@ export class IndicationOfInterestV2 {
10629
10641
  data = typeof data === 'object' ? data : {};
10630
10642
  data["id"] = this.id;
10631
10643
  data["investorId"] = this.investorId;
10644
+ data["advisorId"] = this.advisorId;
10632
10645
  data["targetId"] = this.targetId;
10633
10646
  data["targetAssetType"] = this.targetAssetType;
10634
10647
  data["numberOfClients"] = this.numberOfClients;
@@ -14745,6 +14758,11 @@ export class Transaction {
14745
14758
  this.targetName = _data["targetName"];
14746
14759
  this.companyName = _data["companyName"];
14747
14760
  this.referenceId = _data["referenceId"];
14761
+ if (Array.isArray(_data["documents"])) {
14762
+ this.documents = [];
14763
+ for (let item of _data["documents"])
14764
+ this.documents.push(DocumentV2.fromJS(item));
14765
+ }
14748
14766
  }
14749
14767
  }
14750
14768
  static fromJS(data) {
@@ -14771,6 +14789,11 @@ export class Transaction {
14771
14789
  data["targetName"] = this.targetName;
14772
14790
  data["companyName"] = this.companyName;
14773
14791
  data["referenceId"] = this.referenceId;
14792
+ if (Array.isArray(this.documents)) {
14793
+ data["documents"] = [];
14794
+ for (let item of this.documents)
14795
+ data["documents"].push(item ? item.toJSON() : undefined);
14796
+ }
14774
14797
  return data;
14775
14798
  }
14776
14799
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monarkmarkets/api-client",
3
- "version": "1.3.15",
3
+ "version": "1.3.17",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",