@arrowsphere/api-client 3.388.0-rc-cpe-4 → 3.388.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.
- package/CHANGELOG.md +5 -0
- package/build/customers/customersClient.d.ts +1 -0
- package/build/customers/entities/customers/customer.d.ts +2 -1
- package/build/customers/entities/customers/customer.js +1 -0
- package/build/licenses/entities/getLicense/licensePriceGetResult.d.ts +1 -5
- package/build/licenses/entities/getLicense/licensePriceGetResult.js +2 -13
- package/build/licenses/entities/license/licenseFindResult.js +0 -1
- package/build/licenses/entities/license/priceFindResult.d.ts +1 -5
- package/build/licenses/entities/license/priceFindResult.js +2 -13
- package/build/orders/entities/orders/products/prices/productPrices.d.ts +1 -5
- package/build/orders/entities/orders/products/prices/productPrices.js +2 -13
- package/package.json +1 -1
- package/build/licenses/entities/getLicense/licenseGetPreferredCurrency.d.ts +0 -18
- package/build/licenses/entities/getLicense/licenseGetPreferredCurrency.js +0 -47
- package/build/licenses/entities/getLicense/preferredCurrency/licenseGetPreferredCurrencyValues.d.ts +0 -17
- package/build/licenses/entities/getLicense/preferredCurrency/licenseGetPreferredCurrencyValues.js +0 -46
- package/build/licenses/entities/license/licenseFindPreferredCurrency.d.ts +0 -18
- package/build/licenses/entities/license/licenseFindPreferredCurrency.js +0 -47
- package/build/licenses/entities/license/preferredCurrency/licenseFindPreferredCurrencyValues.d.ts +0 -19
- package/build/licenses/entities/license/preferredCurrency/licenseFindPreferredCurrencyValues.js +0 -55
- package/build/orders/entities/orders/products/prices/preferredCurrency/preferredCurrencyValues.d.ts +0 -16
- package/build/orders/entities/orders/products/prices/preferredCurrency/preferredCurrencyValues.js +0 -45
- package/build/orders/entities/orders/products/prices/preferredCurrency.d.ts +0 -18
- package/build/orders/entities/orders/products/prices/preferredCurrency.js +0 -47
- package/build/shared/preferredCurrency/conversionRules.d.ts +0 -19
- package/build/shared/preferredCurrency/conversionRules.js +0 -52
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
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.388.0] - 2026.08.04
|
|
7
|
+
### Added
|
|
8
|
+
- [customer] Add `COLUMN_IS_RESELLER_COMPANY` key to `CustomerFields` enum
|
|
9
|
+
- [customer] Add `isResellerCompany` to `customersClient`
|
|
10
|
+
|
|
6
11
|
## [3.387.0] - 2026.08.03
|
|
7
12
|
### Added
|
|
8
13
|
- [graphql-api] Add `PartnerCatalogItem` entity with `id`, `sid`, `sellPrice`, `price`, `partner`, `currency`, `softwareProduct`, and `subscription` fields
|
|
@@ -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
|
|
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()
|
|
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
|
|
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()
|
|
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
|
|
@@ -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
|
|
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()
|
|
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
|
@@ -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
|
package/build/licenses/entities/getLicense/preferredCurrency/licenseGetPreferredCurrencyValues.d.ts
DELETED
|
@@ -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
|
-
}
|
package/build/licenses/entities/getLicense/preferredCurrency/licenseGetPreferredCurrencyValues.js
DELETED
|
@@ -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
|
package/build/licenses/entities/license/preferredCurrency/licenseFindPreferredCurrencyValues.d.ts
DELETED
|
@@ -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
|
-
}
|
package/build/licenses/entities/license/preferredCurrency/licenseFindPreferredCurrencyValues.js
DELETED
|
@@ -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
|
package/build/orders/entities/orders/products/prices/preferredCurrency/preferredCurrencyValues.d.ts
DELETED
|
@@ -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
|
-
}
|
package/build/orders/entities/orders/products/prices/preferredCurrency/preferredCurrencyValues.js
DELETED
|
@@ -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
|