@arrowsphere/api-client 3.397.0-rc-cpe-1 → 3.397.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/build/graphqlApi/index.d.ts +1 -0
  3. package/build/graphqlApi/index.js +1 -0
  4. package/build/graphqlApi/types/entities/company.d.ts +1 -0
  5. package/build/graphqlApi/types/entities/order.d.ts +30 -0
  6. package/build/graphqlApi/types/entities/subscription.d.ts +2 -0
  7. package/build/graphqlApi/types/entities/tax.d.ts +13 -0
  8. package/build/graphqlApi/types/entities/tax.js +3 -0
  9. package/build/graphqlApi/types/graphqlApiQueries.d.ts +4 -1
  10. package/build/graphqlApi/types/graphqlApiQueries.js +1 -0
  11. package/build/graphqlApi/types/graphqlApiSchemas.d.ts +20 -1
  12. package/build/licenses/entities/getLicense/licensePriceGetResult.d.ts +1 -5
  13. package/build/licenses/entities/getLicense/licensePriceGetResult.js +2 -13
  14. package/build/licenses/entities/license/licenseFindResult.js +0 -1
  15. package/build/licenses/entities/license/priceFindResult.d.ts +1 -5
  16. package/build/licenses/entities/license/priceFindResult.js +2 -13
  17. package/package.json +1 -1
  18. package/build/licenses/entities/getLicense/licenseGetPreferredCurrency.d.ts +0 -18
  19. package/build/licenses/entities/getLicense/licenseGetPreferredCurrency.js +0 -47
  20. package/build/licenses/entities/getLicense/preferredCurrency/licenseGetPreferredCurrencyValues.d.ts +0 -17
  21. package/build/licenses/entities/getLicense/preferredCurrency/licenseGetPreferredCurrencyValues.js +0 -46
  22. package/build/licenses/entities/license/licenseFindPreferredCurrency.d.ts +0 -18
  23. package/build/licenses/entities/license/licenseFindPreferredCurrency.js +0 -47
  24. package/build/licenses/entities/license/preferredCurrency/licenseFindPreferredCurrencyValues.d.ts +0 -19
  25. package/build/licenses/entities/license/preferredCurrency/licenseFindPreferredCurrencyValues.js +0 -55
