@ixon-cdk/types 1.24.0-next.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.
- package/dist/types/ixapi/resources/agent-template-version.d.ts +4 -4
- package/dist/types/ixapi/resources/asset.d.ts +13 -0
- package/dist/types/ixapi/resources/index.d.ts +2 -0
- package/dist/types/ixapi/resources/oci-registry.d.ts +5 -0
- package/dist/types/ixapi/resources/user.d.ts +8 -2
- package/dist/types/resource-data/resource-data-client.d.ts +1 -0
- package/dist/types/resource-data/resource-data-query.d.ts +1 -1
- package/dist/types/resource-data/resource-data.d.ts +12 -0
- package/package.json +1 -1
|
@@ -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
|
|
5
|
-
agentTemplate
|
|
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
|
|
9
|
+
number?: string;
|
|
10
|
+
publicId: string;
|
|
11
11
|
}
|
|
12
12
|
export type AgentTemplateVersionReference = Pick<AgentTemplateVersion, 'createdOn' | 'number' | 'publicId'>;
|
|
@@ -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';
|
|
@@ -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'> {
|
|
@@ -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>;
|