@arrowsphere/api-client 3.28.0 → 3.29.0-rc.jpb.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/README.md +12 -0
- package/build/AbstractHttpClient.d.ts +47 -0
- package/build/AbstractHttpClient.js +80 -0
- package/build/abstractClient.d.ts +3 -19
- package/build/abstractClient.js +8 -23
- package/build/abstractEntity.js +14 -16
- package/build/abstractGraphQLClient.d.ts +4 -14
- package/build/abstractGraphQLClient.js +32 -24
- package/build/axiosSingleton.js +2 -2
- package/build/campaign/entities/campaign/banners/banners.js +32 -34
- package/build/campaign/entities/campaign/campaign.js +51 -53
- package/build/campaign/entities/campaign/landingPage/landingPage.js +24 -26
- package/build/campaign/entities/campaign/landingPage/landingPageBody.js +35 -37
- package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooter.js +29 -31
- package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +23 -25
- package/build/campaign/entities/campaign/landingPage/landingPageHeader.js +29 -31
- package/build/campaign/entities/campaign/rules/rules.js +29 -31
- package/build/campaign/entities/campaignAssets/assets/assets.js +17 -19
- package/build/campaign/entities/campaignAssets/campaignAssets.js +14 -16
- package/build/campaign/entities/v2/campaign/banner/banner.js +32 -34
- package/build/campaign/entities/v2/campaign/campaign.js +48 -50
- package/build/campaign/entities/v2/campaign/landingPage/landingPage.js +24 -26
- package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooter.js +34 -36
- package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +20 -22
- package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeatureItem.js +32 -34
- package/build/campaign/entities/v2/campaign/landingPage/landingPageHeader.js +32 -34
- package/build/campaign/entities/v2/campaignList.js +14 -16
- package/build/campaign/index.js +5 -1
- package/build/cart/entities/index.js +5 -1
- package/build/cart/entities/item.js +26 -28
- package/build/cart/entities/itemList.js +14 -16
- package/build/cart/index.js +5 -1
- package/build/catalog/catalogGraphQLClient.d.ts +2 -0
- package/build/catalog/catalogGraphQLClient.js +14 -1
- package/build/catalog/entities/program.js +32 -34
- package/build/catalog/entities/programs.js +14 -16
- package/build/catalog/index.d.ts +2 -0
- package/build/catalog/index.js +7 -1
- package/build/catalog/types/catalogGraphQLQueries.d.ts +12 -0
- package/build/catalog/types/catalogGraphQLQueries.js +3 -0
- package/build/catalog/types/catalogGraphQLSchemas.d.ts +30 -0
- package/build/catalog/types/catalogGraphQLSchemas.js +4 -0
- package/build/catalog/types/catalogGraphQLTypes.js +1 -0
- package/build/catalog/types/queryArguments.d.ts +41 -0
- package/build/catalog/types/queryArguments.js +10 -0
- package/build/consumption/entities/bi/consumptionBI.js +28 -30
- package/build/consumption/entities/bi/period/period.js +17 -19
- package/build/consumption/entities/bi/top/top.js +23 -25
- package/build/consumption/entities/consumption/consumption.js +17 -19
- package/build/consumption/index.js +5 -1
- package/build/contact/entities/contact.js +44 -46
- package/build/contact/entities/contactCreate.js +14 -16
- package/build/contact/entities/contactList.js +14 -16
- package/build/contact/index.js +5 -1
- package/build/customers/entities/customers/contact/contact.js +29 -31
- package/build/customers/entities/customers/customer.js +71 -73
- package/build/customers/entities/customers/customerContact/customerContact.js +38 -40
- package/build/customers/entities/customers/customerContact/customerContactList.js +14 -16
- package/build/customers/entities/customers/details/details.js +29 -31
- package/build/customers/entities/dataCustomers.js +14 -16
- package/build/customers/entities/dataInvitation.js +29 -31
- package/build/customers/entities/invitations/company/company.js +14 -16
- package/build/customers/entities/invitations/contact/invitationContact.js +26 -28
- package/build/customers/index.js +5 -1
- package/build/exception/exception-handlers/HandleHttpExceptionOutput.d.ts +3 -0
- package/build/exception/exception-handlers/HandleHttpExceptionOutput.js +3 -0
- package/build/exception/exception-handlers/Hooks.d.ts +3 -0
- package/build/exception/exception-handlers/Hooks.js +3 -0
- package/build/exception/exception-handlers/HttpExceptionHandler.d.ts +10 -0
- package/build/exception/exception-handlers/HttpExceptionHandler.js +3 -0
- package/build/exception/exception-handlers/index.d.ts +3 -0
- package/build/exception/exception-handlers/index.js +20 -0
- package/build/exception/index.js +5 -1
- package/build/exception/publicApiClientException.d.ts +2 -1
- package/build/exception/publicApiClientException.js +2 -1
- package/build/general/entities/whoAmI.js +59 -61
- package/build/general/index.js +5 -1
- package/build/getResult.js +21 -23
- package/build/index.d.ts +1 -0
- package/build/index.js +6 -1
- package/build/licenses/entities/filterFindResult.js +17 -19
- package/build/licenses/entities/findResult.d.ts +1 -1
- package/build/licenses/entities/findResult.js +37 -39
- package/build/licenses/entities/getLicense/actionMessagesGetResult.js +26 -28
- package/build/licenses/entities/getLicense/actionsGetResult.js +41 -43
- package/build/licenses/entities/getLicense/buySellFindResult.js +17 -19
- package/build/licenses/entities/getLicense/licenseGetResult.js +105 -107
- package/build/licenses/entities/getLicense/licensePriceGetResult.js +20 -22
- package/build/licenses/entities/getLicense/orderGetResult.js +17 -19
- package/build/licenses/entities/getResult/getLicenseResult.js +14 -16
- package/build/licenses/entities/history/actionHistoryResult.js +23 -25
- package/build/licenses/entities/history/licenceHistoryResult.js +14 -16
- package/build/licenses/entities/license/activeSeatsFindResult.js +17 -19
- package/build/licenses/entities/license/configFindResult.js +20 -22
- package/build/licenses/entities/license/licenseFindResult.js +134 -136
- package/build/licenses/entities/license/priceFindResult.js +26 -28
- package/build/licenses/entities/license/warningFindResult.js +17 -19
- package/build/licenses/entities/offer/actionFlagsFindResult.js +20 -22
- package/build/licenses/entities/offer/offerFindResult.js +32 -34
- package/build/licenses/entities/offer/priceBandFindResult.js +35 -37
- package/build/licenses/entities/offer/priceband/billingFindResult.js +20 -22
- package/build/licenses/entities/offer/priceband/identifiers/arrowsphereFindResult.js +14 -16
- package/build/licenses/entities/offer/priceband/identifiersFindResult.js +14 -16
- package/build/licenses/entities/offer/priceband/priceBandActionFlagsFindResult.js +26 -28
- package/build/licenses/entities/offer/priceband/priceBandPriceFindResult.js +20 -22
- package/build/licenses/entities/offer/priceband/saleConstraintsFindResult.js +17 -19
- package/build/licenses/index.js +5 -1
- package/build/orders/entities/dataListOrders.js +14 -16
- package/build/orders/entities/orders/order.js +39 -41
- package/build/orders/entities/orders/partner/partner.js +17 -19
- package/build/orders/entities/orders/products/identifiers/productIdentifiers.js +14 -16
- package/build/orders/entities/orders/products/identifiers/vendor/identifiersVendor.js +14 -16
- package/build/orders/entities/orders/products/prices/productPrices.js +32 -34
- package/build/orders/entities/orders/products/products.js +56 -58
- package/build/orders/entities/orders/products/program/productProgram.js +14 -16
- package/build/orders/entities/referenceLink.js +17 -19
- package/build/orders/index.js +5 -1
- package/build/pagination.js +29 -31
- package/build/security/index.js +5 -1
- package/build/security/register/entity/registrationLink.js +14 -16
- package/build/security/register/index.js +5 -1
- package/build/security/standards/entities/checks/checks.js +17 -19
- package/build/security/standards/entities/checks/securityChecks.js +38 -40
- package/build/security/standards/entities/resources/resources.js +26 -28
- package/build/security/standards/entities/resources/securityResources.js +17 -19
- package/build/security/standards/entities/standards/securityStandards.js +29 -31
- package/build/security/standards/entities/standards/standards.js +17 -19
- package/build/security/standards/index.js +5 -1
- package/build/securityScore/entities/getCustomerAccountData.d.ts +44 -0
- package/build/securityScore/entities/getCustomerAccountData.js +99 -0
- package/build/securityScore/entities/getCustomerData.d.ts +44 -0
- package/build/securityScore/entities/getCustomerData.js +99 -0
- package/build/securityScore/entities/getPartnerData.d.ts +39 -0
- package/build/securityScore/entities/getPartnerData.js +88 -0
- package/build/securityScore/index.d.ts +7 -0
- package/build/securityScore/index.js +24 -0
- package/build/securityScore/securityScoreGraphQLClient.d.ts +19 -0
- package/build/securityScore/securityScoreGraphQLClient.js +61 -0
- package/build/securityScore/types/queryArguments.d.ts +108 -0
- package/build/securityScore/types/queryArguments.js +93 -0
- package/build/securityScore/types/securityScoreGraphQLQueries.d.ts +55 -0
- package/build/securityScore/types/securityScoreGraphQLQueries.js +7 -0
- package/build/securityScore/types/securityScoreGraphQLSchemas.d.ts +71 -0
- package/build/securityScore/types/securityScoreGraphQLSchemas.js +3 -0
- package/build/securityScore/types/securityScoreGraphQLTypes.d.ts +165 -0
- package/build/securityScore/types/securityScoreGraphQLTypes.js +3 -0
- package/build/shared/index.js +5 -1
- package/build/subscriptions/entities/subscription.js +56 -58
- package/build/subscriptions/entities/subscriptionsListResult.js +39 -41
- package/build/subscriptions/index.js +5 -1
- package/build/supportCenter/entities/issue/attachment.js +27 -29
- package/build/supportCenter/entities/issue/comment.js +29 -31
- package/build/supportCenter/entities/issue/issue.js +106 -108
- package/build/supportCenter/entities/topic.js +30 -32
- package/build/supportCenter/index.js +5 -1
- package/package.json +5 -3
package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooter.js
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
return value;
|
|
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;
|
|
8
7
|
};
|
|
9
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver,
|
|
10
|
-
if (!
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return privateMap.get(receiver);
|
|
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);
|
|
14
12
|
};
|
|
15
|
-
var
|
|
13
|
+
var _LandingPageFooterV2_title, _LandingPageFooterV2_backgroundColor, _LandingPageFooterV2_buttonText, _LandingPageFooterV2_buttonUrl, _LandingPageFooterV2_textColor, _LandingPageFooterV2_feature, _LandingPageFooterV2_marketingFeature;
|
|
16
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
15
|
exports.LandingPageFooterV2 = exports.LandingPageFooterV2Fields = void 0;
|
|
18
16
|
const abstractEntity_1 = require("../../../../../../abstractEntity");
|
|
@@ -30,45 +28,45 @@ var LandingPageFooterV2Fields;
|
|
|
30
28
|
class LandingPageFooterV2 extends abstractEntity_1.AbstractEntity {
|
|
31
29
|
constructor(landingPageFooterInput) {
|
|
32
30
|
super(landingPageFooterInput);
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
__classPrivateFieldSet(this,
|
|
41
|
-
__classPrivateFieldSet(this,
|
|
42
|
-
__classPrivateFieldSet(this,
|
|
43
|
-
__classPrivateFieldSet(this,
|
|
44
|
-
__classPrivateFieldSet(this,
|
|
45
|
-
__classPrivateFieldSet(this,
|
|
31
|
+
_LandingPageFooterV2_title.set(this, void 0);
|
|
32
|
+
_LandingPageFooterV2_backgroundColor.set(this, void 0);
|
|
33
|
+
_LandingPageFooterV2_buttonText.set(this, void 0);
|
|
34
|
+
_LandingPageFooterV2_buttonUrl.set(this, void 0);
|
|
35
|
+
_LandingPageFooterV2_textColor.set(this, void 0);
|
|
36
|
+
_LandingPageFooterV2_feature.set(this, void 0);
|
|
37
|
+
_LandingPageFooterV2_marketingFeature.set(this, void 0);
|
|
38
|
+
__classPrivateFieldSet(this, _LandingPageFooterV2_title, landingPageFooterInput[LandingPageFooterV2Fields.COLUMN_TITLE], "f");
|
|
39
|
+
__classPrivateFieldSet(this, _LandingPageFooterV2_backgroundColor, landingPageFooterInput[LandingPageFooterV2Fields.COLUMN_BACKGROUND_COLOR], "f");
|
|
40
|
+
__classPrivateFieldSet(this, _LandingPageFooterV2_buttonText, landingPageFooterInput[LandingPageFooterV2Fields.COLUMN_BUTTON_TEXT], "f");
|
|
41
|
+
__classPrivateFieldSet(this, _LandingPageFooterV2_buttonUrl, landingPageFooterInput[LandingPageFooterV2Fields.COLUMN_BUTTON_URL], "f");
|
|
42
|
+
__classPrivateFieldSet(this, _LandingPageFooterV2_textColor, landingPageFooterInput[LandingPageFooterV2Fields.COLUMN_TEXT_COLOR], "f");
|
|
43
|
+
__classPrivateFieldSet(this, _LandingPageFooterV2_feature, landingPageFooterInput[LandingPageFooterV2Fields.COLUMN_FEATURE]
|
|
46
44
|
? new landingPageFooterFeature_1.LandingPageFooterFeatureV2(landingPageFooterInput[LandingPageFooterV2Fields.COLUMN_FEATURE])
|
|
47
|
-
: undefined);
|
|
48
|
-
__classPrivateFieldSet(this,
|
|
45
|
+
: undefined, "f");
|
|
46
|
+
__classPrivateFieldSet(this, _LandingPageFooterV2_marketingFeature, landingPageFooterInput[LandingPageFooterV2Fields.COLUMN_MARKETING_FEATURE]
|
|
49
47
|
? new landingPageFooterFeature_1.LandingPageFooterFeatureV2(landingPageFooterInput[LandingPageFooterV2Fields.COLUMN_MARKETING_FEATURE])
|
|
50
|
-
: undefined);
|
|
48
|
+
: undefined, "f");
|
|
51
49
|
}
|
|
52
50
|
get title() {
|
|
53
|
-
return __classPrivateFieldGet(this,
|
|
51
|
+
return __classPrivateFieldGet(this, _LandingPageFooterV2_title, "f");
|
|
54
52
|
}
|
|
55
53
|
get backgroundColor() {
|
|
56
|
-
return __classPrivateFieldGet(this,
|
|
54
|
+
return __classPrivateFieldGet(this, _LandingPageFooterV2_backgroundColor, "f");
|
|
57
55
|
}
|
|
58
56
|
get buttonText() {
|
|
59
|
-
return __classPrivateFieldGet(this,
|
|
57
|
+
return __classPrivateFieldGet(this, _LandingPageFooterV2_buttonText, "f");
|
|
60
58
|
}
|
|
61
59
|
get buttonUrl() {
|
|
62
|
-
return __classPrivateFieldGet(this,
|
|
60
|
+
return __classPrivateFieldGet(this, _LandingPageFooterV2_buttonUrl, "f");
|
|
63
61
|
}
|
|
64
62
|
get textColor() {
|
|
65
|
-
return __classPrivateFieldGet(this,
|
|
63
|
+
return __classPrivateFieldGet(this, _LandingPageFooterV2_textColor, "f");
|
|
66
64
|
}
|
|
67
65
|
get feature() {
|
|
68
|
-
return __classPrivateFieldGet(this,
|
|
66
|
+
return __classPrivateFieldGet(this, _LandingPageFooterV2_feature, "f");
|
|
69
67
|
}
|
|
70
68
|
get marketingFeature() {
|
|
71
|
-
return __classPrivateFieldGet(this,
|
|
69
|
+
return __classPrivateFieldGet(this, _LandingPageFooterV2_marketingFeature, "f");
|
|
72
70
|
}
|
|
73
71
|
toJSON() {
|
|
74
72
|
var _a, _b;
|
|
@@ -84,5 +82,5 @@ class LandingPageFooterV2 extends abstractEntity_1.AbstractEntity {
|
|
|
84
82
|
}
|
|
85
83
|
}
|
|
86
84
|
exports.LandingPageFooterV2 = LandingPageFooterV2;
|
|
87
|
-
|
|
85
|
+
_LandingPageFooterV2_title = new WeakMap(), _LandingPageFooterV2_backgroundColor = new WeakMap(), _LandingPageFooterV2_buttonText = new WeakMap(), _LandingPageFooterV2_buttonUrl = new WeakMap(), _LandingPageFooterV2_textColor = new WeakMap(), _LandingPageFooterV2_feature = new WeakMap(), _LandingPageFooterV2_marketingFeature = new WeakMap();
|
|
88
86
|
//# sourceMappingURL=landingPageFooter.js.map
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
return value;
|
|
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;
|
|
8
7
|
};
|
|
9
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver,
|
|
10
|
-
if (!
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return privateMap.get(receiver);
|
|
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);
|
|
14
12
|
};
|
|
15
|
-
var
|
|
13
|
+
var _LandingPageFooterFeatureV2_title, _LandingPageFooterFeatureV2_description, _LandingPageFooterFeatureV2_items;
|
|
16
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
15
|
exports.LandingPageFooterFeatureV2 = exports.LandingPageFooterFeatureV2Fields = void 0;
|
|
18
16
|
const abstractEntity_1 = require("../../../../../../abstractEntity");
|
|
@@ -27,21 +25,21 @@ class LandingPageFooterFeatureV2 extends abstractEntity_1.AbstractEntity {
|
|
|
27
25
|
constructor(landingPageFooterFeatureInput) {
|
|
28
26
|
var _a;
|
|
29
27
|
super(landingPageFooterFeatureInput);
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
__classPrivateFieldSet(this,
|
|
34
|
-
__classPrivateFieldSet(this,
|
|
35
|
-
__classPrivateFieldSet(this,
|
|
28
|
+
_LandingPageFooterFeatureV2_title.set(this, void 0);
|
|
29
|
+
_LandingPageFooterFeatureV2_description.set(this, void 0);
|
|
30
|
+
_LandingPageFooterFeatureV2_items.set(this, void 0);
|
|
31
|
+
__classPrivateFieldSet(this, _LandingPageFooterFeatureV2_title, landingPageFooterFeatureInput[LandingPageFooterFeatureV2Fields.COLUMN_TITLE], "f");
|
|
32
|
+
__classPrivateFieldSet(this, _LandingPageFooterFeatureV2_description, landingPageFooterFeatureInput[LandingPageFooterFeatureV2Fields.COLUMN_DESCRIPTION], "f");
|
|
33
|
+
__classPrivateFieldSet(this, _LandingPageFooterFeatureV2_items, (_a = landingPageFooterFeatureInput[LandingPageFooterFeatureV2Fields.COLUMN_ITEMS]) === null || _a === void 0 ? void 0 : _a.map((item) => new landingPageFooterFeatureItem_1.LandingPageFooterFeatureItem(item)), "f");
|
|
36
34
|
}
|
|
37
35
|
get title() {
|
|
38
|
-
return __classPrivateFieldGet(this,
|
|
36
|
+
return __classPrivateFieldGet(this, _LandingPageFooterFeatureV2_title, "f");
|
|
39
37
|
}
|
|
40
38
|
get description() {
|
|
41
|
-
return __classPrivateFieldGet(this,
|
|
39
|
+
return __classPrivateFieldGet(this, _LandingPageFooterFeatureV2_description, "f");
|
|
42
40
|
}
|
|
43
41
|
get items() {
|
|
44
|
-
return __classPrivateFieldGet(this,
|
|
42
|
+
return __classPrivateFieldGet(this, _LandingPageFooterFeatureV2_items, "f");
|
|
45
43
|
}
|
|
46
44
|
toJSON() {
|
|
47
45
|
var _a;
|
|
@@ -53,5 +51,5 @@ class LandingPageFooterFeatureV2 extends abstractEntity_1.AbstractEntity {
|
|
|
53
51
|
}
|
|
54
52
|
}
|
|
55
53
|
exports.LandingPageFooterFeatureV2 = LandingPageFooterFeatureV2;
|
|
56
|
-
|
|
54
|
+
_LandingPageFooterFeatureV2_title = new WeakMap(), _LandingPageFooterFeatureV2_description = new WeakMap(), _LandingPageFooterFeatureV2_items = new WeakMap();
|
|
57
55
|
//# sourceMappingURL=landingPageFooterFeature.js.map
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
return value;
|
|
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;
|
|
8
7
|
};
|
|
9
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver,
|
|
10
|
-
if (!
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return privateMap.get(receiver);
|
|
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);
|
|
14
12
|
};
|
|
15
|
-
var
|
|
13
|
+
var _LandingPageFooterFeatureItem_title, _LandingPageFooterFeatureItem_description, _LandingPageFooterFeatureItem_imageUuid, _LandingPageFooterFeatureItem_buttonText, _LandingPageFooterFeatureItem_buttonUrl, _LandingPageFooterFeatureItem_icon, _LandingPageFooterFeatureItem_size;
|
|
16
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
15
|
exports.LandingPageFooterFeatureItem = exports.LandingPageFooterFeatureItemFields = void 0;
|
|
18
16
|
const abstractEntity_1 = require("../../../../../../abstractEntity");
|
|
@@ -29,41 +27,41 @@ var LandingPageFooterFeatureItemFields;
|
|
|
29
27
|
class LandingPageFooterFeatureItem extends abstractEntity_1.AbstractEntity {
|
|
30
28
|
constructor(landingPageFooterFeatureItemInput) {
|
|
31
29
|
super(landingPageFooterFeatureItemInput);
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
__classPrivateFieldSet(this,
|
|
40
|
-
__classPrivateFieldSet(this,
|
|
41
|
-
__classPrivateFieldSet(this,
|
|
42
|
-
__classPrivateFieldSet(this,
|
|
43
|
-
__classPrivateFieldSet(this,
|
|
44
|
-
__classPrivateFieldSet(this,
|
|
45
|
-
__classPrivateFieldSet(this,
|
|
30
|
+
_LandingPageFooterFeatureItem_title.set(this, void 0);
|
|
31
|
+
_LandingPageFooterFeatureItem_description.set(this, void 0);
|
|
32
|
+
_LandingPageFooterFeatureItem_imageUuid.set(this, void 0);
|
|
33
|
+
_LandingPageFooterFeatureItem_buttonText.set(this, void 0);
|
|
34
|
+
_LandingPageFooterFeatureItem_buttonUrl.set(this, void 0);
|
|
35
|
+
_LandingPageFooterFeatureItem_icon.set(this, void 0);
|
|
36
|
+
_LandingPageFooterFeatureItem_size.set(this, void 0);
|
|
37
|
+
__classPrivateFieldSet(this, _LandingPageFooterFeatureItem_title, landingPageFooterFeatureItemInput[LandingPageFooterFeatureItemFields.COLUMN_TITLE], "f");
|
|
38
|
+
__classPrivateFieldSet(this, _LandingPageFooterFeatureItem_description, landingPageFooterFeatureItemInput[LandingPageFooterFeatureItemFields.COLUMN_DESCRIPTION], "f");
|
|
39
|
+
__classPrivateFieldSet(this, _LandingPageFooterFeatureItem_imageUuid, landingPageFooterFeatureItemInput[LandingPageFooterFeatureItemFields.COLUMN_IMAGE_UUID], "f");
|
|
40
|
+
__classPrivateFieldSet(this, _LandingPageFooterFeatureItem_buttonText, landingPageFooterFeatureItemInput[LandingPageFooterFeatureItemFields.COLUMN_BUTTON_TEXT], "f");
|
|
41
|
+
__classPrivateFieldSet(this, _LandingPageFooterFeatureItem_buttonUrl, landingPageFooterFeatureItemInput[LandingPageFooterFeatureItemFields.COLUMN_BUTTON_URL], "f");
|
|
42
|
+
__classPrivateFieldSet(this, _LandingPageFooterFeatureItem_icon, landingPageFooterFeatureItemInput[LandingPageFooterFeatureItemFields.COLUMN_ICON], "f");
|
|
43
|
+
__classPrivateFieldSet(this, _LandingPageFooterFeatureItem_size, landingPageFooterFeatureItemInput[LandingPageFooterFeatureItemFields.COLUMN_SIZE], "f");
|
|
46
44
|
}
|
|
47
45
|
get title() {
|
|
48
|
-
return __classPrivateFieldGet(this,
|
|
46
|
+
return __classPrivateFieldGet(this, _LandingPageFooterFeatureItem_title, "f");
|
|
49
47
|
}
|
|
50
48
|
get description() {
|
|
51
|
-
return __classPrivateFieldGet(this,
|
|
49
|
+
return __classPrivateFieldGet(this, _LandingPageFooterFeatureItem_description, "f");
|
|
52
50
|
}
|
|
53
51
|
get imageUuid() {
|
|
54
|
-
return __classPrivateFieldGet(this,
|
|
52
|
+
return __classPrivateFieldGet(this, _LandingPageFooterFeatureItem_imageUuid, "f");
|
|
55
53
|
}
|
|
56
54
|
get buttonText() {
|
|
57
|
-
return __classPrivateFieldGet(this,
|
|
55
|
+
return __classPrivateFieldGet(this, _LandingPageFooterFeatureItem_buttonText, "f");
|
|
58
56
|
}
|
|
59
57
|
get buttonUrl() {
|
|
60
|
-
return __classPrivateFieldGet(this,
|
|
58
|
+
return __classPrivateFieldGet(this, _LandingPageFooterFeatureItem_buttonUrl, "f");
|
|
61
59
|
}
|
|
62
60
|
get icon() {
|
|
63
|
-
return __classPrivateFieldGet(this,
|
|
61
|
+
return __classPrivateFieldGet(this, _LandingPageFooterFeatureItem_icon, "f");
|
|
64
62
|
}
|
|
65
63
|
get size() {
|
|
66
|
-
return __classPrivateFieldGet(this,
|
|
64
|
+
return __classPrivateFieldGet(this, _LandingPageFooterFeatureItem_size, "f");
|
|
67
65
|
}
|
|
68
66
|
toJSON() {
|
|
69
67
|
return {
|
|
@@ -78,5 +76,5 @@ class LandingPageFooterFeatureItem extends abstractEntity_1.AbstractEntity {
|
|
|
78
76
|
}
|
|
79
77
|
}
|
|
80
78
|
exports.LandingPageFooterFeatureItem = LandingPageFooterFeatureItem;
|
|
81
|
-
|
|
79
|
+
_LandingPageFooterFeatureItem_title = new WeakMap(), _LandingPageFooterFeatureItem_description = new WeakMap(), _LandingPageFooterFeatureItem_imageUuid = new WeakMap(), _LandingPageFooterFeatureItem_buttonText = new WeakMap(), _LandingPageFooterFeatureItem_buttonUrl = new WeakMap(), _LandingPageFooterFeatureItem_icon = new WeakMap(), _LandingPageFooterFeatureItem_size = new WeakMap();
|
|
82
80
|
//# sourceMappingURL=landingPageFooterFeatureItem.js.map
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
return value;
|
|
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;
|
|
8
7
|
};
|
|
9
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver,
|
|
10
|
-
if (!
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return privateMap.get(receiver);
|
|
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);
|
|
14
12
|
};
|
|
15
|
-
var
|
|
13
|
+
var _LandingPageHeaderV2_backgroundImageUuid, _LandingPageHeaderV2_vendorLogoUuid, _LandingPageHeaderV2_title, _LandingPageHeaderV2_backgroundColor, _LandingPageHeaderV2_baseline, _LandingPageHeaderV2_textColor, _LandingPageHeaderV2_circleColor;
|
|
16
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
15
|
exports.LandingPageHeaderV2 = exports.LandingPageHeaderV2Fields = void 0;
|
|
18
16
|
const abstractEntity_1 = require("../../../../../abstractEntity");
|
|
@@ -29,41 +27,41 @@ var LandingPageHeaderV2Fields;
|
|
|
29
27
|
class LandingPageHeaderV2 extends abstractEntity_1.AbstractEntity {
|
|
30
28
|
constructor(landingPageHeaderInput) {
|
|
31
29
|
super(landingPageHeaderInput);
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
__classPrivateFieldSet(this,
|
|
40
|
-
__classPrivateFieldSet(this,
|
|
41
|
-
__classPrivateFieldSet(this,
|
|
42
|
-
__classPrivateFieldSet(this,
|
|
43
|
-
__classPrivateFieldSet(this,
|
|
44
|
-
__classPrivateFieldSet(this,
|
|
45
|
-
__classPrivateFieldSet(this,
|
|
30
|
+
_LandingPageHeaderV2_backgroundImageUuid.set(this, void 0);
|
|
31
|
+
_LandingPageHeaderV2_vendorLogoUuid.set(this, void 0);
|
|
32
|
+
_LandingPageHeaderV2_title.set(this, void 0);
|
|
33
|
+
_LandingPageHeaderV2_backgroundColor.set(this, void 0);
|
|
34
|
+
_LandingPageHeaderV2_baseline.set(this, void 0);
|
|
35
|
+
_LandingPageHeaderV2_textColor.set(this, void 0);
|
|
36
|
+
_LandingPageHeaderV2_circleColor.set(this, void 0);
|
|
37
|
+
__classPrivateFieldSet(this, _LandingPageHeaderV2_backgroundImageUuid, landingPageHeaderInput[LandingPageHeaderV2Fields.COLUMN_BACKGROUND_IMAGE_UUID], "f");
|
|
38
|
+
__classPrivateFieldSet(this, _LandingPageHeaderV2_vendorLogoUuid, landingPageHeaderInput[LandingPageHeaderV2Fields.COLUMN_VENDOR_LOGO_UUID], "f");
|
|
39
|
+
__classPrivateFieldSet(this, _LandingPageHeaderV2_title, landingPageHeaderInput[LandingPageHeaderV2Fields.COLUMN_TITLE], "f");
|
|
40
|
+
__classPrivateFieldSet(this, _LandingPageHeaderV2_backgroundColor, landingPageHeaderInput[LandingPageHeaderV2Fields.COLUMN_BACKGROUND_COLOR], "f");
|
|
41
|
+
__classPrivateFieldSet(this, _LandingPageHeaderV2_baseline, landingPageHeaderInput[LandingPageHeaderV2Fields.COLUMN_BASELINE], "f");
|
|
42
|
+
__classPrivateFieldSet(this, _LandingPageHeaderV2_textColor, landingPageHeaderInput[LandingPageHeaderV2Fields.COLUMN_TEXT_COLOR], "f");
|
|
43
|
+
__classPrivateFieldSet(this, _LandingPageHeaderV2_circleColor, landingPageHeaderInput[LandingPageHeaderV2Fields.COLUMN_CIRCLE_COLOR], "f");
|
|
46
44
|
}
|
|
47
45
|
get backgroundImageUuid() {
|
|
48
|
-
return __classPrivateFieldGet(this,
|
|
46
|
+
return __classPrivateFieldGet(this, _LandingPageHeaderV2_backgroundImageUuid, "f");
|
|
49
47
|
}
|
|
50
48
|
get vendorLogoUuid() {
|
|
51
|
-
return __classPrivateFieldGet(this,
|
|
49
|
+
return __classPrivateFieldGet(this, _LandingPageHeaderV2_vendorLogoUuid, "f");
|
|
52
50
|
}
|
|
53
51
|
get title() {
|
|
54
|
-
return __classPrivateFieldGet(this,
|
|
52
|
+
return __classPrivateFieldGet(this, _LandingPageHeaderV2_title, "f");
|
|
55
53
|
}
|
|
56
54
|
get backgroundColor() {
|
|
57
|
-
return __classPrivateFieldGet(this,
|
|
55
|
+
return __classPrivateFieldGet(this, _LandingPageHeaderV2_backgroundColor, "f");
|
|
58
56
|
}
|
|
59
57
|
get baseline() {
|
|
60
|
-
return __classPrivateFieldGet(this,
|
|
58
|
+
return __classPrivateFieldGet(this, _LandingPageHeaderV2_baseline, "f");
|
|
61
59
|
}
|
|
62
60
|
get textColor() {
|
|
63
|
-
return __classPrivateFieldGet(this,
|
|
61
|
+
return __classPrivateFieldGet(this, _LandingPageHeaderV2_textColor, "f");
|
|
64
62
|
}
|
|
65
63
|
get circleColor() {
|
|
66
|
-
return __classPrivateFieldGet(this,
|
|
64
|
+
return __classPrivateFieldGet(this, _LandingPageHeaderV2_circleColor, "f");
|
|
67
65
|
}
|
|
68
66
|
toJSON() {
|
|
69
67
|
return {
|
|
@@ -79,5 +77,5 @@ class LandingPageHeaderV2 extends abstractEntity_1.AbstractEntity {
|
|
|
79
77
|
}
|
|
80
78
|
}
|
|
81
79
|
exports.LandingPageHeaderV2 = LandingPageHeaderV2;
|
|
82
|
-
|
|
80
|
+
_LandingPageHeaderV2_backgroundImageUuid = new WeakMap(), _LandingPageHeaderV2_vendorLogoUuid = new WeakMap(), _LandingPageHeaderV2_title = new WeakMap(), _LandingPageHeaderV2_backgroundColor = new WeakMap(), _LandingPageHeaderV2_baseline = new WeakMap(), _LandingPageHeaderV2_textColor = new WeakMap(), _LandingPageHeaderV2_circleColor = new WeakMap();
|
|
83
81
|
//# sourceMappingURL=landingPageHeader.js.map
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
return value;
|
|
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;
|
|
8
7
|
};
|
|
9
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver,
|
|
10
|
-
if (!
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return privateMap.get(receiver);
|
|
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);
|
|
14
12
|
};
|
|
15
|
-
var
|
|
13
|
+
var _CampaignList_campaignList;
|
|
16
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
15
|
exports.CampaignList = void 0;
|
|
18
16
|
const abstractEntity_1 = require("../../../abstractEntity");
|
|
@@ -20,16 +18,16 @@ const campaign_1 = require("./campaign/campaign");
|
|
|
20
18
|
class CampaignList extends abstractEntity_1.AbstractEntity {
|
|
21
19
|
constructor(campaignListDataInput) {
|
|
22
20
|
super(campaignListDataInput);
|
|
23
|
-
|
|
24
|
-
__classPrivateFieldSet(this,
|
|
21
|
+
_CampaignList_campaignList.set(this, void 0);
|
|
22
|
+
__classPrivateFieldSet(this, _CampaignList_campaignList, campaignListDataInput.map((campaign) => new campaign_1.CampaignV2(campaign)), "f");
|
|
25
23
|
}
|
|
26
24
|
get campaignList() {
|
|
27
|
-
return __classPrivateFieldGet(this,
|
|
25
|
+
return __classPrivateFieldGet(this, _CampaignList_campaignList, "f");
|
|
28
26
|
}
|
|
29
27
|
toJSON() {
|
|
30
28
|
return this.campaignList.map((campaign) => campaign.toJSON());
|
|
31
29
|
}
|
|
32
30
|
}
|
|
33
31
|
exports.CampaignList = CampaignList;
|
|
34
|
-
|
|
32
|
+
_CampaignList_campaignList = new WeakMap();
|
|
35
33
|
//# sourceMappingURL=campaignList.js.map
|
package/build/campaign/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
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);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
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);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
return value;
|
|
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;
|
|
8
7
|
};
|
|
9
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver,
|
|
10
|
-
if (!
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return privateMap.get(receiver);
|
|
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);
|
|
14
12
|
};
|
|
15
|
-
var
|
|
13
|
+
var _Item_additionalData, _Item_itemId, _Item_offerName, _Item_priceBandArrowsphereSku, _Item_quantity;
|
|
16
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
15
|
exports.Item = exports.ItemFields = exports.ItemAdditionalDataFields = void 0;
|
|
18
16
|
const abstractEntity_1 = require("../../abstractEntity");
|
|
@@ -32,31 +30,31 @@ var ItemFields;
|
|
|
32
30
|
class Item extends abstractEntity_1.AbstractEntity {
|
|
33
31
|
constructor(itemResponse) {
|
|
34
32
|
super(itemResponse);
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
__classPrivateFieldSet(this,
|
|
41
|
-
__classPrivateFieldSet(this,
|
|
42
|
-
__classPrivateFieldSet(this,
|
|
43
|
-
__classPrivateFieldSet(this,
|
|
44
|
-
__classPrivateFieldSet(this,
|
|
33
|
+
_Item_additionalData.set(this, void 0);
|
|
34
|
+
_Item_itemId.set(this, void 0);
|
|
35
|
+
_Item_offerName.set(this, void 0);
|
|
36
|
+
_Item_priceBandArrowsphereSku.set(this, void 0);
|
|
37
|
+
_Item_quantity.set(this, void 0);
|
|
38
|
+
__classPrivateFieldSet(this, _Item_additionalData, itemResponse[ItemFields.ADDITIONAL_DATA], "f");
|
|
39
|
+
__classPrivateFieldSet(this, _Item_itemId, itemResponse[ItemFields.ITEM_ID], "f");
|
|
40
|
+
__classPrivateFieldSet(this, _Item_offerName, itemResponse[ItemFields.OFFER_NAME], "f");
|
|
41
|
+
__classPrivateFieldSet(this, _Item_priceBandArrowsphereSku, itemResponse[ItemFields.PRICE_BAND_ARROWSPHERE_SKU], "f");
|
|
42
|
+
__classPrivateFieldSet(this, _Item_quantity, itemResponse[ItemFields.QUANTITY], "f");
|
|
45
43
|
}
|
|
46
44
|
get itemId() {
|
|
47
|
-
return __classPrivateFieldGet(this,
|
|
45
|
+
return __classPrivateFieldGet(this, _Item_itemId, "f");
|
|
48
46
|
}
|
|
49
47
|
get additionalData() {
|
|
50
|
-
return __classPrivateFieldGet(this,
|
|
48
|
+
return __classPrivateFieldGet(this, _Item_additionalData, "f");
|
|
51
49
|
}
|
|
52
50
|
get offerName() {
|
|
53
|
-
return __classPrivateFieldGet(this,
|
|
51
|
+
return __classPrivateFieldGet(this, _Item_offerName, "f");
|
|
54
52
|
}
|
|
55
53
|
get priceBandArrowsphereSku() {
|
|
56
|
-
return __classPrivateFieldGet(this,
|
|
54
|
+
return __classPrivateFieldGet(this, _Item_priceBandArrowsphereSku, "f");
|
|
57
55
|
}
|
|
58
56
|
get quantity() {
|
|
59
|
-
return __classPrivateFieldGet(this,
|
|
57
|
+
return __classPrivateFieldGet(this, _Item_quantity, "f");
|
|
60
58
|
}
|
|
61
59
|
toJSON() {
|
|
62
60
|
return {
|
|
@@ -69,5 +67,5 @@ class Item extends abstractEntity_1.AbstractEntity {
|
|
|
69
67
|
}
|
|
70
68
|
}
|
|
71
69
|
exports.Item = Item;
|
|
72
|
-
|
|
70
|
+
_Item_additionalData = new WeakMap(), _Item_itemId = new WeakMap(), _Item_offerName = new WeakMap(), _Item_priceBandArrowsphereSku = new WeakMap(), _Item_quantity = new WeakMap();
|
|
73
71
|
//# sourceMappingURL=item.js.map
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
return value;
|
|
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;
|
|
8
7
|
};
|
|
9
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver,
|
|
10
|
-
if (!
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return privateMap.get(receiver);
|
|
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);
|
|
14
12
|
};
|
|
15
|
-
var
|
|
13
|
+
var _ItemList_items;
|
|
16
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
15
|
exports.ItemList = void 0;
|
|
18
16
|
const abstractEntity_1 = require("../../abstractEntity");
|
|
@@ -20,16 +18,16 @@ const item_1 = require("./item");
|
|
|
20
18
|
class ItemList extends abstractEntity_1.AbstractEntity {
|
|
21
19
|
constructor(itemListResponse) {
|
|
22
20
|
super(itemListResponse);
|
|
23
|
-
|
|
24
|
-
__classPrivateFieldSet(this,
|
|
21
|
+
_ItemList_items.set(this, void 0);
|
|
22
|
+
__classPrivateFieldSet(this, _ItemList_items, itemListResponse.map((item) => new item_1.Item(item)), "f");
|
|
25
23
|
}
|
|
26
24
|
get items() {
|
|
27
|
-
return __classPrivateFieldGet(this,
|
|
25
|
+
return __classPrivateFieldGet(this, _ItemList_items, "f");
|
|
28
26
|
}
|
|
29
27
|
toJSON() {
|
|
30
28
|
return this.items.map((item) => item.toJSON());
|
|
31
29
|
}
|
|
32
30
|
}
|
|
33
31
|
exports.ItemList = ItemList;
|
|
34
|
-
|
|
32
|
+
_ItemList_items = new WeakMap();
|
|
35
33
|
//# sourceMappingURL=itemList.js.map
|
package/build/cart/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
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);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|