@edgeiq/edgeiq-api-js 1.13.8 → 1.13.10
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/bulkResponses/models.d.ts +2 -2
- package/dist/commandExecutions/index.d.ts +2 -2
- package/dist/commands/models.d.ts +2 -2
- package/dist/companies/models.d.ts +10 -0
- package/dist/deviceConfigs/models.d.ts +6 -6
- package/dist/deviceEvents/models.d.ts +1 -1
- package/dist/deviceLocationObservations/index.d.ts +1 -1
- package/dist/deviceLocationObservations/models.d.ts +1 -1
- package/dist/deviceTypes/models.d.ts +2 -2
- package/dist/devices/models.d.ts +4 -4
- package/dist/filtersParser.d.ts +2 -2
- package/dist/fleets/models.d.ts +6 -6
- package/dist/gatewayCommands/models.d.ts +2 -2
- package/dist/ingestors/models.d.ts +3 -3
- package/dist/integrations/models.d.ts +5 -3
- package/dist/lwm2m/index.d.ts +1 -1
- package/dist/models/index.d.ts +40 -40
- package/dist/models.d.ts +2 -2
- package/dist/networkInterfaceReports/index.d.ts +3 -3
- package/dist/pollableAttributes/models.d.ts +2 -2
- package/dist/regions/index.d.ts +1 -1
- package/dist/retryOptions/models.d.ts +1 -1
- package/dist/rules/models.d.ts +11 -11
- package/dist/settingsApplicationRecord/index.d.ts +1 -1
- package/dist/settingsApplicationRecord/models.d.ts +1 -1
- package/dist/softwareUpdates/models.d.ts +1 -1
- package/dist/softwareVersions/index.d.ts +1 -1
- package/dist/softwareVersions/models.d.ts +1 -1
- package/dist/stats/index.d.ts +4 -4
- package/dist/systemCommandJobs/index.d.ts +1 -1
- package/dist/systemCommandJobs/models.d.ts +1 -1
- package/dist/systemCommands/models.d.ts +1 -1
- package/dist/testConstants.js +5 -4
- package/dist/testConstants.js.map +1 -1
- package/dist/timeseries/models.d.ts +2 -2
- package/dist/translators/models.d.ts +1 -1
- package/dist/userEvents/index.d.ts +1 -1
- package/dist/userEvents/models.d.ts +1 -1
- package/dist/userTypes/models.d.ts +1 -1
- package/dist/workflowDefinitions/index.d.ts +1 -1
- package/dist/workflowExecutions/index.d.ts +1 -1
- package/dist/workflows/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type BulkResponseStatusType = 'success' | 'fail';
|
|
3
|
+
export type BulkResponseMainStatusType = 'created' | 'started' | 'aborted' | 'finished';
|
|
4
4
|
export interface BulkSingleResponse {
|
|
5
5
|
status?: number;
|
|
6
6
|
id?: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PaginationFilter } from '../models';
|
|
2
2
|
import { CommandExecutionsFilters, CommandExecutionStatusFilters, PaginatedCommandExecutions, PaginatedCommandExecutionStatuses } from './models';
|
|
3
3
|
declare const CommandExecutions: {
|
|
4
|
-
list(filters?: CommandExecutionsFilters
|
|
5
|
-
listCommandExecutionStatuses(exectionId: string, filters?: CommandExecutionStatusFilters
|
|
4
|
+
list(filters?: CommandExecutionsFilters, pagination?: PaginationFilter): Promise<PaginatedCommandExecutions>;
|
|
5
|
+
listCommandExecutionStatuses(exectionId: string, filters?: CommandExecutionStatusFilters, pagination?: PaginationFilter): Promise<PaginatedCommandExecutionStatuses>;
|
|
6
6
|
getCommandExecutionsOutput(id: string): Promise<string>;
|
|
7
7
|
};
|
|
8
8
|
export { CommandExecutions };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type SenderType = 'bacnet_sender' | 'dev_sender' | 'gcp_pubsub_sender' | 'http_sender' | 'modbus_sender' | 'opcua_sender' | 'plugin_sender' | 'rest_fwd_sender' | 'shell_sender' | 'tcp_sender' | 'workflow_sender';
|
|
3
|
+
export type CommandSenderItem = boolean | number | string | {
|
|
4
4
|
[key: string]: string | number;
|
|
5
5
|
};
|
|
6
6
|
export interface CommandSender {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
2
|
+
export type AccountType = 'other' | 'mno' | 'mno_customer';
|
|
3
|
+
export type CustomerTier = 1 | 2 | 3;
|
|
4
|
+
export type CommitmentDuration = 12 | 24 | 36;
|
|
2
5
|
export interface Branding {
|
|
3
6
|
logo_url: string;
|
|
4
7
|
icon_url: string;
|
|
@@ -73,6 +76,7 @@ export interface UIConfiguration {
|
|
|
73
76
|
}
|
|
74
77
|
export interface UINavigationVisibility {
|
|
75
78
|
automation_hidden: boolean;
|
|
79
|
+
billing_hidden: boolean;
|
|
76
80
|
configuration_hidden: boolean;
|
|
77
81
|
dashboard_hidden: boolean;
|
|
78
82
|
data_management_hidden: boolean;
|
|
@@ -106,6 +110,11 @@ export interface CompanyInput {
|
|
|
106
110
|
inherited_command_ids?: string[];
|
|
107
111
|
device_tags?: string[];
|
|
108
112
|
custom_certificate_domain?: string;
|
|
113
|
+
account_type?: AccountType;
|
|
114
|
+
customer_tier?: CustomerTier;
|
|
115
|
+
commitment_duration?: CommitmentDuration;
|
|
116
|
+
data_retention_period?: number;
|
|
117
|
+
cmp_integration_status?: string;
|
|
109
118
|
}
|
|
110
119
|
export interface Company extends CompanyInput, Base {
|
|
111
120
|
}
|
|
@@ -113,6 +122,7 @@ export interface CompaniesFilters extends Filters {
|
|
|
113
122
|
name?: Filter;
|
|
114
123
|
website?: Filter;
|
|
115
124
|
search?: Filter;
|
|
125
|
+
account_type?: Filter;
|
|
116
126
|
}
|
|
117
127
|
export interface PaginatedCompanies {
|
|
118
128
|
companies: Company[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
2
|
+
export type ConnectionType = 'cellular' | 'ethernet_lan' | 'ethernet_wan' | 'ethernet_wan_lan' | 'wifi';
|
|
3
|
+
export type ModemPreferredNetworkType = '2G' | '3G' | '5G' | 'LTE' | 'AUTO';
|
|
4
|
+
export type ApnAuthType = 'none' | 'PAP' | 'CHAP' | 'PAP_CHAP';
|
|
5
|
+
export type ApnType = 'default' | 'MMS' | 'SUPL' | 'HIPRI' | 'FOTA' | 'CBS' | 'XCAP';
|
|
6
|
+
export type ApnProtocol = 'IPv4' | 'IPv6' | 'IPv4_IPv6';
|
|
7
|
+
export type ApnBearer = 'unspecified' | 'LTE' | 'HSPAP' | 'HSPA' | 'HSUPA' | 'UMTS' | 'EDGE' | 'GPRS' | 'eHRPD' | 'EVDO_B' | 'EVDO_A' | 'EVDO_0' | '1xRTT' | 'IS95A' | 'IS95B' | 'NR';
|
|
8
8
|
export interface CellularAPNConfig {
|
|
9
9
|
cell_apn_default?: boolean;
|
|
10
10
|
cell_apn_name?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DeviceClass } from '../devices/models';
|
|
2
2
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
3
|
-
export
|
|
3
|
+
export type DeviceEventType = 'create' | 'connect' | 'delete' | 'disconnect' | 'heartbeat_status_change' | 'password_change_successful' | 'register' | 'touch' | 'update_edge_version';
|
|
4
4
|
export interface DeviceEvent extends Base {
|
|
5
5
|
device_class: DeviceClass;
|
|
6
6
|
device_event_type: DeviceEventType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseModelInterface } from '../core/ModelClass';
|
|
2
2
|
import { DeviceLocationObservation, DeviceLocationObservationInput, DeviceLocationObservationsFilters, PaginatedDeviceLocationObservations } from './models';
|
|
3
|
-
|
|
3
|
+
type DeviceLocationObservationsInterface = BaseModelInterface<DeviceLocationObservation, DeviceLocationObservationInput, DeviceLocationObservationsFilters, PaginatedDeviceLocationObservations>;
|
|
4
4
|
export declare const DeviceLocationObservations: DeviceLocationObservationsInterface;
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Base, Filter, Filters, GeoJsonFeature, Pagination } from '../models';
|
|
2
|
-
export
|
|
2
|
+
export type DeviceLocationObservationVia = 'api' | 'gps' | 'cell_tower' | 'bluetooth' | 'wifi' | 'other' | 'unknown';
|
|
3
3
|
export interface DeviceLocationObservationInput {
|
|
4
4
|
company_id?: string;
|
|
5
5
|
device_id?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AwsThingGroup } from '../models';
|
|
2
2
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type TypeDeviceType = 'gateway' | 'sensor' | 'cloud_native' | 'modem' | 'lwm2m';
|
|
4
|
+
export type DeviceTypeRole = 'gateway' | 'endpoint';
|
|
5
5
|
export interface Peripheral {
|
|
6
6
|
type: string;
|
|
7
7
|
device: string;
|
package/dist/devices/models.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ import { Heartbeat } from '../reports/models';
|
|
|
6
6
|
import { CommandExecution } from '../commandExecutions/models';
|
|
7
7
|
import { GatewayCommand } from '../gatewayCommands/models';
|
|
8
8
|
import { WorkflowExecution } from '../workflowExecutions/models';
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
9
|
+
export type DeviceClass = 'discovered' | 'escrow' | 'standard';
|
|
10
|
+
export type DeviceActivityType = 'heartbeat' | 'device_event' | 'device_error' | 'health_status' | 'report' | 'command_execution' | 'gateway_command' | 'software_update' | 'workflow_execution';
|
|
11
|
+
export type BoundingBox = {
|
|
12
12
|
topLeft: string;
|
|
13
13
|
bottomRight: string;
|
|
14
14
|
};
|
|
@@ -205,7 +205,7 @@ export interface PaginatedDeviceActivities {
|
|
|
205
205
|
activities: DeviceActivity[];
|
|
206
206
|
pagination: Pagination;
|
|
207
207
|
}
|
|
208
|
-
export
|
|
208
|
+
export type DeviceHealthStatus = 'normal' | 'needs_attention' | 'critical';
|
|
209
209
|
export interface DeviceHealthStatusEventInput {
|
|
210
210
|
device_id: string;
|
|
211
211
|
status: DeviceHealthStatus;
|
package/dist/filtersParser.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BulkResponsesFilters, CommandExecutionsFilters, CommandsFilters, CompaniesFilters, ConfigurationsFilters, DeviceConfigsFilters, DeviceErrorsFilters, DeviceLocationObservationsFilters, DeviceHealthStatusEventsFilters, DevicesFilters, DeviceTemplatesFilters, DeviceTransferRequestsFilters, DeviceTypesFilters, DiscoveredDevicesFilters, DownstreamSystemsFilters, EscrowDevicesFilters, FilesFilters, GatewayCommandsFilters, IngestorsFilters, IntegrationsFilters, Lwm2mStatesFilters, NotificationsFilters, PollableAttributesFilters, RegionsFilters, ReportsFilters, RulesFilters, ScheduledJobsFilters, SecretsFilters, SettingFilters, SettingsApplicationRecordFilters, SoftwareUpdatesFilters, SystemCommandJobsFilters, SystemCommandsFilters, TimeseriesFilters, TranslatorsFilters, UsersFilters, UserTypesFilters } from '.';
|
|
2
2
|
import { PaginationFilter } from './models';
|
|
3
|
-
|
|
4
|
-
export declare const parseFilters: (filters?: FiltersType
|
|
3
|
+
type FiltersType = BulkResponsesFilters | CommandExecutionsFilters | CommandsFilters | CompaniesFilters | ConfigurationsFilters | DeviceConfigsFilters | DeviceErrorsFilters | DeviceLocationObservationsFilters | DeviceHealthStatusEventsFilters | DevicesFilters | DeviceTemplatesFilters | DeviceTransferRequestsFilters | DeviceTypesFilters | DiscoveredDevicesFilters | DownstreamSystemsFilters | EscrowDevicesFilters | FilesFilters | GatewayCommandsFilters | IngestorsFilters | IntegrationsFilters | Lwm2mStatesFilters | NotificationsFilters | PollableAttributesFilters | RegionsFilters | ReportsFilters | RulesFilters | ScheduledJobsFilters | SecretsFilters | SettingFilters | SettingsApplicationRecordFilters | SoftwareUpdatesFilters | SystemCommandJobsFilters | SystemCommandsFilters | TimeseriesFilters | TranslatorsFilters | UsersFilters | UserTypesFilters;
|
|
4
|
+
export declare const parseFilters: (filters?: FiltersType, pagination?: PaginationFilter, noPagination?: boolean) => Record<string, unknown>;
|
|
5
5
|
export {};
|
package/dist/fleets/models.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type FleetType = 'static' | 'dynamic';
|
|
3
|
+
export type FleetFilterCriteria = Record<string, Filter>;
|
|
4
4
|
export interface BackendFilter {
|
|
5
5
|
Token: string;
|
|
6
6
|
Operator: string;
|
|
7
7
|
Value?: unknown;
|
|
8
8
|
Values?: unknown[];
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type FleetEventType = 'action_executed' | 'fleet_created' | 'fleet_updated' | 'fleet_deleted' | 'device_joined' | 'device_left' | 'devices_changed' | 'command_executed' | 'rule_added' | 'rule_removed';
|
|
11
11
|
export interface FleetDeviceInfo {
|
|
12
12
|
id: string;
|
|
13
13
|
name?: string;
|
|
@@ -87,7 +87,7 @@ export interface FleetActionEventData {
|
|
|
87
87
|
setting_version?: number;
|
|
88
88
|
send_command_id?: string;
|
|
89
89
|
}
|
|
90
|
-
export
|
|
90
|
+
export type FleetActionType = 'issue_command' | 'add_tags' | 'add_metadata' | 'configuration' | 'update_heartbeat' | 'send_configuration';
|
|
91
91
|
export interface FleetActionRequest {
|
|
92
92
|
action_type: FleetActionType;
|
|
93
93
|
command_id?: string;
|
|
@@ -130,12 +130,12 @@ export interface PaginatedFleetEvents {
|
|
|
130
130
|
fleet_events: FleetEvent[];
|
|
131
131
|
pagination: Pagination;
|
|
132
132
|
}
|
|
133
|
-
export
|
|
133
|
+
export type FleetExportFormat = 'csv' | 'json';
|
|
134
134
|
export interface FleetExportOptions {
|
|
135
135
|
format?: FleetExportFormat;
|
|
136
136
|
fields?: string[];
|
|
137
137
|
}
|
|
138
|
-
export
|
|
138
|
+
export type FleetAvailableCommandType = 'gateway' | 'user_defined';
|
|
139
139
|
export interface FleetAvailableCommand {
|
|
140
140
|
type: FleetAvailableCommandType;
|
|
141
141
|
action?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
2
2
|
import { RetryOptions } from '../retryOptions/models';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export 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' | 'network_connectivity_info' | 'network_connectivity_latency_test' | 'network_connectivity_performance_test' | 'restore_backup' | 'reboot' | 'reset' | 'send_config' | 'setting' | 'setting_fetch' | 'software_update' | 'software_version' | 'status';
|
|
4
|
+
export type CommandType = 'download' | 'fileupload' | 'filedownload' | 'execute' | 'observe' | 'observe_stop' | 'read' | 'upload' | 'write';
|
|
5
5
|
export interface CommandSchedule {
|
|
6
6
|
start_datetime: string;
|
|
7
7
|
end_datetime: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type ListenerType = 'shell_polling' | 'icmp_polling' | 'snmp_polling' | 'tcp_server' | 'tcp_client' | 'udp_server' | 'udp_client' | 'http_server' | 'http_client' | 'dev' | 'tcp_modbus' | 'opcua' | 'bacnet' | 'dbus_signal' | 'cloud' | 'cloud_polling_inmarsat' | 'cloud_polling_inmarsat_oauth' | 'cloud_polling_orbcomm' | 'cloud_gcp_pubsub_jci' | 'cloud_polling_assetlink';
|
|
3
|
+
export type IngestorType = 'edge' | 'cloud';
|
|
4
|
+
export type HandlerType = 'fixed' | 'delimited' | 'router' | 'dbus' | 'passthrough';
|
|
5
5
|
export interface ListenerParam {
|
|
6
6
|
address?: string;
|
|
7
7
|
request_type?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type IntegrationType = 'aws_device_integrations' | 'azure_device_integrations' | 'gcp_cloud_native_device_integrations' | 'gs_cloud_native_device_integrations' | 'inmarsat_cloud_native_device_integrations' | 'inmarsat_oauth_cloud_native_device_integrations' | 'orbcomm_cloud_native_device_integrations' | 'postmark_rule_action_integrations' | 'smtp_rule_action_integrations' | 'twilio_rule_action_integrations' | 'generic_username_password_integrations' | 'generic_token_integrations' | 'anthropic_integrations' | 'openai_integrations' | 'cmp_token';
|
|
3
|
+
export type GreengrassVersion = '' | 'v1' | 'v2';
|
|
4
4
|
export interface IntegrationInput {
|
|
5
5
|
name: string;
|
|
6
6
|
company_id: string;
|
|
@@ -51,6 +51,8 @@ export interface IntegrationInput {
|
|
|
51
51
|
gcp_project_id?: string;
|
|
52
52
|
gcp_service_account_key_secret_id?: string;
|
|
53
53
|
base_url?: string;
|
|
54
|
+
cmp_provider?: string;
|
|
55
|
+
cmp_account_id?: string;
|
|
54
56
|
}
|
|
55
57
|
export interface Integration extends IntegrationInput, Base {
|
|
56
58
|
readable_type?: string;
|
|
@@ -64,7 +66,7 @@ export interface PaginatedIntegrations {
|
|
|
64
66
|
integrations: Integration[];
|
|
65
67
|
pagination: Pagination;
|
|
66
68
|
}
|
|
67
|
-
export
|
|
69
|
+
export type IntegrationEventType = 'info' | 'error';
|
|
68
70
|
export interface IntegrationEvent extends Base {
|
|
69
71
|
type: IntegrationEventType;
|
|
70
72
|
message: string;
|
package/dist/lwm2m/index.d.ts
CHANGED
package/dist/models/index.d.ts
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
40
|
-
export
|
|
1
|
+
export type AbilityType = string;
|
|
2
|
+
export type ActionType = string;
|
|
3
|
+
export type AppConfigType = string;
|
|
4
|
+
export type BodyType = string;
|
|
5
|
+
export type BulkRequestType = string;
|
|
6
|
+
export type BulkResponseStatusType = string;
|
|
7
|
+
export type DeviceClass = string;
|
|
8
|
+
export type DeviceEventType = string;
|
|
9
|
+
export type DeviceErrorType = string;
|
|
10
|
+
export type DeviceIntegrationActionType = string;
|
|
11
|
+
export type DType = string;
|
|
12
|
+
export type GatewayCommandType = string;
|
|
13
|
+
export type GeometryType = string;
|
|
14
|
+
export type HandlerType = string;
|
|
15
|
+
export type HealthProbeType = string;
|
|
16
|
+
export type HeartbeatStatusType = string;
|
|
17
|
+
export type IDType = string;
|
|
18
|
+
export type IngestorType = string;
|
|
19
|
+
export type IntegrationArchetype = string;
|
|
20
|
+
export type IntegrationType = string;
|
|
21
|
+
export type ListenerType = string;
|
|
22
|
+
export type LocationTransitionDirectionType = string;
|
|
23
|
+
export type ModelType = string;
|
|
24
|
+
export type OriginType = string;
|
|
25
|
+
export type ProvisionStatusType = string;
|
|
26
|
+
export type RestartPolicyTriggerType = string;
|
|
27
|
+
export type ReportType = string;
|
|
28
|
+
export type RuleConditionType = string;
|
|
29
|
+
export type SenderType = string;
|
|
30
|
+
export type SystemCommandJobStatusType = string;
|
|
31
|
+
export type TranslatorType = string;
|
|
32
|
+
export type UpstreamActionType = string;
|
|
33
|
+
export type ValueType = string;
|
|
34
|
+
export type BulkStatus = string;
|
|
35
|
+
export type DeviceHealthStatus = string;
|
|
36
|
+
export type DeviceLocationObservationVia = string;
|
|
37
|
+
export type DeviceTransferRequestStatus = string;
|
|
38
|
+
export type LogLevel = string;
|
|
39
|
+
export type RetryInterval = string;
|
|
40
|
+
export type Status = number;
|
|
41
41
|
export interface Lwm2mStateObject {
|
|
42
42
|
[index: string]: unknown;
|
|
43
43
|
}
|
package/dist/models.d.ts
CHANGED
|
@@ -11,13 +11,13 @@ export interface PaginationFilter {
|
|
|
11
11
|
itemsPerPage: number;
|
|
12
12
|
order_by?: string;
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export type FilterOperatorType = 'eq' | 'ne' | 'like' | 'notlike' | 'ilike' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'nin' | 'incany' | 'incall';
|
|
15
15
|
export interface Filter {
|
|
16
16
|
operator: FilterOperatorType;
|
|
17
17
|
value: string | number | boolean | string[] | number[];
|
|
18
18
|
key?: string;
|
|
19
19
|
}
|
|
20
|
-
export
|
|
20
|
+
export type ExecutionStatus = 'initiated' | 'info' | 'success' | 'error';
|
|
21
21
|
export interface Filters {
|
|
22
22
|
_id?: Filter;
|
|
23
23
|
company_id?: Filter;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { NetworkInterfaceSummary, NetworkInterfaceInfo, NetworkInterfaceLatencyReport, NetworkInterfacePerformanceReport, NetworkInterfaceReport } from './models';
|
|
2
2
|
declare const NetworkInterfaceReports: {
|
|
3
3
|
getDeviceNetworkInterfaceReport: (id: string) => Promise<NetworkInterfaceReport>;
|
|
4
|
-
getDeviceNetworkInterfaceInfo: (device_id: string, interface_name?: string
|
|
5
|
-
getDeviceNetworkInterfaceLatency: (device_id: string, interface_name?: string
|
|
6
|
-
getDeviceNetworkInterfacePerformance: (device_id: string, interface_name?: string
|
|
4
|
+
getDeviceNetworkInterfaceInfo: (device_id: string, interface_name?: string) => Promise<NetworkInterfaceInfo>;
|
|
5
|
+
getDeviceNetworkInterfaceLatency: (device_id: string, interface_name?: string) => Promise<NetworkInterfaceLatencyReport>;
|
|
6
|
+
getDeviceNetworkInterfacePerformance: (device_id: string, interface_name?: string) => Promise<NetworkInterfacePerformanceReport>;
|
|
7
7
|
getDeviceNetworkConnectivity: (device_id: string) => Promise<{
|
|
8
8
|
[key: string]: NetworkInterfaceSummary;
|
|
9
9
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type PollableAttributeType = 'snmp_mib';
|
|
3
|
+
export type PollableAttributeDataType = 'snmp_mib_integer' | 'snmp_mib_octet_string';
|
|
4
4
|
export interface Attribute {
|
|
5
5
|
name: string;
|
|
6
6
|
value: string;
|
package/dist/regions/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseModelInterface } from '../core/ModelClass';
|
|
2
2
|
import { Region, RegionInput, RegionsFilters, PaginatedRegions } from './models';
|
|
3
|
-
|
|
3
|
+
type RegionsInterface = BaseModelInterface<Region, RegionInput, RegionsFilters, PaginatedRegions>;
|
|
4
4
|
export declare const Regions: RegionsInterface;
|
|
5
5
|
export {};
|
package/dist/rules/models.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Lwm2mRequest } from '../gatewayCommands/models';
|
|
2
2
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
3
|
+
export 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' | 'device_created' | 'device_deleted' | 'device_joined_fleet' | 'device_left_fleet' | 'devices_changed' | 'fleet_created' | 'fleet_updated' | 'fleet_deleted' | 'fleet_action_triggered' | 'fleet_action_completed';
|
|
4
|
+
export type FleetActionStatus = 'success' | 'partial' | 'failed';
|
|
5
|
+
export type DeviceErrorType = 'system' | 'rule_action' | 'config' | 'aws_iot' | 'aws_greengrass_iot' | 'azure_iot' | 'bluemix_iot';
|
|
6
|
+
export 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';
|
|
7
|
+
export type RuleActionBodyType = 'html' | 'text';
|
|
8
|
+
export type LocationVia = 'gps' | 'cell_tower' | 'bluetooth' | 'wifi' | 'other';
|
|
9
|
+
export type GeneratedAtFormat = 'rfc3339' | 'unix_timestamp';
|
|
10
|
+
export type LocationTransitionDirectionType = 'arriving' | 'leaving';
|
|
11
|
+
export type DerivedValuesTypes = 'count' | 'min' | 'max' | 'avg' | 'sum' | 'convert_indexed_keys';
|
|
12
|
+
export type WhereConditionTypes = 'where' | 'or_where';
|
|
13
|
+
export type WhereConditionOperators = 'equal' | 'not_equal' | 'greater_than' | 'greater_than_equal' | 'less_than' | 'less_than_equal' | 'in' | 'not_in' | 'starts_with' | 'ends_with' | 'contains' | 'strict_contains' | 'length_equals' | 'length_not_equals' | 'length_greater_than' | 'length_greater_than_equal' | 'length_less_than' | 'length_less_than_equal';
|
|
14
14
|
export interface CredentialData {
|
|
15
15
|
type?: string;
|
|
16
16
|
value: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PaginationFilter } from '../models';
|
|
2
2
|
import { SettingsApplicationRecordFilters, PaginatedSettingsApplicationRecord } from './models';
|
|
3
3
|
declare const SettingApplicationRecords: {
|
|
4
|
-
list(filters?: SettingsApplicationRecordFilters
|
|
4
|
+
list(filters?: SettingsApplicationRecordFilters, pagination?: PaginationFilter): Promise<PaginatedSettingsApplicationRecord>;
|
|
5
5
|
};
|
|
6
6
|
export { SettingApplicationRecords };
|
|
@@ -4,7 +4,7 @@ import { Command } from '../commands/models';
|
|
|
4
4
|
import { CommandExecution } from '../commandExecutions/models';
|
|
5
5
|
import { Device } from '../devices/models';
|
|
6
6
|
import { Setting } from '../settings/models';
|
|
7
|
-
export
|
|
7
|
+
export type SettingsApplicationRecordType = 'sent' | 'reported';
|
|
8
8
|
export interface SettingsApplicationRecord extends Base {
|
|
9
9
|
setting_id: string;
|
|
10
10
|
gateway_command_id: string;
|
|
@@ -24,7 +24,7 @@ export interface PaginatedSoftwareUpdates {
|
|
|
24
24
|
softwareUpdates: SoftwareUpdate[];
|
|
25
25
|
pagination: Pagination;
|
|
26
26
|
}
|
|
27
|
-
export
|
|
27
|
+
export type IssueSoftwareUpdateCommandType = 'software_update';
|
|
28
28
|
export interface IssueSoftwareUpdateInput {
|
|
29
29
|
ids: Array<string>;
|
|
30
30
|
software_update_id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PaginationFilter } from '..';
|
|
2
2
|
import { PaginatedSoftwareVersions, SoftwareVersion, SoftwareVersionsFilters } from './models';
|
|
3
3
|
declare const SoftwareVersions: {
|
|
4
|
-
list: (filters?: SoftwareVersionsFilters
|
|
4
|
+
list: (filters?: SoftwareVersionsFilters, pagination?: PaginationFilter) => Promise<PaginatedSoftwareVersions>;
|
|
5
5
|
listDistinctVersions: () => Promise<SoftwareVersion[]>;
|
|
6
6
|
};
|
|
7
7
|
export { SoftwareVersions };
|
package/dist/stats/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { DevicesFilters } from '..';
|
|
2
2
|
import { CumulativeCellUsage, DevicesCountByHeartbeat, DevicesCountByType, NormalizedHeartbeatStats } from './models';
|
|
3
3
|
declare const Stats: {
|
|
4
|
-
devicesByHeartbeat: (filters?: DevicesFilters
|
|
5
|
-
normalizedDevicesByHeartbeat: (filters?: DevicesFilters
|
|
6
|
-
discoveredDevicesByHeartbeat: (filters?: DevicesFilters
|
|
7
|
-
devicesByType: (filters?: DevicesFilters
|
|
4
|
+
devicesByHeartbeat: (filters?: DevicesFilters) => Promise<DevicesCountByHeartbeat>;
|
|
5
|
+
normalizedDevicesByHeartbeat: (filters?: DevicesFilters) => Promise<NormalizedHeartbeatStats>;
|
|
6
|
+
discoveredDevicesByHeartbeat: (filters?: DevicesFilters) => Promise<DevicesCountByHeartbeat>;
|
|
7
|
+
devicesByType: (filters?: DevicesFilters) => Promise<DevicesCountByType>;
|
|
8
8
|
cellUsage: () => Promise<CumulativeCellUsage>;
|
|
9
9
|
};
|
|
10
10
|
export { Stats };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseModelInterface } from '../core/ModelClass';
|
|
2
2
|
import { SystemCommandJob, SystemCommandJobInput, SystemCommandJobsFilters, PaginatedSystemCommandJobs } from './models';
|
|
3
|
-
|
|
3
|
+
type SystemCommandJobsInterface = BaseModelInterface<SystemCommandJob, SystemCommandJobInput, SystemCommandJobsFilters, PaginatedSystemCommandJobs>;
|
|
4
4
|
export declare const SystemCommandJobs: SystemCommandJobsInterface;
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
2
|
-
export
|
|
2
|
+
export type SystemCommandJobStatusType = 'sent' | 'complete' | 'timeout';
|
|
3
3
|
export interface SystemCommandJobInput {
|
|
4
4
|
status: SystemCommandJobStatusType;
|
|
5
5
|
template_variables: {
|
package/dist/testConstants.js
CHANGED
|
@@ -70,15 +70,16 @@ const portaleConfig = {
|
|
|
70
70
|
};
|
|
71
71
|
const uiConfiguration = {
|
|
72
72
|
navigation_visibility: {
|
|
73
|
+
automation_hidden: false,
|
|
74
|
+
billing_hidden: false,
|
|
75
|
+
configuration_hidden: false,
|
|
73
76
|
dashboard_hidden: false,
|
|
77
|
+
data_management_hidden: false,
|
|
74
78
|
devices_hidden: false,
|
|
75
|
-
configuration_hidden: false,
|
|
76
|
-
software_hidden: false,
|
|
77
79
|
integrations_hidden: false,
|
|
78
|
-
data_management_hidden: false,
|
|
79
|
-
automation_hidden: false,
|
|
80
80
|
messages_hidden: false,
|
|
81
81
|
scheduled_jobs_hidden: false,
|
|
82
|
+
software_hidden: false,
|
|
82
83
|
workflows_hidden: false,
|
|
83
84
|
},
|
|
84
85
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testConstants.js","sourceRoot":"","sources":["../src/testConstants.ts"],"names":[],"mappings":"AAmCA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,GAAG,EAAE,8CAA8C;CACpD,CAAC;AAGF,MAAM,eAAe,GAAG,eAAe,CAAC;AAGxC,MAAM,SAAS,GAAS;IACtB,GAAG,EAAE,EAAE;IACP,UAAU,EAAE,EAAE;IACd,UAAU,EAAE,EAAE;IACd,UAAU,EAAE,EAAE;IACd,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,EAAE;CACZ,CAAC;AAGF,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,MAAM,EAAE,eAAe;IACvB,QAAQ,EAAE,4BAA4B;IACtC,IAAI,EAAE,UAAU;CACjB,CAAC;AAGF,MAAM,CAAC,MAAM,UAAU,GAAgB;IACrC,cAAc,EAAE,EAAE;IAClB,IAAI,EAAE,uBAAuB;IAC7B,SAAS,EAAE,qBAAqB;IAChC,UAAU,EAAE,eAAe;CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,mCACnB,UAAU,KACb,IAA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AAC,MAAM,mBAAmB,GAAG,mBAAmB,CAAC;AAEvD,MAAM,CAAC,MAAM,gBAAgB,GAAsB;IACjD,QAAQ,EAAE,mBAAmB;IAC7B,QAAQ,EAAE,aAAa;IACvB,QAAQ,EAAE,sBAAsB;IAChC,OAAO,EAAE;QACP,eAAe,EAAE;YACf,IAAI,EAAE,MAAM;SACb;QACD,gBAAgB,EAAE,EAAE;KACrB;IACD,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,0BAA0B;IACtC,UAAU,EAAE,eAAe;CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,iDACzB,gBAAgB,GAChB,SAAS,KACZ,aAAa,EAAE,EAAE,EACjB,aAAa,EAAE,EAAE,GAClB,CAAC"}
|
|
@@ -13,8 +13,8 @@ export interface PaginatedTimeseriesDeviceEventStatusChanges {
|
|
|
13
13
|
data: TimeseriesDeviceEventStatusChanges[];
|
|
14
14
|
pagination: Pagination;
|
|
15
15
|
}
|
|
16
|
-
export
|
|
17
|
-
export
|
|
16
|
+
export type Aggregation = 'count' | 'sum' | 'avg' | 'min' | 'max' | 'stddev' | 'variance' | 'median' | 'histogram' | `p${number}`;
|
|
17
|
+
export type TimeseriesTable = 'device_events' | 'heartbeats' | 'reports' | 'settings_application_record' | 'command_executions' | 'command_execution_statuses' | 'agg_workflow_executions' | 'gateway_commands' | 'device_errors' | 'notifications' | 'integration_events' | 'bulk_response_statuses' | 'bulk_responses' | 'network_interface_infos' | 'network_interface_latency_reports' | 'network_interface_performance_reports' | 'network_interface_reports' | 'user_events';
|
|
18
18
|
export interface GenericTimeseriesQuery extends Filters {
|
|
19
19
|
metrics?: string | string[];
|
|
20
20
|
aggregation?: string | string[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
2
|
-
export
|
|
2
|
+
export type TranslatorType = 'javascript' | 'template' | 'template_cmd' | 'altair' | 'gs' | 'inmarsat' | 'orbcomm' | 'assetlink';
|
|
3
3
|
export interface TranslatorInput {
|
|
4
4
|
name: string;
|
|
5
5
|
company_id: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PaginationFilter } from '..';
|
|
2
2
|
import { PaginatedUserEvents, UserEventsFilters } from './models';
|
|
3
3
|
declare const UserEvents: {
|
|
4
|
-
list: (filters?: UserEventsFilters
|
|
4
|
+
list: (filters?: UserEventsFilters, pagination?: PaginationFilter) => Promise<PaginatedUserEvents>;
|
|
5
5
|
};
|
|
6
6
|
export { UserEvents };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
2
|
-
export
|
|
2
|
+
export type UserEventType = 'create' | 'delete' | 'login' | 'logout' | 'me';
|
|
3
3
|
export interface UserEvent extends Base {
|
|
4
4
|
ip_address: string;
|
|
5
5
|
metadata?: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Base, Filter, Filters, Pagination } from '../models';
|
|
2
|
-
export
|
|
2
|
+
export type AbilityType = 'self_and_all_children' | 'not_allowed' | 'self';
|
|
3
3
|
export interface Ability {
|
|
4
4
|
create: AbilityType;
|
|
5
5
|
update: AbilityType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseModelInterface } from '../core/ModelClass';
|
|
2
2
|
import { WorkflowDefinitionsFilters, WorkflowDefinition, PaginatedWorkflowDefinitions } from './models';
|
|
3
|
-
|
|
3
|
+
type WorkflowDefinitionsInterface = BaseModelInterface<WorkflowDefinition, WorkflowDefinition, WorkflowDefinitionsFilters, PaginatedWorkflowDefinitions>;
|
|
4
4
|
export declare const WorkflowDefinitions: WorkflowDefinitionsInterface;
|
|
5
5
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PaginationFilter } from '../models';
|
|
2
2
|
import { WorkflowExecutionsFilters, PaginatedWorkflowExecutions } from './models';
|
|
3
3
|
declare const WorkflowExecutions: {
|
|
4
|
-
list(filters?: WorkflowExecutionsFilters
|
|
4
|
+
list(filters?: WorkflowExecutionsFilters, pagination?: PaginationFilter): Promise<PaginatedWorkflowExecutions>;
|
|
5
5
|
};
|
|
6
6
|
export { WorkflowExecutions };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PaginationFilter } from '../models';
|
|
2
2
|
import { WorkflowFilters, PaginatedWorkflows, Workflow } from './models';
|
|
3
3
|
declare const Workflows: {
|
|
4
|
-
list(filters?: WorkflowFilters
|
|
4
|
+
list(filters?: WorkflowFilters, pagination?: PaginationFilter): Promise<PaginatedWorkflows>;
|
|
5
5
|
getOneById(id: string): Promise<Workflow>;
|
|
6
6
|
};
|
|
7
7
|
export { Workflows };
|