@ixon-cdk/types 1.13.0-next.1 → 1.13.0-next.3
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/access-token.d.ts +1 -0
- package/dist/types/ixapi/resources/agent-access-request.d.ts +10 -0
- package/dist/types/ixapi/resources/agent-config.d.ts +6 -0
- package/dist/types/ixapi/resources/agent.d.ts +1 -1
- package/dist/types/ixapi/resources/audience-agent-reference.d.ts +7 -0
- package/dist/types/ixapi/resources/audience-asset-reference.d.ts +7 -0
- package/dist/types/ixapi/resources/data-protocol-applied.d.ts +1 -1
- package/dist/types/ixapi/resources/data.d.ts +11 -2
- package/dist/types/ixapi/resources/index.d.ts +3 -0
- package/dist/types/ixapi/resources/vpn-config.d.ts +7 -0
- 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 +29 -20
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ export interface AccessToken {
|
|
|
19
19
|
export interface AccessTokenCreate {
|
|
20
20
|
/** In seconds. */
|
|
21
21
|
expiresIn: number;
|
|
22
|
+
scope?: AccessTokenScopesUnion | null;
|
|
22
23
|
trustedDeviceName?: string | null;
|
|
23
24
|
}
|
|
24
25
|
export interface AccessTokenSsoCreate extends AccessTokenCreate {
|
|
@@ -9,6 +9,8 @@ export interface AgentAccessRequest {
|
|
|
9
9
|
end?: string;
|
|
10
10
|
publicId: string;
|
|
11
11
|
reason?: string;
|
|
12
|
+
/** I.e. "2019-01-01T12:00:00Z" */
|
|
13
|
+
reviewExpiresOn?: string | null;
|
|
12
14
|
servers?: AgentServerReference[];
|
|
13
15
|
/** I.e. "2019-01-01T12:00:00Z" */
|
|
14
16
|
start?: string;
|
|
@@ -18,5 +20,13 @@ export interface AgentAccessRequest {
|
|
|
18
20
|
user?: UserReference;
|
|
19
21
|
vpn?: boolean;
|
|
20
22
|
}
|
|
23
|
+
export type AgentAccessRequestApproveResponse = AgentAccessRequestResult;
|
|
24
|
+
export type AgentAccessRequestRejectResponse = AgentAccessRequestResult;
|
|
21
25
|
type AgentAccessRequestStatus = 'approved' | 'pending' | 'rejected';
|
|
26
|
+
interface AgentAccessRequestResult {
|
|
27
|
+
deviceName: string;
|
|
28
|
+
emailAddress: string;
|
|
29
|
+
serviceNames: string[];
|
|
30
|
+
vpn: boolean;
|
|
31
|
+
}
|
|
22
32
|
export {};
|
|
@@ -17,6 +17,7 @@ export interface AgentConfig {
|
|
|
17
17
|
routerDisplay?: AgentConfigRouterDisplay | null;
|
|
18
18
|
routerLan?: AgentConfigRouterLan | null;
|
|
19
19
|
routerPortForwards?: AgentRouterPortForward[];
|
|
20
|
+
routerNtpServers?: AgentRouterNtpServer[];
|
|
20
21
|
routerVpn?: AgentRouterVpnConfig;
|
|
21
22
|
routerWan?: AgentConfigRouterWan | null;
|
|
22
23
|
stewardConfigFileReported?: string | null;
|
|
@@ -62,6 +63,11 @@ export interface AgentRouterPortForward {
|
|
|
62
63
|
targetIpAddress?: string;
|
|
63
64
|
targetPort?: number;
|
|
64
65
|
}
|
|
66
|
+
export interface AgentRouterNtpServer {
|
|
67
|
+
agent?: ResLink;
|
|
68
|
+
publicId: string;
|
|
69
|
+
server?: string;
|
|
70
|
+
}
|
|
65
71
|
export interface AgentConfigRouterWan {
|
|
66
72
|
/** @deprecated */
|
|
67
73
|
'3gApn'?: string | null;
|
|
@@ -25,7 +25,6 @@ import type { UserReference } from './user';
|
|
|
25
25
|
import type { VpnProtocol } from './vpn-protocol';
|
|
26
26
|
import type { VpnSession } from './vpn-session';
|
|
27
27
|
export interface Agent extends AgentLike {
|
|
28
|
-
accessRequests?: AgentAccessRequest[];
|
|
29
28
|
activationLicence?: Licence | null;
|
|
30
29
|
activeStatus?: 'active' | 'inactive';
|
|
31
30
|
activeVpnSession?: VpnSession | null;
|
|
@@ -58,6 +57,7 @@ export interface Agent extends AgentLike {
|
|
|
58
57
|
replaceMacAddress?: string | null;
|
|
59
58
|
replaceRegistration?: boolean;
|
|
60
59
|
reRegistration?: boolean;
|
|
60
|
+
scheduledAccessRequests?: AgentAccessRequest[];
|
|
61
61
|
serialNumber?: string | null;
|
|
62
62
|
timeZone?: string | null;
|
|
63
63
|
valuesPerHour?: number;
|
|
@@ -12,7 +12,7 @@ export interface DataProtocolAppliedCustom {
|
|
|
12
12
|
publicId: 'custom';
|
|
13
13
|
}
|
|
14
14
|
export interface DataProtocolAppliedEthernetIp {
|
|
15
|
-
cpu
|
|
15
|
+
cpu?: EthernetIpCpu | null;
|
|
16
16
|
publicId: 'ethernet-ip';
|
|
17
17
|
/** only used when cpu in [compactlogix|controllogix|flexlogix]. default is 0 */
|
|
18
18
|
rack?: number | null;
|
|
@@ -6,6 +6,13 @@ export interface Data {
|
|
|
6
6
|
start: string;
|
|
7
7
|
timeZone: string;
|
|
8
8
|
}
|
|
9
|
+
export interface DataCreate {
|
|
10
|
+
end: string;
|
|
11
|
+
source: ResLink;
|
|
12
|
+
start: string;
|
|
13
|
+
tags: Tag[];
|
|
14
|
+
timeZone?: string;
|
|
15
|
+
}
|
|
9
16
|
export interface DataPoint {
|
|
10
17
|
/** "2019-01-01T12:00:00Z" */
|
|
11
18
|
time: string;
|
|
@@ -18,12 +25,14 @@ export interface DataQuery {
|
|
|
18
25
|
decimals?: number;
|
|
19
26
|
/** Default is false */
|
|
20
27
|
extendedBoundary?: boolean;
|
|
21
|
-
factor?: number;
|
|
28
|
+
factor?: number | string;
|
|
22
29
|
/** Default is 5000 */
|
|
23
30
|
limit?: number;
|
|
24
31
|
offset?: number;
|
|
25
32
|
operator?: string;
|
|
26
|
-
|
|
33
|
+
order?: 'asc' | 'desc';
|
|
34
|
+
postAggr?: string;
|
|
35
|
+
postTransform?: 'difference' | null;
|
|
27
36
|
ref: string;
|
|
28
37
|
step?: number | 'day' | 'week';
|
|
29
38
|
}
|
|
@@ -37,6 +37,8 @@ export * from './asset-app-config';
|
|
|
37
37
|
export * from './asset-library-version';
|
|
38
38
|
export * from './asset-membership';
|
|
39
39
|
export * from './asset-type';
|
|
40
|
+
export * from './audience-agent-reference';
|
|
41
|
+
export * from './audience-asset-reference';
|
|
40
42
|
export * from './audience';
|
|
41
43
|
export * from './audit-log';
|
|
42
44
|
export * from './auth-token';
|
|
@@ -107,6 +109,7 @@ export * from './trusted-device';
|
|
|
107
109
|
export * from './user';
|
|
108
110
|
export * from './user-membership';
|
|
109
111
|
export * from './user-push-device';
|
|
112
|
+
export * from './vpn-config';
|
|
110
113
|
export * from './vpn-protocol';
|
|
111
114
|
export * from './vpn-session';
|
|
112
115
|
export * from './vpn-usage';
|
|
@@ -11,6 +11,7 @@ interface ResultDataMap {
|
|
|
11
11
|
Branding: ResourceData.Branding;
|
|
12
12
|
CustomPropertyList: ResourceData.CustomProperty[];
|
|
13
13
|
GroupList: ResourceData.Group[];
|
|
14
|
+
LicenceList: ResourceData.Licence[];
|
|
14
15
|
MyCompany: ResourceData.MyCompany;
|
|
15
16
|
MyUser: ResourceData.MyUser;
|
|
16
17
|
PagePage: ResourceData.PagePage;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @module ResourceDataQuery */
|
|
2
|
-
export type ResourceDataQuerySelector = 'Agent' | 'Asset' | 'AssetAppConfig' | 'AssetAppConfigList' | 'Branding' | 'CustomPropertyList' | 'GroupList' | 'MyCompany' | 'MyUser' | 'PagePage' | 'PageVersion' | 'UserList';
|
|
2
|
+
export type ResourceDataQuerySelector = 'Agent' | 'Asset' | 'AssetAppConfig' | 'AssetAppConfigList' | 'Branding' | 'CustomPropertyList' | 'GroupList' | 'LicenceList' | 'MyCompany' | 'MyUser' | 'PagePage' | 'PageVersion' | 'UserList';
|
|
3
3
|
export interface ResourceDataQuery<T = ResourceDataQuerySelector> {
|
|
4
4
|
/**
|
|
5
5
|
* String reference unique to the query call made by the client
|
|
@@ -1,24 +1,4 @@
|
|
|
1
1
|
interface AgentResourceData {
|
|
2
|
-
accessRequests?: {
|
|
3
|
-
approver?: {
|
|
4
|
-
name?: string;
|
|
5
|
-
publicId: string;
|
|
6
|
-
} | null;
|
|
7
|
-
end?: string;
|
|
8
|
-
publicId: string;
|
|
9
|
-
servers?: {
|
|
10
|
-
name?: string;
|
|
11
|
-
publicId: string;
|
|
12
|
-
}[];
|
|
13
|
-
start?: string;
|
|
14
|
-
status?: 'approved' | 'pending' | 'rejected';
|
|
15
|
-
updatedOn?: string | null;
|
|
16
|
-
user?: {
|
|
17
|
-
name?: string;
|
|
18
|
-
publicId: string;
|
|
19
|
-
};
|
|
20
|
-
vpn?: boolean;
|
|
21
|
-
}[];
|
|
22
2
|
activeVpnSession?: {
|
|
23
3
|
rscServer?: {
|
|
24
4
|
name?: string;
|
|
@@ -77,6 +57,27 @@ interface AgentResourceData {
|
|
|
77
57
|
configOpenvpnLastHit?: string | null;
|
|
78
58
|
configOpenvpnLimit?: 'soft' | 'hard' | 'lock' | null;
|
|
79
59
|
};
|
|
60
|
+
scheduledAccessRequests?: {
|
|
61
|
+
approver?: {
|
|
62
|
+
name?: string;
|
|
63
|
+
publicId: string;
|
|
64
|
+
} | null;
|
|
65
|
+
end?: string;
|
|
66
|
+
publicId: string;
|
|
67
|
+
reason?: string;
|
|
68
|
+
servers?: {
|
|
69
|
+
name?: string;
|
|
70
|
+
publicId: string;
|
|
71
|
+
}[];
|
|
72
|
+
start?: string;
|
|
73
|
+
status?: 'approved' | 'pending' | 'rejected';
|
|
74
|
+
updatedOn?: string | null;
|
|
75
|
+
user?: {
|
|
76
|
+
name?: string;
|
|
77
|
+
publicId: string;
|
|
78
|
+
};
|
|
79
|
+
vpn?: boolean;
|
|
80
|
+
}[];
|
|
80
81
|
serialNumber?: string | null;
|
|
81
82
|
servers?: {
|
|
82
83
|
custom?: Record<string, any>;
|
|
@@ -146,6 +147,13 @@ interface GroupResourceData {
|
|
|
146
147
|
publicId: string;
|
|
147
148
|
} | null;
|
|
148
149
|
}
|
|
150
|
+
interface LicenceResourceData {
|
|
151
|
+
publicId: string;
|
|
152
|
+
type?: {
|
|
153
|
+
publicId: string;
|
|
154
|
+
usageType?: string;
|
|
155
|
+
};
|
|
156
|
+
}
|
|
149
157
|
interface MyCompanyResourceData {
|
|
150
158
|
name?: string;
|
|
151
159
|
permissions?: string[];
|
|
@@ -181,6 +189,7 @@ export declare namespace ResourceData {
|
|
|
181
189
|
type Branding = BrandingResourceData;
|
|
182
190
|
type CustomProperty = CustomPropertyResourceData;
|
|
183
191
|
type Group = GroupResourceData;
|
|
192
|
+
type Licence = LicenceResourceData;
|
|
184
193
|
type MyCompany = MyCompanyResourceData;
|
|
185
194
|
type MyUser = MyUserResourceData;
|
|
186
195
|
type PagePage = PagePageResourceData;
|