@ixon-cdk/types 1.27.0 → 1.28.0-next.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/dist/types/ixapi/resources/agent-config.d.ts +2 -0
- package/dist/types/ixapi/resources/agent-device.d.ts +1 -0
- package/dist/types/ixapi/resources/agent-lan-network.d.ts +10 -0
- package/dist/types/ixapi/resources/agent-server.d.ts +4 -1
- package/dist/types/ixapi/resources/agent.d.ts +6 -0
- package/dist/types/ixapi/resources/audit-log.d.ts +5 -2
- package/dist/types/ixapi/resources/index.d.ts +1 -0
- package/dist/types/ixapi/resources/licence-type.d.ts +1 -1
- package/dist/types/ixapi/resources/page-version.d.ts +1 -0
- package/dist/types/ixapi/resources/user.d.ts +1 -1
- package/dist/types/ixapi/resources/web-access.d.ts +27 -2
- package/dist/types/resource-data/resource-data.d.ts +11 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { AgentDevice } from './agent-device';
|
|
2
|
+
import type { AgentLanNetwork } from './agent-lan-network';
|
|
2
3
|
import type { AgentRouterVpnConfig } from './agent-router-vpn-config';
|
|
3
4
|
import type { ResLink } from './res-link';
|
|
4
5
|
export interface AgentConfig {
|
|
@@ -12,6 +13,7 @@ export interface AgentConfig {
|
|
|
12
13
|
differentConfigs?: boolean;
|
|
13
14
|
differentStewardConfigs?: boolean;
|
|
14
15
|
differentWanConfigs?: boolean;
|
|
16
|
+
lanNetworks?: AgentLanNetwork[];
|
|
15
17
|
/** NOTE: This public ID is identical to the public ID of its linked agent. */
|
|
16
18
|
publicId: string;
|
|
17
19
|
routerAdditionalSubnets?: AgentRouterAdditionalSubnet[];
|
|
@@ -13,6 +13,7 @@ export interface AgentServer {
|
|
|
13
13
|
password?: string | null;
|
|
14
14
|
port?: number;
|
|
15
15
|
publicId: string;
|
|
16
|
+
flags?: RdpFlag[];
|
|
16
17
|
readOnly?: boolean | null;
|
|
17
18
|
recordSessions?: boolean | null;
|
|
18
19
|
requireAccessApproval?: boolean;
|
|
@@ -40,6 +41,7 @@ export interface AgentServerTemplate {
|
|
|
40
41
|
password?: string | null;
|
|
41
42
|
port?: number;
|
|
42
43
|
publicId: string;
|
|
44
|
+
flags?: RdpFlag[];
|
|
43
45
|
readOnly?: boolean | null;
|
|
44
46
|
recordSessions?: boolean | null;
|
|
45
47
|
requireAccessApproval?: boolean;
|
|
@@ -51,8 +53,9 @@ export interface AgentServerTemplate {
|
|
|
51
53
|
vncEncoding?: string | null;
|
|
52
54
|
vncRightClickOnTouchHold?: boolean;
|
|
53
55
|
}
|
|
54
|
-
export type AgentServerReference = Pick<AgentServer, 'name' | 'publicId'>;
|
|
56
|
+
export type AgentServerReference = Pick<AgentServer, 'name' | 'publicId' | 'type'>;
|
|
55
57
|
export type AgentServerType = 'http' | 'rdp' | 'rtsp' | 'ssh' | 'vnc' | 'websocket';
|
|
56
58
|
export type ConnectionQuality = 'high' | 'normal' | 'low';
|
|
59
|
+
export type RdpFlag = 'disable-bitmap-caching' | 'disable-gfx' | 'disable-glyph-caching' | 'disable-offscreen-caching' | 'enable-desktop-composition' | 'enable-font-smoothing' | 'enable-full-window-drag' | 'enable-menu-animations' | 'enable-theming' | 'enable-wallpaper';
|
|
57
60
|
type HttpAuthenticationType = 'ntlm' | 'basic' | 'digest';
|
|
58
61
|
export {};
|
|
@@ -26,6 +26,7 @@ import type { ResLink } from './res-link';
|
|
|
26
26
|
import type { UserReference } from './user';
|
|
27
27
|
import type { VpnProtocol } from './vpn-protocol';
|
|
28
28
|
import type { VpnSession } from './vpn-session';
|
|
29
|
+
import type { WebAccessConnection } from './web-access';
|
|
29
30
|
export interface Agent extends AgentLike {
|
|
30
31
|
activationLicence?: Licence | null;
|
|
31
32
|
activeStatus?: 'active' | 'inactive';
|
|
@@ -75,6 +76,7 @@ export interface Agent extends AgentLike {
|
|
|
75
76
|
vpnChangedOn?: string | null;
|
|
76
77
|
/** default: false */
|
|
77
78
|
vpnLocked?: boolean;
|
|
79
|
+
webAccessConnections?: WebAccessConnection[];
|
|
78
80
|
/** default: false */
|
|
79
81
|
webAccessLocked?: boolean;
|
|
80
82
|
}
|
|
@@ -109,6 +111,10 @@ export interface AgentLike {
|
|
|
109
111
|
/** default: true */
|
|
110
112
|
vpnVisibleOnWeb?: boolean;
|
|
111
113
|
}
|
|
114
|
+
export interface AgentReference {
|
|
115
|
+
publicId?: string;
|
|
116
|
+
name?: string | null;
|
|
117
|
+
}
|
|
112
118
|
export interface AgentLocalIp {
|
|
113
119
|
reportedOn?: string;
|
|
114
120
|
dnsServers?: string[];
|
|
@@ -21,14 +21,17 @@ interface AuditLogRequest {
|
|
|
21
21
|
ipAddress: string;
|
|
22
22
|
}
|
|
23
23
|
interface AuditLogActor {
|
|
24
|
-
resource: AuditLogActorResource;
|
|
24
|
+
resource: AuditLogActorResource | AuditLogSystemActorResource;
|
|
25
25
|
type: AuditLogActorType;
|
|
26
26
|
}
|
|
27
|
-
interface AuditLogActorResource {
|
|
27
|
+
export interface AuditLogActorResource {
|
|
28
28
|
name: string;
|
|
29
29
|
publicId: string;
|
|
30
30
|
type: string;
|
|
31
31
|
}
|
|
32
|
+
export interface AuditLogSystemActorResource {
|
|
33
|
+
type: 'System';
|
|
34
|
+
}
|
|
32
35
|
type AuditLogActorType = 'agent' | 'client' | 'support' | 'webshopintegration';
|
|
33
36
|
interface AuditLogTopic {
|
|
34
37
|
agent?: string | null;
|
|
@@ -16,6 +16,7 @@ export * from './agent-device';
|
|
|
16
16
|
export * from './agent-edge-app-instance';
|
|
17
17
|
export * from './agent-edge-app-instance-service';
|
|
18
18
|
export * from './agent-firmware-upgrade';
|
|
19
|
+
export * from './agent-lan-network';
|
|
19
20
|
export * from './agent-licence-bundle';
|
|
20
21
|
export * from './agent-mdr-server';
|
|
21
22
|
export * from './agent-membership';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type LicenceTypeScope = 'agent' | 'company';
|
|
2
|
-
export type LicenceUsageType = 'advanced-user-management' | 'agent-registration-profile' | 'agent-templates' | 'alarming' | 'api-integrations' | 'app-engine-level-1' | 'app-engine-level-2' | 'app-engine-level-3' | 'asset-management' | 'card-view' | 'connection-monitoring' | 'controlled-devices' | 'custom-branding' | 'custom-domain' | 'custom-fields' | 'custom-legal' | 'custom-legal-legacy' | 'custom-sso' | 'edge-app-management' | 'ixagent' | 'landing-page' | 'live-data' | 'logging' | 'm2m-cloud-cluster' | 'main-pages' | 'mobile-app' | 'mqtt-device' | 'object-storage' | 'premium-branding' | 'rdp' | 'remote-access' | 'reporting' | 'request-access' | 'rtsp' | 'scim' | 'session-recording' | 'sla' | 'ssh' | 'subgroups' | 'temporary-access' | 'vpn-access-rule' | 'vpn-usage';
|
|
2
|
+
export type LicenceUsageType = 'advanced-user-management' | 'agent-registration-profile' | 'agent-templates' | 'alarming' | 'api-integrations' | 'app-engine-level-1' | 'app-engine-level-2' | 'app-engine-level-3' | 'asset-management' | 'card-view' | 'connection-monitoring' | 'controlled-devices' | 'custom-branding' | 'custom-domain' | 'custom-fields' | 'custom-legal' | 'custom-legal-legacy' | 'custom-sso' | 'edge-app-management' | 'ixagent' | 'landing-page' | 'live-data' | 'logging' | 'm2m-cloud-cluster' | 'main-pages' | 'mobile-app' | 'mqtt-device' | 'object-storage' | 'premium-branding' | 'rdp' | 'remote-access' | 'reporting' | 'request-access' | 'rtsp' | 'scim' | 'session-recording' | 'site-console' | 'sla' | 'ssh' | 'subgroups' | 'temporary-access' | 'vpn-access-rule' | 'vpn-usage';
|
|
3
3
|
export interface LicenceType {
|
|
4
4
|
companyLimit?: number | null;
|
|
5
5
|
publicId: string;
|
|
@@ -37,7 +37,7 @@ export interface MyUser {
|
|
|
37
37
|
* For example:
|
|
38
38
|
* {
|
|
39
39
|
* "1111-2222-3333-4444-5555": {
|
|
40
|
-
* "devices": {sort: {"field": "name", "direction": "asc"}}, "assets": {sort: {"field": "name", "direction": "asc"}}, "deviceTemplates": {sort: {"field": "name", "direction": "asc"}}, "registrationProfiles": {sort: {"field": "name", "direction": "asc"}},
|
|
40
|
+
* "devices": {sort: {"field": "name", "direction": "asc"}}, "assets": {sort: {"field": "name", "direction": "asc"}}, "deviceTemplates": {sort: {"field": "name", "direction": "asc"}}, "registrationProfiles": {sort: {"field": "name", "direction": "asc"}, "services": {type: "list"}},
|
|
41
41
|
* }
|
|
42
42
|
* }
|
|
43
43
|
*/
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type { Agent } from './agent';
|
|
2
|
-
import type { AgentServer } from './agent-server';
|
|
1
|
+
import type { Agent, AgentReference } from './agent';
|
|
2
|
+
import type { AgentServer, AgentServerReference } from './agent-server';
|
|
3
|
+
import type { ResLink } from './res-link';
|
|
4
|
+
import type { RscServer } from './rsc-server';
|
|
5
|
+
import type { UserReference } from './user';
|
|
3
6
|
export interface WebAccess {
|
|
4
7
|
agent?: Agent;
|
|
5
8
|
agentServer?: AgentServer;
|
|
@@ -7,8 +10,30 @@ export interface WebAccess {
|
|
|
7
10
|
closeReason?: string | null;
|
|
8
11
|
expiresOn?: string;
|
|
9
12
|
publicId: string;
|
|
13
|
+
startedOn?: string | null;
|
|
10
14
|
}
|
|
11
15
|
export interface WebAccessCreateResponse {
|
|
12
16
|
publicId: string;
|
|
13
17
|
url?: string;
|
|
14
18
|
}
|
|
19
|
+
export interface WebAccessConnection {
|
|
20
|
+
agentServer?: AgentServerReference;
|
|
21
|
+
user?: UserReference;
|
|
22
|
+
}
|
|
23
|
+
export interface WebAccessOpened {
|
|
24
|
+
rscServer: RscServer;
|
|
25
|
+
server: AgentServer;
|
|
26
|
+
webaccess: ResLink;
|
|
27
|
+
}
|
|
28
|
+
export interface WebAccessConnectedUser {
|
|
29
|
+
agent?: AgentReference;
|
|
30
|
+
agentServer?: AgentServerReference;
|
|
31
|
+
publicId?: string;
|
|
32
|
+
user?: UserReference;
|
|
33
|
+
}
|
|
34
|
+
export interface WebAccessDisconnectedUser {
|
|
35
|
+
agent?: AgentReference;
|
|
36
|
+
agentServer?: AgentServerReference;
|
|
37
|
+
publicId?: string;
|
|
38
|
+
user?: UserReference;
|
|
39
|
+
}
|
|
@@ -124,6 +124,17 @@ interface AgentResourceData {
|
|
|
124
124
|
vpnRequireAccessApproval?: boolean;
|
|
125
125
|
vpnVisibleInMobileApp?: boolean;
|
|
126
126
|
vpnVisibleOnWeb?: boolean;
|
|
127
|
+
webAccessConnections?: {
|
|
128
|
+
agentServer?: {
|
|
129
|
+
name?: string;
|
|
130
|
+
publicId: string;
|
|
131
|
+
type?: 'http' | 'rdp' | 'rtsp' | 'ssh' | 'vnc' | 'websocket';
|
|
132
|
+
};
|
|
133
|
+
user?: {
|
|
134
|
+
name?: string;
|
|
135
|
+
publicId: string;
|
|
136
|
+
};
|
|
137
|
+
}[];
|
|
127
138
|
webAccessLocked?: boolean;
|
|
128
139
|
}
|
|
129
140
|
interface AppConfigResourceData<TValues = unknown> {
|