@ixon-cdk/types 1.12.0 → 1.13.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/component-context/dialog.d.ts +12 -0
- package/dist/types/ixapi/resources/agent-access-request.d.ts +22 -0
- package/dist/types/ixapi/resources/agent-config.d.ts +2 -1
- package/dist/types/ixapi/resources/agent-server.d.ts +1 -0
- package/dist/types/ixapi/resources/agent-type.d.ts +1 -0
- package/dist/types/ixapi/resources/agent.d.ts +3 -1
- package/dist/types/ixapi/resources/audience.d.ts +0 -3
- package/dist/types/ixapi/resources/backend-component-template-version.d.ts +1 -1
- package/dist/types/ixapi/resources/index.d.ts +1 -2
- package/dist/types/ixapi/resources/page-component-template-version.d.ts +1 -1
- package/dist/types/ixapi/resources/user.d.ts +1 -0
- package/dist/types/resource-data/resource-data.d.ts +22 -0
- package/package.json +1 -1
- package/dist/types/ixapi/resources/reference.d.ts +0 -8
- package/dist/types/ixapi/resources/user-reference.d.ts +0 -2
|
@@ -23,6 +23,18 @@ export interface ConfirmDialogOptions extends DialogOptions {
|
|
|
23
23
|
export interface ContentDialogOptions {
|
|
24
24
|
/** HTML content of the dialog. */
|
|
25
25
|
htmlContent: HTMLElement | string;
|
|
26
|
+
pagination?: {
|
|
27
|
+
/** Index of the initially selected page. Defaults to `0`. */
|
|
28
|
+
initialPageIndex?: number;
|
|
29
|
+
/** The total amount of pages. */
|
|
30
|
+
pageCount: number;
|
|
31
|
+
/**
|
|
32
|
+
* Called when the page is changed.
|
|
33
|
+
*
|
|
34
|
+
* @param newPageIndex The newly selected page index.
|
|
35
|
+
*/
|
|
36
|
+
onpagechange?: (newPageIndex: number) => void;
|
|
37
|
+
};
|
|
26
38
|
/** CSS styles for the dialog content. */
|
|
27
39
|
styles?: string;
|
|
28
40
|
/** Title of the dialog. */
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AgentServerReference } from './agent-server';
|
|
2
|
+
import type { ResLink } from './res-link';
|
|
3
|
+
import type { UserReference } from './user';
|
|
4
|
+
export interface AgentAccessRequest {
|
|
5
|
+
agent?: ResLink;
|
|
6
|
+
allowedApprovers?: UserReference[];
|
|
7
|
+
approver?: UserReference | null;
|
|
8
|
+
/** I.e. "2019-01-01T12:00:00Z" */
|
|
9
|
+
end?: string;
|
|
10
|
+
publicId: string;
|
|
11
|
+
reason?: string;
|
|
12
|
+
servers?: AgentServerReference[];
|
|
13
|
+
/** I.e. "2019-01-01T12:00:00Z" */
|
|
14
|
+
start?: string;
|
|
15
|
+
status?: AgentAccessRequestStatus;
|
|
16
|
+
/** I.e. "2019-01-01T12:00:00Z" */
|
|
17
|
+
updatedOn?: string | null;
|
|
18
|
+
user?: UserReference;
|
|
19
|
+
vpn?: boolean;
|
|
20
|
+
}
|
|
21
|
+
type AgentAccessRequestStatus = 'approved' | 'pending' | 'rejected';
|
|
22
|
+
export {};
|
|
@@ -42,6 +42,7 @@ export interface AgentConfigRouterLan {
|
|
|
42
42
|
dhcpServerRangeFrom?: string | null;
|
|
43
43
|
dhcpServerRangeTo?: string | null;
|
|
44
44
|
forwardLanWan?: AgentConfigRouterForwardLanWan;
|
|
45
|
+
forwardLanWan2?: AgentConfigRouterForwardLanWan;
|
|
45
46
|
gatewayLessRouting?: boolean;
|
|
46
47
|
ipAddress?: string;
|
|
47
48
|
netMask?: string;
|
|
@@ -56,7 +57,7 @@ export type AgentConfigRouterForwardLanWan = 'both' | 'private' | 'public' | 'ne
|
|
|
56
57
|
export interface AgentRouterPortForward {
|
|
57
58
|
agent?: ResLink;
|
|
58
59
|
externalPort?: number;
|
|
59
|
-
interface?: 'VPN' | 'WAN';
|
|
60
|
+
interface?: 'VPN' | 'WAN' | 'WAN2';
|
|
60
61
|
publicId: string;
|
|
61
62
|
targetIpAddress?: string;
|
|
62
63
|
targetPort?: number;
|
|
@@ -47,6 +47,7 @@ export interface AgentServerTemplate {
|
|
|
47
47
|
vncEncoding?: string | null;
|
|
48
48
|
vncRightClickOnTouchHold?: boolean;
|
|
49
49
|
}
|
|
50
|
+
export type AgentServerReference = Pick<AgentServer, 'name' | 'publicId'>;
|
|
50
51
|
type AgentServerType = 'http' | 'rdp' | 'vnc' | 'websocket';
|
|
51
52
|
type ConnectionQuality = 'high' | 'normal' | 'low';
|
|
52
53
|
type HttpAuthenticationType = 'ntlm' | 'basic' | 'digest';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AgentAccessRequest } from './agent-access-request';
|
|
1
2
|
import type { AgentConfig } from './agent-config';
|
|
2
3
|
import type { AgentDataSource } from './agent-data-source';
|
|
3
4
|
import type { AgentDevice } from './agent-device';
|
|
@@ -20,10 +21,11 @@ import type { LoggingApp } from './logging-app';
|
|
|
20
21
|
import type { LsiServer } from './lsi-server';
|
|
21
22
|
import type { PageLink } from './page-link';
|
|
22
23
|
import type { ResLink } from './res-link';
|
|
23
|
-
import type { UserReference } from './user
|
|
24
|
+
import type { UserReference } from './user';
|
|
24
25
|
import type { VpnProtocol } from './vpn-protocol';
|
|
25
26
|
import type { VpnSession } from './vpn-session';
|
|
26
27
|
export interface Agent extends AgentLike {
|
|
28
|
+
accessRequests?: AgentAccessRequest[];
|
|
27
29
|
activationLicence?: Licence | null;
|
|
28
30
|
activeStatus?: 'active' | 'inactive';
|
|
29
31
|
activeVpnSession?: VpnSession | null;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './access-recover';
|
|
2
|
+
export * from './agent-access-request';
|
|
2
3
|
export * from './access-token';
|
|
3
4
|
export * from './agent';
|
|
4
5
|
export * from './agent-activate';
|
|
@@ -91,7 +92,6 @@ export * from './password-change';
|
|
|
91
92
|
export * from './permission';
|
|
92
93
|
export * from './platform-server';
|
|
93
94
|
export * from './policy';
|
|
94
|
-
export * from './reference';
|
|
95
95
|
export * from './registration';
|
|
96
96
|
export * from './report-recurrence';
|
|
97
97
|
export * from './report-schedule';
|
|
@@ -107,7 +107,6 @@ export * from './trusted-device';
|
|
|
107
107
|
export * from './user';
|
|
108
108
|
export * from './user-membership';
|
|
109
109
|
export * from './user-push-device';
|
|
110
|
-
export * from './user-reference';
|
|
111
110
|
export * from './vpn-protocol';
|
|
112
111
|
export * from './vpn-session';
|
|
113
112
|
export * from './vpn-usage';
|
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
interface AgentResourceData {
|
|
2
|
+
accessRequests?: {
|
|
3
|
+
approver?: {
|
|
4
|
+
name?: string;
|
|
5
|
+
publicId: string;
|
|
6
|
+
} | null;
|
|
7
|
+
end?: string;
|
|
8
|
+
publicId: string;
|
|
9
|
+
servers?: {
|
|
10
|
+
name?: string;
|
|
11
|
+
publicId: string;
|
|
12
|
+
}[];
|
|
13
|
+
start?: string;
|
|
14
|
+
status?: 'approved' | 'pending' | 'rejected';
|
|
15
|
+
updatedOn?: string | null;
|
|
16
|
+
user?: {
|
|
17
|
+
name?: string;
|
|
18
|
+
publicId: string;
|
|
19
|
+
};
|
|
20
|
+
vpn?: boolean;
|
|
21
|
+
}[];
|
|
2
22
|
activeVpnSession?: {
|
|
3
23
|
rscServer?: {
|
|
4
24
|
name?: string;
|
|
@@ -62,6 +82,7 @@ interface AgentResourceData {
|
|
|
62
82
|
custom?: Record<string, any>;
|
|
63
83
|
name?: string;
|
|
64
84
|
publicId: string;
|
|
85
|
+
requireAccessApproval?: boolean;
|
|
65
86
|
serviceGroup?: string | null;
|
|
66
87
|
type?: 'http' | 'rdp' | 'vnc' | 'websocket';
|
|
67
88
|
visibleInMobileApp?: boolean;
|
|
@@ -72,6 +93,7 @@ interface AgentResourceData {
|
|
|
72
93
|
publicId: string;
|
|
73
94
|
};
|
|
74
95
|
vpnChangedOn?: string | null;
|
|
96
|
+
vpnRequireAccessApproval?: boolean;
|
|
75
97
|
vpnVisibleInMobileApp?: boolean;
|
|
76
98
|
vpnVisibleOnWeb?: boolean;
|
|
77
99
|
}
|
package/package.json
CHANGED