@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.
@@ -1,6 +1,7 @@
1
1
  export interface ComponentContextRawMetricInput {
2
2
  decimals: number | null;
3
3
  factor: number | null;
4
+ formula: string | null;
4
5
  selector: string;
5
6
  transform: null;
6
7
  unit: string | null;
@@ -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
+ }
@@ -7,6 +7,7 @@ export interface Branding {
7
7
  /** @deprecated */
8
8
  glbAppleMobileWebAppTitle?: string | null;
9
9
  glbBrowserTitle?: string | null;
10
+ glbDefaultCompany?: string | null;
10
11
  glbHideCompanySwitch?: boolean | null;
11
12
  glbHideLoginForm?: boolean | null;
12
13
  };
@@ -17,7 +17,7 @@ export interface DataPoint {
17
17
  /** "2019-01-01T12:00:00Z" */
18
18
  time: string;
19
19
  values: {
20
- [ref: string]: any;
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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.27.0-next.0",
3
+ "version": "1.27.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/component-devkit/src/types/src/index.d.ts",