@ixon-cdk/types 1.25.0 → 1.26.0-next.1

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.
@@ -34,13 +34,13 @@ export interface ComponentInput {
34
34
  key: string;
35
35
  label?: string;
36
36
  /**
37
- * Only applicable to type `Number`.
37
+ * Only applicable to type `Number`, `Date` and `DateTime`.
38
38
  */
39
- max?: number;
39
+ max?: unknown;
40
40
  /**
41
- * Only applicable to type `Number`.
41
+ * Only applicable to type `Number`, `Date` and `DateTime`.
42
42
  */
43
- min?: number;
43
+ min?: unknown;
44
44
  /**
45
45
  * Only applicable to type `Selection`.
46
46
  */
@@ -3,6 +3,7 @@ export interface AgentEdgeAppInstanceServiceOverrides {
3
3
  environment?: string | null;
4
4
  }
5
5
  export interface AgentEdgeAppInstanceService {
6
+ agent?: ResLink;
6
7
  instance?: ResLink;
7
8
  name?: string;
8
9
  overrides?: AgentEdgeAppInstanceServiceOverrides;
@@ -31,13 +31,18 @@ export interface Agent extends AgentLike {
31
31
  activeStatus?: 'active' | 'inactive';
32
32
  activeVpnSession?: VpnSession | null;
33
33
  alarmingApp?: AlarmingApp;
34
+ appliedTemplateVersion?: AgentTemplateVersion | null;
34
35
  assets?: ResLink[];
35
36
  company?: CompanyReference;
37
+ /** default: false */
38
+ configPushLocked?: boolean;
36
39
  connectedUsers?: UserReference[];
37
40
  controlKeyGeneratedOn?: string | null;
38
41
  controlledBy?: CompanyReference | null;
39
42
  demoDevice?: DemoDevice | null;
40
43
  deviceId?: string | null;
44
+ /** default: false */
45
+ firmwareUpdateLocked?: boolean;
41
46
  fixedVpnAddress?: string | null;
42
47
  geoLocation?: GeoLocation | null;
43
48
  lastSeenAgentUserAgent?: AgentUserAgent | null;
@@ -57,6 +62,8 @@ export interface Agent extends AgentLike {
57
62
  preferLocationOverGeoip?: boolean;
58
63
  pullCodeGeneratedOn?: string | null;
59
64
  rateLimiting?: AgentRateLimiting;
65
+ /** default: false */
66
+ rebootLocked?: boolean;
60
67
  registrationProfile?: AgentRegistrationProfileReference | null;
61
68
  replaceMacAddress?: string | null;
62
69
  replaceRegistration?: boolean;
@@ -70,7 +77,6 @@ export interface Agent extends AgentLike {
70
77
  vpnLocked?: boolean;
71
78
  /** default: false */
72
79
  webAccessLocked?: boolean;
73
- appliedTemplateVersion?: AgentTemplateVersion | null;
74
80
  }
75
81
  export interface AgentLike {
76
82
  card?: ResLink | null;
@@ -2,6 +2,7 @@ import type { AssetAppConfig } from './asset-app-config';
2
2
  import type { AssetLibraryVersion } from './asset-library-version';
3
3
  import type { AssetMembership } from './asset-membership';
4
4
  import type { AssetType } from './asset-type';
5
+ import type { Location } from './location';
5
6
  import type { PageLink } from './page-link';
6
7
  import type { ResLink } from './res-link';
7
8
  export interface Asset {
@@ -19,7 +20,9 @@ export interface Asset {
19
20
  hasChanges?: boolean;
20
21
  isLibraryAsset?: boolean;
21
22
  libraryAsset?: ResLink | null;
23
+ libraryRoot?: ResLink | null;
22
24
  libraryVersion?: AssetLibraryVersion | null;
25
+ location?: Location | null;
23
26
  memberships?: AssetMembership[];
24
27
  name?: string;
25
28
  order?: number;
@@ -29,6 +32,7 @@ export interface Asset {
29
32
  resourceVariant?: AssetType;
30
33
  root?: ResLink | null;
31
34
  slug?: string | null;
35
+ timeZone?: string | null;
32
36
  }
33
37
  export interface AssetInstanceCreate {
34
38
  libraryAsset: ResLink;
@@ -8,7 +8,7 @@ export interface ControlledDevice {
8
8
  publicId: string;
9
9
  }
10
10
  /** @check controlleddevice*/
11
- export type ControlledDeviceAgentReference = Pick<Agent, 'activeStatus' | 'activeVpnSession' | 'company' | 'config' | 'deviceId' | 'lastSeenAgentUserAgent' | 'macAddress' | 'mdrServer' | 'mqttChangedOn' | 'publicId' | 'serialNumber' | 'type' | 'vpnChangedOn' | 'vpnLocked' | 'webAccessLocked'>;
11
+ export type ControlledDeviceAgentReference = Pick<Agent, 'activeStatus' | 'activeVpnSession' | 'company' | 'config' | 'configPushLocked' | 'deviceId' | 'firmwareUpdateLocked' | 'lastSeenAgentUserAgent' | 'macAddress' | 'mdrServer' | 'mqttChangedOn' | 'publicId' | 'rebootLocked' | 'serialNumber' | 'type' | 'vpnChangedOn' | 'vpnLocked' | 'webAccessLocked'>;
12
12
  export interface ControlledDeviceCreate {
13
13
  controlKey: string;
14
14
  device: string;
@@ -4,6 +4,8 @@ export type McProtocolCpu = 'FX5U' | 'IQR' | 'L' | 'Q' | 'QNUCPU';
4
4
  export type McProtocolProtocol = 'TCP' | 'UDP';
5
5
  export type ModbusFormat = 'ABCD' | 'BADC' | 'CDAB' | 'DCBA';
6
6
  export type OpcUaAuthenticationType = 'anonymous' | 'username' | 'certificate';
7
+ export type OpcUaSecurityMode = 'sign' | 'signandencrypt';
8
+ export type OpcUaSecurityPolicy = 'basic256sha256' | 'aes128_sha256_rsaoaep' | 'aes256_sha256_rsapss';
7
9
  export interface DataProtocolAppliedBacnetIp {
8
10
  publicId: 'bacnet-ip';
9
11
  }
@@ -14,9 +16,9 @@ export interface DataProtocolAppliedCustom {
14
16
  export interface DataProtocolAppliedEthernetIp {
15
17
  cpu?: EthernetIpCpu | null;
16
18
  publicId: 'ethernet-ip';
17
- /** only used when cpu in compactlogix. default is 0 */
19
+ /** only used when cpu in compactlogix. default used in pull application is 0 */
18
20
  rack?: number | null;
19
- /** only used when cpu in compactlogix. default is 0 */
21
+ /** only used when cpu in compactlogix. default used in pull application is 0 */
20
22
  slot?: number | null;
21
23
  }
22
24
  export interface DataProtocolAppliedHost {
@@ -24,49 +26,55 @@ export interface DataProtocolAppliedHost {
24
26
  }
25
27
  export interface DataProtocolAppliedMcProtocol {
26
28
  authenticationType?: McProtocolAuthenticationType;
27
- /** default is "Q" */
29
+ /** default used in pull application is "Q" */
28
30
  cpu?: McProtocolCpu | null;
29
- /** default is 120 */
31
+ /** default used in pull application is 120 */
30
32
  maxBlocks?: number;
31
- /** default is 960 */
33
+ /** default used in pull application is 960 */
32
34
  maxPoints?: number;
33
- /** default is 0 */
35
+ /** default used in pull application is 0 */
34
36
  networkNo?: number;
35
37
  /** defualt is "" */
36
38
  password?: string;
37
- /** default is "FF" */
39
+ /** default used in pull application is "FF" */
38
40
  pcNo?: string;
39
- /** default is "TCP" */
41
+ /** default used in pull application is "TCP" */
40
42
  protocol?: McProtocolProtocol;
41
43
  publicId: 'mc-protocol';
42
- /** default is 500 */
44
+ /** default used in pull application is 500 */
43
45
  reconnectDelay?: number;
44
- /** default is "03FF" */
46
+ /** default used in pull application is "03FF" */
45
47
  requestDestIoNr?: string;
46
- /** default is 0 */
48
+ /** default used in pull application is 0 */
47
49
  requestDestModuleStatNr?: number;
48
50
  }
49
51
  export interface DataProtocolAppliedModbus {
50
- /** default is "CDAB" */
52
+ /** default used in pull application is "CDAB" */
51
53
  format?: ModbusFormat;
52
54
  publicId: 'modbus';
53
- /** default is 0 */
55
+ /** default used in pull application is 0 */
54
56
  slave?: number;
55
57
  readMode?: 'single_value' | 'consecutive_values' | 'gapped_values' | null;
56
58
  }
57
59
  export interface DataProtocolAppliedOpcUa {
58
60
  authenticationType?: OpcUaAuthenticationType;
59
- password?: string;
61
+ /** default used in pull application is "" */
62
+ password?: string | null;
60
63
  publicId: 'opc-ua';
61
- username?: string;
64
+ /** default used in pull application is "none" */
65
+ securityMode?: OpcUaSecurityMode | null;
66
+ /** default used in pull application is "basic256sha256" */
67
+ securityPolicy?: OpcUaSecurityPolicy | null;
68
+ /** default used in pull application is "" */
69
+ username?: string | null;
62
70
  }
63
71
  export interface DataProtocolAppliedSiemensStep7 {
64
- /** default is 0 */
72
+ /** default used in pull application is 0 */
65
73
  pdu?: number;
66
74
  publicId: 'siemens-step7';
67
- /** range is 0-7. default is 0 */
75
+ /** range is 0-7. default used in pull application is 0 */
68
76
  rack?: number | null;
69
- /** range is 0-31. default is 0 */
77
+ /** range is 0-31. default used in pull application is 0 */
70
78
  slot?: number | null;
71
79
  }
72
80
  export type DataProtocolAppliedUnion = DataProtocolAppliedBacnetIp | DataProtocolAppliedCustom | DataProtocolAppliedEthernetIp | DataProtocolAppliedHost | DataProtocolAppliedMcProtocol | DataProtocolAppliedModbus | DataProtocolAppliedOpcUa | DataProtocolAppliedSiemensStep7;
@@ -140,6 +140,9 @@ interface AssetResourceData {
140
140
  libraryVersion?: {
141
141
  publicId: string;
142
142
  } | null;
143
+ location?: {
144
+ name?: string | null;
145
+ } | null;
143
146
  memberships?: {
144
147
  group?: {
145
148
  publicId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.25.0",
3
+ "version": "1.26.0-next.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/component-devkit/src/types/src/index.d.ts",