@spytecgps/nova-orm 0.0.136 → 0.0.138

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.
@@ -102,6 +102,7 @@ export declare class UserConfigurationsRepository extends BaseRepository {
102
102
  * Get device alert time windows configurations
103
103
  * @param {GetDeviceAlertTimeWindowsParams} params containing information to get device alert time windows configurations
104
104
  * - filters.imei: The imei to obtain all user alert configurations from that device.
105
+ * - filters.clientId: The client id to obtain the configurations.
105
106
  * @returns The user device time windows configurations
106
107
  */
107
108
  getDeviceAlertTimeWindows(params: GetDeviceAlertTimeWindowsParams): Promise<DeviceAlertConfiguration[]>;
@@ -53,7 +53,9 @@ export interface GetUserAlertTimeWindowsParams {
53
53
  }
54
54
  export interface GetDeviceAlertTimeWindowsParams {
55
55
  filters: {
56
- imei: string;
56
+ imei?: string;
57
+ clientId?: number;
58
+ userId?: string;
57
59
  };
58
60
  }
59
61
  export interface CreateUserAlertConfigurationParams {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spytecgps/nova-orm",
3
- "version": "0.0.136",
3
+ "version": "0.0.138",
4
4
  "description": "ORM with PlanetScale",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",