@ixon-cdk/types 1.29.0-next.0 → 1.30.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.
@@ -11,6 +11,7 @@ import type { ActionMenuOptions, ActionMenuResult } from './menu';
11
11
  import type { MultiSelectPanelOptions, MultiSelectPanelResult, SingleSelectPanelOptions, SingleSelectPanelResult } from './select';
12
12
  import type { ToastOptions } from './toast';
13
13
  import type { Tooltip, TooltipOptions } from './tooltip';
14
+ import type { TranslationPickerOptions, TranslationPickerResult } from './translation-picker';
14
15
  export type { ComponentContextAppData } from './app-data';
15
16
  export type { ActionBottomSheetAction, ActionBottomSheetOptions, ActionBottomSheetResult } from './bottom-sheet';
16
17
  export type { AlertDialogOptions, ConfirmDialogOptions, ContentDialogOptions, FormDialogOptions, FormDialogResult, } from './dialog';
@@ -18,6 +19,7 @@ export type { ActionMenuAction, ActionMenuOptions, ActionMenuResult } from './me
18
19
  export type { MultiSelectPanelOptions, MultiSelectPanelResult, SingleSelectPanelOptions, SingleSelectPanelResult, SelectPanelOption, } from './select';
19
20
  export type { Toast, ToastOptions } from './toast';
20
21
  export type { Tooltip, TooltipOptions } from './tooltip';
22
+ export type { TranslationPickerOptions, TranslationPickerResult } from './translation-picker';
21
23
  export * from './input';
22
24
  /**
23
25
  * The Component Context provides access to the component's inputs, the page's time range, to the LoggingDataClient and ResourceDataClient and to other application data.
@@ -199,6 +201,20 @@ export interface ComponentContext<ComponentContextInputs extends object = {
199
201
  * @param options configures the form dialog
200
202
  */
201
203
  openFormDialog(options: FormDialogOptions): Promise<FormDialogResult | false | undefined>;
204
+ /**
205
+ * Opens the custom translation picker.
206
+ *
207
+ * Translation keys passed to and returned from this API do not include
208
+ * the "__TRANSLATION__." namespace.
209
+ *
210
+ * The picker is closed automatically when this context is destroyed.
211
+ *
212
+ * @param options configures the translation picker
213
+ *
214
+ * @experimental
215
+ * @ignore
216
+ */
217
+ openTranslationPicker(options?: TranslationPickerOptions): Promise<TranslationPickerResult | undefined>;
202
218
  /**
203
219
  * Opens a select panel.
204
220
  *
@@ -0,0 +1,15 @@
1
+ export interface TranslationPickerOptions {
2
+ /**
3
+ * Currently selected custom translation key, without the
4
+ * "__TRANSLATION__." namespace.
5
+ */
6
+ selectedKey?: string;
7
+ }
8
+ export interface TranslationPickerResult {
9
+ /**
10
+ * Selected custom translation key without its namespace.
11
+ *
12
+ * `null` indicates that the existing translation was unlinked.
13
+ */
14
+ selectedKey: string | null;
15
+ }
@@ -143,3 +143,19 @@ export interface AgentConfigUpdate {
143
143
  routerAdditionalSubnets: Partial<AgentRouterAdditionalSubnet>[];
144
144
  devices: AgentDeviceReplace[];
145
145
  }
