@spytecgps/nova-orm 0.0.81 → 0.0.83
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.
|
@@ -56,8 +56,12 @@ export declare class PositionRepository extends BaseRepository {
|
|
|
56
56
|
* - filters.actualDateTo: filters by actual date to to get positions
|
|
57
57
|
* - filters.speedMin: filters by speed min to get positions
|
|
58
58
|
* - filters.speedMax: filters by speed max to get positions
|
|
59
|
-
* -
|
|
60
|
-
* -
|
|
59
|
+
* - filters.odometerMin: filters by odometer min to get positions
|
|
60
|
+
* - filters.odometerMax: filters by odometer max to get positions
|
|
61
|
+
* - pagingOptions.pageSize: the page size
|
|
62
|
+
* - pagingOptions.pageIndex: the page index
|
|
63
|
+
* - sortOptions.sortField: the sort field
|
|
64
|
+
* - sortOptions.sortOrder: the sort order
|
|
61
65
|
*/
|
|
62
66
|
getPositionsReportByClient(params: GetPositionsReportByClientParams): Promise<PositionReport[]>;
|
|
63
67
|
}
|
package/dist/types/alert.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export interface CreateAlertParams {
|
|
|
22
22
|
export interface ReportPagination {
|
|
23
23
|
pagingOptions: {
|
|
24
24
|
pageSize: number | 25;
|
|
25
|
-
pageIndex: number |
|
|
25
|
+
pageIndex: number | 0;
|
|
26
26
|
};
|
|
27
27
|
sortOptions?: {
|
|
28
28
|
sortField: string;
|
|
@@ -32,7 +32,7 @@ export interface ReportPagination {
|
|
|
32
32
|
export interface GetAlertReportByUserParams extends ReportPagination {
|
|
33
33
|
filters: {
|
|
34
34
|
userId: string;
|
|
35
|
-
imeis
|
|
35
|
+
imeis?: string[];
|
|
36
36
|
clientId?: number | null;
|
|
37
37
|
isTestEnvironment?: boolean | false;
|
|
38
38
|
alertTypeIds?: number[] | null;
|
package/dist/types/position.d.ts
CHANGED
|
@@ -29,10 +29,16 @@ export interface GetPositionsReportByClientParams {
|
|
|
29
29
|
actualDateTo?: Date | null;
|
|
30
30
|
speedMin?: number | null;
|
|
31
31
|
speedMax?: number | null;
|
|
32
|
+
odometerMin?: number | null;
|
|
33
|
+
odometerMax?: number | null;
|
|
32
34
|
};
|
|
33
35
|
pagingOptions: {
|
|
34
36
|
pageSize: number | 25;
|
|
35
|
-
pageIndex: number |
|
|
37
|
+
pageIndex: number | 0;
|
|
38
|
+
};
|
|
39
|
+
sortOptions?: {
|
|
40
|
+
sortField: string;
|
|
41
|
+
sortOrder: 'ASC' | 'DESC';
|
|
36
42
|
};
|
|
37
43
|
}
|
|
38
44
|
export interface PositionReport {
|