@ixon-cdk/types 1.27.0-next.0 → 1.27.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/component-context/input.d.ts +1 -0
- package/dist/types/ixapi/resources/agent-config.d.ts +6 -0
- package/dist/types/ixapi/resources/branding.d.ts +1 -0
- package/dist/types/ixapi/resources/data.d.ts +3 -1
- package/dist/types/logging-data/logging-data-query.d.ts +5 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AgentDevice } from './agent-device';
|
|
1
2
|
import type { AgentRouterVpnConfig } from './agent-router-vpn-config';
|
|
2
3
|
import type { ResLink } from './res-link';
|
|
3
4
|
export interface AgentConfig {
|
|
@@ -134,3 +135,8 @@ export interface AgentConfigRouterWlan {
|
|
|
134
135
|
}
|
|
135
136
|
export type AgentConfigRouterMultiwanPolicy = 'eth_cell_wifi' | 'cell_eth_wifi' | 'eth_wifi_cell' | 'wifi_eth_cell' | 'cell_wifi_eth' | 'wifi_cell_eth';
|
|
136
137
|
export type AgentConfigRouterWanDigitalInputMode = 'disable_vpn_high' | 'disable_vpn_low' | 'disable_wan_high' | 'disable_wan_low';
|
|
138
|
+
export interface AgentConfigUpdate {
|
|
139
|
+
routerLan: AgentConfigRouterLan;
|
|
140
|
+
routerAdditionalSubnets: Partial<AgentRouterAdditionalSubnet>[];
|
|
141
|
+
devices: Partial<AgentDevice>[];
|
|
142
|
+
}
|
|
@@ -17,7 +17,7 @@ export interface DataPoint {
|
|
|
17
17
|
/** "2019-01-01T12:00:00Z" */
|
|
18
18
|
time: string;
|
|
19
19
|
values: {
|
|
20
|
-
[ref: string]:
|
|
20
|
+
[ref: string]: boolean | number | string | null;
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
export interface DataQuery {
|
|
@@ -26,6 +26,8 @@ export interface DataQuery {
|
|
|
26
26
|
/** Default is false */
|
|
27
27
|
extendedBoundary?: boolean;
|
|
28
28
|
factor?: number | string;
|
|
29
|
+
/** Can only enter valid mathematical expressions if factor is empty */
|
|
30
|
+
formula?: string;
|
|
29
31
|
/** Default is 5000 */
|
|
30
32
|
limit?: number;
|
|
31
33
|
offset?: number;
|
|
@@ -22,6 +22,10 @@ export interface LoggingDataQuery {
|
|
|
22
22
|
* The factor to multiply the value by
|
|
23
23
|
*/
|
|
24
24
|
factor?: number;
|
|
25
|
+
/**
|
|
26
|
+
* The formula to apply to the value. Can only be applied if factor is not set, and can only contain valid mathematical expressions.
|
|
27
|
+
*/
|
|
28
|
+
formula?: string;
|
|
25
29
|
/**
|
|
26
30
|
* Used to override the global time-range for this specific query
|
|
27
31
|
*
|
|
@@ -105,6 +109,6 @@ export interface LoggingDataQuery {
|
|
|
105
109
|
publicId: string;
|
|
106
110
|
} | null;
|
|
107
111
|
}
|
|
108
|
-
type Aggregator = 'count' | 'distinct' | 'integral' | 'mean' | 'median' | 'mode' | 'spread' | 'stddev' | 'sum' | 'first' | 'last' | 'max' | 'min' | 'raw';
|
|
112
|
+
export type Aggregator = 'count' | 'distinct' | 'integral' | 'mean' | 'median' | 'mode' | 'spread' | 'stddev' | 'sum' | 'first' | 'last' | 'max' | 'min' | 'raw';
|
|
109
113
|
type Transform = 'difference';
|
|
110
114
|
export {};
|