@ixon-cdk/types 1.23.0 → 1.24.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,12 @@
1
+ import type { ResLink } from './res-link';
2
+ import type { UserReference } from './user';
3
+ export interface AgentTemplateVersion {
4
+ agentTemplate?: ResLink;
5
+ company?: ResLink;
6
+ createdOn?: string;
7
+ createdBy?: UserReference | null;
8
+ description?: string | null;
9
+ number?: string;
10
+ publicId: string;
11
+ }
12
+ export type AgentTemplateVersionReference = Pick<AgentTemplateVersion, 'createdOn' | 'number' | 'publicId'>;
@@ -1,6 +1,11 @@
1
1
  import type { AgentLike } from './agent';
2
+ import type { AgentTemplateVersionReference } from './agent-template-version';
2
3
  import type { ResLink } from './res-link';
4
+ import type { UserReference } from './user';
3
5
  export type AgentRegistrationProfileAgentTemplate = Pick<AgentTemplate, 'publicId' | 'name'>;
4
6
  export interface AgentTemplate extends AgentLike {
5
7
  group?: ResLink | null;
8
+ updatedOn?: string | null;
9
+ updatedBy?: UserReference | null;
10
+ latestVersion?: AgentTemplateVersionReference | null;
6
11
  }
@@ -11,6 +11,7 @@ import type { AgentRouterOneToOneNatRule } from './agent-router-one-to-one-nat-r
11
11
  import type { AgentRouterVpnAccessRule } from './agent-router-vpn-access-rule';
12
12
  import type { AgentServer } from './agent-server';
13
13
  import type { AgentTemplate } from './agent-template';
14
+ import type { AgentTemplateVersion } from './agent-template-version';
14
15
  import type { AgentType } from './agent-type';
15
16
  import type { AlarmingApp } from './alarming-app';
16
17
  import type { Audience } from './audience';
@@ -69,6 +70,7 @@ export interface Agent extends AgentLike {
69
70
  vpnLocked?: boolean;
70
71
  /** default: false */
71
72
  webAccessLocked?: boolean;
73
+ appliedTemplateVersion?: AgentTemplateVersion | null;
72
74
  }
