@arrowsphere/api-client 3.73.0 → 3.74.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 +5 -3
- package/build/customers/entities/customers/customerContact/customerContact.d.ts +5 -1
- package/build/customers/entities/customers/customerContact/customerContact.js +12 -2
- package/build/customers/entities/customers/customerContact/customerContactXcpInvitation.d.ts +13 -0
- package/build/customers/entities/customers/customerContact/customerContactXcpInvitation.js +39 -0
- 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.74.0] - 2023-11-23
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
- [Customers Contact] Add xcp invitation data in customer contact call
|
|
10
|
+
|
|
6
11
|
## [3.73.0] - 2023-12-06
|
|
7
12
|
|
|
8
13
|
### Changed
|
|
@@ -77,13 +82,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
77
82
|
### Changed
|
|
78
83
|
- Add the isLocked key in the RegisterCheckReturnData.
|
|
79
84
|
|
|
80
|
-
|
|
81
85
|
## [3.69.1] - 2023-11-23
|
|
82
86
|
|
|
83
87
|
### Fixed
|
|
84
88
|
- Fixed the bad schema for ExtraDataType
|
|
85
89
|
|
|
86
|
-
|
|
87
90
|
## [3.69.0] - 2023-11-23
|
|
88
91
|
|
|
89
92
|
### Changed
|
|
@@ -96,7 +99,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
96
99
|
- [Well Architected] Add Status type to Standard
|
|
97
100
|
- [Well Architected] Pass a header with getVendorStatus for the register/check endpoint
|
|
98
101
|
|
|
99
|
-
|
|
100
102
|
## [3.67.0] - 2023-11-17
|
|
101
103
|
|
|
102
104
|
### Changed
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AbstractEntity } from '../../../../abstractEntity';
|
|
2
|
+
import { CustomerContactXcpInvitationType } from './customerContactXcpInvitation';
|
|
2
3
|
export declare type CustomerContactRoleType = CustomerContactRoleEnum | string;
|
|
3
4
|
export declare enum CustomerContactRoleEnum {
|
|
4
5
|
PRIMARY = "primary",
|
|
@@ -23,7 +24,8 @@ export declare enum CustomerContactFields {
|
|
|
23
24
|
COLUMN_USERNAME = "username",
|
|
24
25
|
COLUMN_TYPE = "type",
|
|
25
26
|
COLUMN_ROLE = "role",
|
|
26
|
-
COLUMN_IS_ACTIVE = "isActive"
|
|
27
|
+
COLUMN_IS_ACTIVE = "isActive",
|
|
28
|
+
COLUMN_XCP_INVITATION = "xcpInvitation"
|
|
27
29
|
}
|
|
28
30
|
export declare type CustomerContactType = {
|
|
29
31
|
[CustomerContactFields.COLUMN_REFERENCE]: string;
|
|
@@ -35,6 +37,7 @@ export declare type CustomerContactType = {
|
|
|
35
37
|
[CustomerContactFields.COLUMN_TYPE]: string;
|
|
36
38
|
[CustomerContactFields.COLUMN_ROLE]: string;
|
|
37
39
|
[CustomerContactFields.COLUMN_IS_ACTIVE]: boolean;
|
|
40
|
+
[CustomerContactFields.COLUMN_XCP_INVITATION]?: CustomerContactXcpInvitationType;
|
|
38
41
|
};
|
|
39
42
|
export declare class CustomerContact extends AbstractEntity<CustomerContactType> {
|
|
40
43
|
#private;
|
|
@@ -48,5 +51,6 @@ export declare class CustomerContact extends AbstractEntity<CustomerContactType>
|
|
|
48
51
|
get type(): string;
|
|
49
52
|
get role(): string;
|
|
50
53
|
get isActive(): boolean;
|
|
54
|
+
get xcpInvitation(): CustomerContactXcpInvitationType | undefined;
|
|
51
55
|
toJSON(): CustomerContactType;
|
|
52
56
|
}
|
|
@@ -10,10 +10,11 @@ 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 _CustomerContact_reference, _CustomerContact_firstName, _CustomerContact_lastName, _CustomerContact_email, _CustomerContact_phone, _CustomerContact_username, _CustomerContact_type, _CustomerContact_role, _CustomerContact_isActive;
|
|
13
|
+
var _CustomerContact_reference, _CustomerContact_firstName, _CustomerContact_lastName, _CustomerContact_email, _CustomerContact_phone, _CustomerContact_username, _CustomerContact_type, _CustomerContact_role, _CustomerContact_isActive, _CustomerContact_xcpInvitation;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.CustomerContact = exports.CustomerContactFields = exports.CustomerContactTypeEnum = exports.CustomerContactRoleEnum = void 0;
|
|
16
16
|
const abstractEntity_1 = require("../../../../abstractEntity");
|
|
17
|
+
const customerContactXcpInvitation_1 = require("./customerContactXcpInvitation");
|
|
17
18
|
var CustomerContactRoleEnum;
|
|
18
19
|
(function (CustomerContactRoleEnum) {
|
|
19
20
|
CustomerContactRoleEnum["PRIMARY"] = "primary";
|
|
@@ -40,6 +41,7 @@ var CustomerContactFields;
|
|
|
40
41
|
CustomerContactFields["COLUMN_TYPE"] = "type";
|
|
41
42
|
CustomerContactFields["COLUMN_ROLE"] = "role";
|
|
42
43
|
CustomerContactFields["COLUMN_IS_ACTIVE"] = "isActive";
|
|
44
|
+
CustomerContactFields["COLUMN_XCP_INVITATION"] = "xcpInvitation";
|
|
43
45
|
})(CustomerContactFields = exports.CustomerContactFields || (exports.CustomerContactFields = {}));
|
|
44
46
|
class CustomerContact extends abstractEntity_1.AbstractEntity {
|
|
45
47
|
constructor(getCustomerContactDataInput) {
|
|
@@ -53,6 +55,7 @@ class CustomerContact extends abstractEntity_1.AbstractEntity {
|
|
|
53
55
|
_CustomerContact_type.set(this, void 0);
|
|
54
56
|
_CustomerContact_role.set(this, void 0);
|
|
55
57
|
_CustomerContact_isActive.set(this, void 0);
|
|
58
|
+
_CustomerContact_xcpInvitation.set(this, void 0);
|
|
56
59
|
__classPrivateFieldSet(this, _CustomerContact_reference, getCustomerContactDataInput[CustomerContactFields.COLUMN_REFERENCE], "f");
|
|
57
60
|
__classPrivateFieldSet(this, _CustomerContact_firstName, getCustomerContactDataInput[CustomerContactFields.COLUMN_FIRST_NAME], "f");
|
|
58
61
|
__classPrivateFieldSet(this, _CustomerContact_lastName, getCustomerContactDataInput[CustomerContactFields.COLUMN_LAST_NAME], "f");
|
|
@@ -62,6 +65,9 @@ class CustomerContact extends abstractEntity_1.AbstractEntity {
|
|
|
62
65
|
__classPrivateFieldSet(this, _CustomerContact_type, getCustomerContactDataInput[CustomerContactFields.COLUMN_TYPE], "f");
|
|
63
66
|
__classPrivateFieldSet(this, _CustomerContact_role, getCustomerContactDataInput[CustomerContactFields.COLUMN_ROLE], "f");
|
|
64
67
|
__classPrivateFieldSet(this, _CustomerContact_isActive, getCustomerContactDataInput[CustomerContactFields.COLUMN_IS_ACTIVE], "f");
|
|
68
|
+
__classPrivateFieldSet(this, _CustomerContact_xcpInvitation, getCustomerContactDataInput[CustomerContactFields.COLUMN_XCP_INVITATION]
|
|
69
|
+
? new customerContactXcpInvitation_1.CustomerContactXcpInvitation(getCustomerContactDataInput[CustomerContactFields.COLUMN_XCP_INVITATION])
|
|
70
|
+
: undefined, "f");
|
|
65
71
|
}
|
|
66
72
|
get reference() {
|
|
67
73
|
return __classPrivateFieldGet(this, _CustomerContact_reference, "f");
|
|
@@ -90,6 +96,9 @@ class CustomerContact extends abstractEntity_1.AbstractEntity {
|
|
|
90
96
|
get isActive() {
|
|
91
97
|
return __classPrivateFieldGet(this, _CustomerContact_isActive, "f");
|
|
92
98
|
}
|
|
99
|
+
get xcpInvitation() {
|
|
100
|
+
return __classPrivateFieldGet(this, _CustomerContact_xcpInvitation, "f");
|
|
101
|
+
}
|
|
93
102
|
toJSON() {
|
|
94
103
|
return {
|
|
95
104
|
[CustomerContactFields.COLUMN_REFERENCE]: this.reference,
|
|
@@ -101,9 +110,10 @@ class CustomerContact extends abstractEntity_1.AbstractEntity {
|
|
|
101
110
|
[CustomerContactFields.COLUMN_TYPE]: this.type,
|
|
102
111
|
[CustomerContactFields.COLUMN_ROLE]: this.role,
|
|
103
112
|
[CustomerContactFields.COLUMN_IS_ACTIVE]: this.isActive,
|
|
113
|
+
[CustomerContactFields.COLUMN_XCP_INVITATION]: this.xcpInvitation,
|
|
104
114
|
};
|
|
105
115
|
}
|
|
106
116
|
}
|
|
107
117
|
exports.CustomerContact = CustomerContact;
|
|
108
|
-
_CustomerContact_reference = new WeakMap(), _CustomerContact_firstName = new WeakMap(), _CustomerContact_lastName = new WeakMap(), _CustomerContact_email = new WeakMap(), _CustomerContact_phone = new WeakMap(), _CustomerContact_username = new WeakMap(), _CustomerContact_type = new WeakMap(), _CustomerContact_role = new WeakMap(), _CustomerContact_isActive = new WeakMap();
|
|
118
|
+
_CustomerContact_reference = new WeakMap(), _CustomerContact_firstName = new WeakMap(), _CustomerContact_lastName = new WeakMap(), _CustomerContact_email = new WeakMap(), _CustomerContact_phone = new WeakMap(), _CustomerContact_username = new WeakMap(), _CustomerContact_type = new WeakMap(), _CustomerContact_role = new WeakMap(), _CustomerContact_isActive = new WeakMap(), _CustomerContact_xcpInvitation = new WeakMap();
|
|
109
119
|
//# sourceMappingURL=customerContact.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../../../abstractEntity';
|
|
2
|
+
export declare enum CustomerContactXcpInvitationFields {
|
|
3
|
+
COLUMN_POLICY = "policy"
|
|
4
|
+
}
|
|
5
|
+
export declare type CustomerContactXcpInvitationType = {
|
|
6
|
+
[CustomerContactXcpInvitationFields.COLUMN_POLICY]?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare class CustomerContactXcpInvitation extends AbstractEntity<CustomerContactXcpInvitationType> {
|
|
9
|
+
#private;
|
|
10
|
+
constructor(getCustomerContactXcpInvitationDataInput: CustomerContactXcpInvitationType);
|
|
11
|
+
get policy(): string | undefined;
|
|
12
|
+
toJSON(): CustomerContactXcpInvitationType;
|
|
13
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 _CustomerContactXcpInvitation_policy;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.CustomerContactXcpInvitation = exports.CustomerContactXcpInvitationFields = void 0;
|
|
16
|
+
const abstractEntity_1 = require("../../../../abstractEntity");
|
|
17
|
+
var CustomerContactXcpInvitationFields;
|
|
18
|
+
(function (CustomerContactXcpInvitationFields) {
|
|
19
|
+
CustomerContactXcpInvitationFields["COLUMN_POLICY"] = "policy";
|
|
20
|
+
})(CustomerContactXcpInvitationFields = exports.CustomerContactXcpInvitationFields || (exports.CustomerContactXcpInvitationFields = {}));
|
|
21
|
+
class CustomerContactXcpInvitation extends abstractEntity_1.AbstractEntity {
|
|
22
|
+
constructor(getCustomerContactXcpInvitationDataInput) {
|
|
23
|
+
var _a;
|
|
24
|
+
super(getCustomerContactXcpInvitationDataInput);
|
|
25
|
+
_CustomerContactXcpInvitation_policy.set(this, void 0);
|
|
26
|
+
__classPrivateFieldSet(this, _CustomerContactXcpInvitation_policy, (_a = getCustomerContactXcpInvitationDataInput[CustomerContactXcpInvitationFields.COLUMN_POLICY]) !== null && _a !== void 0 ? _a : undefined, "f");
|
|
27
|
+
}
|
|
28
|
+
get policy() {
|
|
29
|
+
return __classPrivateFieldGet(this, _CustomerContactXcpInvitation_policy, "f");
|
|
30
|
+
}
|
|
31
|
+
toJSON() {
|
|
32
|
+
return {
|
|
33
|
+
[CustomerContactXcpInvitationFields.COLUMN_POLICY]: this.policy,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.CustomerContactXcpInvitation = CustomerContactXcpInvitation;
|
|
38
|
+
_CustomerContactXcpInvitation_policy = new WeakMap();
|
|
39
|
+
//# sourceMappingURL=customerContactXcpInvitation.js.map
|
package/package.json
CHANGED