@monarkmarkets/api-client 1.2.0 → 1.2.2
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 +4 -4
- package/dist/Client.js +2 -2
- package/package.json +1 -1
package/dist/Client.d.ts
CHANGED
|
@@ -1859,6 +1859,8 @@ export declare class FinancialInstitution implements IFinancialInstitution {
|
|
|
1859
1859
|
id?: string;
|
|
1860
1860
|
/** The partner associated with this FinancialInstitution. */
|
|
1861
1861
|
partnerId?: string;
|
|
1862
|
+
/** The name of the partner associated with this FinancialInstitution. */
|
|
1863
|
+
partnerName?: string | undefined;
|
|
1862
1864
|
/** Legal name of the legal entity interacting with Monark's APIs. */
|
|
1863
1865
|
legalName?: string | undefined;
|
|
1864
1866
|
/** CRD number associated with this financial institution. */
|
|
@@ -1882,8 +1884,6 @@ See https://github.com/country-regions/country-region-data/blob/master/data.json
|
|
|
1882
1884
|
createdAt?: Date;
|
|
1883
1885
|
/** Date the FinancialInstitution was last updated. */
|
|
1884
1886
|
updatedAt?: Date;
|
|
1885
|
-
/** The linked Partner. */
|
|
1886
|
-
partner?: Partner | undefined;
|
|
1887
1887
|
/** Optional reference field for this Financial Institution. */
|
|
1888
1888
|
financialInstitutionReferenceId?: string | undefined;
|
|
1889
1889
|
constructor(data?: IFinancialInstitution);
|
|
@@ -1896,6 +1896,8 @@ export interface IFinancialInstitution {
|
|
|
1896
1896
|
id?: string;
|
|
1897
1897
|
/** The partner associated with this FinancialInstitution. */
|
|
1898
1898
|
partnerId?: string;
|
|
1899
|
+
/** The name of the partner associated with this FinancialInstitution. */
|
|
1900
|
+
partnerName?: string | undefined;
|
|
1899
1901
|
/** Legal name of the legal entity interacting with Monark's APIs. */
|
|
1900
1902
|
legalName?: string | undefined;
|
|
1901
1903
|
/** CRD number associated with this financial institution. */
|
|
@@ -1919,8 +1921,6 @@ See https://github.com/country-regions/country-region-data/blob/master/data.json
|
|
|
1919
1921
|
createdAt?: Date;
|
|
1920
1922
|
/** Date the FinancialInstitution was last updated. */
|
|
1921
1923
|
updatedAt?: Date;
|
|
1922
|
-
/** The linked Partner. */
|
|
1923
|
-
partner?: Partner | undefined;
|
|
1924
1924
|
/** Optional reference field for this Financial Institution. */
|
|
1925
1925
|
financialInstitutionReferenceId?: string | undefined;
|
|
1926
1926
|
}
|
package/dist/Client.js
CHANGED
|
@@ -7357,6 +7357,7 @@ export class FinancialInstitution {
|
|
|
7357
7357
|
if (_data) {
|
|
7358
7358
|
this.id = _data["id"];
|
|
7359
7359
|
this.partnerId = _data["partnerId"];
|
|
7360
|
+
this.partnerName = _data["partnerName"];
|
|
7360
7361
|
this.legalName = _data["legalName"];
|
|
7361
7362
|
this.crdNumber = _data["crdNumber"];
|
|
7362
7363
|
this.financialInstitutionType = _data["financialInstitutionType"];
|
|
@@ -7368,7 +7369,6 @@ export class FinancialInstitution {
|
|
|
7368
7369
|
this.countryCode = _data["countryCode"];
|
|
7369
7370
|
this.createdAt = _data["createdAt"] ? new Date(_data["createdAt"].toString()) : undefined;
|
|
7370
7371
|
this.updatedAt = _data["updatedAt"] ? new Date(_data["updatedAt"].toString()) : undefined;
|
|
7371
|
-
this.partner = _data["partner"] ? Partner.fromJS(_data["partner"]) : undefined;
|
|
7372
7372
|
this.financialInstitutionReferenceId = _data["financialInstitutionReferenceId"];
|
|
7373
7373
|
}
|
|
7374
7374
|
}
|
|
@@ -7382,6 +7382,7 @@ export class FinancialInstitution {
|
|
|
7382
7382
|
data = typeof data === 'object' ? data : {};
|
|
7383
7383
|
data["id"] = this.id;
|
|
7384
7384
|
data["partnerId"] = this.partnerId;
|
|
7385
|
+
data["partnerName"] = this.partnerName;
|
|
7385
7386
|
data["legalName"] = this.legalName;
|
|
7386
7387
|
data["crdNumber"] = this.crdNumber;
|
|
7387
7388
|
data["financialInstitutionType"] = this.financialInstitutionType;
|
|
@@ -7393,7 +7394,6 @@ export class FinancialInstitution {
|
|
|
7393
7394
|
data["countryCode"] = this.countryCode;
|
|
7394
7395
|
data["createdAt"] = this.createdAt ? this.createdAt.toISOString() : undefined;
|
|
7395
7396
|
data["updatedAt"] = this.updatedAt ? this.updatedAt.toISOString() : undefined;
|
|
7396
|
-
data["partner"] = this.partner ? this.partner.toJSON() : undefined;
|
|
7397
7397
|
data["financialInstitutionReferenceId"] = this.financialInstitutionReferenceId;
|
|
7398
7398
|
return data;
|
|
7399
7399
|
}
|