@spytecgps/nova-orm 0.0.119 → 0.0.120

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.
@@ -57,6 +57,8 @@ export declare class FirmwaresRepository extends BaseRepository {
57
57
  * - filters.taskId: The task id
58
58
  * - filters.statuses: The list of statuses to filter
59
59
  * - filters.imeis: The list of imeis to filter
60
+ * - filters.startDate: The start date to filter tasks based on modifiedAt column
61
+ * - filters.endDate: The end date to filter tasks based on modifiedAt column
60
62
  * - projectionOptions.withDeviceFirmware: Whether to get the device firmware object
61
63
  * - projectionOptions.withDevice: Whether to get the device object
62
64
  * - projectionOptions.deviceWithDeviceType: Whether to get the device type object of the device. projectionOptions.withDevice should be true to use this option.
@@ -86,6 +88,7 @@ export declare class FirmwaresRepository extends BaseRepository {
86
88
  * - status: The status of the firmware upgrade task
87
89
  * - preConfig: The pre config of the device before sending the upgrade command
88
90
  * - postConfig: The post config of the device after sending the upgrade command
91
+ * - postUpgradeCompleted: Whether the post upgrade completed or not
89
92
  * @returns {boolea} Whether the firmware upgrade task is updated or not.
90
93
  */
91
94
  updateFirmwareUpgradeTasks(params: UpdateFirmwareUpgradeTaskParams): Promise<boolean>;
@@ -14,6 +14,8 @@ export interface GetFirmwareUpgradeTasksParams {
14
14
  taskId?: string;
15
15
  statuses?: FirmwareUpgradeTaskStatus[];
16
16
  imeis?: string[];
17
+ startDate?: Date;
18
+ endDate?: Date;
17
19
  };
18
20
  projectionOptions?: {
19
21
  withDeviceFirmware?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spytecgps/nova-orm",
3
- "version": "0.0.119",
3
+ "version": "0.0.120",
4
4
  "description": "ORM with PlanetScale",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",