@arrowsphere/api-client 3.155.0-rc-cpe-1 → 3.156.0-rc-cpe-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/build/customers/entities/customers/customerContact/customerContact.js +1 -2
- package/build/customers/entities/customers/customerContact/customerContactXcpInvitation.d.ts +1 -7
- package/build/customers/entities/customers/customerContact/customerContactXcpInvitation.js +2 -21
- package/build/orders/entities/orders/products/organizationUnit/organizationUnit.d.ts +16 -0
- package/build/orders/entities/orders/products/organizationUnit/organizationUnit.js +46 -0
- package/build/orders/entities/orders/products/products.d.ts +4 -0
- package/build/orders/entities/orders/products/products.js +14 -4
- package/build/user/types/CompleteWhoAmIUser.d.ts +4 -1
- package/build/user/types/CompleteWhoAmIUser.js +10 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +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.155.0] - 2024.10.30
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- [User] Added new field hasLegalDocument in User entity
|
|
10
|
+
|
|
6
11
|
## [3.154.0] - 2024.10.28
|
|
7
12
|
|
|
8
13
|
### Added
|
|
@@ -115,7 +115,6 @@ class CustomerContact extends abstractEntity_1.AbstractEntity {
|
|
|
115
115
|
return __classPrivateFieldGet(this, _CustomerContact_organizationUnits, "f");
|
|
116
116
|
}
|
|
117
117
|
toJSON() {
|
|
118
|
-
var _a;
|
|
119
118
|
return {
|
|
120
119
|
[CustomerContactFields.COLUMN_REFERENCE]: this.reference,
|
|
121
120
|
[CustomerContactFields.COLUMN_FIRST_NAME]: this.firstName,
|
|
@@ -126,7 +125,7 @@ class CustomerContact extends abstractEntity_1.AbstractEntity {
|
|
|
126
125
|
[CustomerContactFields.COLUMN_TYPE]: this.type,
|
|
127
126
|
[CustomerContactFields.COLUMN_ROLE]: this.role,
|
|
128
127
|
[CustomerContactFields.COLUMN_IS_ACTIVE]: this.isActive,
|
|
129
|
-
[CustomerContactFields.COLUMN_XCP_INVITATION]:
|
|
128
|
+
[CustomerContactFields.COLUMN_XCP_INVITATION]: this.xcpInvitation,
|
|
130
129
|
[CustomerContactFields.COLUMN_ORGANIZATION_UNIT_ID]: this
|
|
131
130
|
.organizationUnitId,
|
|
132
131
|
[CustomerContactFields.COLUMN_ORGANIZATION_UNITS]: this.organizationUnits.map((organizationUnit) => {
|
package/build/customers/entities/customers/customerContact/customerContactXcpInvitation.d.ts
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
import { AbstractEntity } from '../../../../abstractEntity';
|
|
2
2
|
export declare enum CustomerContactXcpInvitationFields {
|
|
3
|
-
COLUMN_POLICY = "policy"
|
|
4
|
-
COLUMN_CREATED_AT = "createdAt",
|
|
5
|
-
COLUMN_EXPIRED_AT = "expiredAt"
|
|
3
|
+
COLUMN_POLICY = "policy"
|
|
6
4
|
}
|
|
7
5
|
export declare type CustomerContactXcpInvitationType = {
|
|
8
6
|
[CustomerContactXcpInvitationFields.COLUMN_POLICY]?: string;
|
|
9
|
-
[CustomerContactXcpInvitationFields.COLUMN_CREATED_AT]?: string;
|
|
10
|
-
[CustomerContactXcpInvitationFields.COLUMN_EXPIRED_AT]?: string;
|
|
11
7
|
};
|
|
12
8
|
export declare class CustomerContactXcpInvitation extends AbstractEntity<CustomerContactXcpInvitationType> {
|
|
13
9
|
#private;
|
|
14
10
|
constructor(getCustomerContactXcpInvitationDataInput: CustomerContactXcpInvitationType);
|
|
15
11
|
get policy(): string | undefined;
|
|
16
|
-
get createdAt(): Date | undefined;
|
|
17
|
-
get expiredAt(): Date | undefined;
|
|
18
12
|
toJSON(): CustomerContactXcpInvitationType;
|
|
19
13
|
}
|
|
@@ -10,49 +10,30 @@ 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 _CustomerContactXcpInvitation_policy
|
|
13
|
+
var _CustomerContactXcpInvitation_policy;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.CustomerContactXcpInvitation = exports.CustomerContactXcpInvitationFields = void 0;
|
|
16
16
|
const abstractEntity_1 = require("../../../../abstractEntity");
|
|
17
17
|
var CustomerContactXcpInvitationFields;
|
|
18
18
|
(function (CustomerContactXcpInvitationFields) {
|
|
19
19
|
CustomerContactXcpInvitationFields["COLUMN_POLICY"] = "policy";
|
|
20
|
-
CustomerContactXcpInvitationFields["COLUMN_CREATED_AT"] = "createdAt";
|
|
21
|
-
CustomerContactXcpInvitationFields["COLUMN_EXPIRED_AT"] = "expiredAt";
|
|
22
20
|
})(CustomerContactXcpInvitationFields = exports.CustomerContactXcpInvitationFields || (exports.CustomerContactXcpInvitationFields = {}));
|
|
23
21
|
class CustomerContactXcpInvitation extends abstractEntity_1.AbstractEntity {
|
|
24
22
|
constructor(getCustomerContactXcpInvitationDataInput) {
|
|
25
23
|
var _a;
|
|
26
24
|
super(getCustomerContactXcpInvitationDataInput);
|
|
27
25
|
_CustomerContactXcpInvitation_policy.set(this, void 0);
|
|
28
|
-
_CustomerContactXcpInvitation_createdAt.set(this, void 0);
|
|
29
|
-
_CustomerContactXcpInvitation_expiredAt.set(this, void 0);
|
|
30
26
|
__classPrivateFieldSet(this, _CustomerContactXcpInvitation_policy, (_a = getCustomerContactXcpInvitationDataInput[CustomerContactXcpInvitationFields.COLUMN_POLICY]) !== null && _a !== void 0 ? _a : undefined, "f");
|
|
31
|
-
__classPrivateFieldSet(this, _CustomerContactXcpInvitation_createdAt, getCustomerContactXcpInvitationDataInput[CustomerContactXcpInvitationFields.COLUMN_CREATED_AT]
|
|
32
|
-
? new Date(getCustomerContactXcpInvitationDataInput[CustomerContactXcpInvitationFields.COLUMN_CREATED_AT])
|
|
33
|
-
: undefined, "f");
|
|
34
|
-
__classPrivateFieldSet(this, _CustomerContactXcpInvitation_expiredAt, getCustomerContactXcpInvitationDataInput[CustomerContactXcpInvitationFields.COLUMN_EXPIRED_AT]
|
|
35
|
-
? new Date(getCustomerContactXcpInvitationDataInput[CustomerContactXcpInvitationFields.COLUMN_EXPIRED_AT])
|
|
36
|
-
: undefined, "f");
|
|
37
27
|
}
|
|
38
28
|
get policy() {
|
|
39
29
|
return __classPrivateFieldGet(this, _CustomerContactXcpInvitation_policy, "f");
|
|
40
30
|
}
|
|
41
|
-
get createdAt() {
|
|
42
|
-
return __classPrivateFieldGet(this, _CustomerContactXcpInvitation_createdAt, "f");
|
|
43
|
-
}
|
|
44
|
-
get expiredAt() {
|
|
45
|
-
return __classPrivateFieldGet(this, _CustomerContactXcpInvitation_expiredAt, "f");
|
|
46
|
-
}
|
|
47
31
|
toJSON() {
|
|
48
|
-
var _a, _b;
|
|
49
32
|
return {
|
|
50
33
|
[CustomerContactXcpInvitationFields.COLUMN_POLICY]: this.policy,
|
|
51
|
-
[CustomerContactXcpInvitationFields.COLUMN_CREATED_AT]: (_a = this.createdAt) === null || _a === void 0 ? void 0 : _a.toISOString(),
|
|
52
|
-
[CustomerContactXcpInvitationFields.COLUMN_EXPIRED_AT]: (_b = this.expiredAt) === null || _b === void 0 ? void 0 : _b.toISOString(),
|
|
53
34
|
};
|
|
54
35
|
}
|
|
55
36
|
}
|
|
56
37
|
exports.CustomerContactXcpInvitation = CustomerContactXcpInvitation;
|
|
57
|
-
_CustomerContactXcpInvitation_policy = new WeakMap()
|
|
38
|
+
_CustomerContactXcpInvitation_policy = new WeakMap();
|
|
58
39
|
//# sourceMappingURL=customerContactXcpInvitation.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../../../../abstractEntity';
|
|
2
|
+
export declare enum OrganizationUnitTypeFields {
|
|
3
|
+
COLUMN_ORGANIZATION_UNIT_REF = "organizationUnitRef",
|
|
4
|
+
COLUMN_NAME = "name"
|
|
5
|
+
}
|
|
6
|
+
export declare type OrganizationUnitType = {
|
|
7
|
+
[OrganizationUnitTypeFields.COLUMN_ORGANIZATION_UNIT_REF]?: string;
|
|
8
|
+
[OrganizationUnitTypeFields.COLUMN_NAME]?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare class OrganizationUnit extends AbstractEntity<OrganizationUnitType> {
|
|
11
|
+
#private;
|
|
12
|
+
constructor(data: OrganizationUnit);
|
|
13
|
+
get organizationUnitRef(): string | undefined;
|
|
14
|
+
get name(): string | undefined;
|
|
15
|
+
toJSON(): OrganizationUnitType;
|
|
16
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 _OrganizationUnit_organizationUnitRef, _OrganizationUnit_name;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.OrganizationUnit = exports.OrganizationUnitTypeFields = void 0;
|
|
16
|
+
const abstractEntity_1 = require("../../../../../abstractEntity");
|
|
17
|
+
var OrganizationUnitTypeFields;
|
|
18
|
+
(function (OrganizationUnitTypeFields) {
|
|
19
|
+
OrganizationUnitTypeFields["COLUMN_ORGANIZATION_UNIT_REF"] = "organizationUnitRef";
|
|
20
|
+
OrganizationUnitTypeFields["COLUMN_NAME"] = "name";
|
|
21
|
+
})(OrganizationUnitTypeFields = exports.OrganizationUnitTypeFields || (exports.OrganizationUnitTypeFields = {}));
|
|
22
|
+
class OrganizationUnit extends abstractEntity_1.AbstractEntity {
|
|
23
|
+
constructor(data) {
|
|
24
|
+
super(data);
|
|
25
|
+
_OrganizationUnit_organizationUnitRef.set(this, void 0);
|
|
26
|
+
_OrganizationUnit_name.set(this, void 0);
|
|
27
|
+
__classPrivateFieldSet(this, _OrganizationUnit_organizationUnitRef, data[OrganizationUnitTypeFields.COLUMN_ORGANIZATION_UNIT_REF], "f");
|
|
28
|
+
__classPrivateFieldSet(this, _OrganizationUnit_name, data[OrganizationUnitTypeFields.COLUMN_NAME], "f");
|
|
29
|
+
}
|
|
30
|
+
get organizationUnitRef() {
|
|
31
|
+
return __classPrivateFieldGet(this, _OrganizationUnit_organizationUnitRef, "f");
|
|
32
|
+
}
|
|
33
|
+
get name() {
|
|
34
|
+
return __classPrivateFieldGet(this, _OrganizationUnit_name, "f");
|
|
35
|
+
}
|
|
36
|
+
toJSON() {
|
|
37
|
+
return {
|
|
38
|
+
[OrganizationUnitTypeFields.COLUMN_ORGANIZATION_UNIT_REF]: this
|
|
39
|
+
.organizationUnitRef,
|
|
40
|
+
[OrganizationUnitTypeFields.COLUMN_NAME]: this.name,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.OrganizationUnit = OrganizationUnit;
|
|
45
|
+
_OrganizationUnit_organizationUnitRef = new WeakMap(), _OrganizationUnit_name = new WeakMap();
|
|
46
|
+
//# sourceMappingURL=organizationUnit.js.map
|
|
@@ -4,6 +4,7 @@ import { ProductPrices, ProductPricesType } from './prices/productPrices';
|
|
|
4
4
|
import { ProductProgram, ProductProgramType } from './program/productProgram';
|
|
5
5
|
import { ProductIdentifiers, ProductIdentifiersType } from './identifiers/productIdentifiers';
|
|
6
6
|
import { PriceBand, PriceBandType } from './priceBand/priceBand';
|
|
7
|
+
import { OrganizationUnit, OrganizationUnitType } from './organizationUnit/organizationUnit';
|
|
7
8
|
export declare enum OrderProductsFields {
|
|
8
9
|
COLUMN_SKU = "sku",
|
|
9
10
|
COLUMN_QUANTITY = "quantity",
|
|
@@ -21,6 +22,7 @@ export declare enum OrderProductsFields {
|
|
|
21
22
|
COLUMN_PROGRAM = "program",
|
|
22
23
|
COLUMN_IDENTIFIERS = "identifiers",
|
|
23
24
|
COLUMN_ORGANIZATION_UNIT_REF = "organizationUnitRef",
|
|
25
|
+
COLUMN_ORGANIZATION_UNIT = "organizationUnit",
|
|
24
26
|
COLUMN_PRICE_BAND = "priceBand"
|
|
25
27
|
}
|
|
26
28
|
export declare type OrderProductsType = {
|
|
@@ -40,6 +42,7 @@ export declare type OrderProductsType = {
|
|
|
40
42
|
[OrderProductsFields.COLUMN_PROGRAM]: ProductProgramType;
|
|
41
43
|
[OrderProductsFields.COLUMN_IDENTIFIERS]: ProductIdentifiersType;
|
|
42
44
|
[OrderProductsFields.COLUMN_ORGANIZATION_UNIT_REF]?: string;
|
|
45
|
+
[OrderProductsFields.COLUMN_ORGANIZATION_UNIT]?: OrganizationUnitType;
|
|
43
46
|
[OrderProductsFields.COLUMN_PRICE_BAND]?: PriceBandType;
|
|
44
47
|
};
|
|
45
48
|
export declare class OrderProduct extends AbstractEntity<OrderProductsType> {
|
|
@@ -62,5 +65,6 @@ export declare class OrderProduct extends AbstractEntity<OrderProductsType> {
|
|
|
62
65
|
get identifier(): ProductIdentifiers;
|
|
63
66
|
get organizationUnitRef(): string | undefined;
|
|
64
67
|
get priceBand(): PriceBand | undefined;
|
|
68
|
+
get organizationUnit(): OrganizationUnit | undefined;
|
|
65
69
|
toJSON(): OrderProductsType;
|
|
66
70
|
}
|
|
@@ -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 _OrderProduct_sku, _OrderProduct_quantity, _OrderProduct_status, _OrderProduct_dateStatus, _OrderProduct_detailedStatus, _OrderProduct_isAddon, _OrderProduct_arrowSubCategories, _OrderProduct_isTrial, _OrderProduct_prices, _OrderProduct_subscription, _OrderProduct_license, _OrderProduct_name, _OrderProduct_classification, _OrderProduct_program, _OrderProduct_identifier, _OrderProduct_organizationUnitRef, _OrderProduct_priceBand;
|
|
13
|
+
var _OrderProduct_sku, _OrderProduct_quantity, _OrderProduct_status, _OrderProduct_dateStatus, _OrderProduct_detailedStatus, _OrderProduct_isAddon, _OrderProduct_arrowSubCategories, _OrderProduct_isTrial, _OrderProduct_prices, _OrderProduct_subscription, _OrderProduct_license, _OrderProduct_name, _OrderProduct_classification, _OrderProduct_program, _OrderProduct_identifier, _OrderProduct_organizationUnitRef, _OrderProduct_organizationUnit, _OrderProduct_priceBand;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.OrderProduct = exports.OrderProductsFields = void 0;
|
|
16
16
|
const abstractEntity_1 = require("../../../../abstractEntity");
|
|
@@ -19,6 +19,7 @@ const productPrices_1 = require("./prices/productPrices");
|
|
|
19
19
|
const productProgram_1 = require("./program/productProgram");
|
|
20
20
|
const productIdentifiers_1 = require("./identifiers/productIdentifiers");
|
|
21
21
|
const priceBand_1 = require("./priceBand/priceBand");
|
|
22
|
+
const organizationUnit_1 = require("./organizationUnit/organizationUnit");
|
|
22
23
|
var OrderProductsFields;
|
|
23
24
|
(function (OrderProductsFields) {
|
|
24
25
|
OrderProductsFields["COLUMN_SKU"] = "sku";
|
|
@@ -37,6 +38,7 @@ var OrderProductsFields;
|
|
|
37
38
|
OrderProductsFields["COLUMN_PROGRAM"] = "program";
|
|
38
39
|
OrderProductsFields["COLUMN_IDENTIFIERS"] = "identifiers";
|
|
39
40
|
OrderProductsFields["COLUMN_ORGANIZATION_UNIT_REF"] = "organizationUnitRef";
|
|
41
|
+
OrderProductsFields["COLUMN_ORGANIZATION_UNIT"] = "organizationUnit";
|
|
40
42
|
OrderProductsFields["COLUMN_PRICE_BAND"] = "priceBand";
|
|
41
43
|
})(OrderProductsFields = exports.OrderProductsFields || (exports.OrderProductsFields = {}));
|
|
42
44
|
class OrderProduct extends abstractEntity_1.AbstractEntity {
|
|
@@ -59,6 +61,7 @@ class OrderProduct extends abstractEntity_1.AbstractEntity {
|
|
|
59
61
|
_OrderProduct_program.set(this, void 0);
|
|
60
62
|
_OrderProduct_identifier.set(this, void 0);
|
|
61
63
|
_OrderProduct_organizationUnitRef.set(this, void 0);
|
|
64
|
+
_OrderProduct_organizationUnit.set(this, void 0);
|
|
62
65
|
_OrderProduct_priceBand.set(this, void 0);
|
|
63
66
|
__classPrivateFieldSet(this, _OrderProduct_sku, getOrderProducts[OrderProductsFields.COLUMN_SKU], "f");
|
|
64
67
|
__classPrivateFieldSet(this, _OrderProduct_quantity, getOrderProducts[OrderProductsFields.COLUMN_QUANTITY], "f");
|
|
@@ -78,6 +81,9 @@ class OrderProduct extends abstractEntity_1.AbstractEntity {
|
|
|
78
81
|
__classPrivateFieldSet(this, _OrderProduct_program, new productProgram_1.ProductProgram(getOrderProducts[OrderProductsFields.COLUMN_PROGRAM]), "f");
|
|
79
82
|
__classPrivateFieldSet(this, _OrderProduct_identifier, new productIdentifiers_1.ProductIdentifiers(getOrderProducts[OrderProductsFields.COLUMN_IDENTIFIERS]), "f");
|
|
80
83
|
__classPrivateFieldSet(this, _OrderProduct_organizationUnitRef, getOrderProducts[OrderProductsFields.COLUMN_ORGANIZATION_UNIT_REF], "f");
|
|
84
|
+
__classPrivateFieldSet(this, _OrderProduct_organizationUnit, getOrderProducts[OrderProductsFields.COLUMN_ORGANIZATION_UNIT]
|
|
85
|
+
? new organizationUnit_1.OrganizationUnit(getOrderProducts[OrderProductsFields.COLUMN_ORGANIZATION_UNIT])
|
|
86
|
+
: undefined, "f");
|
|
81
87
|
__classPrivateFieldSet(this, _OrderProduct_priceBand, getOrderProducts[OrderProductsFields.COLUMN_PRICE_BAND]
|
|
82
88
|
? new priceBand_1.PriceBand(getOrderProducts[OrderProductsFields.COLUMN_PRICE_BAND])
|
|
83
89
|
: undefined, "f");
|
|
@@ -133,8 +139,11 @@ class OrderProduct extends abstractEntity_1.AbstractEntity {
|
|
|
133
139
|
get priceBand() {
|
|
134
140
|
return __classPrivateFieldGet(this, _OrderProduct_priceBand, "f");
|
|
135
141
|
}
|
|
142
|
+
get organizationUnit() {
|
|
143
|
+
return __classPrivateFieldGet(this, _OrderProduct_organizationUnit, "f");
|
|
144
|
+
}
|
|
136
145
|
toJSON() {
|
|
137
|
-
var _a, _b;
|
|
146
|
+
var _a, _b, _c;
|
|
138
147
|
return {
|
|
139
148
|
[OrderProductsFields.COLUMN_SKU]: this.sku,
|
|
140
149
|
[OrderProductsFields.COLUMN_QUANTITY]: this.quantity,
|
|
@@ -153,10 +162,11 @@ class OrderProduct extends abstractEntity_1.AbstractEntity {
|
|
|
153
162
|
[OrderProductsFields.COLUMN_IDENTIFIERS]: this.identifier.toJSON(),
|
|
154
163
|
[OrderProductsFields.COLUMN_ORGANIZATION_UNIT_REF]: this
|
|
155
164
|
.organizationUnitRef,
|
|
156
|
-
[OrderProductsFields.
|
|
165
|
+
[OrderProductsFields.COLUMN_ORGANIZATION_UNIT]: (_b = this.organizationUnit) === null || _b === void 0 ? void 0 : _b.toJSON(),
|
|
166
|
+
[OrderProductsFields.COLUMN_PRICE_BAND]: (_c = this.priceBand) === null || _c === void 0 ? void 0 : _c.toJSON(),
|
|
157
167
|
};
|
|
158
168
|
}
|
|
159
169
|
}
|
|
160
170
|
exports.OrderProduct = OrderProduct;
|
|
161
|
-
_OrderProduct_sku = new WeakMap(), _OrderProduct_quantity = new WeakMap(), _OrderProduct_status = new WeakMap(), _OrderProduct_dateStatus = new WeakMap(), _OrderProduct_detailedStatus = new WeakMap(), _OrderProduct_isAddon = new WeakMap(), _OrderProduct_arrowSubCategories = new WeakMap(), _OrderProduct_isTrial = new WeakMap(), _OrderProduct_prices = new WeakMap(), _OrderProduct_subscription = new WeakMap(), _OrderProduct_license = new WeakMap(), _OrderProduct_name = new WeakMap(), _OrderProduct_classification = new WeakMap(), _OrderProduct_program = new WeakMap(), _OrderProduct_identifier = new WeakMap(), _OrderProduct_organizationUnitRef = new WeakMap(), _OrderProduct_priceBand = new WeakMap();
|
|
171
|
+
_OrderProduct_sku = new WeakMap(), _OrderProduct_quantity = new WeakMap(), _OrderProduct_status = new WeakMap(), _OrderProduct_dateStatus = new WeakMap(), _OrderProduct_detailedStatus = new WeakMap(), _OrderProduct_isAddon = new WeakMap(), _OrderProduct_arrowSubCategories = new WeakMap(), _OrderProduct_isTrial = new WeakMap(), _OrderProduct_prices = new WeakMap(), _OrderProduct_subscription = new WeakMap(), _OrderProduct_license = new WeakMap(), _OrderProduct_name = new WeakMap(), _OrderProduct_classification = new WeakMap(), _OrderProduct_program = new WeakMap(), _OrderProduct_identifier = new WeakMap(), _OrderProduct_organizationUnitRef = new WeakMap(), _OrderProduct_organizationUnit = new WeakMap(), _OrderProduct_priceBand = new WeakMap();
|
|
162
172
|
//# sourceMappingURL=products.js.map
|
|
@@ -10,7 +10,8 @@ export declare enum CompleteWhoAmIUserFields {
|
|
|
10
10
|
COLUMN_RIGHTS = "rights",
|
|
11
11
|
COLUMN_SCOPES = "scopes",
|
|
12
12
|
COLUMN_XAP_USERNAME = "xapUsername",
|
|
13
|
-
COLUMN_CAN_IMPERSONATE = "canImpersonate"
|
|
13
|
+
COLUMN_CAN_IMPERSONATE = "canImpersonate",
|
|
14
|
+
COLUMN_HAS_LEGAL_DOCUMENT = "hasLegalDocument"
|
|
14
15
|
}
|
|
15
16
|
export declare type ImpersonableUser = {
|
|
16
17
|
username: string;
|
|
@@ -30,6 +31,7 @@ export declare type CompleteWhoAmIUserData = {
|
|
|
30
31
|
[CompleteWhoAmIUserFields.COLUMN_SCOPES]: string[];
|
|
31
32
|
[CompleteWhoAmIUserFields.COLUMN_XAP_USERNAME]: string;
|
|
32
33
|
[CompleteWhoAmIUserFields.COLUMN_CAN_IMPERSONATE]: ImpersonableUser[];
|
|
34
|
+
[CompleteWhoAmIUserFields.COLUMN_HAS_LEGAL_DOCUMENT]?: boolean;
|
|
33
35
|
};
|
|
34
36
|
export declare class CompleteWhoAmIUser extends AbstractEntity<CompleteWhoAmIUserData> {
|
|
35
37
|
#private;
|
|
@@ -45,5 +47,6 @@ export declare class CompleteWhoAmIUser extends AbstractEntity<CompleteWhoAmIUse
|
|
|
45
47
|
get scopes(): string[];
|
|
46
48
|
get xapUsername(): string;
|
|
47
49
|
get canImpersonate(): ImpersonableUser[];
|
|
50
|
+
get hasLegalDocument(): boolean | undefined;
|
|
48
51
|
toJSON(): CompleteWhoAmIUserData;
|
|
49
52
|
}
|
|
@@ -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 _CompleteWhoAmIUser_email, _CompleteWhoAmIUser_firstname, _CompleteWhoAmIUser_lastname, _CompleteWhoAmIUser_login, _CompleteWhoAmIUser_phoneNumber, _CompleteWhoAmIUser_policies, _CompleteWhoAmIUser_reference, _CompleteWhoAmIUser_rights, _CompleteWhoAmIUser_scopes, _CompleteWhoAmIUser_xapUsername, _CompleteWhoAmIUser_canImpersonate;
|
|
13
|
+
var _CompleteWhoAmIUser_email, _CompleteWhoAmIUser_firstname, _CompleteWhoAmIUser_lastname, _CompleteWhoAmIUser_login, _CompleteWhoAmIUser_phoneNumber, _CompleteWhoAmIUser_policies, _CompleteWhoAmIUser_reference, _CompleteWhoAmIUser_rights, _CompleteWhoAmIUser_scopes, _CompleteWhoAmIUser_xapUsername, _CompleteWhoAmIUser_canImpersonate, _CompleteWhoAmIUser_hasLegalDocument;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.CompleteWhoAmIUser = exports.CompleteWhoAmIUserFields = void 0;
|
|
16
16
|
const abstractEntity_1 = require("../../abstractEntity");
|
|
@@ -27,6 +27,7 @@ var CompleteWhoAmIUserFields;
|
|
|
27
27
|
CompleteWhoAmIUserFields["COLUMN_SCOPES"] = "scopes";
|
|
28
28
|
CompleteWhoAmIUserFields["COLUMN_XAP_USERNAME"] = "xapUsername";
|
|
29
29
|
CompleteWhoAmIUserFields["COLUMN_CAN_IMPERSONATE"] = "canImpersonate";
|
|
30
|
+
CompleteWhoAmIUserFields["COLUMN_HAS_LEGAL_DOCUMENT"] = "hasLegalDocument";
|
|
30
31
|
})(CompleteWhoAmIUserFields = exports.CompleteWhoAmIUserFields || (exports.CompleteWhoAmIUserFields = {}));
|
|
31
32
|
class CompleteWhoAmIUser extends abstractEntity_1.AbstractEntity {
|
|
32
33
|
constructor(data) {
|
|
@@ -42,6 +43,7 @@ class CompleteWhoAmIUser extends abstractEntity_1.AbstractEntity {
|
|
|
42
43
|
_CompleteWhoAmIUser_scopes.set(this, void 0);
|
|
43
44
|
_CompleteWhoAmIUser_xapUsername.set(this, void 0);
|
|
44
45
|
_CompleteWhoAmIUser_canImpersonate.set(this, void 0);
|
|
46
|
+
_CompleteWhoAmIUser_hasLegalDocument.set(this, void 0);
|
|
45
47
|
__classPrivateFieldSet(this, _CompleteWhoAmIUser_email, data[CompleteWhoAmIUserFields.COLUMN_EMAIL], "f");
|
|
46
48
|
__classPrivateFieldSet(this, _CompleteWhoAmIUser_firstname, data[CompleteWhoAmIUserFields.COLUMN_FIRSTNAME], "f");
|
|
47
49
|
__classPrivateFieldSet(this, _CompleteWhoAmIUser_lastname, data[CompleteWhoAmIUserFields.COLUMN_LASTNAME], "f");
|
|
@@ -53,6 +55,7 @@ class CompleteWhoAmIUser extends abstractEntity_1.AbstractEntity {
|
|
|
53
55
|
__classPrivateFieldSet(this, _CompleteWhoAmIUser_scopes, data[CompleteWhoAmIUserFields.COLUMN_SCOPES], "f");
|
|
54
56
|
__classPrivateFieldSet(this, _CompleteWhoAmIUser_xapUsername, data[CompleteWhoAmIUserFields.COLUMN_XAP_USERNAME], "f");
|
|
55
57
|
__classPrivateFieldSet(this, _CompleteWhoAmIUser_canImpersonate, data[CompleteWhoAmIUserFields.COLUMN_CAN_IMPERSONATE], "f");
|
|
58
|
+
__classPrivateFieldSet(this, _CompleteWhoAmIUser_hasLegalDocument, data[CompleteWhoAmIUserFields.COLUMN_HAS_LEGAL_DOCUMENT], "f");
|
|
56
59
|
}
|
|
57
60
|
get email() {
|
|
58
61
|
return __classPrivateFieldGet(this, _CompleteWhoAmIUser_email, "f");
|
|
@@ -87,6 +90,9 @@ class CompleteWhoAmIUser extends abstractEntity_1.AbstractEntity {
|
|
|
87
90
|
get canImpersonate() {
|
|
88
91
|
return __classPrivateFieldGet(this, _CompleteWhoAmIUser_canImpersonate, "f");
|
|
89
92
|
}
|
|
93
|
+
get hasLegalDocument() {
|
|
94
|
+
return __classPrivateFieldGet(this, _CompleteWhoAmIUser_hasLegalDocument, "f");
|
|
95
|
+
}
|
|
90
96
|
toJSON() {
|
|
91
97
|
return {
|
|
92
98
|
[CompleteWhoAmIUserFields.COLUMN_EMAIL]: this.email,
|
|
@@ -100,9 +106,11 @@ class CompleteWhoAmIUser extends abstractEntity_1.AbstractEntity {
|
|
|
100
106
|
[CompleteWhoAmIUserFields.COLUMN_SCOPES]: this.scopes,
|
|
101
107
|
[CompleteWhoAmIUserFields.COLUMN_XAP_USERNAME]: this.xapUsername,
|
|
102
108
|
[CompleteWhoAmIUserFields.COLUMN_CAN_IMPERSONATE]: this.canImpersonate,
|
|
109
|
+
[CompleteWhoAmIUserFields.COLUMN_HAS_LEGAL_DOCUMENT]: this
|
|
110
|
+
.hasLegalDocument,
|
|
103
111
|
};
|
|
104
112
|
}
|
|
105
113
|
}
|
|
106
114
|
exports.CompleteWhoAmIUser = CompleteWhoAmIUser;
|
|
107
|
-
_CompleteWhoAmIUser_email = new WeakMap(), _CompleteWhoAmIUser_firstname = new WeakMap(), _CompleteWhoAmIUser_lastname = new WeakMap(), _CompleteWhoAmIUser_login = new WeakMap(), _CompleteWhoAmIUser_phoneNumber = new WeakMap(), _CompleteWhoAmIUser_policies = new WeakMap(), _CompleteWhoAmIUser_reference = new WeakMap(), _CompleteWhoAmIUser_rights = new WeakMap(), _CompleteWhoAmIUser_scopes = new WeakMap(), _CompleteWhoAmIUser_xapUsername = new WeakMap(), _CompleteWhoAmIUser_canImpersonate = new WeakMap();
|
|
115
|
+
_CompleteWhoAmIUser_email = new WeakMap(), _CompleteWhoAmIUser_firstname = new WeakMap(), _CompleteWhoAmIUser_lastname = new WeakMap(), _CompleteWhoAmIUser_login = new WeakMap(), _CompleteWhoAmIUser_phoneNumber = new WeakMap(), _CompleteWhoAmIUser_policies = new WeakMap(), _CompleteWhoAmIUser_reference = new WeakMap(), _CompleteWhoAmIUser_rights = new WeakMap(), _CompleteWhoAmIUser_scopes = new WeakMap(), _CompleteWhoAmIUser_xapUsername = new WeakMap(), _CompleteWhoAmIUser_canImpersonate = new WeakMap(), _CompleteWhoAmIUser_hasLegalDocument = new WeakMap();
|
|
108
116
|
//# sourceMappingURL=CompleteWhoAmIUser.js.map
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "https://github.com/ArrowSphere/nodejs-api-client.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "3.
|
|
7
|
+
"version": "3.156.0-rc-cpe-1",
|
|
8
8
|
"description": "Node.js client for ArrowSphere's public API",
|
|
9
9
|
"main": "build/index.js",
|
|
10
10
|
"types": "build/index.d.ts",
|