@arrowsphere/api-client 3.22.0-rc.1 → 3.22.0-rc.2
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 +2 -2
- package/build/licenses/index.d.ts +0 -2
- package/build/licenses/index.js +0 -2
- package/build/orders/entities/orders/products/identifiers/productIdentifiers.d.ts +14 -0
- package/build/orders/entities/orders/products/identifiers/productIdentifiers.js +41 -0
- package/build/orders/entities/orders/products/identifiers/vendor/identifiersVendor.d.ts +13 -0
- package/build/orders/entities/orders/products/identifiers/vendor/identifiersVendor.js +40 -0
- package/build/orders/entities/orders/products/products.d.ts +15 -1
- package/build/orders/entities/orders/products/products.js +32 -2
- package/build/orders/entities/orders/products/program/productProgram.d.ts +13 -0
- package/build/orders/entities/orders/products/program/productProgram.js +40 -0
- package/build/orders/index.d.ts +3 -0
- package/build/orders/index.js +3 -0
- package/package.json +1 -1
- package/build/licenses/entities/event/licenseEvent.d.ts +0 -65
- package/build/licenses/entities/event/licenseEvent.js +0 -17
- package/build/licenses/entities/event/licenseEventGraphQL.d.ts +0 -29
- package/build/licenses/entities/event/licenseEventGraphQL.js +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
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.22.0] - 2023-03-
|
|
6
|
+
## [3.22.0] - 2023-03-06
|
|
7
7
|
|
|
8
8
|
### Changed
|
|
9
9
|
|
|
10
|
-
- Add
|
|
10
|
+
- Add column in order product
|
|
11
11
|
|
|
12
12
|
## [3.21.0] - 2023-03-06
|
|
13
13
|
|
package/build/licenses/index.js
CHANGED
|
@@ -10,8 +10,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./entities/event/licenseEvent"), exports);
|
|
14
|
-
__exportStar(require("./entities/event/licenseEventGraphQL"), exports);
|
|
15
13
|
__exportStar(require("./entities/filterFindResult"), exports);
|
|
16
14
|
__exportStar(require("./entities/findResult"), exports);
|
|
17
15
|
__exportStar(require("./entities/getLicense/actionMessagesGetResult"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../../../../abstractEntity';
|
|
2
|
+
import { IdentifiersVendor, IdentifiersVendorType } from './vendor/identifiersVendor';
|
|
3
|
+
export declare enum ProductIdentifiersFields {
|
|
4
|
+
COLUMN_VENDOR = "vendor"
|
|
5
|
+
}
|
|
6
|
+
export declare type ProductIdentifiersType = {
|
|
7
|
+
[ProductIdentifiersFields.COLUMN_VENDOR]: IdentifiersVendorType;
|
|
8
|
+
};
|
|
9
|
+
export declare class ProductIdentifiers extends AbstractEntity<ProductIdentifiersType> {
|
|
10
|
+
#private;
|
|
11
|
+
constructor(vendor: ProductIdentifiersType);
|
|
12
|
+
get vendor(): IdentifiersVendor;
|
|
13
|
+
toJSON(): ProductIdentifiersType;
|
|
14
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 _vendor;
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.ProductIdentifiers = exports.ProductIdentifiersFields = void 0;
|
|
18
|
+
const abstractEntity_1 = require("../../../../../abstractEntity");
|
|
19
|
+
const identifiersVendor_1 = require("./vendor/identifiersVendor");
|
|
20
|
+
var ProductIdentifiersFields;
|
|
21
|
+
(function (ProductIdentifiersFields) {
|
|
22
|
+
ProductIdentifiersFields["COLUMN_VENDOR"] = "vendor";
|
|
23
|
+
})(ProductIdentifiersFields = exports.ProductIdentifiersFields || (exports.ProductIdentifiersFields = {}));
|
|
24
|
+
class ProductIdentifiers extends abstractEntity_1.AbstractEntity {
|
|
25
|
+
constructor(vendor) {
|
|
26
|
+
super(vendor);
|
|
27
|
+
_vendor.set(this, void 0);
|
|
28
|
+
__classPrivateFieldSet(this, _vendor, new identifiersVendor_1.IdentifiersVendor(vendor[ProductIdentifiersFields.COLUMN_VENDOR]));
|
|
29
|
+
}
|
|
30
|
+
get vendor() {
|
|
31
|
+
return __classPrivateFieldGet(this, _vendor);
|
|
32
|
+
}
|
|
33
|
+
toJSON() {
|
|
34
|
+
return {
|
|
35
|
+
[ProductIdentifiersFields.COLUMN_VENDOR]: this.vendor,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.ProductIdentifiers = ProductIdentifiers;
|
|
40
|
+
_vendor = new WeakMap();
|
|
41
|
+
//# sourceMappingURL=productIdentifiers.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../../../../../abstractEntity';
|
|
2
|
+
export declare enum IdentifiersVendorFields {
|
|
3
|
+
COLUMN_SKU = "sku"
|
|
4
|
+
}
|
|
5
|
+
export declare type IdentifiersVendorType = {
|
|
6
|
+
[IdentifiersVendorFields.COLUMN_SKU]: string;
|
|
7
|
+
};
|
|
8
|
+
export declare class IdentifiersVendor extends AbstractEntity<IdentifiersVendorType> {
|
|
9
|
+
#private;
|
|
10
|
+
constructor(vendor: IdentifiersVendorType);
|
|
11
|
+
get sku(): string;
|
|
12
|
+
toJSON(): IdentifiersVendorType;
|
|
13
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 _sku;
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.IdentifiersVendor = exports.IdentifiersVendorFields = void 0;
|
|
18
|
+
const abstractEntity_1 = require("../../../../../../abstractEntity");
|
|
19
|
+
var IdentifiersVendorFields;
|
|
20
|
+
(function (IdentifiersVendorFields) {
|
|
21
|
+
IdentifiersVendorFields["COLUMN_SKU"] = "sku";
|
|
22
|
+
})(IdentifiersVendorFields = exports.IdentifiersVendorFields || (exports.IdentifiersVendorFields = {}));
|
|
23
|
+
class IdentifiersVendor extends abstractEntity_1.AbstractEntity {
|
|
24
|
+
constructor(vendor) {
|
|
25
|
+
super(vendor);
|
|
26
|
+
_sku.set(this, void 0);
|
|
27
|
+
__classPrivateFieldSet(this, _sku, vendor[IdentifiersVendorFields.COLUMN_SKU]);
|
|
28
|
+
}
|
|
29
|
+
get sku() {
|
|
30
|
+
return __classPrivateFieldGet(this, _sku);
|
|
31
|
+
}
|
|
32
|
+
toJSON() {
|
|
33
|
+
return {
|
|
34
|
+
[IdentifiersVendorFields.COLUMN_SKU]: this.sku,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.IdentifiersVendor = IdentifiersVendor;
|
|
39
|
+
_sku = new WeakMap();
|
|
40
|
+
//# sourceMappingURL=identifiersVendor.js.map
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { AbstractEntity } from '../../../../abstractEntity';
|
|
2
2
|
import { ReferenceLink, ReferenceLinkType } from '../../referenceLink';
|
|
3
3
|
import { ProductPrices, ProductPricesType } from './prices/productPrices';
|
|
4
|
+
import { ProductProgram, ProductProgramType } from './program/productProgram';
|
|
5
|
+
import { ProductIdentifiers, ProductIdentifiersType } from './identifiers/productIdentifiers';
|
|
4
6
|
export declare enum OrderProductsFields {
|
|
5
7
|
COLUMN_SKU = "sku",
|
|
6
8
|
COLUMN_QUANTITY = "quantity",
|
|
@@ -12,7 +14,11 @@ export declare enum OrderProductsFields {
|
|
|
12
14
|
COLUMN_IS_TRIAL = "isTrial",
|
|
13
15
|
COLUMN_PRICES = "prices",
|
|
14
16
|
COLUMN_SUBSCRIPTION = "subscription",
|
|
15
|
-
COLUMN_LICENSE = "license"
|
|
17
|
+
COLUMN_LICENSE = "license",
|
|
18
|
+
COLUMN_NAME = "name",
|
|
19
|
+
COLUMN_CLASSIFICATION = "classification",
|
|
20
|
+
COLUMN_PROGRAM = "program",
|
|
21
|
+
COLUMN_IDENTIFIERS = "identifiers"
|
|
16
22
|
}
|
|
17
23
|
export declare type OrderProductsType = {
|
|
18
24
|
[OrderProductsFields.COLUMN_SKU]: string;
|
|
@@ -26,6 +32,10 @@ export declare type OrderProductsType = {
|
|
|
26
32
|
[OrderProductsFields.COLUMN_PRICES]: ProductPricesType;
|
|
27
33
|
[OrderProductsFields.COLUMN_SUBSCRIPTION]: ReferenceLinkType;
|
|
28
34
|
[OrderProductsFields.COLUMN_LICENSE]: ReferenceLinkType;
|
|
35
|
+
[OrderProductsFields.COLUMN_NAME]: string;
|
|
36
|
+
[OrderProductsFields.COLUMN_CLASSIFICATION]: string;
|
|
37
|
+
[OrderProductsFields.COLUMN_PROGRAM]: ProductProgramType;
|
|
38
|
+
[OrderProductsFields.COLUMN_IDENTIFIERS]: ProductIdentifiersType;
|
|
29
39
|
};
|
|
30
40
|
export declare class OrderProduct extends AbstractEntity<OrderProductsType> {
|
|
31
41
|
#private;
|
|
@@ -41,5 +51,9 @@ export declare class OrderProduct extends AbstractEntity<OrderProductsType> {
|
|
|
41
51
|
get prices(): ProductPrices;
|
|
42
52
|
get subscription(): ReferenceLink;
|
|
43
53
|
get license(): ReferenceLink;
|
|
54
|
+
get name(): string;
|
|
55
|
+
get classification(): string;
|
|
56
|
+
get program(): ProductProgram;
|
|
57
|
+
get identifier(): ProductIdentifiers;
|
|
44
58
|
toJSON(): OrderProductsType;
|
|
45
59
|
}
|
|
@@ -12,12 +12,14 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
12
12
|
}
|
|
13
13
|
return privateMap.get(receiver);
|
|
14
14
|
};
|
|
15
|
-
var _sku, _quantity, _status, _dateStatus, _detailedStatus, _isAddon, _arrowSubCategories, _isTrial, _prices, _subscription, _license;
|
|
15
|
+
var _sku, _quantity, _status, _dateStatus, _detailedStatus, _isAddon, _arrowSubCategories, _isTrial, _prices, _subscription, _license, _name, _classification, _program, _identifier;
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.OrderProduct = exports.OrderProductsFields = void 0;
|
|
18
18
|
const abstractEntity_1 = require("../../../../abstractEntity");
|
|
19
19
|
const referenceLink_1 = require("../../referenceLink");
|
|
20
20
|
const productPrices_1 = require("./prices/productPrices");
|
|
21
|
+
const productProgram_1 = require("./program/productProgram");
|
|
22
|
+
const productIdentifiers_1 = require("./identifiers/productIdentifiers");
|
|
21
23
|
var OrderProductsFields;
|
|
22
24
|
(function (OrderProductsFields) {
|
|
23
25
|
OrderProductsFields["COLUMN_SKU"] = "sku";
|
|
@@ -31,6 +33,10 @@ var OrderProductsFields;
|
|
|
31
33
|
OrderProductsFields["COLUMN_PRICES"] = "prices";
|
|
32
34
|
OrderProductsFields["COLUMN_SUBSCRIPTION"] = "subscription";
|
|
33
35
|
OrderProductsFields["COLUMN_LICENSE"] = "license";
|
|
36
|
+
OrderProductsFields["COLUMN_NAME"] = "name";
|
|
37
|
+
OrderProductsFields["COLUMN_CLASSIFICATION"] = "classification";
|
|
38
|
+
OrderProductsFields["COLUMN_PROGRAM"] = "program";
|
|
39
|
+
OrderProductsFields["COLUMN_IDENTIFIERS"] = "identifiers";
|
|
34
40
|
})(OrderProductsFields = exports.OrderProductsFields || (exports.OrderProductsFields = {}));
|
|
35
41
|
class OrderProduct extends abstractEntity_1.AbstractEntity {
|
|
36
42
|
constructor(getOrderProducts) {
|
|
@@ -47,6 +53,10 @@ class OrderProduct extends abstractEntity_1.AbstractEntity {
|
|
|
47
53
|
_prices.set(this, void 0);
|
|
48
54
|
_subscription.set(this, void 0);
|
|
49
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);
|
|
50
60
|
__classPrivateFieldSet(this, _sku, getOrderProducts[OrderProductsFields.COLUMN_SKU]);
|
|
51
61
|
__classPrivateFieldSet(this, _quantity, getOrderProducts[OrderProductsFields.COLUMN_QUANTITY]);
|
|
52
62
|
__classPrivateFieldSet(this, _status, getOrderProducts[OrderProductsFields.COLUMN_STATUS]);
|
|
@@ -58,6 +68,10 @@ class OrderProduct extends abstractEntity_1.AbstractEntity {
|
|
|
58
68
|
__classPrivateFieldSet(this, _prices, new productPrices_1.ProductPrices(getOrderProducts[OrderProductsFields.COLUMN_PRICES]));
|
|
59
69
|
__classPrivateFieldSet(this, _subscription, new referenceLink_1.ReferenceLink(getOrderProducts[OrderProductsFields.COLUMN_SUBSCRIPTION]));
|
|
60
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]));
|
|
61
75
|
}
|
|
62
76
|
get sku() {
|
|
63
77
|
return __classPrivateFieldGet(this, _sku);
|
|
@@ -92,6 +106,18 @@ class OrderProduct extends abstractEntity_1.AbstractEntity {
|
|
|
92
106
|
get license() {
|
|
93
107
|
return __classPrivateFieldGet(this, _license);
|
|
94
108
|
}
|
|
109
|
+
get name() {
|
|
110
|
+
return __classPrivateFieldGet(this, _name);
|
|
111
|
+
}
|
|
112
|
+
get classification() {
|
|
113
|
+
return __classPrivateFieldGet(this, _classification);
|
|
114
|
+
}
|
|
115
|
+
get program() {
|
|
116
|
+
return __classPrivateFieldGet(this, _program);
|
|
117
|
+
}
|
|
118
|
+
get identifier() {
|
|
119
|
+
return __classPrivateFieldGet(this, _identifier);
|
|
120
|
+
}
|
|
95
121
|
toJSON() {
|
|
96
122
|
return {
|
|
97
123
|
[OrderProductsFields.COLUMN_SKU]: this.sku,
|
|
@@ -105,9 +131,13 @@ class OrderProduct extends abstractEntity_1.AbstractEntity {
|
|
|
105
131
|
[OrderProductsFields.COLUMN_PRICES]: this.prices.toJSON(),
|
|
106
132
|
[OrderProductsFields.COLUMN_SUBSCRIPTION]: this.subscription.toJSON(),
|
|
107
133
|
[OrderProductsFields.COLUMN_LICENSE]: this.license.toJSON(),
|
|
134
|
+
[OrderProductsFields.COLUMN_NAME]: this.name,
|
|
135
|
+
[OrderProductsFields.COLUMN_CLASSIFICATION]: this.classification,
|
|
136
|
+
[OrderProductsFields.COLUMN_PROGRAM]: this.program.toJSON(),
|
|
137
|
+
[OrderProductsFields.COLUMN_IDENTIFIERS]: this.identifier.toJSON(),
|
|
108
138
|
};
|
|
109
139
|
}
|
|
110
140
|
}
|
|
111
141
|
exports.OrderProduct = OrderProduct;
|
|
112
|
-
_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();
|
|
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();
|
|
113
143
|
//# sourceMappingURL=products.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../../../../abstractEntity';
|
|
2
|
+
export declare enum ProductProgramFields {
|
|
3
|
+
COLUMN_LEGACY_CODE = "legacyCode"
|
|
4
|
+
}
|
|
5
|
+
export declare type ProductProgramType = {
|
|
6
|
+
[ProductProgramFields.COLUMN_LEGACY_CODE]: string;
|
|
7
|
+
};
|
|
8
|
+
export declare class ProductProgram extends AbstractEntity<ProductProgramType> {
|
|
9
|
+
#private;
|
|
10
|
+
constructor(program: ProductProgramType);
|
|
11
|
+
get legacyCode(): string;
|
|
12
|
+
toJSON(): ProductProgramType;
|
|
13
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 _legacyCode;
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.ProductProgram = exports.ProductProgramFields = void 0;
|
|
18
|
+
const abstractEntity_1 = require("../../../../../abstractEntity");
|
|
19
|
+
var ProductProgramFields;
|
|
20
|
+
(function (ProductProgramFields) {
|
|
21
|
+
ProductProgramFields["COLUMN_LEGACY_CODE"] = "legacyCode";
|
|
22
|
+
})(ProductProgramFields = exports.ProductProgramFields || (exports.ProductProgramFields = {}));
|
|
23
|
+
class ProductProgram extends abstractEntity_1.AbstractEntity {
|
|
24
|
+
constructor(program) {
|
|
25
|
+
super(program);
|
|
26
|
+
_legacyCode.set(this, void 0);
|
|
27
|
+
__classPrivateFieldSet(this, _legacyCode, program[ProductProgramFields.COLUMN_LEGACY_CODE]);
|
|
28
|
+
}
|
|
29
|
+
get legacyCode() {
|
|
30
|
+
return __classPrivateFieldGet(this, _legacyCode);
|
|
31
|
+
}
|
|
32
|
+
toJSON() {
|
|
33
|
+
return {
|
|
34
|
+
[ProductProgramFields.COLUMN_LEGACY_CODE]: this.legacyCode,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.ProductProgram = ProductProgram;
|
|
39
|
+
_legacyCode = new WeakMap();
|
|
40
|
+
//# sourceMappingURL=productProgram.js.map
|
package/build/orders/index.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export * from './entities/dataListOrders';
|
|
2
2
|
export * from './entities/orders/order';
|
|
3
3
|
export * from './entities/orders/partner/partner';
|
|
4
|
+
export * from './entities/orders/products/identifiers/vendor/identifiersVendor';
|
|
5
|
+
export * from './entities/orders/products/identifiers/productIdentifiers';
|
|
4
6
|
export * from './entities/orders/products/prices/productPrices';
|
|
7
|
+
export * from './entities/orders/products/program/productProgram';
|
|
5
8
|
export * from './entities/orders/products/products';
|
|
6
9
|
export * from './entities/referenceLink';
|
|
7
10
|
export * from './ordersClient';
|
package/build/orders/index.js
CHANGED
|
@@ -13,7 +13,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
13
13
|
__exportStar(require("./entities/dataListOrders"), exports);
|
|
14
14
|
__exportStar(require("./entities/orders/order"), exports);
|
|
15
15
|
__exportStar(require("./entities/orders/partner/partner"), exports);
|
|
16
|
+
__exportStar(require("./entities/orders/products/identifiers/vendor/identifiersVendor"), exports);
|
|
17
|
+
__exportStar(require("./entities/orders/products/identifiers/productIdentifiers"), exports);
|
|
16
18
|
__exportStar(require("./entities/orders/products/prices/productPrices"), exports);
|
|
19
|
+
__exportStar(require("./entities/orders/products/program/productProgram"), exports);
|
|
17
20
|
__exportStar(require("./entities/orders/products/products"), exports);
|
|
18
21
|
__exportStar(require("./entities/referenceLink"), exports);
|
|
19
22
|
__exportStar(require("./ordersClient"), exports);
|
package/package.json
CHANGED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
export declare enum LicenseEventActionType {
|
|
2
|
-
AUTO_RENEW_OFF = "autoRenewOff",
|
|
3
|
-
AUTO_RENEW_ON = "autoRenewOn",
|
|
4
|
-
CANCELLED = "cancelled",
|
|
5
|
-
CREATION = "creation",
|
|
6
|
-
DISABLED = "disabled",
|
|
7
|
-
EXPIRED = "expired",
|
|
8
|
-
QUANTITY_UPDATE = "quantityUpdate",
|
|
9
|
-
REACTIVATED = "reactivated",
|
|
10
|
-
RENEW = "renew",
|
|
11
|
-
SUSPENDED = "suspended"
|
|
12
|
-
}
|
|
13
|
-
export interface LicenseEventVendor {
|
|
14
|
-
name: string;
|
|
15
|
-
code: string;
|
|
16
|
-
}
|
|
17
|
-
export interface LicenseEventCustomer {
|
|
18
|
-
name: string;
|
|
19
|
-
ref: string;
|
|
20
|
-
}
|
|
21
|
-
export interface LicenseEventReseller {
|
|
22
|
-
name: string;
|
|
23
|
-
ref: string;
|
|
24
|
-
}
|
|
25
|
-
export interface LicenseEventPriceband {
|
|
26
|
-
vendorSku: string;
|
|
27
|
-
arrowsphereSku: string;
|
|
28
|
-
}
|
|
29
|
-
export interface LicenseEventOffer {
|
|
30
|
-
arrowsphereSku: string;
|
|
31
|
-
name: string;
|
|
32
|
-
}
|
|
33
|
-
export interface LicenseEventQuantity {
|
|
34
|
-
current: number;
|
|
35
|
-
requested: number;
|
|
36
|
-
}
|
|
37
|
-
export interface LicenseEventUser {
|
|
38
|
-
name: string;
|
|
39
|
-
email: string;
|
|
40
|
-
}
|
|
41
|
-
export interface LicenseEventDetails {
|
|
42
|
-
message: string;
|
|
43
|
-
}
|
|
44
|
-
export interface LicenseEvent {
|
|
45
|
-
id: number;
|
|
46
|
-
partnerRef: string;
|
|
47
|
-
orderRef: string;
|
|
48
|
-
createdAt: string;
|
|
49
|
-
customer: LicenseEventCustomer;
|
|
50
|
-
reseller: LicenseEventReseller;
|
|
51
|
-
marketplace: string;
|
|
52
|
-
friendlyName: string;
|
|
53
|
-
vendor: LicenseEventVendor;
|
|
54
|
-
priceband: LicenseEventPriceband;
|
|
55
|
-
offer: LicenseEventOffer;
|
|
56
|
-
uom: string;
|
|
57
|
-
periodicity: number;
|
|
58
|
-
term: number;
|
|
59
|
-
trial: boolean;
|
|
60
|
-
quantity: LicenseEventQuantity;
|
|
61
|
-
statusCode: string;
|
|
62
|
-
user: LicenseEventUser;
|
|
63
|
-
actionType: LicenseEventActionType;
|
|
64
|
-
eventDetails: LicenseEventDetails;
|
|
65
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LicenseEventActionType = void 0;
|
|
4
|
-
var LicenseEventActionType;
|
|
5
|
-
(function (LicenseEventActionType) {
|
|
6
|
-
LicenseEventActionType["AUTO_RENEW_OFF"] = "autoRenewOff";
|
|
7
|
-
LicenseEventActionType["AUTO_RENEW_ON"] = "autoRenewOn";
|
|
8
|
-
LicenseEventActionType["CANCELLED"] = "cancelled";
|
|
9
|
-
LicenseEventActionType["CREATION"] = "creation";
|
|
10
|
-
LicenseEventActionType["DISABLED"] = "disabled";
|
|
11
|
-
LicenseEventActionType["EXPIRED"] = "expired";
|
|
12
|
-
LicenseEventActionType["QUANTITY_UPDATE"] = "quantityUpdate";
|
|
13
|
-
LicenseEventActionType["REACTIVATED"] = "reactivated";
|
|
14
|
-
LicenseEventActionType["RENEW"] = "renew";
|
|
15
|
-
LicenseEventActionType["SUSPENDED"] = "suspended";
|
|
16
|
-
})(LicenseEventActionType = exports.LicenseEventActionType || (exports.LicenseEventActionType = {}));
|
|
17
|
-
//# sourceMappingURL=licenseEvent.js.map
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { LicenseEvent } from './licenseEvent';
|
|
2
|
-
export interface LicenseEventPagination {
|
|
3
|
-
perPage: number;
|
|
4
|
-
currentPage: number;
|
|
5
|
-
totalPage: number;
|
|
6
|
-
total: number;
|
|
7
|
-
next: string;
|
|
8
|
-
previous: string;
|
|
9
|
-
}
|
|
10
|
-
export interface PaginatedLicenseEvents {
|
|
11
|
-
filters: LicenseEventFilters[];
|
|
12
|
-
pagination: LicenseEventPagination;
|
|
13
|
-
events: Array<{
|
|
14
|
-
event: LicenseEvent;
|
|
15
|
-
}>;
|
|
16
|
-
}
|
|
17
|
-
export interface LicenseEventFilters {
|
|
18
|
-
name: string;
|
|
19
|
-
values: LicenseEventFiltersValues[];
|
|
20
|
-
}
|
|
21
|
-
export interface LicenseEventFiltersValues {
|
|
22
|
-
value: string;
|
|
23
|
-
count: number;
|
|
24
|
-
}
|
|
25
|
-
export interface LicenseEventQueryResponse {
|
|
26
|
-
data: {
|
|
27
|
-
getEvents: PaginatedLicenseEvents;
|
|
28
|
-
};
|
|
29
|
-
}
|