@spytecgps/nova-orm 0.0.125 → 0.0.128
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.
|
@@ -186,6 +186,7 @@ export declare class DevicesRepository extends BaseRepository {
|
|
|
186
186
|
* @param {GetDeviceCustomConfigParams} params containing information to get the device custom configuration
|
|
187
187
|
* - filters.clientId: The client id
|
|
188
188
|
* - filters.imei: The imei of the device
|
|
189
|
+
* - filters.po: The purchase order number of the device
|
|
189
190
|
* @returns The device custom configurations if found, empty array otherwise
|
|
190
191
|
*/
|
|
191
192
|
getDeviceCustomConfigs(params: GetDeviceCustomConfigParams): Promise<DeviceCustomConfiguration[]>;
|
package/dist/types/devices.d.ts
CHANGED
|
@@ -167,8 +167,10 @@ export interface DeviceTypeModelWithDeviceCount {
|
|
|
167
167
|
}
|
|
168
168
|
export interface GetDeviceCustomConfigParams {
|
|
169
169
|
filters: {
|
|
170
|
-
clientId
|
|
171
|
-
|
|
170
|
+
clientId?: number;
|
|
171
|
+
deviceTypeId?: number;
|
|
172
|
+
imei?: string;
|
|
173
|
+
po?: string;
|
|
172
174
|
};
|
|
173
175
|
}
|
|
174
176
|
export interface CreateDeviceReplacementParams {
|
package/dist/types/trip.d.ts
CHANGED