@edgeiq/edgeiq-api-js 1.3.65 → 1.3.67

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.
@@ -13,6 +13,7 @@ export declare enum SenderType {
13
13
  }
14
14
  export interface CommandInput {
15
15
  name: string;
16
+ company_id: string;
16
17
  sender_type: SenderType;
17
18
  device_id?: string;
18
19
  sender?: {
@@ -91,6 +91,7 @@ export interface DeviceTypeInput {
91
91
  metadata?: {
92
92
  [key: string]: string;
93
93
  };
94
+ observable_paths?: string[];
94
95
  }
95
96
  export interface DeviceType extends DeviceTypeInput, Base {
96
97
  }
@@ -1,7 +1,7 @@
1
1
  import { Base, Filter, Filters, Pagination } from '../models';
2
2
  export declare type RuleConditionType = 'true' | 'false' | 'equal' | 'not_equal' | 'less_than' | 'less_than_equal' | 'greater_than' | 'greater_than_equal' | 'in' | 'not_in' | 'moving_average' | 'value_changed' | 'device_error' | 'status_changed' | 'heartbeat_status_changed' | 'device_location_transition' | 'and' | 'or';
3
3
  export declare type DeviceErrorType = 'system' | 'rule_action' | 'config' | 'aws_iot' | 'aws_greengrass_iot' | 'azure_iot' | 'bluemix_iot';
4
- export declare type RuleActionType = 'aws_iot' | 'aws_iot_publish' | 'azure_iot' | 'create_device_health_status_event' | 'create_device_location_observation' | 'disable_data_restriction' | 'email' | 'enable_data_restriction' | 'greengrass_restart' | 'http_request' | 'mqtt' | 'notification' | 'relay' | 'sms' | 'tcp' | 'update_device_metadata' | 'workflow';
4
+ export declare type RuleActionType = 'aws_iot' | 'aws_iot_publish' | 'azure_iot' | 'create_device_health_status_event' | 'create_device_location_observation' | 'disable_data_restriction' | 'email' | 'enable_data_restriction' | 'greengrass_restart' | 'http_request' | 'mqtt' | 'notification' | 'relay' | 'sms' | 'tcp' | 'update_device_metadata' | 'workflow' | 'gateway_command';
5
5
  export declare type RuleActionBodyType = 'html' | 'text';
6
6
  export declare type LocationVia = 'gps' | 'cell_tower' | 'bluetooth' | 'wifi' | 'other';
7
7
  export declare type GeneratedAtFormat = 'rfc3339' | 'unix_timestamp';
@@ -318,6 +318,7 @@ exports.TestDiscoveredDevice = {
318
318
  };
319
319
  exports.TestCommand = {
320
320
  name: 'Test Command',
321
+ company_id: parentCompanyId,
321
322
  sender_type: _1.SenderType.shell_sender,
322
323
  sender: {
323
324
  command: "echo 'testing'",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgeiq/edgeiq-api-js",
3
- "version": "1.3.65",
3
+ "version": "1.3.67",
4
4
  "author": "EdgeIQ",
5
5
  "license": "ISC",
6
6
  "description": "This project presents EdgeIQ API SDK.",