@edgeiq/edgeiq-api-js 1.6.7 → 1.6.9
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,5 +1,5 @@
|
|
|
1
1
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
2
|
-
export declare type GatewayCommandType = 'activate_cloud_native_device' | 'backup' | 'data_restriction' | 'deactivate_cloud_native_device' | 'disable_data_restriction' | 'enable_data_restriction' | 'greengrass_initialize' | 'awsiot_attach_thing_groups' | 'awsiot_detach_thing_groups' | 'cancel_password_change' | 'file_from_device' | 'file_to_device' | 'heartbeat' | 'log_level' | 'log_upload' | 'lwm2m_request' | 'lwm2m_file' | 'restore_backup' | 'reboot' | 'reset' | 'send_config' | 'setting' | 'software_update' | 'status';
|
|
2
|
+
export declare type GatewayCommandType = 'activate_cloud_native_device' | 'backup' | 'data_restriction' | 'deactivate_cloud_native_device' | 'disable_data_restriction' | 'enable_data_restriction' | 'greengrass_initialize' | 'awsiot_attach_thing_groups' | 'awsiot_detach_thing_groups' | 'cancel_password_change' | 'file_from_device' | 'file_to_device' | 'heartbeat' | 'log_level' | 'log_upload' | 'lwm2m_request' | 'lwm2m_file' | 'restore_backup' | 'reboot' | 'reset' | 'send_config' | 'setting' | 'setting_fetch' | 'software_update' | 'status';
|
|
3
3
|
export declare type CommandType = 'download' | 'fileupload' | 'filedownload' | 'execute' | 'observe' | 'observe_stop' | 'read' | 'upload' | 'write';
|
|
4
4
|
export interface CommandSchedule {
|
|
5
5
|
start_datetime: string;
|
|
@@ -27,6 +27,7 @@ export interface GatewayCommandRequest {
|
|
|
27
27
|
type?: CommandType;
|
|
28
28
|
filepath?: string;
|
|
29
29
|
file_id?: string;
|
|
30
|
+
configuration_id?: string;
|
|
30
31
|
}
|
|
31
32
|
export interface Lwm2mRequest extends GatewayCommandRequest {
|
|
32
33
|
type: CommandType;
|
|
@@ -5,10 +5,10 @@ export interface ScheduledJobInput {
|
|
|
5
5
|
job_type: string;
|
|
6
6
|
details: {
|
|
7
7
|
command_options?: {
|
|
8
|
-
[key: string]:
|
|
8
|
+
[key: string]: unknown;
|
|
9
9
|
};
|
|
10
10
|
workflow_options?: {
|
|
11
|
-
[key: string]:
|
|
11
|
+
[key: string]: unknown;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
enabled: boolean;
|
|
@@ -57,7 +57,7 @@ var SettingApplicationRecords = {
|
|
|
57
57
|
case 1:
|
|
58
58
|
result = _e.sent();
|
|
59
59
|
return [2, {
|
|
60
|
-
|
|
60
|
+
settingsApplicationRecords: (_a = result === null || result === void 0 ? void 0 : result.data) === null || _a === void 0 ? void 0 : _a.resources,
|
|
61
61
|
pagination: {
|
|
62
62
|
page: (_b = result === null || result === void 0 ? void 0 : result.data) === null || _b === void 0 ? void 0 : _b.page,
|
|
63
63
|
itemsPerPage: (_c = result === null || result === void 0 ? void 0 : result.data) === null || _c === void 0 ? void 0 : _c.per_page,
|
|
@@ -6,7 +6,7 @@ import { Device } from '../devices/models';
|
|
|
6
6
|
import { Setting } from '../settings/models';
|
|
7
7
|
export declare type SettingsApplicationRecordType = 'sent' | 'reported';
|
|
8
8
|
export interface SettingsApplicationRecord extends Base {
|
|
9
|
-
|
|
9
|
+
setting_id: string;
|
|
10
10
|
gateway_command_id: string;
|
|
11
11
|
configuration_id: string;
|
|
12
12
|
configuration: Configuration;
|
|
@@ -27,6 +27,6 @@ export interface SettingsApplicationRecordFilters extends Filters {
|
|
|
27
27
|
type?: Filter;
|
|
28
28
|
}
|
|
29
29
|
export interface PaginatedSettingsApplicationRecord {
|
|
30
|
-
|
|
30
|
+
settingsApplicationRecords: SettingsApplicationRecord[];
|
|
31
31
|
pagination: Pagination;
|
|
32
32
|
}
|