@spytecgps/nova-orm 0.0.79 → 0.0.81
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/index.js +1 -1
- package/dist/types/alert.d.ts +7 -0
- package/dist/utils/randomizer.d.ts +1 -0
- package/package.json +1 -1
package/dist/types/alert.d.ts
CHANGED
|
@@ -33,11 +33,15 @@ export interface GetAlertReportByUserParams extends ReportPagination {
|
|
|
33
33
|
filters: {
|
|
34
34
|
userId: string;
|
|
35
35
|
imeis: string[];
|
|
36
|
+
clientId?: number | null;
|
|
36
37
|
isTestEnvironment?: boolean | false;
|
|
37
38
|
alertTypeIds?: number[] | null;
|
|
39
|
+
alertTypeNames?: string[] | null;
|
|
38
40
|
boundaryId?: number | null;
|
|
39
41
|
sendTimeFrom?: Date | null;
|
|
40
42
|
sendTimeTo?: Date | null;
|
|
43
|
+
createdFrom?: Date | null;
|
|
44
|
+
createdTo?: Date | null;
|
|
41
45
|
};
|
|
42
46
|
}
|
|
43
47
|
export interface GetAlertReportByClientParams extends ReportPagination {
|
|
@@ -52,12 +56,15 @@ export interface GetAlertReportByClientParams extends ReportPagination {
|
|
|
52
56
|
export interface AlertReport {
|
|
53
57
|
id: number;
|
|
54
58
|
alertTypeId: number;
|
|
59
|
+
alertTypeName: string;
|
|
55
60
|
value?: string | null;
|
|
56
61
|
createdAt: Date;
|
|
57
62
|
userId: Buffer;
|
|
63
|
+
clientId: number;
|
|
58
64
|
messageId: Buffer;
|
|
59
65
|
imei: string;
|
|
60
66
|
sendTime: Date;
|
|
67
|
+
boundaryId?: number | null;
|
|
61
68
|
lat?: number | null;
|
|
62
69
|
lon?: number | null;
|
|
63
70
|
address?: string | null;
|
|
@@ -2,3 +2,4 @@ export declare const getRandomBoolean: () => boolean;
|
|
|
2
2
|
export declare const getRandomInteger: (max: number) => number;
|
|
3
3
|
export declare const getRandomString: (length: number) => string;
|
|
4
4
|
export declare const getRandomImei: (length?: number) => string;
|
|
5
|
+
export declare const getRandomDateInRange: (rangeInDays: number) => Date;
|