@spytecgps/nova-orm 0.0.175 → 0.0.176
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 { DeviceType } from '../../entities';
|
|
2
|
+
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
+
import { GetDeviceTypeByImeiParams } from '../../types/devices';
|
|
4
|
+
import { Logger } from '../../types/logger';
|
|
5
|
+
export declare const getDeviceTypeByImei: (novaDataSource: NovaDataSource, params: GetDeviceTypeByImeiParams, logger: Logger) => Promise<DeviceType>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClientDeviceSetting, Device, DeviceCustomConfiguration, DeviceReplacement, DeviceType, IccidStatus, ImeiIccidCarrier } from '../../entities';
|
|
2
|
-
import { CanceledDeviceWithActiveSimCard, CarrierStatus, CreateClientDeviceSettingParams, CreateDeviceParams, CreateDeviceReplacementParams, CreateDeviceTypeParams, DeleteDeviceParams, DeviceTypeModelWithDeviceCount, DeviceWithUsersInfo, GenerateIdentifierKeyParams, GetCanceledDevicesWithActiveSimCardsParams, GetCarrierStatusUpdatedBeforeParams, GetClientDeviceSettingParams, GetClientDeviceSettingsParams, GetDeviceCustomConfigParams,
|
|
2
|
+
import { CanceledDeviceWithActiveSimCard, CarrierStatus, CreateClientDeviceSettingParams, CreateDeviceParams, CreateDeviceReplacementParams, CreateDeviceTypeParams, DeleteDeviceParams, DeviceTypeModelWithDeviceCount, DeviceWithUsersInfo, GenerateIdentifierKeyParams, GetCanceledDevicesWithActiveSimCardsParams, GetCarrierStatusUpdatedBeforeParams, GetClientDeviceSettingParams, GetClientDeviceSettingsParams, GetDeviceCustomConfigParams, GetDeviceParams, GetDevicesParams, GetDeviceTypeByImeiParams, GetDeviceTypesModelsOrderedByDeviceCountParams, GetDeviceTypesParams, GetDeviceWithUsersInfoParams, GetFilteredImeisWithStatusParams, GetIccidStatusParams, GetImeiIccidCarrierParams, GetImeiIccidCarriersParams, UpdateClientDeviceSettingParams, UpdateDeviceParams, UpdateDeviceTypeParams, UpdateIccidStatusParams, UpdateImeiIccidCarrierParams, UpsertIccidStatusParams } from '../../types/devices';
|
|
3
3
|
import { BaseRepository } from './../baseRepository';
|
|
4
4
|
export declare class DevicesRepository extends BaseRepository {
|
|
5
5
|
/**
|
|
@@ -104,14 +104,12 @@ export declare class DevicesRepository extends BaseRepository {
|
|
|
104
104
|
*/
|
|
105
105
|
getImeiIccidCarrier(params: GetImeiIccidCarrierParams): Promise<ImeiIccidCarrier>;
|
|
106
106
|
/**
|
|
107
|
-
* Get
|
|
108
|
-
* @param {
|
|
107
|
+
* Get DeviceTypeByImei
|
|
108
|
+
* @param {GetDeviceTypeByImeiParams} params containing information to get the device type by imei
|
|
109
109
|
* - filters.imei: The imei of the device
|
|
110
|
-
* @returns {Promise<
|
|
110
|
+
* @returns {Promise<DeviceType>} The device type record of an imei
|
|
111
111
|
*/
|
|
112
|
-
|
|
113
|
-
modelFamily: string;
|
|
114
|
-
}>;
|
|
112
|
+
getDeviceTypeByImei(params: GetDeviceTypeByImeiParams): Promise<DeviceType>;
|
|
115
113
|
/**
|
|
116
114
|
* Get ImeiIccidCarriers from a list of imeis
|
|
117
115
|
* @param {GetImeiIccidCarriersParams} params containing information to get the ImeiIccidCarriers
|
package/dist/types/devices.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { GetDeviceModelByIccidParams } from '../../types/devices';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const getDeviceModelByIccid: (novaDataSource: NovaDataSource, params: GetDeviceModelByIccidParams, logger: Logger) => Promise<{
|
|
5
|
-
modelFamily: string;
|
|
6
|
-
}>;
|