@arrowsphere/api-client 3.156.0 → 3.157.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 +6 -0
- 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 +16 -2
- package/build/customers/entities/dataInvitation.d.ts +4 -1
- package/build/customers/entities/dataInvitation.js +9 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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.157.0] - 2024.11.14
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- [customers contact] Added createdAt/expiredAt properties in XcpInvitation entity
|
|
10
|
+
- [customers contact] Added expiredAt property in DataInvitation entity
|
|
11
|
+
|
|
6
12
|
## [3.156.0] - 2024.11.07
|
|
7
13
|
|
|
8
14
|
### Added
|
|
@@ -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(): string | undefined;
|
|
17
|
+
get expiredAt(): string | undefined;
|
|
12
18
|
toJSON(): CustomerContactXcpInvitationType;
|
|
13
19
|
}
|
|
@@ -10,30 +10,44 @@ 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], "f");
|
|
32
|
+
__classPrivateFieldSet(this, _CustomerContactXcpInvitation_expiredAt, getCustomerContactXcpInvitationDataInput[CustomerContactXcpInvitationFields.COLUMN_EXPIRED_AT], "f");
|
|
27
33
|
}
|
|
28
34
|
get policy() {
|
|
29
35
|
return __classPrivateFieldGet(this, _CustomerContactXcpInvitation_policy, "f");
|
|
30
36
|
}
|
|
37
|
+
get createdAt() {
|
|
38
|
+
return __classPrivateFieldGet(this, _CustomerContactXcpInvitation_createdAt, "f");
|
|
39
|
+
}
|
|
40
|
+
get expiredAt() {
|
|
41
|
+
return __classPrivateFieldGet(this, _CustomerContactXcpInvitation_expiredAt, "f");
|
|
42
|
+
}
|
|
31
43
|
toJSON() {
|
|
32
44
|
return {
|
|
33
45
|
[CustomerContactXcpInvitationFields.COLUMN_POLICY]: this.policy,
|
|
46
|
+
[CustomerContactXcpInvitationFields.COLUMN_CREATED_AT]: this.createdAt,
|
|
47
|
+
[CustomerContactXcpInvitationFields.COLUMN_EXPIRED_AT]: this.expiredAt,
|
|
34
48
|
};
|
|
35
49
|
}
|
|
36
50
|
}
|
|
37
51
|
exports.CustomerContactXcpInvitation = CustomerContactXcpInvitation;
|
|
38
|
-
_CustomerContactXcpInvitation_policy = new WeakMap();
|
|
52
|
+
_CustomerContactXcpInvitation_policy = new WeakMap(), _CustomerContactXcpInvitation_createdAt = new WeakMap(), _CustomerContactXcpInvitation_expiredAt = new WeakMap();
|
|
39
53
|
//# sourceMappingURL=customerContactXcpInvitation.js.map
|
|
@@ -7,7 +7,8 @@ export declare enum DataInvitationFields {
|
|
|
7
7
|
COLUMN_UPDATED_AT = "updatedAt",
|
|
8
8
|
COLUMN_COMPANY = "company",
|
|
9
9
|
COLUMN_CONTACT = "contact",
|
|
10
|
-
COLUMN_POLICY = "policy"
|
|
10
|
+
COLUMN_POLICY = "policy",
|
|
11
|
+
COLUMN_EXPIRED_AT = "expiredAt"
|
|
11
12
|
}
|
|
12
13
|
export declare type DataInvitationType = {
|
|
13
14
|
[DataInvitationFields.COLUMN_CODE]: string;
|
|
@@ -16,6 +17,7 @@ export declare type DataInvitationType = {
|
|
|
16
17
|
[DataInvitationFields.COLUMN_COMPANY]: CompanyType;
|
|
17
18
|
[DataInvitationFields.COLUMN_CONTACT]: InvitationContactType;
|
|
18
19
|
[DataInvitationFields.COLUMN_POLICY]: string;
|
|
20
|
+
[DataInvitationFields.COLUMN_EXPIRED_AT]: string;
|
|
19
21
|
};
|
|
20
22
|
export declare class DataInvitation extends AbstractEntity<DataInvitationType> {
|
|
21
23
|
#private;
|
|
@@ -26,5 +28,6 @@ export declare class DataInvitation extends AbstractEntity<DataInvitationType> {
|
|
|
26
28
|
get company(): Company;
|
|
27
29
|
get contact(): InvitationContact;
|
|
28
30
|
get policy(): string;
|
|
31
|
+
get expiredAt(): string;
|
|
29
32
|
toJSON(): DataInvitationType;
|
|
30
33
|
}
|
|
@@ -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 _DataInvitation_code, _DataInvitation_createdAt, _DataInvitation_updatedAt, _DataInvitation_company, _DataInvitation_contact, _DataInvitation_policy;
|
|
13
|
+
var _DataInvitation_code, _DataInvitation_createdAt, _DataInvitation_updatedAt, _DataInvitation_company, _DataInvitation_contact, _DataInvitation_policy, _DataInvitation_expiredAt;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.DataInvitation = exports.DataInvitationFields = void 0;
|
|
16
16
|
const abstractEntity_1 = require("../../abstractEntity");
|
|
@@ -24,6 +24,7 @@ var DataInvitationFields;
|
|
|
24
24
|
DataInvitationFields["COLUMN_COMPANY"] = "company";
|
|
25
25
|
DataInvitationFields["COLUMN_CONTACT"] = "contact";
|
|
26
26
|
DataInvitationFields["COLUMN_POLICY"] = "policy";
|
|
27
|
+
DataInvitationFields["COLUMN_EXPIRED_AT"] = "expiredAt";
|
|
27
28
|
})(DataInvitationFields = exports.DataInvitationFields || (exports.DataInvitationFields = {}));
|
|
28
29
|
class DataInvitation extends abstractEntity_1.AbstractEntity {
|
|
29
30
|
constructor(getCustomerInvitationDataInput) {
|
|
@@ -34,12 +35,14 @@ class DataInvitation extends abstractEntity_1.AbstractEntity {
|
|
|
34
35
|
_DataInvitation_company.set(this, void 0);
|
|
35
36
|
_DataInvitation_contact.set(this, void 0);
|
|
36
37
|
_DataInvitation_policy.set(this, void 0);
|
|
38
|
+
_DataInvitation_expiredAt.set(this, void 0);
|
|
37
39
|
__classPrivateFieldSet(this, _DataInvitation_code, getCustomerInvitationDataInput[DataInvitationFields.COLUMN_CODE], "f");
|
|
38
40
|
__classPrivateFieldSet(this, _DataInvitation_createdAt, getCustomerInvitationDataInput[DataInvitationFields.COLUMN_CREATED_AT], "f");
|
|
39
41
|
__classPrivateFieldSet(this, _DataInvitation_updatedAt, getCustomerInvitationDataInput[DataInvitationFields.COLUMN_UPDATED_AT], "f");
|
|
40
42
|
__classPrivateFieldSet(this, _DataInvitation_company, new company_1.Company(getCustomerInvitationDataInput[DataInvitationFields.COLUMN_COMPANY]), "f");
|
|
41
43
|
__classPrivateFieldSet(this, _DataInvitation_contact, new invitationContact_1.InvitationContact(getCustomerInvitationDataInput[DataInvitationFields.COLUMN_CONTACT]), "f");
|
|
42
44
|
__classPrivateFieldSet(this, _DataInvitation_policy, getCustomerInvitationDataInput[DataInvitationFields.COLUMN_POLICY], "f");
|
|
45
|
+
__classPrivateFieldSet(this, _DataInvitation_expiredAt, getCustomerInvitationDataInput[DataInvitationFields.COLUMN_EXPIRED_AT], "f");
|
|
43
46
|
}
|
|
44
47
|
get code() {
|
|
45
48
|
return __classPrivateFieldGet(this, _DataInvitation_code, "f");
|
|
@@ -59,6 +62,9 @@ class DataInvitation extends abstractEntity_1.AbstractEntity {
|
|
|
59
62
|
get policy() {
|
|
60
63
|
return __classPrivateFieldGet(this, _DataInvitation_policy, "f");
|
|
61
64
|
}
|
|
65
|
+
get expiredAt() {
|
|
66
|
+
return __classPrivateFieldGet(this, _DataInvitation_expiredAt, "f");
|
|
67
|
+
}
|
|
62
68
|
toJSON() {
|
|
63
69
|
return {
|
|
64
70
|
[DataInvitationFields.COLUMN_CODE]: this.code,
|
|
@@ -67,9 +73,10 @@ class DataInvitation extends abstractEntity_1.AbstractEntity {
|
|
|
67
73
|
[DataInvitationFields.COLUMN_COMPANY]: this.company.toJSON(),
|
|
68
74
|
[DataInvitationFields.COLUMN_CONTACT]: this.contact.toJSON(),
|
|
69
75
|
[DataInvitationFields.COLUMN_POLICY]: this.policy,
|
|
76
|
+
[DataInvitationFields.COLUMN_EXPIRED_AT]: this.expiredAt,
|
|
70
77
|
};
|
|
71
78
|
}
|
|
72
79
|
}
|
|
73
80
|
exports.DataInvitation = DataInvitation;
|
|
74
|
-
_DataInvitation_code = new WeakMap(), _DataInvitation_createdAt = new WeakMap(), _DataInvitation_updatedAt = new WeakMap(), _DataInvitation_company = new WeakMap(), _DataInvitation_contact = new WeakMap(), _DataInvitation_policy = new WeakMap();
|
|
81
|
+
_DataInvitation_code = new WeakMap(), _DataInvitation_createdAt = new WeakMap(), _DataInvitation_updatedAt = new WeakMap(), _DataInvitation_company = new WeakMap(), _DataInvitation_contact = new WeakMap(), _DataInvitation_policy = new WeakMap(), _DataInvitation_expiredAt = new WeakMap();
|
|
75
82
|
//# sourceMappingURL=dataInvitation.js.map
|
package/package.json
CHANGED