@arrowsphere/api-client 3.376.0 → 3.377.0-rc-cpe-1

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.
@@ -18,13 +18,14 @@ export declare enum WhoAmIResponseFields {
18
18
  COLUMN_REFERENCE = "reference",
19
19
  COLUMN_REF = "ref",
20
20
  COLUMN_BILLING_ID = "billingId",
21
- COLUMN_INTERNAL_REFERENCE = "internalReference"
21
+ COLUMN_INTERNAL_REFERENCE = "internalReference",
22
+ COLUMN_PREFERRED_CURRENCY = "preferredCurrency"
22
23
  }
23
24
  /**
24
25
  * Response data type for WhoAmI requests.
25
26
  */
26
27
  export declare type WhoAmIResponseData = {
27
- [field in WhoAmIResponseFields]: string;
28
+ [field in WhoAmIResponseFields]: field extends WhoAmIResponseFields.COLUMN_PREFERRED_CURRENCY ? string | undefined : string;
28
29
  };
29
30
  /**
30
31
  * WhoAmI response Entity
@@ -66,6 +67,7 @@ export declare class WhoAmI extends AbstractEntity<WhoAmIResponseData> {
66
67
  getRef(): string;
67
68
  getBillingId(): string;
68
69
  getInternalReference(): string;
70
+ getPreferredCurrency(): string | undefined;
69
71
  /**
70
72
  * Returns the raw JSON properties
71
73
  * @returns {@link WhoAmIResponseData}
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _WhoAmI_companyName, _WhoAmI_addressLine1, _WhoAmI_addressLine2, _WhoAmI_zip, _WhoAmI_city, _WhoAmI_countryCode, _WhoAmI_state, _WhoAmI_receptionPhone, _WhoAmI_websiteUrl, _WhoAmI_emailContact, _WhoAmI_headcount, _WhoAmI_taxNumber, _WhoAmI_reference, _WhoAmI_ref, _WhoAmI_billingId, _WhoAmI_internalReference;
13
+ var _WhoAmI_companyName, _WhoAmI_addressLine1, _WhoAmI_addressLine2, _WhoAmI_zip, _WhoAmI_city, _WhoAmI_countryCode, _WhoAmI_state, _WhoAmI_receptionPhone, _WhoAmI_websiteUrl, _WhoAmI_emailContact, _WhoAmI_headcount, _WhoAmI_taxNumber, _WhoAmI_reference, _WhoAmI_ref, _WhoAmI_billingId, _WhoAmI_internalReference, _WhoAmI_preferredCurrency;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.WhoAmI = exports.WhoAmIResponseFields = void 0;
16
16
  const abstractEntity_1 = require("../../abstractEntity");
@@ -35,6 +35,7 @@ var WhoAmIResponseFields;
35
35
  WhoAmIResponseFields["COLUMN_REF"] = "ref";
36
36
  WhoAmIResponseFields["COLUMN_BILLING_ID"] = "billingId";
37
37
  WhoAmIResponseFields["COLUMN_INTERNAL_REFERENCE"] = "internalReference";
38
+ WhoAmIResponseFields["COLUMN_PREFERRED_CURRENCY"] = "preferredCurrency";
38
39
  })(WhoAmIResponseFields = exports.WhoAmIResponseFields || (exports.WhoAmIResponseFields = {}));
39
40
  /**
40
41
  * WhoAmI response Entity
@@ -76,6 +77,7 @@ class WhoAmI extends abstractEntity_1.AbstractEntity {
76
77
  _WhoAmI_ref.set(this, void 0);
77
78
  _WhoAmI_billingId.set(this, void 0);
78
79
  _WhoAmI_internalReference.set(this, void 0);
80
+ _WhoAmI_preferredCurrency.set(this, void 0);
79
81
  __classPrivateFieldSet(this, _WhoAmI_companyName, data[WhoAmIResponseFields.COLUMN_COMPANY_NAME], "f");
80
82
  __classPrivateFieldSet(this, _WhoAmI_addressLine1, data[WhoAmIResponseFields.COLUMN_ADDRESS_LINE_1], "f");
81
83
  __classPrivateFieldSet(this, _WhoAmI_addressLine2, data[WhoAmIResponseFields.COLUMN_ADDRESS_LINE_2], "f");
@@ -92,6 +94,7 @@ class WhoAmI extends abstractEntity_1.AbstractEntity {
92
94
  __classPrivateFieldSet(this, _WhoAmI_ref, data[WhoAmIResponseFields.COLUMN_REF], "f");
93
95
  __classPrivateFieldSet(this, _WhoAmI_billingId, data[WhoAmIResponseFields.COLUMN_BILLING_ID], "f");
94
96
  __classPrivateFieldSet(this, _WhoAmI_internalReference, data[WhoAmIResponseFields.COLUMN_INTERNAL_REFERENCE], "f");
97
+ __classPrivateFieldSet(this, _WhoAmI_preferredCurrency, data[WhoAmIResponseFields.COLUMN_PREFERRED_CURRENCY], "f");
95
98
  }
96
99
  getCompanyName() {
97
100
  return __classPrivateFieldGet(this, _WhoAmI_companyName, "f");
@@ -141,6 +144,9 @@ class WhoAmI extends abstractEntity_1.AbstractEntity {
141
144
  getInternalReference() {
142
145
  return __classPrivateFieldGet(this, _WhoAmI_internalReference, "f");
143
146
  }
147
+ getPreferredCurrency() {
148
+ return __classPrivateFieldGet(this, _WhoAmI_preferredCurrency, "f");
149
+ }
144
150
  /**
145
151
  * Returns the raw JSON properties
146
152
  * @returns {@link WhoAmIResponseData}
@@ -163,9 +169,10 @@ class WhoAmI extends abstractEntity_1.AbstractEntity {
163
169
  [WhoAmIResponseFields.COLUMN_REF]: this.getRef(),
164
170
  [WhoAmIResponseFields.COLUMN_BILLING_ID]: this.getBillingId(),
165
171
  [WhoAmIResponseFields.COLUMN_INTERNAL_REFERENCE]: this.getInternalReference(),
172
+ [WhoAmIResponseFields.COLUMN_PREFERRED_CURRENCY]: this.getPreferredCurrency(),
166
173
  };
167
174
  }
168
175
  }
169
176
  exports.WhoAmI = WhoAmI;
170
- _WhoAmI_companyName = new WeakMap(), _WhoAmI_addressLine1 = new WeakMap(), _WhoAmI_addressLine2 = new WeakMap(), _WhoAmI_zip = new WeakMap(), _WhoAmI_city = new WeakMap(), _WhoAmI_countryCode = new WeakMap(), _WhoAmI_state = new WeakMap(), _WhoAmI_receptionPhone = new WeakMap(), _WhoAmI_websiteUrl = new WeakMap(), _WhoAmI_emailContact = new WeakMap(), _WhoAmI_headcount = new WeakMap(), _WhoAmI_taxNumber = new WeakMap(), _WhoAmI_reference = new WeakMap(), _WhoAmI_ref = new WeakMap(), _WhoAmI_billingId = new WeakMap(), _WhoAmI_internalReference = new WeakMap();
177
+ _WhoAmI_companyName = new WeakMap(), _WhoAmI_addressLine1 = new WeakMap(), _WhoAmI_addressLine2 = new WeakMap(), _WhoAmI_zip = new WeakMap(), _WhoAmI_city = new WeakMap(), _WhoAmI_countryCode = new WeakMap(), _WhoAmI_state = new WeakMap(), _WhoAmI_receptionPhone = new WeakMap(), _WhoAmI_websiteUrl = new WeakMap(), _WhoAmI_emailContact = new WeakMap(), _WhoAmI_headcount = new WeakMap(), _WhoAmI_taxNumber = new WeakMap(), _WhoAmI_reference = new WeakMap(), _WhoAmI_ref = new WeakMap(), _WhoAmI_billingId = new WeakMap(), _WhoAmI_internalReference = new WeakMap(), _WhoAmI_preferredCurrency = new WeakMap();
171
178
  //# sourceMappingURL=whoAmI.js.map
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/ArrowSphere/nodejs-api-client.git"
6
6
  },
7
- "version": "3.376.0",
7
+ "version": "3.377.0-rc-cpe-1",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",