package/CHANGELOG.md CHANGED
@@ -3,6 +3,13 @@
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.397.0] - 2026.09.02
7
+ ### Added
8
+ - [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`
9
+ - [graphql-api] Add `GraphqlApiOrderSoftwareStatusType` entity
10
+ - [graphql-api] Add `GraphqlApiTaxType` entity with `id`, `name`, `rate`, `amount`, `stateReg`, `since`, `until`, `country`, and `currency` fields
11
+ - [graphql-api] Add `orderIdText` and `partnerIdText` fields to `SubscriptionType`
12
+
6
13
  ## [3.396.0] - 2026.09.01
7
14
  ### Added
8
15
  - [graphql-api] Add `orderSoftwareHistory` type support for independent querying
@@ -30,3 +30,4 @@ export * from './types/entities/supportLevel';
30
30
  export * from './types/entities/customFieldKey';
31
31
  export * from './types/entities/customFieldValue';
32
32
  export * from './types/entities/partnerCatalogItem';
33
+ export * from './types/entities/tax';
@@ -46,4 +46,5 @@ __exportStar(require("./types/entities/supportLevel"), exports);
46
46
  __exportStar(require("./types/entities/customFieldKey"), exports);
47
47
  __exportStar(require("./types/entities/customFieldValue"), exports);
48
48
  __exportStar(require("./types/entities/partnerCatalogItem"), exports);
49
+ __exportStar(require("./types/entities/tax"), exports);
49
50
  //# sourceMappingURL=index.js.map
@@ -18,6 +18,7 @@ export declare type BaseCompanyType = {
18
18
  address2?: string;
19
19
  billingId?: string;
20
20
  city?: string;
21
+ country?: CountryType;
21
22
  contacts?: ContactsType[];
22
23
  createdAt?: string;
23
24
  deletedAt?: string;
@@ -1,10 +1,15 @@
1
+ import { Comment } from './comment';
1
2
  import { ArrowCompanyType, EndCustomerType, PartnerType } from './company';
2
3
  import { ContactsType } from './contact';
3
4
  import { GraphqlApiContributorType } from './contributor';
5
+ import { CurrencyType } from './currency';
4
6
  import { GraphqlApiEavType } from './eav';
5
7
  import { GraphqlApiProgramType } from './program';
6
8
  import { ItemData, QuoteType } from './quote';
9
+ import { GraphqlApiReportType } from './report';
7
10
  import { SpecialPriceRateType } from './specialPriceRate';
11
+ import { SubscriptionType } from './subscription';
12
+ import { GraphqlApiTaxType } from './tax';
8
13
  import { GraphqlApiUnitType } from './unit';
9
14
  import { UserType } from './user';
10
15
  export declare type OrdersType = {
@@ -50,7 +55,32 @@ export declare type GraphqlApiOrderSoftwareType = {
50
55
  id?: number;
51
56
  customerId?: number;
52
57
  totalAmount?: number;
58
+ totalAmountEnded?: number;
59
+ totalAmountUnit?: CurrencyType;
53
60
  unit?: GraphqlApiUnitType;
61
+ createdDate?: string;
62
+ customName?: string;
63
+ dateBegin?: string;
64
+ dateEnd?: string;
65
+ dateLastModified?: string;
66
+ dateSent?: string;
67
+ dateValidation?: string;
68
+ totalQuantity?: number;
69
+ totalUnit?: CurrencyType;
70
+ sumTotalUnit?: CurrencyType;
71
+ discountRatio?: number;
72
+ comments?: Comment[];
73
+ aggregatorErpNo?: string;
74
+ customerPo?: string;
75
+ endUserCompany?: PartnerType;
76
+ status?: GraphqlApiOrderSoftwareStatusType;
77
+ taxes?: GraphqlApiTaxType[];
78
+ report?: GraphqlApiReportType;
79
+ subscription?: SubscriptionType;
80
+ };
81
+ export declare type GraphqlApiOrderSoftwareStatusType = {
82
+ id?: number;
83
+ name?: string;
54
84
  };
55
85
  export declare type GraphqlApiOrderStatusType = {
56
86
  id?: number;
@@ -14,8 +14,10 @@ export declare type SubscriptionType = {
14
14
  level?: GraphqlApiProgramLevelType;
15
15
  localContact?: ContactsType;
16
16
  orderId?: string;
17
+ orderIdText?: string;
17
18
  partnerContact?: ContactsType;
18
19
  partnerId?: string;
20
+ partnerIdText?: string;
19
21
  program?: GraphqlApiProgramType;
20
22
  startedAt?: string;
21
23
  userNote?: string;
@@ -0,0 +1,13 @@
1
+ import { CountryType } from './country';
2
+ import { CurrencyType } from './currency';
3
+ export declare type GraphqlApiTaxType = {
4
+ id?: number;
5
+ name?: string;
6
+ rate?: number;
7
+ amount?: number;
8
+ stateReg?: string;
9
+ since?: string;
10
+ until?: string;
11
+ country?: CountryType;
12
+ currency?: CurrencyType;
13
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=tax.js.map
@@ -3,7 +3,7 @@ import { ContactsType } from './entities/contact';
3
3
  import { GraphqlApiStaffType } from './entities/contributor';
4
4
  import { ContinentType, CountryType } from './entities/country';
5
5
  import { LicenseBudgetType } from './entities/licenseBudget';
6
- import { GraphqlApiOrderHistoryType, GraphqlApiOrderListType, GraphqlApiOrderSoftwareHistoryType, OrdersType } from './entities/order';
6
+ import { GraphqlApiOrderHistoryType, GraphqlApiOrderListType, GraphqlApiOrderSoftwareHistoryType, GraphqlApiOrderSoftwareType, OrdersType } from './entities/order';
7
7
  import { OrganizationUnitsType } from './entities/organizationUnit';
8
8
  import { PartnertagType } from './entities/partnertag';
9
9
  import { GraphqlApiProgramType, ProgramLevelOptionGroupType, ProgramLevelType, SubscribedProgramType } from './entities/program';
@@ -139,6 +139,7 @@ export declare enum SelectDataField {
139
139
  ORDER_HISTORY = "orderHistory",
140
140
  ORDER_LIST = "orderList",
141
141
  ORDER_SOFTWARE_HISTORY = "orderSoftwareHistory",
142
+ ORDER_SOFTWARE = "orderSoftware",
142
143
  PARTNER = "partner",
143
144
  PARTNERTAG = "partnertag",
144
145
  PROGRAM = "program",
@@ -186,6 +187,7 @@ export declare type SelectAllResponseDataType = {
186
187
  [SelectDataField.ORDER_HISTORY]?: GraphqlApiOrderHistoryType[];
187
188
  [SelectDataField.ORDER_LIST]?: GraphqlApiOrderListType[];
188
189
  [SelectDataField.ORDER_SOFTWARE_HISTORY]?: GraphqlApiOrderSoftwareHistoryType[];
190
+ [SelectDataField.ORDER_SOFTWARE]?: GraphqlApiOrderSoftwareType[];
189
191
  [SelectDataField.PARTNER]?: PartnerType[];
190
192
  [SelectDataField.PARTNERTAG]?: PartnertagType[];
191
193
  [SelectDataField.PROGRAM]?: GraphqlApiProgramType[];
@@ -275,6 +277,7 @@ export declare type SelectOneResponseDataType = {
275
277
  [SelectDataField.ORDER]?: OrdersType;
276
278
  [SelectDataField.ORDER_HISTORY]?: GraphqlApiOrderHistoryType;
277
279
  [SelectDataField.ORDER_SOFTWARE_HISTORY]?: GraphqlApiOrderSoftwareHistoryType;
280
+ [SelectDataField.ORDER_SOFTWARE]?: GraphqlApiOrderSoftwareType;
278
281
  [SelectDataField.PARTNER]?: PartnerType;
279
282
  [SelectDataField.PARTNERTAG]?: PartnertagType;
280
283
  [SelectDataField.PROGRAM]?: GraphqlApiProgramType;
@@ -105,6 +105,7 @@ var SelectDataField;
105
105
  SelectDataField["ORDER_HISTORY"] = "orderHistory";
106
106
  SelectDataField["ORDER_LIST"] = "orderList";
107
107
  SelectDataField["ORDER_SOFTWARE_HISTORY"] = "orderSoftwareHistory";
108
+ SelectDataField["ORDER_SOFTWARE"] = "orderSoftware";
108
109
  SelectDataField["PARTNER"] = "partner";
109
110
  SelectDataField["PARTNERTAG"] = "partnertag";
110
111
  SelectDataField["PROGRAM"] = "program";
@@ -7,7 +7,7 @@ import { ErrorsType, PageType, Queries, SelectDataField, SelectableField } from
7
7
  import { ContactsType } from './entities/contact';
8
8
  import { SubscriptionType } from './entities/subscription';
9
9
  import { SpecialPriceRateType } from './entities/specialPriceRate';
10
- import { GraphqlApiOrderHistoryType, GraphqlApiOrderLinkType, GraphqlApiOrderListType, GraphqlApiOrderSoftwareHistoryType, OrderItemsType, OrdersType } from './entities/order';
10
+ import { GraphqlApiOrderHistoryType, GraphqlApiOrderLinkType, GraphqlApiOrderListType, GraphqlApiOrderSoftwareHistoryType, GraphqlApiOrderSoftwareType, GraphqlApiOrderSoftwareStatusType, OrderItemsType, OrdersType } from './entities/order';
11
11
  import { GraphqlApiProgramType, ProgramBenefitType, ProgramLevelType, ProgramRequirementType, ProgramLevelOptionGroupType, ProgramLevelOptionType, SubscribedProgramType, SubscriptionExtraFieldType } from './entities/program';
12
12
  import { LicenseBudgetNotificationType, LicenseBudgetType } from './entities/licenseBudget';
13
13
  import { UserHistoryType, UserType } from './entities/user';
@@ -26,6 +26,8 @@ import { GraphqlApiContributorRoleType, GraphqlApiStaffType } from './entities/c
26
26
  import { AttributesParameters } from '../../catalog';
27
27
  import { CustomFieldValueType } from './entities/customFieldValue';
28
28
  import { CustomFieldKeyType } from './entities/customFieldKey';
29
+ import { GraphqlApiTaxType } from './entities/tax';
30
+ import { GraphqlApiUnitType } from './entities/unit';
29
31
  export declare type PartnertagSchema = Schema<PartnertagType, boolean>;
30
32
  declare type MissingFieldsOfCompanySchema = {
31
33
  contacts?: ContactsSchema;
@@ -169,6 +171,22 @@ declare type MissingFieldsOfPartnerCatalogItemSchema = {
169
171
  export declare type PartnerCatalogItemSchema = Merge<Schema<PartnerCatalogItemType, boolean>, MissingFieldsOfPartnerCatalogItemSchema>;
170
172
  export declare type CustomFieldValueSchema = Schema<CustomFieldValueType, boolean>;
171
173
  export declare type CustomFieldKeySchema = Schema<CustomFieldKeyType, boolean>;
174
+ export declare type GraphqlApiTaxSchema = Schema<GraphqlApiTaxType, boolean>;
175
+ declare type MissingFieldsOfOrderSoftwareSchema = {
176
+ endUserCompany?: PartnerSchema;
177
+ report?: ReportSchema;
178
+ status?: OrderSoftwareStatusSchema;
179
+ subscription?: SubscriptionSchema;
180
+ taxes?: GraphqlApiTaxSchema;
181
+ totalAmountUnit?: CurrencySchema;
182
+ totalUnit?: CurrencySchema;
183
+ sumTotalUnit?: CurrencySchema;
184
+ unit?: UnitSchema;
185
+ comments?: CommentSchema;
186
+ };
187
+ export declare type OrderSoftwareSchema = Merge<Schema<GraphqlApiOrderSoftwareType, boolean>, MissingFieldsOfOrderSoftwareSchema>;
188
+ export declare type OrderSoftwareStatusSchema = Schema<GraphqlApiOrderSoftwareStatusType, boolean>;
189
+ export declare type UnitSchema = Schema<GraphqlApiUnitType, boolean>;
172
190
  export declare type ExportResultSchema = {
173
191
  [SelectableField.DATA]?: SelectAllResponseDataSchema;
174
192
  [SelectableField.ERRORS]?: ErrorsSchema;
@@ -191,6 +209,7 @@ export declare type SelectAllResponseDataSchema = {
191
209
  [SelectDataField.ORDER]?: OrdersSchema;
192
210
  [SelectDataField.ORDER_HISTORY]?: GraphqlApiOrderHistoryType;
193
211
  [SelectDataField.ORDER_SOFTWARE_HISTORY]?: GraphqlApiOrderSoftwareHistorySchema;
212
+ [SelectDataField.ORDER_SOFTWARE]?: OrderSoftwareSchema;
194
213
  [SelectDataField.PARTNER]?: PartnerSchema;
195
214
  [SelectDataField.PARTNERTAG]?: PartnertagSchema;
196
215
  [SelectDataField.PROGRAM]?: GraphqlApiProgramSchema;
@@ -1,19 +1,16 @@
1
1
  import { BuySellData, BuySellFindResult } from './buySellFindResult';
2
2
  import { AbstractEntity } from '../../../abstractEntity';
3
- import { LicenseGetPreferredCurrency, LicenseGetPreferredCurrencyType } from './licenseGetPreferredCurrency';
4
3
  export declare enum LicensePriceGetFields {
5
4
  COLUMN_CURRENCY = "currency",
6
5
  COLUMN_PRICEBAND_ARROWSPHERE_SKU = "priceBandArrowsphereSku",
7
6
  COLUMN_UNIT = "unit",
8
- COLUMN_TOTAL = "total",
9
- COLUMN_PREFERRED_CURRENCY = "preferredCurrency"
7
+ COLUMN_TOTAL = "total"
10
8
  }
11
9
  export declare type LicensePriceGetData = {
12
10
  [LicensePriceGetFields.COLUMN_CURRENCY]: string;
13
11
  [LicensePriceGetFields.COLUMN_PRICEBAND_ARROWSPHERE_SKU]: string;
14
12
  [LicensePriceGetFields.COLUMN_UNIT]: BuySellData;
15
13
  [LicensePriceGetFields.COLUMN_TOTAL]: BuySellData;
16
- [LicensePriceGetFields.COLUMN_PREFERRED_CURRENCY]?: LicenseGetPreferredCurrencyType;
17
14
  };
18
15
  export declare class LicensePriceGetResult extends AbstractEntity<LicensePriceGetData> {
19
16
  #private;
@@ -22,6 +19,5 @@ export declare class LicensePriceGetResult extends AbstractEntity<LicensePriceGe
22
19
  get priceBandArrowsphereSku(): string;
23
20
  get unit(): BuySellFindResult;
24
21
  get total(): BuySellFindResult;
25
- get preferredCurrency(): LicenseGetPreferredCurrency | undefined;
26
22
  toJSON(): LicensePriceGetData;
27
23
  }
@@ -10,19 +10,17 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _LicensePriceGetResult_currency, _LicensePriceGetResult_priceBandArrowsphereSku, _LicensePriceGetResult_unit, _LicensePriceGetResult_total, _LicensePriceGetResult_preferredCurrency;
13
+ var _LicensePriceGetResult_currency, _LicensePriceGetResult_priceBandArrowsphereSku, _LicensePriceGetResult_unit, _LicensePriceGetResult_total;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.LicensePriceGetResult = exports.LicensePriceGetFields = void 0;
16
16
  const buySellFindResult_1 = require("./buySellFindResult");
17
17
  const abstractEntity_1 = require("../../../abstractEntity");
18
- const licenseGetPreferredCurrency_1 = require("./licenseGetPreferredCurrency");
19
18
  var LicensePriceGetFields;
20
19
  (function (LicensePriceGetFields) {
21
20
  LicensePriceGetFields["COLUMN_CURRENCY"] = "currency";
22
21
  LicensePriceGetFields["COLUMN_PRICEBAND_ARROWSPHERE_SKU"] = "priceBandArrowsphereSku";
23
22
  LicensePriceGetFields["COLUMN_UNIT"] = "unit";
24
23
  LicensePriceGetFields["COLUMN_TOTAL"] = "total";
25
- LicensePriceGetFields["COLUMN_PREFERRED_CURRENCY"] = "preferredCurrency";
26
24
  })(LicensePriceGetFields = exports.LicensePriceGetFields || (exports.LicensePriceGetFields = {}));
27
25
  class LicensePriceGetResult extends abstractEntity_1.AbstractEntity {
28
26
  constructor(data) {
@@ -31,14 +29,10 @@ class LicensePriceGetResult extends abstractEntity_1.AbstractEntity {
31
29
  _LicensePriceGetResult_priceBandArrowsphereSku.set(this, void 0);
32
30
  _LicensePriceGetResult_unit.set(this, void 0);
33
31
  _LicensePriceGetResult_total.set(this, void 0);
34
- _LicensePriceGetResult_preferredCurrency.set(this, void 0);
35
32
  __classPrivateFieldSet(this, _LicensePriceGetResult_currency, data[LicensePriceGetFields.COLUMN_CURRENCY], "f");
36
33
  __classPrivateFieldSet(this, _LicensePriceGetResult_priceBandArrowsphereSku, data[LicensePriceGetFields.COLUMN_PRICEBAND_ARROWSPHERE_SKU], "f");
37
34
  __classPrivateFieldSet(this, _LicensePriceGetResult_unit, new buySellFindResult_1.BuySellFindResult(data[LicensePriceGetFields.COLUMN_UNIT]), "f");
38
35
  __classPrivateFieldSet(this, _LicensePriceGetResult_total, new buySellFindResult_1.BuySellFindResult(data[LicensePriceGetFields.COLUMN_TOTAL]), "f");
39
- __classPrivateFieldSet(this, _LicensePriceGetResult_preferredCurrency, data[LicensePriceGetFields.COLUMN_PREFERRED_CURRENCY]
40
- ? new licenseGetPreferredCurrency_1.LicenseGetPreferredCurrency(data[LicensePriceGetFields.COLUMN_PREFERRED_CURRENCY])
41
- : undefined, "f");
42
36
  }
43
37
  get currency() {
44
38
  return __classPrivateFieldGet(this, _LicensePriceGetResult_currency, "f");
@@ -52,20 +46,15 @@ class LicensePriceGetResult extends abstractEntity_1.AbstractEntity {
52
46
  get total() {
53
47
  return __classPrivateFieldGet(this, _LicensePriceGetResult_total, "f");
54
48
  }
55
- get preferredCurrency() {
56
- return __classPrivateFieldGet(this, _LicensePriceGetResult_preferredCurrency, "f");
57
- }
58
49
  toJSON() {
59
- var _a;
60
50
  return {
61
51
  [LicensePriceGetFields.COLUMN_CURRENCY]: this.currency,
62
52
  [LicensePriceGetFields.COLUMN_PRICEBAND_ARROWSPHERE_SKU]: __classPrivateFieldGet(this, _LicensePriceGetResult_priceBandArrowsphereSku, "f"),
63
53
  [LicensePriceGetFields.COLUMN_UNIT]: this.unit.toJSON(),
64
54
  [LicensePriceGetFields.COLUMN_TOTAL]: this.total.toJSON(),
65
- [LicensePriceGetFields.COLUMN_PREFERRED_CURRENCY]: (_a = this.preferredCurrency) === null || _a === void 0 ? void 0 : _a.toJSON(),
66
55
  };
67
56
  }
68
57
  }
69
58
  exports.LicensePriceGetResult = LicensePriceGetResult;
70
- _LicensePriceGetResult_currency = new WeakMap(), _LicensePriceGetResult_priceBandArrowsphereSku = new WeakMap(), _LicensePriceGetResult_unit = new WeakMap(), _LicensePriceGetResult_total = new WeakMap(), _LicensePriceGetResult_preferredCurrency = new WeakMap();
59
+ _LicensePriceGetResult_currency = new WeakMap(), _LicensePriceGetResult_priceBandArrowsphereSku = new WeakMap(), _LicensePriceGetResult_unit = new WeakMap(), _LicensePriceGetResult_total = new WeakMap();
71
60
  //# sourceMappingURL=licensePriceGetResult.js.map
@@ -187,7 +187,6 @@ class LicenseFindResult extends abstractEntity_1.AbstractEntity {
187
187
  [priceFindResult_1.PriceFindResultFields.COLUMN_SELL_PRICE]: data[LicenseFindResultFields.COLUMN_PRICE][priceFindResult_1.PriceFindResultFields.COLUMN_SELL_PRICE],
188
188
  [priceFindResult_1.PriceFindResultFields.COLUMN_LIST_PRICE]: data[LicenseFindResultFields.COLUMN_PRICE][priceFindResult_1.PriceFindResultFields.COLUMN_LIST_PRICE],
189
189
  [priceFindResult_1.PriceFindResultFields.COLUMN_CURRENCY]: data[LicenseFindResultFields.COLUMN_PRICE][priceFindResult_1.PriceFindResultFields.COLUMN_CURRENCY],
190
- [priceFindResult_1.PriceFindResultFields.COLUMN_PREFERRED_CURRENCY]: data[LicenseFindResultFields.COLUMN_PRICE][priceFindResult_1.PriceFindResultFields.COLUMN_PREFERRED_CURRENCY],
191
190
  };
192
191
  __classPrivateFieldSet(this, _LicenseFindResult_price, new priceFindResult_1.PriceFindResult(price), "f");
193
192
  __classPrivateFieldSet(this, _LicenseFindResult_resellerName, data[LicenseFindResultFields.COLUMN_RESELLER_NAME], "f");
@@ -1,13 +1,11 @@
1
1
  import { DataKeywords, FiltersParameters, SortParameters } from '../../licensesClient';
2
2
  import { AbstractEntity } from '../../../abstractEntity';
3
- import { LicenseFindPreferredCurrency, LicenseFindPreferredCurrencyType } from './licenseFindPreferredCurrency';
4
3
  export declare enum PriceFindResultFields {
5
4
  COLUMN_PRICE_BAND_ARROWSPHERE_SKU = "priceBandArrowsphereSku",
6
5
  COLUMN_BUY_PRICE = "buy_price",
7
6
  COLUMN_SELL_PRICE = "sell_price",
8
7
  COLUMN_LIST_PRICE = "list_price",
9
- COLUMN_CURRENCY = "currency",
10
- COLUMN_PREFERRED_CURRENCY = "preferredCurrency"
8
+ COLUMN_CURRENCY = "currency"
11
9
  }
12
10
  export declare type PriceFindResultData = {
13
11
  [PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU]: string | null;
@@ -15,7 +13,6 @@ export declare type PriceFindResultData = {
15
13
  [PriceFindResultFields.COLUMN_SELL_PRICE]: number;
16
14
  [PriceFindResultFields.COLUMN_LIST_PRICE]: number;
17
15
  [PriceFindResultFields.COLUMN_CURRENCY]?: string | null;
18
- [PriceFindResultFields.COLUMN_PREFERRED_CURRENCY]?: LicenseFindPreferredCurrencyType;
19
16
  };
20
17
  export declare type PriceFindResultDataKeywords = {
21
18
  [PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU]?: DataKeywords;
@@ -53,6 +50,5 @@ export declare class PriceFindResult extends AbstractEntity<PriceFindResultData>
53
50
  get sellPrice(): number;
54
51
  get listPrice(): number;
55
52
  get currency(): string | null | undefined;
56
- get preferredCurrency(): LicenseFindPreferredCurrency | undefined;
57
53
  toJSON(): PriceFindResultData;
58
54
  }
@@ -10,11 +10,10 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _PriceFindResult_price_band_arrowsphere_sku, _PriceFindResult_buy_price, _PriceFindResult_sell_price, _PriceFindResult_list_price, _PriceFindResult_currency, _PriceFindResult_preferredCurrency;
13
+ var _PriceFindResult_price_band_arrowsphere_sku, _PriceFindResult_buy_price, _PriceFindResult_sell_price, _PriceFindResult_list_price, _PriceFindResult_currency;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.PriceFindResult = exports.PriceFindResultFields = void 0;
16
16
  const abstractEntity_1 = require("../../../abstractEntity");
17
- const licenseFindPreferredCurrency_1 = require("./licenseFindPreferredCurrency");
18
17
  var PriceFindResultFields;
19
18
  (function (PriceFindResultFields) {
20
19
  PriceFindResultFields["COLUMN_PRICE_BAND_ARROWSPHERE_SKU"] = "priceBandArrowsphereSku";
@@ -22,7 +21,6 @@ var PriceFindResultFields;
22
21
  PriceFindResultFields["COLUMN_SELL_PRICE"] = "sell_price";
23
22
  PriceFindResultFields["COLUMN_LIST_PRICE"] = "list_price";
24
23
  PriceFindResultFields["COLUMN_CURRENCY"] = "currency";
25
- PriceFindResultFields["COLUMN_PREFERRED_CURRENCY"] = "preferredCurrency";
26
24
  })(PriceFindResultFields = exports.PriceFindResultFields || (exports.PriceFindResultFields = {}));
27
25
  class PriceFindResult extends abstractEntity_1.AbstractEntity {
28
26
  constructor(data) {
@@ -39,15 +37,11 @@ class PriceFindResult extends abstractEntity_1.AbstractEntity {
39
37
  _PriceFindResult_sell_price.set(this, void 0);
40
38
  _PriceFindResult_list_price.set(this, void 0);
41
39
  _PriceFindResult_currency.set(this, void 0);
42
- _PriceFindResult_preferredCurrency.set(this, void 0);
43
40
  __classPrivateFieldSet(this, _PriceFindResult_price_band_arrowsphere_sku, data[PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU], "f");
44
41
  __classPrivateFieldSet(this, _PriceFindResult_buy_price, data[PriceFindResultFields.COLUMN_BUY_PRICE], "f");
45
42
  __classPrivateFieldSet(this, _PriceFindResult_sell_price, data[PriceFindResultFields.COLUMN_SELL_PRICE], "f");
46
43
  __classPrivateFieldSet(this, _PriceFindResult_list_price, data[PriceFindResultFields.COLUMN_LIST_PRICE], "f");
47
44
  __classPrivateFieldSet(this, _PriceFindResult_currency, data[PriceFindResultFields.COLUMN_CURRENCY], "f");
48
- __classPrivateFieldSet(this, _PriceFindResult_preferredCurrency, data[PriceFindResultFields.COLUMN_PREFERRED_CURRENCY]
49
- ? new licenseFindPreferredCurrency_1.LicenseFindPreferredCurrency(data[PriceFindResultFields.COLUMN_PREFERRED_CURRENCY])
50
- : undefined, "f");
51
45
  }
52
46
  get priceBandArrowsphereSku() {
53
47
  return __classPrivateFieldGet(this, _PriceFindResult_price_band_arrowsphere_sku, "f");
@@ -64,11 +58,7 @@ class PriceFindResult extends abstractEntity_1.AbstractEntity {
64
58
  get currency() {
65
59
  return __classPrivateFieldGet(this, _PriceFindResult_currency, "f");
66
60
  }
67
- get preferredCurrency() {
68
- return __classPrivateFieldGet(this, _PriceFindResult_preferredCurrency, "f");
69
- }
70
61
  toJSON() {
71
- var _a;
72
62
  return {
73
63
  [PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU]: this
74
64
  .priceBandArrowsphereSku,
@@ -76,10 +66,9 @@ class PriceFindResult extends abstractEntity_1.AbstractEntity {
76
66
  [PriceFindResultFields.COLUMN_SELL_PRICE]: this.sellPrice,
77
67
  [PriceFindResultFields.COLUMN_LIST_PRICE]: this.listPrice,
78
68
  [PriceFindResultFields.COLUMN_CURRENCY]: this.currency,
79
- [PriceFindResultFields.COLUMN_PREFERRED_CURRENCY]: (_a = this.preferredCurrency) === null || _a === void 0 ? void 0 : _a.toJSON(),
80
69
  };
81
70
  }
82
71
  }
83
72
  exports.PriceFindResult = PriceFindResult;
84
- _PriceFindResult_price_band_arrowsphere_sku = new WeakMap(), _PriceFindResult_buy_price = new WeakMap(), _PriceFindResult_sell_price = new WeakMap(), _PriceFindResult_list_price = new WeakMap(), _PriceFindResult_currency = new WeakMap(), _PriceFindResult_preferredCurrency = new WeakMap();
73
+ _PriceFindResult_price_band_arrowsphere_sku = new WeakMap(), _PriceFindResult_buy_price = new WeakMap(), _PriceFindResult_sell_price = new WeakMap(), _PriceFindResult_list_price = new WeakMap(), _PriceFindResult_currency = new WeakMap();
85
74
  //# sourceMappingURL=priceFindResult.js.map
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/ArrowSphere/nodejs-api-client.git"
6
6
  },
7
- "version": "3.397.0-rc-cpe-1",
7
+ "version": "3.397.0",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",
@@ -1,18 +0,0 @@
1
- import { AbstractEntity } from '../../../abstractEntity';
2
- import { LicenseGetPreferredCurrencyValues, LicenseGetPreferredCurrencyValuesType } from './preferredCurrency/licenseGetPreferredCurrencyValues';
3
- import { ConversionRules, ConversionRulesType } from '../../../shared/preferredCurrency/conversionRules';
4
- export declare enum LicenseGetPreferredCurrencyFields {
5
- COLUMN_CONVERSION_RULES = "conversionRules",
6
- COLUMN_VALUES = "values"
7
- }
8
- export declare type LicenseGetPreferredCurrencyType = {
9
- [LicenseGetPreferredCurrencyFields.COLUMN_CONVERSION_RULES]: ConversionRulesType;
10
- [LicenseGetPreferredCurrencyFields.COLUMN_VALUES]: LicenseGetPreferredCurrencyValuesType;
11
- };
12
- export declare class LicenseGetPreferredCurrency extends AbstractEntity<LicenseGetPreferredCurrencyType> {
13
- #private;
14
- constructor(input: LicenseGetPreferredCurrencyType);
15
- get conversionRules(): ConversionRules;
16
- get values(): LicenseGetPreferredCurrencyValues;
17
- toJSON(): LicenseGetPreferredCurrencyType;
18
- }
@@ -1,47 +0,0 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _LicenseGetPreferredCurrency_conversionRules, _LicenseGetPreferredCurrency_values;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.LicenseGetPreferredCurrency = exports.LicenseGetPreferredCurrencyFields = void 0;
16
- const abstractEntity_1 = require("../../../abstractEntity");
17
- const licenseGetPreferredCurrencyValues_1 = require("./preferredCurrency/licenseGetPreferredCurrencyValues");
18
- const conversionRules_1 = require("../../../shared/preferredCurrency/conversionRules");
19
- var LicenseGetPreferredCurrencyFields;
20
- (function (LicenseGetPreferredCurrencyFields) {
21
- LicenseGetPreferredCurrencyFields["COLUMN_CONVERSION_RULES"] = "conversionRules";
22
- LicenseGetPreferredCurrencyFields["COLUMN_VALUES"] = "values";
23
- })(LicenseGetPreferredCurrencyFields = exports.LicenseGetPreferredCurrencyFields || (exports.LicenseGetPreferredCurrencyFields = {}));
24
- class LicenseGetPreferredCurrency extends abstractEntity_1.AbstractEntity {
25
- constructor(input) {
26
- super(input);
27
- _LicenseGetPreferredCurrency_conversionRules.set(this, void 0);
28
- _LicenseGetPreferredCurrency_values.set(this, void 0);
29
- __classPrivateFieldSet(this, _LicenseGetPreferredCurrency_conversionRules, new conversionRules_1.ConversionRules(input[LicenseGetPreferredCurrencyFields.COLUMN_CONVERSION_RULES]), "f");
30
- __classPrivateFieldSet(this, _LicenseGetPreferredCurrency_values, new licenseGetPreferredCurrencyValues_1.LicenseGetPreferredCurrencyValues(input[LicenseGetPreferredCurrencyFields.COLUMN_VALUES]), "f");
31
- }
32
- get conversionRules() {
33
- return __classPrivateFieldGet(this, _LicenseGetPreferredCurrency_conversionRules, "f");
34
- }
35
- get values() {
36
- return __classPrivateFieldGet(this, _LicenseGetPreferredCurrency_values, "f");
37
- }
38
- toJSON() {
39
- return {
40
- [LicenseGetPreferredCurrencyFields.COLUMN_CONVERSION_RULES]: this.conversionRules.toJSON(),
41
- [LicenseGetPreferredCurrencyFields.COLUMN_VALUES]: this.values.toJSON(),
42
- };
43
- }
44
- }
45
- exports.LicenseGetPreferredCurrency = LicenseGetPreferredCurrency;
46
- _LicenseGetPreferredCurrency_conversionRules = new WeakMap(), _LicenseGetPreferredCurrency_values = new WeakMap();
47
- //# sourceMappingURL=licenseGetPreferredCurrency.js.map
@@ -1,17 +0,0 @@
1
- import { AbstractEntity } from '../../../../abstractEntity';
2
- import { BuySellData, BuySellFindResult } from '../buySellFindResult';
3
- export declare enum LicenseGetPreferredCurrencyValuesFields {
4
- COLUMN_UNIT = "unit",
5
- COLUMN_TOTAL = "total"
6
- }
7
- export declare type LicenseGetPreferredCurrencyValuesType = {
8
- [LicenseGetPreferredCurrencyValuesFields.COLUMN_UNIT]: BuySellData;
9
- [LicenseGetPreferredCurrencyValuesFields.COLUMN_TOTAL]: BuySellData;
10
- };
11
- export declare class LicenseGetPreferredCurrencyValues extends AbstractEntity<LicenseGetPreferredCurrencyValuesType> {
12
- #private;
13
- constructor(input: LicenseGetPreferredCurrencyValuesType);
14
- get unit(): BuySellFindResult;
15
- get total(): BuySellFindResult;
16
- toJSON(): LicenseGetPreferredCurrencyValuesType;
17
- }
@@ -1,46 +0,0 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _LicenseGetPreferredCurrencyValues_unit, _LicenseGetPreferredCurrencyValues_total;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.LicenseGetPreferredCurrencyValues = exports.LicenseGetPreferredCurrencyValuesFields = void 0;
16
- const abstractEntity_1 = require("../../../../abstractEntity");
17
- const buySellFindResult_1 = require("../buySellFindResult");
18
- var LicenseGetPreferredCurrencyValuesFields;
19
- (function (LicenseGetPreferredCurrencyValuesFields) {
20
- LicenseGetPreferredCurrencyValuesFields["COLUMN_UNIT"] = "unit";
21
- LicenseGetPreferredCurrencyValuesFields["COLUMN_TOTAL"] = "total";
22
- })(LicenseGetPreferredCurrencyValuesFields = exports.LicenseGetPreferredCurrencyValuesFields || (exports.LicenseGetPreferredCurrencyValuesFields = {}));
23
- class LicenseGetPreferredCurrencyValues extends abstractEntity_1.AbstractEntity {
24
- constructor(input) {
25
- super(input);
26
- _LicenseGetPreferredCurrencyValues_unit.set(this, void 0);
27
- _LicenseGetPreferredCurrencyValues_total.set(this, void 0);
28
- __classPrivateFieldSet(this, _LicenseGetPreferredCurrencyValues_unit, new buySellFindResult_1.BuySellFindResult(input[LicenseGetPreferredCurrencyValuesFields.COLUMN_UNIT]), "f");
29
- __classPrivateFieldSet(this, _LicenseGetPreferredCurrencyValues_total, new buySellFindResult_1.BuySellFindResult(input[LicenseGetPreferredCurrencyValuesFields.COLUMN_TOTAL]), "f");
30
- }
31
- get unit() {
32
- return __classPrivateFieldGet(this, _LicenseGetPreferredCurrencyValues_unit, "f");
33
- }
34
- get total() {
35
- return __classPrivateFieldGet(this, _LicenseGetPreferredCurrencyValues_total, "f");
36
- }
37
- toJSON() {
38
- return {
39
- [LicenseGetPreferredCurrencyValuesFields.COLUMN_UNIT]: this.unit.toJSON(),
40
- [LicenseGetPreferredCurrencyValuesFields.COLUMN_TOTAL]: this.total.toJSON(),
41
- };
42
- }
43
- }
44
- exports.LicenseGetPreferredCurrencyValues = LicenseGetPreferredCurrencyValues;
45
- _LicenseGetPreferredCurrencyValues_unit = new WeakMap(), _LicenseGetPreferredCurrencyValues_total = new WeakMap();
46
- //# sourceMappingURL=licenseGetPreferredCurrencyValues.js.map
@@ -1,18 +0,0 @@
1
- import { AbstractEntity } from '../../../abstractEntity';
2
- import { LicenseFindPreferredCurrencyValues, LicenseFindPreferredCurrencyValuesType } from './preferredCurrency/licenseFindPreferredCurrencyValues';
3
- import { ConversionRules, ConversionRulesType } from '../../../shared/preferredCurrency/conversionRules';
4
- export declare enum LicenseFindPreferredCurrencyFields {
5
- COLUMN_CONVERSION_RULES = "conversionRules",
6
- COLUMN_VALUES = "values"
7
- }
8
- export declare type LicenseFindPreferredCurrencyType = {
9
- [LicenseFindPreferredCurrencyFields.COLUMN_CONVERSION_RULES]: ConversionRulesType;
10
- [LicenseFindPreferredCurrencyFields.COLUMN_VALUES]: LicenseFindPreferredCurrencyValuesType;
11
- };
12
- export declare class LicenseFindPreferredCurrency extends AbstractEntity<LicenseFindPreferredCurrencyType> {
13
- #private;
14
- constructor(input: LicenseFindPreferredCurrencyType);
15
- get conversionRules(): ConversionRules;
16
- get values(): LicenseFindPreferredCurrencyValues;
17
- toJSON(): LicenseFindPreferredCurrencyType;
18
- }
@@ -1,47 +0,0 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _LicenseFindPreferredCurrency_conversionRules, _LicenseFindPreferredCurrency_values;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.LicenseFindPreferredCurrency = exports.LicenseFindPreferredCurrencyFields = void 0;
16
- const abstractEntity_1 = require("../../../abstractEntity");
17
- const licenseFindPreferredCurrencyValues_1 = require("./preferredCurrency/licenseFindPreferredCurrencyValues");
18
- const conversionRules_1 = require("../../../shared/preferredCurrency/conversionRules");
19
- var LicenseFindPreferredCurrencyFields;
20
- (function (LicenseFindPreferredCurrencyFields) {
21
- LicenseFindPreferredCurrencyFields["COLUMN_CONVERSION_RULES"] = "conversionRules";
22
- LicenseFindPreferredCurrencyFields["COLUMN_VALUES"] = "values";
23
- })(LicenseFindPreferredCurrencyFields = exports.LicenseFindPreferredCurrencyFields || (exports.LicenseFindPreferredCurrencyFields = {}));
24
- class LicenseFindPreferredCurrency extends abstractEntity_1.AbstractEntity {
25
- constructor(input) {
26
- super(input);
27
- _LicenseFindPreferredCurrency_conversionRules.set(this, void 0);
28
- _LicenseFindPreferredCurrency_values.set(this, void 0);
29
- __classPrivateFieldSet(this, _LicenseFindPreferredCurrency_conversionRules, new conversionRules_1.ConversionRules(input[LicenseFindPreferredCurrencyFields.COLUMN_CONVERSION_RULES]), "f");
30
- __classPrivateFieldSet(this, _LicenseFindPreferredCurrency_values, new licenseFindPreferredCurrencyValues_1.LicenseFindPreferredCurrencyValues(input[LicenseFindPreferredCurrencyFields.COLUMN_VALUES]), "f");
31
- }
32
- get conversionRules() {
33
- return __classPrivateFieldGet(this, _LicenseFindPreferredCurrency_conversionRules, "f");
34
- }
35
- get values() {
36
- return __classPrivateFieldGet(this, _LicenseFindPreferredCurrency_values, "f");
37
- }
38
- toJSON() {
39
- return {
40
- [LicenseFindPreferredCurrencyFields.COLUMN_CONVERSION_RULES]: this.conversionRules.toJSON(),
41
- [LicenseFindPreferredCurrencyFields.COLUMN_VALUES]: this.values.toJSON(),
42
- };
43
- }
44
- }
45
- exports.LicenseFindPreferredCurrency = LicenseFindPreferredCurrency;
46
- _LicenseFindPreferredCurrency_conversionRules = new WeakMap(), _LicenseFindPreferredCurrency_values = new WeakMap();
47
- //# sourceMappingURL=licenseFindPreferredCurrency.js.map
@@ -1,19 +0,0 @@
1
- import { AbstractEntity } from '../../../../abstractEntity';
2
- export declare enum LicenseFindPreferredCurrencyValuesFields {
3
- COLUMN_BUY_PRICE = "buy_price",
4
- COLUMN_SELL_PRICE = "sell_price",
5
- COLUMN_LIST_PRICE = "list_price"
6
- }
7
- export declare type LicenseFindPreferredCurrencyValuesType = {
8
- [LicenseFindPreferredCurrencyValuesFields.COLUMN_BUY_PRICE]: number;
9
- [LicenseFindPreferredCurrencyValuesFields.COLUMN_SELL_PRICE]: number;
10
- [LicenseFindPreferredCurrencyValuesFields.COLUMN_LIST_PRICE]: number;
11
- };
12
- export declare class LicenseFindPreferredCurrencyValues extends AbstractEntity<LicenseFindPreferredCurrencyValuesType> {
13
- #private;
14
- constructor(input: LicenseFindPreferredCurrencyValuesType);
15
- get buyPrice(): number;
16
- get sellPrice(): number;
17
- get listPrice(): number;
18
- toJSON(): LicenseFindPreferredCurrencyValuesType;
19
- }
@@ -1,55 +0,0 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _LicenseFindPreferredCurrencyValues_buy_price, _LicenseFindPreferredCurrencyValues_sell_price, _LicenseFindPreferredCurrencyValues_list_price;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.LicenseFindPreferredCurrencyValues = exports.LicenseFindPreferredCurrencyValuesFields = void 0;
16
- const abstractEntity_1 = require("../../../../abstractEntity");
17
- var LicenseFindPreferredCurrencyValuesFields;
18
- (function (LicenseFindPreferredCurrencyValuesFields) {
19
- LicenseFindPreferredCurrencyValuesFields["COLUMN_BUY_PRICE"] = "buy_price";
20
- LicenseFindPreferredCurrencyValuesFields["COLUMN_SELL_PRICE"] = "sell_price";
21
- LicenseFindPreferredCurrencyValuesFields["COLUMN_LIST_PRICE"] = "list_price";
22
- })(LicenseFindPreferredCurrencyValuesFields = exports.LicenseFindPreferredCurrencyValuesFields || (exports.LicenseFindPreferredCurrencyValuesFields = {}));
23
- class LicenseFindPreferredCurrencyValues extends abstractEntity_1.AbstractEntity {
24
- constructor(input) {
25
- super(input);
26
- _LicenseFindPreferredCurrencyValues_buy_price.set(this, void 0);
27
- _LicenseFindPreferredCurrencyValues_sell_price.set(this, void 0);
28
- _LicenseFindPreferredCurrencyValues_list_price.set(this, void 0);
29
- __classPrivateFieldSet(this, _LicenseFindPreferredCurrencyValues_buy_price, input[LicenseFindPreferredCurrencyValuesFields.COLUMN_BUY_PRICE], "f");
30
- __classPrivateFieldSet(this, _LicenseFindPreferredCurrencyValues_sell_price, input[LicenseFindPreferredCurrencyValuesFields.COLUMN_SELL_PRICE], "f");
31
- __classPrivateFieldSet(this, _LicenseFindPreferredCurrencyValues_list_price, input[LicenseFindPreferredCurrencyValuesFields.COLUMN_LIST_PRICE], "f");
32
- }
33
- get buyPrice() {
34
- return __classPrivateFieldGet(this, _LicenseFindPreferredCurrencyValues_buy_price, "f");
35
- }
36
- get sellPrice() {
37
- return __classPrivateFieldGet(this, _LicenseFindPreferredCurrencyValues_sell_price, "f");
38
- }
39
- get listPrice() {
40
- return __classPrivateFieldGet(this, _LicenseFindPreferredCurrencyValues_list_price, "f");
41
- }
42
- toJSON() {
43
- return {
44
- [LicenseFindPreferredCurrencyValuesFields.COLUMN_BUY_PRICE]: this
45
- .buyPrice,
46
- [LicenseFindPreferredCurrencyValuesFields.COLUMN_SELL_PRICE]: this
47
- .sellPrice,
48
- [LicenseFindPreferredCurrencyValuesFields.COLUMN_LIST_PRICE]: this
49
- .listPrice,
50
- };
51
- }
52
- }
53
- exports.LicenseFindPreferredCurrencyValues = LicenseFindPreferredCurrencyValues;
54
- _LicenseFindPreferredCurrencyValues_buy_price = new WeakMap(), _LicenseFindPreferredCurrencyValues_sell_price = new WeakMap(), _LicenseFindPreferredCurrencyValues_list_price = new WeakMap();
55
- //# sourceMappingURL=licenseFindPreferredCurrencyValues.js.map