@arrowsphere/api-client 3.154.0 → 3.155.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/build/customers/entities/customers/customerContact/customerContact.js +2 -1
- package/build/customers/entities/customers/customerContact/customerContactXcpInvitation.d.ts +7 -1
- package/build/customers/entities/customers/customerContact/customerContactXcpInvitation.js +21 -2
- package/package.json +1 -1
|
@@ -115,6 +115,7 @@ class CustomerContact extends abstractEntity_1.AbstractEntity {
|
|
|
115
115
|
return __classPrivateFieldGet(this, _CustomerContact_organizationUnits, "f");
|
|
116
116
|
}
|
|
117
117
|
toJSON() {
|
|
118
|
+
var _a;
|
|
118
119
|
return {
|
|
119
120
|
[CustomerContactFields.COLUMN_REFERENCE]: this.reference,
|
|
120
121
|
[CustomerContactFields.COLUMN_FIRST_NAME]: this.firstName,
|
|
@@ -125,7 +126,7 @@ class CustomerContact extends abstractEntity_1.AbstractEntity {
|
|
|
125
126
|
[CustomerContactFields.COLUMN_TYPE]: this.type,
|
|
126
127
|
[CustomerContactFields.COLUMN_ROLE]: this.role,
|
|
127
128
|
[CustomerContactFields.COLUMN_IS_ACTIVE]: this.isActive,
|
|
128
|
-
[CustomerContactFields.COLUMN_XCP_INVITATION]: this.xcpInvitation,
|
|
129
|
+
[CustomerContactFields.COLUMN_XCP_INVITATION]: (_a = this.xcpInvitation) === null || _a === void 0 ? void 0 : _a.toJSON(),
|
|
129
130
|
[CustomerContactFields.COLUMN_ORGANIZATION_UNIT_ID]: this
|
|
130
131
|
.organizationUnitId,
|
|
131
132
|
[CustomerContactFields.COLUMN_ORGANIZATION_UNITS]: this.organizationUnits.map((organizationUnit) => {
|
package/build/customers/entities/customers/customerContact/customerContactXcpInvitation.d.ts
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
import { AbstractEntity } from '../../../../abstractEntity';
|
|
2
2
|
export declare enum CustomerContactXcpInvitationFields {
|
|
3
|
-
COLUMN_POLICY = "policy"
|
|
3
|
+
COLUMN_POLICY = "policy",
|
|
4
|
+
COLUMN_CREATED_AT = "createdAt",
|
|
5
|
+
COLUMN_EXPIRED_AT = "expiredAt"
|
|
4
6
|
}
|
|
5
7
|
export declare type CustomerContactXcpInvitationType = {
|
|
6
8
|
[CustomerContactXcpInvitationFields.COLUMN_POLICY]?: string;
|
|
9
|
+
[CustomerContactXcpInvitationFields.COLUMN_CREATED_AT]?: string;
|
|
10
|
+
[CustomerContactXcpInvitationFields.COLUMN_EXPIRED_AT]?: string;
|
|
7
11
|
};
|
|
8
12
|
export declare class CustomerContactXcpInvitation extends AbstractEntity<CustomerContactXcpInvitationType> {
|
|
9
13
|
#private;
|
|
10
14
|
constructor(getCustomerContactXcpInvitationDataInput: CustomerContactXcpInvitationType);
|
|
11
15
|
get policy(): string | undefined;
|
|
16
|
+
get createdAt(): Date | undefined;
|
|
17
|
+
get expiredAt(): Date | undefined;
|
|
12
18
|
toJSON(): CustomerContactXcpInvitationType;
|
|
13
19
|
}
|
|
@@ -10,30 +10,49 @@ 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, _CustomerContactXcpInvitation_createdAt, _CustomerContactXcpInvitation_expiredAt;
|
|
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";
|
|
20
22
|
})(CustomerContactXcpInvitationFields = exports.CustomerContactXcpInvitationFields || (exports.CustomerContactXcpInvitationFields = {}));
|
|
21
23
|
class CustomerContactXcpInvitation extends abstractEntity_1.AbstractEntity {
|
|
22
24
|
constructor(getCustomerContactXcpInvitationDataInput) {
|
|
23
25
|
var _a;
|
|
24
26
|
super(getCustomerContactXcpInvitationDataInput);
|
|
25
27
|
_CustomerContactXcpInvitation_policy.set(this, void 0);
|
|
28
|
+
_CustomerContactXcpInvitation_createdAt.set(this, void 0);
|
|
29
|
+
_CustomerContactXcpInvitation_expiredAt.set(this, void 0);
|
|
26
30
|
__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");
|
|
27
37
|
}
|
|
28
38
|
get policy() {
|
|
29
39
|
return __classPrivateFieldGet(this, _CustomerContactXcpInvitation_policy, "f");
|
|
30
40
|
}
|
|
41
|
+
get createdAt() {
|
|
42
|
+
return __classPrivateFieldGet(this, _CustomerContactXcpInvitation_createdAt, "f");
|
|
43
|
+
}
|
|
44
|
+
get expiredAt() {
|
|
45
|
+
return __classPrivateFieldGet(this, _CustomerContactXcpInvitation_expiredAt, "f");
|
|
46
|
+
}
|
|
31
47
|
toJSON() {
|
|
48
|
+
var _a, _b;
|
|
32
49
|
return {
|
|
33
50
|
[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(),
|
|
34
53
|
};
|
|
35
54
|
}
|
|
36
55
|
}
|
|
37
56
|
exports.CustomerContactXcpInvitation = CustomerContactXcpInvitation;
|
|
38
|
-
_CustomerContactXcpInvitation_policy = new WeakMap();
|
|
57
|
+
_CustomerContactXcpInvitation_policy = new WeakMap(), _CustomerContactXcpInvitation_createdAt = new WeakMap(), _CustomerContactXcpInvitation_expiredAt = new WeakMap();
|
|
39
58
|
//# sourceMappingURL=customerContactXcpInvitation.js.map
|
package/package.json
CHANGED