73
75
  export interface AgentLike {
74
76
  card?: ResLink | null;
@@ -6,6 +6,8 @@ import type { PageLink } from './page-link';
6
6
  import type { ResLink } from './res-link';
7
7
  export interface Asset {
8
8
  agent?: ResLink | null;
9
+ aiAssistantEnabled?: boolean;
10
+ aiAssistantUserGreeting?: string | null;
9
11
  appConfigs?: AssetAppConfig[];
10
12
  card?: ResLink;
11
13
  company?: ResLink;
@@ -33,3 +35,14 @@ export interface AssetInstanceCreate {
33
35
  order?: number;
34
36
  parent: ResLink;
35
37
  }
38
+ export interface AssetTreeUpdateNodeReference extends AssetTreeUpdateNodeBase {
39
+ reference: ResLink;
40
+ }
41
+ export interface AssetTreeUpdateNodeCreate extends AssetTreeUpdateNodeBase {
42
+ name: string;
43
+ resourceVariant: AssetType;
44
+ }
45
+ export type AssetTreeUpdateNode = AssetTreeUpdateNodeReference | AssetTreeUpdateNodeCreate;
46
+ export interface AssetTreeUpdateNodeBase {
47
+ nodes?: AssetTreeUpdateNode[];
48
+ }
@@ -30,6 +30,7 @@ export * from './agent-router-vpn-access-rule';
30
30
  export * from './agent-router-vpn-config';
31
31
  export * from './agent-server';
32
32
  export * from './agent-template';
33
+ export * from './agent-template-version';
33
34
  export * from './agent-type';
34
35
  export * from './agent-type-file';
35
36
  export * from './alarming-app';
@@ -88,6 +89,7 @@ export * from './message-filter';
88
89
  export * from './mqtt-broker';
89
90
  export * from './mqtt-broker-client';
90
91
  export * from './object-storage';
92
+ export * from './oci-registry';
91
93
  export * from './otp-auth';
92
94
  export * from './page';
93
95
  export * from './page-component';
@@ -113,6 +115,7 @@ export * from './res-link';
113
115
  export * from './role';
114
116
  export * from './rsc-server';
115
117
  export * from './sector';
118
+ export * from './session-recording';
116
119
  export * from './sso-authentication';
117
120
  export * from './sso-identity-provider';
118
121
  export * from './support-access';
@@ -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' | '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' | 'sla' | 'ssh' | 'subgroups' | 'temporary-access' | 'vpn-access-rule' | 'vpn-usage';
3
3
  export interface LicenceType {
4
4
  companyLimit?: number | null;
5
5
  publicId: string;
@@ -0,0 +1,5 @@
1
+ export interface OciRegistry {
2
+ publicId: string;
3
+ server?: string;
4
+ username?: string;
5
+ }
@@ -0,0 +1,14 @@
1
+ export interface SessionRecording {
2
+ duration?: number;
3
+ error?: string | null;
4
+ publicId: string;
5
+ startTime?: string;
6
+ agentName?: string;
7
+ agentServerName?: string;
8
+ agentServerType?: string;
9
+ userName?: string;
10
+ status?: 'processing' | 'succeeded' | 'failed';
11
+ }
12
+ export interface SessionRecordingDownload {
13
+ url: string;
14
+ }
@@ -8,7 +8,7 @@ import type { UserMembership } from './user-membership';
8
8
  export interface User {
9
9
  custom?: {};
10
10
  /** @changeNotification taint */
11
- emailAddress?: string;
11
+ emailAddress?: string | null;
12
12
  /** For example 2019-01-01T12:00:00Z */
13
13
  lastSeenOn?: string;
14
14
  memberships?: UserMembership[];
@@ -17,7 +17,10 @@ export interface User {
17
17
  /** Whether the user has two-factor authentication activated for their account. */
18
18
  otpauthRequired?: boolean;
19
19
  publicId: string;
20
+ /** Set for service accounts only */
21
+ registeredBy?: User | null;
20
22
  support?: boolean;
23
+ type?: 'person' | 'service_account';
21
24
  }
22
25
  export interface MyUser {
23
26
  acceptedTermsOfUsePolicies?: AcceptedTermsOfUsePolicy[];
@@ -51,7 +54,7 @@ export interface MyUser {
51
54
  /** JSON Object with starred agents per company, For example: { "1111-2222-3333-4444-5555": ["ixagent00001", "ixagent00003"]} */
52
55
  glbStarred?: string;
53
56
  };
54
- emailAddress?: string;
57
+ emailAddress?: string | null;
55
58
  emailAddressChanges?: EmailAddressChange[];
56
59
  externallyManaged?: boolean;
57
60
  hasPassword?: boolean;
@@ -64,10 +67,13 @@ export interface MyUser {
64
67
  otpAuth?: OtpAuth | null;
65
68
  phoneNumber?: string | null;
66
69
  publicId: string;
70
+ /** Set for service accounts only */
71
+ registeredBy?: User | null;
67
72
  /** For example 2019-01-01T12:00:00Z */
68
73
  registeredOn?: string;
69
74
  support?: boolean;
70
75
  timeZone?: string | null;
76
+ type?: 'person' | 'service_account';
71
77
  unreadMessagesCount?: number;
72
78
  }
73
79
  export interface MyUserCreate extends Pick<MyUser, 'name' | 'language' | 'localisation' | 'timeZone'> {
@@ -3,6 +3,7 @@ import type { AgentServer } from './agent-server';
3
3
  export interface WebAccess {
4
4
  agent?: Agent;
5
5
  agentServer?: AgentServer;
6
+ closedOn?: string | null;
6
7
  closeReason?: string | null;
7
8
  expiresOn?: string;
8
9
  publicId: string;
@@ -8,6 +8,7 @@ import type { ResourceDataUpdate, ResourceDataUpdateSelector } from './resource-
8
8
  interface ResultDataMap {
9
9
  Agent: ResourceData.Agent;
10
10
  AgentDataTagList: ResourceData.AgentDataTag[];
11
+ AgentDataVariableList: ResourceData.AgentDataVariable[];
11
12
  AppConfig: ResourceData.AppConfig;
12
13
  Asset: ResourceData.Asset;
13
14
  AssetAppConfig: ResourceData.AssetAppConfig;
@@ -1,5 +1,5 @@
1
1
  /** @module ResourceDataQuery */
2
- export type ResourceDataQuerySelector = 'Agent' | 'AgentDataTagList' | 'AppConfig' | 'Asset' | 'AssetAppConfig' | 'AssetAppConfigList' | 'Branding' | 'CustomPropertyList' | 'GroupList' | 'LicenceList' | 'MyCompany' | 'MyUser' | 'Page' | 'PagePage' | 'PageVersion' | 'UserList';
2
+ export type ResourceDataQuerySelector = 'Agent' | 'AgentDataTagList' | 'AgentDataVariableList' | 'AppConfig' | 'Asset' | 'AssetAppConfig' | 'AssetAppConfigList' | 'Branding' | 'CustomPropertyList' | 'GroupList' | 'LicenceList' | 'MyCompany' | 'MyUser' | 'Page' | 'PagePage' | 'PageVersion' | 'UserList';
3
3
  export interface ResourceDataQuery<TSelector = ResourceDataQuerySelector> {
4
4
  /**
5
5
  * String reference unique to the query call made by the client.
@@ -13,6 +13,17 @@ interface AgentDataTagResourceData {
13
13
  internalUse?: boolean;
14
14
  };
15
15
  }
16
+ export interface AgentDataVariableResourceData {
17
+ name?: string;
18
+ publicId: string;
19
+ slug?: string | null;
20
+ source?: {
21
+ publicId: string;
22
+ reference?: {
23
+ name: string;
24
+ };
25
+ };
26
+ }
16
27
  interface AgentResourceData {
17
28
  activeVpnSession?: {
18
29
  rscServer?: {
@@ -241,6 +252,7 @@ interface UserResourceData {
241
252
  export declare namespace ResourceData {
242
253
  type Agent = AgentResourceData;
243
254
  type AgentDataTag = AgentDataTagResourceData;
255
+ type AgentDataVariable = AgentDataVariableResourceData;
244
256
  type AppConfig<TValues extends object = object> = AppConfigResourceData<TValues>;
245
257
  type Asset = AssetResourceData;
246
258
  type AssetAppConfig<TValues = unknown, TStateValues = unknown, TResourceValues = unknown, TResourceStateValues = unknown> = AssetAppConfigResourceData<TValues, TStateValues, TResourceValues, TResourceStateValues>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.23.0",
3
+ "version": "1.24.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/component-devkit/src/types/src/index.d.ts",