akeyless-types-commons 1.0.47 → 1.0.49
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/interfaces/global.d.ts +33 -9
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BoardStatus, ClientStatus, LanguageOptions, SiteType, UnitStatus } from "../enums";
|
|
1
|
+
import { BoardStatus, ClientStatus, EquipmentStatus, EquipmentStatusReason, LanguageOptions, SiteType, UnitStatus } from "../enums";
|
|
2
2
|
import { Timestamp } from "firebase-admin/firestore";
|
|
3
3
|
import { Geo, TObject } from "../types";
|
|
4
4
|
export interface firebase_timestamp {
|
|
@@ -69,14 +69,6 @@ export interface GoUser {
|
|
|
69
69
|
first_name: string;
|
|
70
70
|
last_name: string;
|
|
71
71
|
}
|
|
72
|
-
export interface Installer {
|
|
73
|
-
id?: string;
|
|
74
|
-
fullName?: string;
|
|
75
|
-
phone?: string;
|
|
76
|
-
superTechnician?: string;
|
|
77
|
-
clients?: string[];
|
|
78
|
-
customers?: string[];
|
|
79
|
-
}
|
|
80
72
|
export interface Client {
|
|
81
73
|
created?: firebase_timestamp | Timestamp;
|
|
82
74
|
updated?: firebase_timestamp | Timestamp;
|
|
@@ -212,6 +204,37 @@ export interface CanbusParameter {
|
|
|
212
204
|
value: number;
|
|
213
205
|
timestamp?: firebase_timestamp | Timestamp;
|
|
214
206
|
}
|
|
207
|
+
export interface Equipment {
|
|
208
|
+
id: string;
|
|
209
|
+
serial_number: string;
|
|
210
|
+
equipment_option: string;
|
|
211
|
+
equipment_option_id: string;
|
|
212
|
+
status: EquipmentStatus;
|
|
213
|
+
status_reason: EquipmentStatusReason;
|
|
214
|
+
meta: {
|
|
215
|
+
version: {
|
|
216
|
+
hw: string;
|
|
217
|
+
sw: string;
|
|
218
|
+
};
|
|
219
|
+
attributes?: string;
|
|
220
|
+
[key: string]: any;
|
|
221
|
+
};
|
|
222
|
+
comments: string;
|
|
223
|
+
created: firebase_timestamp;
|
|
224
|
+
updated: firebase_timestamp;
|
|
225
|
+
updated_by: string;
|
|
226
|
+
created_by?: string;
|
|
227
|
+
}
|
|
228
|
+
export interface EquipmentOption {
|
|
229
|
+
id: string;
|
|
230
|
+
name: string;
|
|
231
|
+
equipment_category: string;
|
|
232
|
+
description: string;
|
|
233
|
+
created: firebase_timestamp;
|
|
234
|
+
updated: firebase_timestamp;
|
|
235
|
+
updated_by: string;
|
|
236
|
+
created_by?: string;
|
|
237
|
+
}
|
|
215
238
|
export interface EventFromDevice {
|
|
216
239
|
event_id: number;
|
|
217
240
|
car_number: string;
|
|
@@ -242,6 +265,7 @@ export interface ErmStates {
|
|
|
242
265
|
battery_disconnected?: number;
|
|
243
266
|
}
|
|
244
267
|
export type ReportMetaDataType = "string" | "car_number" | "phone" | "date" | "time" | "datetime" | "number" | "email" | "boolean" | "geo" | "duration";
|
|
268
|
+
export type ReportParameterDataType = ReportMetaDataType | "select" | "multi_select";
|
|
245
269
|
export interface ReportMetaHeader {
|
|
246
270
|
name: string;
|
|
247
271
|
type: ReportMetaDataType;
|