@arrowsphere/api-client 3.423.0 → 3.425.0-rc.fdi.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/build/catalog/types/catalogGraphQLTypes.d.ts +1 -0
- package/build/customers/entities/invitations/contact/invitationContact.d.ts +1 -0
- package/build/quotes/entities/Quote.d.ts +50 -0
- package/build/quotes/entities/Quote.js +125 -0
- package/build/quotes/entities/QuoteLastVersion.d.ts +16 -0
- package/build/quotes/entities/QuoteLastVersion.js +45 -0
- package/build/quotes/entities/QuoteList.d.ts +9 -0
- package/build/quotes/entities/QuoteList.js +33 -0
- package/build/quotes/entities/QuoteProduct.d.ts +58 -0
- package/build/quotes/entities/QuoteProduct.js +135 -0
- package/build/quotes/entities/QuoteProductAssets.d.ts +16 -0
- package/build/quotes/entities/QuoteProductAssets.js +45 -0
- package/build/quotes/entities/QuoteProductPriceBand.d.ts +14 -0
- package/build/quotes/entities/QuoteProductPriceBand.js +39 -0
- package/build/quotes/entities/QuoteProductPriceBandArrowsphereIdentifier.d.ts +13 -0
- package/build/quotes/entities/QuoteProductPriceBandArrowsphereIdentifier.js +38 -0
- package/build/quotes/entities/QuoteProductPriceBandErpIdentifier.d.ts +13 -0
- package/build/quotes/entities/QuoteProductPriceBandErpIdentifier.js +38 -0
- package/build/quotes/entities/QuoteProductPriceBandIdentifiers.d.ts +22 -0
- package/build/quotes/entities/QuoteProductPriceBandIdentifiers.js +55 -0
- package/build/quotes/entities/QuoteProductPriceBandVendorIdentifier.d.ts +13 -0
- package/build/quotes/entities/QuoteProductPriceBandVendorIdentifier.js +38 -0
- package/build/quotes/entities/QuoteProductPrices.d.ts +31 -0
- package/build/quotes/entities/QuoteProductPrices.js +80 -0
- package/build/quotes/entities/QuoteProductProgram.d.ts +16 -0
- package/build/quotes/entities/QuoteProductProgram.js +45 -0
- package/build/quotes/entities/QuoteProductVendor.d.ts +13 -0
- package/build/quotes/entities/QuoteProductVendor.js +38 -0
- package/build/quotes/index.d.ts +13 -0
- package/build/quotes/index.js +13 -0
- package/build/quotes/quotesClient.d.ts +4 -0
- package/build/quotes/quotesClient.js +12 -0
- package/build/shared/contact/contact.d.ts +3 -1
- package/build/shared/contact/contact.js +1 -0
- package/build/shared/extraInformation/additionalExtraInformation.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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.425.0] - 2026.11.13
|
|
7
|
+
### Added
|
|
8
|
+
- [catalog] Add `catalogTypes` to `ArrowsphereIdentifierType` (`identifiers.arrowsphere.catalogTypes`)
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- [extraInformation] Restrict `AdditionalExtraInformationItemType` values to `{ [name: string]: string } | undefined` (instead of `unknown`)
|
|
12
|
+
- [CI] Support pre-release versions (e.g. `x.y.z-rc.abc.1`) in the version increment check workflow
|
|
13
|
+
|
|
14
|
+
## [3.424.0] - 2026.11.13
|
|
15
|
+
### Added
|
|
16
|
+
- [quotes] Add `getQuote` (`GET /quotes/{reference}`) and `listQuotes` (`GET /quotes`) endpoints to `QuotesClient`
|
|
17
|
+
|
|
6
18
|
## [3.423.0] - 2026.11.12
|
|
7
19
|
### Added
|
|
8
20
|
- [cart] Add `preferredCurrency` to cart `Item`
|
|
@@ -8,6 +8,7 @@ export declare const InvitationContactFields: {
|
|
|
8
8
|
COLUMN_FIRSTNAME: SharedContactFields.COLUMN_FIRSTNAME;
|
|
9
9
|
COLUMN_LASTNAME: SharedContactFields.COLUMN_LASTNAME;
|
|
10
10
|
COLUMN_EMAIL: SharedContactFields.COLUMN_EMAIL;
|
|
11
|
+
COLUMN_PHONE: SharedContactFields.COLUMN_PHONE;
|
|
11
12
|
COLUMN_USERNAME: InvitationContactEnum.COLUMN_USERNAME;
|
|
12
13
|
COLUMN_REFERENCE: InvitationContactEnum.COLUMN_REFERENCE;
|
|
13
14
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../abstractEntity';
|
|
2
|
+
import { OrderPartner, OrderPartnerType } from '../../orders/entities/orders/partner/partner';
|
|
3
|
+
import { ReferenceLink, ReferenceLinkType } from '../../orders/entities/referenceLink';
|
|
4
|
+
import { QuoteLastVersion, QuoteLastVersionData } from './QuoteLastVersion';
|
|
5
|
+
import { QuoteProduct, QuoteProductData } from './QuoteProduct';
|
|
6
|
+
export declare enum QuoteFields {
|
|
7
|
+
CUSTOMER = "customer",
|
|
8
|
+
DATE_CREATION = "dateCreation",
|
|
9
|
+
DATE_END = "dateEnd",
|
|
10
|
+
DATE_UPDATE = "dateUpdate",
|
|
11
|
+
END_CUSTOMER_PO_NUMBER = "endCustomerPONumber",
|
|
12
|
+
LAST_VERSION = "lastVersion",
|
|
13
|
+
PARTNER = "partner",
|
|
14
|
+
PO_NUMBER = "ponumber",
|
|
15
|
+
PRODUCTS = "products",
|
|
16
|
+
QUOTE_REFERENCE = "quoteReference",
|
|
17
|
+
REFERENCE = "reference",
|
|
18
|
+
STATUS = "status"
|
|
19
|
+
}
|
|
20
|
+
export declare type QuoteData = {
|
|
21
|
+
[QuoteFields.CUSTOMER]?: ReferenceLinkType;
|
|
22
|
+
[QuoteFields.DATE_CREATION]: string;
|
|
23
|
+
[QuoteFields.DATE_END]?: string;
|
|
24
|
+
[QuoteFields.DATE_UPDATE]: string;
|
|
25
|
+
[QuoteFields.END_CUSTOMER_PO_NUMBER]?: string;
|
|
26
|
+
[QuoteFields.LAST_VERSION]?: QuoteLastVersionData;
|
|
27
|
+
[QuoteFields.PARTNER]?: OrderPartnerType;
|
|
28
|
+
[QuoteFields.PO_NUMBER]?: string;
|
|
29
|
+
[QuoteFields.PRODUCTS]: QuoteProductData[];
|
|
30
|
+
[QuoteFields.QUOTE_REFERENCE]: string;
|
|
31
|
+
[QuoteFields.REFERENCE]: string;
|
|
32
|
+
[QuoteFields.STATUS]: string;
|
|
33
|
+
};
|
|
34
|
+
export declare class Quote extends AbstractEntity<QuoteData> {
|
|
35
|
+
#private;
|
|
36
|
+
constructor(data: QuoteData);
|
|
37
|
+
get customer(): ReferenceLink | undefined;
|
|
38
|
+
get dateCreation(): string;
|
|
39
|
+
get dateEnd(): string | undefined;
|
|
40
|
+
get dateUpdate(): string;
|
|
41
|
+
get endCustomerPONumber(): string | undefined;
|
|
42
|
+
get lastVersion(): QuoteLastVersion | undefined;
|
|
43
|
+
get partner(): OrderPartner | undefined;
|
|
44
|
+
get ponumber(): string | undefined;
|
|
45
|
+
get products(): QuoteProduct[];
|
|
46
|
+
get quoteReference(): string;
|
|
47
|
+
get reference(): string;
|
|
48
|
+
get status(): string;
|
|
49
|
+
toJSON(): QuoteData;
|
|
50
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
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 _Quote_customer, _Quote_dateCreation, _Quote_dateEnd, _Quote_dateUpdate, _Quote_endCustomerPONumber, _Quote_lastVersion, _Quote_partner, _Quote_ponumber, _Quote_products, _Quote_quoteReference, _Quote_reference, _Quote_status;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.Quote = exports.QuoteFields = void 0;
|
|
16
|
+
const abstractEntity_1 = require("../../abstractEntity");
|
|
17
|
+
const partner_1 = require("../../orders/entities/orders/partner/partner");
|
|
18
|
+
const referenceLink_1 = require("../../orders/entities/referenceLink");
|
|
19
|
+
const QuoteLastVersion_1 = require("./QuoteLastVersion");
|
|
20
|
+
const QuoteProduct_1 = require("./QuoteProduct");
|
|
21
|
+
var QuoteFields;
|
|
22
|
+
(function (QuoteFields) {
|
|
23
|
+
QuoteFields["CUSTOMER"] = "customer";
|
|
24
|
+
QuoteFields["DATE_CREATION"] = "dateCreation";
|
|
25
|
+
QuoteFields["DATE_END"] = "dateEnd";
|
|
26
|
+
QuoteFields["DATE_UPDATE"] = "dateUpdate";
|
|
27
|
+
QuoteFields["END_CUSTOMER_PO_NUMBER"] = "endCustomerPONumber";
|
|
28
|
+
QuoteFields["LAST_VERSION"] = "lastVersion";
|
|
29
|
+
QuoteFields["PARTNER"] = "partner";
|
|
30
|
+
QuoteFields["PO_NUMBER"] = "ponumber";
|
|
31
|
+
QuoteFields["PRODUCTS"] = "products";
|
|
32
|
+
QuoteFields["QUOTE_REFERENCE"] = "quoteReference";
|
|
33
|
+
QuoteFields["REFERENCE"] = "reference";
|
|
34
|
+
QuoteFields["STATUS"] = "status";
|
|
35
|
+
})(QuoteFields = exports.QuoteFields || (exports.QuoteFields = {}));
|
|
36
|
+
class Quote extends abstractEntity_1.AbstractEntity {
|
|
37
|
+
constructor(data) {
|
|
38
|
+
super(data);
|
|
39
|
+
_Quote_customer.set(this, void 0);
|
|
40
|
+
_Quote_dateCreation.set(this, void 0);
|
|
41
|
+
_Quote_dateEnd.set(this, void 0);
|
|
42
|
+
_Quote_dateUpdate.set(this, void 0);
|
|
43
|
+
_Quote_endCustomerPONumber.set(this, void 0);
|
|
44
|
+
_Quote_lastVersion.set(this, void 0);
|
|
45
|
+
_Quote_partner.set(this, void 0);
|
|
46
|
+
_Quote_ponumber.set(this, void 0);
|
|
47
|
+
_Quote_products.set(this, void 0);
|
|
48
|
+
_Quote_quoteReference.set(this, void 0);
|
|
49
|
+
_Quote_reference.set(this, void 0);
|
|
50
|
+
_Quote_status.set(this, void 0);
|
|
51
|
+
const customer = data[QuoteFields.CUSTOMER];
|
|
52
|
+
__classPrivateFieldSet(this, _Quote_customer, customer ? new referenceLink_1.ReferenceLink(customer) : undefined, "f");
|
|
53
|
+
__classPrivateFieldSet(this, _Quote_dateCreation, data[QuoteFields.DATE_CREATION], "f");
|
|
54
|
+
__classPrivateFieldSet(this, _Quote_dateEnd, data[QuoteFields.DATE_END], "f");
|
|
55
|
+
__classPrivateFieldSet(this, _Quote_dateUpdate, data[QuoteFields.DATE_UPDATE], "f");
|
|
56
|
+
__classPrivateFieldSet(this, _Quote_endCustomerPONumber, data[QuoteFields.END_CUSTOMER_PO_NUMBER], "f");
|
|
57
|
+
const lastVersion = data[QuoteFields.LAST_VERSION];
|
|
58
|
+
__classPrivateFieldSet(this, _Quote_lastVersion, lastVersion
|
|
59
|
+
? new QuoteLastVersion_1.QuoteLastVersion(lastVersion)
|
|
60
|
+
: undefined, "f");
|
|
61
|
+
const partner = data[QuoteFields.PARTNER];
|
|
62
|
+
__classPrivateFieldSet(this, _Quote_partner, partner ? new partner_1.OrderPartner(partner) : undefined, "f");
|
|
63
|
+
__classPrivateFieldSet(this, _Quote_ponumber, data[QuoteFields.PO_NUMBER], "f");
|
|
64
|
+
__classPrivateFieldSet(this, _Quote_products, data[QuoteFields.PRODUCTS].map((product) => new QuoteProduct_1.QuoteProduct(product)), "f");
|
|
65
|
+
__classPrivateFieldSet(this, _Quote_quoteReference, data[QuoteFields.QUOTE_REFERENCE], "f");
|
|
66
|
+
__classPrivateFieldSet(this, _Quote_reference, data[QuoteFields.REFERENCE], "f");
|
|
67
|
+
__classPrivateFieldSet(this, _Quote_status, data[QuoteFields.STATUS], "f");
|
|
68
|
+
}
|
|
69
|
+
get customer() {
|
|
70
|
+
return __classPrivateFieldGet(this, _Quote_customer, "f");
|
|
71
|
+
}
|
|
72
|
+
get dateCreation() {
|
|
73
|
+
return __classPrivateFieldGet(this, _Quote_dateCreation, "f");
|
|
74
|
+
}
|
|
75
|
+
get dateEnd() {
|
|
76
|
+
return __classPrivateFieldGet(this, _Quote_dateEnd, "f");
|
|
77
|
+
}
|
|
78
|
+
get dateUpdate() {
|
|
79
|
+
return __classPrivateFieldGet(this, _Quote_dateUpdate, "f");
|
|
80
|
+
}
|
|
81
|
+
get endCustomerPONumber() {
|
|
82
|
+
return __classPrivateFieldGet(this, _Quote_endCustomerPONumber, "f");
|
|
83
|
+
}
|
|
84
|
+
get lastVersion() {
|
|
85
|
+
return __classPrivateFieldGet(this, _Quote_lastVersion, "f");
|
|
86
|
+
}
|
|
87
|
+
get partner() {
|
|
88
|
+
return __classPrivateFieldGet(this, _Quote_partner, "f");
|
|
89
|
+
}
|
|
90
|
+
get ponumber() {
|
|
91
|
+
return __classPrivateFieldGet(this, _Quote_ponumber, "f");
|
|
92
|
+
}
|
|
93
|
+
get products() {
|
|
94
|
+
return __classPrivateFieldGet(this, _Quote_products, "f");
|
|
95
|
+
}
|
|
96
|
+
get quoteReference() {
|
|
97
|
+
return __classPrivateFieldGet(this, _Quote_quoteReference, "f");
|
|
98
|
+
}
|
|
99
|
+
get reference() {
|
|
100
|
+
return __classPrivateFieldGet(this, _Quote_reference, "f");
|
|
101
|
+
}
|
|
102
|
+
get status() {
|
|
103
|
+
return __classPrivateFieldGet(this, _Quote_status, "f");
|
|
104
|
+
}
|
|
105
|
+
toJSON() {
|
|
106
|
+
var _a, _b, _c;
|
|
107
|
+
return {
|
|
108
|
+
[QuoteFields.CUSTOMER]: (_a = this.customer) === null || _a === void 0 ? void 0 : _a.toJSON(),
|
|
109
|
+
[QuoteFields.DATE_CREATION]: this.dateCreation,
|
|
110
|
+
[QuoteFields.DATE_END]: this.dateEnd,
|
|
111
|
+
[QuoteFields.DATE_UPDATE]: this.dateUpdate,
|
|
112
|
+
[QuoteFields.END_CUSTOMER_PO_NUMBER]: this.endCustomerPONumber,
|
|
113
|
+
[QuoteFields.LAST_VERSION]: (_b = this.lastVersion) === null || _b === void 0 ? void 0 : _b.toJSON(),
|
|
114
|
+
[QuoteFields.PARTNER]: (_c = this.partner) === null || _c === void 0 ? void 0 : _c.toJSON(),
|
|
115
|
+
[QuoteFields.PO_NUMBER]: this.ponumber,
|
|
116
|
+
[QuoteFields.PRODUCTS]: this.products.map((product) => product.toJSON()),
|
|
117
|
+
[QuoteFields.QUOTE_REFERENCE]: this.quoteReference,
|
|
118
|
+
[QuoteFields.REFERENCE]: this.reference,
|
|
119
|
+
[QuoteFields.STATUS]: this.status,
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
exports.Quote = Quote;
|
|
124
|
+
_Quote_customer = new WeakMap(), _Quote_dateCreation = new WeakMap(), _Quote_dateEnd = new WeakMap(), _Quote_dateUpdate = new WeakMap(), _Quote_endCustomerPONumber = new WeakMap(), _Quote_lastVersion = new WeakMap(), _Quote_partner = new WeakMap(), _Quote_ponumber = new WeakMap(), _Quote_products = new WeakMap(), _Quote_quoteReference = new WeakMap(), _Quote_reference = new WeakMap(), _Quote_status = new WeakMap();
|
|
125
|
+
//# sourceMappingURL=Quote.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../abstractEntity';
|
|
2
|
+
export declare enum QuoteLastVersionFields {
|
|
3
|
+
DATE_UPDATE = "dateUpdate",
|
|
4
|
+
VERSION = "version"
|
|
5
|
+
}
|
|
6
|
+
export declare type QuoteLastVersionData = {
|
|
7
|
+
[QuoteLastVersionFields.DATE_UPDATE]?: string;
|
|
8
|
+
[QuoteLastVersionFields.VERSION]?: number;
|
|
9
|
+
};
|
|
10
|
+
export declare class QuoteLastVersion extends AbstractEntity<QuoteLastVersionData> {
|
|
11
|
+
#private;
|
|
12
|
+
constructor(data: QuoteLastVersionData);
|
|
13
|
+
get dateUpdate(): string | undefined;
|
|
14
|
+
get version(): number | undefined;
|
|
15
|
+
toJSON(): QuoteLastVersionData;
|
|
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 _QuoteLastVersion_dateUpdate, _QuoteLastVersion_version;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.QuoteLastVersion = exports.QuoteLastVersionFields = void 0;
|
|
16
|
+
const abstractEntity_1 = require("../../abstractEntity");
|
|
17
|
+
var QuoteLastVersionFields;
|
|
18
|
+
(function (QuoteLastVersionFields) {
|
|
19
|
+
QuoteLastVersionFields["DATE_UPDATE"] = "dateUpdate";
|
|
20
|
+
QuoteLastVersionFields["VERSION"] = "version";
|
|
21
|
+
})(QuoteLastVersionFields = exports.QuoteLastVersionFields || (exports.QuoteLastVersionFields = {}));
|
|
22
|
+
class QuoteLastVersion extends abstractEntity_1.AbstractEntity {
|
|
23
|
+
constructor(data) {
|
|
24
|
+
super(data);
|
|
25
|
+
_QuoteLastVersion_dateUpdate.set(this, void 0);
|
|
26
|
+
_QuoteLastVersion_version.set(this, void 0);
|
|
27
|
+
__classPrivateFieldSet(this, _QuoteLastVersion_dateUpdate, data[QuoteLastVersionFields.DATE_UPDATE], "f");
|
|
28
|
+
__classPrivateFieldSet(this, _QuoteLastVersion_version, data[QuoteLastVersionFields.VERSION], "f");
|
|
29
|
+
}
|
|
30
|
+
get dateUpdate() {
|
|
31
|
+
return __classPrivateFieldGet(this, _QuoteLastVersion_dateUpdate, "f");
|
|
32
|
+
}
|
|
33
|
+
get version() {
|
|
34
|
+
return __classPrivateFieldGet(this, _QuoteLastVersion_version, "f");
|
|
35
|
+
}
|
|
36
|
+
toJSON() {
|
|
37
|
+
return {
|
|
38
|
+
[QuoteLastVersionFields.DATE_UPDATE]: this.dateUpdate,
|
|
39
|
+
[QuoteLastVersionFields.VERSION]: this.version,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.QuoteLastVersion = QuoteLastVersion;
|
|
44
|
+
_QuoteLastVersion_dateUpdate = new WeakMap(), _QuoteLastVersion_version = new WeakMap();
|
|
45
|
+
//# sourceMappingURL=QuoteLastVersion.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../abstractEntity';
|
|
2
|
+
import { Quote, QuoteData } from './Quote';
|
|
3
|
+
export declare type QuoteListData = Array<QuoteData>;
|
|
4
|
+
export declare class QuoteList extends AbstractEntity<QuoteListData> {
|
|
5
|
+
#private;
|
|
6
|
+
constructor(data: QuoteListData);
|
|
7
|
+
get quotes(): Array<Quote>;
|
|
8
|
+
toJSON(): QuoteListData;
|
|
9
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 _QuoteList_quotes;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.QuoteList = void 0;
|
|
16
|
+
const abstractEntity_1 = require("../../abstractEntity");
|
|
17
|
+
const Quote_1 = require("./Quote");
|
|
18
|
+
class QuoteList extends abstractEntity_1.AbstractEntity {
|
|
19
|
+
constructor(data) {
|
|
20
|
+
super(data);
|
|
21
|
+
_QuoteList_quotes.set(this, void 0);
|
|
22
|
+
__classPrivateFieldSet(this, _QuoteList_quotes, data.map((quote) => new Quote_1.Quote(quote)), "f");
|
|
23
|
+
}
|
|
24
|
+
get quotes() {
|
|
25
|
+
return __classPrivateFieldGet(this, _QuoteList_quotes, "f");
|
|
26
|
+
}
|
|
27
|
+
toJSON() {
|
|
28
|
+
return this.quotes.map((quote) => quote.toJSON());
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.QuoteList = QuoteList;
|
|
32
|
+
_QuoteList_quotes = new WeakMap();
|
|
33
|
+
//# sourceMappingURL=QuoteList.js.map
|
|
@@ -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
|
+
}
|