@arrowsphere/api-client 3.422.0 → 3.424.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 (43) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/build/cart/entities/index.d.ts +2 -0
  3. package/build/cart/entities/index.js +2 -0
  4. package/build/cart/entities/item.d.ts +4 -0
  5. package/build/cart/entities/item.js +15 -4
  6. package/build/cart/entities/itemPreferredCurrency.d.ts +18 -0
  7. package/build/cart/entities/itemPreferredCurrency.js +47 -0
  8. package/build/cart/entities/preferredCurrency/itemPreferredCurrencyValues.d.ts +22 -0
  9. package/build/cart/entities/preferredCurrency/itemPreferredCurrencyValues.js +61 -0
  10. package/build/customers/entities/invitations/contact/invitationContact.d.ts +1 -0
  11. package/build/quotes/entities/Quote.d.ts +50 -0
  12. package/build/quotes/entities/Quote.js +125 -0
  13. package/build/quotes/entities/QuoteLastVersion.d.ts +16 -0
  14. package/build/quotes/entities/QuoteLastVersion.js +45 -0
  15. package/build/quotes/entities/QuoteList.d.ts +9 -0
  16. package/build/quotes/entities/QuoteList.js +33 -0
  17. package/build/quotes/entities/QuoteProduct.d.ts +58 -0
  18. package/build/quotes/entities/QuoteProduct.js +135 -0
  19. package/build/quotes/entities/QuoteProductAssets.d.ts +16 -0
  20. package/build/quotes/entities/QuoteProductAssets.js +45 -0
  21. package/build/quotes/entities/QuoteProductPriceBand.d.ts +14 -0
  22. package/build/quotes/entities/QuoteProductPriceBand.js +39 -0
  23. package/build/quotes/entities/QuoteProductPriceBandArrowsphereIdentifier.d.ts +13 -0
  24. package/build/quotes/entities/QuoteProductPriceBandArrowsphereIdentifier.js +38 -0
  25. package/build/quotes/entities/QuoteProductPriceBandErpIdentifier.d.ts +13 -0
  26. package/build/quotes/entities/QuoteProductPriceBandErpIdentifier.js +38 -0
  27. package/build/quotes/entities/QuoteProductPriceBandIdentifiers.d.ts +22 -0
  28. package/build/quotes/entities/QuoteProductPriceBandIdentifiers.js +55 -0
  29. package/build/quotes/entities/QuoteProductPriceBandVendorIdentifier.d.ts +13 -0
  30. package/build/quotes/entities/QuoteProductPriceBandVendorIdentifier.js +38 -0
  31. package/build/quotes/entities/QuoteProductPrices.d.ts +31 -0
  32. package/build/quotes/entities/QuoteProductPrices.js +80 -0
  33. package/build/quotes/entities/QuoteProductProgram.d.ts +16 -0
  34. package/build/quotes/entities/QuoteProductProgram.js +45 -0
  35. package/build/quotes/entities/QuoteProductVendor.d.ts +13 -0
  36. package/build/quotes/entities/QuoteProductVendor.js +38 -0
  37. package/build/quotes/index.d.ts +13 -0
  38. package/build/quotes/index.js +13 -0
  39. package/build/quotes/quotesClient.d.ts +4 -0
  40. package/build/quotes/quotesClient.js +12 -0
  41. package/build/shared/contact/contact.d.ts +3 -1
  42. package/build/shared/contact/contact.js +1 -0
  43. package/package.json +1 -1
