@edgeiq/edgeiq-api-js 1.9.5 → 1.9.7

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.
@@ -41,6 +41,7 @@ export interface Actions {
41
41
  log_upload: boolean;
42
42
  lwm2m_request: boolean;
43
43
  mqtt: boolean;
44
+ network_connectivity_monitoring: boolean;
44
45
  notification: boolean;
45
46
  opcua: boolean;
46
47
  provision_marmon_button: boolean;
@@ -67,11 +68,11 @@ export interface SMSATCommands {
67
68
  send_config_commands: string[];
68
69
  }
69
70
  export interface Capabilities {
70
- network_connections: NetworkConnection[];
71
- peripherals: Peripheral[];
71
+ actions: Actions;
72
72
  iptables: boolean;
73
+ network_connections: NetworkConnection[];
73
74
  firmware: Firmware;
74
- actions?: Actions;
75
+ peripherals: Peripheral[];
75
76
  sms_at_commands?: SMSATCommands;
76
77
  observable_paths?: string[];
77
78
  }
package/dist/models.d.ts CHANGED
@@ -11,8 +11,9 @@ export interface PaginationFilter {
11
11
  itemsPerPage: number;
12
12
  order_by?: string;
13
13
  }
14
+ export declare type FilterOperatorType = 'eq' | 'ne' | 'like' | 'notlike' | 'ilike' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'nin' | 'incany' | 'incall';
14
15
  export interface Filter {
15
- operator: 'eq' | 'ne' | 'like' | 'notlike' | 'ilike' | 'gt' | 'gte' | 'lt' | 'lte' | 'between' | 'in' | 'nin' | 'incany' | 'incall';
16
+ operator: FilterOperatorType;
16
17
  value: string | number | boolean | string[] | number[];
17
18
  key?: string;
18
19
  }
@@ -107,6 +107,54 @@ export const TestCompany = {
107
107
  export const TestCompany2 = Object.assign(Object.assign({}, TestCompany), { _id: 'edgeiq_api_js_test_account_2', name: 'API Test Account 2' });
108
108
  export const NewTestCompanyName = 'API Test Account updated';
109
109
  const deviceTypeCapabilities = {
110
+ actions: {
111
+ activate_cloud_native_device: false,
112
+ aws_iot: false,
113
+ azure_iot: false,
114
+ backup: false,
115
+ bacnet: false,
116
+ bluemix_iot: false,
117
+ data_reset: false,
118
+ data_restore: false,
119
+ deactivate_cloud_native_device: false,
120
+ deploy_deployment: true,
121
+ disable_data_restriction: false,
122
+ email: false,
123
+ enable_data_restriction: false,
124
+ file_transfer: false,
125
+ greengrass_initialize: false,
126
+ greengrass_redeploy: false,
127
+ greengrass_restart: false,
128
+ heartbeat: true,
129
+ http_request: false,
130
+ log: true,
131
+ log_config: true,
132
+ log_level: true,
133
+ log_upload: true,
134
+ lwm2m_request: false,
135
+ mqtt: false,
136
+ network_connectivity_monitoring: false,
137
+ notification: false,
138
+ opcua: false,
139
+ provision_marmon_button: false,
140
+ prtg: false,
141
+ reboot: true,
142
+ relay: true,
143
+ remote_terminal: false,
144
+ request_deployment_status: false,
145
+ reset: false,
146
+ restore_backup: false,
147
+ send_config: true,
148
+ sms: false,
149
+ sms_at_command_status_request: false,
150
+ software_update: true,
151
+ software_version: true,
152
+ status: false,
153
+ tcp: false,
154
+ tcp_modbus: false,
155
+ update_edge: true,
156
+ update_firmware: true,
157
+ },
110
158
  firmware: {
111
159
  backup: false,
112
160
  upgrade: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgeiq/edgeiq-api-js",
3
- "version": "1.9.5",
3
+ "version": "1.9.7",
4
4
  "author": "EdgeIQ",
5
5
  "license": "ISC",
6
6
  "description": "This project presents EdgeIQ API SDK.",