@arrowsphere/api-client 3.375.0 → 3.376.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
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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.376.0] - 2026.06.16
|
|
7
|
+
### Added
|
|
8
|
+
- [contact] Add optional `xapInfo` field in Contact entity
|
|
9
|
+
|
|
6
10
|
## [3.375.0] - 2026.06.15
|
|
7
11
|
### Added
|
|
8
12
|
- [graphql-api] Add `CustomFieldKey` and `CustomFieldValue` entity types with full `selectAll`/`selectOne` support
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AbstractEntity } from '../../abstractEntity';
|
|
2
2
|
import { XcpInvitation, XcpInvitationType } from './xcpInvitation';
|
|
3
3
|
import { OrganizationUnits, OrganizationUnitsType } from './organizationUnits';
|
|
4
|
+
import { ContactXapInfo } from '../types/ContactXapInfo';
|
|
4
5
|
export declare enum ContactFields {
|
|
5
6
|
COLUMN_ID = "id",
|
|
6
7
|
COLUMN_COMPANY_ID = "companyId",
|
|
@@ -13,6 +14,7 @@ export declare enum ContactFields {
|
|
|
13
14
|
COLUMN_TYPE = "type",
|
|
14
15
|
COLUMN_ROLE = "role",
|
|
15
16
|
COLUMN_STATUS = "status",
|
|
17
|
+
COLUMN_XAP_INFO = "xapInfo",
|
|
16
18
|
COLUMN_XAP_USERNAME = "xapUsername",
|
|
17
19
|
COLUMN_IS_ACTIVE = "isActive",
|
|
18
20
|
COLUMN_XCP_INVITATION = "xcpInvitation",
|
|
@@ -31,6 +33,7 @@ export declare type ContactType = {
|
|
|
31
33
|
[ContactFields.COLUMN_ROLE]: string;
|
|
32
34
|
[ContactFields.COLUMN_STATUS]: string;
|
|
33
35
|
[ContactFields.COLUMN_XAP_USERNAME]?: string;
|
|
36
|
+
[ContactFields.COLUMN_XAP_INFO]?: ContactXapInfo;
|
|
34
37
|
[ContactFields.COLUMN_IS_ACTIVE]: boolean;
|
|
35
38
|
[ContactFields.COLUMN_XCP_INVITATION]?: XcpInvitationType;
|
|
36
39
|
[ContactFields.COLUMN_ORGANIZATION_UNITS]?: OrganizationUnitsType[];
|
|
@@ -49,6 +52,7 @@ export declare class Contact extends AbstractEntity<ContactType> {
|
|
|
49
52
|
get type(): string;
|
|
50
53
|
get role(): string;
|
|
51
54
|
get status(): string;
|
|
55
|
+
get xapInfo(): ContactXapInfo | undefined;
|
|
52
56
|
get xapUsername(): string | undefined;
|
|
53
57
|
get isActive(): boolean;
|
|
54
58
|
get xcpInvitation(): XcpInvitation | undefined;
|
|
@@ -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 _Contact_id, _Contact_companyId, _Contact_reseller, _Contact_firstname, _Contact_lastname, _Contact_email, _Contact_phone, _Contact_erpId, _Contact_type, _Contact_role, _Contact_status, _Contact_xapUsername, _Contact_isActive, _Contact_xcpInvitation, _Contact_organizationUnits;
|
|
13
|
+
var _Contact_id, _Contact_companyId, _Contact_reseller, _Contact_firstname, _Contact_lastname, _Contact_email, _Contact_phone, _Contact_erpId, _Contact_type, _Contact_role, _Contact_status, _Contact_xapInfo, _Contact_xapUsername, _Contact_isActive, _Contact_xcpInvitation, _Contact_organizationUnits;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.Contact = exports.ContactFields = void 0;
|
|
16
16
|
const abstractEntity_1 = require("../../abstractEntity");
|
|
@@ -29,6 +29,7 @@ var ContactFields;
|
|
|
29
29
|
ContactFields["COLUMN_TYPE"] = "type";
|
|
30
30
|
ContactFields["COLUMN_ROLE"] = "role";
|
|
31
31
|
ContactFields["COLUMN_STATUS"] = "status";
|
|
32
|
+
ContactFields["COLUMN_XAP_INFO"] = "xapInfo";
|
|
32
33
|
ContactFields["COLUMN_XAP_USERNAME"] = "xapUsername";
|
|
33
34
|
ContactFields["COLUMN_IS_ACTIVE"] = "isActive";
|
|
34
35
|
ContactFields["COLUMN_XCP_INVITATION"] = "xcpInvitation";
|
|
@@ -48,6 +49,7 @@ class Contact extends abstractEntity_1.AbstractEntity {
|
|
|
48
49
|
_Contact_type.set(this, void 0);
|
|
49
50
|
_Contact_role.set(this, void 0);
|
|
50
51
|
_Contact_status.set(this, void 0);
|
|
52
|
+
_Contact_xapInfo.set(this, void 0);
|
|
51
53
|
_Contact_xapUsername.set(this, void 0);
|
|
52
54
|
_Contact_isActive.set(this, void 0);
|
|
53
55
|
_Contact_xcpInvitation.set(this, void 0);
|
|
@@ -63,6 +65,7 @@ class Contact extends abstractEntity_1.AbstractEntity {
|
|
|
63
65
|
__classPrivateFieldSet(this, _Contact_type, contactDataInput[ContactFields.COLUMN_TYPE], "f");
|
|
64
66
|
__classPrivateFieldSet(this, _Contact_role, contactDataInput[ContactFields.COLUMN_ROLE], "f");
|
|
65
67
|
__classPrivateFieldSet(this, _Contact_status, contactDataInput[ContactFields.COLUMN_STATUS], "f");
|
|
68
|
+
__classPrivateFieldSet(this, _Contact_xapInfo, contactDataInput[ContactFields.COLUMN_XAP_INFO], "f");
|
|
66
69
|
__classPrivateFieldSet(this, _Contact_xapUsername, contactDataInput[ContactFields.COLUMN_XAP_USERNAME], "f");
|
|
67
70
|
__classPrivateFieldSet(this, _Contact_isActive, contactDataInput[ContactFields.COLUMN_IS_ACTIVE], "f");
|
|
68
71
|
__classPrivateFieldSet(this, _Contact_xcpInvitation, contactDataInput[ContactFields.COLUMN_XCP_INVITATION]
|
|
@@ -105,6 +108,9 @@ class Contact extends abstractEntity_1.AbstractEntity {
|
|
|
105
108
|
get status() {
|
|
106
109
|
return __classPrivateFieldGet(this, _Contact_status, "f");
|
|
107
110
|
}
|
|
111
|
+
get xapInfo() {
|
|
112
|
+
return __classPrivateFieldGet(this, _Contact_xapInfo, "f");
|
|
113
|
+
}
|
|
108
114
|
get xapUsername() {
|
|
109
115
|
return __classPrivateFieldGet(this, _Contact_xapUsername, "f");
|
|
110
116
|
}
|
|
@@ -131,6 +137,7 @@ class Contact extends abstractEntity_1.AbstractEntity {
|
|
|
131
137
|
[ContactFields.COLUMN_TYPE]: this.type,
|
|
132
138
|
[ContactFields.COLUMN_ROLE]: this.role,
|
|
133
139
|
[ContactFields.COLUMN_STATUS]: this.status,
|
|
140
|
+
[ContactFields.COLUMN_XAP_INFO]: this.xapInfo,
|
|
134
141
|
[ContactFields.COLUMN_XAP_USERNAME]: this.xapUsername,
|
|
135
142
|
[ContactFields.COLUMN_IS_ACTIVE]: this.isActive,
|
|
136
143
|
[ContactFields.COLUMN_XCP_INVITATION]: (_a = this.xcpInvitation) === null || _a === void 0 ? void 0 : _a.toJSON(),
|
|
@@ -139,5 +146,5 @@ class Contact extends abstractEntity_1.AbstractEntity {
|
|
|
139
146
|
}
|
|
140
147
|
}
|
|
141
148
|
exports.Contact = Contact;
|
|
142
|
-
_Contact_id = new WeakMap(), _Contact_companyId = new WeakMap(), _Contact_reseller = new WeakMap(), _Contact_firstname = new WeakMap(), _Contact_lastname = new WeakMap(), _Contact_email = new WeakMap(), _Contact_phone = new WeakMap(), _Contact_erpId = new WeakMap(), _Contact_type = new WeakMap(), _Contact_role = new WeakMap(), _Contact_status = new WeakMap(), _Contact_xapUsername = new WeakMap(), _Contact_isActive = new WeakMap(), _Contact_xcpInvitation = new WeakMap(), _Contact_organizationUnits = new WeakMap();
|
|
149
|
+
_Contact_id = new WeakMap(), _Contact_companyId = new WeakMap(), _Contact_reseller = new WeakMap(), _Contact_firstname = new WeakMap(), _Contact_lastname = new WeakMap(), _Contact_email = new WeakMap(), _Contact_phone = new WeakMap(), _Contact_erpId = new WeakMap(), _Contact_type = new WeakMap(), _Contact_role = new WeakMap(), _Contact_status = new WeakMap(), _Contact_xapInfo = new WeakMap(), _Contact_xapUsername = new WeakMap(), _Contact_isActive = new WeakMap(), _Contact_xcpInvitation = new WeakMap(), _Contact_organizationUnits = new WeakMap();
|
|
143
150
|
//# sourceMappingURL=contact.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare type AliasInfo = {
|
|
2
|
+
username?: string;
|
|
3
|
+
providerName?: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare type ExtraData = {
|
|
7
|
+
name?: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
application?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare type ContactXapInfo = {
|
|
12
|
+
aliases?: AliasInfo[];
|
|
13
|
+
authMethods?: string[];
|
|
14
|
+
canSecureAccountUntil?: string;
|
|
15
|
+
cognitoUsername?: string;
|
|
16
|
+
extraData?: ExtraData[];
|
|
17
|
+
isEnabled?: boolean;
|
|
18
|
+
lastLogin?: {
|
|
19
|
+
date?: string;
|
|
20
|
+
};
|
|
21
|
+
policies?: string[];
|
|
22
|
+
rights?: string[];
|
|
23
|
+
scopes?: string[];
|
|
24
|
+
updatedAt?: string;
|
|
25
|
+
updatedBy?: string;
|
|
26
|
+
};
|
package/package.json
CHANGED