@@ -0,0 +1,58 @@
1
+ import { AbstractEntity } from '../../abstractEntity';
2
+ import { ReferenceLink, ReferenceLinkType } from '../../orders/entities/referenceLink';
3
+ import { QuoteProductAssets, QuoteProductAssetsData } from './QuoteProductAssets';
4
+ import { QuoteProductPriceBand, QuoteProductPriceBandData } from './QuoteProductPriceBand';
5
+ import { QuoteProductPrices, QuoteProductPricesData } from './QuoteProductPrices';
6
+ import { QuoteProductProgram, QuoteProductProgramData } from './QuoteProductProgram';
7
+ import { QuoteProductVendor, QuoteProductVendorData } from './QuoteProductVendor';
8
+ export declare enum QuoteProductFields {
9
+ ARROW_SUB_CATEGORIES = "arrowSubCategories",
10
+ ASSETS = "assets",
11
+ CLASSIFICATION = "classification",
12
+ IS_ADDON = "isAddon",
13
+ IS_TRIAL = "isTrial",
14
+ LICENSE = "license",
15
+ NAME = "name",
16
+ PRICE_BAND = "priceBand",
17
+ PRICES = "prices",
18
+ PROGRAM = "program",
19
+ PROMOTION_ID = "promotionId",
20
+ QUANTITY = "quantity",
21
+ SKU = "sku",
22
+ VENDOR = "vendor"
23
+ }
24
+ export declare type QuoteProductData = {
25
+ [QuoteProductFields.ARROW_SUB_CATEGORIES]: string[];
26
+ [QuoteProductFields.ASSETS]: QuoteProductAssetsData;
27
+ [QuoteProductFields.CLASSIFICATION]: string;
28
+ [QuoteProductFields.IS_ADDON]: boolean;
29
+ [QuoteProductFields.IS_TRIAL]: boolean;
30
+ [QuoteProductFields.LICENSE]: ReferenceLinkType;
31
+ [QuoteProductFields.NAME]: string;
32
+ [QuoteProductFields.PRICE_BAND]: QuoteProductPriceBandData;
33
+ [QuoteProductFields.PRICES]: QuoteProductPricesData;
34
+ [QuoteProductFields.PROGRAM]: QuoteProductProgramData;
35
+ [QuoteProductFields.PROMOTION_ID]?: string;
36
+ [QuoteProductFields.QUANTITY]: number;
37
+ [QuoteProductFields.SKU]: string;
38
+ [QuoteProductFields.VENDOR]: QuoteProductVendorData;
39
+ };
40
+ export declare class QuoteProduct extends AbstractEntity<QuoteProductData> {
41
+ #private;
42
+ constructor(data: QuoteProductData);
43
+ get arrowSubCategories(): string[];
44
+ get assets(): QuoteProductAssets;
45
+ get classification(): string;
46
+ get isAddon(): boolean;
47
+ get isTrial(): boolean;
48
+ get license(): ReferenceLink;
49
+ get name(): string;
50
+ get priceBand(): QuoteProductPriceBand;
51
+ get prices(): QuoteProductPrices;
52
+ get program(): QuoteProductProgram;
53
+ get promotionId(): string | undefined;
54
+ get quantity(): number;
55
+ get sku(): string;
56
+ get vendor(): QuoteProductVendor;
57
+ toJSON(): QuoteProductData;
58
+ }
@@ -0,0 +1,135 @@
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 _QuoteProduct_arrowSubCategories, _QuoteProduct_assets, _QuoteProduct_classification, _QuoteProduct_isAddon, _QuoteProduct_isTrial, _QuoteProduct_license, _QuoteProduct_name, _QuoteProduct_priceBand, _QuoteProduct_prices, _QuoteProduct_program, _QuoteProduct_promotionId, _QuoteProduct_quantity, _QuoteProduct_sku, _QuoteProduct_vendor;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.QuoteProduct = exports.QuoteProductFields = void 0;
16
+ const abstractEntity_1 = require("../../abstractEntity");
17
+ const referenceLink_1 = require("../../orders/entities/referenceLink");
18
+ const QuoteProductAssets_1 = require("./QuoteProductAssets");
19
+ const QuoteProductPriceBand_1 = require("./QuoteProductPriceBand");
20
+ const QuoteProductPrices_1 = require("./QuoteProductPrices");
21
+ const QuoteProductProgram_1 = require("./QuoteProductProgram");
22
+ const QuoteProductVendor_1 = require("./QuoteProductVendor");
23
+ var QuoteProductFields;
24
+ (function (QuoteProductFields) {
25
+ QuoteProductFields["ARROW_SUB_CATEGORIES"] = "arrowSubCategories";
26
+ QuoteProductFields["ASSETS"] = "assets";
27
+ QuoteProductFields["CLASSIFICATION"] = "classification";
28
+ QuoteProductFields["IS_ADDON"] = "isAddon";
29
+ QuoteProductFields["IS_TRIAL"] = "isTrial";
30
+ QuoteProductFields["LICENSE"] = "license";
31
+ QuoteProductFields["NAME"] = "name";
32
+ QuoteProductFields["PRICE_BAND"] = "priceBand";
33
+ QuoteProductFields["PRICES"] = "prices";
34
+ QuoteProductFields["PROGRAM"] = "program";
35
+ QuoteProductFields["PROMOTION_ID"] = "promotionId";
36
+ QuoteProductFields["QUANTITY"] = "quantity";
37
+ QuoteProductFields["SKU"] = "sku";
38
+ QuoteProductFields["VENDOR"] = "vendor";
39
+ })(QuoteProductFields = exports.QuoteProductFields || (exports.QuoteProductFields = {}));
40
+ class QuoteProduct extends abstractEntity_1.AbstractEntity {
41
+ constructor(data) {
42
+ super(data);
43
+ _QuoteProduct_arrowSubCategories.set(this, void 0);
44
+ _QuoteProduct_assets.set(this, void 0);
45
+ _QuoteProduct_classification.set(this, void 0);
46
+ _QuoteProduct_isAddon.set(this, void 0);
47
+ _QuoteProduct_isTrial.set(this, void 0);
48
+ _QuoteProduct_license.set(this, void 0);
49
+ _QuoteProduct_name.set(this, void 0);
50
+ _QuoteProduct_priceBand.set(this, void 0);
51
+ _QuoteProduct_prices.set(this, void 0);
52
+ _QuoteProduct_program.set(this, void 0);
53
+ _QuoteProduct_promotionId.set(this, void 0);
54
+ _QuoteProduct_quantity.set(this, void 0);
55
+ _QuoteProduct_sku.set(this, void 0);
56
+ _QuoteProduct_vendor.set(this, void 0);
57
+ __classPrivateFieldSet(this, _QuoteProduct_arrowSubCategories, data[QuoteProductFields.ARROW_SUB_CATEGORIES], "f");
58
+ __classPrivateFieldSet(this, _QuoteProduct_assets, new QuoteProductAssets_1.QuoteProductAssets(data[QuoteProductFields.ASSETS]), "f");
59
+ __classPrivateFieldSet(this, _QuoteProduct_classification, data[QuoteProductFields.CLASSIFICATION], "f");
60
+ __classPrivateFieldSet(this, _QuoteProduct_isAddon, data[QuoteProductFields.IS_ADDON], "f");
61
+ __classPrivateFieldSet(this, _QuoteProduct_isTrial, data[QuoteProductFields.IS_TRIAL], "f");
62
+ __classPrivateFieldSet(this, _QuoteProduct_license, new referenceLink_1.ReferenceLink(data[QuoteProductFields.LICENSE]), "f");
63
+ __classPrivateFieldSet(this, _QuoteProduct_name, data[QuoteProductFields.NAME], "f");
64
+ __classPrivateFieldSet(this, _QuoteProduct_priceBand, new QuoteProductPriceBand_1.QuoteProductPriceBand(data[QuoteProductFields.PRICE_BAND]), "f");
65
+ __classPrivateFieldSet(this, _QuoteProduct_prices, new QuoteProductPrices_1.QuoteProductPrices(data[QuoteProductFields.PRICES]), "f");
66
+ __classPrivateFieldSet(this, _QuoteProduct_program, new QuoteProductProgram_1.QuoteProductProgram(data[QuoteProductFields.PROGRAM]), "f");
67
+ __classPrivateFieldSet(this, _QuoteProduct_promotionId, data[QuoteProductFields.PROMOTION_ID], "f");
68
+ __classPrivateFieldSet(this, _QuoteProduct_quantity, data[QuoteProductFields.QUANTITY], "f");
69
+ __classPrivateFieldSet(this, _QuoteProduct_sku, data[QuoteProductFields.SKU], "f");
70
+ __classPrivateFieldSet(this, _QuoteProduct_vendor, new QuoteProductVendor_1.QuoteProductVendor(data[QuoteProductFields.VENDOR]), "f");
71
+ }
72
+ get arrowSubCategories() {
73
+ return __classPrivateFieldGet(this, _QuoteProduct_arrowSubCategories, "f");
74
+ }
75
+ get assets() {
76
+ return __classPrivateFieldGet(this, _QuoteProduct_assets, "f");
77
+ }
78
+ get classification() {
79
+ return __classPrivateFieldGet(this, _QuoteProduct_classification, "f");
80
+ }
81
+ get isAddon() {
82
+ return __classPrivateFieldGet(this, _QuoteProduct_isAddon, "f");
83
+ }
84
+ get isTrial() {
85
+ return __classPrivateFieldGet(this, _QuoteProduct_isTrial, "f");
86
+ }
87
+ get license() {
88
+ return __classPrivateFieldGet(this, _QuoteProduct_license, "f");
89
+ }
90
+ get name() {
91
+ return __classPrivateFieldGet(this, _QuoteProduct_name, "f");
92
+ }
93
+ get priceBand() {
94
+ return __classPrivateFieldGet(this, _QuoteProduct_priceBand, "f");
95
+ }
96
+ get prices() {
97
+ return __classPrivateFieldGet(this, _QuoteProduct_prices, "f");
98
+ }
99
+ get program() {
100
+ return __classPrivateFieldGet(this, _QuoteProduct_program, "f");
101
+ }
102
+ get promotionId() {
103
+ return __classPrivateFieldGet(this, _QuoteProduct_promotionId, "f");
104
+ }
105
+ get quantity() {
106
+ return __classPrivateFieldGet(this, _QuoteProduct_quantity, "f");
107
+ }
108
+ get sku() {
109
+ return __classPrivateFieldGet(this, _QuoteProduct_sku, "f");
110
+ }
111
+ get vendor() {
112
+ return __classPrivateFieldGet(this, _QuoteProduct_vendor, "f");
113
+ }
114
+ toJSON() {
115
+ return {
116
+ [QuoteProductFields.ARROW_SUB_CATEGORIES]: this.arrowSubCategories,
117
+ [QuoteProductFields.ASSETS]: this.assets.toJSON(),
118
+ [QuoteProductFields.CLASSIFICATION]: this.classification,
119
+ [QuoteProductFields.IS_ADDON]: this.isAddon,
120
+ [QuoteProductFields.IS_TRIAL]: this.isTrial,
121
+ [QuoteProductFields.LICENSE]: this.license.toJSON(),
122
+ [QuoteProductFields.NAME]: this.name,
123
+ [QuoteProductFields.PRICE_BAND]: this.priceBand.toJSON(),
124
+ [QuoteProductFields.PRICES]: this.prices.toJSON(),
125
+ [QuoteProductFields.PROGRAM]: this.program.toJSON(),
126
+ [QuoteProductFields.PROMOTION_ID]: this.promotionId,
127
+ [QuoteProductFields.QUANTITY]: this.quantity,
128
+ [QuoteProductFields.SKU]: this.sku,
129
+ [QuoteProductFields.VENDOR]: this.vendor.toJSON(),
130
+ };
131
+ }
132
+ }
133
+ exports.QuoteProduct = QuoteProduct;
134
+ _QuoteProduct_arrowSubCategories = new WeakMap(), _QuoteProduct_assets = new WeakMap(), _QuoteProduct_classification = new WeakMap(), _QuoteProduct_isAddon = new WeakMap(), _QuoteProduct_isTrial = new WeakMap(), _QuoteProduct_license = new WeakMap(), _QuoteProduct_name = new WeakMap(), _QuoteProduct_priceBand = new WeakMap(), _QuoteProduct_prices = new WeakMap(), _QuoteProduct_program = new WeakMap(), _QuoteProduct_promotionId = new WeakMap(), _QuoteProduct_quantity = new WeakMap(), _QuoteProduct_sku = new WeakMap(), _QuoteProduct_vendor = new WeakMap();
135
+ //# sourceMappingURL=QuoteProduct.js.map
@@ -0,0 +1,16 @@
1
+ import { AbstractEntity } from '../../abstractEntity';
2
+ export declare enum QuoteProductAssetsFields {
3
+ MAIN_LOGO_URL = "mainLogoUrl",
4
+ SQUARE_LOGO_URL = "squareLogoUrl"
5
+ }
6
+ export declare type QuoteProductAssetsData = {
7
+ [QuoteProductAssetsFields.MAIN_LOGO_URL]: string | null;
8
+ [QuoteProductAssetsFields.SQUARE_LOGO_URL]: string | null;
9
+ };
10
+ export declare class QuoteProductAssets extends AbstractEntity<QuoteProductAssetsData> {
11
+ #private;
12
+ constructor(data: QuoteProductAssetsData);
13
+ get mainLogoUrl(): string | null;
14
+ get squareLogoUrl(): string | null;
15
+ toJSON(): QuoteProductAssetsData;
16
+ }
@@ -0,0 +1,45 @@
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 _QuoteProductAssets_mainLogoUrl, _QuoteProductAssets_squareLogoUrl;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.QuoteProductAssets = exports.QuoteProductAssetsFields = void 0;
16
+ const abstractEntity_1 = require("../../abstractEntity");
17
+ var QuoteProductAssetsFields;
18
+ (function (QuoteProductAssetsFields) {
19
+ QuoteProductAssetsFields["MAIN_LOGO_URL"] = "mainLogoUrl";
20
+ QuoteProductAssetsFields["SQUARE_LOGO_URL"] = "squareLogoUrl";
21
+ })(QuoteProductAssetsFields = exports.QuoteProductAssetsFields || (exports.QuoteProductAssetsFields = {}));
22
+ class QuoteProductAssets extends abstractEntity_1.AbstractEntity {
23
+ constructor(data) {
24
+ super(data);
25
+ _QuoteProductAssets_mainLogoUrl.set(this, void 0);
26
+ _QuoteProductAssets_squareLogoUrl.set(this, void 0);
27
+ __classPrivateFieldSet(this, _QuoteProductAssets_mainLogoUrl, data[QuoteProductAssetsFields.MAIN_LOGO_URL], "f");
28
+ __classPrivateFieldSet(this, _QuoteProductAssets_squareLogoUrl, data[QuoteProductAssetsFields.SQUARE_LOGO_URL], "f");
29
+ }
30
+ get mainLogoUrl() {
31
+ return __classPrivateFieldGet(this, _QuoteProductAssets_mainLogoUrl, "f");
32
+ }
33
+ get squareLogoUrl() {
34
+ return __classPrivateFieldGet(this, _QuoteProductAssets_squareLogoUrl, "f");
35
+ }
36
+ toJSON() {
37
+ return {
38
+ [QuoteProductAssetsFields.MAIN_LOGO_URL]: this.mainLogoUrl,
39
+ [QuoteProductAssetsFields.SQUARE_LOGO_URL]: this.squareLogoUrl,
40
+ };
41
+ }
42
+ }
43
+ exports.QuoteProductAssets = QuoteProductAssets;
44
+ _QuoteProductAssets_mainLogoUrl = new WeakMap(), _QuoteProductAssets_squareLogoUrl = new WeakMap();
45
+ //# sourceMappingURL=QuoteProductAssets.js.map
@@ -0,0 +1,14 @@
1
+ import { AbstractEntity } from '../../abstractEntity';
2
+ import { QuoteProductPriceBandIdentifiers, QuoteProductPriceBandIdentifiersData } from './QuoteProductPriceBandIdentifiers';
3
+ export declare enum QuoteProductPriceBandFields {
4
+ IDENTIFIERS = "identifiers"
5
+ }
6
+ export declare type QuoteProductPriceBandData = {
7
+ [QuoteProductPriceBandFields.IDENTIFIERS]: QuoteProductPriceBandIdentifiersData;
8
+ };
9
+ export declare class QuoteProductPriceBand extends AbstractEntity<QuoteProductPriceBandData> {
10
+ #private;
11
+ constructor(data: QuoteProductPriceBandData);
12
+ get identifiers(): QuoteProductPriceBandIdentifiers;
13
+ toJSON(): QuoteProductPriceBandData;
14
+ }
@@ -0,0 +1,39 @@
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 _QuoteProductPriceBand_identifiers;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.QuoteProductPriceBand = exports.QuoteProductPriceBandFields = void 0;
16
+ const abstractEntity_1 = require("../../abstractEntity");
17
+ const QuoteProductPriceBandIdentifiers_1 = require("./QuoteProductPriceBandIdentifiers");
18
+ var QuoteProductPriceBandFields;
19
+ (function (QuoteProductPriceBandFields) {
20
+ QuoteProductPriceBandFields["IDENTIFIERS"] = "identifiers";
21
+ })(QuoteProductPriceBandFields = exports.QuoteProductPriceBandFields || (exports.QuoteProductPriceBandFields = {}));
22
+ class QuoteProductPriceBand extends abstractEntity_1.AbstractEntity {
23
+ constructor(data) {
24
+ super(data);
25
+ _QuoteProductPriceBand_identifiers.set(this, void 0);
26
+ __classPrivateFieldSet(this, _QuoteProductPriceBand_identifiers, new QuoteProductPriceBandIdentifiers_1.QuoteProductPriceBandIdentifiers(data[QuoteProductPriceBandFields.IDENTIFIERS]), "f");
27
+ }
28
+ get identifiers() {
29
+ return __classPrivateFieldGet(this, _QuoteProductPriceBand_identifiers, "f");
30
+ }
31
+ toJSON() {
32
+ return {
33
+ [QuoteProductPriceBandFields.IDENTIFIERS]: this.identifiers.toJSON(),
34
+ };
35
+ }
36
+ }
37
+ exports.QuoteProductPriceBand = QuoteProductPriceBand;
38
+ _QuoteProductPriceBand_identifiers = new WeakMap();
39
+ //# sourceMappingURL=QuoteProductPriceBand.js.map
@@ -0,0 +1,13 @@
1
+ import { AbstractEntity } from '../../abstractEntity';
2
+ export declare enum QuoteProductPriceBandArrowsphereIdentifierFields {
3
+ SKU = "sku"
4
+ }
5
+ export declare type QuoteProductPriceBandArrowsphereIdentifierData = {
6
+ [QuoteProductPriceBandArrowsphereIdentifierFields.SKU]: string;
7
+ };
8
+ export declare class QuoteProductPriceBandArrowsphereIdentifier extends AbstractEntity<QuoteProductPriceBandArrowsphereIdentifierData> {
9
+ #private;
10
+ constructor(data: QuoteProductPriceBandArrowsphereIdentifierData);
11
+ get sku(): string;
12
+ toJSON(): QuoteProductPriceBandArrowsphereIdentifierData;
13
+ }
@@ -0,0 +1,38 @@
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 _QuoteProductPriceBandArrowsphereIdentifier_sku;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.QuoteProductPriceBandArrowsphereIdentifier = exports.QuoteProductPriceBandArrowsphereIdentifierFields = void 0;
16
+ const abstractEntity_1 = require("../../abstractEntity");
17
+ var QuoteProductPriceBandArrowsphereIdentifierFields;
18
+ (function (QuoteProductPriceBandArrowsphereIdentifierFields) {
19
+ QuoteProductPriceBandArrowsphereIdentifierFields["SKU"] = "sku";
20
+ })(QuoteProductPriceBandArrowsphereIdentifierFields = exports.QuoteProductPriceBandArrowsphereIdentifierFields || (exports.QuoteProductPriceBandArrowsphereIdentifierFields = {}));
21
+ class QuoteProductPriceBandArrowsphereIdentifier extends abstractEntity_1.AbstractEntity {
22
+ constructor(data) {
23
+ super(data);
24
+ _QuoteProductPriceBandArrowsphereIdentifier_sku.set(this, void 0);
25
+ __classPrivateFieldSet(this, _QuoteProductPriceBandArrowsphereIdentifier_sku, data[QuoteProductPriceBandArrowsphereIdentifierFields.SKU], "f");
26
+ }
27
+ get sku() {
28
+ return __classPrivateFieldGet(this, _QuoteProductPriceBandArrowsphereIdentifier_sku, "f");
29
+ }
30
+ toJSON() {
31
+ return {
32
+ [QuoteProductPriceBandArrowsphereIdentifierFields.SKU]: this.sku,
33
+ };
34
+ }
35
+ }
36
+ exports.QuoteProductPriceBandArrowsphereIdentifier = QuoteProductPriceBandArrowsphereIdentifier;
37
+ _QuoteProductPriceBandArrowsphereIdentifier_sku = new WeakMap();
38
+ //# sourceMappingURL=QuoteProductPriceBandArrowsphereIdentifier.js.map
@@ -0,0 +1,13 @@
1
+ import { AbstractEntity } from '../../abstractEntity';
2
+ export declare enum QuoteProductPriceBandErpIdentifierFields {
3
+ SKU = "sku"
4
+ }
5
+ export declare type QuoteProductPriceBandErpIdentifierData = {
6
+ [QuoteProductPriceBandErpIdentifierFields.SKU]: string;
7
+ };
8
+ export declare class QuoteProductPriceBandErpIdentifier extends AbstractEntity<QuoteProductPriceBandErpIdentifierData> {
9
+ #private;
10
+ constructor(data: QuoteProductPriceBandErpIdentifierData);
11
+ get sku(): string;
12
+ toJSON(): QuoteProductPriceBandErpIdentifierData;
13
+ }
@@ -0,0 +1,38 @@
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 _QuoteProductPriceBandErpIdentifier_sku;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.QuoteProductPriceBandErpIdentifier = exports.QuoteProductPriceBandErpIdentifierFields = void 0;
16
+ const abstractEntity_1 = require("../../abstractEntity");
17
+ var QuoteProductPriceBandErpIdentifierFields;
18
+ (function (QuoteProductPriceBandErpIdentifierFields) {
19
+ QuoteProductPriceBandErpIdentifierFields["SKU"] = "sku";
20
+ })(QuoteProductPriceBandErpIdentifierFields = exports.QuoteProductPriceBandErpIdentifierFields || (exports.QuoteProductPriceBandErpIdentifierFields = {}));
21
+ class QuoteProductPriceBandErpIdentifier extends abstractEntity_1.AbstractEntity {
22
+ constructor(data) {
23
+ super(data);
24
+ _QuoteProductPriceBandErpIdentifier_sku.set(this, void 0);
25
+ __classPrivateFieldSet(this, _QuoteProductPriceBandErpIdentifier_sku, data[QuoteProductPriceBandErpIdentifierFields.SKU], "f");
26
+ }
27
+ get sku() {
28
+ return __classPrivateFieldGet(this, _QuoteProductPriceBandErpIdentifier_sku, "f");
29
+ }
30
+ toJSON() {
31
+ return {
32
+ [QuoteProductPriceBandErpIdentifierFields.SKU]: this.sku,
33
+ };
34
+ }
35
+ }
36
+ exports.QuoteProductPriceBandErpIdentifier = QuoteProductPriceBandErpIdentifier;
37
+ _QuoteProductPriceBandErpIdentifier_sku = new WeakMap();
38
+ //# sourceMappingURL=QuoteProductPriceBandErpIdentifier.js.map
@@ -0,0 +1,22 @@
1
+ import { AbstractEntity } from '../../abstractEntity';
2
+ import { QuoteProductPriceBandArrowsphereIdentifier, QuoteProductPriceBandArrowsphereIdentifierData } from './QuoteProductPriceBandArrowsphereIdentifier';
3
+ import { QuoteProductPriceBandErpIdentifier, QuoteProductPriceBandErpIdentifierData } from './QuoteProductPriceBandErpIdentifier';
4
+ import { QuoteProductPriceBandVendorIdentifier, QuoteProductPriceBandVendorIdentifierData } from './QuoteProductPriceBandVendorIdentifier';
5
+ export declare enum QuoteProductPriceBandIdentifiersFields {
6
+ ARROWSPHERE = "arrowsphere",
7
+ ERP = "erp",
8
+ VENDOR = "vendor"
9
+ }
10
+ export declare type QuoteProductPriceBandIdentifiersData = {
11
+ [QuoteProductPriceBandIdentifiersFields.ARROWSPHERE]: QuoteProductPriceBandArrowsphereIdentifierData;
12
+ [QuoteProductPriceBandIdentifiersFields.ERP]: QuoteProductPriceBandErpIdentifierData;
13
+ [QuoteProductPriceBandIdentifiersFields.VENDOR]: QuoteProductPriceBandVendorIdentifierData;
14
+ };
15
+ export declare class QuoteProductPriceBandIdentifiers extends AbstractEntity<QuoteProductPriceBandIdentifiersData> {
16
+ #private;
17
+ constructor(data: QuoteProductPriceBandIdentifiersData);
18
+ get arrowsphere(): QuoteProductPriceBandArrowsphereIdentifier;
19
+ get erp(): QuoteProductPriceBandErpIdentifier;
20
+ get vendor(): QuoteProductPriceBandVendorIdentifier;
21
+ toJSON(): QuoteProductPriceBandIdentifiersData;
22
+ }
@@ -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 _QuoteProductPriceBandIdentifiers_arrowsphere, _QuoteProductPriceBandIdentifiers_erp, _QuoteProductPriceBandIdentifiers_vendor;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.QuoteProductPriceBandIdentifiers = exports.QuoteProductPriceBandIdentifiersFields = void 0;
16
+ const abstractEntity_1 = require("../../abstractEntity");
17
+ const QuoteProductPriceBandArrowsphereIdentifier_1 = require("./QuoteProductPriceBandArrowsphereIdentifier");
18
+ const QuoteProductPriceBandErpIdentifier_1 = require("./QuoteProductPriceBandErpIdentifier");
19
+ const QuoteProductPriceBandVendorIdentifier_1 = require("./QuoteProductPriceBandVendorIdentifier");
20
+ var QuoteProductPriceBandIdentifiersFields;
21
+ (function (QuoteProductPriceBandIdentifiersFields) {
22
+ QuoteProductPriceBandIdentifiersFields["ARROWSPHERE"] = "arrowsphere";
23
+ QuoteProductPriceBandIdentifiersFields["ERP"] = "erp";
24
+ QuoteProductPriceBandIdentifiersFields["VENDOR"] = "vendor";
25
+ })(QuoteProductPriceBandIdentifiersFields = exports.QuoteProductPriceBandIdentifiersFields || (exports.QuoteProductPriceBandIdentifiersFields = {}));
26
+ class QuoteProductPriceBandIdentifiers extends abstractEntity_1.AbstractEntity {
27
+ constructor(data) {
28
+ super(data);
29
+ _QuoteProductPriceBandIdentifiers_arrowsphere.set(this, void 0);
30
+ _QuoteProductPriceBandIdentifiers_erp.set(this, void 0);
31
+ _QuoteProductPriceBandIdentifiers_vendor.set(this, void 0);
32
+ __classPrivateFieldSet(this, _QuoteProductPriceBandIdentifiers_arrowsphere, new QuoteProductPriceBandArrowsphereIdentifier_1.QuoteProductPriceBandArrowsphereIdentifier(data[QuoteProductPriceBandIdentifiersFields.ARROWSPHERE]), "f");
33
+ __classPrivateFieldSet(this, _QuoteProductPriceBandIdentifiers_erp, new QuoteProductPriceBandErpIdentifier_1.QuoteProductPriceBandErpIdentifier(data[QuoteProductPriceBandIdentifiersFields.ERP]), "f");
34
+ __classPrivateFieldSet(this, _QuoteProductPriceBandIdentifiers_vendor, new QuoteProductPriceBandVendorIdentifier_1.QuoteProductPriceBandVendorIdentifier(data[QuoteProductPriceBandIdentifiersFields.VENDOR]), "f");
35
+ }
36
+ get arrowsphere() {
37
+ return __classPrivateFieldGet(this, _QuoteProductPriceBandIdentifiers_arrowsphere, "f");
38
+ }
39
+ get erp() {
40
+ return __classPrivateFieldGet(this, _QuoteProductPriceBandIdentifiers_erp, "f");
41
+ }
42
+ get vendor() {
43
+ return __classPrivateFieldGet(this, _QuoteProductPriceBandIdentifiers_vendor, "f");
44
+ }
45
+ toJSON() {
46
+ return {
47
+ [QuoteProductPriceBandIdentifiersFields.ARROWSPHERE]: this.arrowsphere.toJSON(),
48
+ [QuoteProductPriceBandIdentifiersFields.ERP]: this.erp.toJSON(),
49
+ [QuoteProductPriceBandIdentifiersFields.VENDOR]: this.vendor.toJSON(),
50
+ };
51
+ }
52
+ }
53
+ exports.QuoteProductPriceBandIdentifiers = QuoteProductPriceBandIdentifiers;
54
+ _QuoteProductPriceBandIdentifiers_arrowsphere = new WeakMap(), _QuoteProductPriceBandIdentifiers_erp = new WeakMap(), _QuoteProductPriceBandIdentifiers_vendor = new WeakMap();
55
+ //# sourceMappingURL=QuoteProductPriceBandIdentifiers.js.map
@@ -0,0 +1,13 @@
1
+ import { AbstractEntity } from '../../abstractEntity';
2
+ export declare enum QuoteProductPriceBandVendorIdentifierFields {
3
+ SKU = "sku"
4
+ }
5
+ export declare type QuoteProductPriceBandVendorIdentifierData = {
6
+ [QuoteProductPriceBandVendorIdentifierFields.SKU]?: string;
7
+ };
8
+ export declare class QuoteProductPriceBandVendorIdentifier extends AbstractEntity<QuoteProductPriceBandVendorIdentifierData> {
9
+ #private;
10
+ constructor(data: QuoteProductPriceBandVendorIdentifierData);
11
+ get sku(): string | undefined;
12
+ toJSON(): QuoteProductPriceBandVendorIdentifierData;
13
+ }
@@ -0,0 +1,38 @@
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 _QuoteProductPriceBandVendorIdentifier_sku;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.QuoteProductPriceBandVendorIdentifier = exports.QuoteProductPriceBandVendorIdentifierFields = void 0;
16
+ const abstractEntity_1 = require("../../abstractEntity");
17
+ var QuoteProductPriceBandVendorIdentifierFields;
18
+ (function (QuoteProductPriceBandVendorIdentifierFields) {
19
+ QuoteProductPriceBandVendorIdentifierFields["SKU"] = "sku";
20
+ })(QuoteProductPriceBandVendorIdentifierFields = exports.QuoteProductPriceBandVendorIdentifierFields || (exports.QuoteProductPriceBandVendorIdentifierFields = {}));
21
+ class QuoteProductPriceBandVendorIdentifier extends abstractEntity_1.AbstractEntity {
22
+ constructor(data) {
23
+ super(data);
24
+ _QuoteProductPriceBandVendorIdentifier_sku.set(this, void 0);
25
+ __classPrivateFieldSet(this, _QuoteProductPriceBandVendorIdentifier_sku, data[QuoteProductPriceBandVendorIdentifierFields.SKU], "f");
26
+ }
27
+ get sku() {
28
+ return __classPrivateFieldGet(this, _QuoteProductPriceBandVendorIdentifier_sku, "f");
29
+ }
30
+ toJSON() {
31
+ return {
32
+ [QuoteProductPriceBandVendorIdentifierFields.SKU]: this.sku,
33
+ };
34
+ }
35
+ }
36
+ exports.QuoteProductPriceBandVendorIdentifier = QuoteProductPriceBandVendorIdentifier;
37
+ _QuoteProductPriceBandVendorIdentifier_sku = new WeakMap();
38
+ //# sourceMappingURL=QuoteProductPriceBandVendorIdentifier.js.map
@@ -0,0 +1,31 @@
1
+ import { AbstractEntity } from '../../abstractEntity';
2
+ export declare enum QuoteProductPricesFields {
3
+ BUY = "buy",
4
+ CURRENCY = "currency",
5
+ PERIODICITY = "periodicity",
6
+ PERIODICITY_CODE = "periodicityCode",
7
+ SELL = "sell",
8
+ TERM = "term",
9
+ TERM_CODE = "termCode"
10
+ }
11
+ export declare type QuoteProductPricesData = {
12
+ [QuoteProductPricesFields.BUY]: number;
13
+ [QuoteProductPricesFields.CURRENCY]: string;
14
+ [QuoteProductPricesFields.PERIODICITY]: string;
15
+ [QuoteProductPricesFields.PERIODICITY_CODE]: number;
16
+ [QuoteProductPricesFields.SELL]: number;
17
+ [QuoteProductPricesFields.TERM]: string;
18
+ [QuoteProductPricesFields.TERM_CODE]: number;
19
+ };
20
+ export declare class QuoteProductPrices extends AbstractEntity<QuoteProductPricesData> {
21
+ #private;
22
+ constructor(data: QuoteProductPricesData);
23
+ get buy(): number;
24
+ get currency(): string;
25
+ get periodicity(): string;
26
+ get periodicityCode(): number;
27
+ get sell(): number;
28
+ get term(): string;
29
+ get termCode(): number;
30
+ toJSON(): QuoteProductPricesData;
31
+ }