@arrowsphere/api-client 3.79.0-rc.wev.1 → 3.80.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 +11 -0
- package/build/licenses/entities/event/licenseEvent.d.ts +1 -4
- package/build/licenses/entities/event/licenseEvent.js +1 -4
- package/build/licenses/entities/getLicense/buySellFindResult.d.ts +4 -1
- package/build/licenses/entities/getLicense/buySellFindResult.js +9 -2
- package/build/licenses/entities/getLicense/licensePriceGetResult.d.ts +3 -0
- package/build/licenses/entities/getLicense/licensePriceGetResult.js +9 -2
- package/build/licenses/entities/license/licenseFindResult.d.ts +0 -24
- package/build/licenses/entities/license/licenseFindResult.js +2 -32
- package/build/licenses/entities/pricingRate/getPricingRateResult.d.ts +34 -0
- package/build/licenses/entities/pricingRate/getPricingRateResult.js +61 -0
- package/build/licenses/entities/schedule/scheduleTasksResult.d.ts +9 -0
- package/build/licenses/entities/schedule/scheduleTasksResult.js +31 -0
- package/build/licenses/index.d.ts +2 -0
- package/build/licenses/index.js +2 -0
- package/build/licenses/licensesClient.d.ts +24 -0
- package/build/licenses/licensesClient.js +22 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
4
4
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
5
|
|
|
6
|
+
## [3.80.0] - 2023-12-21
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- Adds post schedule tasks
|
|
10
|
+
- Adds Get/Set Pricing rate on a license
|
|
11
|
+
|
|
12
|
+
## [3.79.0] - 2023-12-20
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- [license] Add new columns price.priceBandArrowsphereSku, price.unit.list and price.total.list
|
|
16
|
+
|
|
6
17
|
## [3.78.0] - 2023-12-15
|
|
7
18
|
|
|
8
19
|
### Changed
|
|
@@ -13,21 +13,18 @@ export declare enum LicenseEventActionType {
|
|
|
13
13
|
RECURRING = "recurring"
|
|
14
14
|
}
|
|
15
15
|
export declare enum LicenseEventType {
|
|
16
|
-
ACKNOWLEDGED = "acknowledged",
|
|
17
16
|
ACTIVATION_FAILURE = "activation_failure",
|
|
18
17
|
ACTIVATION_SUCCESS = "activation_success",
|
|
19
18
|
CANCELLED = "cancelled",
|
|
20
19
|
CREATED = "created",
|
|
21
|
-
PENDING = "pending",
|
|
22
20
|
PREPARATION = "preparation",
|
|
23
|
-
REJECTED = "rejected",
|
|
24
21
|
SUSPENDED = "suspended",
|
|
25
22
|
TRANSFERRED = "transferred",
|
|
26
23
|
TRANSMISSION_FAILURE = "transmission_failure",
|
|
27
24
|
TRANSMISSION_IN_PROGRESS = "transmission_in_progress",
|
|
28
25
|
TRANSMISSION_SUCCESS = "transmission_success",
|
|
29
26
|
UPDATED = "updated",
|
|
30
|
-
|
|
27
|
+
PENDING = "pending"
|
|
31
28
|
}
|
|
32
29
|
export declare enum LicenseEventStatusCode {
|
|
33
30
|
PREPARATION = "40",
|
|
@@ -18,21 +18,18 @@ var LicenseEventActionType;
|
|
|
18
18
|
})(LicenseEventActionType = exports.LicenseEventActionType || (exports.LicenseEventActionType = {}));
|
|
19
19
|
var LicenseEventType;
|
|
20
20
|
(function (LicenseEventType) {
|
|
21
|
-
LicenseEventType["ACKNOWLEDGED"] = "acknowledged";
|
|
22
21
|
LicenseEventType["ACTIVATION_FAILURE"] = "activation_failure";
|
|
23
22
|
LicenseEventType["ACTIVATION_SUCCESS"] = "activation_success";
|
|
24
23
|
LicenseEventType["CANCELLED"] = "cancelled";
|
|
25
24
|
LicenseEventType["CREATED"] = "created";
|
|
26
|
-
LicenseEventType["PENDING"] = "pending";
|
|
27
25
|
LicenseEventType["PREPARATION"] = "preparation";
|
|
28
|
-
LicenseEventType["REJECTED"] = "rejected";
|
|
29
26
|
LicenseEventType["SUSPENDED"] = "suspended";
|
|
30
27
|
LicenseEventType["TRANSFERRED"] = "transferred";
|
|
31
28
|
LicenseEventType["TRANSMISSION_FAILURE"] = "transmission_failure";
|
|
32
29
|
LicenseEventType["TRANSMISSION_IN_PROGRESS"] = "transmission_in_progress";
|
|
33
30
|
LicenseEventType["TRANSMISSION_SUCCESS"] = "transmission_success";
|
|
34
31
|
LicenseEventType["UPDATED"] = "updated";
|
|
35
|
-
LicenseEventType["
|
|
32
|
+
LicenseEventType["PENDING"] = "pending";
|
|
36
33
|
})(LicenseEventType = exports.LicenseEventType || (exports.LicenseEventType = {}));
|
|
37
34
|
var LicenseEventStatusCode;
|
|
38
35
|
(function (LicenseEventStatusCode) {
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { AbstractEntity } from '../../../abstractEntity';
|
|
2
2
|
export declare enum BuySellFields {
|
|
3
3
|
COLUMN_BUY = "buy",
|
|
4
|
-
COLUMN_SELL = "sell"
|
|
4
|
+
COLUMN_SELL = "sell",
|
|
5
|
+
COLUMN_LIST = "list"
|
|
5
6
|
}
|
|
6
7
|
export declare type BuySellData = {
|
|
7
8
|
[BuySellFields.COLUMN_BUY]?: number;
|
|
8
9
|
[BuySellFields.COLUMN_SELL]?: number;
|
|
10
|
+
[BuySellFields.COLUMN_LIST]?: number;
|
|
9
11
|
};
|
|
10
12
|
export declare class BuySellFindResult extends AbstractEntity<BuySellData> {
|
|
11
13
|
#private;
|
|
12
14
|
constructor(data: BuySellData);
|
|
13
15
|
get buy(): number | undefined;
|
|
14
16
|
get sell(): number | undefined;
|
|
17
|
+
get list(): number | undefined;
|
|
15
18
|
toJSON(): BuySellData;
|
|
16
19
|
}
|
|
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
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
11
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
12
|
};
|
|
13
|
-
var _BuySellFindResult_buy, _BuySellFindResult_sell;
|
|
13
|
+
var _BuySellFindResult_buy, _BuySellFindResult_sell, _BuySellFindResult_list;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.BuySellFindResult = exports.BuySellFields = void 0;
|
|
16
16
|
const abstractEntity_1 = require("../../../abstractEntity");
|
|
@@ -18,14 +18,17 @@ var BuySellFields;
|
|
|
18
18
|
(function (BuySellFields) {
|
|
19
19
|
BuySellFields["COLUMN_BUY"] = "buy";
|
|
20
20
|
BuySellFields["COLUMN_SELL"] = "sell";
|
|
21
|
+
BuySellFields["COLUMN_LIST"] = "list";
|
|
21
22
|
})(BuySellFields = exports.BuySellFields || (exports.BuySellFields = {}));
|
|
22
23
|
class BuySellFindResult extends abstractEntity_1.AbstractEntity {
|
|
23
24
|
constructor(data) {
|
|
24
25
|
super(data);
|
|
25
26
|
_BuySellFindResult_buy.set(this, void 0);
|
|
26
27
|
_BuySellFindResult_sell.set(this, void 0);
|
|
28
|
+
_BuySellFindResult_list.set(this, void 0);
|
|
27
29
|
__classPrivateFieldSet(this, _BuySellFindResult_buy, data[BuySellFields.COLUMN_BUY], "f");
|
|
28
30
|
__classPrivateFieldSet(this, _BuySellFindResult_sell, data[BuySellFields.COLUMN_SELL], "f");
|
|
31
|
+
__classPrivateFieldSet(this, _BuySellFindResult_list, data[BuySellFields.COLUMN_LIST], "f");
|
|
29
32
|
}
|
|
30
33
|
get buy() {
|
|
31
34
|
return __classPrivateFieldGet(this, _BuySellFindResult_buy, "f");
|
|
@@ -33,13 +36,17 @@ class BuySellFindResult extends abstractEntity_1.AbstractEntity {
|
|
|
33
36
|
get sell() {
|
|
34
37
|
return __classPrivateFieldGet(this, _BuySellFindResult_sell, "f");
|
|
35
38
|
}
|
|
39
|
+
get list() {
|
|
40
|
+
return __classPrivateFieldGet(this, _BuySellFindResult_list, "f");
|
|
41
|
+
}
|
|
36
42
|
toJSON() {
|
|
37
43
|
return {
|
|
38
44
|
[BuySellFields.COLUMN_BUY]: this.buy,
|
|
39
45
|
[BuySellFields.COLUMN_SELL]: this.sell,
|
|
46
|
+
[BuySellFields.COLUMN_LIST]: this.list,
|
|
40
47
|
};
|
|
41
48
|
}
|
|
42
49
|
}
|
|
43
50
|
exports.BuySellFindResult = BuySellFindResult;
|
|
44
|
-
_BuySellFindResult_buy = new WeakMap(), _BuySellFindResult_sell = new WeakMap();
|
|
51
|
+
_BuySellFindResult_buy = new WeakMap(), _BuySellFindResult_sell = new WeakMap(), _BuySellFindResult_list = new WeakMap();
|
|
45
52
|
//# sourceMappingURL=buySellFindResult.js.map
|
|
@@ -2,11 +2,13 @@ import { BuySellData, BuySellFindResult } from './buySellFindResult';
|
|
|
2
2
|
import { AbstractEntity } from '../../../abstractEntity';
|
|
3
3
|
export declare enum LicensePriceGetFields {
|
|
4
4
|
COLUMN_CURRENCY = "currency",
|
|
5
|
+
COLUMN_PRICEBAND_ARROWSPHERE_SKU = "priceBandArrowsphereSku",
|
|
5
6
|
COLUMN_UNIT = "unit",
|
|
6
7
|
COLUMN_TOTAL = "total"
|
|
7
8
|
}
|
|
8
9
|
export declare type LicensePriceGetData = {
|
|
9
10
|
[LicensePriceGetFields.COLUMN_CURRENCY]: string;
|
|
11
|
+
[LicensePriceGetFields.COLUMN_PRICEBAND_ARROWSPHERE_SKU]: string;
|
|
10
12
|
[LicensePriceGetFields.COLUMN_UNIT]: BuySellData;
|
|
11
13
|
[LicensePriceGetFields.COLUMN_TOTAL]: BuySellData;
|
|
12
14
|
};
|
|
@@ -14,6 +16,7 @@ export declare class LicensePriceGetResult extends AbstractEntity<LicensePriceGe
|
|
|
14
16
|
#private;
|
|
15
17
|
constructor(data: LicensePriceGetData);
|
|
16
18
|
get currency(): string;
|
|
19
|
+
get priceBandArrowsphereSku(): string;
|
|
17
20
|
get unit(): BuySellFindResult;
|
|
18
21
|
get total(): BuySellFindResult;
|
|
19
22
|
toJSON(): LicensePriceGetData;
|
|
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
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
11
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
12
|
};
|
|
13
|
-
var _LicensePriceGetResult_currency, _LicensePriceGetResult_unit, _LicensePriceGetResult_total;
|
|
13
|
+
var _LicensePriceGetResult_currency, _LicensePriceGetResult_priceBandArrowsphereSku, _LicensePriceGetResult_unit, _LicensePriceGetResult_total;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.LicensePriceGetResult = exports.LicensePriceGetFields = void 0;
|
|
16
16
|
const buySellFindResult_1 = require("./buySellFindResult");
|
|
@@ -18,6 +18,7 @@ const abstractEntity_1 = require("../../../abstractEntity");
|
|
|
18
18
|
var LicensePriceGetFields;
|
|
19
19
|
(function (LicensePriceGetFields) {
|
|
20
20
|
LicensePriceGetFields["COLUMN_CURRENCY"] = "currency";
|
|
21
|
+
LicensePriceGetFields["COLUMN_PRICEBAND_ARROWSPHERE_SKU"] = "priceBandArrowsphereSku";
|
|
21
22
|
LicensePriceGetFields["COLUMN_UNIT"] = "unit";
|
|
22
23
|
LicensePriceGetFields["COLUMN_TOTAL"] = "total";
|
|
23
24
|
})(LicensePriceGetFields = exports.LicensePriceGetFields || (exports.LicensePriceGetFields = {}));
|
|
@@ -25,15 +26,20 @@ class LicensePriceGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
25
26
|
constructor(data) {
|
|
26
27
|
super(data);
|
|
27
28
|
_LicensePriceGetResult_currency.set(this, void 0);
|
|
29
|
+
_LicensePriceGetResult_priceBandArrowsphereSku.set(this, void 0);
|
|
28
30
|
_LicensePriceGetResult_unit.set(this, void 0);
|
|
29
31
|
_LicensePriceGetResult_total.set(this, void 0);
|
|
30
32
|
__classPrivateFieldSet(this, _LicensePriceGetResult_currency, data[LicensePriceGetFields.COLUMN_CURRENCY], "f");
|
|
33
|
+
__classPrivateFieldSet(this, _LicensePriceGetResult_priceBandArrowsphereSku, data[LicensePriceGetFields.COLUMN_PRICEBAND_ARROWSPHERE_SKU], "f");
|
|
31
34
|
__classPrivateFieldSet(this, _LicensePriceGetResult_unit, new buySellFindResult_1.BuySellFindResult(data[LicensePriceGetFields.COLUMN_UNIT]), "f");
|
|
32
35
|
__classPrivateFieldSet(this, _LicensePriceGetResult_total, new buySellFindResult_1.BuySellFindResult(data[LicensePriceGetFields.COLUMN_TOTAL]), "f");
|
|
33
36
|
}
|
|
34
37
|
get currency() {
|
|
35
38
|
return __classPrivateFieldGet(this, _LicensePriceGetResult_currency, "f");
|
|
36
39
|
}
|
|
40
|
+
get priceBandArrowsphereSku() {
|
|
41
|
+
return __classPrivateFieldGet(this, _LicensePriceGetResult_priceBandArrowsphereSku, "f");
|
|
42
|
+
}
|
|
37
43
|
get unit() {
|
|
38
44
|
return __classPrivateFieldGet(this, _LicensePriceGetResult_unit, "f");
|
|
39
45
|
}
|
|
@@ -43,11 +49,12 @@ class LicensePriceGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
43
49
|
toJSON() {
|
|
44
50
|
return {
|
|
45
51
|
[LicensePriceGetFields.COLUMN_CURRENCY]: this.currency,
|
|
52
|
+
[LicensePriceGetFields.COLUMN_PRICEBAND_ARROWSPHERE_SKU]: __classPrivateFieldGet(this, _LicensePriceGetResult_priceBandArrowsphereSku, "f"),
|
|
46
53
|
[LicensePriceGetFields.COLUMN_UNIT]: this.unit.toJSON(),
|
|
47
54
|
[LicensePriceGetFields.COLUMN_TOTAL]: this.total.toJSON(),
|
|
48
55
|
};
|
|
49
56
|
}
|
|
50
57
|
}
|
|
51
58
|
exports.LicensePriceGetResult = LicensePriceGetResult;
|
|
52
|
-
_LicensePriceGetResult_currency = new WeakMap(), _LicensePriceGetResult_unit = new WeakMap(), _LicensePriceGetResult_total = new WeakMap();
|
|
59
|
+
_LicensePriceGetResult_currency = new WeakMap(), _LicensePriceGetResult_priceBandArrowsphereSku = new WeakMap(), _LicensePriceGetResult_unit = new WeakMap(), _LicensePriceGetResult_total = new WeakMap();
|
|
53
60
|
//# sourceMappingURL=licensePriceGetResult.js.map
|
|
@@ -34,10 +34,6 @@ export declare enum LicenseFindResultFields {
|
|
|
34
34
|
COLUMN_MARKETPLACE = "marketplace",
|
|
35
35
|
COLUMN_MESSAGE = "message",
|
|
36
36
|
COLUMN_OFFER = "offer",
|
|
37
|
-
COLUMN_OFFER_ARROWSPHERE_SKU = "offer_arrowsphere_sku",
|
|
38
|
-
COLUMN_ORDER_REF = "order_ref",
|
|
39
|
-
COLUMN_PRICEBAND_VENDOR_SKU = "priceband_vendor_sku",
|
|
40
|
-
COLUMN_NEXT_RENEWAL_DATE = "next_renewal_date",
|
|
41
37
|
COLUMN_PARENT_LINE_ID = "parent_line_id",
|
|
42
38
|
COLUMN_PARENT_ORDER_REF = "parent_order_ref",
|
|
43
39
|
COLUMN_PARTNER_REF = "partner_ref",
|
|
@@ -85,10 +81,6 @@ export declare type LicenseFindResultData = {
|
|
|
85
81
|
[LicenseFindResultFields.COLUMN_MARKETPLACE]: string;
|
|
86
82
|
[LicenseFindResultFields.COLUMN_MESSAGE]: string;
|
|
87
83
|
[LicenseFindResultFields.COLUMN_OFFER]: string;
|
|
88
|
-
[LicenseFindResultFields.COLUMN_OFFER_ARROWSPHERE_SKU]: string;
|
|
89
|
-
[LicenseFindResultFields.COLUMN_ORDER_REF]: string;
|
|
90
|
-
[LicenseFindResultFields.COLUMN_PRICEBAND_VENDOR_SKU]: string;
|
|
91
|
-
[LicenseFindResultFields.COLUMN_NEXT_RENEWAL_DATE]: string;
|
|
92
84
|
[LicenseFindResultFields.COLUMN_PARENT_LINE_ID]: number | null;
|
|
93
85
|
[LicenseFindResultFields.COLUMN_PARENT_ORDER_REF]: string | null;
|
|
94
86
|
[LicenseFindResultFields.COLUMN_PARTNER_REF]: string;
|
|
@@ -133,10 +125,6 @@ export declare type LicenceFindDataKeywords = {
|
|
|
133
125
|
[LicenseFindResultFields.COLUMN_MARKETPLACE]?: DataKeywords;
|
|
134
126
|
[LicenseFindResultFields.COLUMN_MESSAGE]?: DataKeywords;
|
|
135
127
|
[LicenseFindResultFields.COLUMN_OFFER]?: DataKeywords;
|
|
136
|
-
[LicenseFindResultFields.COLUMN_OFFER_ARROWSPHERE_SKU]?: DataKeywords;
|
|
137
|
-
[LicenseFindResultFields.COLUMN_ORDER_REF]?: DataKeywords;
|
|
138
|
-
[LicenseFindResultFields.COLUMN_PRICEBAND_VENDOR_SKU]?: DataKeywords;
|
|
139
|
-
[LicenseFindResultFields.COLUMN_NEXT_RENEWAL_DATE]?: DataKeywords;
|
|
140
128
|
[LicenseFindResultFields.COLUMN_PARENT_LINE_ID]?: DataKeywords;
|
|
141
129
|
[LicenseFindResultFields.COLUMN_PARENT_ORDER_REF]?: DataKeywords;
|
|
142
130
|
[LicenseFindResultFields.COLUMN_PARTNER_REF]?: DataKeywords;
|
|
@@ -180,10 +168,6 @@ export declare type LicenceFindDataSortParameters = {
|
|
|
180
168
|
[LicenseFindResultFields.COLUMN_MARKETPLACE]?: SortParameters;
|
|
181
169
|
[LicenseFindResultFields.COLUMN_MESSAGE]?: SortParameters;
|
|
182
170
|
[LicenseFindResultFields.COLUMN_OFFER]?: SortParameters;
|
|
183
|
-
[LicenseFindResultFields.COLUMN_OFFER_ARROWSPHERE_SKU]?: SortParameters;
|
|
184
|
-
[LicenseFindResultFields.COLUMN_ORDER_REF]?: SortParameters;
|
|
185
|
-
[LicenseFindResultFields.COLUMN_PRICEBAND_VENDOR_SKU]?: SortParameters;
|
|
186
|
-
[LicenseFindResultFields.COLUMN_NEXT_RENEWAL_DATE]?: SortParameters;
|
|
187
171
|
[LicenseFindResultFields.COLUMN_PARENT_LINE_ID]?: SortParameters;
|
|
188
172
|
[LicenseFindResultFields.COLUMN_PARENT_ORDER_REF]?: SortParameters;
|
|
189
173
|
[LicenseFindResultFields.COLUMN_PARTNER_REF]?: SortParameters;
|
|
@@ -227,10 +211,6 @@ export declare type LicenceFindDataFiltersParameters = {
|
|
|
227
211
|
[LicenseFindResultFields.COLUMN_MARKETPLACE]?: FiltersParameters;
|
|
228
212
|
[LicenseFindResultFields.COLUMN_MESSAGE]?: FiltersParameters;
|
|
229
213
|
[LicenseFindResultFields.COLUMN_OFFER]?: FiltersParameters;
|
|
230
|
-
[LicenseFindResultFields.COLUMN_OFFER_ARROWSPHERE_SKU]?: FiltersParameters;
|
|
231
|
-
[LicenseFindResultFields.COLUMN_ORDER_REF]?: FiltersParameters;
|
|
232
|
-
[LicenseFindResultFields.COLUMN_PRICEBAND_VENDOR_SKU]?: FiltersParameters;
|
|
233
|
-
[LicenseFindResultFields.COLUMN_NEXT_RENEWAL_DATE]?: FiltersParameters;
|
|
234
214
|
[LicenseFindResultFields.COLUMN_PARENT_LINE_ID]?: FiltersParameters;
|
|
235
215
|
[LicenseFindResultFields.COLUMN_PARENT_ORDER_REF]?: FiltersParameters;
|
|
236
216
|
[LicenseFindResultFields.COLUMN_PARTNER_REF]?: FiltersParameters;
|
|
@@ -282,10 +262,6 @@ export declare class LicenseFindResult extends AbstractEntity<LicenseFindResultD
|
|
|
282
262
|
get marketplace(): string;
|
|
283
263
|
get message(): string;
|
|
284
264
|
get offer(): string;
|
|
285
|
-
get offerArrowsphereSku(): string;
|
|
286
|
-
get orderRef(): string;
|
|
287
|
-
get pricebandVendorSku(): string;
|
|
288
|
-
get nextRenewalDate(): string;
|
|
289
265
|
get parentLineId(): number | null;
|
|
290
266
|
get parentOrderRef(): string | null;
|
|
291
267
|
get partnerRef(): string;
|
|
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
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
11
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
12
|
};
|
|
13
|
-
var _LicenseFindResult_acceptEula, _LicenseFindResult_activeSeats, _LicenseFindResult_autoRenew, _LicenseFindResult_baseSeat, _LicenseFindResult_category, _LicenseFindResult_classification, _LicenseFindResult_configs, _LicenseFindResult_warnings, _LicenseFindResult_customerName, _LicenseFindResult_customerRef, _LicenseFindResult_endDate, _LicenseFindResult_friendlyName, _LicenseFindResult_id, _LicenseFindResult_enabled, _LicenseFindResult_lastUpdate, _LicenseFindResult_marketplace, _LicenseFindResult_message, _LicenseFindResult_offer,
|
|
13
|
+
var _LicenseFindResult_acceptEula, _LicenseFindResult_activeSeats, _LicenseFindResult_autoRenew, _LicenseFindResult_baseSeat, _LicenseFindResult_category, _LicenseFindResult_classification, _LicenseFindResult_configs, _LicenseFindResult_warnings, _LicenseFindResult_customerName, _LicenseFindResult_customerRef, _LicenseFindResult_endDate, _LicenseFindResult_friendlyName, _LicenseFindResult_id, _LicenseFindResult_enabled, _LicenseFindResult_lastUpdate, _LicenseFindResult_marketplace, _LicenseFindResult_message, _LicenseFindResult_offer, _LicenseFindResult_parentLineId, _LicenseFindResult_parentOrderRef, _LicenseFindResult_partnerRef, _LicenseFindResult_periodicity, _LicenseFindResult_price, _LicenseFindResult_resellerName, _LicenseFindResult_resellerRef, _LicenseFindResult_seat, _LicenseFindResult_security, _LicenseFindResult_serviceRef, _LicenseFindResult_sku, _LicenseFindResult_startDate, _LicenseFindResult_statusCode, _LicenseFindResult_statusLabel, _LicenseFindResult_subscriptionId, _LicenseFindResult_subsidiaryName, _LicenseFindResult_term, _LicenseFindResult_trial, _LicenseFindResult_type, _LicenseFindResult_uom, _LicenseFindResult_vendorCode, _LicenseFindResult_vendorName, _LicenseFindResult_vendorSubscriptionId, _LicenseFindResult_highlight;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.LicenseFindResult = exports.LicenseFindResultFields = void 0;
|
|
16
16
|
const activeSeatsFindResult_1 = require("./activeSeatsFindResult");
|
|
@@ -42,10 +42,6 @@ var LicenseFindResultFields;
|
|
|
42
42
|
LicenseFindResultFields["COLUMN_MARKETPLACE"] = "marketplace";
|
|
43
43
|
LicenseFindResultFields["COLUMN_MESSAGE"] = "message";
|
|
44
44
|
LicenseFindResultFields["COLUMN_OFFER"] = "offer";
|
|
45
|
-
LicenseFindResultFields["COLUMN_OFFER_ARROWSPHERE_SKU"] = "offer_arrowsphere_sku";
|
|
46
|
-
LicenseFindResultFields["COLUMN_ORDER_REF"] = "order_ref";
|
|
47
|
-
LicenseFindResultFields["COLUMN_PRICEBAND_VENDOR_SKU"] = "priceband_vendor_sku";
|
|
48
|
-
LicenseFindResultFields["COLUMN_NEXT_RENEWAL_DATE"] = "next_renewal_date";
|
|
49
45
|
LicenseFindResultFields["COLUMN_PARENT_LINE_ID"] = "parent_line_id";
|
|
50
46
|
LicenseFindResultFields["COLUMN_PARENT_ORDER_REF"] = "parent_order_ref";
|
|
51
47
|
LicenseFindResultFields["COLUMN_PARTNER_REF"] = "partner_ref";
|
|
@@ -118,10 +114,6 @@ class LicenseFindResult extends abstractEntity_1.AbstractEntity {
|
|
|
118
114
|
_LicenseFindResult_marketplace.set(this, void 0);
|
|
119
115
|
_LicenseFindResult_message.set(this, void 0);
|
|
120
116
|
_LicenseFindResult_offer.set(this, void 0);
|
|
121
|
-
_LicenseFindResult_offerArrowsphereSku.set(this, void 0);
|
|
122
|
-
_LicenseFindResult_orderRef.set(this, void 0);
|
|
123
|
-
_LicenseFindResult_pricebandVendorSku.set(this, void 0);
|
|
124
|
-
_LicenseFindResult_nextRenewalDate.set(this, void 0);
|
|
125
117
|
_LicenseFindResult_parentLineId.set(this, void 0);
|
|
126
118
|
_LicenseFindResult_parentOrderRef.set(this, void 0);
|
|
127
119
|
_LicenseFindResult_partnerRef.set(this, void 0);
|
|
@@ -168,10 +160,6 @@ class LicenseFindResult extends abstractEntity_1.AbstractEntity {
|
|
|
168
160
|
__classPrivateFieldSet(this, _LicenseFindResult_marketplace, data[LicenseFindResultFields.COLUMN_MARKETPLACE], "f");
|
|
169
161
|
__classPrivateFieldSet(this, _LicenseFindResult_message, data[LicenseFindResultFields.COLUMN_MESSAGE], "f");
|
|
170
162
|
__classPrivateFieldSet(this, _LicenseFindResult_offer, data[LicenseFindResultFields.COLUMN_OFFER], "f");
|
|
171
|
-
__classPrivateFieldSet(this, _LicenseFindResult_offerArrowsphereSku, data[LicenseFindResultFields.COLUMN_OFFER_ARROWSPHERE_SKU], "f");
|
|
172
|
-
__classPrivateFieldSet(this, _LicenseFindResult_orderRef, data[LicenseFindResultFields.COLUMN_ORDER_REF], "f");
|
|
173
|
-
__classPrivateFieldSet(this, _LicenseFindResult_pricebandVendorSku, data[LicenseFindResultFields.COLUMN_PRICEBAND_VENDOR_SKU], "f");
|
|
174
|
-
__classPrivateFieldSet(this, _LicenseFindResult_nextRenewalDate, data[LicenseFindResultFields.COLUMN_NEXT_RENEWAL_DATE], "f");
|
|
175
163
|
__classPrivateFieldSet(this, _LicenseFindResult_parentLineId, data[LicenseFindResultFields.COLUMN_PARENT_LINE_ID], "f");
|
|
176
164
|
__classPrivateFieldSet(this, _LicenseFindResult_parentOrderRef, data[LicenseFindResultFields.COLUMN_PARENT_ORDER_REF], "f");
|
|
177
165
|
__classPrivateFieldSet(this, _LicenseFindResult_partnerRef, data[LicenseFindResultFields.COLUMN_PARTNER_REF], "f");
|
|
@@ -260,18 +248,6 @@ class LicenseFindResult extends abstractEntity_1.AbstractEntity {
|
|
|
260
248
|
get offer() {
|
|
261
249
|
return __classPrivateFieldGet(this, _LicenseFindResult_offer, "f");
|
|
262
250
|
}
|
|
263
|
-
get offerArrowsphereSku() {
|
|
264
|
-
return __classPrivateFieldGet(this, _LicenseFindResult_offerArrowsphereSku, "f");
|
|
265
|
-
}
|
|
266
|
-
get orderRef() {
|
|
267
|
-
return __classPrivateFieldGet(this, _LicenseFindResult_orderRef, "f");
|
|
268
|
-
}
|
|
269
|
-
get pricebandVendorSku() {
|
|
270
|
-
return __classPrivateFieldGet(this, _LicenseFindResult_pricebandVendorSku, "f");
|
|
271
|
-
}
|
|
272
|
-
get nextRenewalDate() {
|
|
273
|
-
return __classPrivateFieldGet(this, _LicenseFindResult_nextRenewalDate, "f");
|
|
274
|
-
}
|
|
275
251
|
get parentLineId() {
|
|
276
252
|
return __classPrivateFieldGet(this, _LicenseFindResult_parentLineId, "f");
|
|
277
253
|
}
|
|
@@ -369,12 +345,6 @@ class LicenseFindResult extends abstractEntity_1.AbstractEntity {
|
|
|
369
345
|
[LicenseFindResultFields.COLUMN_MARKETPLACE]: this.marketplace,
|
|
370
346
|
[LicenseFindResultFields.COLUMN_MESSAGE]: this.message,
|
|
371
347
|
[LicenseFindResultFields.COLUMN_OFFER]: this.offer,
|
|
372
|
-
[LicenseFindResultFields.COLUMN_OFFER_ARROWSPHERE_SKU]: this
|
|
373
|
-
.offerArrowsphereSku,
|
|
374
|
-
[LicenseFindResultFields.COLUMN_ORDER_REF]: this.orderRef,
|
|
375
|
-
[LicenseFindResultFields.COLUMN_PRICEBAND_VENDOR_SKU]: this
|
|
376
|
-
.pricebandVendorSku,
|
|
377
|
-
[LicenseFindResultFields.COLUMN_NEXT_RENEWAL_DATE]: this.nextRenewalDate,
|
|
378
348
|
[LicenseFindResultFields.COLUMN_PARENT_LINE_ID]: this.parentLineId,
|
|
379
349
|
[LicenseFindResultFields.COLUMN_PARENT_ORDER_REF]: this.parentOrderRef,
|
|
380
350
|
[LicenseFindResultFields.COLUMN_PARTNER_REF]: this.partnerRef,
|
|
@@ -404,5 +374,5 @@ class LicenseFindResult extends abstractEntity_1.AbstractEntity {
|
|
|
404
374
|
}
|
|
405
375
|
}
|
|
406
376
|
exports.LicenseFindResult = LicenseFindResult;
|
|
407
|
-
_LicenseFindResult_acceptEula = new WeakMap(), _LicenseFindResult_activeSeats = new WeakMap(), _LicenseFindResult_autoRenew = new WeakMap(), _LicenseFindResult_baseSeat = new WeakMap(), _LicenseFindResult_category = new WeakMap(), _LicenseFindResult_classification = new WeakMap(), _LicenseFindResult_configs = new WeakMap(), _LicenseFindResult_warnings = new WeakMap(), _LicenseFindResult_customerName = new WeakMap(), _LicenseFindResult_customerRef = new WeakMap(), _LicenseFindResult_endDate = new WeakMap(), _LicenseFindResult_friendlyName = new WeakMap(), _LicenseFindResult_id = new WeakMap(), _LicenseFindResult_enabled = new WeakMap(), _LicenseFindResult_lastUpdate = new WeakMap(), _LicenseFindResult_marketplace = new WeakMap(), _LicenseFindResult_message = new WeakMap(), _LicenseFindResult_offer = new WeakMap(),
|
|
377
|
+
_LicenseFindResult_acceptEula = new WeakMap(), _LicenseFindResult_activeSeats = new WeakMap(), _LicenseFindResult_autoRenew = new WeakMap(), _LicenseFindResult_baseSeat = new WeakMap(), _LicenseFindResult_category = new WeakMap(), _LicenseFindResult_classification = new WeakMap(), _LicenseFindResult_configs = new WeakMap(), _LicenseFindResult_warnings = new WeakMap(), _LicenseFindResult_customerName = new WeakMap(), _LicenseFindResult_customerRef = new WeakMap(), _LicenseFindResult_endDate = new WeakMap(), _LicenseFindResult_friendlyName = new WeakMap(), _LicenseFindResult_id = new WeakMap(), _LicenseFindResult_enabled = new WeakMap(), _LicenseFindResult_lastUpdate = new WeakMap(), _LicenseFindResult_marketplace = new WeakMap(), _LicenseFindResult_message = new WeakMap(), _LicenseFindResult_offer = new WeakMap(), _LicenseFindResult_parentLineId = new WeakMap(), _LicenseFindResult_parentOrderRef = new WeakMap(), _LicenseFindResult_partnerRef = new WeakMap(), _LicenseFindResult_periodicity = new WeakMap(), _LicenseFindResult_price = new WeakMap(), _LicenseFindResult_resellerName = new WeakMap(), _LicenseFindResult_resellerRef = new WeakMap(), _LicenseFindResult_seat = new WeakMap(), _LicenseFindResult_security = new WeakMap(), _LicenseFindResult_serviceRef = new WeakMap(), _LicenseFindResult_sku = new WeakMap(), _LicenseFindResult_startDate = new WeakMap(), _LicenseFindResult_statusCode = new WeakMap(), _LicenseFindResult_statusLabel = new WeakMap(), _LicenseFindResult_subscriptionId = new WeakMap(), _LicenseFindResult_subsidiaryName = new WeakMap(), _LicenseFindResult_term = new WeakMap(), _LicenseFindResult_trial = new WeakMap(), _LicenseFindResult_type = new WeakMap(), _LicenseFindResult_uom = new WeakMap(), _LicenseFindResult_vendorCode = new WeakMap(), _LicenseFindResult_vendorName = new WeakMap(), _LicenseFindResult_vendorSubscriptionId = new WeakMap(), _LicenseFindResult_highlight = new WeakMap();
|
|
408
378
|
//# sourceMappingURL=licenseFindResult.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../../abstractEntity';
|
|
2
|
+
export declare enum CompanyTypeEnum {
|
|
3
|
+
UNKNOWN = "UKW",
|
|
4
|
+
MSP_CUSTOMER = "MSP",
|
|
5
|
+
VAR_CUSTOMER = "VAR",
|
|
6
|
+
ARROW = "ARW"
|
|
7
|
+
}
|
|
8
|
+
export declare enum RateTypeEnum {
|
|
9
|
+
DISCOUNT = "discount",
|
|
10
|
+
UPLIFT = "uplift"
|
|
11
|
+
}
|
|
12
|
+
declare type RateType = {
|
|
13
|
+
id: number;
|
|
14
|
+
name: RateTypeEnum;
|
|
15
|
+
};
|
|
16
|
+
declare type CompanyType = {
|
|
17
|
+
id: number;
|
|
18
|
+
type: CompanyTypeEnum;
|
|
19
|
+
};
|
|
20
|
+
export declare type GetPricingRateData = {
|
|
21
|
+
id: number;
|
|
22
|
+
rate: number;
|
|
23
|
+
start_date: string;
|
|
24
|
+
end_date: string | null;
|
|
25
|
+
created_at: string;
|
|
26
|
+
rateType: RateType;
|
|
27
|
+
companyType: CompanyType;
|
|
28
|
+
};
|
|
29
|
+
export declare class GetPricingRateResult extends AbstractEntity<GetPricingRateData> {
|
|
30
|
+
#private;
|
|
31
|
+
constructor(data: GetPricingRateData);
|
|
32
|
+
toJSON(): GetPricingRateData;
|
|
33
|
+
}
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
3
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
4
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
5
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
6
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
7
|
+
};
|
|
8
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
9
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
10
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
|
+
};
|
|
13
|
+
var _GetPricingRateResult_id, _GetPricingRateResult_rate, _GetPricingRateResult_start_date, _GetPricingRateResult_end_date, _GetPricingRateResult_created_at, _GetPricingRateResult_rateType, _GetPricingRateResult_companyType;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.GetPricingRateResult = exports.RateTypeEnum = exports.CompanyTypeEnum = void 0;
|
|
16
|
+
const abstractEntity_1 = require("../../../abstractEntity");
|
|
17
|
+
var CompanyTypeEnum;
|
|
18
|
+
(function (CompanyTypeEnum) {
|
|
19
|
+
CompanyTypeEnum["UNKNOWN"] = "UKW";
|
|
20
|
+
CompanyTypeEnum["MSP_CUSTOMER"] = "MSP";
|
|
21
|
+
CompanyTypeEnum["VAR_CUSTOMER"] = "VAR";
|
|
22
|
+
CompanyTypeEnum["ARROW"] = "ARW";
|
|
23
|
+
})(CompanyTypeEnum = exports.CompanyTypeEnum || (exports.CompanyTypeEnum = {}));
|
|
24
|
+
var RateTypeEnum;
|
|
25
|
+
(function (RateTypeEnum) {
|
|
26
|
+
RateTypeEnum["DISCOUNT"] = "discount";
|
|
27
|
+
RateTypeEnum["UPLIFT"] = "uplift";
|
|
28
|
+
})(RateTypeEnum = exports.RateTypeEnum || (exports.RateTypeEnum = {}));
|
|
29
|
+
class GetPricingRateResult extends abstractEntity_1.AbstractEntity {
|
|
30
|
+
constructor(data) {
|
|
31
|
+
super(data);
|
|
32
|
+
_GetPricingRateResult_id.set(this, void 0);
|
|
33
|
+
_GetPricingRateResult_rate.set(this, void 0);
|
|
34
|
+
_GetPricingRateResult_start_date.set(this, void 0);
|
|
35
|
+
_GetPricingRateResult_end_date.set(this, void 0);
|
|
36
|
+
_GetPricingRateResult_created_at.set(this, void 0);
|
|
37
|
+
_GetPricingRateResult_rateType.set(this, void 0);
|
|
38
|
+
_GetPricingRateResult_companyType.set(this, void 0);
|
|
39
|
+
__classPrivateFieldSet(this, _GetPricingRateResult_id, data === null || data === void 0 ? void 0 : data.id, "f");
|
|
40
|
+
__classPrivateFieldSet(this, _GetPricingRateResult_rate, data === null || data === void 0 ? void 0 : data.rate, "f");
|
|
41
|
+
__classPrivateFieldSet(this, _GetPricingRateResult_start_date, data === null || data === void 0 ? void 0 : data.start_date, "f");
|
|
42
|
+
__classPrivateFieldSet(this, _GetPricingRateResult_end_date, data === null || data === void 0 ? void 0 : data.end_date, "f");
|
|
43
|
+
__classPrivateFieldSet(this, _GetPricingRateResult_created_at, data === null || data === void 0 ? void 0 : data.created_at, "f");
|
|
44
|
+
__classPrivateFieldSet(this, _GetPricingRateResult_rateType, data === null || data === void 0 ? void 0 : data.rateType, "f");
|
|
45
|
+
__classPrivateFieldSet(this, _GetPricingRateResult_companyType, data === null || data === void 0 ? void 0 : data.companyType, "f");
|
|
46
|
+
}
|
|
47
|
+
toJSON() {
|
|
48
|
+
return {
|
|
49
|
+
id: __classPrivateFieldGet(this, _GetPricingRateResult_id, "f"),
|
|
50
|
+
rate: __classPrivateFieldGet(this, _GetPricingRateResult_rate, "f"),
|
|
51
|
+
start_date: __classPrivateFieldGet(this, _GetPricingRateResult_start_date, "f"),
|
|
52
|
+
end_date: __classPrivateFieldGet(this, _GetPricingRateResult_end_date, "f"),
|
|
53
|
+
created_at: __classPrivateFieldGet(this, _GetPricingRateResult_created_at, "f"),
|
|
54
|
+
rateType: __classPrivateFieldGet(this, _GetPricingRateResult_rateType, "f"),
|
|
55
|
+
companyType: __classPrivateFieldGet(this, _GetPricingRateResult_companyType, "f"),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.GetPricingRateResult = GetPricingRateResult;
|
|
60
|
+
_GetPricingRateResult_id = new WeakMap(), _GetPricingRateResult_rate = new WeakMap(), _GetPricingRateResult_start_date = new WeakMap(), _GetPricingRateResult_end_date = new WeakMap(), _GetPricingRateResult_created_at = new WeakMap(), _GetPricingRateResult_rateType = new WeakMap(), _GetPricingRateResult_companyType = new WeakMap();
|
|
61
|
+
//# sourceMappingURL=getPricingRateResult.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../../abstractEntity';
|
|
2
|
+
export declare type ScheduleTaskData = {
|
|
3
|
+
scheduleTaskId: number;
|
|
4
|
+
};
|
|
5
|
+
export declare class ScheduleTasksResult extends AbstractEntity<ScheduleTaskData> {
|
|
6
|
+
#private;
|
|
7
|
+
constructor(data: ScheduleTaskData);
|
|
8
|
+
toJSON(): ScheduleTaskData;
|
|
9
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
3
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
4
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
5
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
6
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
7
|
+
};
|
|
8
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
9
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
10
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
|
+
};
|
|
13
|
+
var _ScheduleTasksResult_scheduleTaskId;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ScheduleTasksResult = void 0;
|
|
16
|
+
const abstractEntity_1 = require("../../../abstractEntity");
|
|
17
|
+
class ScheduleTasksResult extends abstractEntity_1.AbstractEntity {
|
|
18
|
+
constructor(data) {
|
|
19
|
+
super(data);
|
|
20
|
+
_ScheduleTasksResult_scheduleTaskId.set(this, void 0);
|
|
21
|
+
__classPrivateFieldSet(this, _ScheduleTasksResult_scheduleTaskId, data.scheduleTaskId, "f");
|
|
22
|
+
}
|
|
23
|
+
toJSON() {
|
|
24
|
+
return {
|
|
25
|
+
scheduleTaskId: __classPrivateFieldGet(this, _ScheduleTasksResult_scheduleTaskId, "f"),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.ScheduleTasksResult = ScheduleTasksResult;
|
|
30
|
+
_ScheduleTasksResult_scheduleTaskId = new WeakMap();
|
|
31
|
+
//# sourceMappingURL=scheduleTasksResult.js.map
|
|
@@ -33,6 +33,8 @@ export * from './entities/offer/priceband/priceBandActionFlagsFindResult';
|
|
|
33
33
|
export * from './entities/offer/priceband/priceBandPriceFindResult';
|
|
34
34
|
export * from './entities/offer/priceband/saleConstraintsFindResult';
|
|
35
35
|
export * from './entities/offer/priceband/identifiers/arrowsphereFindResult';
|
|
36
|
+
export * from './entities/schedule/scheduleTasksResult';
|
|
37
|
+
export * from './entities/pricingRate/getPricingRateResult';
|
|
36
38
|
export * from './licenseRequestClient';
|
|
37
39
|
export * from './licensesClient';
|
|
38
40
|
export * from './entities/license/securityFindResult';
|
package/build/licenses/index.js
CHANGED
|
@@ -49,6 +49,8 @@ __exportStar(require("./entities/offer/priceband/priceBandActionFlagsFindResult"
|
|
|
49
49
|
__exportStar(require("./entities/offer/priceband/priceBandPriceFindResult"), exports);
|
|
50
50
|
__exportStar(require("./entities/offer/priceband/saleConstraintsFindResult"), exports);
|
|
51
51
|
__exportStar(require("./entities/offer/priceband/identifiers/arrowsphereFindResult"), exports);
|
|
52
|
+
__exportStar(require("./entities/schedule/scheduleTasksResult"), exports);
|
|
53
|
+
__exportStar(require("./entities/pricingRate/getPricingRateResult"), exports);
|
|
52
54
|
__exportStar(require("./licenseRequestClient"), exports);
|
|
53
55
|
__exportStar(require("./licensesClient"), exports);
|
|
54
56
|
__exportStar(require("./entities/license/securityFindResult"), exports);
|
|
@@ -19,6 +19,8 @@ import { LicenceHistoryResult } from './entities/history/licenceHistoryResult';
|
|
|
19
19
|
import { UpgradeResult } from './entities/license/upgradeResult';
|
|
20
20
|
import { LicenseConversionSkuResult } from './entities/license/licenseConversionSkuResult';
|
|
21
21
|
import { CredentialsResult } from './entities/license/credentialsResult';
|
|
22
|
+
import { ScheduleTasksResult } from './entities/schedule/scheduleTasksResult';
|
|
23
|
+
import { GetPricingRateResult, RateTypeEnum } from './entities/pricingRate/getPricingRateResult';
|
|
22
24
|
/**
|
|
23
25
|
* Parameters passable to the request for refining search.
|
|
24
26
|
*/
|
|
@@ -209,6 +211,17 @@ export declare type SaveBillingCommentsInputType = {
|
|
|
209
211
|
[SaveBillingCommentsInputFields.COLUMN_COMMENT_ONE]?: string | null;
|
|
210
212
|
[SaveBillingCommentsInputFields.COLUMN_COMMENT_TWO]?: string | null;
|
|
211
213
|
};
|
|
214
|
+
export declare type ScheduleTasks = {
|
|
215
|
+
periodicity: number;
|
|
216
|
+
term: number;
|
|
217
|
+
seats: number;
|
|
218
|
+
executionDate: string;
|
|
219
|
+
};
|
|
220
|
+
export declare type LicensePricingRate = {
|
|
221
|
+
rateType: RateTypeEnum;
|
|
222
|
+
rateValue: number;
|
|
223
|
+
applyOnNextBillingPeriod: boolean;
|
|
224
|
+
};
|
|
212
225
|
export declare class LicensesClient extends AbstractRestfulClient {
|
|
213
226
|
/**
|
|
214
227
|
* The base path of the API
|
|
@@ -274,6 +287,14 @@ export declare class LicensesClient extends AbstractRestfulClient {
|
|
|
274
287
|
* The path to retrieve license credentials
|
|
275
288
|
*/
|
|
276
289
|
private GET_LICENSE_CREDENTIALS;
|
|
290
|
+
/**
|
|
291
|
+
* The path of schedule tasks on a license
|
|
292
|
+
*/
|
|
293
|
+
private SCHEDULE_TASKS_PATH;
|
|
294
|
+
/**
|
|
295
|
+
* The path to get/set pricing rate on a license
|
|
296
|
+
*/
|
|
297
|
+
private PRICING_RATE_PATH;
|
|
277
298
|
/**
|
|
278
299
|
* Returns the raw result from the find endpoint call
|
|
279
300
|
*
|
|
@@ -314,6 +335,9 @@ export declare class LicensesClient extends AbstractRestfulClient {
|
|
|
314
335
|
getConversionSku(licenseReference: string, parameters?: Parameters): Promise<GetResult<LicenseConversionSkuResult>>;
|
|
315
336
|
getExistingConversionSku(licenseReference: string, parameters?: Parameters): Promise<GetResult<LicenseConversionSkuResult>>;
|
|
316
337
|
getCredentials(licenseReference: string, parameters?: Parameters): Promise<GetResult<CredentialsResult>>;
|
|
338
|
+
getPricingRate(licenseReference: string, parameters?: Parameters): Promise<GetResult<GetPricingRateResult>>;
|
|
339
|
+
setPricingRate(licenseReference: string, payload: LicensePricingRate, parameters?: Parameters): Promise<void>;
|
|
340
|
+
scheduleTasks(licenseReference: string, payload: ScheduleTasks, parameters?: Parameters): Promise<GetResult<ScheduleTasksResult>>;
|
|
317
341
|
private createFilters;
|
|
318
342
|
private createKeywords;
|
|
319
343
|
}
|
|
@@ -14,6 +14,8 @@ const licenceHistoryResult_1 = require("./entities/history/licenceHistoryResult"
|
|
|
14
14
|
const upgradeResult_1 = require("./entities/license/upgradeResult");
|
|
15
15
|
const licenseConversionSkuResult_1 = require("./entities/license/licenseConversionSkuResult");
|
|
16
16
|
const credentialsResult_1 = require("./entities/license/credentialsResult");
|
|
17
|
+
const scheduleTasksResult_1 = require("./entities/schedule/scheduleTasksResult");
|
|
18
|
+
const getPricingRateResult_1 = require("./entities/pricingRate/getPricingRateResult");
|
|
17
19
|
/**
|
|
18
20
|
* Parameters passable to the request for refining search.
|
|
19
21
|
*/
|
|
@@ -184,6 +186,14 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
184
186
|
* The path to retrieve license credentials
|
|
185
187
|
*/
|
|
186
188
|
this.GET_LICENSE_CREDENTIALS = '/credentials';
|
|
189
|
+
/**
|
|
190
|
+
* The path of schedule tasks on a license
|
|
191
|
+
*/
|
|
192
|
+
this.SCHEDULE_TASKS_PATH = '/scheduledTasks';
|
|
193
|
+
/**
|
|
194
|
+
* The path to get/set pricing rate on a license
|
|
195
|
+
*/
|
|
196
|
+
this.PRICING_RATE_PATH = '/pricing-rate';
|
|
187
197
|
}
|
|
188
198
|
/**
|
|
189
199
|
* Returns the raw result from the find endpoint call
|
|
@@ -343,6 +353,18 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
343
353
|
this.path = `/${licenseReference}${this.GET_LICENSE_CREDENTIALS}`;
|
|
344
354
|
return new getResult_1.GetResult(credentialsResult_1.CredentialsResult, await this.get(parameters));
|
|
345
355
|
}
|
|
356
|
+
async getPricingRate(licenseReference, parameters = {}) {
|
|
357
|
+
this.path = `/${licenseReference}${this.PRICING_RATE_PATH}`;
|
|
358
|
+
return new getResult_1.GetResult(getPricingRateResult_1.GetPricingRateResult, await this.get(parameters));
|
|
359
|
+
}
|
|
360
|
+
async setPricingRate(licenseReference, payload, parameters = {}) {
|
|
361
|
+
this.path = `/${licenseReference}${this.PRICING_RATE_PATH}`;
|
|
362
|
+
return await this.post(payload, parameters);
|
|
363
|
+
}
|
|
364
|
+
async scheduleTasks(licenseReference, payload, parameters = {}) {
|
|
365
|
+
this.path = `/${licenseReference}${this.SCHEDULE_TASKS_PATH}`;
|
|
366
|
+
return new getResult_1.GetResult(scheduleTasksResult_1.ScheduleTasksResult, await this.post(payload, parameters));
|
|
367
|
+
}
|
|
346
368
|
createFilters(parameters, keyParent) {
|
|
347
369
|
let appropriateParameters;
|
|
348
370
|
if (typeof parameters === 'object') {
|
package/package.json
CHANGED