@edgeiq/edgeiq-api-js 1.5.0 → 1.5.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.
- package/dist/rules/models.d.ts +2 -2
- package/package.json +1 -1
package/dist/rules/models.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Lwm2mRequest } from '../gatewayCommands/models';
|
|
2
2
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
3
|
-
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
|
+
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' | 'contains';
|
|
4
4
|
export declare type DeviceErrorType = 'system' | 'rule_action' | 'config' | 'aws_iot' | 'aws_greengrass_iot' | 'azure_iot' | 'bluemix_iot';
|
|
5
5
|
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';
|
|
6
6
|
export declare type RuleActionBodyType = 'html' | 'text';
|
|
@@ -84,7 +84,7 @@ export interface DerivedValue {
|
|
|
84
84
|
export interface RuleCondition {
|
|
85
85
|
type: RuleConditionType;
|
|
86
86
|
property?: string;
|
|
87
|
-
value?: string[];
|
|
87
|
+
value?: string[] | string | number;
|
|
88
88
|
value_type?: string;
|
|
89
89
|
rule_conditions?: (RuleCondition | undefined)[];
|
|
90
90
|
error_type?: DeviceErrorType;
|