@arrowsphere/api-client 1.0.2 → 2.1.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 +72 -3
- package/README.md +2 -1
- package/UPGRADING.md +43 -0
- package/build/licenses/entities/filterFindResult.d.ts +2 -2
- package/build/licenses/entities/findResult.d.ts +17 -9
- package/build/licenses/entities/findResult.js +4 -4
- package/build/licenses/entities/getLicense/actionMessagesGetResult.d.ts +25 -0
- package/build/licenses/entities/getLicense/actionMessagesGetResult.js +69 -0
- package/build/licenses/entities/getLicense/actionsGetResult.d.ts +40 -0
- package/build/licenses/entities/getLicense/actionsGetResult.js +103 -0
- package/build/licenses/entities/getLicense/buySellFindResult.d.ts +16 -0
- package/build/licenses/entities/getLicense/buySellFindResult.js +47 -0
- package/build/licenses/entities/getLicense/licenseGetResult.d.ts +93 -0
- package/build/licenses/entities/getLicense/licenseGetResult.js +244 -0
- package/build/licenses/entities/getLicense/licensePriceGetResult.d.ts +17 -0
- package/build/licenses/entities/getLicense/licensePriceGetResult.js +56 -0
- package/build/licenses/entities/getLicense/orderGetResult.d.ts +16 -0
- package/build/licenses/entities/getLicense/orderGetResult.js +47 -0
- package/build/licenses/entities/license/activeSeatsFindResult.d.ts +33 -0
- package/build/licenses/entities/license/activeSeatsFindResult.js +47 -0
- package/build/licenses/entities/license/configFindResult.d.ts +37 -0
- package/build/licenses/entities/license/configFindResult.js +59 -0
- package/build/licenses/entities/license/licenseFindResult.d.ts +266 -13
- package/build/licenses/entities/license/licenseFindResult.js +324 -13
- package/build/licenses/entities/license/priceFindResult.d.ts +54 -0
- package/build/licenses/entities/license/priceFindResult.js +76 -0
- package/build/licenses/entities/license/warningFindResult.d.ts +33 -0
- package/build/licenses/entities/license/warningFindResult.js +51 -0
- package/build/licenses/entities/offer/actionFlagsFindResult.d.ts +37 -0
- package/build/licenses/entities/offer/actionFlagsFindResult.js +59 -0
- package/build/licenses/entities/offer/offerFindResult.d.ts +63 -0
- package/build/licenses/entities/offer/offerFindResult.js +109 -0
- package/build/licenses/entities/offer/priceBandFindResult.d.ts +72 -0
- package/build/licenses/entities/offer/priceBandFindResult.js +131 -0
- package/build/licenses/entities/offer/priceband/billingFindResult.d.ts +37 -0
- package/build/licenses/entities/offer/priceband/billingFindResult.js +59 -0
- package/build/licenses/entities/offer/priceband/identifiers/arrowsphereFindResult.d.ts +25 -0
- package/build/licenses/entities/offer/priceband/identifiers/arrowsphereFindResult.js +43 -0
- package/build/licenses/entities/offer/priceband/identifiersFindResult.d.ts +25 -0
- package/build/licenses/entities/offer/priceband/identifiersFindResult.js +47 -0
- package/build/licenses/entities/offer/priceband/priceBandActionFlagsFindResult.d.ts +49 -0
- package/build/licenses/entities/offer/priceband/priceBandActionFlagsFindResult.js +80 -0
- package/build/licenses/entities/offer/priceband/priceBandPriceFindResult.d.ts +37 -0
- package/build/licenses/entities/offer/priceband/priceBandPriceFindResult.js +59 -0
- package/build/licenses/entities/offer/priceband/saleConstraintsFindResult.d.ts +29 -0
- package/build/licenses/entities/offer/priceband/saleConstraintsFindResult.js +47 -0
- package/build/licenses/index.d.ts +20 -3
- package/build/licenses/index.js +20 -3
- package/build/licenses/licensesClient.d.ts +94 -22
- package/build/licenses/licensesClient.js +90 -6
- package/build/publicApiClient.js +3 -1
- package/package.json +2 -2
- package/build/licenses/entities/license/abstractLicense.d.ts +0 -177
- package/build/licenses/entities/license/abstractLicense.js +0 -363
- package/build/licenses/entities/offer/licenseOfferFindResult.d.ts +0 -108
- package/build/licenses/entities/offer/licenseOfferFindResult.js +0 -232
|
@@ -12,18 +12,60 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
12
12
|
}
|
|
13
13
|
return privateMap.get(receiver);
|
|
14
14
|
};
|
|
15
|
-
var _highlight;
|
|
15
|
+
var _acceptEula, _activeSeats, _autoRenew, _baseSeat, _category, _classification, _configs, _warnings, _customerName, _customerRef, _endDate, _friendlyName, _id, _enabled, _lastUpdate, _marketplace, _message, _offer, _parentLineId, _parentOrderRef, _partnerRef, _periodicity, _price, _resellerName, _resellerRef, _seat, _serviceRef, _sku, _startDate, _statusCode, _statusLabel, _subscriptionId, _subsidiaryName, _term, _trial, _type, _uom, _vendorCode, _vendorName, _vendorSubscriptionId, _highlight;
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.LicenseFindResult = exports.LicenseFindResultFields = void 0;
|
|
18
|
-
const
|
|
18
|
+
const activeSeatsFindResult_1 = require("./activeSeatsFindResult");
|
|
19
|
+
const abstractEntity_1 = require("../../../abstractEntity");
|
|
20
|
+
const priceFindResult_1 = require("./priceFindResult");
|
|
19
21
|
/**
|
|
20
|
-
* License
|
|
22
|
+
* Fields that can be present in License response and request data.
|
|
21
23
|
*/
|
|
22
24
|
var LicenseFindResultFields;
|
|
23
25
|
(function (LicenseFindResultFields) {
|
|
26
|
+
LicenseFindResultFields["COLUMN_ACCEPT_EULA"] = "accept_eula";
|
|
27
|
+
LicenseFindResultFields["COLUMN_ACTIVE_SEATS"] = "active_seats";
|
|
28
|
+
LicenseFindResultFields["COLUMN_AUTO_RENEW"] = "auto_renew";
|
|
29
|
+
LicenseFindResultFields["COLUMN_BASE_SEAT"] = "base_seat";
|
|
30
|
+
LicenseFindResultFields["COLUMN_CATEGORY"] = "category";
|
|
31
|
+
LicenseFindResultFields["COLUMN_CLOUD_TYPE"] = "cloud_type";
|
|
32
|
+
LicenseFindResultFields["COLUMN_CONFIGS"] = "configs";
|
|
33
|
+
LicenseFindResultFields["COLUMN_WARNINGS"] = "warnings";
|
|
34
|
+
LicenseFindResultFields["COLUMN_CUSTOMER_NAME"] = "customer_name";
|
|
35
|
+
LicenseFindResultFields["COLUMN_CUSTOMER_REF"] = "customer_ref";
|
|
36
|
+
LicenseFindResultFields["COLUMN_END_DATE"] = "end_date";
|
|
37
|
+
LicenseFindResultFields["COLUMN_FRIENDLY_NAME"] = "friendly_name";
|
|
38
|
+
LicenseFindResultFields["COLUMN_ID"] = "id";
|
|
39
|
+
LicenseFindResultFields["COLUMN_IS_ENABLED"] = "isEnabled";
|
|
40
|
+
LicenseFindResultFields["COLUMN_LAST_UPDATE"] = "lastUpdate";
|
|
41
|
+
LicenseFindResultFields["COLUMN_MARKETPLACE"] = "marketplace";
|
|
42
|
+
LicenseFindResultFields["COLUMN_MESSAGE"] = "message";
|
|
43
|
+
LicenseFindResultFields["COLUMN_OFFER"] = "offer";
|
|
44
|
+
LicenseFindResultFields["COLUMN_PARENT_LINE_ID"] = "parent_line_id";
|
|
45
|
+
LicenseFindResultFields["COLUMN_PARENT_ORDER_REF"] = "parent_order_ref";
|
|
46
|
+
LicenseFindResultFields["COLUMN_PARTNER_REF"] = "partner_ref";
|
|
47
|
+
LicenseFindResultFields["COLUMN_PERIODICITY"] = "periodicity";
|
|
48
|
+
LicenseFindResultFields["COLUMN_PRICE"] = "price";
|
|
49
|
+
LicenseFindResultFields["COLUMN_RESELLER_NAME"] = "reseller_name";
|
|
50
|
+
LicenseFindResultFields["COLUMN_RESELLER_REF"] = "reseller_ref";
|
|
51
|
+
LicenseFindResultFields["COLUMN_SEAT"] = "seat";
|
|
52
|
+
LicenseFindResultFields["COLUMN_SERVICE_REF"] = "service_ref";
|
|
53
|
+
LicenseFindResultFields["COLUMN_SKU"] = "sku";
|
|
54
|
+
LicenseFindResultFields["COLUMN_START_DATE"] = "start_date";
|
|
55
|
+
LicenseFindResultFields["COLUMN_STATUS_CODE"] = "status_code";
|
|
56
|
+
LicenseFindResultFields["COLUMN_STATUS_LABEL"] = "status_label";
|
|
57
|
+
LicenseFindResultFields["COLUMN_SUBSCRIPTION_ID"] = "subscription_id";
|
|
58
|
+
LicenseFindResultFields["COLUMN_SUBSIDIARY_NAME"] = "subsidiary_name";
|
|
59
|
+
LicenseFindResultFields["COLUMN_TERM"] = "term";
|
|
60
|
+
LicenseFindResultFields["COLUMN_TRIAL"] = "trial";
|
|
61
|
+
LicenseFindResultFields["COLUMN_TYPE"] = "type";
|
|
62
|
+
LicenseFindResultFields["COLUMN_UOM"] = "uom";
|
|
63
|
+
LicenseFindResultFields["COLUMN_VENDOR_CODE"] = "vendor_code";
|
|
64
|
+
LicenseFindResultFields["COLUMN_VENDOR_NAME"] = "vendor_name";
|
|
65
|
+
LicenseFindResultFields["COLUMN_VENDOR_SUBSCRIPTION_ID"] = "vendor_subscription_id";
|
|
24
66
|
LicenseFindResultFields["COLUMN_HIGHLIGHT"] = "highlight";
|
|
25
67
|
})(LicenseFindResultFields = exports.LicenseFindResultFields || (exports.LicenseFindResultFields = {}));
|
|
26
|
-
class LicenseFindResult extends
|
|
68
|
+
class LicenseFindResult extends abstractEntity_1.AbstractEntity {
|
|
27
69
|
/**
|
|
28
70
|
* LicenseFindResult constructor.
|
|
29
71
|
*
|
|
@@ -32,29 +74,298 @@ class LicenseFindResult extends abstractLicense_1.AbstractLicense {
|
|
|
32
74
|
constructor(data) {
|
|
33
75
|
var _a;
|
|
34
76
|
super(data);
|
|
35
|
-
_highlight.set(this, void 0);
|
|
36
77
|
this.VALIDATION_RULES = {
|
|
37
|
-
|
|
78
|
+
[LicenseFindResultFields.COLUMN_ACCEPT_EULA]: 'present|boolean',
|
|
79
|
+
[LicenseFindResultFields.COLUMN_AUTO_RENEW]: 'present|boolean',
|
|
80
|
+
[LicenseFindResultFields.COLUMN_BASE_SEAT]: 'present|numeric',
|
|
81
|
+
[LicenseFindResultFields.COLUMN_CLOUD_TYPE]: 'required',
|
|
82
|
+
[LicenseFindResultFields.COLUMN_ID]: 'required|numeric',
|
|
83
|
+
[LicenseFindResultFields.COLUMN_OFFER]: 'required',
|
|
84
|
+
[LicenseFindResultFields.COLUMN_PARTNER_REF]: 'required',
|
|
85
|
+
[LicenseFindResultFields.COLUMN_PRICE]: 'required|object',
|
|
86
|
+
[LicenseFindResultFields.COLUMN_SEAT]: 'present|numeric',
|
|
87
|
+
[LicenseFindResultFields.COLUMN_SKU]: 'required',
|
|
88
|
+
[LicenseFindResultFields.COLUMN_STATUS_CODE]: 'required|numeric',
|
|
89
|
+
[LicenseFindResultFields.COLUMN_STATUS_LABEL]: 'required',
|
|
90
|
+
[LicenseFindResultFields.COLUMN_SUBSCRIPTION_ID]: 'required',
|
|
91
|
+
[LicenseFindResultFields.COLUMN_SUBSIDIARY_NAME]: 'required',
|
|
92
|
+
[LicenseFindResultFields.COLUMN_TRIAL]: 'present|boolean',
|
|
93
|
+
[LicenseFindResultFields.COLUMN_VENDOR_NAME]: 'required',
|
|
94
|
+
[LicenseFindResultFields.COLUMN_VENDOR_CODE]: 'required',
|
|
38
95
|
[LicenseFindResultFields.COLUMN_HIGHLIGHT]: 'object',
|
|
39
96
|
};
|
|
97
|
+
_acceptEula.set(this, void 0);
|
|
98
|
+
_activeSeats.set(this, void 0);
|
|
99
|
+
_autoRenew.set(this, void 0);
|
|
100
|
+
_baseSeat.set(this, void 0);
|
|
101
|
+
_category.set(this, void 0);
|
|
102
|
+
_classification.set(this, void 0);
|
|
103
|
+
_configs.set(this, void 0);
|
|
104
|
+
_warnings.set(this, void 0);
|
|
105
|
+
_customerName.set(this, void 0);
|
|
106
|
+
_customerRef.set(this, void 0);
|
|
107
|
+
_endDate.set(this, void 0);
|
|
108
|
+
_friendlyName.set(this, void 0);
|
|
109
|
+
_id.set(this, void 0);
|
|
110
|
+
_enabled.set(this, void 0);
|
|
111
|
+
_lastUpdate.set(this, void 0);
|
|
112
|
+
_marketplace.set(this, void 0);
|
|
113
|
+
_message.set(this, void 0);
|
|
114
|
+
_offer.set(this, void 0);
|
|
115
|
+
_parentLineId.set(this, void 0);
|
|
116
|
+
_parentOrderRef.set(this, void 0);
|
|
117
|
+
_partnerRef.set(this, void 0);
|
|
118
|
+
_periodicity.set(this, void 0);
|
|
119
|
+
_price.set(this, void 0);
|
|
120
|
+
_resellerName.set(this, void 0);
|
|
121
|
+
_resellerRef.set(this, void 0);
|
|
122
|
+
_seat.set(this, void 0);
|
|
123
|
+
_serviceRef.set(this, void 0);
|
|
124
|
+
_sku.set(this, void 0);
|
|
125
|
+
_startDate.set(this, void 0);
|
|
126
|
+
_statusCode.set(this, void 0);
|
|
127
|
+
_statusLabel.set(this, void 0);
|
|
128
|
+
_subscriptionId.set(this, void 0);
|
|
129
|
+
_subsidiaryName.set(this, void 0);
|
|
130
|
+
_term.set(this, void 0);
|
|
131
|
+
_trial.set(this, void 0);
|
|
132
|
+
_type.set(this, void 0);
|
|
133
|
+
_uom.set(this, void 0);
|
|
134
|
+
_vendorCode.set(this, void 0);
|
|
135
|
+
_vendorName.set(this, void 0);
|
|
136
|
+
_vendorSubscriptionId.set(this, void 0);
|
|
137
|
+
_highlight.set(this, void 0);
|
|
138
|
+
__classPrivateFieldSet(this, _acceptEula, data[LicenseFindResultFields.COLUMN_ACCEPT_EULA]);
|
|
139
|
+
const activeSeats = {
|
|
140
|
+
[activeSeatsFindResult_1.ActiveSeatsFindResultFields.COLUMN_LAST_UPDATE]: data[LicenseFindResultFields.COLUMN_ACTIVE_SEATS][activeSeatsFindResult_1.ActiveSeatsFindResultFields.COLUMN_LAST_UPDATE],
|
|
141
|
+
[activeSeatsFindResult_1.ActiveSeatsFindResultFields.COLUMN_NUMBER]: data[LicenseFindResultFields.COLUMN_ACTIVE_SEATS][activeSeatsFindResult_1.ActiveSeatsFindResultFields.COLUMN_NUMBER],
|
|
142
|
+
};
|
|
143
|
+
__classPrivateFieldSet(this, _activeSeats, new activeSeatsFindResult_1.ActiveSeatsFindResult(activeSeats));
|
|
144
|
+
__classPrivateFieldSet(this, _autoRenew, data[LicenseFindResultFields.COLUMN_AUTO_RENEW]);
|
|
145
|
+
__classPrivateFieldSet(this, _baseSeat, data[LicenseFindResultFields.COLUMN_BASE_SEAT]);
|
|
146
|
+
__classPrivateFieldSet(this, _category, data[LicenseFindResultFields.COLUMN_CATEGORY]);
|
|
147
|
+
__classPrivateFieldSet(this, _classification, data[LicenseFindResultFields.COLUMN_CLOUD_TYPE]);
|
|
148
|
+
if (typeof data[LicenseFindResultFields.COLUMN_CONFIGS] !== 'undefined') {
|
|
149
|
+
__classPrivateFieldSet(this, _configs, data === null || data === void 0 ? void 0 : data[LicenseFindResultFields.COLUMN_CONFIGS]);
|
|
150
|
+
}
|
|
151
|
+
if (typeof data[LicenseFindResultFields.COLUMN_WARNINGS] !== 'undefined') {
|
|
152
|
+
__classPrivateFieldSet(this, _warnings, data === null || data === void 0 ? void 0 : data[LicenseFindResultFields.COLUMN_WARNINGS]);
|
|
153
|
+
}
|
|
154
|
+
__classPrivateFieldSet(this, _customerName, data[LicenseFindResultFields.COLUMN_CUSTOMER_NAME]);
|
|
155
|
+
__classPrivateFieldSet(this, _customerRef, data[LicenseFindResultFields.COLUMN_CUSTOMER_REF]);
|
|
156
|
+
__classPrivateFieldSet(this, _endDate, data[LicenseFindResultFields.COLUMN_END_DATE]);
|
|
157
|
+
__classPrivateFieldSet(this, _friendlyName, data[LicenseFindResultFields.COLUMN_FRIENDLY_NAME]);
|
|
158
|
+
__classPrivateFieldSet(this, _id, data[LicenseFindResultFields.COLUMN_ID]);
|
|
159
|
+
__classPrivateFieldSet(this, _enabled, data[LicenseFindResultFields.COLUMN_IS_ENABLED]);
|
|
160
|
+
__classPrivateFieldSet(this, _lastUpdate, data[LicenseFindResultFields.COLUMN_LAST_UPDATE]);
|
|
161
|
+
__classPrivateFieldSet(this, _marketplace, data[LicenseFindResultFields.COLUMN_MARKETPLACE]);
|
|
162
|
+
__classPrivateFieldSet(this, _message, data[LicenseFindResultFields.COLUMN_MESSAGE]);
|
|
163
|
+
__classPrivateFieldSet(this, _offer, data[LicenseFindResultFields.COLUMN_OFFER]);
|
|
164
|
+
__classPrivateFieldSet(this, _parentLineId, data[LicenseFindResultFields.COLUMN_PARENT_LINE_ID]);
|
|
165
|
+
__classPrivateFieldSet(this, _parentOrderRef, data[LicenseFindResultFields.COLUMN_PARENT_ORDER_REF]);
|
|
166
|
+
__classPrivateFieldSet(this, _partnerRef, data[LicenseFindResultFields.COLUMN_PARTNER_REF]);
|
|
167
|
+
__classPrivateFieldSet(this, _periodicity, data[LicenseFindResultFields.COLUMN_PERIODICITY]);
|
|
168
|
+
const price = {
|
|
169
|
+
[priceFindResult_1.PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU]: data[LicenseFindResultFields.COLUMN_PRICE][priceFindResult_1.PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU],
|
|
170
|
+
[priceFindResult_1.PriceFindResultFields.COLUMN_BUY_PRICE]: data[LicenseFindResultFields.COLUMN_PRICE][priceFindResult_1.PriceFindResultFields.COLUMN_BUY_PRICE],
|
|
171
|
+
[priceFindResult_1.PriceFindResultFields.COLUMN_SELL_PRICE]: data[LicenseFindResultFields.COLUMN_PRICE][priceFindResult_1.PriceFindResultFields.COLUMN_SELL_PRICE],
|
|
172
|
+
[priceFindResult_1.PriceFindResultFields.COLUMN_LIST_PRICE]: data[LicenseFindResultFields.COLUMN_PRICE][priceFindResult_1.PriceFindResultFields.COLUMN_LIST_PRICE],
|
|
173
|
+
[priceFindResult_1.PriceFindResultFields.COLUMN_CURRENCY]: data[LicenseFindResultFields.COLUMN_PRICE][priceFindResult_1.PriceFindResultFields.COLUMN_CURRENCY],
|
|
174
|
+
};
|
|
175
|
+
__classPrivateFieldSet(this, _price, new priceFindResult_1.PriceFindResult(price));
|
|
176
|
+
__classPrivateFieldSet(this, _resellerName, data[LicenseFindResultFields.COLUMN_RESELLER_NAME]);
|
|
177
|
+
__classPrivateFieldSet(this, _resellerRef, data[LicenseFindResultFields.COLUMN_RESELLER_REF]);
|
|
178
|
+
__classPrivateFieldSet(this, _seat, data[LicenseFindResultFields.COLUMN_SEAT]);
|
|
179
|
+
__classPrivateFieldSet(this, _serviceRef, data[LicenseFindResultFields.COLUMN_SERVICE_REF]);
|
|
180
|
+
__classPrivateFieldSet(this, _sku, data[LicenseFindResultFields.COLUMN_SKU]);
|
|
181
|
+
__classPrivateFieldSet(this, _startDate, data[LicenseFindResultFields.COLUMN_START_DATE]);
|
|
182
|
+
__classPrivateFieldSet(this, _statusCode, data[LicenseFindResultFields.COLUMN_STATUS_CODE]);
|
|
183
|
+
__classPrivateFieldSet(this, _statusLabel, data[LicenseFindResultFields.COLUMN_STATUS_LABEL]);
|
|
184
|
+
__classPrivateFieldSet(this, _subscriptionId, data[LicenseFindResultFields.COLUMN_SUBSCRIPTION_ID]);
|
|
185
|
+
__classPrivateFieldSet(this, _subsidiaryName, data[LicenseFindResultFields.COLUMN_SUBSIDIARY_NAME]);
|
|
186
|
+
__classPrivateFieldSet(this, _term, data[LicenseFindResultFields.COLUMN_TERM]);
|
|
187
|
+
__classPrivateFieldSet(this, _trial, data[LicenseFindResultFields.COLUMN_TRIAL]);
|
|
188
|
+
__classPrivateFieldSet(this, _type, data[LicenseFindResultFields.COLUMN_TYPE]);
|
|
189
|
+
__classPrivateFieldSet(this, _uom, data[LicenseFindResultFields.COLUMN_UOM]);
|
|
190
|
+
__classPrivateFieldSet(this, _vendorCode, data[LicenseFindResultFields.COLUMN_VENDOR_CODE]);
|
|
191
|
+
__classPrivateFieldSet(this, _vendorName, data[LicenseFindResultFields.COLUMN_VENDOR_NAME]);
|
|
192
|
+
__classPrivateFieldSet(this, _vendorSubscriptionId, data[LicenseFindResultFields.COLUMN_VENDOR_SUBSCRIPTION_ID]);
|
|
40
193
|
__classPrivateFieldSet(this, _highlight, (_a = data[LicenseFindResultFields.COLUMN_HIGHLIGHT]) !== null && _a !== void 0 ? _a : {});
|
|
41
194
|
}
|
|
195
|
+
get id() {
|
|
196
|
+
return __classPrivateFieldGet(this, _id);
|
|
197
|
+
}
|
|
198
|
+
get acceptEula() {
|
|
199
|
+
return __classPrivateFieldGet(this, _acceptEula);
|
|
200
|
+
}
|
|
201
|
+
get activeSeats() {
|
|
202
|
+
return __classPrivateFieldGet(this, _activeSeats);
|
|
203
|
+
}
|
|
204
|
+
get autoRenew() {
|
|
205
|
+
return __classPrivateFieldGet(this, _autoRenew);
|
|
206
|
+
}
|
|
207
|
+
get baseSeat() {
|
|
208
|
+
return __classPrivateFieldGet(this, _baseSeat);
|
|
209
|
+
}
|
|
210
|
+
get category() {
|
|
211
|
+
return __classPrivateFieldGet(this, _category);
|
|
212
|
+
}
|
|
213
|
+
get classification() {
|
|
214
|
+
return __classPrivateFieldGet(this, _classification);
|
|
215
|
+
}
|
|
216
|
+
get configs() {
|
|
217
|
+
return __classPrivateFieldGet(this, _configs);
|
|
218
|
+
}
|
|
219
|
+
get warnings() {
|
|
220
|
+
return __classPrivateFieldGet(this, _warnings);
|
|
221
|
+
}
|
|
222
|
+
get customerName() {
|
|
223
|
+
return __classPrivateFieldGet(this, _customerName);
|
|
224
|
+
}
|
|
225
|
+
get customerRef() {
|
|
226
|
+
return __classPrivateFieldGet(this, _customerRef);
|
|
227
|
+
}
|
|
228
|
+
get endDate() {
|
|
229
|
+
return __classPrivateFieldGet(this, _endDate);
|
|
230
|
+
}
|
|
231
|
+
get friendlyName() {
|
|
232
|
+
return __classPrivateFieldGet(this, _friendlyName);
|
|
233
|
+
}
|
|
234
|
+
get enabled() {
|
|
235
|
+
return __classPrivateFieldGet(this, _enabled);
|
|
236
|
+
}
|
|
237
|
+
get lastUpdate() {
|
|
238
|
+
return __classPrivateFieldGet(this, _lastUpdate);
|
|
239
|
+
}
|
|
240
|
+
get marketplace() {
|
|
241
|
+
return __classPrivateFieldGet(this, _marketplace);
|
|
242
|
+
}
|
|
243
|
+
get message() {
|
|
244
|
+
return __classPrivateFieldGet(this, _message);
|
|
245
|
+
}
|
|
246
|
+
get offer() {
|
|
247
|
+
return __classPrivateFieldGet(this, _offer);
|
|
248
|
+
}
|
|
249
|
+
get parentLineId() {
|
|
250
|
+
return __classPrivateFieldGet(this, _parentLineId);
|
|
251
|
+
}
|
|
252
|
+
get parentOrderRef() {
|
|
253
|
+
return __classPrivateFieldGet(this, _parentOrderRef);
|
|
254
|
+
}
|
|
255
|
+
get partnerRef() {
|
|
256
|
+
return __classPrivateFieldGet(this, _partnerRef);
|
|
257
|
+
}
|
|
258
|
+
get periodicity() {
|
|
259
|
+
return __classPrivateFieldGet(this, _periodicity);
|
|
260
|
+
}
|
|
261
|
+
get price() {
|
|
262
|
+
return __classPrivateFieldGet(this, _price);
|
|
263
|
+
}
|
|
264
|
+
get resellerName() {
|
|
265
|
+
return __classPrivateFieldGet(this, _resellerName);
|
|
266
|
+
}
|
|
267
|
+
get resellerRef() {
|
|
268
|
+
return __classPrivateFieldGet(this, _resellerRef);
|
|
269
|
+
}
|
|
270
|
+
get seat() {
|
|
271
|
+
return __classPrivateFieldGet(this, _seat);
|
|
272
|
+
}
|
|
273
|
+
get serviceRef() {
|
|
274
|
+
return __classPrivateFieldGet(this, _serviceRef);
|
|
275
|
+
}
|
|
276
|
+
get sku() {
|
|
277
|
+
return __classPrivateFieldGet(this, _sku);
|
|
278
|
+
}
|
|
279
|
+
get startDate() {
|
|
280
|
+
return __classPrivateFieldGet(this, _startDate);
|
|
281
|
+
}
|
|
282
|
+
get statusCode() {
|
|
283
|
+
return __classPrivateFieldGet(this, _statusCode);
|
|
284
|
+
}
|
|
285
|
+
get statusLabel() {
|
|
286
|
+
return __classPrivateFieldGet(this, _statusLabel);
|
|
287
|
+
}
|
|
288
|
+
get subscriptionId() {
|
|
289
|
+
return __classPrivateFieldGet(this, _subscriptionId);
|
|
290
|
+
}
|
|
291
|
+
get subsidiaryName() {
|
|
292
|
+
return __classPrivateFieldGet(this, _subsidiaryName);
|
|
293
|
+
}
|
|
294
|
+
get term() {
|
|
295
|
+
return __classPrivateFieldGet(this, _term);
|
|
296
|
+
}
|
|
297
|
+
isTrial() {
|
|
298
|
+
return __classPrivateFieldGet(this, _trial);
|
|
299
|
+
}
|
|
300
|
+
get type() {
|
|
301
|
+
return __classPrivateFieldGet(this, _type);
|
|
302
|
+
}
|
|
303
|
+
get uom() {
|
|
304
|
+
return __classPrivateFieldGet(this, _uom);
|
|
305
|
+
}
|
|
306
|
+
get vendorCode() {
|
|
307
|
+
return __classPrivateFieldGet(this, _vendorCode);
|
|
308
|
+
}
|
|
309
|
+
get vendorName() {
|
|
310
|
+
return __classPrivateFieldGet(this, _vendorName);
|
|
311
|
+
}
|
|
312
|
+
get vendorSubscriptionId() {
|
|
313
|
+
return __classPrivateFieldGet(this, _vendorSubscriptionId);
|
|
314
|
+
}
|
|
42
315
|
get highlight() {
|
|
43
316
|
return __classPrivateFieldGet(this, _highlight);
|
|
44
317
|
}
|
|
45
318
|
/**
|
|
46
|
-
* Plain JSON object representation of the
|
|
47
|
-
* @returns {@link
|
|
319
|
+
* Plain JSON object representation of the license entity.
|
|
320
|
+
* @returns {@link LicenseData}
|
|
48
321
|
*/
|
|
49
322
|
toJSON() {
|
|
50
323
|
return {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
324
|
+
[LicenseFindResultFields.COLUMN_ACCEPT_EULA]: this.acceptEula,
|
|
325
|
+
[LicenseFindResultFields.COLUMN_ACTIVE_SEATS]: this.activeSeats.toJSON(),
|
|
326
|
+
[LicenseFindResultFields.COLUMN_AUTO_RENEW]: this.autoRenew,
|
|
327
|
+
[LicenseFindResultFields.COLUMN_BASE_SEAT]: this.baseSeat,
|
|
328
|
+
[LicenseFindResultFields.COLUMN_CATEGORY]: this.category,
|
|
329
|
+
[LicenseFindResultFields.COLUMN_CLOUD_TYPE]: this.classification,
|
|
330
|
+
[LicenseFindResultFields.COLUMN_CONFIGS]: this.configs,
|
|
331
|
+
[LicenseFindResultFields.COLUMN_WARNINGS]: this.warnings,
|
|
332
|
+
[LicenseFindResultFields.COLUMN_CUSTOMER_NAME]: this.customerName,
|
|
333
|
+
[LicenseFindResultFields.COLUMN_CUSTOMER_REF]: this.customerRef,
|
|
334
|
+
[LicenseFindResultFields.COLUMN_END_DATE]: this.endDate,
|
|
335
|
+
[LicenseFindResultFields.COLUMN_FRIENDLY_NAME]: this.friendlyName,
|
|
336
|
+
[LicenseFindResultFields.COLUMN_ID]: this.id,
|
|
337
|
+
[LicenseFindResultFields.COLUMN_IS_ENABLED]: this.enabled,
|
|
338
|
+
[LicenseFindResultFields.COLUMN_LAST_UPDATE]: this.lastUpdate,
|
|
339
|
+
[LicenseFindResultFields.COLUMN_MARKETPLACE]: this.marketplace,
|
|
340
|
+
[LicenseFindResultFields.COLUMN_MESSAGE]: this.message,
|
|
341
|
+
[LicenseFindResultFields.COLUMN_OFFER]: this.offer,
|
|
342
|
+
[LicenseFindResultFields.COLUMN_PARENT_LINE_ID]: this.parentLineId,
|
|
343
|
+
[LicenseFindResultFields.COLUMN_PARENT_ORDER_REF]: this.parentOrderRef,
|
|
344
|
+
[LicenseFindResultFields.COLUMN_PARTNER_REF]: this.partnerRef,
|
|
345
|
+
[LicenseFindResultFields.COLUMN_PERIODICITY]: this.periodicity,
|
|
346
|
+
[LicenseFindResultFields.COLUMN_PRICE]: this.price.toJSON(),
|
|
347
|
+
[LicenseFindResultFields.COLUMN_RESELLER_NAME]: this.resellerName,
|
|
348
|
+
[LicenseFindResultFields.COLUMN_RESELLER_REF]: this.resellerRef,
|
|
349
|
+
[LicenseFindResultFields.COLUMN_SEAT]: this.seat,
|
|
350
|
+
[LicenseFindResultFields.COLUMN_SERVICE_REF]: this.serviceRef,
|
|
351
|
+
[LicenseFindResultFields.COLUMN_SKU]: this.sku,
|
|
352
|
+
[LicenseFindResultFields.COLUMN_START_DATE]: this.startDate,
|
|
353
|
+
[LicenseFindResultFields.COLUMN_STATUS_CODE]: this.statusCode,
|
|
354
|
+
[LicenseFindResultFields.COLUMN_STATUS_LABEL]: this.statusLabel,
|
|
355
|
+
[LicenseFindResultFields.COLUMN_SUBSCRIPTION_ID]: this.subscriptionId,
|
|
356
|
+
[LicenseFindResultFields.COLUMN_SUBSIDIARY_NAME]: this.subsidiaryName,
|
|
357
|
+
[LicenseFindResultFields.COLUMN_TERM]: this.term,
|
|
358
|
+
[LicenseFindResultFields.COLUMN_TRIAL]: this.isTrial(),
|
|
359
|
+
[LicenseFindResultFields.COLUMN_TYPE]: this.type,
|
|
360
|
+
[LicenseFindResultFields.COLUMN_UOM]: this.uom,
|
|
361
|
+
[LicenseFindResultFields.COLUMN_VENDOR_CODE]: this.vendorCode,
|
|
362
|
+
[LicenseFindResultFields.COLUMN_VENDOR_NAME]: this.vendorName,
|
|
363
|
+
[LicenseFindResultFields.COLUMN_VENDOR_SUBSCRIPTION_ID]: this
|
|
364
|
+
.vendorSubscriptionId,
|
|
365
|
+
[LicenseFindResultFields.COLUMN_HIGHLIGHT]: this.highlight,
|
|
55
366
|
};
|
|
56
367
|
}
|
|
57
368
|
}
|
|
58
369
|
exports.LicenseFindResult = LicenseFindResult;
|
|
59
|
-
_highlight = new WeakMap();
|
|
370
|
+
_acceptEula = new WeakMap(), _activeSeats = new WeakMap(), _autoRenew = new WeakMap(), _baseSeat = new WeakMap(), _category = new WeakMap(), _classification = new WeakMap(), _configs = new WeakMap(), _warnings = new WeakMap(), _customerName = new WeakMap(), _customerRef = new WeakMap(), _endDate = new WeakMap(), _friendlyName = new WeakMap(), _id = new WeakMap(), _enabled = new WeakMap(), _lastUpdate = new WeakMap(), _marketplace = new WeakMap(), _message = new WeakMap(), _offer = new WeakMap(), _parentLineId = new WeakMap(), _parentOrderRef = new WeakMap(), _partnerRef = new WeakMap(), _periodicity = new WeakMap(), _price = new WeakMap(), _resellerName = new WeakMap(), _resellerRef = new WeakMap(), _seat = new WeakMap(), _serviceRef = new WeakMap(), _sku = new WeakMap(), _startDate = new WeakMap(), _statusCode = new WeakMap(), _statusLabel = new WeakMap(), _subscriptionId = new WeakMap(), _subsidiaryName = new WeakMap(), _term = new WeakMap(), _trial = new WeakMap(), _type = new WeakMap(), _uom = new WeakMap(), _vendorCode = new WeakMap(), _vendorName = new WeakMap(), _vendorSubscriptionId = new WeakMap(), _highlight = new WeakMap();
|
|
60
371
|
//# sourceMappingURL=licenseFindResult.js.map
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { DataKeywords, FiltersParameters, SortParameters } from '../../licensesClient';
|
|
2
|
+
import { AbstractEntity } from '../../../abstractEntity';
|
|
3
|
+
export declare enum PriceFindResultFields {
|
|
4
|
+
COLUMN_PRICE_BAND_ARROWSPHERE_SKU = "priceBandArrowsphereSku",
|
|
5
|
+
COLUMN_BUY_PRICE = "buy_price",
|
|
6
|
+
COLUMN_SELL_PRICE = "sell_price",
|
|
7
|
+
COLUMN_LIST_PRICE = "list_price",
|
|
8
|
+
COLUMN_CURRENCY = "currency"
|
|
9
|
+
}
|
|
10
|
+
export declare type PriceFindResultData = {
|
|
11
|
+
[PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU]: string | null;
|
|
12
|
+
[PriceFindResultFields.COLUMN_BUY_PRICE]: number;
|
|
13
|
+
[PriceFindResultFields.COLUMN_SELL_PRICE]: number;
|
|
14
|
+
[PriceFindResultFields.COLUMN_LIST_PRICE]: number;
|
|
15
|
+
[PriceFindResultFields.COLUMN_CURRENCY]?: string | null;
|
|
16
|
+
};
|
|
17
|
+
export declare type PriceFindResultDataKeywords = {
|
|
18
|
+
[PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU]?: DataKeywords;
|
|
19
|
+
[PriceFindResultFields.COLUMN_BUY_PRICE]?: DataKeywords;
|
|
20
|
+
[PriceFindResultFields.COLUMN_SELL_PRICE]?: DataKeywords;
|
|
21
|
+
[PriceFindResultFields.COLUMN_LIST_PRICE]?: DataKeywords;
|
|
22
|
+
[PriceFindResultFields.COLUMN_CURRENCY]?: DataKeywords;
|
|
23
|
+
};
|
|
24
|
+
export declare type PriceFindResutDataSortParameters = {
|
|
25
|
+
[PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU]?: SortParameters;
|
|
26
|
+
[PriceFindResultFields.COLUMN_BUY_PRICE]?: SortParameters;
|
|
27
|
+
[PriceFindResultFields.COLUMN_SELL_PRICE]?: SortParameters;
|
|
28
|
+
[PriceFindResultFields.COLUMN_LIST_PRICE]?: SortParameters;
|
|
29
|
+
[PriceFindResultFields.COLUMN_CURRENCY]?: SortParameters;
|
|
30
|
+
};
|
|
31
|
+
export declare type PriceFindResultDataFiltersParameters = {
|
|
32
|
+
[PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU]?: FiltersParameters;
|
|
33
|
+
[PriceFindResultFields.COLUMN_BUY_PRICE]?: FiltersParameters;
|
|
34
|
+
[PriceFindResultFields.COLUMN_SELL_PRICE]?: FiltersParameters;
|
|
35
|
+
[PriceFindResultFields.COLUMN_LIST_PRICE]?: FiltersParameters;
|
|
36
|
+
[PriceFindResultFields.COLUMN_CURRENCY]?: FiltersParameters;
|
|
37
|
+
};
|
|
38
|
+
export declare class PriceFindResult extends AbstractEntity<PriceFindResultData> {
|
|
39
|
+
#private;
|
|
40
|
+
protected VALIDATION_RULES: {
|
|
41
|
+
priceBandArrowsphereSku: string;
|
|
42
|
+
buy_price: string;
|
|
43
|
+
sell_price: string;
|
|
44
|
+
list_price: string;
|
|
45
|
+
currency: string;
|
|
46
|
+
};
|
|
47
|
+
constructor(data: PriceFindResultData);
|
|
48
|
+
get priceBandArrowsphereSku(): string | null;
|
|
49
|
+
get buyPrice(): number;
|
|
50
|
+
get sellPrice(): number;
|
|
51
|
+
get listPrice(): number;
|
|
52
|
+
get currency(): string | null | undefined;
|
|
53
|
+
toJSON(): PriceFindResultData;
|
|
54
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
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;
|
|
8
|
+
};
|
|
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);
|
|
14
|
+
};
|
|
15
|
+
var _price_band_arrowsphere_sku, _buy_price, _sell_price, _list_price, _currency;
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.PriceFindResult = exports.PriceFindResultFields = void 0;
|
|
18
|
+
const abstractEntity_1 = require("../../../abstractEntity");
|
|
19
|
+
var PriceFindResultFields;
|
|
20
|
+
(function (PriceFindResultFields) {
|
|
21
|
+
PriceFindResultFields["COLUMN_PRICE_BAND_ARROWSPHERE_SKU"] = "priceBandArrowsphereSku";
|
|
22
|
+
PriceFindResultFields["COLUMN_BUY_PRICE"] = "buy_price";
|
|
23
|
+
PriceFindResultFields["COLUMN_SELL_PRICE"] = "sell_price";
|
|
24
|
+
PriceFindResultFields["COLUMN_LIST_PRICE"] = "list_price";
|
|
25
|
+
PriceFindResultFields["COLUMN_CURRENCY"] = "currency";
|
|
26
|
+
})(PriceFindResultFields = exports.PriceFindResultFields || (exports.PriceFindResultFields = {}));
|
|
27
|
+
class PriceFindResult extends abstractEntity_1.AbstractEntity {
|
|
28
|
+
constructor(data) {
|
|
29
|
+
super(data);
|
|
30
|
+
this.VALIDATION_RULES = {
|
|
31
|
+
[PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU]: 'present',
|
|
32
|
+
[PriceFindResultFields.COLUMN_BUY_PRICE]: 'present|numeric',
|
|
33
|
+
[PriceFindResultFields.COLUMN_SELL_PRICE]: 'present|numeric',
|
|
34
|
+
[PriceFindResultFields.COLUMN_LIST_PRICE]: 'present|numeric',
|
|
35
|
+
[PriceFindResultFields.COLUMN_CURRENCY]: 'present',
|
|
36
|
+
};
|
|
37
|
+
_price_band_arrowsphere_sku.set(this, void 0);
|
|
38
|
+
_buy_price.set(this, void 0);
|
|
39
|
+
_sell_price.set(this, void 0);
|
|
40
|
+
_list_price.set(this, void 0);
|
|
41
|
+
_currency.set(this, void 0);
|
|
42
|
+
__classPrivateFieldSet(this, _price_band_arrowsphere_sku, data[PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU]);
|
|
43
|
+
__classPrivateFieldSet(this, _buy_price, data[PriceFindResultFields.COLUMN_BUY_PRICE]);
|
|
44
|
+
__classPrivateFieldSet(this, _sell_price, data[PriceFindResultFields.COLUMN_SELL_PRICE]);
|
|
45
|
+
__classPrivateFieldSet(this, _list_price, data[PriceFindResultFields.COLUMN_LIST_PRICE]);
|
|
46
|
+
__classPrivateFieldSet(this, _currency, data[PriceFindResultFields.COLUMN_CURRENCY]);
|
|
47
|
+
}
|
|
48
|
+
get priceBandArrowsphereSku() {
|
|
49
|
+
return __classPrivateFieldGet(this, _price_band_arrowsphere_sku);
|
|
50
|
+
}
|
|
51
|
+
get buyPrice() {
|
|
52
|
+
return __classPrivateFieldGet(this, _buy_price);
|
|
53
|
+
}
|
|
54
|
+
get sellPrice() {
|
|
55
|
+
return __classPrivateFieldGet(this, _sell_price);
|
|
56
|
+
}
|
|
57
|
+
get listPrice() {
|
|
58
|
+
return __classPrivateFieldGet(this, _list_price);
|
|
59
|
+
}
|
|
60
|
+
get currency() {
|
|
61
|
+
return __classPrivateFieldGet(this, _currency);
|
|
62
|
+
}
|
|
63
|
+
toJSON() {
|
|
64
|
+
return {
|
|
65
|
+
[PriceFindResultFields.COLUMN_PRICE_BAND_ARROWSPHERE_SKU]: this
|
|
66
|
+
.priceBandArrowsphereSku,
|
|
67
|
+
[PriceFindResultFields.COLUMN_BUY_PRICE]: this.buyPrice,
|
|
68
|
+
[PriceFindResultFields.COLUMN_SELL_PRICE]: this.sellPrice,
|
|
69
|
+
[PriceFindResultFields.COLUMN_LIST_PRICE]: this.listPrice,
|
|
70
|
+
[PriceFindResultFields.COLUMN_CURRENCY]: this.currency,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.PriceFindResult = PriceFindResult;
|
|
75
|
+
_price_band_arrowsphere_sku = new WeakMap(), _buy_price = new WeakMap(), _sell_price = new WeakMap(), _list_price = new WeakMap(), _currency = new WeakMap();
|
|
76
|
+
//# sourceMappingURL=priceFindResult.js.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../../abstractEntity';
|
|
2
|
+
import { DataKeywords, FiltersParameters, SortParameters } from '../../licensesClient';
|
|
3
|
+
export declare enum WarningFindResultFields {
|
|
4
|
+
COLUMN_KEY = "key",
|
|
5
|
+
COLUMN_MESSAGE = "message"
|
|
6
|
+
}
|
|
7
|
+
export declare type WarningFindResultData = {
|
|
8
|
+
[WarningFindResultFields.COLUMN_KEY]: string | undefined;
|
|
9
|
+
[WarningFindResultFields.COLUMN_MESSAGE]: string | undefined;
|
|
10
|
+
};
|
|
11
|
+
export declare type WarningFindResultDataKeywords = {
|
|
12
|
+
[WarningFindResultFields.COLUMN_KEY]?: DataKeywords;
|
|
13
|
+
[WarningFindResultFields.COLUMN_MESSAGE]?: DataKeywords;
|
|
14
|
+
};
|
|
15
|
+
export declare type WarningFindResultDataSortParameters = {
|
|
16
|
+
[WarningFindResultFields.COLUMN_KEY]?: SortParameters;
|
|
17
|
+
[WarningFindResultFields.COLUMN_MESSAGE]?: SortParameters;
|
|
18
|
+
};
|
|
19
|
+
export declare type WarningFindResultDataFiltersParameters = {
|
|
20
|
+
[WarningFindResultFields.COLUMN_KEY]?: FiltersParameters;
|
|
21
|
+
[WarningFindResultFields.COLUMN_MESSAGE]?: FiltersParameters;
|
|
22
|
+
};
|
|
23
|
+
export declare class WarningFindResult extends AbstractEntity<WarningFindResultData> {
|
|
24
|
+
#private;
|
|
25
|
+
protected VALIDATION_RULES: {
|
|
26
|
+
key: string;
|
|
27
|
+
message: string;
|
|
28
|
+
};
|
|
29
|
+
constructor(data: WarningFindResultData);
|
|
30
|
+
get key(): string | undefined;
|
|
31
|
+
get message(): string | undefined;
|
|
32
|
+
toJSON(): WarningFindResultData;
|
|
33
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
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;
|
|
8
|
+
};
|
|
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);
|
|
14
|
+
};
|
|
15
|
+
var _key, _message;
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.WarningFindResult = exports.WarningFindResultFields = void 0;
|
|
18
|
+
const abstractEntity_1 = require("../../../abstractEntity");
|
|
19
|
+
var WarningFindResultFields;
|
|
20
|
+
(function (WarningFindResultFields) {
|
|
21
|
+
WarningFindResultFields["COLUMN_KEY"] = "key";
|
|
22
|
+
WarningFindResultFields["COLUMN_MESSAGE"] = "message";
|
|
23
|
+
})(WarningFindResultFields = exports.WarningFindResultFields || (exports.WarningFindResultFields = {}));
|
|
24
|
+
class WarningFindResult extends abstractEntity_1.AbstractEntity {
|
|
25
|
+
constructor(data) {
|
|
26
|
+
super(data);
|
|
27
|
+
this.VALIDATION_RULES = {
|
|
28
|
+
[WarningFindResultFields.COLUMN_KEY]: 'required|string',
|
|
29
|
+
[WarningFindResultFields.COLUMN_MESSAGE]: 'required|string',
|
|
30
|
+
};
|
|
31
|
+
_key.set(this, void 0);
|
|
32
|
+
_message.set(this, void 0);
|
|
33
|
+
__classPrivateFieldSet(this, _key, data[WarningFindResultFields.COLUMN_KEY]);
|
|
34
|
+
__classPrivateFieldSet(this, _message, data[WarningFindResultFields.COLUMN_MESSAGE]);
|
|
35
|
+
}
|
|
36
|
+
get key() {
|
|
37
|
+
return __classPrivateFieldGet(this, _key);
|
|
38
|
+
}
|
|
39
|
+
get message() {
|
|
40
|
+
return __classPrivateFieldGet(this, _message);
|
|
41
|
+
}
|
|
42
|
+
toJSON() {
|
|
43
|
+
return {
|
|
44
|
+
[WarningFindResultFields.COLUMN_KEY]: this.key,
|
|
45
|
+
[WarningFindResultFields.COLUMN_MESSAGE]: this.message,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.WarningFindResult = WarningFindResult;
|
|
50
|
+
_key = new WeakMap(), _message = new WeakMap();
|
|
51
|
+
//# sourceMappingURL=warningFindResult.js.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { DataKeywords, FiltersParameters, SortParameters } from '../../licensesClient';
|
|
2
|
+
import { AbstractEntity } from '../../../abstractEntity';
|
|
3
|
+
import { Rules } from 'validatorjs';
|
|
4
|
+
export declare enum ActionFlagsFindResultFields {
|
|
5
|
+
COLUMN_IS_AUTO_RENEW = "isAutoRenew",
|
|
6
|
+
COLUMN_MANUAL_PROVISIONING = "isManualProvisioning",
|
|
7
|
+
COLUMN_RENEWAL_SKU = "renewalSku"
|
|
8
|
+
}
|
|
9
|
+
export declare type ActionFlagsFindResultData = {
|
|
10
|
+
[ActionFlagsFindResultFields.COLUMN_IS_AUTO_RENEW]: boolean;
|
|
11
|
+
[ActionFlagsFindResultFields.COLUMN_MANUAL_PROVISIONING]: boolean;
|
|
12
|
+
[ActionFlagsFindResultFields.COLUMN_RENEWAL_SKU]: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare type ActionFlagsFindResultDataKeywords = {
|
|
15
|
+
[ActionFlagsFindResultFields.COLUMN_IS_AUTO_RENEW]?: DataKeywords;
|
|
16
|
+
[ActionFlagsFindResultFields.COLUMN_MANUAL_PROVISIONING]?: DataKeywords;
|
|
17
|
+
[ActionFlagsFindResultFields.COLUMN_RENEWAL_SKU]?: DataKeywords;
|
|
18
|
+
};
|
|
19
|
+
export declare type ActionFlagsFindResultDataSortParameters = {
|
|
20
|
+
[ActionFlagsFindResultFields.COLUMN_IS_AUTO_RENEW]?: SortParameters;
|
|
21
|
+
[ActionFlagsFindResultFields.COLUMN_MANUAL_PROVISIONING]?: SortParameters;
|
|
22
|
+
[ActionFlagsFindResultFields.COLUMN_RENEWAL_SKU]?: SortParameters;
|
|
23
|
+
};
|
|
24
|
+
export declare type ActionFlagsFindResultDataFiltersParameters = {
|
|
25
|
+
[ActionFlagsFindResultFields.COLUMN_IS_AUTO_RENEW]?: FiltersParameters;
|
|
26
|
+
[ActionFlagsFindResultFields.COLUMN_MANUAL_PROVISIONING]?: FiltersParameters;
|
|
27
|
+
[ActionFlagsFindResultFields.COLUMN_RENEWAL_SKU]?: FiltersParameters;
|
|
28
|
+
};
|
|
29
|
+
export declare class ActionFlagsFindResult extends AbstractEntity<ActionFlagsFindResultData> {
|
|
30
|
+
#private;
|
|
31
|
+
protected VALIDATION_RULES: Rules;
|
|
32
|
+
constructor(data: ActionFlagsFindResultData);
|
|
33
|
+
isAutoRenew(): boolean;
|
|
34
|
+
isManualProvisioning(): boolean;
|
|
35
|
+
renewalSku(): boolean;
|
|
36
|
+
toJSON(): ActionFlagsFindResultData;
|
|
37
|
+
}
|