@arrowsphere/api-client 3.151.0-rc.mla.2 → 3.152.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 (64) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/build/consumption/consumptionClient.d.ts +0 -4
  3. package/build/consumption/consumptionClient.js +0 -11
  4. package/build/consumption/index.d.ts +0 -2
  5. package/build/consumption/index.js +0 -2
  6. package/build/customers/entities/customers/customer.d.ts +0 -3
  7. package/build/customers/entities/customers/customer.js +2 -9
  8. package/build/index.d.ts +0 -3
  9. package/build/index.js +0 -3
  10. package/build/orders/entities/orders/products/priceBand/priceBand.d.ts +14 -0
  11. package/build/{reports/entities/reference.js → orders/entities/orders/products/priceBand/priceBand.js} +19 -16
  12. package/build/orders/entities/orders/products/products.d.ts +5 -1
  13. package/build/orders/entities/orders/products/products.js +13 -3
  14. package/build/publicApiClient.d.ts +0 -10
  15. package/build/publicApiClient.js +0 -22
  16. package/build/quotes/quotesClient.d.ts +3 -5
  17. package/package.json +1 -1
  18. package/build/analytics/analyticsClient.d.ts +0 -26
  19. package/build/analytics/analyticsClient.js +0 -30
  20. package/build/analytics/entities/analytics.d.ts +0 -32
  21. package/build/analytics/entities/analytics.js +0 -81
  22. package/build/analytics/entities/dataAnalytics.d.ts +0 -9
  23. package/build/analytics/entities/dataAnalytics.js +0 -33
  24. package/build/analytics/entities/price.d.ts +0 -24
  25. package/build/analytics/entities/price.js +0 -65
  26. package/build/analytics/index.d.ts +0 -4
  27. package/build/analytics/index.js +0 -21
  28. package/build/consumption/entities/consumption/classification.d.ts +0 -13
  29. package/build/consumption/entities/consumption/classification.js +0 -38
  30. package/build/consumption/entities/consumption/costs.d.ts +0 -18
  31. package/build/consumption/entities/consumption/costs.js +0 -38
  32. package/build/orderSoftware/entities/dataListOrderSoftware.d.ts +0 -14
  33. package/build/orderSoftware/entities/dataListOrderSoftware.js +0 -39
  34. package/build/orderSoftware/entities/orderSoftware.d.ts +0 -30
  35. package/build/orderSoftware/entities/orderSoftware.js +0 -75
  36. package/build/orderSoftware/entities/orderSoftwarePrice.d.ts +0 -19
  37. package/build/orderSoftware/entities/orderSoftwarePrice.js +0 -52
  38. package/build/orderSoftware/entities/orderSoftwareProduct.d.ts +0 -26
  39. package/build/orderSoftware/entities/orderSoftwareProduct.js +0 -67
  40. package/build/orderSoftware/entities/orderSoftwareReference.d.ts +0 -16
  41. package/build/orderSoftware/entities/orderSoftwareReference.js +0 -45
  42. package/build/orderSoftware/index.d.ts +0 -5
  43. package/build/orderSoftware/index.js +0 -22
  44. package/build/orderSoftware/orderSoftwareClient.d.ts +0 -11
  45. package/build/orderSoftware/orderSoftwareClient.js +0 -25
  46. package/build/reports/entities/dataListReports.d.ts +0 -14
  47. package/build/reports/entities/dataListReports.js +0 -39
  48. package/build/reports/entities/reference.d.ts +0 -12
  49. package/build/reports/entities/report.d.ts +0 -30
  50. package/build/reports/entities/report.js +0 -75
  51. package/build/reports/entities/reportProduct.d.ts +0 -30
  52. package/build/reports/entities/reportProduct.js +0 -75
  53. package/build/reports/entities/reportProductPrice.d.ts +0 -19
  54. package/build/reports/entities/reportProductPrice.js +0 -52
  55. package/build/reports/entities/reportReferenceLink.d.ts +0 -14
  56. package/build/reports/entities/reportReferenceLink.js +0 -39
  57. package/build/reports/entities/reportValidation.d.ts +0 -19
  58. package/build/reports/entities/reportValidation.js +0 -52
  59. package/build/reports/entities/reportValidationReference.d.ts +0 -14
  60. package/build/reports/entities/reportValidationReference.js +0 -39
  61. package/build/reports/index.d.ts +0 -9
  62. package/build/reports/index.js +0 -26
  63. package/build/reports/reportsClient.d.ts +0 -36
  64. package/build/reports/reportsClient.js +0 -50
