@arrowsphere/api-client 3.388.0-rc-cpe-4 → 3.389.0

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/build/catalog/types/catalogGraphQLTypes.d.ts +14 -0
  3. package/build/customers/customersClient.d.ts +1 -0
  4. package/build/customers/entities/customers/customer.d.ts +2 -1
  5. package/build/customers/entities/customers/customer.js +1 -0
  6. package/build/licenses/entities/getLicense/licensePriceGetResult.d.ts +1 -5
  7. package/build/licenses/entities/getLicense/licensePriceGetResult.js +2 -13
  8. package/build/licenses/entities/license/licenseFindResult.js +0 -1
  9. package/build/licenses/entities/license/priceFindResult.d.ts +1 -5
  10. package/build/licenses/entities/license/priceFindResult.js +2 -13
  11. package/build/licenses/entities/offer/offerFindResult.js +1 -0
  12. package/build/licenses/entities/offer/priceBandFindResult.d.ts +8 -1
  13. package/build/licenses/entities/offer/priceBandFindResult.js +12 -2
  14. package/build/licenses/entities/offer/priceband/attributes.d.ts +33 -0
  15. package/build/licenses/entities/offer/priceband/attributes.js +49 -0
  16. package/build/licenses/index.d.ts +1 -0
  17. package/build/licenses/index.js +1 -0
  18. package/build/orders/entities/orders/products/prices/productPrices.d.ts +1 -5
  19. package/build/orders/entities/orders/products/prices/productPrices.js +2 -13
  20. package/package.json +1 -1
  21. package/build/licenses/entities/getLicense/licenseGetPreferredCurrency.d.ts +0 -18
  22. package/build/licenses/entities/getLicense/licenseGetPreferredCurrency.js +0 -47
  23. package/build/licenses/entities/getLicense/preferredCurrency/licenseGetPreferredCurrencyValues.d.ts +0 -17
  24. package/build/licenses/entities/getLicense/preferredCurrency/licenseGetPreferredCurrencyValues.js +0 -46
  25. package/build/licenses/entities/license/licenseFindPreferredCurrency.d.ts +0 -18
  26. package/build/licenses/entities/license/licenseFindPreferredCurrency.js +0 -47
  27. package/build/licenses/entities/license/preferredCurrency/licenseFindPreferredCurrencyValues.d.ts +0 -19
  28. package/build/licenses/entities/license/preferredCurrency/licenseFindPreferredCurrencyValues.js +0 -55
  29. package/build/orders/entities/orders/products/prices/preferredCurrency/preferredCurrencyValues.d.ts +0 -16
  30. package/build/orders/entities/orders/products/prices/preferredCurrency/preferredCurrencyValues.js +0 -45
  31. package/build/orders/entities/orders/products/prices/preferredCurrency.d.ts +0 -18
  32. package/build/orders/entities/orders/products/prices/preferredCurrency.js +0 -47
  33. package/build/shared/preferredCurrency/conversionRules.d.ts +0 -19
  34. package/build/shared/preferredCurrency/conversionRules.js +0 -52
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4
4
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
 
6
+ ## [3.389.0] - 2026.08.10
7
+ ### Added
8
+ - [catalog] Add `offer` field of type `OfferLightType` to `PriceBandType`
9
+ - [licenses] Add `Attributes` entity with `name` and nullable `value` fields
10
+
11
+ ## [3.388.0] - 2026.08.04
12
+ ### Added
13
+ - [customer] Add `COLUMN_IS_RESELLER_COMPANY` key to `CustomerFields` enum
14
+ - [customer] Add `isResellerCompany` to `customersClient`
15
+
6
16
  ## [3.387.0] - 2026.08.03
7
17
  ### Added
8
18
  - [graphql-api] Add `PartnerCatalogItem` entity with `id`, `sid`, `sellPrice`, `price`, `partner`, `currency`, `softwareProduct`, and `subscription` fields
