@ixon-cdk/types 1.21.0 → 1.22.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.
@@ -12,8 +12,10 @@ export interface EdgeAppInstanceProgress {
12
12
  export type EdgeAppInstanceDeploymentStatus = 'deleting' | 'deploying' | 'error' | 'pending' | 'running';
13
13
  export type AgentEdgeAppInstance = {
14
14
  agent?: ResLink;
15
+ differentConfigs?: boolean;
15
16
  edgeAppVersion?: ResLink;
16
17
  files?: EdgeAppFile[];
18
+ lastEvent?: string | null;
17
19
  name?: string;
18
20
  publicId: string;
19
21
  services?: AgentEdgeAppInstanceService[];
@@ -14,6 +14,7 @@ export interface AgentServer {
14
14
  port?: number;
15
15
  publicId: string;
16
16
  readOnly?: boolean | null;
17
+ recordSessions?: boolean | null;
17
18
  requireAccessApproval?: boolean;
18
19
  serviceGroup?: string | null;
19
20
  template?: AgentServerTemplate | null;
@@ -40,6 +41,7 @@ export interface AgentServerTemplate {
40
41
  port?: number;
41
42
  publicId: string;
42
43
  readOnly?: boolean | null;
44
+ recordSessions?: boolean | null;
43
45
  requireAccessApproval?: boolean;
44
46
  type?: AgentServerType;
45
47
  username?: string | null;
@@ -50,7 +52,7 @@ export interface AgentServerTemplate {
50
52
  vncRightClickOnTouchHold?: boolean;
51
53
  }
52
54
  export type AgentServerReference = Pick<AgentServer, 'name' | 'publicId'>;
53
- export type AgentServerType = 'http' | 'rdp' | 'rtsp' | 'vnc' | 'websocket';
55
+ export type AgentServerType = 'http' | 'rdp' | 'rtsp' | 'ssh' | 'vnc' | 'websocket';
54
56
  export type ConnectionQuality = 'high' | 'normal' | 'low';
55
57
  type HttpAuthenticationType = 'ntlm' | 'basic' | 'digest';
56
58
  export {};
@@ -26,7 +26,7 @@ export interface Asset {
26
26
  publicId: string;
27
27
  resourceVariant?: AssetType;
28
28
  root?: ResLink | null;
29
- slug?: string;
29
+ slug?: string | null;
30
30
  }
31
31
  export interface AssetInstanceCreate {
32
32
  libraryAsset: ResLink;
@@ -0,0 +1,6 @@
1
+ import type { ResLink } from './res-link';
2
+ export interface DataDeletionRequestCreate {
3
+ end: string;
4
+ source: ResLink;
5
+ start: string;
6
+ }
@@ -34,7 +34,7 @@ export interface DataQuery {
34
34
  postAggr?: string;
35
35
  postTransform?: 'difference' | null;
36
36
  ref: string;
37
- step?: number | 'day' | 'week';
37
+ step?: number | 'day' | 'week' | 'month';
38
38
  }
39
39
  export interface DataRequest {
40
40
  end?: string;
@@ -58,14 +58,15 @@ export * from './company';
58
58
  export * from './controlled-device';
59
59
  export * from './controlled-device-membership';
60
60
  export * from './custom-property';
61
- export * from './data';
62
- export * from './data-protocol';
61
+ export * from './data-deletion-request';
63
62
  export * from './data-protocol-applied';
63
+ export * from './data-protocol';
64
+ export * from './data';
64
65
  export * from './demo-device';
65
66
  export * from './discovery';
66
- export * from './edge-app';
67
67
  export * from './edge-app-file';
68
68
  export * from './edge-app-version';
69
+ export * from './edge-app';
69
70
  export * from './email-address-change';
70
71
  export * from './file';
71
72
  export * from './file-upload';
@@ -1,5 +1,5 @@
1
1
  export type LicenceTypeScope = 'agent' | 'company';
2
- export type LicenceUsageType = 'advanced-user-management' | 'agent-registration-profile' | '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' | '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' | 'sla' | 'ssh' | 'subgroups' | 'temporary-access' | 'vpn-access-rule' | 'vpn-usage';
2
+ export type LicenceUsageType = 'advanced-user-management' | 'agent-registration-profile' | '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' | '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';
3
3
  export interface LicenceType {
4
4
  companyLimit?: number | null;
5
5
  publicId: string;
@@ -1,13 +1,31 @@
1
1
  import type { Audience } from './audience';
2
2
  import type { Page } from './page';
3
3
  import type { PageLink } from './page-link';
4
+ import type { ResLink } from './res-link';
4
5
  export interface MenuItem {
5
6
  audience?: Audience | null;
6
- custom?: {};
7
+ custom?: {
8
+ /** String reference for a material design named icon. */
9
+ glbMatIcon?: string;
10
+ };
7
11
  name?: string | null;
8
12
  order?: number;
9
- page?: Page;
13
+ page?: Page | null;
10
14
  pageLinks?: PageLink[];
11
15
  pinned?: boolean;
12
16
  publicId: string;
13
17
  }
18
+ export type MenuItemCreate = Pick<MenuItem, 'custom' | 'name' | 'order' | 'pinned'> & {
19
+ audience?: ResLink | null;
20
+ page?: ResLink | null;
21
+ pageLinks?: MenuItemPageLink[];
22
+ };
23
+ export type MenuItemUpdate = Pick<MenuItem, 'custom' | 'name' | 'order' | 'pinned' | 'publicId'> & {
24
+ audience?: ResLink | null;
25
+ page?: ResLink | null;
26
+ pageLinks?: MenuItemPageLink[];
27
+ };
28
+ export type MenuItemPageLink = Pick<PageLink, 'audience' | 'custom' | 'order' | 'page'> & {
29
+ audience?: ResLink | null;
30
+ group?: string | null;
31
+ };
@@ -1,3 +1,13 @@
1
+ import type { Agent } from './agent';
2
+ import type { AgentServer } from './agent-server';
1
3
  export interface WebAccess {
2
- url: string;
4
+ agent?: Agent;
5
+ agentServer?: AgentServer;
6
+ closeReason?: string | null;
7
+ expiresOn?: string;
8
+ publicId: string;
9
+ }
10
+ export interface WebAccessCreateResponse {
11
+ publicId: string;
12
+ url?: string;
3
13
  }
@@ -13,10 +13,16 @@ export interface LoggingDataClient {
13
13
  */
14
14
  destroy(): void;
15
15
  /**
16
- * Starts a query for logging data. This method can be used for historic and live data depending
17
- * on the selector.
16
+ * Starts a query for logging data. Results are delivered through the `listener` callback. This method can be used
17
+ * for historic and live data depending on the selector. The `listener` may be called multiple times in multiple
18
+ * cases, including but not limited to:
18
19
  *
19
- * @returns {function()} Returns a deregistration function for the listener.
20
+ * * when new live data comes in
21
+ * * when a different time period is selected
22
+ * * when an auto-refresh is active
23
+ *
24
+ * @returns {function()} Returns a deregistration function for the listener. Until this function is called, or the
25
+ * client is destroyed, the `listener` callback will continue to get called.
20
26
  */
21
27
  query(query: LoggingDataQuery, listener: (result: LoggingDataMetric[]) => any): () => void;
22
28
  query(queries: LoggingDataQuery[], listener: (results: LoggingDataMetric[][]) => any): () => void;
@@ -26,6 +32,8 @@ export interface LoggingDataClient {
26
32
  *
27
33
  * - If `format` is `'csv'`, the result type is `LoggingDataBlob`
28
34
  * - Otherwise, the result type is `LoggingDataMetric[][]`
35
+ *
36
+ * If the `once` field is set to `true`, the query listener will be called at most once.
29
37
  */
30
38
  listener: (results: T extends {
31
39
  format: 'csv';
@@ -81,7 +81,7 @@ export interface LoggingDataQuery {
81
81
  /**
82
82
  * Number of seconds between subsequent data-points
83
83
  */
84
- step?: number | 'day' | 'week';
84
+ step?: number | 'day' | 'week' | 'month';
85
85
  /**
86
86
  * The tag to fetch the data from. Must be null if variable is set
87
87
  */
@@ -34,7 +34,11 @@ export interface ResourceDataClient {
34
34
  */
35
35
  destroy(): void;
36
36
  /**
37
- * @returns {function()} Returns a deregistration function for the listener.
37
+ * Starts a query for resource data. Results are delivered through the `listener` callback. The `listener` may be
38
+ * called multiple times when resource data changes.
39
+ *
40
+ * @returns {function()} Returns a deregistration function for the listener. Until this function is called, or the
41
+ * client is destroyed, the `listener` callback will continue to get called.
38
42
  */
39
43
  query<T extends ResourceDataQuerySelector>(query: ResourceDataQuery<T> | [ResourceDataQuery<T>], listener: (results: [ResourceDataResult<ResultDataMap[T]>]) => unknown): () => void;
40
44
  query<T1 extends ResourceDataQuerySelector, T2 extends ResourceDataQuerySelector>(query: [ResourceDataQuery<T1>, ResourceDataQuery<T2>], listener: (results: [ResourceDataResult<ResultDataMap[T1]>, ResourceDataResult<ResultDataMap[T2]>]) => unknown): () => void;
@@ -100,7 +100,7 @@ interface AgentResourceData {
100
100
  publicId: string;
101
101
  requireAccessApproval?: boolean;
102
102
  serviceGroup?: string | null;
103
- type?: 'http' | 'rdp' | 'rtsp' | 'vnc' | 'websocket';
103
+ type?: 'http' | 'rdp' | 'rtsp' | 'ssh' | 'vnc' | 'websocket';
104
104
  visibleInMobileApp?: boolean;
105
105
  visibleOnWeb?: boolean;
106
106
  }[];
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.21.0",
3
+ "version": "1.22.0-next.0",
4
4
  "description": "",
5
+ "type": "module",
5
6
  "main": "./dist/component-devkit/src/types/src/index.d.ts",
7
+ "exports": {
8
+ ".": "./dist/component-devkit/src/types/src/index.d.ts"
9
+ },
6
10
  "author": "",
7
11
  "license": "ISC",
8
12
  "files": [