@@ -1,9 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- import { Analytics, AnalyticsType } from './analytics';
3
- export declare type DataAnalyticsType = Array<AnalyticsType>;
4
- export declare class DataAnalytics extends AbstractEntity<DataAnalyticsType> {
5
- #private;
6
- constructor(dataInput: DataAnalyticsType);
7
- get data(): Array<Analytics>;
8
- toJSON(): DataAnalyticsType;
9
- }
@@ -1,33 +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 _DataAnalytics_data;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.DataAnalytics = void 0;
16
- const abstractEntity_1 = require("../../abstractEntity");
17
- const analytics_1 = require("./analytics");
18
- class DataAnalytics extends abstractEntity_1.AbstractEntity {
19
- constructor(dataInput) {
20
- super(dataInput);
21
- _DataAnalytics_data.set(this, void 0);
22
- __classPrivateFieldSet(this, _DataAnalytics_data, dataInput.map((it) => new analytics_1.Analytics(it)), "f");
23
- }
24
- get data() {
25
- return __classPrivateFieldGet(this, _DataAnalytics_data, "f");
26
- }
27
- toJSON() {
28
- return this.data.map((it) => it.toJSON());
29
- }
30
- }
31
- exports.DataAnalytics = DataAnalytics;
32
- _DataAnalytics_data = new WeakMap();
33
- //# sourceMappingURL=dataAnalytics.js.map
@@ -1,24 +0,0 @@
1
- export declare enum AnalyticsPriceFields {
2
- COLUMN_ARROW_BUY_PRICE = "arrowBuyPrice",
3
- COLUMN_RESELLER_BUY_PRICE = "resellerBuyPrice",
4
- COLUMN_END_CUSTOMER_BUY_PRICE = "endCustomerBuyPrice",
5
- COLUMN_LIST_BUY_PRICE = "listBuyPrice",
6
- COLUMN_CURRENCY = "currency"
7
- }
8
- export declare type PriceType = {
9
- [AnalyticsPriceFields.COLUMN_ARROW_BUY_PRICE]: number;
10
- [AnalyticsPriceFields.COLUMN_RESELLER_BUY_PRICE]: number;
11
- [AnalyticsPriceFields.COLUMN_END_CUSTOMER_BUY_PRICE]: number;
12
- [AnalyticsPriceFields.COLUMN_LIST_BUY_PRICE]: number;
13
- [AnalyticsPriceFields.COLUMN_CURRENCY]: string;
14
- };
15
- export declare class Price {
16
- #private;
17
- constructor(priceInput: PriceType);
18
- get arrowBuyPrice(): number;
19
- get resellerBuyPrice(): number;
20
- get endCustomerBuyPrice(): number;
21
- get listBuyPrice(): number;
22
- get currency(): string;
23
- toJSON(): PriceType;
24
- }
@@ -1,65 +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 _Price_arrowBuyPrice, _Price_resellerBuyPrice, _Price_endCustomerBuyPrice, _Price_listBuyPrice, _Price_currency;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.Price = exports.AnalyticsPriceFields = void 0;
16
- var AnalyticsPriceFields;
17
- (function (AnalyticsPriceFields) {
18
- AnalyticsPriceFields["COLUMN_ARROW_BUY_PRICE"] = "arrowBuyPrice";
19
- AnalyticsPriceFields["COLUMN_RESELLER_BUY_PRICE"] = "resellerBuyPrice";
20
- AnalyticsPriceFields["COLUMN_END_CUSTOMER_BUY_PRICE"] = "endCustomerBuyPrice";
21
- AnalyticsPriceFields["COLUMN_LIST_BUY_PRICE"] = "listBuyPrice";
22
- AnalyticsPriceFields["COLUMN_CURRENCY"] = "currency";
23
- })(AnalyticsPriceFields = exports.AnalyticsPriceFields || (exports.AnalyticsPriceFields = {}));
24
- class Price {
25
- constructor(priceInput) {
26
- _Price_arrowBuyPrice.set(this, void 0);
27
- _Price_resellerBuyPrice.set(this, void 0);
28
- _Price_endCustomerBuyPrice.set(this, void 0);
29
- _Price_listBuyPrice.set(this, void 0);
30
- _Price_currency.set(this, void 0);
31
- __classPrivateFieldSet(this, _Price_arrowBuyPrice, priceInput[AnalyticsPriceFields.COLUMN_ARROW_BUY_PRICE], "f");
32
- __classPrivateFieldSet(this, _Price_resellerBuyPrice, priceInput[AnalyticsPriceFields.COLUMN_RESELLER_BUY_PRICE], "f");
33
- __classPrivateFieldSet(this, _Price_endCustomerBuyPrice, priceInput[AnalyticsPriceFields.COLUMN_END_CUSTOMER_BUY_PRICE], "f");
34
- __classPrivateFieldSet(this, _Price_listBuyPrice, priceInput[AnalyticsPriceFields.COLUMN_LIST_BUY_PRICE], "f");
35
- __classPrivateFieldSet(this, _Price_currency, priceInput[AnalyticsPriceFields.COLUMN_CURRENCY], "f");
36
- }
37
- get arrowBuyPrice() {
38
- return __classPrivateFieldGet(this, _Price_arrowBuyPrice, "f");
39
- }
40
- get resellerBuyPrice() {
41
- return __classPrivateFieldGet(this, _Price_resellerBuyPrice, "f");
42
- }
43
- get endCustomerBuyPrice() {
44
- return __classPrivateFieldGet(this, _Price_endCustomerBuyPrice, "f");
45
- }
46
- get listBuyPrice() {
47
- return __classPrivateFieldGet(this, _Price_listBuyPrice, "f");
48
- }
49
- get currency() {
50
- return __classPrivateFieldGet(this, _Price_currency, "f");
51
- }
52
- toJSON() {
53
- return {
54
- [AnalyticsPriceFields.COLUMN_ARROW_BUY_PRICE]: this.arrowBuyPrice,
55
- [AnalyticsPriceFields.COLUMN_RESELLER_BUY_PRICE]: this.resellerBuyPrice,
56
- [AnalyticsPriceFields.COLUMN_END_CUSTOMER_BUY_PRICE]: this
57
- .endCustomerBuyPrice,
58
- [AnalyticsPriceFields.COLUMN_LIST_BUY_PRICE]: this.listBuyPrice,
59
- [AnalyticsPriceFields.COLUMN_CURRENCY]: this.currency,
60
- };
61
- }
62
- }
63
- exports.Price = Price;
64
- _Price_arrowBuyPrice = new WeakMap(), _Price_resellerBuyPrice = new WeakMap(), _Price_endCustomerBuyPrice = new WeakMap(), _Price_listBuyPrice = new WeakMap(), _Price_currency = new WeakMap();
65
- //# sourceMappingURL=price.js.map
@@ -1,4 +0,0 @@
1
- export * from './entities/dataAnalytics';
2
- export * from './entities/analytics';
3
- export * from './entities/price';
4
- export * from './analyticsClient';
@@ -1,21 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./entities/dataAnalytics"), exports);
18
- __exportStar(require("./entities/analytics"), exports);
19
- __exportStar(require("./entities/price"), exports);
20
- __exportStar(require("./analyticsClient"), exports);
21
- //# sourceMappingURL=index.js.map
@@ -1,13 +0,0 @@
1
- import { AbstractEntity } from '../../../abstractEntity';
2
- export declare enum ClassificationFields {
3
- COLUMN_CLASSIFICATIONS = "classifications"
4
- }
5
- export declare type ClassificationType = {
6
- [ClassificationFields.COLUMN_CLASSIFICATIONS]: Array<string>;
7
- };
8
- export declare class Classification extends AbstractEntity<ClassificationType> {
9
- #private;
10
- constructor(classificationResponse: ClassificationType);
11
- get classifications(): Array<string>;
12
- toJSON(): ClassificationType;
13
- }
@@ -1,38 +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 _Classification_classifications;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.Classification = exports.ClassificationFields = void 0;
16
- const abstractEntity_1 = require("../../../abstractEntity");
17
- var ClassificationFields;
18
- (function (ClassificationFields) {
19
- ClassificationFields["COLUMN_CLASSIFICATIONS"] = "classifications";
20
- })(ClassificationFields = exports.ClassificationFields || (exports.ClassificationFields = {}));
21
- class Classification extends abstractEntity_1.AbstractEntity {
22
- constructor(classificationResponse) {
23
- super(classificationResponse);
24
- _Classification_classifications.set(this, void 0);
25
- __classPrivateFieldSet(this, _Classification_classifications, classificationResponse[ClassificationFields.COLUMN_CLASSIFICATIONS], "f");
26
- }
27
- get classifications() {
28
- return __classPrivateFieldGet(this, _Classification_classifications, "f");
29
- }
30
- toJSON() {
31
- return {
32
- [ClassificationFields.COLUMN_CLASSIFICATIONS]: this.classifications,
33
- };
34
- }
35
- }
36
- exports.Classification = Classification;
37
- _Classification_classifications = new WeakMap();
38
- //# sourceMappingURL=classification.js.map
@@ -1,18 +0,0 @@
1
- import { AbstractEntity } from '../../../abstractEntity';
2
- export declare enum CostsFields {
3
- COLUMN_COSTS = "costs"
4
- }
5
- export declare type CostsType = {
6
- [CostsFields.COLUMN_COSTS]: Record<string, Cost>;
7
- };
8
- export declare type Cost = {
9
- resellerTotalPrice: number;
10
- currency: string;
11
- vendor?: string;
12
- };
13
- export declare class Costs extends AbstractEntity<CostsType> {
14
- #private;
15
- constructor(costsResponse: CostsType);
16
- get costs(): Record<string, Cost>;
17
- toJSON(): CostsType;
18
- }
@@ -1,38 +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 _Costs_costs;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.Costs = exports.CostsFields = void 0;
16
- const abstractEntity_1 = require("../../../abstractEntity");
17
- var CostsFields;
18
- (function (CostsFields) {
19
- CostsFields["COLUMN_COSTS"] = "costs";
20
- })(CostsFields = exports.CostsFields || (exports.CostsFields = {}));
21
- class Costs extends abstractEntity_1.AbstractEntity {
22
- constructor(costsResponse) {
23
- super(costsResponse);
24
- _Costs_costs.set(this, void 0);
25
- __classPrivateFieldSet(this, _Costs_costs, costsResponse[CostsFields.COLUMN_COSTS], "f");
26
- }
27
- get costs() {
28
- return __classPrivateFieldGet(this, _Costs_costs, "f");
29
- }
30
- toJSON() {
31
- return {
32
- [CostsFields.COLUMN_COSTS]: this.costs,
33
- };
34
- }
35
- }
36
- exports.Costs = Costs;
37
- _Costs_costs = new WeakMap();
38
- //# sourceMappingURL=costs.js.map
@@ -1,14 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- import { OrderSoftware, OrderSoftwareType } from './orderSoftware';
3
- export declare enum DataListOrdersSoftwareFields {
4
- COLUMN_ORDERS = "orders"
5
- }
6
- export declare type DataListOrdersSoftwareType = {
7
- [DataListOrdersSoftwareFields.COLUMN_ORDERS]: Array<OrderSoftwareType>;
8
- };
9
- export declare class DataListOrdersSoftware extends AbstractEntity<DataListOrdersSoftwareType> {
10
- #private;
11
- constructor(orderList: DataListOrdersSoftwareType);
12
- get orders(): Array<OrderSoftware>;
13
- toJSON(): DataListOrdersSoftwareType;
14
- }
@@ -1,39 +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 _DataListOrdersSoftware_orders;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.DataListOrdersSoftware = exports.DataListOrdersSoftwareFields = void 0;
16
- const abstractEntity_1 = require("../../abstractEntity");
17
- const orderSoftware_1 = require("./orderSoftware");
18
- var DataListOrdersSoftwareFields;
19
- (function (DataListOrdersSoftwareFields) {
20
- DataListOrdersSoftwareFields["COLUMN_ORDERS"] = "orders";
21
- })(DataListOrdersSoftwareFields = exports.DataListOrdersSoftwareFields || (exports.DataListOrdersSoftwareFields = {}));
22
- class DataListOrdersSoftware extends abstractEntity_1.AbstractEntity {
23
- constructor(orderList) {
24
- super(orderList);
25
- _DataListOrdersSoftware_orders.set(this, void 0);
26
- __classPrivateFieldSet(this, _DataListOrdersSoftware_orders, orderList[DataListOrdersSoftwareFields.COLUMN_ORDERS].map((orderSoftware) => new orderSoftware_1.OrderSoftware(orderSoftware)), "f");
27
- }
28
- get orders() {
29
- return __classPrivateFieldGet(this, _DataListOrdersSoftware_orders, "f");
30
- }
31
- toJSON() {
32
- return {
33
- [DataListOrdersSoftwareFields.COLUMN_ORDERS]: this.orders.map((orderSoftware) => orderSoftware.toJSON()),
34
- };
35
- }
36
- }
37
- exports.DataListOrdersSoftware = DataListOrdersSoftware;
38
- _DataListOrdersSoftware_orders = new WeakMap();
39
- //# sourceMappingURL=dataListOrderSoftware.js.map
@@ -1,30 +0,0 @@
1
- import { OrderSoftwareProduct, OrderSoftwareProductType } from './orderSoftwareProduct';
2
- import { OrderSoftwareReference, OrderSoftwareReferenceType } from './orderSoftwareReference';
3
- import { AbstractEntity } from '../../abstractEntity';
4
- export declare enum OrderSoftwareFields {
5
- COLUMN_REFERENCE = "reference",
6
- COLUMN_STATUS = "status",
7
- COLUMN_PROGRAM = "program",
8
- COLUMN_PRODUCTS = "products",
9
- COLUMN_SUBSCRIPTION = "subscription",
10
- COLUMN_REPORT = "report"
11
- }
12
- export declare type OrderSoftwareType = {
13
- [OrderSoftwareFields.COLUMN_REFERENCE]: string;
14
- [OrderSoftwareFields.COLUMN_STATUS]: string;
15
- [OrderSoftwareFields.COLUMN_PROGRAM]: string;
16
- [OrderSoftwareFields.COLUMN_PRODUCTS]: Array<OrderSoftwareProductType>;
17
- [OrderSoftwareFields.COLUMN_SUBSCRIPTION]: OrderSoftwareReferenceType;
18
- [OrderSoftwareFields.COLUMN_REPORT]: OrderSoftwareReferenceType;
19
- };
20
- export declare class OrderSoftware extends AbstractEntity<OrderSoftwareType> {
21
- #private;
22
- constructor(orderSoftwareDataInput: OrderSoftwareType);
23
- get reference(): string;
24
- get status(): string;
25
- get program(): string;
26
- get products(): Array<OrderSoftwareProduct>;
27
- get subscription(): OrderSoftwareReference;
28
- get report(): OrderSoftwareReference;
29
- toJSON(): OrderSoftwareType;
30
- }
@@ -1,75 +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 _OrderSoftware_reference, _OrderSoftware_status, _OrderSoftware_program, _OrderSoftware_products, _OrderSoftware_subscription, _OrderSoftware_report;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.OrderSoftware = exports.OrderSoftwareFields = void 0;
16
- const orderSoftwareProduct_1 = require("./orderSoftwareProduct");
17
- const orderSoftwareReference_1 = require("./orderSoftwareReference");
18
- const abstractEntity_1 = require("../../abstractEntity");
19
- var OrderSoftwareFields;
20
- (function (OrderSoftwareFields) {
21
- OrderSoftwareFields["COLUMN_REFERENCE"] = "reference";
22
- OrderSoftwareFields["COLUMN_STATUS"] = "status";
23
- OrderSoftwareFields["COLUMN_PROGRAM"] = "program";
24
- OrderSoftwareFields["COLUMN_PRODUCTS"] = "products";
25
- OrderSoftwareFields["COLUMN_SUBSCRIPTION"] = "subscription";
26
- OrderSoftwareFields["COLUMN_REPORT"] = "report";
27
- })(OrderSoftwareFields = exports.OrderSoftwareFields || (exports.OrderSoftwareFields = {}));
28
- class OrderSoftware extends abstractEntity_1.AbstractEntity {
29
- constructor(orderSoftwareDataInput) {
30
- super(orderSoftwareDataInput);
31
- _OrderSoftware_reference.set(this, void 0);
32
- _OrderSoftware_status.set(this, void 0);
33
- _OrderSoftware_program.set(this, void 0);
34
- _OrderSoftware_products.set(this, void 0);
35
- _OrderSoftware_subscription.set(this, void 0);
36
- _OrderSoftware_report.set(this, void 0);
37
- __classPrivateFieldSet(this, _OrderSoftware_reference, orderSoftwareDataInput[OrderSoftwareFields.COLUMN_REFERENCE], "f");
38
- __classPrivateFieldSet(this, _OrderSoftware_status, orderSoftwareDataInput[OrderSoftwareFields.COLUMN_STATUS], "f");
39
- __classPrivateFieldSet(this, _OrderSoftware_program, orderSoftwareDataInput[OrderSoftwareFields.COLUMN_PROGRAM], "f");
40
- __classPrivateFieldSet(this, _OrderSoftware_products, orderSoftwareDataInput[OrderSoftwareFields.COLUMN_PRODUCTS].map((product) => new orderSoftwareProduct_1.OrderSoftwareProduct(product)), "f");
41
- __classPrivateFieldSet(this, _OrderSoftware_subscription, new orderSoftwareReference_1.OrderSoftwareReference(orderSoftwareDataInput[OrderSoftwareFields.COLUMN_SUBSCRIPTION]), "f");
42
- __classPrivateFieldSet(this, _OrderSoftware_report, new orderSoftwareReference_1.OrderSoftwareReference(orderSoftwareDataInput[OrderSoftwareFields.COLUMN_REPORT]), "f");
43
- }
44
- get reference() {
45
- return __classPrivateFieldGet(this, _OrderSoftware_reference, "f");
46
- }
47
- get status() {
48
- return __classPrivateFieldGet(this, _OrderSoftware_status, "f");
49
- }
50
- get program() {
51
- return __classPrivateFieldGet(this, _OrderSoftware_program, "f");
52
- }
53
- get products() {
54
- return __classPrivateFieldGet(this, _OrderSoftware_products, "f");
55
- }
56
- get subscription() {
57
- return __classPrivateFieldGet(this, _OrderSoftware_subscription, "f");
58
- }
59
- get report() {
60
- return __classPrivateFieldGet(this, _OrderSoftware_report, "f");
61
- }
62
- toJSON() {
63
- return {
64
- [OrderSoftwareFields.COLUMN_REFERENCE]: this.reference,
65
- [OrderSoftwareFields.COLUMN_STATUS]: this.status,
66
- [OrderSoftwareFields.COLUMN_PROGRAM]: this.program,
67
- [OrderSoftwareFields.COLUMN_PRODUCTS]: this.products.map((product) => product.toJSON()),
68
- [OrderSoftwareFields.COLUMN_SUBSCRIPTION]: this.subscription.toJSON(),
69
- [OrderSoftwareFields.COLUMN_REPORT]: this.report.toJSON(),
70
- };
71
- }
72
- }
73
- exports.OrderSoftware = OrderSoftware;
74
- _OrderSoftware_reference = new WeakMap(), _OrderSoftware_status = new WeakMap(), _OrderSoftware_program = new WeakMap(), _OrderSoftware_products = new WeakMap(), _OrderSoftware_subscription = new WeakMap(), _OrderSoftware_report = new WeakMap();
75
- //# sourceMappingURL=orderSoftware.js.map
@@ -1,19 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- export declare enum OrderSoftwarePriceFields {
3
- COLUMN_UNIT_PRICE = "unitPrice",
4
- COLUMN_TOTAL_PRICE = "totalPrice",
5
- COLUMN_CURRENCY = "currency"
6
- }
7
- export declare type OrderSoftwarePriceType = {
8
- [OrderSoftwarePriceFields.COLUMN_UNIT_PRICE]: number;
9
- [OrderSoftwarePriceFields.COLUMN_TOTAL_PRICE]: number;
10
- [OrderSoftwarePriceFields.COLUMN_CURRENCY]: string;
11
- };
12
- export declare class OrderSoftwarePrice extends AbstractEntity<OrderSoftwarePriceType> {
13
- #private;
14
- constructor(price: OrderSoftwarePriceType);
15
- get unitPrice(): number;
16
- get totalPrice(): number;
17
- get currency(): string;
18
- toJSON(): OrderSoftwarePriceType;
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 _OrderSoftwarePrice_unitPrice, _OrderSoftwarePrice_totalPrice, _OrderSoftwarePrice_currency;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.OrderSoftwarePrice = exports.OrderSoftwarePriceFields = void 0;
16
- const abstractEntity_1 = require("../../abstractEntity");
17
- var OrderSoftwarePriceFields;
18
- (function (OrderSoftwarePriceFields) {
19
- OrderSoftwarePriceFields["COLUMN_UNIT_PRICE"] = "unitPrice";
20
- OrderSoftwarePriceFields["COLUMN_TOTAL_PRICE"] = "totalPrice";
21
- OrderSoftwarePriceFields["COLUMN_CURRENCY"] = "currency";
22
- })(OrderSoftwarePriceFields = exports.OrderSoftwarePriceFields || (exports.OrderSoftwarePriceFields = {}));
23
- class OrderSoftwarePrice extends abstractEntity_1.AbstractEntity {
24
- constructor(price) {
25
- super(price);
26
- _OrderSoftwarePrice_unitPrice.set(this, void 0);
27
- _OrderSoftwarePrice_totalPrice.set(this, void 0);
28
- _OrderSoftwarePrice_currency.set(this, void 0);
29
- __classPrivateFieldSet(this, _OrderSoftwarePrice_unitPrice, price[OrderSoftwarePriceFields.COLUMN_UNIT_PRICE], "f");
30
- __classPrivateFieldSet(this, _OrderSoftwarePrice_totalPrice, price[OrderSoftwarePriceFields.COLUMN_TOTAL_PRICE], "f");
31
- __classPrivateFieldSet(this, _OrderSoftwarePrice_currency, price[OrderSoftwarePriceFields.COLUMN_CURRENCY], "f");
32
- }
33
- get unitPrice() {
34
- return __classPrivateFieldGet(this, _OrderSoftwarePrice_unitPrice, "f");
35
- }
36
- get totalPrice() {
37
- return __classPrivateFieldGet(this, _OrderSoftwarePrice_totalPrice, "f");
38
- }
39
- get currency() {
40
- return __classPrivateFieldGet(this, _OrderSoftwarePrice_currency, "f");
41
- }
42
- toJSON() {
43
- return {
44
- [OrderSoftwarePriceFields.COLUMN_UNIT_PRICE]: this.unitPrice,
45
- [OrderSoftwarePriceFields.COLUMN_TOTAL_PRICE]: this.totalPrice,
46
- [OrderSoftwarePriceFields.COLUMN_CURRENCY]: this.currency,
47
- };
48
- }
49
- }
50
- exports.OrderSoftwarePrice = OrderSoftwarePrice;
51
- _OrderSoftwarePrice_unitPrice = new WeakMap(), _OrderSoftwarePrice_totalPrice = new WeakMap(), _OrderSoftwarePrice_currency = new WeakMap();
52
- //# sourceMappingURL=orderSoftwarePrice.js.map
@@ -1,26 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- import { OrderSoftwarePrice, OrderSoftwarePriceType } from './orderSoftwarePrice';
3
- export declare enum OrderSoftwareProductFields {
4
- COLUMN_SKU = "sku",
5
- COLUMN_PRODUCT_NAME = "productName",
6
- COLUMN_PRODUCT_VERSION = "productVersion",
7
- COLUMN_QUANTITY = "quantity",
8
- COLUMN_PRICE = "price"
9
- }
10
- export declare type OrderSoftwareProductType = {
11
- [OrderSoftwareProductFields.COLUMN_SKU]: string;
12
- [OrderSoftwareProductFields.COLUMN_PRODUCT_NAME]: string;
13
- [OrderSoftwareProductFields.COLUMN_PRODUCT_VERSION]: string;
14
- [OrderSoftwareProductFields.COLUMN_QUANTITY]: number;
15
- [OrderSoftwareProductFields.COLUMN_PRICE]: OrderSoftwarePriceType;
16
- };
17
- export declare class OrderSoftwareProduct extends AbstractEntity<OrderSoftwareProductType> {
18
- #private;
19
- constructor(product: OrderSoftwareProductType);
20
- get sku(): string;
21
- get productName(): string;
22
- get productVersion(): string;
23
- get quantity(): number;
24
- get price(): OrderSoftwarePrice;
25
- toJSON(): OrderSoftwareProductType;
26
- }
@@ -1,67 +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 _OrderSoftwareProduct_sku, _OrderSoftwareProduct_productName, _OrderSoftwareProduct_productVersion, _OrderSoftwareProduct_quantity, _OrderSoftwareProduct_price;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.OrderSoftwareProduct = exports.OrderSoftwareProductFields = void 0;
16
- const abstractEntity_1 = require("../../abstractEntity");
17
- const orderSoftwarePrice_1 = require("./orderSoftwarePrice");
18
- var OrderSoftwareProductFields;
19
- (function (OrderSoftwareProductFields) {
20
- OrderSoftwareProductFields["COLUMN_SKU"] = "sku";
21
- OrderSoftwareProductFields["COLUMN_PRODUCT_NAME"] = "productName";
22
- OrderSoftwareProductFields["COLUMN_PRODUCT_VERSION"] = "productVersion";
23
- OrderSoftwareProductFields["COLUMN_QUANTITY"] = "quantity";
24
- OrderSoftwareProductFields["COLUMN_PRICE"] = "price";
25
- })(OrderSoftwareProductFields = exports.OrderSoftwareProductFields || (exports.OrderSoftwareProductFields = {}));
26
- class OrderSoftwareProduct extends abstractEntity_1.AbstractEntity {
27
- constructor(product) {
28
- super(product);
29
- _OrderSoftwareProduct_sku.set(this, void 0);
30
- _OrderSoftwareProduct_productName.set(this, void 0);
31
- _OrderSoftwareProduct_productVersion.set(this, void 0);
32
- _OrderSoftwareProduct_quantity.set(this, void 0);
33
- _OrderSoftwareProduct_price.set(this, void 0);
34
- __classPrivateFieldSet(this, _OrderSoftwareProduct_sku, product[OrderSoftwareProductFields.COLUMN_SKU], "f");
35
- __classPrivateFieldSet(this, _OrderSoftwareProduct_productName, product[OrderSoftwareProductFields.COLUMN_PRODUCT_NAME], "f");
36
- __classPrivateFieldSet(this, _OrderSoftwareProduct_productVersion, product[OrderSoftwareProductFields.COLUMN_PRODUCT_VERSION], "f");
37
- __classPrivateFieldSet(this, _OrderSoftwareProduct_quantity, product[OrderSoftwareProductFields.COLUMN_QUANTITY], "f");
38
- __classPrivateFieldSet(this, _OrderSoftwareProduct_price, new orderSoftwarePrice_1.OrderSoftwarePrice(product[OrderSoftwareProductFields.COLUMN_PRICE]), "f");
39
- }
40
- get sku() {
41
- return __classPrivateFieldGet(this, _OrderSoftwareProduct_sku, "f");
42
- }
43
- get productName() {
44
- return __classPrivateFieldGet(this, _OrderSoftwareProduct_productName, "f");
45
- }
46
- get productVersion() {
47
- return __classPrivateFieldGet(this, _OrderSoftwareProduct_productVersion, "f");
48
- }
49
- get quantity() {
50
- return __classPrivateFieldGet(this, _OrderSoftwareProduct_quantity, "f");
51
- }
52
- get price() {
53
- return __classPrivateFieldGet(this, _OrderSoftwareProduct_price, "f");
54
- }
55
- toJSON() {
56
- return {
57
- [OrderSoftwareProductFields.COLUMN_SKU]: this.sku,
58
- [OrderSoftwareProductFields.COLUMN_PRODUCT_NAME]: this.productName,
59
- [OrderSoftwareProductFields.COLUMN_PRODUCT_VERSION]: this.productVersion,
60
- [OrderSoftwareProductFields.COLUMN_QUANTITY]: this.quantity,
61
- [OrderSoftwareProductFields.COLUMN_PRICE]: this.price.toJSON(),
62
- };
63
- }
64
- }
65
- exports.OrderSoftwareProduct = OrderSoftwareProduct;
66
- _OrderSoftwareProduct_sku = new WeakMap(), _OrderSoftwareProduct_productName = new WeakMap(), _OrderSoftwareProduct_productVersion = new WeakMap(), _OrderSoftwareProduct_quantity = new WeakMap(), _OrderSoftwareProduct_price = new WeakMap();
67
- //# sourceMappingURL=orderSoftwareProduct.js.map
@@ -1,16 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- export declare enum OrderSoftwareReferenceFields {
3
- COLUMN_REFERENCE = "reference",
4
- COLUMN_LINK = "link"
5
- }
6
- export declare type OrderSoftwareReferenceType = {
7
- [OrderSoftwareReferenceFields.COLUMN_REFERENCE]: string;
8
- [OrderSoftwareReferenceFields.COLUMN_LINK]: string;
9
- };
10
- export declare class OrderSoftwareReference extends AbstractEntity<OrderSoftwareReferenceType> {
11
- #private;
12
- constructor(reference: OrderSoftwareReferenceType);
13
- get reference(): string;
14
- get link(): string;
15
- toJSON(): OrderSoftwareReferenceType;
16
- }