@ixon-cdk/types 1.27.0-next.0 → 1.28.0-next.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/dist/types/component-context/input.d.ts +1 -0
- package/dist/types/ixapi/resources/agent-config.d.ts +8 -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/branding.d.ts +1 -0
- package/dist/types/ixapi/resources/data.d.ts +3 -1
- package/dist/types/ixapi/resources/index.d.ts +1 -0
- 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/logging-data/logging-data-query.d.ts +5 -1
- package/dist/types/resource-data/resource-data.d.ts +11 -0
- package/package.json +1 -1
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { AgentDevice } from './agent-device';
|
|
2
|
+
import type { AgentLanNetwork } from './agent-lan-network';
|
|
1
3
|
import type { AgentRouterVpnConfig } from './agent-router-vpn-config';
|
|
2
4
|
import type { ResLink } from './res-link';
|
|
3
5
|
export interface AgentConfig {
|
|
@@ -11,6 +13,7 @@ export interface AgentConfig {
|
|
|
11
13
|
differentConfigs?: boolean;
|
|
12
14
|
differentStewardConfigs?: boolean;
|
|
13
15
|
differentWanConfigs?: boolean;
|
|
16
|
+
lanNetworks?: AgentLanNetwork[];
|
|
14
17
|
/** NOTE: This public ID is identical to the public ID of its linked agent. */
|
|
15
18
|
publicId: string;
|
|
16
19
|
routerAdditionalSubnets?: AgentRouterAdditionalSubnet[];
|
|
@@ -134,3 +137,8 @@ export interface AgentConfigRouterWlan {
|
|
|
134
137
|
}
|
|
135
138
|
export type AgentConfigRouterMultiwanPolicy = 'eth_cell_wifi' | 'cell_eth_wifi' | 'eth_wifi_cell' | 'wifi_eth_cell' | 'cell_wifi_eth' | 'wifi_cell_eth';
|
|
136
139
|
export type AgentConfigRouterWanDigitalInputMode = 'disable_vpn_high' | 'disable_vpn_low' | 'disable_wan_high' | 'disable_wan_low';
|
|
140
|
+
export interface AgentConfigUpdate {
|
|
141
|
+
routerLan: AgentConfigRouterLan;
|
|
142
|
+
routerAdditionalSubnets: Partial<AgentRouterAdditionalSubnet>[];
|
|
143
|
+
devices: Partial<AgentDevice>[];
|
|
144
|
+
}
|
|
@@ -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;
|
|
@@ -17,7 +17,7 @@ export interface DataPoint {
|
|
|
17
17
|
/** "2019-01-01T12:00:00Z" */
|
|
18
18
|
time: string;
|
|
19
19
|
values: {
|
|
20
|
-
[ref: string]:
|
|
20
|
+
[ref: string]: boolean | number | string | null;
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
export interface DataQuery {
|
|
@@ -26,6 +26,8 @@ export interface DataQuery {
|
|
|
26
26
|
/** Default is false */
|
|
27
27
|
extendedBoundary?: boolean;
|
|
28
28
|
factor?: number | string;
|
|
29
|
+
/** Can only enter valid mathematical expressions if factor is empty */
|
|
30
|
+
formula?: string;
|
|
29
31
|
/** Default is 5000 */
|
|
30
32
|
limit?: number;
|
|
31
33
|
offset?: number;
|
|
@@ -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';
|
|
@@ -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
|
+
}
|
|
@@ -22,6 +22,10 @@ export interface LoggingDataQuery {
|
|
|
22
22
|
* The factor to multiply the value by
|
|
23
23
|
*/
|
|
24
24
|
factor?: number;
|
|
25
|
+
/**
|
|
26
|
+
* The formula to apply to the value. Can only be applied if factor is not set, and can only contain valid mathematical expressions.
|
|
27
|
+
*/
|
|
28
|
+
formula?: string;
|
|
25
29
|
/**
|
|
26
30
|
* Used to override the global time-range for this specific query
|
|
27
31
|
*
|
|
@@ -105,6 +109,6 @@ export interface LoggingDataQuery {
|
|
|
105
109
|
publicId: string;
|
|
106
110
|
} | null;
|
|
107
111
|
}
|
|
108
|
-
type Aggregator = 'count' | 'distinct' | 'integral' | 'mean' | 'median' | 'mode' | 'spread' | 'stddev' | 'sum' | 'first' | 'last' | 'max' | 'min' | 'raw';
|
|
112
|
+
export type Aggregator = 'count' | 'distinct' | 'integral' | 'mean' | 'median' | 'mode' | 'spread' | 'stddev' | 'sum' | 'first' | 'last' | 'max' | 'min' | 'raw';
|
|
109
113
|
type Transform = 'difference';
|
|
110
114
|
export {};
|
|
@@ -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> {
|