@arrowsphere/api-client 3.397.0 → 3.398.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 +4 -0
- package/build/licenses/entities/getLicense/licenseGetPreferredCurrency.d.ts +18 -0
- package/build/licenses/entities/getLicense/licenseGetPreferredCurrency.js +47 -0
- package/build/licenses/entities/getLicense/licensePriceGetResult.d.ts +5 -1
- package/build/licenses/entities/getLicense/licensePriceGetResult.js +13 -2
- package/build/licenses/entities/getLicense/preferredCurrency/licenseGetPreferredCurrencyValues.d.ts +17 -0
- package/build/licenses/entities/getLicense/preferredCurrency/licenseGetPreferredCurrencyValues.js +46 -0
- package/build/licenses/entities/license/licenseFindPreferredCurrency.d.ts +18 -0
- package/build/licenses/entities/license/licenseFindPreferredCurrency.js +47 -0
- package/build/licenses/entities/license/licenseFindResult.js +1 -0
- package/build/licenses/entities/license/preferredCurrency/licenseFindPreferredCurrencyValues.d.ts +19 -0
- package/build/licenses/entities/license/preferredCurrency/licenseFindPreferredCurrencyValues.js +55 -0
- package/build/licenses/entities/license/priceFindResult.d.ts +5 -1
- package/build/licenses/entities/license/priceFindResult.js +13 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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.398.0] - 2026.09.07
|
|
7
|
+
### Added
|
|
8
|
+
- [licenses] Add `preferredCurrency` to `LicensePriceGetData`, `PriceFindResultData`
|
|
9
|
+
|
|
6
10
|
## [3.397.0] - 2026.09.02
|
|
7
11
|
### Added
|
|
8
12
|
- [graphql-api] Add `GraphqlApiOrderSoftwareType` with full fields: `totalAmountEnded`, `totalAmountUnit`, `createdDate`, `customName`, `dateBegin`, `dateEnd`, `dateLastModified`, `dateSent`, `dateValidation`, `totalQuantity`, `totalUnit`, `sumTotalUnit`, `discountRatio`, `comments`, `aggregatorErpNo`, `customerPo`, `endUserCompany`, `status`, `taxes`, `report`, and `subscription`
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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,16 +1,19 @@
|
|
|
1
1
|
import { BuySellData, BuySellFindResult } from './buySellFindResult';
|
|
2
2
|
import { AbstractEntity } from '../../../abstractEntity';
|
|
3
|
+
import { LicenseGetPreferredCurrency, LicenseGetPreferredCurrencyType } from './licenseGetPreferredCurrency';
|
|
3
4
|
export declare enum LicensePriceGetFields {
|
|
4
5
|
COLUMN_CURRENCY = "currency",
|
|
5
6
|
COLUMN_PRICEBAND_ARROWSPHERE_SKU = "priceBandArrowsphereSku",
|
|
6
7
|
COLUMN_UNIT = "unit",
|
|
7
|
-
COLUMN_TOTAL = "total"
|
|
8
|
+
COLUMN_TOTAL = "total",
|
|
9
|
+
COLUMN_PREFERRED_CURRENCY = "preferredCurrency"
|
|
8
10
|
}
|
|
9
11
|
export declare type LicensePriceGetData = {
|
|
10
12
|
[LicensePriceGetFields.COLUMN_CURRENCY]: string;
|
|
11
13
|
[LicensePriceGetFields.COLUMN_PRICEBAND_ARROWSPHERE_SKU]: string;
|
|
12
14
|
[LicensePriceGetFields.COLUMN_UNIT]: BuySellData;
|
|
13
15
|
[LicensePriceGetFields.COLUMN_TOTAL]: BuySellData;
|
|
16
|
+
[LicensePriceGetFields.COLUMN_PREFERRED_CURRENCY]?: LicenseGetPreferredCurrencyType;
|
|
14
17
|
};
|
|
15
18
|
export declare class LicensePriceGetResult extends AbstractEntity<LicensePriceGetData> {
|
|
16
19
|
#private;
|
|
@@ -19,5 +22,6 @@ export declare class LicensePriceGetResult extends AbstractEntity<LicensePriceGe
|
|
|
19
22
|
get priceBandArrowsphereSku(): string;
|
|
20
23
|
get unit(): BuySellFindResult;
|
|
21
24
|
get total(): BuySellFindResult;
|
|
25
|
+
get preferredCurrency(): LicenseGetPreferredCurrency | undefined;
|
|
22
26
|
toJSON(): LicensePriceGetData;
|
|
23
27
|
}
|
|
@@ -10,17 +10,19 @@ 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, _LicensePriceGetResult_preferredCurrency;
|
|
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");
|
|
18
19
|
var LicensePriceGetFields;
|
|
19
20
|
(function (LicensePriceGetFields) {
|
|
20
21
|
LicensePriceGetFields["COLUMN_CURRENCY"] = "currency";
|
|
21
22
|
LicensePriceGetFields["COLUMN_PRICEBAND_ARROWSPHERE_SKU"] = "priceBandArrowsphereSku";
|
|
22
23
|
LicensePriceGetFields["COLUMN_UNIT"] = "unit";
|
|
23
24
|
LicensePriceGetFields["COLUMN_TOTAL"] = "total";
|
|
25
|
+
LicensePriceGetFields["COLUMN_PREFERRED_CURRENCY"] = "preferredCurrency";
|
|
24
26
|
})(LicensePriceGetFields = exports.LicensePriceGetFields || (exports.LicensePriceGetFields = {}));
|
|
25
27
|
class LicensePriceGetResult extends abstractEntity_1.AbstractEntity {
|
|
26
28
|
constructor(data) {
|
|
@@ -29,10 +31,14 @@ class LicensePriceGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
29
31
|
_LicensePriceGetResult_priceBandArrowsphereSku.set(this, void 0);
|
|
30
32
|
_LicensePriceGetResult_unit.set(this, void 0);
|
|
31
33
|
_LicensePriceGetResult_total.set(this, void 0);
|
|
34
|
+
_LicensePriceGetResult_preferredCurrency.set(this, void 0);
|
|
32
35
|
__classPrivateFieldSet(this, _LicensePriceGetResult_currency, data[LicensePriceGetFields.COLUMN_CURRENCY], "f");
|
|
33
36
|
__classPrivateFieldSet(this, _LicensePriceGetResult_priceBandArrowsphereSku, data[LicensePriceGetFields.COLUMN_PRICEBAND_ARROWSPHERE_SKU], "f");
|
|
34
37
|
__classPrivateFieldSet(this, _LicensePriceGetResult_unit, new buySellFindResult_1.BuySellFindResult(data[LicensePriceGetFields.COLUMN_UNIT]), "f");
|
|
35
38
|
__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");
|
|
36
42
|
}
|
|
37
43
|
get currency() {
|
|
38
44
|
return __classPrivateFieldGet(this, _LicensePriceGetResult_currency, "f");
|
|
@@ -46,15 +52,20 @@ class LicensePriceGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
46
52
|
get total() {
|
|
47
53
|
return __classPrivateFieldGet(this, _LicensePriceGetResult_total, "f");
|
|
48
54
|
}
|
|
55
|
+
get preferredCurrency() {
|
|
56
|
+
return __classPrivateFieldGet(this, _LicensePriceGetResult_preferredCurrency, "f");
|
|
57
|
+
}
|
|
49
58
|
toJSON() {
|
|
59
|
+
var _a;
|
|
50
60
|
return {
|
|
51
61
|
[LicensePriceGetFields.COLUMN_CURRENCY]: this.currency,
|
|
52
62
|
[LicensePriceGetFields.COLUMN_PRICEBAND_ARROWSPHERE_SKU]: __classPrivateFieldGet(this, _LicensePriceGetResult_priceBandArrowsphereSku, "f"),
|
|
53
63
|
[LicensePriceGetFields.COLUMN_UNIT]: this.unit.toJSON(),
|
|
54
64
|
[LicensePriceGetFields.COLUMN_TOTAL]: this.total.toJSON(),
|
|
65
|
+
[LicensePriceGetFields.COLUMN_PREFERRED_CURRENCY]: (_a = this.preferredCurrency) === null || _a === void 0 ? void 0 : _a.toJSON(),
|
|
55
66
|
};
|
|
56
67
|
}
|
|
57
68
|
}
|
|
58
69
|
exports.LicensePriceGetResult = LicensePriceGetResult;
|
|
59
|
-
_LicensePriceGetResult_currency = new WeakMap(), _LicensePriceGetResult_priceBandArrowsphereSku = new WeakMap(), _LicensePriceGetResult_unit = new WeakMap(), _LicensePriceGetResult_total = new WeakMap();
|
|
70
|
+
_LicensePriceGetResult_currency = new WeakMap(), _LicensePriceGetResult_priceBandArrowsphereSku = new WeakMap(), _LicensePriceGetResult_unit = new WeakMap(), _LicensePriceGetResult_total = new WeakMap(), _LicensePriceGetResult_preferredCurrency = new WeakMap();
|
|
60
71
|
//# sourceMappingURL=licensePriceGetResult.js.map
|
package/build/licenses/entities/getLicense/preferredCurrency/licenseGetPreferredCurrencyValues.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
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
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
|
@@ -187,6 +187,7 @@ 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],
|
|
190
191
|
};
|
|
191
192
|
__classPrivateFieldSet(this, _LicenseFindResult_price, new priceFindResult_1.PriceFindResult(price), "f");
|
|
192
193
|
__classPrivateFieldSet(this, _LicenseFindResult_resellerName, data[LicenseFindResultFields.COLUMN_RESELLER_NAME], "f");
|
package/build/licenses/entities/license/preferredCurrency/licenseFindPreferredCurrencyValues.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
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,11 +1,13 @@
|
|
|
1
1
|
import { DataKeywords, FiltersParameters, SortParameters } from '../../licensesClient';
|
|
2
2
|
import { AbstractEntity } from '../../../abstractEntity';
|
|
3
|
+
import { LicenseFindPreferredCurrency, LicenseFindPreferredCurrencyType } from './licenseFindPreferredCurrency';
|
|
3
4
|
export declare enum PriceFindResultFields {
|
|
4
5
|
COLUMN_PRICE_BAND_ARROWSPHERE_SKU = "priceBandArrowsphereSku",
|
|
5
6
|
COLUMN_BUY_PRICE = "buy_price",
|
|
6
7
|
COLUMN_SELL_PRICE = "sell_price",
|
|
7
8
|
COLUMN_LIST_PRICE = "list_price",
|
|
8
|
-
COLUMN_CURRENCY = "currency"
|
|
9
|
+
COLUMN_CURRENCY = "currency",
|
|
10
|
+
COLUMN_PREFERRED_CURRENCY = "preferredCurrency"
|
|
9
11
|
}
|
|
10
12
|
export declare type PriceFindResultData = {
|
|
11
13
|
[PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU]: string | null;
|
|
@@ -13,6 +15,7 @@ export declare type PriceFindResultData = {
|
|
|
13
15
|
[PriceFindResultFields.COLUMN_SELL_PRICE]: number;
|
|
14
16
|
[PriceFindResultFields.COLUMN_LIST_PRICE]: number;
|
|
15
17
|
[PriceFindResultFields.COLUMN_CURRENCY]?: string | null;
|
|
18
|
+
[PriceFindResultFields.COLUMN_PREFERRED_CURRENCY]?: LicenseFindPreferredCurrencyType;
|
|
16
19
|
};
|
|
17
20
|
export declare type PriceFindResultDataKeywords = {
|
|
18
21
|
[PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU]?: DataKeywords;
|
|
@@ -50,5 +53,6 @@ export declare class PriceFindResult extends AbstractEntity<PriceFindResultData>
|
|
|
50
53
|
get sellPrice(): number;
|
|
51
54
|
get listPrice(): number;
|
|
52
55
|
get currency(): string | null | undefined;
|
|
56
|
+
get preferredCurrency(): LicenseFindPreferredCurrency | undefined;
|
|
53
57
|
toJSON(): PriceFindResultData;
|
|
54
58
|
}
|
|
@@ -10,10 +10,11 @@ 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, _PriceFindResult_preferredCurrency;
|
|
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");
|
|
17
18
|
var PriceFindResultFields;
|
|
18
19
|
(function (PriceFindResultFields) {
|
|
19
20
|
PriceFindResultFields["COLUMN_PRICE_BAND_ARROWSPHERE_SKU"] = "priceBandArrowsphereSku";
|
|
@@ -21,6 +22,7 @@ var PriceFindResultFields;
|
|
|
21
22
|
PriceFindResultFields["COLUMN_SELL_PRICE"] = "sell_price";
|
|
22
23
|
PriceFindResultFields["COLUMN_LIST_PRICE"] = "list_price";
|
|
23
24
|
PriceFindResultFields["COLUMN_CURRENCY"] = "currency";
|
|
25
|
+
PriceFindResultFields["COLUMN_PREFERRED_CURRENCY"] = "preferredCurrency";
|
|
24
26
|
})(PriceFindResultFields = exports.PriceFindResultFields || (exports.PriceFindResultFields = {}));
|
|
25
27
|
class PriceFindResult extends abstractEntity_1.AbstractEntity {
|
|
26
28
|
constructor(data) {
|
|
@@ -37,11 +39,15 @@ class PriceFindResult extends abstractEntity_1.AbstractEntity {
|
|
|
37
39
|
_PriceFindResult_sell_price.set(this, void 0);
|
|
38
40
|
_PriceFindResult_list_price.set(this, void 0);
|
|
39
41
|
_PriceFindResult_currency.set(this, void 0);
|
|
42
|
+
_PriceFindResult_preferredCurrency.set(this, void 0);
|
|
40
43
|
__classPrivateFieldSet(this, _PriceFindResult_price_band_arrowsphere_sku, data[PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU], "f");
|
|
41
44
|
__classPrivateFieldSet(this, _PriceFindResult_buy_price, data[PriceFindResultFields.COLUMN_BUY_PRICE], "f");
|
|
42
45
|
__classPrivateFieldSet(this, _PriceFindResult_sell_price, data[PriceFindResultFields.COLUMN_SELL_PRICE], "f");
|
|
43
46
|
__classPrivateFieldSet(this, _PriceFindResult_list_price, data[PriceFindResultFields.COLUMN_LIST_PRICE], "f");
|
|
44
47
|
__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");
|
|
45
51
|
}
|
|
46
52
|
get priceBandArrowsphereSku() {
|
|
47
53
|
return __classPrivateFieldGet(this, _PriceFindResult_price_band_arrowsphere_sku, "f");
|
|
@@ -58,7 +64,11 @@ class PriceFindResult extends abstractEntity_1.AbstractEntity {
|
|
|
58
64
|
get currency() {
|
|
59
65
|
return __classPrivateFieldGet(this, _PriceFindResult_currency, "f");
|
|
60
66
|
}
|
|
67
|
+
get preferredCurrency() {
|
|
68
|
+
return __classPrivateFieldGet(this, _PriceFindResult_preferredCurrency, "f");
|
|
69
|
+
}
|
|
61
70
|
toJSON() {
|
|
71
|
+
var _a;
|
|
62
72
|
return {
|
|
63
73
|
[PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU]: this
|
|
64
74
|
.priceBandArrowsphereSku,
|
|
@@ -66,9 +76,10 @@ class PriceFindResult extends abstractEntity_1.AbstractEntity {
|
|
|
66
76
|
[PriceFindResultFields.COLUMN_SELL_PRICE]: this.sellPrice,
|
|
67
77
|
[PriceFindResultFields.COLUMN_LIST_PRICE]: this.listPrice,
|
|
68
78
|
[PriceFindResultFields.COLUMN_CURRENCY]: this.currency,
|
|
79
|
+
[PriceFindResultFields.COLUMN_PREFERRED_CURRENCY]: (_a = this.preferredCurrency) === null || _a === void 0 ? void 0 : _a.toJSON(),
|
|
69
80
|
};
|
|
70
81
|
}
|
|
71
82
|
}
|
|
72
83
|
exports.PriceFindResult = PriceFindResult;
|
|
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();
|
|
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();
|
|
74
85
|
//# sourceMappingURL=priceFindResult.js.map
|
package/package.json
CHANGED