@ixon-cdk/types 1.12.0 → 1.13.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.
@@ -0,0 +1,20 @@
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?: 'accepted' | 'pending' | 'rejected';
16
+ /** I.e. "2019-01-01T12:00:00Z" */
17
+ updatedOn?: string;
18
+ user?: ResLink;
19
+ vpn?: boolean;
20
+ }
@@ -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, 'publicId' | 'name'>;
50
51
  type AgentServerType = 'http' | 'rdp' | 'vnc' | 'websocket';
51
52
  type ConnectionQuality = 'high' | 'normal' | 'low';
52
53
  type HttpAuthenticationType = 'ntlm' | 'basic' | 'digest';
@@ -10,6 +10,7 @@ export interface AgentType {
10
10
  custom?: {};
11
11
  customServers?: boolean;
12
12
  deviceIdFormat?: string;
13
+ hasSecondWanPort?: boolean;
13
14
  httpProxyPort?: number | null;
14
15
  latestFirmwareFile?: any;
15
16
  name?: string;
@@ -20,7 +20,7 @@ import type { LoggingApp } from './logging-app';
20
20
  import type { LsiServer } from './lsi-server';
21
21
  import type { PageLink } from './page-link';
22
22
  import type { ResLink } from './res-link';
23
- import type { UserReference } from './user-reference';
23
+ import type { UserReference } from './user';
24
24
  import type { VpnProtocol } from './vpn-protocol';
25
25
  import type { VpnSession } from './vpn-session';
26
26
  export interface Agent extends AgentLike {
@@ -1,7 +1,4 @@
1
- import type { AgentReference, AssetReference } from './reference';
2
1
  export interface Audience {
3
- agents?: AgentReference[];
4
- assets?: AssetReference[];
5
2
  custom?: {};
6
3
  default?: boolean;
7
4
  description?: string | null;
@@ -1,5 +1,5 @@
1
1
  import type { ResLink } from './res-link';
2
- import type { UserReference } from './user-reference';
2
+ import type { UserReference } from './user';
3
3
  export interface BackendComponentTemplateVersion {
4
4
  template?: ResLink;
5
5
  publicId: string;
@@ -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,5 +1,5 @@
1
1
  import type { ResLink } from './res-link';
2
- import type { UserReference } from './user-reference';
2
+ import type { UserReference } from './user';
3
3
  export interface PageComponentTemplateVersion {
4
4
  createdBy?: UserReference;
5
5
  createdOn?: string | null;
@@ -74,3 +74,4 @@ export interface MyUserCreate extends Pick<MyUser, 'name' | 'language' | 'locali
74
74
  ssoAuthentication?: SsoAuthentication;
75
75
  termsOfUsePolicy?: ResLink | null;
76
76
  }
77
+ export type UserReference = Pick<User, 'publicId' | 'name'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.12.0",
3
+ "version": "1.13.0-next.0",
4
4
  "description": "",
5
5
  "main": "./dist/component-devkit/src/types/src/index.d.ts",
6
6
  "author": "",
@@ -1,8 +0,0 @@
1
- export interface AgentReference {
2
- publicId: string;
3
- name?: string | null;
4
- }
5
- export interface AssetReference {
6
- publicId: string;
7
- name?: string;
8
- }
@@ -1,2 +0,0 @@
1
- import type { User } from './user';
2
- export type UserReference = Pick<User, 'publicId' | 'name'>;