@ixon-cdk/types 1.24.0-next.0 → 1.25.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.
@@ -18,7 +18,7 @@ export interface ComponentInput {
18
18
  * Only applicable to type `Group`.
19
19
  */
20
20
  children?: ComponentInput[];
21
- defaultValue?: any;
21
+ defaultValue?: unknown;
22
22
  description?: string;
23
23
  /**
24
24
  * @default false
@@ -47,7 +47,7 @@ export interface ComponentInput {
47
47
  options?: {
48
48
  label: string;
49
49
  shortLabel?: string;
50
- value: any;
50
+ value: unknown;
51
51
  }[];
52
52
  /**
53
53
  * Only applicable to type `String`.
@@ -86,5 +86,8 @@ export interface ComponentInput {
86
86
  */
87
87
  translate?: boolean;
88
88
  type: ComponentInputType;
89
+ metric?: {
90
+ source: 'auto' | 'app';
91
+ };
89
92
  }
90
93
  export {};
@@ -1,12 +1,12 @@
1
- import type { AgentLike } from './agent';
2
1
  import type { ResLink } from './res-link';
3
2
  import type { UserReference } from './user';
4
- export interface AgentTemplateVersion extends AgentLike {
5
- agentTemplate: ResLink;
3
+ export interface AgentTemplateVersion {
4
+ agentTemplate?: ResLink;
6
5
  company?: ResLink;
7
6
  createdOn?: string;
8
7
  createdBy?: UserReference | null;
9
8
  description?: string | null;
10
- number: string;
9
+ number?: string;
10
+ publicId: string;
11
11
  }
12
12
  export type AgentTemplateVersionReference = Pick<AgentTemplateVersion, 'createdOn' | 'number' | 'publicId'>;
@@ -6,11 +6,13 @@ 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;
12
14
  custom?: {
13
- [key: string]: any;
15
+ [key: string]: unknown;
14
16
  };
15
17
  description?: string | null;
16
18
  enabled?: boolean;
@@ -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: ResLink;
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';
@@ -0,0 +1,5 @@
1
+ export interface OciRegistry {
2
+ publicId: string;
3
+ server?: string;
4
+ username?: string;
5
+ }
@@ -1,3 +1,4 @@
1
+ import type { ApiApplication } from './api-application';
1
2
  import type { EmailAddressChange } from './email-address-change';
2
3
  import type { Invite } from './invite';
3
4
  import type { OtpAuth } from './otp-auth';
@@ -8,7 +9,7 @@ import type { UserMembership } from './user-membership';
8
9
  export interface User {
9
10
  custom?: {};
10
11
  /** @changeNotification taint */
11
- emailAddress?: string;
12
+ emailAddress?: string | null;
12
13
  /** For example 2019-01-01T12:00:00Z */
13
14
  lastSeenOn?: string;
14
15
  memberships?: UserMembership[];
@@ -18,6 +19,7 @@ export interface User {
18
19
  otpauthRequired?: boolean;
19
20
  publicId: string;
20
21
  support?: boolean;
22
+ type?: 'person' | 'service_account';
21
23
  }
22
24
  export interface MyUser {
23
25
  acceptedTermsOfUsePolicies?: AcceptedTermsOfUsePolicy[];
@@ -51,7 +53,7 @@ export interface MyUser {
51
53
  /** JSON Object with starred agents per company, For example: { "1111-2222-3333-4444-5555": ["ixagent00001", "ixagent00003"]} */
52
54
  glbStarred?: string;
53
55
  };
54
- emailAddress?: string;
56
+ emailAddress?: string | null;
55
57
  emailAddressChanges?: EmailAddressChange[];
56
58
  externallyManaged?: boolean;
57
59
  hasPassword?: boolean;
@@ -64,10 +66,13 @@ export interface MyUser {
64
66
  otpAuth?: OtpAuth | null;
65
67
  phoneNumber?: string | null;
66
68
  publicId: string;
69
+ /** Set for service accounts only */
70
+ registeredBy?: User | null;
67
71
  /** For example 2019-01-01T12:00:00Z */
68
72
  registeredOn?: string;
69
73
  support?: boolean;
70
74
  timeZone?: string | null;
75
+ type?: 'person' | 'service_account';
71
76
  unreadMessagesCount?: number;
72
77
  }
73
78
  export interface MyUserCreate extends Pick<MyUser, 'name' | 'language' | 'localisation' | 'timeZone'> {
@@ -76,3 +81,10 @@ export interface MyUserCreate extends Pick<MyUser, 'name' | 'language' | 'locali
76
81
  termsOfUsePolicy?: ResLink | null;
77
82
  }
78
83
  export type UserReference = Pick<User, 'name' | 'publicId'>;
84
+ export interface ServiceAccount extends User {
85
+ apiApplications?: ApiApplication[];
86
+ registeredBy?: User;
87
+ /** For example 2019-01-01T12:00:00Z */
88
+ registeredOn?: string;
89
+ type: 'service_account';
90
+ }
@@ -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.24.0-next.0",
3
+ "version": "1.25.0-next.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/component-devkit/src/types/src/index.d.ts",