@arrowsphere/api-client 3.27.0-rc.bjp.1 → 3.27.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.
- package/CHANGELOG.md +4 -0
- package/build/abstractEntity.js +16 -14
- package/build/abstractGraphQLClient.d.ts +1 -2
- package/build/abstractGraphQLClient.js +7 -32
- package/build/axiosSingleton.js +2 -2
- package/build/campaign/entities/campaign/banners/banners.js +34 -32
- package/build/campaign/entities/campaign/campaign.js +53 -51
- package/build/campaign/entities/campaign/landingPage/landingPage.js +26 -24
- package/build/campaign/entities/campaign/landingPage/landingPageBody.js +37 -35
- package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooter.js +31 -29
- package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +25 -23
- package/build/campaign/entities/campaign/landingPage/landingPageHeader.js +31 -29
- package/build/campaign/entities/campaign/rules/rules.js +31 -29
- package/build/campaign/entities/campaignAssets/assets/assets.js +19 -17
- package/build/campaign/entities/campaignAssets/campaignAssets.js +16 -14
- package/build/campaign/entities/v2/campaign/banner/banner.js +34 -32
- package/build/campaign/entities/v2/campaign/campaign.js +50 -48
- package/build/campaign/entities/v2/campaign/landingPage/landingPage.js +26 -24
- package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooter.js +36 -34
- package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +22 -20
- package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeatureItem.js +34 -32
- package/build/campaign/entities/v2/campaign/landingPage/landingPageHeader.js +34 -32
- package/build/campaign/entities/v2/campaignList.js +16 -14
- package/build/campaign/index.js +1 -5
- package/build/cart/entities/index.js +1 -5
- package/build/cart/entities/item.js +28 -26
- package/build/cart/entities/itemList.js +16 -14
- package/build/cart/index.js +1 -5
- package/build/catalog/catalogGraphQLClient.d.ts +0 -2
- package/build/catalog/catalogGraphQLClient.js +1 -4
- package/build/catalog/index.js +1 -5
- package/build/catalog/types/catalogGraphQLTypes.js +0 -1
- package/build/consumption/entities/bi/consumptionBI.js +30 -28
- package/build/consumption/entities/bi/period/period.js +19 -17
- package/build/consumption/entities/bi/top/top.js +25 -23
- package/build/consumption/entities/consumption/consumption.js +19 -17
- package/build/consumption/index.js +1 -5
- package/build/contact/entities/contact.js +46 -44
- package/build/contact/entities/contactCreate.js +16 -14
- package/build/contact/entities/contactList.js +16 -14
- package/build/contact/index.js +1 -5
- package/build/customers/entities/customers/contact/contact.js +31 -29
- package/build/customers/entities/customers/customer.js +73 -71
- package/build/customers/entities/customers/customerContact/customerContact.js +40 -38
- package/build/customers/entities/customers/customerContact/customerContactList.js +16 -14
- package/build/customers/entities/customers/details/details.js +31 -29
- package/build/customers/entities/dataCustomers.js +16 -14
- package/build/customers/entities/dataInvitation.js +31 -29
- package/build/customers/entities/invitations/company/company.js +16 -14
- package/build/customers/entities/invitations/contact/invitationContact.js +28 -26
- package/build/customers/index.js +1 -5
- package/build/exception/index.js +1 -5
- package/build/general/entities/whoAmI.js +61 -59
- package/build/general/index.js +1 -5
- package/build/getResult.js +23 -21
- package/build/index.js +1 -5
- package/build/licenses/entities/filterFindResult.js +19 -17
- package/build/licenses/entities/findResult.js +38 -36
- package/build/licenses/entities/getLicense/actionMessagesGetResult.js +28 -26
- package/build/licenses/entities/getLicense/actionsGetResult.js +43 -41
- package/build/licenses/entities/getLicense/buySellFindResult.js +19 -17
- package/build/licenses/entities/getLicense/licenseGetResult.js +107 -105
- package/build/licenses/entities/getLicense/licensePriceGetResult.js +22 -20
- package/build/licenses/entities/getLicense/orderGetResult.js +19 -17
- package/build/licenses/entities/getResult/getLicenseResult.js +16 -14
- package/build/licenses/entities/history/actionHistoryResult.js +25 -23
- package/build/licenses/entities/history/licenceHistoryResult.js +16 -14
- package/build/licenses/entities/license/activeSeatsFindResult.js +19 -17
- package/build/licenses/entities/license/configFindResult.js +22 -20
- package/build/licenses/entities/license/licenseFindResult.js +136 -134
- package/build/licenses/entities/license/priceFindResult.js +28 -26
- package/build/licenses/entities/license/warningFindResult.js +19 -17
- package/build/licenses/entities/offer/actionFlagsFindResult.js +22 -20
- package/build/licenses/entities/offer/offerFindResult.js +34 -32
- package/build/licenses/entities/offer/priceBandFindResult.js +37 -35
- package/build/licenses/entities/offer/priceband/billingFindResult.js +22 -20
- package/build/licenses/entities/offer/priceband/identifiers/arrowsphereFindResult.js +16 -14
- package/build/licenses/entities/offer/priceband/identifiersFindResult.js +16 -14
- package/build/licenses/entities/offer/priceband/priceBandActionFlagsFindResult.js +28 -26
- package/build/licenses/entities/offer/priceband/priceBandPriceFindResult.js +22 -20
- package/build/licenses/entities/offer/priceband/saleConstraintsFindResult.js +19 -17
- package/build/licenses/index.js +1 -5
- package/build/orders/entities/dataListOrders.js +16 -14
- package/build/orders/entities/orders/order.js +41 -39
- package/build/orders/entities/orders/partner/partner.js +19 -17
- package/build/orders/entities/orders/products/identifiers/productIdentifiers.js +16 -14
- package/build/orders/entities/orders/products/identifiers/vendor/identifiersVendor.js +16 -14
- package/build/orders/entities/orders/products/prices/productPrices.js +34 -32
- package/build/orders/entities/orders/products/products.js +58 -56
- package/build/orders/entities/orders/products/program/productProgram.js +16 -14
- package/build/orders/entities/referenceLink.js +19 -17
- package/build/orders/index.js +1 -5
- package/build/orders/ordersClient.d.ts +58 -3
- package/build/orders/ordersClient.js +25 -1
- package/build/pagination.js +31 -29
- package/build/security/index.js +1 -5
- package/build/security/register/entity/registrationLink.js +16 -14
- package/build/security/register/index.js +1 -5
- package/build/security/standards/entities/checks/checks.js +19 -17
- package/build/security/standards/entities/checks/securityChecks.js +40 -38
- package/build/security/standards/entities/resources/resources.js +28 -26
- package/build/security/standards/entities/resources/securityResources.js +19 -17
- package/build/security/standards/entities/standards/securityStandards.js +31 -29
- package/build/security/standards/entities/standards/standards.js +19 -17
- package/build/security/standards/index.js +1 -5
- package/build/shared/index.js +1 -5
- package/build/subscriptions/entities/subscription.js +58 -56
- package/build/subscriptions/entities/subscriptionsListResult.js +41 -39
- package/build/subscriptions/index.js +1 -5
- package/build/supportCenter/entities/issue/attachment.js +29 -27
- package/build/supportCenter/entities/issue/comment.js +31 -29
- package/build/supportCenter/entities/issue/issue.js +108 -106
- package/build/supportCenter/entities/topic.js +32 -30
- package/build/supportCenter/index.js +1 -5
- package/package.json +3 -5
- package/build/catalog/types/catalogGraphQLQueries.d.ts +0 -12
- package/build/catalog/types/catalogGraphQLQueries.js +0 -3
- package/build/catalog/types/catalogGraphQLSchemas.d.ts +0 -30
- package/build/catalog/types/catalogGraphQLSchemas.js +0 -4
- package/build/catalog/types/queryArguments.d.ts +0 -42
- package/build/catalog/types/queryArguments.js +0 -9
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
|
|
3
|
+
if (!privateMap.has(receiver)) {
|
|
4
|
+
throw new TypeError("attempted to set private field on non-instance");
|
|
5
|
+
}
|
|
6
|
+
privateMap.set(receiver, value);
|
|
7
|
+
return value;
|
|
7
8
|
};
|
|
8
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver,
|
|
9
|
-
if (
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {
|
|
10
|
+
if (!privateMap.has(receiver)) {
|
|
11
|
+
throw new TypeError("attempted to get private field on non-instance");
|
|
12
|
+
}
|
|
13
|
+
return privateMap.get(receiver);
|
|
12
14
|
};
|
|
13
|
-
var
|
|
15
|
+
var _sku, _quantity, _status, _dateStatus, _detailedStatus, _isAddon, _arrowSubCategories, _isTrial, _prices, _subscription, _license, _name, _classification, _program, _identifier;
|
|
14
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
17
|
exports.OrderProduct = exports.OrderProductsFields = void 0;
|
|
16
18
|
const abstractEntity_1 = require("../../../../abstractEntity");
|
|
@@ -40,81 +42,81 @@ class OrderProduct extends abstractEntity_1.AbstractEntity {
|
|
|
40
42
|
constructor(getOrderProducts) {
|
|
41
43
|
var _a;
|
|
42
44
|
super(getOrderProducts);
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
__classPrivateFieldSet(this,
|
|
59
|
-
__classPrivateFieldSet(this,
|
|
60
|
-
__classPrivateFieldSet(this,
|
|
61
|
-
__classPrivateFieldSet(this,
|
|
62
|
-
__classPrivateFieldSet(this,
|
|
63
|
-
__classPrivateFieldSet(this,
|
|
64
|
-
__classPrivateFieldSet(this,
|
|
65
|
-
__classPrivateFieldSet(this,
|
|
66
|
-
__classPrivateFieldSet(this,
|
|
67
|
-
__classPrivateFieldSet(this,
|
|
68
|
-
__classPrivateFieldSet(this,
|
|
69
|
-
__classPrivateFieldSet(this,
|
|
70
|
-
__classPrivateFieldSet(this,
|
|
71
|
-
__classPrivateFieldSet(this,
|
|
72
|
-
__classPrivateFieldSet(this,
|
|
45
|
+
_sku.set(this, void 0);
|
|
46
|
+
_quantity.set(this, void 0);
|
|
47
|
+
_status.set(this, void 0);
|
|
48
|
+
_dateStatus.set(this, void 0);
|
|
49
|
+
_detailedStatus.set(this, void 0);
|
|
50
|
+
_isAddon.set(this, void 0);
|
|
51
|
+
_arrowSubCategories.set(this, void 0);
|
|
52
|
+
_isTrial.set(this, void 0);
|
|
53
|
+
_prices.set(this, void 0);
|
|
54
|
+
_subscription.set(this, void 0);
|
|
55
|
+
_license.set(this, void 0);
|
|
56
|
+
_name.set(this, void 0);
|
|
57
|
+
_classification.set(this, void 0);
|
|
58
|
+
_program.set(this, void 0);
|
|
59
|
+
_identifier.set(this, void 0);
|
|
60
|
+
__classPrivateFieldSet(this, _sku, getOrderProducts[OrderProductsFields.COLUMN_SKU]);
|
|
61
|
+
__classPrivateFieldSet(this, _quantity, getOrderProducts[OrderProductsFields.COLUMN_QUANTITY]);
|
|
62
|
+
__classPrivateFieldSet(this, _status, getOrderProducts[OrderProductsFields.COLUMN_STATUS]);
|
|
63
|
+
__classPrivateFieldSet(this, _dateStatus, getOrderProducts[OrderProductsFields.COLUMN_DATESTATUS]);
|
|
64
|
+
__classPrivateFieldSet(this, _detailedStatus, getOrderProducts[OrderProductsFields.COLUMN_DETAILEDSTATUS]);
|
|
65
|
+
__classPrivateFieldSet(this, _isAddon, getOrderProducts[OrderProductsFields.COLUMN_IS_ADDON]);
|
|
66
|
+
__classPrivateFieldSet(this, _arrowSubCategories, (_a = getOrderProducts[OrderProductsFields.COLUMN_ARROWSUBCATEGORIES]) !== null && _a !== void 0 ? _a : undefined);
|
|
67
|
+
__classPrivateFieldSet(this, _isTrial, getOrderProducts[OrderProductsFields.COLUMN_IS_TRIAL]);
|
|
68
|
+
__classPrivateFieldSet(this, _prices, new productPrices_1.ProductPrices(getOrderProducts[OrderProductsFields.COLUMN_PRICES]));
|
|
69
|
+
__classPrivateFieldSet(this, _subscription, new referenceLink_1.ReferenceLink(getOrderProducts[OrderProductsFields.COLUMN_SUBSCRIPTION]));
|
|
70
|
+
__classPrivateFieldSet(this, _license, new referenceLink_1.ReferenceLink(getOrderProducts[OrderProductsFields.COLUMN_LICENSE]));
|
|
71
|
+
__classPrivateFieldSet(this, _name, getOrderProducts[OrderProductsFields.COLUMN_NAME]);
|
|
72
|
+
__classPrivateFieldSet(this, _classification, getOrderProducts[OrderProductsFields.COLUMN_CLASSIFICATION]);
|
|
73
|
+
__classPrivateFieldSet(this, _program, new productProgram_1.ProductProgram(getOrderProducts[OrderProductsFields.COLUMN_PROGRAM]));
|
|
74
|
+
__classPrivateFieldSet(this, _identifier, new productIdentifiers_1.ProductIdentifiers(getOrderProducts[OrderProductsFields.COLUMN_IDENTIFIERS]));
|
|
73
75
|
}
|
|
74
76
|
get sku() {
|
|
75
|
-
return __classPrivateFieldGet(this,
|
|
77
|
+
return __classPrivateFieldGet(this, _sku);
|
|
76
78
|
}
|
|
77
79
|
get quantity() {
|
|
78
|
-
return __classPrivateFieldGet(this,
|
|
80
|
+
return __classPrivateFieldGet(this, _quantity);
|
|
79
81
|
}
|
|
80
82
|
get status() {
|
|
81
|
-
return __classPrivateFieldGet(this,
|
|
83
|
+
return __classPrivateFieldGet(this, _status);
|
|
82
84
|
}
|
|
83
85
|
get dateStatus() {
|
|
84
|
-
return __classPrivateFieldGet(this,
|
|
86
|
+
return __classPrivateFieldGet(this, _dateStatus);
|
|
85
87
|
}
|
|
86
88
|
get detailedStatus() {
|
|
87
|
-
return __classPrivateFieldGet(this,
|
|
89
|
+
return __classPrivateFieldGet(this, _detailedStatus);
|
|
88
90
|
}
|
|
89
91
|
get isAddon() {
|
|
90
|
-
return __classPrivateFieldGet(this,
|
|
92
|
+
return __classPrivateFieldGet(this, _isAddon);
|
|
91
93
|
}
|
|
92
94
|
get arrowSubCategories() {
|
|
93
|
-
return __classPrivateFieldGet(this,
|
|
95
|
+
return __classPrivateFieldGet(this, _arrowSubCategories);
|
|
94
96
|
}
|
|
95
97
|
get isTrial() {
|
|
96
|
-
return __classPrivateFieldGet(this,
|
|
98
|
+
return __classPrivateFieldGet(this, _isTrial);
|
|
97
99
|
}
|
|
98
100
|
get prices() {
|
|
99
|
-
return __classPrivateFieldGet(this,
|
|
101
|
+
return __classPrivateFieldGet(this, _prices);
|
|
100
102
|
}
|
|
101
103
|
get subscription() {
|
|
102
|
-
return __classPrivateFieldGet(this,
|
|
104
|
+
return __classPrivateFieldGet(this, _subscription);
|
|
103
105
|
}
|
|
104
106
|
get license() {
|
|
105
|
-
return __classPrivateFieldGet(this,
|
|
107
|
+
return __classPrivateFieldGet(this, _license);
|
|
106
108
|
}
|
|
107
109
|
get name() {
|
|
108
|
-
return __classPrivateFieldGet(this,
|
|
110
|
+
return __classPrivateFieldGet(this, _name);
|
|
109
111
|
}
|
|
110
112
|
get classification() {
|
|
111
|
-
return __classPrivateFieldGet(this,
|
|
113
|
+
return __classPrivateFieldGet(this, _classification);
|
|
112
114
|
}
|
|
113
115
|
get program() {
|
|
114
|
-
return __classPrivateFieldGet(this,
|
|
116
|
+
return __classPrivateFieldGet(this, _program);
|
|
115
117
|
}
|
|
116
118
|
get identifier() {
|
|
117
|
-
return __classPrivateFieldGet(this,
|
|
119
|
+
return __classPrivateFieldGet(this, _identifier);
|
|
118
120
|
}
|
|
119
121
|
toJSON() {
|
|
120
122
|
return {
|
|
@@ -137,5 +139,5 @@ class OrderProduct extends abstractEntity_1.AbstractEntity {
|
|
|
137
139
|
}
|
|
138
140
|
}
|
|
139
141
|
exports.OrderProduct = OrderProduct;
|
|
140
|
-
|
|
142
|
+
_sku = new WeakMap(), _quantity = new WeakMap(), _status = new WeakMap(), _dateStatus = new WeakMap(), _detailedStatus = new WeakMap(), _isAddon = new WeakMap(), _arrowSubCategories = new WeakMap(), _isTrial = new WeakMap(), _prices = new WeakMap(), _subscription = new WeakMap(), _license = new WeakMap(), _name = new WeakMap(), _classification = new WeakMap(), _program = new WeakMap(), _identifier = new WeakMap();
|
|
141
143
|
//# sourceMappingURL=products.js.map
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
|
|
3
|
+
if (!privateMap.has(receiver)) {
|
|
4
|
+
throw new TypeError("attempted to set private field on non-instance");
|
|
5
|
+
}
|
|
6
|
+
privateMap.set(receiver, value);
|
|
7
|
+
return value;
|
|
7
8
|
};
|
|
8
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver,
|
|
9
|
-
if (
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {
|
|
10
|
+
if (!privateMap.has(receiver)) {
|
|
11
|
+
throw new TypeError("attempted to get private field on non-instance");
|
|
12
|
+
}
|
|
13
|
+
return privateMap.get(receiver);
|
|
12
14
|
};
|
|
13
|
-
var
|
|
15
|
+
var _legacyCode;
|
|
14
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
17
|
exports.ProductProgram = exports.ProductProgramFields = void 0;
|
|
16
18
|
const abstractEntity_1 = require("../../../../../abstractEntity");
|
|
@@ -21,11 +23,11 @@ var ProductProgramFields;
|
|
|
21
23
|
class ProductProgram extends abstractEntity_1.AbstractEntity {
|
|
22
24
|
constructor(program) {
|
|
23
25
|
super(program);
|
|
24
|
-
|
|
25
|
-
__classPrivateFieldSet(this,
|
|
26
|
+
_legacyCode.set(this, void 0);
|
|
27
|
+
__classPrivateFieldSet(this, _legacyCode, program[ProductProgramFields.COLUMN_LEGACY_CODE]);
|
|
26
28
|
}
|
|
27
29
|
get legacyCode() {
|
|
28
|
-
return __classPrivateFieldGet(this,
|
|
30
|
+
return __classPrivateFieldGet(this, _legacyCode);
|
|
29
31
|
}
|
|
30
32
|
toJSON() {
|
|
31
33
|
return {
|
|
@@ -34,5 +36,5 @@ class ProductProgram extends abstractEntity_1.AbstractEntity {
|
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
38
|
exports.ProductProgram = ProductProgram;
|
|
37
|
-
|
|
39
|
+
_legacyCode = new WeakMap();
|
|
38
40
|
//# sourceMappingURL=productProgram.js.map
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
|
|
3
|
+
if (!privateMap.has(receiver)) {
|
|
4
|
+
throw new TypeError("attempted to set private field on non-instance");
|
|
5
|
+
}
|
|
6
|
+
privateMap.set(receiver, value);
|
|
7
|
+
return value;
|
|
7
8
|
};
|
|
8
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver,
|
|
9
|
-
if (
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {
|
|
10
|
+
if (!privateMap.has(receiver)) {
|
|
11
|
+
throw new TypeError("attempted to get private field on non-instance");
|
|
12
|
+
}
|
|
13
|
+
return privateMap.get(receiver);
|
|
12
14
|
};
|
|
13
|
-
var
|
|
15
|
+
var _reference, _link;
|
|
14
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
17
|
exports.ReferenceLink = exports.ReferenceLinkFields = void 0;
|
|
16
18
|
const abstractEntity_1 = require("../../abstractEntity");
|
|
@@ -22,16 +24,16 @@ var ReferenceLinkFields;
|
|
|
22
24
|
class ReferenceLink extends abstractEntity_1.AbstractEntity {
|
|
23
25
|
constructor(referenceLinkInput) {
|
|
24
26
|
super(referenceLinkInput);
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
__classPrivateFieldSet(this,
|
|
28
|
-
__classPrivateFieldSet(this,
|
|
27
|
+
_reference.set(this, void 0);
|
|
28
|
+
_link.set(this, void 0);
|
|
29
|
+
__classPrivateFieldSet(this, _reference, referenceLinkInput[ReferenceLinkFields.COLUMN_REFERENCE]);
|
|
30
|
+
__classPrivateFieldSet(this, _link, referenceLinkInput[ReferenceLinkFields.COLUMN_LINK]);
|
|
29
31
|
}
|
|
30
32
|
get reference() {
|
|
31
|
-
return __classPrivateFieldGet(this,
|
|
33
|
+
return __classPrivateFieldGet(this, _reference);
|
|
32
34
|
}
|
|
33
35
|
get link() {
|
|
34
|
-
return __classPrivateFieldGet(this,
|
|
36
|
+
return __classPrivateFieldGet(this, _link);
|
|
35
37
|
}
|
|
36
38
|
toJSON() {
|
|
37
39
|
return {
|
|
@@ -41,5 +43,5 @@ class ReferenceLink extends abstractEntity_1.AbstractEntity {
|
|
|
41
43
|
}
|
|
42
44
|
}
|
|
43
45
|
exports.ReferenceLink = ReferenceLink;
|
|
44
|
-
|
|
46
|
+
_reference = new WeakMap(), _link = new WeakMap();
|
|
45
47
|
//# sourceMappingURL=referenceLink.js.map
|
package/build/orders/index.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
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
|
-
|
|
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);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
|
@@ -15,13 +15,38 @@ export declare enum CreateOrderInputFields {
|
|
|
15
15
|
COLUMN_PERIODICITY = "periodicity",
|
|
16
16
|
COLUMN_TERM = "term",
|
|
17
17
|
COLUMN_DISCOUNT = "discount",
|
|
18
|
-
COLUMN_UPLIFT = "uplift"
|
|
18
|
+
COLUMN_UPLIFT = "uplift",
|
|
19
|
+
COLUMN_AUTO_RENEW = "autoRenew",
|
|
20
|
+
COLUMN_EFFECTIVE_START_DATE = "effectiveStartDate",
|
|
21
|
+
COLUMN_EFFECTIVE_END_DATE = "effectiveEndDate",
|
|
22
|
+
COLUMN_VENDOR_REFERENCE_ID = "vendorReferenceId",
|
|
23
|
+
COLUMN_PARENT_VENDOR_REFERENCE_ID = "parentVendorReferenceId",
|
|
24
|
+
COLUMN_FRIENDLY_NAME = "friendlyName",
|
|
25
|
+
COLUMN_COMMENT1 = "comment1",
|
|
26
|
+
COLUMN_COMMENT2 = "comment2",
|
|
27
|
+
COLUMN_SCENARIO = "scenario",
|
|
28
|
+
COLUMN_SCHEDULE_DATE = "scheduledDate",
|
|
29
|
+
COLUMN_PRICE = "price",
|
|
30
|
+
COLUMN_PRICE_BUY = "buy",
|
|
31
|
+
COLUMN_PRICE_LIST = "list",
|
|
32
|
+
COLUMN_PRICE_RESELLER = "reseller",
|
|
33
|
+
COLUMN_PRICE_END_CUSTOMER = "endCustomer",
|
|
34
|
+
COLUMN_PRICE_CURRENCY = "currency",
|
|
35
|
+
COLUMN_PRICE_UNIT = "unitPrice",
|
|
36
|
+
COLUMN_PRICE_EXCHANGE_RATE = "exchangeRate"
|
|
37
|
+
}
|
|
38
|
+
export declare enum scenarioType {
|
|
39
|
+
INJECTION = "injection",
|
|
40
|
+
RECONCILIATION = "reconciliation",
|
|
41
|
+
PROVISION = "provision"
|
|
19
42
|
}
|
|
20
43
|
export declare type CreateOrderInputType = {
|
|
21
44
|
[CreateOrderInputFields.COLUMN_CUSTOMER]: {
|
|
22
45
|
[CreateOrderInputFields.COLUMN_REFERENCE]: string;
|
|
23
46
|
[CreateOrderInputFields.COLUMN_PO_NUMBER]?: string;
|
|
24
47
|
};
|
|
48
|
+
[CreateOrderInputFields.COLUMN_SCENARIO]?: scenarioType;
|
|
49
|
+
[CreateOrderInputFields.COLUMN_SCHEDULE_DATE]?: string;
|
|
25
50
|
[CreateOrderInputFields.COLUMN_PRODUCTS]: Array<{
|
|
26
51
|
[CreateOrderInputFields.COLUMN_SKU]: string;
|
|
27
52
|
[CreateOrderInputFields.COLUMN_QUANTITY]: number;
|
|
@@ -30,10 +55,40 @@ export declare type CreateOrderInputType = {
|
|
|
30
55
|
};
|
|
31
56
|
[CreateOrderInputFields.COLUMN_PARENT_LICENSE_ID]?: string;
|
|
32
57
|
[CreateOrderInputFields.COLUMN_PARENT_SKU]?: string;
|
|
33
|
-
[CreateOrderInputFields.COLUMN_PERIODICITY]?: string;
|
|
34
|
-
[CreateOrderInputFields.COLUMN_TERM]?: string;
|
|
58
|
+
[CreateOrderInputFields.COLUMN_PERIODICITY]?: string | number;
|
|
59
|
+
[CreateOrderInputFields.COLUMN_TERM]?: string | number;
|
|
35
60
|
[CreateOrderInputFields.COLUMN_DISCOUNT]?: number;
|
|
36
61
|
[CreateOrderInputFields.COLUMN_UPLIFT]?: number;
|
|
62
|
+
[CreateOrderInputFields.COLUMN_AUTO_RENEW]?: boolean;
|
|
63
|
+
[CreateOrderInputFields.COLUMN_EFFECTIVE_START_DATE]?: string;
|
|
64
|
+
[CreateOrderInputFields.COLUMN_EFFECTIVE_END_DATE]?: string;
|
|
65
|
+
[CreateOrderInputFields.COLUMN_VENDOR_REFERENCE_ID]?: string;
|
|
66
|
+
[CreateOrderInputFields.COLUMN_PARENT_VENDOR_REFERENCE_ID]?: string;
|
|
67
|
+
[CreateOrderInputFields.COLUMN_FRIENDLY_NAME]?: string;
|
|
68
|
+
[CreateOrderInputFields.COLUMN_COMMENT1]?: string;
|
|
69
|
+
[CreateOrderInputFields.COLUMN_COMMENT2]?: string;
|
|
70
|
+
[CreateOrderInputFields.COLUMN_PRICE]?: {
|
|
71
|
+
[CreateOrderInputFields.COLUMN_PRICE_BUY]?: {
|
|
72
|
+
[CreateOrderInputFields.COLUMN_PRICE_CURRENCY]?: string;
|
|
73
|
+
[CreateOrderInputFields.COLUMN_PRICE_UNIT]?: number;
|
|
74
|
+
[CreateOrderInputFields.COLUMN_PRICE_EXCHANGE_RATE]?: number;
|
|
75
|
+
};
|
|
76
|
+
[CreateOrderInputFields.COLUMN_PRICE_LIST]?: {
|
|
77
|
+
[CreateOrderInputFields.COLUMN_PRICE_CURRENCY]?: string;
|
|
78
|
+
[CreateOrderInputFields.COLUMN_PRICE_UNIT]?: number;
|
|
79
|
+
[CreateOrderInputFields.COLUMN_PRICE_EXCHANGE_RATE]?: number;
|
|
80
|
+
};
|
|
81
|
+
[CreateOrderInputFields.COLUMN_PRICE_RESELLER]?: {
|
|
82
|
+
[CreateOrderInputFields.COLUMN_PRICE_CURRENCY]?: string;
|
|
83
|
+
[CreateOrderInputFields.COLUMN_PRICE_UNIT]?: number;
|
|
84
|
+
[CreateOrderInputFields.COLUMN_PRICE_EXCHANGE_RATE]?: number;
|
|
85
|
+
};
|
|
86
|
+
[CreateOrderInputFields.COLUMN_PRICE_END_CUSTOMER]?: {
|
|
87
|
+
[CreateOrderInputFields.COLUMN_PRICE_CURRENCY]?: string;
|
|
88
|
+
[CreateOrderInputFields.COLUMN_PRICE_UNIT]?: number;
|
|
89
|
+
[CreateOrderInputFields.COLUMN_PRICE_EXCHANGE_RATE]?: number;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
37
92
|
}>;
|
|
38
93
|
};
|
|
39
94
|
export declare class OrdersClient extends AbstractClient {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OrdersClient = exports.CreateOrderInputFields = void 0;
|
|
3
|
+
exports.OrdersClient = exports.scenarioType = exports.CreateOrderInputFields = void 0;
|
|
4
4
|
const abstractClient_1 = require("../abstractClient");
|
|
5
5
|
const getResult_1 = require("../getResult");
|
|
6
6
|
const dataListOrders_1 = require("./entities/dataListOrders");
|
|
@@ -20,7 +20,31 @@ var CreateOrderInputFields;
|
|
|
20
20
|
CreateOrderInputFields["COLUMN_TERM"] = "term";
|
|
21
21
|
CreateOrderInputFields["COLUMN_DISCOUNT"] = "discount";
|
|
22
22
|
CreateOrderInputFields["COLUMN_UPLIFT"] = "uplift";
|
|
23
|
+
CreateOrderInputFields["COLUMN_AUTO_RENEW"] = "autoRenew";
|
|
24
|
+
CreateOrderInputFields["COLUMN_EFFECTIVE_START_DATE"] = "effectiveStartDate";
|
|
25
|
+
CreateOrderInputFields["COLUMN_EFFECTIVE_END_DATE"] = "effectiveEndDate";
|
|
26
|
+
CreateOrderInputFields["COLUMN_VENDOR_REFERENCE_ID"] = "vendorReferenceId";
|
|
27
|
+
CreateOrderInputFields["COLUMN_PARENT_VENDOR_REFERENCE_ID"] = "parentVendorReferenceId";
|
|
28
|
+
CreateOrderInputFields["COLUMN_FRIENDLY_NAME"] = "friendlyName";
|
|
29
|
+
CreateOrderInputFields["COLUMN_COMMENT1"] = "comment1";
|
|
30
|
+
CreateOrderInputFields["COLUMN_COMMENT2"] = "comment2";
|
|
31
|
+
CreateOrderInputFields["COLUMN_SCENARIO"] = "scenario";
|
|
32
|
+
CreateOrderInputFields["COLUMN_SCHEDULE_DATE"] = "scheduledDate";
|
|
33
|
+
CreateOrderInputFields["COLUMN_PRICE"] = "price";
|
|
34
|
+
CreateOrderInputFields["COLUMN_PRICE_BUY"] = "buy";
|
|
35
|
+
CreateOrderInputFields["COLUMN_PRICE_LIST"] = "list";
|
|
36
|
+
CreateOrderInputFields["COLUMN_PRICE_RESELLER"] = "reseller";
|
|
37
|
+
CreateOrderInputFields["COLUMN_PRICE_END_CUSTOMER"] = "endCustomer";
|
|
38
|
+
CreateOrderInputFields["COLUMN_PRICE_CURRENCY"] = "currency";
|
|
39
|
+
CreateOrderInputFields["COLUMN_PRICE_UNIT"] = "unitPrice";
|
|
40
|
+
CreateOrderInputFields["COLUMN_PRICE_EXCHANGE_RATE"] = "exchangeRate";
|
|
23
41
|
})(CreateOrderInputFields = exports.CreateOrderInputFields || (exports.CreateOrderInputFields = {}));
|
|
42
|
+
var scenarioType;
|
|
43
|
+
(function (scenarioType) {
|
|
44
|
+
scenarioType["INJECTION"] = "injection";
|
|
45
|
+
scenarioType["RECONCILIATION"] = "reconciliation";
|
|
46
|
+
scenarioType["PROVISION"] = "provision";
|
|
47
|
+
})(scenarioType = exports.scenarioType || (exports.scenarioType = {}));
|
|
24
48
|
class OrdersClient extends abstractClient_1.AbstractClient {
|
|
25
49
|
constructor() {
|
|
26
50
|
super(...arguments);
|
package/build/pagination.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
|
|
3
|
+
if (!privateMap.has(receiver)) {
|
|
4
|
+
throw new TypeError("attempted to set private field on non-instance");
|
|
5
|
+
}
|
|
6
|
+
privateMap.set(receiver, value);
|
|
7
|
+
return value;
|
|
7
8
|
};
|
|
8
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver,
|
|
9
|
-
if (
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {
|
|
10
|
+
if (!privateMap.has(receiver)) {
|
|
11
|
+
throw new TypeError("attempted to get private field on non-instance");
|
|
12
|
+
}
|
|
13
|
+
return privateMap.get(receiver);
|
|
12
14
|
};
|
|
13
|
-
var
|
|
15
|
+
var _perPage, _currentPage, _totalPage, _total, _next, _previous;
|
|
14
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
17
|
exports.Pagination = exports.PaginationFields = void 0;
|
|
16
18
|
const abstractEntity_1 = require("./abstractEntity");
|
|
@@ -26,36 +28,36 @@ var PaginationFields;
|
|
|
26
28
|
class Pagination extends abstractEntity_1.AbstractEntity {
|
|
27
29
|
constructor(paginationDataInput) {
|
|
28
30
|
super(paginationDataInput);
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
__classPrivateFieldSet(this,
|
|
36
|
-
__classPrivateFieldSet(this,
|
|
37
|
-
__classPrivateFieldSet(this,
|
|
38
|
-
__classPrivateFieldSet(this,
|
|
39
|
-
__classPrivateFieldSet(this,
|
|
40
|
-
__classPrivateFieldSet(this,
|
|
31
|
+
_perPage.set(this, void 0);
|
|
32
|
+
_currentPage.set(this, void 0);
|
|
33
|
+
_totalPage.set(this, void 0);
|
|
34
|
+
_total.set(this, void 0);
|
|
35
|
+
_next.set(this, void 0);
|
|
36
|
+
_previous.set(this, void 0);
|
|
37
|
+
__classPrivateFieldSet(this, _perPage, paginationDataInput[PaginationFields.COLUMN_PER_PAGE]);
|
|
38
|
+
__classPrivateFieldSet(this, _currentPage, paginationDataInput[PaginationFields.COLUMN_CURRENT_PAGE]);
|
|
39
|
+
__classPrivateFieldSet(this, _totalPage, paginationDataInput[PaginationFields.COLUMN_TOTAL_PAGE]);
|
|
40
|
+
__classPrivateFieldSet(this, _total, paginationDataInput[PaginationFields.COLUMN_TOTAL]);
|
|
41
|
+
__classPrivateFieldSet(this, _next, paginationDataInput[PaginationFields.COLUMN_NEXT]);
|
|
42
|
+
__classPrivateFieldSet(this, _previous, paginationDataInput[PaginationFields.COLUMN_PREVIOUS]);
|
|
41
43
|
}
|
|
42
44
|
get perPage() {
|
|
43
|
-
return __classPrivateFieldGet(this,
|
|
45
|
+
return __classPrivateFieldGet(this, _perPage);
|
|
44
46
|
}
|
|
45
47
|
get currentPage() {
|
|
46
|
-
return __classPrivateFieldGet(this,
|
|
48
|
+
return __classPrivateFieldGet(this, _currentPage);
|
|
47
49
|
}
|
|
48
50
|
get totalPage() {
|
|
49
|
-
return __classPrivateFieldGet(this,
|
|
51
|
+
return __classPrivateFieldGet(this, _totalPage);
|
|
50
52
|
}
|
|
51
53
|
get total() {
|
|
52
|
-
return __classPrivateFieldGet(this,
|
|
54
|
+
return __classPrivateFieldGet(this, _total);
|
|
53
55
|
}
|
|
54
56
|
get next() {
|
|
55
|
-
return __classPrivateFieldGet(this,
|
|
57
|
+
return __classPrivateFieldGet(this, _next);
|
|
56
58
|
}
|
|
57
59
|
get previous() {
|
|
58
|
-
return __classPrivateFieldGet(this,
|
|
60
|
+
return __classPrivateFieldGet(this, _previous);
|
|
59
61
|
}
|
|
60
62
|
toJSON() {
|
|
61
63
|
return {
|
|
@@ -69,5 +71,5 @@ class Pagination extends abstractEntity_1.AbstractEntity {
|
|
|
69
71
|
}
|
|
70
72
|
}
|
|
71
73
|
exports.Pagination = Pagination;
|
|
72
|
-
|
|
74
|
+
_perPage = new WeakMap(), _currentPage = new WeakMap(), _totalPage = new WeakMap(), _total = new WeakMap(), _next = new WeakMap(), _previous = new WeakMap();
|
|
73
75
|
//# sourceMappingURL=pagination.js.map
|
package/build/security/index.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
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
|
-
|
|
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);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
|
|
3
|
+
if (!privateMap.has(receiver)) {
|
|
4
|
+
throw new TypeError("attempted to set private field on non-instance");
|
|
5
|
+
}
|
|
6
|
+
privateMap.set(receiver, value);
|
|
7
|
+
return value;
|
|
7
8
|
};
|
|
8
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver,
|
|
9
|
-
if (
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {
|
|
10
|
+
if (!privateMap.has(receiver)) {
|
|
11
|
+
throw new TypeError("attempted to get private field on non-instance");
|
|
12
|
+
}
|
|
13
|
+
return privateMap.get(receiver);
|
|
12
14
|
};
|
|
13
|
-
var
|
|
15
|
+
var _registrationLink;
|
|
14
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
17
|
exports.RegistrationLink = exports.RegistrationLinkFields = void 0;
|
|
16
18
|
const abstractEntity_1 = require("../../../abstractEntity");
|
|
@@ -21,11 +23,11 @@ var RegistrationLinkFields;
|
|
|
21
23
|
class RegistrationLink extends abstractEntity_1.AbstractEntity {
|
|
22
24
|
constructor(registrationLinkInput) {
|
|
23
25
|
super(registrationLinkInput);
|
|
24
|
-
|
|
25
|
-
__classPrivateFieldSet(this,
|
|
26
|
+
_registrationLink.set(this, void 0);
|
|
27
|
+
__classPrivateFieldSet(this, _registrationLink, registrationLinkInput[RegistrationLinkFields.COLUMN_REGISTRATION_LINK]);
|
|
26
28
|
}
|
|
27
29
|
get registrationLink() {
|
|
28
|
-
return __classPrivateFieldGet(this,
|
|
30
|
+
return __classPrivateFieldGet(this, _registrationLink);
|
|
29
31
|
}
|
|
30
32
|
toJSON() {
|
|
31
33
|
return {
|
|
@@ -34,5 +36,5 @@ class RegistrationLink extends abstractEntity_1.AbstractEntity {
|
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
38
|
exports.RegistrationLink = RegistrationLink;
|
|
37
|
-
|
|
39
|
+
_registrationLink = new WeakMap();
|
|
38
40
|
//# sourceMappingURL=registrationLink.js.map
|
|
@@ -1,11 +1,7 @@
|
|
|
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
|
-
|
|
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);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|