@spytecgps/nova-orm 0.0.46 → 0.0.48
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.
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DeviceCustomConfiguration } from '../../entities';
|
|
2
|
+
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
+
import { GetDeviceCustomConfigParams } from '../../types/devices';
|
|
4
|
+
import { Logger } from '../../types/logger';
|
|
5
|
+
export declare const getDeviceCustomConfigs: (novaDataSource: NovaDataSource, params: GetDeviceCustomConfigParams, logger: Logger) => Promise<DeviceCustomConfiguration[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ClientDeviceSetting, Device, DeviceType, ImeiIccidCarrier } from '../../entities';
|
|
2
|
-
import { CreateClientDeviceSettingParams, CreateDeviceParams, DeleteDeviceParams, DeviceTypeModelWithDeviceCount, GenerateIdentifierKeyParams, GetClientDeviceSettingParams, GetClientDeviceSettingsParams, GetDeviceParams, GetDevicesParams, GetDeviceTypesModelsOrderedByDeviceCountParams, GetDeviceTypesParams, GetFilteredImeisWithStatusParams, GetImeiIccidCarrierParams, GetImeiIccidCarriersParams, UpdateClientDeviceSettingParams, UpdateDeviceParams, UpdateImeiIccidCarrierParams } from '../../types/devices';
|
|
1
|
+
import { ClientDeviceSetting, Device, DeviceCustomConfiguration, DeviceType, ImeiIccidCarrier } from '../../entities';
|
|
2
|
+
import { CreateClientDeviceSettingParams, CreateDeviceParams, DeleteDeviceParams, DeviceTypeModelWithDeviceCount, GenerateIdentifierKeyParams, GetClientDeviceSettingParams, GetClientDeviceSettingsParams, GetDeviceCustomConfigParams, GetDeviceParams, GetDevicesParams, GetDeviceTypesModelsOrderedByDeviceCountParams, GetDeviceTypesParams, GetFilteredImeisWithStatusParams, GetImeiIccidCarrierParams, GetImeiIccidCarriersParams, UpdateClientDeviceSettingParams, UpdateDeviceParams, UpdateImeiIccidCarrierParams } from '../../types/devices';
|
|
3
3
|
import { BaseRepository } from './../baseRepository';
|
|
4
4
|
export declare class DevicesRepository extends BaseRepository {
|
|
5
5
|
/**
|
|
@@ -181,4 +181,12 @@ export declare class DevicesRepository extends BaseRepository {
|
|
|
181
181
|
* - filters.deviceStatus: The device status to filter by, optional. If not provided, all devices will be counted
|
|
182
182
|
*/
|
|
183
183
|
getDeviceTypesModelsOrderedByDeviceCount(params: GetDeviceTypesModelsOrderedByDeviceCountParams): Promise<DeviceTypeModelWithDeviceCount[]>;
|
|
184
|
+
/**
|
|
185
|
+
* Get the device custom configuration
|
|
186
|
+
* @param {GetDeviceCustomConfigParams} params containing information to get the device custom configuration
|
|
187
|
+
* - filters.clientId: The client id
|
|
188
|
+
* - filters.imei: The imei of the device
|
|
189
|
+
* @returns The device custom configurations if found, empty array otherwise
|
|
190
|
+
*/
|
|
191
|
+
getDeviceCustomConfigs(params: GetDeviceCustomConfigParams): Promise<DeviceCustomConfiguration[]>;
|
|
184
192
|
}
|
package/dist/types/devices.d.ts
CHANGED