146
+ interface ResourceReference {
147
+ name: string;
148
+ }
149
+ export interface AgentConfigImportLinkedResourcesIssue {
150
+ issueType: 'linked-resources';
151
+ message: 'Resource cannot be deleted due to linked resources';
152
+ publicId: string;
153
+ reference: ResourceReference;
154
+ resources: ResLink[];
155
+ }
156
+ export type AgentConfigImportIssue = AgentConfigImportLinkedResourcesIssue;
157
+ export interface AgentConfigImportResult {
158
+ agent: ResLink;
159
+ issues: AgentConfigImportIssue[];
160
+ }
161
+ export {};
@@ -13,6 +13,7 @@ export interface AgentServer {
13
13
  password?: string | null;
14
14
  port?: number;
15
15
  publicId: string;
16
+ fileTransferEnabled?: boolean | null;
16
17
  flags?: RdpFlag[];
17
18
  readOnly?: boolean | null;
18
19
  recordSessions?: boolean | null;
@@ -20,6 +21,8 @@ export interface AgentServer {
20
21
  serviceGroup?: string | null;
21
22
  template?: AgentServerTemplate | null;
22
23
  type?: AgentServerType;
24
+ /** default: false */
25
+ usePersonalAccount?: boolean;
23
26
  username?: string | null;
24
27
  useSsl?: boolean;
25
28
  /** default: true */
@@ -41,11 +44,14 @@ export interface AgentServerTemplate {
41
44
  password?: string | null;
42
45
  port?: number;
43
46
  publicId: string;
47
+ fileTransferEnabled?: boolean | null;
44
48
  flags?: RdpFlag[];
45
49
  readOnly?: boolean | null;
46
50
  recordSessions?: boolean | null;
47
51
  requireAccessApproval?: boolean;
48
52
  type?: AgentServerType;
53
+ /** default: false */
54
+ usePersonalAccount?: boolean;
49
55
  username?: string | null;
50
56
  useSsl?: boolean;
51
57
  visibleInMobileApp?: boolean;
@@ -57,5 +63,4 @@ export type AgentServerReference = Pick<AgentServer, 'name' | 'publicId' | 'type
57
63
  export type AgentServerType = 'http' | 'rdp' | 'rtsp' | 'ssh' | 'vnc' | 'websocket';
58
64
  export type ConnectionQuality = 'high' | 'normal' | 'low';
59
65
  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';
60
- type HttpAuthenticationType = 'ntlm' | 'basic' | 'digest';
61
- export {};
66
+ export type HttpAuthenticationType = 'ntlm' | 'basic' | 'digest';
@@ -90,6 +90,8 @@ export interface AgentLike {
90
90
  dataSources?: AgentDataSource[];
91
91
  description?: string | null;
92
92
  devices?: AgentDevice[];
93
+ /** default: false */
94
+ hasLoggingConfigured?: boolean;
93
95
  lanWanAccessRules?: AgentRouterLanWanAccessRule[];
94
96
  name?: string | null;
95
97
  oneToOneNatRules?: AgentRouterOneToOneNatRule[];
@@ -1,5 +1,5 @@
1
1
  export type LicenceTypeScope = 'agent' | 'company';
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' | 'ixon-one' | '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' | 'disable-tags' | 'edge-app-management' | 'ixagent' | 'ixon-one' | 'landing-page' | 'live-data' | 'logging-devices' | '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;
@@ -8,6 +8,7 @@ interface AgentBase extends Pick<Agent, 'custom' | 'deviceId' | 'geoLocation' |
8
8
  }
9
9
  export interface Licence {
10
10
  activated?: boolean;
11
+ actualValue?: string | null;
11
12
  agent?: AgentBase | null;
12
13
  agentType?: AgentType | null;
13
14
  bundle?: LicenceBundle | null;
@@ -37,7 +37,7 @@ export interface MyUser {
37
37
  * For example:
38
38
  * {
39
39
  * "1111-2222-3333-4444-5553": {
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"}},
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"}, "dataSources": {type: "list"}},
41
41
  * }
42
42
  * }
43
43
  */
@@ -21,8 +21,10 @@ export interface WebAccessConnection {
21
21
  user?: UserReference;
22
22
  }
23
23
  export interface WebAccessOpened {
24
+ authDomain?: string | null;
24
25
  rscServer: RscServer;
25
26
  server: AgentServer;
27
+ username?: string | null;
26
28
  webaccess: ResLink;
27
29
  }
28
30
  export interface WebAccessConnectedUser {
@@ -37,3 +39,8 @@ export interface WebAccessDisconnectedUser {
37
39
  publicId?: string;
38
40
  user?: UserReference;
39
41
  }
42
+ export interface WebAccessCredentials {
43
+ authDomain: string | null;
44
+ username: string;
45
+ password: string;
46
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.29.0-next.0",
3
+ "version": "1.30.0-next.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/component-devkit/src/types/src/index.d.ts",