@@ -186,6 +186,7 @@ export declare type PriceBandType = {
186
186
  isBuyable?: boolean;
187
187
  marketplace?: string;
188
188
  name?: string;
189
+ offer?: OfferLightType;
189
190
  orderingType?: string;
190
191
  prices?: PricesType;
191
192
  saleConstraints?: PriceBandSaleConstraintsType;
@@ -194,6 +195,19 @@ export declare type PriceBandType = {
194
195
  promotionsPrices?: Array<PromotionPricesFull>;
195
196
  vendor?: VendorType;
196
197
  };
198
+ export declare type OfferLightType = {
199
+ identifiers?: IdentifiersType;
200
+ name?: string;
201
+ classification?: string;
202
+ arrowCategories?: string[];
203
+ arrowSubCategories?: string[];
204
+ lastUpdate?: string;
205
+ isAddon?: boolean;
206
+ hasAddons?: boolean;
207
+ environmentAvailability?: string;
208
+ isEnabled?: boolean;
209
+ isTrial?: boolean;
210
+ };
197
211
  export declare type PriceBandActionFlagsType = {
198
212
  canBeCancelled?: boolean;
199
213
  canBeReactivated?: boolean;
@@ -100,6 +100,7 @@ export declare type PostCustomerPayload = {
100
100
  [CustomerFields.COLUMN_CONTACT]?: PostCustomerContact;
101
101
  [CustomerFields.COLUMN_REGISTRATION_NUMBER]?: string;
102
102
  [CustomerFields.COLUMN_CUSTOM_FIELDS]?: CustomerCustomFieldType[];
103
+ [CustomerFields.COLUMN_IS_RESELLER_COMPANY]?: boolean;
103
104
  };
104
105
  export declare enum PostCustomerInvitationFields {
105
106
  COLUMN_CONTACT_ID = "contactId",
@@ -46,7 +46,8 @@ export declare enum CustomerFields {
46
46
  COLUMN_RESELLER = "Reseller",
47
47
  COLUMN_PARTNER_TAGS = "PartnerTags",
48
48
  COLUMN_PARTNER_TAGS_LABEL = "label",
49
- COLUMN_CUSTOM_FIELDS = "customFields"
49
+ COLUMN_CUSTOM_FIELDS = "customFields",
50
+ COLUMN_IS_RESELLER_COMPANY = "isResellerCompany"
50
51
  }
51
52
  export declare type CompanyReseller = {
52
53
  [CustomerFields.COLUMN_REF]: string;
@@ -63,6 +63,7 @@ var CustomerFields;
63
63
  CustomerFields["COLUMN_PARTNER_TAGS"] = "PartnerTags";
64
64
  CustomerFields["COLUMN_PARTNER_TAGS_LABEL"] = "label";
65
65
  CustomerFields["COLUMN_CUSTOM_FIELDS"] = "customFields";
66
+ CustomerFields["COLUMN_IS_RESELLER_COMPANY"] = "isResellerCompany";
66
67
  })(CustomerFields = exports.CustomerFields || (exports.CustomerFields = {}));
67
68
  class Customer extends abstractEntity_1.AbstractEntity {
68
69
  constructor(getCustomersDataInput) {
@@ -1,19 +1,16 @@
1
1
  import { BuySellData, BuySellFindResult } from './buySellFindResult';
2
2
  import { AbstractEntity } from '../../../abstractEntity';
3
- import { LicenseGetPreferredCurrency, LicenseGetPreferredCurrencyType } from './licenseGetPreferredCurrency';
4
3
  export declare enum LicensePriceGetFields {
5
4
  COLUMN_CURRENCY = "currency",
6
5
  COLUMN_PRICEBAND_ARROWSPHERE_SKU = "priceBandArrowsphereSku",
7
6
  COLUMN_UNIT = "unit",
8
- COLUMN_TOTAL = "total",
9
- COLUMN_PREFERRED_CURRENCY = "preferredCurrency"
7
+ COLUMN_TOTAL = "total"
10
8
  }
11
9
  export declare type LicensePriceGetData = {
12
10
  [LicensePriceGetFields.COLUMN_CURRENCY]: string;
13
11
  [LicensePriceGetFields.COLUMN_PRICEBAND_ARROWSPHERE_SKU]: string;
14
12
  [LicensePriceGetFields.COLUMN_UNIT]: BuySellData;
15
13
  [LicensePriceGetFields.COLUMN_TOTAL]: BuySellData;
16
- [LicensePriceGetFields.COLUMN_PREFERRED_CURRENCY]?: LicenseGetPreferredCurrencyType;
17
14
  };
18
15
  export declare class LicensePriceGetResult extends AbstractEntity<LicensePriceGetData> {
19
16
  #private;
@@ -22,6 +19,5 @@ export declare class LicensePriceGetResult extends AbstractEntity<LicensePriceGe
22
19
  get priceBandArrowsphereSku(): string;
23
20
  get unit(): BuySellFindResult;
24
21
  get total(): BuySellFindResult;
25
- get preferredCurrency(): LicenseGetPreferredCurrency | undefined;
26
22
  toJSON(): LicensePriceGetData;
27
23
  }
@@ -10,19 +10,17 @@ 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 _LicensePriceGetResult_currency, _LicensePriceGetResult_priceBandArrowsphereSku, _LicensePriceGetResult_unit, _LicensePriceGetResult_total, _LicensePriceGetResult_preferredCurrency;
13
+ var _LicensePriceGetResult_currency, _LicensePriceGetResult_priceBandArrowsphereSku, _LicensePriceGetResult_unit, _LicensePriceGetResult_total;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.LicensePriceGetResult = exports.LicensePriceGetFields = void 0;
16
16
  const buySellFindResult_1 = require("./buySellFindResult");
17
17
  const abstractEntity_1 = require("../../../abstractEntity");
18
- const licenseGetPreferredCurrency_1 = require("./licenseGetPreferredCurrency");
19
18
  var LicensePriceGetFields;
20
19
  (function (LicensePriceGetFields) {
21
20
  LicensePriceGetFields["COLUMN_CURRENCY"] = "currency";
22
21
  LicensePriceGetFields["COLUMN_PRICEBAND_ARROWSPHERE_SKU"] = "priceBandArrowsphereSku";
23
22
  LicensePriceGetFields["COLUMN_UNIT"] = "unit";
24
23
  LicensePriceGetFields["COLUMN_TOTAL"] = "total";
25
- LicensePriceGetFields["COLUMN_PREFERRED_CURRENCY"] = "preferredCurrency";
26
24
  })(LicensePriceGetFields = exports.LicensePriceGetFields || (exports.LicensePriceGetFields = {}));
27
25
  class LicensePriceGetResult extends abstractEntity_1.AbstractEntity {
28
26
  constructor(data) {
@@ -31,14 +29,10 @@ class LicensePriceGetResult extends abstractEntity_1.AbstractEntity {
31
29
  _LicensePriceGetResult_priceBandArrowsphereSku.set(this, void 0);
32
30
  _LicensePriceGetResult_unit.set(this, void 0);
33
31
  _LicensePriceGetResult_total.set(this, void 0);
34
- _LicensePriceGetResult_preferredCurrency.set(this, void 0);
35
32
  __classPrivateFieldSet(this, _LicensePriceGetResult_currency, data[LicensePriceGetFields.COLUMN_CURRENCY], "f");
36
33
  __classPrivateFieldSet(this, _LicensePriceGetResult_priceBandArrowsphereSku, data[LicensePriceGetFields.COLUMN_PRICEBAND_ARROWSPHERE_SKU], "f");
37
34
  __classPrivateFieldSet(this, _LicensePriceGetResult_unit, new buySellFindResult_1.BuySellFindResult(data[LicensePriceGetFields.COLUMN_UNIT]), "f");
38
35
  __classPrivateFieldSet(this, _LicensePriceGetResult_total, new buySellFindResult_1.BuySellFindResult(data[LicensePriceGetFields.COLUMN_TOTAL]), "f");
39
- __classPrivateFieldSet(this, _LicensePriceGetResult_preferredCurrency, data[LicensePriceGetFields.COLUMN_PREFERRED_CURRENCY]
40
- ? new licenseGetPreferredCurrency_1.LicenseGetPreferredCurrency(data[LicensePriceGetFields.COLUMN_PREFERRED_CURRENCY])
41
- : undefined, "f");
42
36
  }
43
37
  get currency() {
44
38
  return __classPrivateFieldGet(this, _LicensePriceGetResult_currency, "f");
@@ -52,20 +46,15 @@ class LicensePriceGetResult extends abstractEntity_1.AbstractEntity {
52
46
  get total() {
53
47
  return __classPrivateFieldGet(this, _LicensePriceGetResult_total, "f");
54
48
  }
55
- get preferredCurrency() {
56
- return __classPrivateFieldGet(this, _LicensePriceGetResult_preferredCurrency, "f");
57
- }
58
49
  toJSON() {
59
- var _a;
60
50
  return {
61
51
  [LicensePriceGetFields.COLUMN_CURRENCY]: this.currency,
62
52
  [LicensePriceGetFields.COLUMN_PRICEBAND_ARROWSPHERE_SKU]: __classPrivateFieldGet(this, _LicensePriceGetResult_priceBandArrowsphereSku, "f"),
63
53
  [LicensePriceGetFields.COLUMN_UNIT]: this.unit.toJSON(),
64
54
  [LicensePriceGetFields.COLUMN_TOTAL]: this.total.toJSON(),
65
- [LicensePriceGetFields.COLUMN_PREFERRED_CURRENCY]: (_a = this.preferredCurrency) === null || _a === void 0 ? void 0 : _a.toJSON(),
66
55
  };
67
56
  }
68
57
  }
69
58
  exports.LicensePriceGetResult = LicensePriceGetResult;
70
- _LicensePriceGetResult_currency = new WeakMap(), _LicensePriceGetResult_priceBandArrowsphereSku = new WeakMap(), _LicensePriceGetResult_unit = new WeakMap(), _LicensePriceGetResult_total = new WeakMap(), _LicensePriceGetResult_preferredCurrency = new WeakMap();
59
+ _LicensePriceGetResult_currency = new WeakMap(), _LicensePriceGetResult_priceBandArrowsphereSku = new WeakMap(), _LicensePriceGetResult_unit = new WeakMap(), _LicensePriceGetResult_total = new WeakMap();
71
60
  //# sourceMappingURL=licensePriceGetResult.js.map
@@ -187,7 +187,6 @@ class LicenseFindResult extends abstractEntity_1.AbstractEntity {
187
187
  [priceFindResult_1.PriceFindResultFields.COLUMN_SELL_PRICE]: data[LicenseFindResultFields.COLUMN_PRICE][priceFindResult_1.PriceFindResultFields.COLUMN_SELL_PRICE],
188
188
  [priceFindResult_1.PriceFindResultFields.COLUMN_LIST_PRICE]: data[LicenseFindResultFields.COLUMN_PRICE][priceFindResult_1.PriceFindResultFields.COLUMN_LIST_PRICE],
189
189
  [priceFindResult_1.PriceFindResultFields.COLUMN_CURRENCY]: data[LicenseFindResultFields.COLUMN_PRICE][priceFindResult_1.PriceFindResultFields.COLUMN_CURRENCY],
190
- [priceFindResult_1.PriceFindResultFields.COLUMN_PREFERRED_CURRENCY]: data[LicenseFindResultFields.COLUMN_PRICE][priceFindResult_1.PriceFindResultFields.COLUMN_PREFERRED_CURRENCY],
191
190
  };
192
191
  __classPrivateFieldSet(this, _LicenseFindResult_price, new priceFindResult_1.PriceFindResult(price), "f");
193
192
  __classPrivateFieldSet(this, _LicenseFindResult_resellerName, data[LicenseFindResultFields.COLUMN_RESELLER_NAME], "f");
@@ -1,13 +1,11 @@
1
1
  import { DataKeywords, FiltersParameters, SortParameters } from '../../licensesClient';
2
2
  import { AbstractEntity } from '../../../abstractEntity';
3
- import { LicenseFindPreferredCurrency, LicenseFindPreferredCurrencyType } from './licenseFindPreferredCurrency';
4
3
  export declare enum PriceFindResultFields {
5
4
  COLUMN_PRICE_BAND_ARROWSPHERE_SKU = "priceBandArrowsphereSku",
6
5
  COLUMN_BUY_PRICE = "buy_price",
7
6
  COLUMN_SELL_PRICE = "sell_price",
8
7
  COLUMN_LIST_PRICE = "list_price",
9
- COLUMN_CURRENCY = "currency",
10
- COLUMN_PREFERRED_CURRENCY = "preferredCurrency"
8
+ COLUMN_CURRENCY = "currency"
11
9
  }
12
10
  export declare type PriceFindResultData = {
13
11
  [PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU]: string | null;
@@ -15,7 +13,6 @@ export declare type PriceFindResultData = {
15
13
  [PriceFindResultFields.COLUMN_SELL_PRICE]: number;
16
14
  [PriceFindResultFields.COLUMN_LIST_PRICE]: number;
17
15
  [PriceFindResultFields.COLUMN_CURRENCY]?: string | null;
18
- [PriceFindResultFields.COLUMN_PREFERRED_CURRENCY]?: LicenseFindPreferredCurrencyType;
19
16
  };
20
17
  export declare type PriceFindResultDataKeywords = {
21
18
  [PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU]?: DataKeywords;
@@ -53,6 +50,5 @@ export declare class PriceFindResult extends AbstractEntity<PriceFindResultData>
53
50
  get sellPrice(): number;
54
51
  get listPrice(): number;
55
52
  get currency(): string | null | undefined;
56
- get preferredCurrency(): LicenseFindPreferredCurrency | undefined;
57
53
  toJSON(): PriceFindResultData;
58
54
  }
@@ -10,11 +10,10 @@ 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 _PriceFindResult_price_band_arrowsphere_sku, _PriceFindResult_buy_price, _PriceFindResult_sell_price, _PriceFindResult_list_price, _PriceFindResult_currency, _PriceFindResult_preferredCurrency;
13
+ var _PriceFindResult_price_band_arrowsphere_sku, _PriceFindResult_buy_price, _PriceFindResult_sell_price, _PriceFindResult_list_price, _PriceFindResult_currency;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.PriceFindResult = exports.PriceFindResultFields = void 0;
16
16
  const abstractEntity_1 = require("../../../abstractEntity");
17
- const licenseFindPreferredCurrency_1 = require("./licenseFindPreferredCurrency");
18
17
  var PriceFindResultFields;
19
18
  (function (PriceFindResultFields) {
20
19
  PriceFindResultFields["COLUMN_PRICE_BAND_ARROWSPHERE_SKU"] = "priceBandArrowsphereSku";
@@ -22,7 +21,6 @@ var PriceFindResultFields;
22
21
  PriceFindResultFields["COLUMN_SELL_PRICE"] = "sell_price";
23
22
  PriceFindResultFields["COLUMN_LIST_PRICE"] = "list_price";
24
23
  PriceFindResultFields["COLUMN_CURRENCY"] = "currency";
25
- PriceFindResultFields["COLUMN_PREFERRED_CURRENCY"] = "preferredCurrency";
26
24
  })(PriceFindResultFields = exports.PriceFindResultFields || (exports.PriceFindResultFields = {}));
27
25
  class PriceFindResult extends abstractEntity_1.AbstractEntity {
28
26
  constructor(data) {
@@ -39,15 +37,11 @@ class PriceFindResult extends abstractEntity_1.AbstractEntity {
39
37
  _PriceFindResult_sell_price.set(this, void 0);
40
38
  _PriceFindResult_list_price.set(this, void 0);
41
39
  _PriceFindResult_currency.set(this, void 0);
42
- _PriceFindResult_preferredCurrency.set(this, void 0);
43
40
  __classPrivateFieldSet(this, _PriceFindResult_price_band_arrowsphere_sku, data[PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU], "f");
44
41
  __classPrivateFieldSet(this, _PriceFindResult_buy_price, data[PriceFindResultFields.COLUMN_BUY_PRICE], "f");
45
42
  __classPrivateFieldSet(this, _PriceFindResult_sell_price, data[PriceFindResultFields.COLUMN_SELL_PRICE], "f");
46
43
  __classPrivateFieldSet(this, _PriceFindResult_list_price, data[PriceFindResultFields.COLUMN_LIST_PRICE], "f");
47
44
  __classPrivateFieldSet(this, _PriceFindResult_currency, data[PriceFindResultFields.COLUMN_CURRENCY], "f");
48
- __classPrivateFieldSet(this, _PriceFindResult_preferredCurrency, data[PriceFindResultFields.COLUMN_PREFERRED_CURRENCY]
49
- ? new licenseFindPreferredCurrency_1.LicenseFindPreferredCurrency(data[PriceFindResultFields.COLUMN_PREFERRED_CURRENCY])
50
- : undefined, "f");
51
45
  }
52
46
  get priceBandArrowsphereSku() {
53
47
  return __classPrivateFieldGet(this, _PriceFindResult_price_band_arrowsphere_sku, "f");
@@ -64,11 +58,7 @@ class PriceFindResult extends abstractEntity_1.AbstractEntity {
64
58
  get currency() {
65
59
  return __classPrivateFieldGet(this, _PriceFindResult_currency, "f");
66
60
  }
67
- get preferredCurrency() {
68
- return __classPrivateFieldGet(this, _PriceFindResult_preferredCurrency, "f");
69
- }
70
61
  toJSON() {
71
- var _a;
72
62
  return {
73
63
  [PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU]: this
74
64
  .priceBandArrowsphereSku,
@@ -76,10 +66,9 @@ class PriceFindResult extends abstractEntity_1.AbstractEntity {
76
66
  [PriceFindResultFields.COLUMN_SELL_PRICE]: this.sellPrice,
77
67
  [PriceFindResultFields.COLUMN_LIST_PRICE]: this.listPrice,
78
68
  [PriceFindResultFields.COLUMN_CURRENCY]: this.currency,
79
- [PriceFindResultFields.COLUMN_PREFERRED_CURRENCY]: (_a = this.preferredCurrency) === null || _a === void 0 ? void 0 : _a.toJSON(),
80
69
  };
81
70
  }
82
71
  }
83
72
  exports.PriceFindResult = PriceFindResult;
84
- _PriceFindResult_price_band_arrowsphere_sku = new WeakMap(), _PriceFindResult_buy_price = new WeakMap(), _PriceFindResult_sell_price = new WeakMap(), _PriceFindResult_list_price = new WeakMap(), _PriceFindResult_currency = new WeakMap(), _PriceFindResult_preferredCurrency = new WeakMap();
73
+ _PriceFindResult_price_band_arrowsphere_sku = new WeakMap(), _PriceFindResult_buy_price = new WeakMap(), _PriceFindResult_sell_price = new WeakMap(), _PriceFindResult_list_price = new WeakMap(), _PriceFindResult_currency = new WeakMap();
85
74
  //# sourceMappingURL=priceFindResult.js.map
@@ -66,6 +66,7 @@ class OfferFindResult extends abstractEntity_1.AbstractEntity {
66
66
  [priceBandFindResult_1.PriceBandFindResultFields.COLUMN_PRICES]: data[OfferFindResultFields.COLUMN_PRICE_BAND][priceBandFindResult_1.PriceBandFindResultFields.COLUMN_PRICES],
67
67
  [priceBandFindResult_1.PriceBandFindResultFields.COLUMN_SALE_CONSTRAINTS]: data[OfferFindResultFields.COLUMN_PRICE_BAND][priceBandFindResult_1.PriceBandFindResultFields.COLUMN_SALE_CONSTRAINTS],
68
68
  [priceBandFindResult_1.PriceBandFindResultFields.COLUMN_IDENTIFIERS]: data[OfferFindResultFields.COLUMN_PRICE_BAND][priceBandFindResult_1.PriceBandFindResultFields.COLUMN_IDENTIFIERS],
69
+ [priceBandFindResult_1.PriceBandFindResultFields.COLUMN_ATTRIBUTES]: data[OfferFindResultFields.COLUMN_PRICE_BAND][priceBandFindResult_1.PriceBandFindResultFields.COLUMN_ATTRIBUTES],
69
70
  };
70
71
  __classPrivateFieldSet(this, _OfferFindResult_priceBand, new priceBandFindResult_1.PriceBandFindResult(priceBand), "f");
71
72
  __classPrivateFieldSet(this, _OfferFindResult_arrowSubCategories, data[OfferFindResultFields.COLUMN_ARROW_SUB_CATEGORIES], "f");
@@ -6,6 +6,7 @@ import { BillingFindResult, BillingFindResultData, BillingFindResultDataFiltersP
6
6
  import { PriceBandPriceFindResult, PriceBandPriceFindResultData, PriceBandPriceFindResultDataFiltersParameters, PriceBandPriceFindResultDataKeywords, PriceBandPriceFindResultDataSortParameters } from './priceband/priceBandPriceFindResult';
7
7
  import { SaleConstraintsFindResult, SaleConstraintsFindResultData, SaleConstraintsFindResultDataFiltersParameters, SaleConstraintsFindResultDataKeywords, SaleConstraintsFindResultDataSortParameters } from './priceband/saleConstraintsFindResult';
8
8
  import { IdentifiersFindResult, IdentifiersFindResultData, IdentifiersFindResultDataFiltersParameters, IdentifiersFindResultDataKeywords, IdentifiersFindResultDataSortParameters } from './priceband/identifiersFindResult';
9
+ import { Attributes, AttributesData, AttributesDataKeywords, AttributesDataSortParameters, AttributesDataFiltersParameters } from './priceband/attributes';
9
10
  export declare enum PriceBandFindResultFields {
10
11
  COLUMN_ACTION_FLAGS = "actionFlags",
11
12
  COLUMN_BILLING = "billing",
@@ -14,7 +15,8 @@ export declare enum PriceBandFindResultFields {
14
15
  COLUMN_MARKETPLACE = "marketplace",
15
16
  COLUMN_PRICES = "prices",
16
17
  COLUMN_SALE_CONSTRAINTS = "saleConstraints",
17
- COLUMN_IDENTIFIERS = "identifiers"
18
+ COLUMN_IDENTIFIERS = "identifiers",
19
+ COLUMN_ATTRIBUTES = "attributes"
18
20
  }
19
21
  export declare type PriceBandFindResultData = {
20
22
  [PriceBandFindResultFields.COLUMN_ACTION_FLAGS]: PriceBandActionFlagsFindResultData;
@@ -25,6 +27,7 @@ export declare type PriceBandFindResultData = {
25
27
  [PriceBandFindResultFields.COLUMN_PRICES]: PriceBandPriceFindResultData;
26
28
  [PriceBandFindResultFields.COLUMN_SALE_CONSTRAINTS]: SaleConstraintsFindResultData;
27
29
  [PriceBandFindResultFields.COLUMN_IDENTIFIERS]: IdentifiersFindResultData;
30
+ [PriceBandFindResultFields.COLUMN_ATTRIBUTES]?: AttributesData[] | undefined | null;
28
31
  };
29
32
  export declare type PriceBandFindResultDataKeywords = {
30
33
  [PriceBandFindResultFields.COLUMN_ACTION_FLAGS]?: PriceBandActionFlagsFindResultDataKeywords;
@@ -35,6 +38,7 @@ export declare type PriceBandFindResultDataKeywords = {
35
38
  [PriceBandFindResultFields.COLUMN_PRICES]?: PriceBandPriceFindResultDataKeywords;
36
39
  [PriceBandFindResultFields.COLUMN_SALE_CONSTRAINTS]?: SaleConstraintsFindResultDataKeywords;
37
40
  [PriceBandFindResultFields.COLUMN_IDENTIFIERS]?: IdentifiersFindResultDataKeywords;
41
+ [PriceBandFindResultFields.COLUMN_ATTRIBUTES]?: AttributesDataKeywords;
38
42
  };
39
43
  export declare type PriceBandFindResultDataSortParameters = {
40
44
  [PriceBandFindResultFields.COLUMN_ACTION_FLAGS]?: PriceBandActionFlagsDataFindResultSortParameters;
@@ -45,6 +49,7 @@ export declare type PriceBandFindResultDataSortParameters = {
45
49
  [PriceBandFindResultFields.COLUMN_PRICES]?: PriceBandPriceFindResultDataSortParameters;
46
50
  [PriceBandFindResultFields.COLUMN_SALE_CONSTRAINTS]?: SaleConstraintsFindResultDataSortParameters;
47
51
  [PriceBandFindResultFields.COLUMN_IDENTIFIERS]?: IdentifiersFindResultDataSortParameters;
52
+ [PriceBandFindResultFields.COLUMN_ATTRIBUTES]?: AttributesDataSortParameters;
48
53
  };
49
54
  export declare type PriceBandFindResultDataFiltersParameters = {
50
55
  [PriceBandFindResultFields.COLUMN_ACTION_FLAGS]?: PriceBandActionFlagsFindResultDataFiltersParameters;
@@ -55,6 +60,7 @@ export declare type PriceBandFindResultDataFiltersParameters = {
55
60
  [PriceBandFindResultFields.COLUMN_PRICES]?: PriceBandPriceFindResultDataFiltersParameters;
56
61
  [PriceBandFindResultFields.COLUMN_SALE_CONSTRAINTS]?: SaleConstraintsFindResultDataFiltersParameters;
57
62
  [PriceBandFindResultFields.COLUMN_IDENTIFIERS]?: IdentifiersFindResultDataFiltersParameters;
63
+ [PriceBandFindResultFields.COLUMN_ATTRIBUTES]?: AttributesDataFiltersParameters;
58
64
  };
59
65
  export declare class PriceBandFindResult extends AbstractEntity<PriceBandFindResultData> {
60
66
  #private;
@@ -68,5 +74,6 @@ export declare class PriceBandFindResult extends AbstractEntity<PriceBandFindRes
68
74
  get prices(): PriceBandPriceFindResult;
69
75
  get saleConstraints(): SaleConstraintsFindResult;
70
76
  get identifiers(): IdentifiersFindResult;
77
+ get attributes(): Attributes[];
71
78
  toJSON(): PriceBandFindResultData;
72
79
  }
@@ -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 _PriceBandFindResult_actionFlags, _PriceBandFindResult_billing, _PriceBandFindResult_currency, _PriceBandFindResult_isEnabled, _PriceBandFindResult_marketplace, _PriceBandFindResult_prices, _PriceBandFindResult_saleConstraints, _PriceBandFindResult_identifiers;
13
+ var _PriceBandFindResult_actionFlags, _PriceBandFindResult_billing, _PriceBandFindResult_currency, _PriceBandFindResult_isEnabled, _PriceBandFindResult_marketplace, _PriceBandFindResult_prices, _PriceBandFindResult_saleConstraints, _PriceBandFindResult_identifiers, _PriceBandFindResult_attributes;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.PriceBandFindResult = exports.PriceBandFindResultFields = void 0;
16
16
  const abstractEntity_1 = require("../../../abstractEntity");
@@ -20,6 +20,7 @@ const priceBandPriceFindResult_1 = require("./priceband/priceBandPriceFindResult
20
20
  const saleConstraintsFindResult_1 = require("./priceband/saleConstraintsFindResult");
21
21
  const identifiersFindResult_1 = require("./priceband/identifiersFindResult");
22
22
  const arrowsphereFindResult_1 = require("./priceband/identifiers/arrowsphereFindResult");
23
+ const attributes_1 = require("./priceband/attributes");
23
24
  var PriceBandFindResultFields;
24
25
  (function (PriceBandFindResultFields) {
25
26
  PriceBandFindResultFields["COLUMN_ACTION_FLAGS"] = "actionFlags";
@@ -30,9 +31,11 @@ var PriceBandFindResultFields;
30
31
  PriceBandFindResultFields["COLUMN_PRICES"] = "prices";
31
32
  PriceBandFindResultFields["COLUMN_SALE_CONSTRAINTS"] = "saleConstraints";
32
33
  PriceBandFindResultFields["COLUMN_IDENTIFIERS"] = "identifiers";
34
+ PriceBandFindResultFields["COLUMN_ATTRIBUTES"] = "attributes";
33
35
  })(PriceBandFindResultFields = exports.PriceBandFindResultFields || (exports.PriceBandFindResultFields = {}));
34
36
  class PriceBandFindResult extends abstractEntity_1.AbstractEntity {
35
37
  constructor(data) {
38
+ var _a, _b;
36
39
  super(data);
37
40
  this.VALIDATION_RULES = {
38
41
  [PriceBandFindResultFields.COLUMN_ACTION_FLAGS]: 'required|array',
@@ -43,6 +46,7 @@ class PriceBandFindResult extends abstractEntity_1.AbstractEntity {
43
46
  [PriceBandFindResultFields.COLUMN_PRICES]: 'required|array',
44
47
  [PriceBandFindResultFields.COLUMN_SALE_CONSTRAINTS]: 'required|array',
45
48
  [PriceBandFindResultFields.COLUMN_IDENTIFIERS]: 'required|array',
49
+ [PriceBandFindResultFields.COLUMN_ATTRIBUTES]: 'array',
46
50
  };
47
51
  _PriceBandFindResult_actionFlags.set(this, void 0);
48
52
  _PriceBandFindResult_billing.set(this, void 0);
@@ -52,6 +56,7 @@ class PriceBandFindResult extends abstractEntity_1.AbstractEntity {
52
56
  _PriceBandFindResult_prices.set(this, void 0);
53
57
  _PriceBandFindResult_saleConstraints.set(this, void 0);
54
58
  _PriceBandFindResult_identifiers.set(this, void 0);
59
+ _PriceBandFindResult_attributes.set(this, void 0);
55
60
  const actionFlags = {
56
61
  [priceBandActionFlagsFindResult_1.PriceBandActionFlagsFindResultFields.COLUMN_CAN_BE_CANCELLED]: data[PriceBandFindResultFields.COLUMN_ACTION_FLAGS][priceBandActionFlagsFindResult_1.PriceBandActionFlagsFindResultFields.COLUMN_CAN_BE_CANCELLED],
57
62
  [priceBandActionFlagsFindResult_1.PriceBandActionFlagsFindResultFields.COLUMN_CAN_BE_REACTIVATED]: data[PriceBandFindResultFields.COLUMN_ACTION_FLAGS][priceBandActionFlagsFindResult_1.PriceBandActionFlagsFindResultFields.COLUMN_CAN_BE_REACTIVATED],
@@ -86,6 +91,7 @@ class PriceBandFindResult extends abstractEntity_1.AbstractEntity {
86
91
  },
87
92
  };
88
93
  __classPrivateFieldSet(this, _PriceBandFindResult_identifiers, new identifiersFindResult_1.IdentifiersFindResult(identifiers), "f");
94
+ __classPrivateFieldSet(this, _PriceBandFindResult_attributes, (_b = (_a = data[PriceBandFindResultFields.COLUMN_ATTRIBUTES]) === null || _a === void 0 ? void 0 : _a.map((attr) => new attributes_1.Attributes(attr))) !== null && _b !== void 0 ? _b : [], "f");
89
95
  }
90
96
  get actionFlags() {
91
97
  return __classPrivateFieldGet(this, _PriceBandFindResult_actionFlags, "f");
@@ -111,6 +117,9 @@ class PriceBandFindResult extends abstractEntity_1.AbstractEntity {
111
117
  get identifiers() {
112
118
  return __classPrivateFieldGet(this, _PriceBandFindResult_identifiers, "f");
113
119
  }
120
+ get attributes() {
121
+ return __classPrivateFieldGet(this, _PriceBandFindResult_attributes, "f");
122
+ }
114
123
  toJSON() {
115
124
  return {
116
125
  [PriceBandFindResultFields.COLUMN_ACTION_FLAGS]: this.actionFlags.toJSON(),
@@ -121,9 +130,10 @@ class PriceBandFindResult extends abstractEntity_1.AbstractEntity {
121
130
  [PriceBandFindResultFields.COLUMN_PRICES]: this.prices.toJSON(),
122
131
  [PriceBandFindResultFields.COLUMN_SALE_CONSTRAINTS]: this.saleConstraints.toJSON(),
123
132
  [PriceBandFindResultFields.COLUMN_IDENTIFIERS]: this.identifiers.toJSON(),
133
+ [PriceBandFindResultFields.COLUMN_ATTRIBUTES]: this.attributes.map((attr) => attr.toJSON()),
124
134
  };
125
135
  }
126
136
  }
127
137
  exports.PriceBandFindResult = PriceBandFindResult;
128
- _PriceBandFindResult_actionFlags = new WeakMap(), _PriceBandFindResult_billing = new WeakMap(), _PriceBandFindResult_currency = new WeakMap(), _PriceBandFindResult_isEnabled = new WeakMap(), _PriceBandFindResult_marketplace = new WeakMap(), _PriceBandFindResult_prices = new WeakMap(), _PriceBandFindResult_saleConstraints = new WeakMap(), _PriceBandFindResult_identifiers = new WeakMap();
138
+ _PriceBandFindResult_actionFlags = new WeakMap(), _PriceBandFindResult_billing = new WeakMap(), _PriceBandFindResult_currency = new WeakMap(), _PriceBandFindResult_isEnabled = new WeakMap(), _PriceBandFindResult_marketplace = new WeakMap(), _PriceBandFindResult_prices = new WeakMap(), _PriceBandFindResult_saleConstraints = new WeakMap(), _PriceBandFindResult_identifiers = new WeakMap(), _PriceBandFindResult_attributes = new WeakMap();
129
139
  //# sourceMappingURL=priceBandFindResult.js.map
@@ -0,0 +1,33 @@
1
+ import { DataKeywords, FiltersParameters, SortParameters } from '../../../licensesClient';
2
+ import { AbstractEntity } from '../../../../abstractEntity';
3
+ export declare enum AttributesFields {
4
+ COLUMN_NAME = "name",
5
+ COLUMN_VALUE = "value"
6
+ }
7
+ export declare type AttributesData = {
8
+ [AttributesFields.COLUMN_NAME]: string;
9
+ [AttributesFields.COLUMN_VALUE]?: string | null;
10
+ };
11
+ export declare type AttributesDataKeywords = {
12
+ [AttributesFields.COLUMN_NAME]?: DataKeywords;
13
+ [AttributesFields.COLUMN_VALUE]?: DataKeywords;
14
+ };
15
+ export declare type AttributesDataSortParameters = {
16
+ [AttributesFields.COLUMN_NAME]?: SortParameters;
17
+ [AttributesFields.COLUMN_VALUE]?: SortParameters;
18
+ };
19
+ export declare type AttributesDataFiltersParameters = {
20
+ [AttributesFields.COLUMN_NAME]?: FiltersParameters;
21
+ [AttributesFields.COLUMN_VALUE]?: FiltersParameters;
22
+ };
23
+ export declare class Attributes extends AbstractEntity<AttributesData> {
24
+ #private;
25
+ protected VALIDATION_RULES: {
26
+ name: string;
27
+ value: string;
28
+ };
29
+ constructor(data: AttributesData);
30
+ get name(): string;
31
+ get value(): string | null | undefined;
32
+ toJSON(): AttributesData;
33
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _Attributes_name, _Attributes_value;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.Attributes = exports.AttributesFields = void 0;
16
+ const abstractEntity_1 = require("../../../../abstractEntity");
17
+ var AttributesFields;
18
+ (function (AttributesFields) {
19
+ AttributesFields["COLUMN_NAME"] = "name";
20
+ AttributesFields["COLUMN_VALUE"] = "value";
21
+ })(AttributesFields = exports.AttributesFields || (exports.AttributesFields = {}));
22
+ class Attributes extends abstractEntity_1.AbstractEntity {
23
+ constructor(data) {
24
+ super(data);
25
+ this.VALIDATION_RULES = {
26
+ [AttributesFields.COLUMN_NAME]: 'required|string',
27
+ [AttributesFields.COLUMN_VALUE]: 'string',
28
+ };
29
+ _Attributes_name.set(this, void 0);
30
+ _Attributes_value.set(this, void 0);
31
+ __classPrivateFieldSet(this, _Attributes_name, data[AttributesFields.COLUMN_NAME], "f");
32
+ __classPrivateFieldSet(this, _Attributes_value, data[AttributesFields.COLUMN_VALUE], "f");
33
+ }
34
+ get name() {
35
+ return __classPrivateFieldGet(this, _Attributes_name, "f");
36
+ }
37
+ get value() {
38
+ return __classPrivateFieldGet(this, _Attributes_value, "f");
39
+ }
40
+ toJSON() {
41
+ return {
42
+ [AttributesFields.COLUMN_NAME]: this.name,
43
+ [AttributesFields.COLUMN_VALUE]: this.value,
44
+ };
45
+ }
46
+ }
47
+ exports.Attributes = Attributes;
48
+ _Attributes_name = new WeakMap(), _Attributes_value = new WeakMap();
49
+ //# sourceMappingURL=attributes.js.map
@@ -33,6 +33,7 @@ export * from './entities/license/securityFindResult';
33
33
  export * from './entities/license/upgradeResult';
34
34
  export * from './entities/license/warningFindResult';
35
35
  export * from './entities/offer/actionFlagsFindResult';
36
+ export * from './entities/offer/priceband/attributes';
36
37
  export * from './entities/offer/offerFindResult';
37
38
  export * from './entities/offer/priceBandFindResult';
38
39
  export * from './entities/offer/priceband/billingFindResult';
@@ -49,6 +49,7 @@ __exportStar(require("./entities/license/securityFindResult"), exports);
49
49
  __exportStar(require("./entities/license/upgradeResult"), exports);
50
50
  __exportStar(require("./entities/license/warningFindResult"), exports);
51
51
  __exportStar(require("./entities/offer/actionFlagsFindResult"), exports);
52
+ __exportStar(require("./entities/offer/priceband/attributes"), exports);
52
53
  __exportStar(require("./entities/offer/offerFindResult"), exports);
53
54
  __exportStar(require("./entities/offer/priceBandFindResult"), exports);
54
55
  __exportStar(require("./entities/offer/priceband/billingFindResult"), exports);
@@ -1,5 +1,4 @@
1
1
  import { AbstractEntity } from '../../../../../abstractEntity';
2
- import { PreferredCurrency, PreferredCurrencyType } from './preferredCurrency';
3
2
  export declare enum ProductPricesFields {
4
3
  COLUMN_BUY = "buy",
5
4
  COLUMN_SELL = "sell",
@@ -7,8 +6,7 @@ export declare enum ProductPricesFields {
7
6
  COLUMN_PERIODICITY = "periodicity",
8
7
  COLUMN_TERM = "term",
9
8
  COLUMN_PERIODICITY_CODE = "periodicityCode",
10
- COLUMN_TERM_CODE = "termCode",
11
- COLUMN_PREFERRED_CURRENCY = "preferredCurrency"
9
+ COLUMN_TERM_CODE = "termCode"
12
10
  }
13
11
  export declare type ProductPricesType = {
14
12
  [ProductPricesFields.COLUMN_BUY]: number;
@@ -18,7 +16,6 @@ export declare type ProductPricesType = {
18
16
  [ProductPricesFields.COLUMN_TERM]: string;
19
17
  [ProductPricesFields.COLUMN_PERIODICITY_CODE]: number;
20
18
  [ProductPricesFields.COLUMN_TERM_CODE]: number;
21
- [ProductPricesFields.COLUMN_PREFERRED_CURRENCY]?: PreferredCurrencyType;
22
19
  };
23
20
  export declare class ProductPrices extends AbstractEntity<ProductPricesType> {
24
21
  #private;
@@ -30,6 +27,5 @@ export declare class ProductPrices extends AbstractEntity<ProductPricesType> {
30
27
  get term(): string;
31
28
  get periodicityCode(): number;
32
29
  get termCode(): number;
33
- get preferredCurrency(): PreferredCurrency | undefined;
34
30
  toJSON(): ProductPricesType;
35
31
  }
@@ -10,11 +10,10 @@ 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 _ProductPrices_buy, _ProductPrices_sell, _ProductPrices_currency, _ProductPrices_periodicity, _ProductPrices_term, _ProductPrices_periodicityCode, _ProductPrices_termCode, _ProductPrices_preferredCurrency;
13
+ var _ProductPrices_buy, _ProductPrices_sell, _ProductPrices_currency, _ProductPrices_periodicity, _ProductPrices_term, _ProductPrices_periodicityCode, _ProductPrices_termCode;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.ProductPrices = exports.ProductPricesFields = void 0;
16
16
  const abstractEntity_1 = require("../../../../../abstractEntity");
17
- const preferredCurrency_1 = require("./preferredCurrency");
18
17
  var ProductPricesFields;
19
18
  (function (ProductPricesFields) {
20
19
  ProductPricesFields["COLUMN_BUY"] = "buy";
@@ -24,7 +23,6 @@ var ProductPricesFields;
24
23
  ProductPricesFields["COLUMN_TERM"] = "term";
25
24
  ProductPricesFields["COLUMN_PERIODICITY_CODE"] = "periodicityCode";
26
25
  ProductPricesFields["COLUMN_TERM_CODE"] = "termCode";
27
- ProductPricesFields["COLUMN_PREFERRED_CURRENCY"] = "preferredCurrency";
28
26
  })(ProductPricesFields = exports.ProductPricesFields || (exports.ProductPricesFields = {}));
29
27
  class ProductPrices extends abstractEntity_1.AbstractEntity {
30
28
  constructor(productPricesInput) {
@@ -36,7 +34,6 @@ class ProductPrices extends abstractEntity_1.AbstractEntity {
36
34
  _ProductPrices_term.set(this, void 0);
37
35
  _ProductPrices_periodicityCode.set(this, void 0);
38
36
  _ProductPrices_termCode.set(this, void 0);
39
- _ProductPrices_preferredCurrency.set(this, void 0);
40
37
  __classPrivateFieldSet(this, _ProductPrices_buy, productPricesInput[ProductPricesFields.COLUMN_BUY], "f");
41
38
  __classPrivateFieldSet(this, _ProductPrices_sell, productPricesInput[ProductPricesFields.COLUMN_SELL], "f");
42
39
  __classPrivateFieldSet(this, _ProductPrices_currency, productPricesInput[ProductPricesFields.COLUMN_CURRENCY], "f");
@@ -44,9 +41,6 @@ class ProductPrices extends abstractEntity_1.AbstractEntity {
44
41
  __classPrivateFieldSet(this, _ProductPrices_term, productPricesInput[ProductPricesFields.COLUMN_TERM], "f");
45
42
  __classPrivateFieldSet(this, _ProductPrices_periodicityCode, productPricesInput[ProductPricesFields.COLUMN_PERIODICITY_CODE], "f");
46
43
  __classPrivateFieldSet(this, _ProductPrices_termCode, productPricesInput[ProductPricesFields.COLUMN_TERM_CODE], "f");
47
- __classPrivateFieldSet(this, _ProductPrices_preferredCurrency, productPricesInput[ProductPricesFields.COLUMN_PREFERRED_CURRENCY]
48
- ? new preferredCurrency_1.PreferredCurrency(productPricesInput[ProductPricesFields.COLUMN_PREFERRED_CURRENCY])
49
- : undefined, "f");
50
44
  }
51
45
  get buy() {
52
46
  return __classPrivateFieldGet(this, _ProductPrices_buy, "f");
@@ -69,11 +63,7 @@ class ProductPrices extends abstractEntity_1.AbstractEntity {
69
63
  get termCode() {
70
64
  return __classPrivateFieldGet(this, _ProductPrices_termCode, "f");
71
65
  }
72
- get preferredCurrency() {
73
- return __classPrivateFieldGet(this, _ProductPrices_preferredCurrency, "f");
74
- }
75
66
  toJSON() {
76
- var _a;
77
67
  return {
78
68
  [ProductPricesFields.COLUMN_BUY]: this.buy,
79
69
  [ProductPricesFields.COLUMN_SELL]: this.sell,
@@ -82,10 +72,9 @@ class ProductPrices extends abstractEntity_1.AbstractEntity {
82
72
  [ProductPricesFields.COLUMN_TERM]: this.term,
83
73
  [ProductPricesFields.COLUMN_PERIODICITY_CODE]: this.periodicityCode,
84
74
  [ProductPricesFields.COLUMN_TERM_CODE]: this.termCode,
85
- [ProductPricesFields.COLUMN_PREFERRED_CURRENCY]: (_a = this.preferredCurrency) === null || _a === void 0 ? void 0 : _a.toJSON(),
86
75
  };
87
76
  }
88
77
  }
89
78
  exports.ProductPrices = ProductPrices;
90
- _ProductPrices_buy = new WeakMap(), _ProductPrices_sell = new WeakMap(), _ProductPrices_currency = new WeakMap(), _ProductPrices_periodicity = new WeakMap(), _ProductPrices_term = new WeakMap(), _ProductPrices_periodicityCode = new WeakMap(), _ProductPrices_termCode = new WeakMap(), _ProductPrices_preferredCurrency = new WeakMap();
79
+ _ProductPrices_buy = new WeakMap(), _ProductPrices_sell = new WeakMap(), _ProductPrices_currency = new WeakMap(), _ProductPrices_periodicity = new WeakMap(), _ProductPrices_term = new WeakMap(), _ProductPrices_periodicityCode = new WeakMap(), _ProductPrices_termCode = new WeakMap();
91
80
  //# sourceMappingURL=productPrices.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.388.0-rc-cpe-4",
7
+ "version": "3.389.0",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",
@@ -1,18 +0,0 @@
1
- import { AbstractEntity } from '../../../abstractEntity';
2
- import { LicenseGetPreferredCurrencyValues, LicenseGetPreferredCurrencyValuesType } from './preferredCurrency/licenseGetPreferredCurrencyValues';
3
- import { ConversionRules, ConversionRulesType } from '../../../shared/preferredCurrency/conversionRules';
4
- export declare enum LicenseGetPreferredCurrencyFields {
5
- COLUMN_CONVERSION_RULES = "conversionRules",
6
- COLUMN_VALUES = "values"
7
- }
8
- export declare type LicenseGetPreferredCurrencyType = {
9
- [LicenseGetPreferredCurrencyFields.COLUMN_CONVERSION_RULES]: ConversionRulesType;
10
- [LicenseGetPreferredCurrencyFields.COLUMN_VALUES]: LicenseGetPreferredCurrencyValuesType;
11
- };
12
- export declare class LicenseGetPreferredCurrency extends AbstractEntity<LicenseGetPreferredCurrencyType> {
13
- #private;
14
- constructor(input: LicenseGetPreferredCurrencyType);
15
- get conversionRules(): ConversionRules;
16
- get values(): LicenseGetPreferredCurrencyValues;
17
- toJSON(): LicenseGetPreferredCurrencyType;
18
- }
@@ -1,47 +0,0 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _LicenseGetPreferredCurrency_conversionRules, _LicenseGetPreferredCurrency_values;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.LicenseGetPreferredCurrency = exports.LicenseGetPreferredCurrencyFields = void 0;
16
- const abstractEntity_1 = require("../../../abstractEntity");
17
- const licenseGetPreferredCurrencyValues_1 = require("./preferredCurrency/licenseGetPreferredCurrencyValues");
18
- const conversionRules_1 = require("../../../shared/preferredCurrency/conversionRules");
19
- var LicenseGetPreferredCurrencyFields;
20
- (function (LicenseGetPreferredCurrencyFields) {
21
- LicenseGetPreferredCurrencyFields["COLUMN_CONVERSION_RULES"] = "conversionRules";
22
- LicenseGetPreferredCurrencyFields["COLUMN_VALUES"] = "values";
23
- })(LicenseGetPreferredCurrencyFields = exports.LicenseGetPreferredCurrencyFields || (exports.LicenseGetPreferredCurrencyFields = {}));
24
- class LicenseGetPreferredCurrency extends abstractEntity_1.AbstractEntity {
25
- constructor(input) {
26
- super(input);
27
- _LicenseGetPreferredCurrency_conversionRules.set(this, void 0);
28
- _LicenseGetPreferredCurrency_values.set(this, void 0);
29
- __classPrivateFieldSet(this, _LicenseGetPreferredCurrency_conversionRules, new conversionRules_1.ConversionRules(input[LicenseGetPreferredCurrencyFields.COLUMN_CONVERSION_RULES]), "f");
30
- __classPrivateFieldSet(this, _LicenseGetPreferredCurrency_values, new licenseGetPreferredCurrencyValues_1.LicenseGetPreferredCurrencyValues(input[LicenseGetPreferredCurrencyFields.COLUMN_VALUES]), "f");
31
- }
32
- get conversionRules() {
33
- return __classPrivateFieldGet(this, _LicenseGetPreferredCurrency_conversionRules, "f");
34
- }
35
- get values() {
36
- return __classPrivateFieldGet(this, _LicenseGetPreferredCurrency_values, "f");
37
- }
38
- toJSON() {
39
- return {
40
- [LicenseGetPreferredCurrencyFields.COLUMN_CONVERSION_RULES]: this.conversionRules.toJSON(),
41
- [LicenseGetPreferredCurrencyFields.COLUMN_VALUES]: this.values.toJSON(),
42
- };
43
- }
44
- }
45
- exports.LicenseGetPreferredCurrency = LicenseGetPreferredCurrency;
46
- _LicenseGetPreferredCurrency_conversionRules = new WeakMap(), _LicenseGetPreferredCurrency_values = new WeakMap();
47
- //# sourceMappingURL=licenseGetPreferredCurrency.js.map
@@ -1,17 +0,0 @@
1
- import { AbstractEntity } from '../../../../abstractEntity';
2
- import { BuySellData, BuySellFindResult } from '../buySellFindResult';
3
- export declare enum LicenseGetPreferredCurrencyValuesFields {
4
- COLUMN_UNIT = "unit",
5
- COLUMN_TOTAL = "total"
6
- }
7
- export declare type LicenseGetPreferredCurrencyValuesType = {
8
- [LicenseGetPreferredCurrencyValuesFields.COLUMN_UNIT]: BuySellData;
9
- [LicenseGetPreferredCurrencyValuesFields.COLUMN_TOTAL]: BuySellData;
10
- };
11
- export declare class LicenseGetPreferredCurrencyValues extends AbstractEntity<LicenseGetPreferredCurrencyValuesType> {
12
- #private;
13
- constructor(input: LicenseGetPreferredCurrencyValuesType);
14
- get unit(): BuySellFindResult;
15
- get total(): BuySellFindResult;
16
- toJSON(): LicenseGetPreferredCurrencyValuesType;
17
- }
@@ -1,46 +0,0 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _LicenseGetPreferredCurrencyValues_unit, _LicenseGetPreferredCurrencyValues_total;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.LicenseGetPreferredCurrencyValues = exports.LicenseGetPreferredCurrencyValuesFields = void 0;
16
- const abstractEntity_1 = require("../../../../abstractEntity");
17
- const buySellFindResult_1 = require("../buySellFindResult");
18
- var LicenseGetPreferredCurrencyValuesFields;
19
- (function (LicenseGetPreferredCurrencyValuesFields) {
20
- LicenseGetPreferredCurrencyValuesFields["COLUMN_UNIT"] = "unit";
21
- LicenseGetPreferredCurrencyValuesFields["COLUMN_TOTAL"] = "total";
22
- })(LicenseGetPreferredCurrencyValuesFields = exports.LicenseGetPreferredCurrencyValuesFields || (exports.LicenseGetPreferredCurrencyValuesFields = {}));
23
- class LicenseGetPreferredCurrencyValues extends abstractEntity_1.AbstractEntity {
24
- constructor(input) {
25
- super(input);
26
- _LicenseGetPreferredCurrencyValues_unit.set(this, void 0);
27
- _LicenseGetPreferredCurrencyValues_total.set(this, void 0);
28
- __classPrivateFieldSet(this, _LicenseGetPreferredCurrencyValues_unit, new buySellFindResult_1.BuySellFindResult(input[LicenseGetPreferredCurrencyValuesFields.COLUMN_UNIT]), "f");
29
- __classPrivateFieldSet(this, _LicenseGetPreferredCurrencyValues_total, new buySellFindResult_1.BuySellFindResult(input[LicenseGetPreferredCurrencyValuesFields.COLUMN_TOTAL]), "f");
30
- }
31
- get unit() {
32
- return __classPrivateFieldGet(this, _LicenseGetPreferredCurrencyValues_unit, "f");
33
- }
34
- get total() {
35
- return __classPrivateFieldGet(this, _LicenseGetPreferredCurrencyValues_total, "f");
36
- }
37
- toJSON() {
38
- return {
39
- [LicenseGetPreferredCurrencyValuesFields.COLUMN_UNIT]: this.unit.toJSON(),
40
- [LicenseGetPreferredCurrencyValuesFields.COLUMN_TOTAL]: this.total.toJSON(),
41
- };
42
- }
43
- }
44
- exports.LicenseGetPreferredCurrencyValues = LicenseGetPreferredCurrencyValues;
45
- _LicenseGetPreferredCurrencyValues_unit = new WeakMap(), _LicenseGetPreferredCurrencyValues_total = new WeakMap();
46
- //# sourceMappingURL=licenseGetPreferredCurrencyValues.js.map
@@ -1,18 +0,0 @@
1
- import { AbstractEntity } from '../../../abstractEntity';
2
- import { LicenseFindPreferredCurrencyValues, LicenseFindPreferredCurrencyValuesType } from './preferredCurrency/licenseFindPreferredCurrencyValues';
3
- import { ConversionRules, ConversionRulesType } from '../../../shared/preferredCurrency/conversionRules';
4
- export declare enum LicenseFindPreferredCurrencyFields {
5
- COLUMN_CONVERSION_RULES = "conversionRules",
6
- COLUMN_VALUES = "values"
7
- }
8
- export declare type LicenseFindPreferredCurrencyType = {
9
- [LicenseFindPreferredCurrencyFields.COLUMN_CONVERSION_RULES]: ConversionRulesType;
10
- [LicenseFindPreferredCurrencyFields.COLUMN_VALUES]: LicenseFindPreferredCurrencyValuesType;
11
- };
12
- export declare class LicenseFindPreferredCurrency extends AbstractEntity<LicenseFindPreferredCurrencyType> {
13
- #private;
14
- constructor(input: LicenseFindPreferredCurrencyType);
15
- get conversionRules(): ConversionRules;
16
- get values(): LicenseFindPreferredCurrencyValues;
17
- toJSON(): LicenseFindPreferredCurrencyType;
18
- }
@@ -1,47 +0,0 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _LicenseFindPreferredCurrency_conversionRules, _LicenseFindPreferredCurrency_values;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.LicenseFindPreferredCurrency = exports.LicenseFindPreferredCurrencyFields = void 0;
16
- const abstractEntity_1 = require("../../../abstractEntity");
17
- const licenseFindPreferredCurrencyValues_1 = require("./preferredCurrency/licenseFindPreferredCurrencyValues");
18
- const conversionRules_1 = require("../../../shared/preferredCurrency/conversionRules");
19
- var LicenseFindPreferredCurrencyFields;
20
- (function (LicenseFindPreferredCurrencyFields) {
21
- LicenseFindPreferredCurrencyFields["COLUMN_CONVERSION_RULES"] = "conversionRules";
22
- LicenseFindPreferredCurrencyFields["COLUMN_VALUES"] = "values";
23
- })(LicenseFindPreferredCurrencyFields = exports.LicenseFindPreferredCurrencyFields || (exports.LicenseFindPreferredCurrencyFields = {}));
24
- class LicenseFindPreferredCurrency extends abstractEntity_1.AbstractEntity {
25
- constructor(input) {
26
- super(input);
27
- _LicenseFindPreferredCurrency_conversionRules.set(this, void 0);
28
- _LicenseFindPreferredCurrency_values.set(this, void 0);
29
- __classPrivateFieldSet(this, _LicenseFindPreferredCurrency_conversionRules, new conversionRules_1.ConversionRules(input[LicenseFindPreferredCurrencyFields.COLUMN_CONVERSION_RULES]), "f");
30
- __classPrivateFieldSet(this, _LicenseFindPreferredCurrency_values, new licenseFindPreferredCurrencyValues_1.LicenseFindPreferredCurrencyValues(input[LicenseFindPreferredCurrencyFields.COLUMN_VALUES]), "f");
31
- }
32
- get conversionRules() {
33
- return __classPrivateFieldGet(this, _LicenseFindPreferredCurrency_conversionRules, "f");
34
- }
35
- get values() {
36
- return __classPrivateFieldGet(this, _LicenseFindPreferredCurrency_values, "f");
37
- }
38
- toJSON() {
39
- return {
40
- [LicenseFindPreferredCurrencyFields.COLUMN_CONVERSION_RULES]: this.conversionRules.toJSON(),
41
- [LicenseFindPreferredCurrencyFields.COLUMN_VALUES]: this.values.toJSON(),
42
- };
43
- }
44
- }
45
- exports.LicenseFindPreferredCurrency = LicenseFindPreferredCurrency;
46
- _LicenseFindPreferredCurrency_conversionRules = new WeakMap(), _LicenseFindPreferredCurrency_values = new WeakMap();
47
- //# sourceMappingURL=licenseFindPreferredCurrency.js.map
@@ -1,19 +0,0 @@
1
- import { AbstractEntity } from '../../../../abstractEntity';
2
- export declare enum LicenseFindPreferredCurrencyValuesFields {
3
- COLUMN_BUY_PRICE = "buy_price",
4
- COLUMN_SELL_PRICE = "sell_price",
5
- COLUMN_LIST_PRICE = "list_price"
6
- }
7
- export declare type LicenseFindPreferredCurrencyValuesType = {
8
- [LicenseFindPreferredCurrencyValuesFields.COLUMN_BUY_PRICE]: number;
9
- [LicenseFindPreferredCurrencyValuesFields.COLUMN_SELL_PRICE]: number;
10
- [LicenseFindPreferredCurrencyValuesFields.COLUMN_LIST_PRICE]: number;
11
- };
12
- export declare class LicenseFindPreferredCurrencyValues extends AbstractEntity<LicenseFindPreferredCurrencyValuesType> {
13
- #private;
14
- constructor(input: LicenseFindPreferredCurrencyValuesType);
15
- get buyPrice(): number;
16
- get sellPrice(): number;
17
- get listPrice(): number;
18
- toJSON(): LicenseFindPreferredCurrencyValuesType;
19
- }
@@ -1,55 +0,0 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _LicenseFindPreferredCurrencyValues_buy_price, _LicenseFindPreferredCurrencyValues_sell_price, _LicenseFindPreferredCurrencyValues_list_price;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.LicenseFindPreferredCurrencyValues = exports.LicenseFindPreferredCurrencyValuesFields = void 0;
16
- const abstractEntity_1 = require("../../../../abstractEntity");
17
- var LicenseFindPreferredCurrencyValuesFields;
18
- (function (LicenseFindPreferredCurrencyValuesFields) {
19
- LicenseFindPreferredCurrencyValuesFields["COLUMN_BUY_PRICE"] = "buy_price";
20
- LicenseFindPreferredCurrencyValuesFields["COLUMN_SELL_PRICE"] = "sell_price";
21
- LicenseFindPreferredCurrencyValuesFields["COLUMN_LIST_PRICE"] = "list_price";
22
- })(LicenseFindPreferredCurrencyValuesFields = exports.LicenseFindPreferredCurrencyValuesFields || (exports.LicenseFindPreferredCurrencyValuesFields = {}));
23
- class LicenseFindPreferredCurrencyValues extends abstractEntity_1.AbstractEntity {
24
- constructor(input) {
25
- super(input);
26
- _LicenseFindPreferredCurrencyValues_buy_price.set(this, void 0);
27
- _LicenseFindPreferredCurrencyValues_sell_price.set(this, void 0);
28
- _LicenseFindPreferredCurrencyValues_list_price.set(this, void 0);
29
- __classPrivateFieldSet(this, _LicenseFindPreferredCurrencyValues_buy_price, input[LicenseFindPreferredCurrencyValuesFields.COLUMN_BUY_PRICE], "f");
30
- __classPrivateFieldSet(this, _LicenseFindPreferredCurrencyValues_sell_price, input[LicenseFindPreferredCurrencyValuesFields.COLUMN_SELL_PRICE], "f");
31
- __classPrivateFieldSet(this, _LicenseFindPreferredCurrencyValues_list_price, input[LicenseFindPreferredCurrencyValuesFields.COLUMN_LIST_PRICE], "f");
32
- }
33
- get buyPrice() {
34
- return __classPrivateFieldGet(this, _LicenseFindPreferredCurrencyValues_buy_price, "f");
35
- }
36
- get sellPrice() {
37
- return __classPrivateFieldGet(this, _LicenseFindPreferredCurrencyValues_sell_price, "f");
38
- }
39
- get listPrice() {
40
- return __classPrivateFieldGet(this, _LicenseFindPreferredCurrencyValues_list_price, "f");
41
- }
42
- toJSON() {
43
- return {
44
- [LicenseFindPreferredCurrencyValuesFields.COLUMN_BUY_PRICE]: this
45
- .buyPrice,
46
- [LicenseFindPreferredCurrencyValuesFields.COLUMN_SELL_PRICE]: this
47
- .sellPrice,
48
- [LicenseFindPreferredCurrencyValuesFields.COLUMN_LIST_PRICE]: this
49
- .listPrice,
50
- };
51
- }
52
- }
53
- exports.LicenseFindPreferredCurrencyValues = LicenseFindPreferredCurrencyValues;
54
- _LicenseFindPreferredCurrencyValues_buy_price = new WeakMap(), _LicenseFindPreferredCurrencyValues_sell_price = new WeakMap(), _LicenseFindPreferredCurrencyValues_list_price = new WeakMap();
55
- //# sourceMappingURL=licenseFindPreferredCurrencyValues.js.map
@@ -1,16 +0,0 @@
1
- import { AbstractEntity } from '../../../../../../abstractEntity';
2
- export declare enum PreferredCurrencyValuesFields {
3
- COLUMN_BUY = "buy",
4
- COLUMN_SELL = "sell"
5
- }
6
- export declare type PreferredCurrencyValuesType = {
7
- [PreferredCurrencyValuesFields.COLUMN_BUY]: number;
8
- [PreferredCurrencyValuesFields.COLUMN_SELL]: number;
9
- };
10
- export declare class PreferredCurrencyValues extends AbstractEntity<PreferredCurrencyValuesType> {
11
- #private;
12
- constructor(input: PreferredCurrencyValuesType);
13
- get buy(): number;
14
- get sell(): number;
15
- toJSON(): PreferredCurrencyValuesType;
16
- }
@@ -1,45 +0,0 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _PreferredCurrencyValues_buy, _PreferredCurrencyValues_sell;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.PreferredCurrencyValues = exports.PreferredCurrencyValuesFields = void 0;
16
- const abstractEntity_1 = require("../../../../../../abstractEntity");
17
- var PreferredCurrencyValuesFields;
18
- (function (PreferredCurrencyValuesFields) {
19
- PreferredCurrencyValuesFields["COLUMN_BUY"] = "buy";
20
- PreferredCurrencyValuesFields["COLUMN_SELL"] = "sell";
21
- })(PreferredCurrencyValuesFields = exports.PreferredCurrencyValuesFields || (exports.PreferredCurrencyValuesFields = {}));
22
- class PreferredCurrencyValues extends abstractEntity_1.AbstractEntity {
23
- constructor(input) {
24
- super(input);
25
- _PreferredCurrencyValues_buy.set(this, void 0);
26
- _PreferredCurrencyValues_sell.set(this, void 0);
27
- __classPrivateFieldSet(this, _PreferredCurrencyValues_buy, input[PreferredCurrencyValuesFields.COLUMN_BUY], "f");
28
- __classPrivateFieldSet(this, _PreferredCurrencyValues_sell, input[PreferredCurrencyValuesFields.COLUMN_SELL], "f");
29
- }
30
- get buy() {
31
- return __classPrivateFieldGet(this, _PreferredCurrencyValues_buy, "f");
32
- }
33
- get sell() {
34
- return __classPrivateFieldGet(this, _PreferredCurrencyValues_sell, "f");
35
- }
36
- toJSON() {
37
- return {
38
- [PreferredCurrencyValuesFields.COLUMN_BUY]: this.buy,
39
- [PreferredCurrencyValuesFields.COLUMN_SELL]: this.sell,
40
- };
41
- }
42
- }
43
- exports.PreferredCurrencyValues = PreferredCurrencyValues;
44
- _PreferredCurrencyValues_buy = new WeakMap(), _PreferredCurrencyValues_sell = new WeakMap();
45
- //# sourceMappingURL=preferredCurrencyValues.js.map
@@ -1,18 +0,0 @@
1
- import { AbstractEntity } from '../../../../../abstractEntity';
2
- import { PreferredCurrencyValues, PreferredCurrencyValuesType } from './preferredCurrency/preferredCurrencyValues';
3
- import { ConversionRules, ConversionRulesType } from '../../../../../shared/preferredCurrency/conversionRules';
4
- export declare enum PreferredCurrencyFields {
5
- COLUMN_CONVERSION_RULES = "conversionRules",
6
- COLUMN_VALUES = "values"
7
- }
8
- export declare type PreferredCurrencyType = {
9
- [PreferredCurrencyFields.COLUMN_CONVERSION_RULES]: ConversionRulesType;
10
- [PreferredCurrencyFields.COLUMN_VALUES]: PreferredCurrencyValuesType;
11
- };
12
- export declare class PreferredCurrency extends AbstractEntity<PreferredCurrencyType> {
13
- #private;
14
- constructor(input: PreferredCurrencyType);
15
- get conversionRules(): ConversionRules;
16
- get values(): PreferredCurrencyValues;
17
- toJSON(): PreferredCurrencyType;
18
- }
@@ -1,47 +0,0 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _PreferredCurrency_conversionRules, _PreferredCurrency_values;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.PreferredCurrency = exports.PreferredCurrencyFields = void 0;
16
- const abstractEntity_1 = require("../../../../../abstractEntity");
17
- const preferredCurrencyValues_1 = require("./preferredCurrency/preferredCurrencyValues");
18
- const conversionRules_1 = require("../../../../../shared/preferredCurrency/conversionRules");
19
- var PreferredCurrencyFields;
20
- (function (PreferredCurrencyFields) {
21
- PreferredCurrencyFields["COLUMN_CONVERSION_RULES"] = "conversionRules";
22
- PreferredCurrencyFields["COLUMN_VALUES"] = "values";
23
- })(PreferredCurrencyFields = exports.PreferredCurrencyFields || (exports.PreferredCurrencyFields = {}));
24
- class PreferredCurrency extends abstractEntity_1.AbstractEntity {
25
- constructor(input) {
26
- super(input);
27
- _PreferredCurrency_conversionRules.set(this, void 0);
28
- _PreferredCurrency_values.set(this, void 0);
29
- __classPrivateFieldSet(this, _PreferredCurrency_conversionRules, new conversionRules_1.ConversionRules(input[PreferredCurrencyFields.COLUMN_CONVERSION_RULES]), "f");
30
- __classPrivateFieldSet(this, _PreferredCurrency_values, new preferredCurrencyValues_1.PreferredCurrencyValues(input[PreferredCurrencyFields.COLUMN_VALUES]), "f");
31
- }
32
- get conversionRules() {
33
- return __classPrivateFieldGet(this, _PreferredCurrency_conversionRules, "f");
34
- }
35
- get values() {
36
- return __classPrivateFieldGet(this, _PreferredCurrency_values, "f");
37
- }
38
- toJSON() {
39
- return {
40
- [PreferredCurrencyFields.COLUMN_CONVERSION_RULES]: this.conversionRules.toJSON(),
41
- [PreferredCurrencyFields.COLUMN_VALUES]: this.values.toJSON(),
42
- };
43
- }
44
- }
45
- exports.PreferredCurrency = PreferredCurrency;
46
- _PreferredCurrency_conversionRules = new WeakMap(), _PreferredCurrency_values = new WeakMap();
47
- //# sourceMappingURL=preferredCurrency.js.map
@@ -1,19 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- export declare enum ConversionRulesFields {
3
- COLUMN_CURRENCY = "currency",
4
- COLUMN_EXCHANGE_RATE_DATE = "exchangeRateDate",
5
- COLUMN_EXCHANGE_RATE = "exchangeRate"
6
- }
7
- export declare type ConversionRulesType = {
8
- [ConversionRulesFields.COLUMN_CURRENCY]: string;
9
- [ConversionRulesFields.COLUMN_EXCHANGE_RATE_DATE]: string;
10
- [ConversionRulesFields.COLUMN_EXCHANGE_RATE]: number;
11
- };
12
- export declare class ConversionRules extends AbstractEntity<ConversionRulesType> {
13
- #private;
14
- constructor(input: ConversionRulesType);
15
- get currency(): string;
16
- get exchangeRateDate(): string;
17
- get exchangeRate(): number;
18
- toJSON(): ConversionRulesType;
19
- }
@@ -1,52 +0,0 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _ConversionRules_currency, _ConversionRules_exchangeRateDate, _ConversionRules_exchangeRate;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ConversionRules = exports.ConversionRulesFields = void 0;
16
- const abstractEntity_1 = require("../../abstractEntity");
17
- var ConversionRulesFields;
18
- (function (ConversionRulesFields) {
19
- ConversionRulesFields["COLUMN_CURRENCY"] = "currency";
20
- ConversionRulesFields["COLUMN_EXCHANGE_RATE_DATE"] = "exchangeRateDate";
21
- ConversionRulesFields["COLUMN_EXCHANGE_RATE"] = "exchangeRate";
22
- })(ConversionRulesFields = exports.ConversionRulesFields || (exports.ConversionRulesFields = {}));
23
- class ConversionRules extends abstractEntity_1.AbstractEntity {
24
- constructor(input) {
25
- super(input);
26
- _ConversionRules_currency.set(this, void 0);
27
- _ConversionRules_exchangeRateDate.set(this, void 0);
28
- _ConversionRules_exchangeRate.set(this, void 0);
29
- __classPrivateFieldSet(this, _ConversionRules_currency, input[ConversionRulesFields.COLUMN_CURRENCY], "f");
30
- __classPrivateFieldSet(this, _ConversionRules_exchangeRateDate, input[ConversionRulesFields.COLUMN_EXCHANGE_RATE_DATE], "f");
31
- __classPrivateFieldSet(this, _ConversionRules_exchangeRate, input[ConversionRulesFields.COLUMN_EXCHANGE_RATE], "f");
32
- }
33
- get currency() {
34
- return __classPrivateFieldGet(this, _ConversionRules_currency, "f");
35
- }
36
- get exchangeRateDate() {
37
- return __classPrivateFieldGet(this, _ConversionRules_exchangeRateDate, "f");
38
- }
39
- get exchangeRate() {
40
- return __classPrivateFieldGet(this, _ConversionRules_exchangeRate, "f");
41
- }
42
- toJSON() {
43
- return {
44
- [ConversionRulesFields.COLUMN_CURRENCY]: this.currency,
45
- [ConversionRulesFields.COLUMN_EXCHANGE_RATE_DATE]: this.exchangeRateDate,
46
- [ConversionRulesFields.COLUMN_EXCHANGE_RATE]: this.exchangeRate,
47
- };
48
- }
49
- }
50
- exports.ConversionRules = ConversionRules;
51
- _ConversionRules_currency = new WeakMap(), _ConversionRules_exchangeRateDate = new WeakMap(), _ConversionRules_exchangeRate = new WeakMap();
52
- //# sourceMappingURL=conversionRules.js.map