@spytecgps/nova-orm 1.0.65 → 1.0.67
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.
- package/dist/entities/airflow/acumaticaExportImeiIccidData copy.d.ts +28 -0
- package/dist/entities/airflow/acumaticaExportImeiIccidData copy.js +147 -0
- package/dist/entities/airflow/acumaticaExportImeiIccidData copy.js.map +1 -0
- package/dist/entities/airflow/acumaticaExportImeiIccidData.d.ts +15 -0
- package/dist/entities/airflow/acumaticaExportImeiIccidData.js +82 -0
- package/dist/entities/airflow/acumaticaExportImeiIccidData.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/novaDataSource.d.ts +2 -2
- package/dist/novaDataSource.js +1 -1
- package/dist/novaDataSource.js.map +1 -1
- package/dist/repositories/acumatica/getAcumaticaImeiIccidData.js +7 -2
- package/dist/repositories/acumatica/getAcumaticaImeiIccidData.js.map +1 -1
- package/dist/repositories/acumatica/getAcumaticaShipmentDetails.js +8 -3
- package/dist/repositories/acumatica/getAcumaticaShipmentDetails.js.map +1 -1
- package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.js +7 -2
- package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.js.map +1 -1
- package/dist/repositories/aempToken/getAempTokens.js +10 -3
- package/dist/repositories/aempToken/getAempTokens.js.map +1 -1
- package/dist/repositories/alertTypes/getAlertTypes.js +7 -2
- package/dist/repositories/alertTypes/getAlertTypes.js.map +1 -1
- package/dist/repositories/alerts/getAlertsReportByClient.js +4 -0
- package/dist/repositories/alerts/getAlertsReportByClient.js.map +1 -1
- package/dist/repositories/alerts/getAlertsReportByUser.js +4 -0
- package/dist/repositories/alerts/getAlertsReportByUser.js.map +1 -1
- package/dist/repositories/appFeatures/getClientAppFeatures.js +7 -2
- package/dist/repositories/appFeatures/getClientAppFeatures.js.map +1 -1
- package/dist/repositories/assetCategories/getAssetCategories.d.ts +1 -1
- package/dist/repositories/assetCategories/getAssetCategories.js +14 -4
- package/dist/repositories/assetCategories/getAssetCategories.js.map +1 -1
- package/dist/repositories/assetCategories/index.d.ts +1 -1
- package/dist/repositories/assetCategories/index.js +2 -2
- package/dist/repositories/assetCategories/index.js.map +1 -1
- package/dist/repositories/billing/getBillingCustomerBraintreeById.js +7 -2
- package/dist/repositories/billing/getBillingCustomerBraintreeById.js.map +1 -1
- package/dist/repositories/billing/getBillingDeviceTypePlans.js +9 -4
- package/dist/repositories/billing/getBillingDeviceTypePlans.js.map +1 -1
- package/dist/repositories/billing/getBillingKlarnaOrderByImei.js +7 -2
- package/dist/repositories/billing/getBillingKlarnaOrderByImei.js.map +1 -1
- package/dist/repositories/billing/getBillingPlans.js +7 -2
- package/dist/repositories/billing/getBillingPlans.js.map +1 -1
- package/dist/repositories/billing/getBillingSubscriptionBraintreeByImei.js +7 -2
- package/dist/repositories/billing/getBillingSubscriptionBraintreeByImei.js.map +1 -1
- package/dist/repositories/billing/getBillingSubscriptionsBraintree.js +7 -2
- package/dist/repositories/billing/getBillingSubscriptionsBraintree.js.map +1 -1
- package/dist/repositories/billing/getBillings.js +7 -2
- package/dist/repositories/billing/getBillings.js.map +1 -1
- package/dist/repositories/billing/getCanceledImeis.js +7 -2
- package/dist/repositories/billing/getCanceledImeis.js.map +1 -1
- package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.js +17 -8
- package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.js.map +1 -1
- package/dist/repositories/billing/getChurnStatusByClientId.js +7 -2
- package/dist/repositories/billing/getChurnStatusByClientId.js.map +1 -1
- package/dist/repositories/billing/getClientIdFromBraintreeCustomer.js +7 -2
- package/dist/repositories/billing/getClientIdFromBraintreeCustomer.js.map +1 -1
- package/dist/repositories/billing/getMagentoPlan.js +7 -2
- package/dist/repositories/billing/getMagentoPlan.js.map +1 -1
- package/dist/repositories/billing/getUserByBraintreeCustomerId.js +7 -2
- package/dist/repositories/billing/getUserByBraintreeCustomerId.js.map +1 -1
- package/dist/repositories/blacklist/getBlacklists.js +7 -2
- package/dist/repositories/blacklist/getBlacklists.js.map +1 -1
- package/dist/repositories/bleMeshConfiguration/getBLEMeshConfiguration.js +7 -2
- package/dist/repositories/bleMeshConfiguration/getBLEMeshConfiguration.js.map +1 -1
- package/dist/repositories/boundaries/getBoundariesByClientId.js +13 -7
- package/dist/repositories/boundaries/getBoundariesByClientId.js.map +1 -1
- package/dist/repositories/boundaries/getBoundariesIdsByClientId.js +11 -7
- package/dist/repositories/boundaries/getBoundariesIdsByClientId.js.map +1 -1
- package/dist/repositories/boundaries/getBoundariesReport.js +7 -2
- package/dist/repositories/boundaries/getBoundariesReport.js.map +1 -1
- package/dist/repositories/boundaries/getBoundaryById.js +10 -2
- package/dist/repositories/boundaries/getBoundaryById.js.map +1 -1
- package/dist/repositories/clients/getClient.js +7 -2
- package/dist/repositories/clients/getClient.js.map +1 -1
- package/dist/repositories/clients/getClientConfiguration.js +12 -4
- package/dist/repositories/clients/getClientConfiguration.js.map +1 -1
- package/dist/repositories/clients/getClients.js +7 -2
- package/dist/repositories/clients/getClients.js.map +1 -1
- package/dist/repositories/clients/getCustomerAttribute.js +12 -4
- package/dist/repositories/clients/getCustomerAttribute.js.map +1 -1
- package/dist/repositories/countries/getCountries.js +7 -2
- package/dist/repositories/countries/getCountries.js.map +1 -1
- package/dist/repositories/countries/getCountry.js +7 -2
- package/dist/repositories/countries/getCountry.js.map +1 -1
- package/dist/repositories/deactivations/getDeactivationReasons.js +7 -2
- package/dist/repositories/deactivations/getDeactivationReasons.js.map +1 -1
- package/dist/repositories/deactivations/getLatestDeactivationByImei.js +7 -2
- package/dist/repositories/deactivations/getLatestDeactivationByImei.js.map +1 -1
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.js +7 -2
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.js.map +1 -1
- package/dist/repositories/deviceBehaviors/getDeviceBehaviors.js +7 -2
- package/dist/repositories/deviceBehaviors/getDeviceBehaviors.js.map +1 -1
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.js +7 -2
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.js.map +1 -1
- package/dist/repositories/deviceBehaviors/getDevicesLastBehaviorTask.js +7 -2
- package/dist/repositories/deviceBehaviors/getDevicesLastBehaviorTask.js.map +1 -1
- package/dist/repositories/deviceBehaviors/getLatestDeviceBehaviorTasks.js +15 -7
- package/dist/repositories/deviceBehaviors/getLatestDeviceBehaviorTasks.js.map +1 -1
- package/dist/repositories/devicePairings/getDevicePairings.js +7 -2
- package/dist/repositories/devicePairings/getDevicePairings.js.map +1 -1
- package/dist/repositories/devicePairings/getDevicePairingsByClientId.js +7 -2
- package/dist/repositories/devicePairings/getDevicePairingsByClientId.js.map +1 -1
- package/dist/repositories/devicePairings/getDevicePairingsByImei.js +7 -2
- package/dist/repositories/devicePairings/getDevicePairingsByImei.js.map +1 -1
- package/dist/repositories/deviceStatus/getDeviceStatuses.js +7 -2
- package/dist/repositories/deviceStatus/getDeviceStatuses.js.map +1 -1
- package/dist/repositories/deviceStatus/getDeviceStatusesCount.js +7 -2
- package/dist/repositories/deviceStatus/getDeviceStatusesCount.js.map +1 -1
- package/dist/repositories/devices/allImeisAreActiveForClient.js +7 -2
- package/dist/repositories/devices/allImeisAreActiveForClient.js.map +1 -1
- package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.js +7 -2
- package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.js.map +1 -1
- package/dist/repositories/devices/getCarrierStatusUpdatedBefore.js +7 -2
- package/dist/repositories/devices/getCarrierStatusUpdatedBefore.js.map +1 -1
- package/dist/repositories/devices/getClientDeviceSetting.js +7 -2
- package/dist/repositories/devices/getClientDeviceSetting.js.map +1 -1
- package/dist/repositories/devices/getClientDeviceSettings.js +7 -2
- package/dist/repositories/devices/getClientDeviceSettings.js.map +1 -1
- package/dist/repositories/devices/getDevice.js +7 -2
- package/dist/repositories/devices/getDevice.js.map +1 -1
- package/dist/repositories/devices/getDeviceCustomConfig.js +7 -2
- package/dist/repositories/devices/getDeviceCustomConfig.js.map +1 -1
- package/dist/repositories/devices/getDeviceTypeByImei.js +7 -2
- package/dist/repositories/devices/getDeviceTypeByImei.js.map +1 -1
- package/dist/repositories/devices/getDeviceTypes.js +7 -2
- package/dist/repositories/devices/getDeviceTypes.js.map +1 -1
- package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.js +7 -2
- package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.js.map +1 -1
- package/dist/repositories/devices/getDeviceWithUsersInfo.js +7 -2
- package/dist/repositories/devices/getDeviceWithUsersInfo.js.map +1 -1
- package/dist/repositories/devices/getDevices.js +7 -2
- package/dist/repositories/devices/getDevices.js.map +1 -1
- package/dist/repositories/devices/getDevicesCountByStatus.js +7 -2
- package/dist/repositories/devices/getDevicesCountByStatus.js.map +1 -1
- package/dist/repositories/devices/getFilteredImeisWithStatus.js +7 -2
- package/dist/repositories/devices/getFilteredImeisWithStatus.js.map +1 -1
- package/dist/repositories/devices/getIccidStatus.js +7 -2
- package/dist/repositories/devices/getIccidStatus.js.map +1 -1
- package/dist/repositories/devices/getImeiIccidCarrier.js +7 -2
- package/dist/repositories/devices/getImeiIccidCarrier.js.map +1 -1
- package/dist/repositories/devices/getImeiIccidCarriers.js +7 -2
- package/dist/repositories/devices/getImeiIccidCarriers.js.map +1 -1
- package/dist/repositories/entityTags/searchEntityTags.js +7 -2
- package/dist/repositories/entityTags/searchEntityTags.js.map +1 -1
- package/dist/repositories/firmwares/getDeviceFirmwares.js +27 -20
- package/dist/repositories/firmwares/getDeviceFirmwares.js.map +1 -1
- package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.js +7 -2
- package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.js.map +1 -1
- package/dist/repositories/firmwares/getFirmwareUpgradeTasks.js +7 -2
- package/dist/repositories/firmwares/getFirmwareUpgradeTasks.js.map +1 -1
- package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.js +7 -2
- package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.js.map +1 -1
- package/dist/repositories/latestUserAppInfo/getLatestUserAppInfo.js +9 -4
- package/dist/repositories/latestUserAppInfo/getLatestUserAppInfo.js.map +1 -1
- package/dist/repositories/liveLinks/getLiveLinkData.js +13 -3
- package/dist/repositories/liveLinks/getLiveLinkData.js.map +1 -1
- package/dist/repositories/liveLinks/getLiveLinkDataCount.js +13 -3
- package/dist/repositories/liveLinks/getLiveLinkDataCount.js.map +1 -1
- package/dist/repositories/liveLinks/getLiveLinks.js +7 -2
- package/dist/repositories/liveLinks/getLiveLinks.js.map +1 -1
- package/dist/repositories/liveLinks/getLiveLinksCount.js +7 -2
- package/dist/repositories/liveLinks/getLiveLinksCount.js.map +1 -1
- package/dist/repositories/notificationRecipients/getNotificationRecipients.js +7 -2
- package/dist/repositories/notificationRecipients/getNotificationRecipients.js.map +1 -1
- package/dist/repositories/positions/getLatestPositionByImei.js +8 -2
- package/dist/repositories/positions/getLatestPositionByImei.js.map +1 -1
- package/dist/repositories/positions/getPositionsByImei.js +8 -2
- package/dist/repositories/positions/getPositionsByImei.js.map +1 -1
- package/dist/repositories/positions/getPositionsReportByClient.js +4 -0
- package/dist/repositories/positions/getPositionsReportByClient.js.map +1 -1
- package/dist/repositories/security/getAllRoles.d.ts +1 -1
- package/dist/repositories/security/getAllRoles.js +14 -4
- package/dist/repositories/security/getAllRoles.js.map +1 -1
- package/dist/repositories/security/getUserRoles.js +13 -5
- package/dist/repositories/security/getUserRoles.js.map +1 -1
- package/dist/repositories/security/getUserRolesByClientId.js +16 -8
- package/dist/repositories/security/getUserRolesByClientId.js.map +1 -1
- package/dist/repositories/security/index.d.ts +1 -1
- package/dist/repositories/security/index.js +2 -2
- package/dist/repositories/security/index.js.map +1 -1
- package/dist/repositories/security/userIsAdminOrOwner.js +14 -9
- package/dist/repositories/security/userIsAdminOrOwner.js.map +1 -1
- package/dist/repositories/security/userIsInRole.js +12 -8
- package/dist/repositories/security/userIsInRole.js.map +1 -1
- package/dist/repositories/tags/searchTags.js +7 -2
- package/dist/repositories/tags/searchTags.js.map +1 -1
- package/dist/repositories/trips/getTripById.d.ts +1 -1
- package/dist/repositories/trips/getTripById.js +12 -6
- package/dist/repositories/trips/getTripById.js.map +1 -1
- package/dist/repositories/trips/getTrips.js +7 -2
- package/dist/repositories/trips/getTrips.js.map +1 -1
- package/dist/repositories/trips/index.d.ts +1 -1
- package/dist/repositories/trips/index.js +2 -2
- package/dist/repositories/trips/index.js.map +1 -1
- package/dist/repositories/userActivations/getLastActivationDevice.js +7 -2
- package/dist/repositories/userActivations/getLastActivationDevice.js.map +1 -1
- package/dist/repositories/userActivations/getUserActivationDevices.js +7 -2
- package/dist/repositories/userActivations/getUserActivationDevices.js.map +1 -1
- package/dist/repositories/userActivations/getUserActivationDevicesByClientId.js +7 -3
- package/dist/repositories/userActivations/getUserActivationDevicesByClientId.js.map +1 -1
- package/dist/repositories/userActivations/getUserActivationMetrics.js +7 -2
- package/dist/repositories/userActivations/getUserActivationMetrics.js.map +1 -1
- package/dist/repositories/userActivations/getUserActivations.js +7 -2
- package/dist/repositories/userActivations/getUserActivations.js.map +1 -1
- package/dist/repositories/userAppIncidents/getUserAppIncidents.js +7 -2
- package/dist/repositories/userAppIncidents/getUserAppIncidents.js.map +1 -1
- package/dist/repositories/userConfigurations/getCustomUserAlertConfiguration.d.ts +2 -1
- package/dist/repositories/userConfigurations/getCustomUserAlertConfiguration.js +7 -2
- package/dist/repositories/userConfigurations/getCustomUserAlertConfiguration.js.map +1 -1
- package/dist/repositories/userConfigurations/getCustomUserAlertConfigurationCount.js +9 -4
- package/dist/repositories/userConfigurations/getCustomUserAlertConfigurationCount.js.map +1 -1
- package/dist/repositories/userConfigurations/getUserAlertConfigurations.js +7 -2
- package/dist/repositories/userConfigurations/getUserAlertConfigurations.js.map +1 -1
- package/dist/repositories/userConfigurations/getUserConfigurations.js +7 -2
- package/dist/repositories/userConfigurations/getUserConfigurations.js.map +1 -1
- package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.js +7 -2
- package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.js.map +1 -1
- package/dist/repositories/userInvitations/getUserInvitationById.js +7 -2
- package/dist/repositories/userInvitations/getUserInvitationById.js.map +1 -1
- package/dist/repositories/userInvitations/getUserInvitations.js +7 -2
- package/dist/repositories/userInvitations/getUserInvitations.js.map +1 -1
- package/dist/repositories/userRatingRequests/getUserRatingRequests.js +7 -2
- package/dist/repositories/userRatingRequests/getUserRatingRequests.js.map +1 -1
- package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.js +7 -2
- package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.js.map +1 -1
- package/dist/types/acumatica.d.ts +4 -3
- package/dist/types/aempToken.d.ts +2 -1
- package/dist/types/alertTypes.d.ts +2 -1
- package/dist/types/appFeatures.d.ts +2 -1
- package/dist/types/billing.d.ts +12 -11
- package/dist/types/blacklist.d.ts +2 -1
- package/dist/types/bleMeshConfiguration.d.ts +2 -1
- package/dist/types/boundaries.d.ts +3 -3
- package/dist/types/clients.d.ts +5 -4
- package/dist/types/clients.js.map +1 -1
- package/dist/types/common.d.ts +4 -4
- package/dist/types/countries.d.ts +3 -2
- package/dist/types/deactivations.d.ts +3 -2
- package/dist/types/deviceBehaviors.d.ts +6 -5
- package/dist/types/devicePairings.d.ts +4 -3
- package/dist/types/deviceStatus.d.ts +3 -2
- package/dist/types/devices.d.ts +17 -17
- package/dist/types/firmwares.d.ts +5 -4
- package/dist/types/firmwares.js.map +1 -1
- package/dist/types/latestUserAppInfo.d.ts +2 -1
- package/dist/types/liveLinks.d.ts +4 -4
- package/dist/types/notificationRecipients.d.ts +2 -1
- package/dist/types/position.d.ts +3 -3
- package/dist/types/security.d.ts +5 -4
- package/dist/types/tasks.d.ts +7 -7
- package/dist/types/user.d.ts +9 -9
- package/dist/types/userActivations.d.ts +6 -5
- package/dist/types/userAppIncidents.d.ts +2 -1
- package/dist/types/userConfigurations.d.ts +3 -3
- package/dist/types/userDataDeletionRequests.d.ts +2 -1
- package/dist/types/userInvitations.d.ts +3 -2
- package/dist/types/userRatingRequests.d.ts +2 -1
- package/dist/types/userRegistrationAttempts.d.ts +2 -1
- package/package.json +1 -1
package/dist/types/common.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export interface
|
|
2
|
-
|
|
1
|
+
export interface BaseSelectQueryParams {
|
|
2
|
+
queryOptions?: {
|
|
3
3
|
forceUseReplica?: boolean;
|
|
4
4
|
};
|
|
5
5
|
}
|
|
6
|
-
export interface ReportPagination {
|
|
6
|
+
export interface ReportPagination extends BaseSelectQueryParams {
|
|
7
7
|
pagingOptions: {
|
|
8
8
|
pageSize: number | 25;
|
|
9
9
|
pageIndex: number | 0;
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
export interface OptionalReportPagination {
|
|
12
|
+
export interface OptionalReportPagination extends BaseSelectQueryParams {
|
|
13
13
|
pagingOptions?: {
|
|
14
14
|
pageSize?: number;
|
|
15
15
|
pageIndex?: number;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { BaseSelectQueryParams } from './common';
|
|
2
|
+
export interface GetCountryParams extends BaseSelectQueryParams {
|
|
2
3
|
filters: {
|
|
3
4
|
id?: number;
|
|
4
5
|
alpha2Code?: string;
|
|
5
6
|
};
|
|
6
7
|
}
|
|
7
|
-
export interface GetCountriesParams {
|
|
8
|
+
export interface GetCountriesParams extends BaseSelectQueryParams {
|
|
8
9
|
filters: {
|
|
9
10
|
idList?: number[];
|
|
10
11
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { BaseSelectQueryParams } from './common';
|
|
2
|
+
export interface GetDeactivationReasonsParams extends BaseSelectQueryParams {
|
|
2
3
|
filters: {
|
|
3
4
|
code?: string;
|
|
4
5
|
customerVisible?: boolean;
|
|
5
6
|
};
|
|
6
7
|
}
|
|
7
|
-
export interface GetLatestDeactivationByImeiParams {
|
|
8
|
+
export interface GetLatestDeactivationByImeiParams extends BaseSelectQueryParams {
|
|
8
9
|
filters: {
|
|
9
10
|
imei: string;
|
|
10
11
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { BaseSelectQueryParams } from './common';
|
|
1
2
|
import { DeviceBehaviorStatus, DeviceBehaviorTaskStatus, DeviceBehaviorType } from './enums';
|
|
2
|
-
export interface GetDeviceBehaviorsParams {
|
|
3
|
+
export interface GetDeviceBehaviorsParams extends BaseSelectQueryParams {
|
|
3
4
|
filters: {
|
|
4
5
|
status: DeviceBehaviorStatus;
|
|
5
6
|
imeiList: string[];
|
|
@@ -9,12 +10,12 @@ export interface GetDeviceBehaviorsParams {
|
|
|
9
10
|
type?: DeviceBehaviorType;
|
|
10
11
|
};
|
|
11
12
|
}
|
|
12
|
-
export interface GetDeviceBehaviorsByIdsParams {
|
|
13
|
+
export interface GetDeviceBehaviorsByIdsParams extends BaseSelectQueryParams {
|
|
13
14
|
filters: {
|
|
14
15
|
deviceBehaviorIdList: number[];
|
|
15
16
|
};
|
|
16
17
|
}
|
|
17
|
-
export interface GetDeviceBehaviorTasksParams {
|
|
18
|
+
export interface GetDeviceBehaviorTasksParams extends BaseSelectQueryParams {
|
|
18
19
|
filters: {
|
|
19
20
|
taskId?: string;
|
|
20
21
|
imeiList?: string[];
|
|
@@ -26,7 +27,7 @@ export interface GetDeviceBehaviorTasksParams {
|
|
|
26
27
|
offset?: number;
|
|
27
28
|
};
|
|
28
29
|
}
|
|
29
|
-
export interface GettDevicesLastBehaviorTaskParams {
|
|
30
|
+
export interface GettDevicesLastBehaviorTaskParams extends BaseSelectQueryParams {
|
|
30
31
|
filters: {
|
|
31
32
|
imeiList?: string[];
|
|
32
33
|
status?: DeviceBehaviorTaskStatus;
|
|
@@ -57,7 +58,7 @@ export interface UpdateDeviceBehaviorTaskParams {
|
|
|
57
58
|
status: DeviceBehaviorTaskStatus;
|
|
58
59
|
};
|
|
59
60
|
}
|
|
60
|
-
export interface GetLatestDeviceBehaviorTasksParams {
|
|
61
|
+
export interface GetLatestDeviceBehaviorTasksParams extends BaseSelectQueryParams {
|
|
61
62
|
filters: {
|
|
62
63
|
clientId: number;
|
|
63
64
|
type: DeviceBehaviorType;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BaseSelectQueryParams } from './common';
|
|
1
2
|
export interface CreateDevicePairingParams {
|
|
2
3
|
id?: number;
|
|
3
4
|
imeiMain: string;
|
|
@@ -10,7 +11,7 @@ export interface CreateDevicePairingParams {
|
|
|
10
11
|
secondaryDeviceStatus?: string | null;
|
|
11
12
|
notes?: string | null;
|
|
12
13
|
}
|
|
13
|
-
export interface GetDevicePairingsParams {
|
|
14
|
+
export interface GetDevicePairingsParams extends BaseSelectQueryParams {
|
|
14
15
|
filters: {
|
|
15
16
|
imeiMain?: string;
|
|
16
17
|
btmacMain?: string;
|
|
@@ -18,12 +19,12 @@ export interface GetDevicePairingsParams {
|
|
|
18
19
|
btmacSecondary?: string;
|
|
19
20
|
};
|
|
20
21
|
}
|
|
21
|
-
export interface GetDevicePairingsByImeiParams {
|
|
22
|
+
export interface GetDevicePairingsByImeiParams extends BaseSelectQueryParams {
|
|
22
23
|
filters: {
|
|
23
24
|
imei: string;
|
|
24
25
|
};
|
|
25
26
|
}
|
|
26
|
-
export interface GetDevicePairingsByClientIdParams {
|
|
27
|
+
export interface GetDevicePairingsByClientIdParams extends BaseSelectQueryParams {
|
|
27
28
|
filters: {
|
|
28
29
|
clientId: number;
|
|
29
30
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { Client, ClientDeviceSetting, Device } from '../entities';
|
|
2
2
|
import { Enums } from '.';
|
|
3
|
+
import { BaseSelectQueryParams } from './common';
|
|
3
4
|
interface DeviceStatusEntity {
|
|
4
5
|
imei: string;
|
|
5
6
|
clientId: number;
|
|
6
7
|
created: string;
|
|
7
8
|
sendTime: string;
|
|
8
9
|
}
|
|
9
|
-
export interface GetDeviceStatusesParams {
|
|
10
|
+
export interface GetDeviceStatusesParams extends BaseSelectQueryParams {
|
|
10
11
|
filters: {
|
|
11
12
|
imeiList?: string[];
|
|
12
13
|
clientId?: number;
|
|
@@ -27,7 +28,7 @@ export interface GetDeviceStatusesParams {
|
|
|
27
28
|
offset?: number;
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
|
-
export interface GetDeviceStatusesCountParams {
|
|
31
|
+
export interface GetDeviceStatusesCountParams extends BaseSelectQueryParams {
|
|
31
32
|
filters: {
|
|
32
33
|
imeiList?: string[];
|
|
33
34
|
clientId?: number;
|
package/dist/types/devices.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OptionalReportPagination } from './common';
|
|
1
|
+
import { BaseSelectQueryParams, OptionalReportPagination } from './common';
|
|
2
2
|
import { DeviceStatus } from './enums';
|
|
3
|
-
export interface GetDeviceParams {
|
|
3
|
+
export interface GetDeviceParams extends BaseSelectQueryParams {
|
|
4
4
|
filters: {
|
|
5
5
|
id?: number;
|
|
6
6
|
imei?: string;
|
|
@@ -28,17 +28,17 @@ export interface GetDevicesParams extends OptionalReportPagination {
|
|
|
28
28
|
sortOrder?: 'ASC' | 'DESC';
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
export interface AllImeisAreActiveForClientParams {
|
|
31
|
+
export interface AllImeisAreActiveForClientParams extends BaseSelectQueryParams {
|
|
32
32
|
imeiList: string[];
|
|
33
33
|
clientId: number;
|
|
34
34
|
}
|
|
35
|
-
export interface GetFilteredImeisWithStatusParams {
|
|
35
|
+
export interface GetFilteredImeisWithStatusParams extends BaseSelectQueryParams {
|
|
36
36
|
filters: {
|
|
37
37
|
imeiList: string[];
|
|
38
38
|
status: DeviceStatus;
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
export interface GetDeviceTypeByImeiParams {
|
|
41
|
+
export interface GetDeviceTypeByImeiParams extends BaseSelectQueryParams {
|
|
42
42
|
filters: {
|
|
43
43
|
imei: string;
|
|
44
44
|
};
|
|
@@ -93,7 +93,7 @@ export interface GenerateIdentifierKeyParams {
|
|
|
93
93
|
deviceTypeId: number;
|
|
94
94
|
deviceIdentifier: string;
|
|
95
95
|
}
|
|
96
|
-
export interface GetDeviceTypesParams {
|
|
96
|
+
export interface GetDeviceTypesParams extends BaseSelectQueryParams {
|
|
97
97
|
filters: {
|
|
98
98
|
deviceTypeIdList?: number[];
|
|
99
99
|
brand?: string;
|
|
@@ -104,13 +104,13 @@ export interface GetDeviceTypesParams {
|
|
|
104
104
|
activatable?: boolean;
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
|
-
export interface GetImeiIccidCarrierParams {
|
|
107
|
+
export interface GetImeiIccidCarrierParams extends BaseSelectQueryParams {
|
|
108
108
|
filters: {
|
|
109
109
|
imei?: string;
|
|
110
110
|
iccid?: string;
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
|
-
export interface GetImeiIccidCarriersParams {
|
|
113
|
+
export interface GetImeiIccidCarriersParams extends BaseSelectQueryParams {
|
|
114
114
|
filters: {
|
|
115
115
|
imeiList: string[];
|
|
116
116
|
};
|
|
@@ -135,13 +135,13 @@ export interface UpdateImeiIccidCarrierParams {
|
|
|
135
135
|
btmac?: string;
|
|
136
136
|
};
|
|
137
137
|
}
|
|
138
|
-
export interface GetClientDeviceSettingParams {
|
|
138
|
+
export interface GetClientDeviceSettingParams extends BaseSelectQueryParams {
|
|
139
139
|
filters: {
|
|
140
140
|
imei: string;
|
|
141
141
|
clientId: number;
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
|
-
export interface GetClientDeviceSettingsParams {
|
|
144
|
+
export interface GetClientDeviceSettingsParams extends BaseSelectQueryParams {
|
|
145
145
|
filters: {
|
|
146
146
|
clientId: number;
|
|
147
147
|
};
|
|
@@ -177,7 +177,7 @@ export interface UpdateClientDeviceSettingParams {
|
|
|
177
177
|
reportingMode?: string;
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
|
-
export interface GetDeviceTypesModelsOrderedByDeviceCountParams {
|
|
180
|
+
export interface GetDeviceTypesModelsOrderedByDeviceCountParams extends BaseSelectQueryParams {
|
|
181
181
|
filters: {
|
|
182
182
|
deviceStatus?: DeviceStatus;
|
|
183
183
|
};
|
|
@@ -189,7 +189,7 @@ export interface DeviceTypeModelWithDeviceCount {
|
|
|
189
189
|
protocolMatch: string;
|
|
190
190
|
deviceCount: number;
|
|
191
191
|
}
|
|
192
|
-
export interface GetDeviceCustomConfigParams {
|
|
192
|
+
export interface GetDeviceCustomConfigParams extends BaseSelectQueryParams {
|
|
193
193
|
filters: {
|
|
194
194
|
clientId?: number;
|
|
195
195
|
deviceTypeId?: number;
|
|
@@ -206,7 +206,7 @@ export interface CreateDeviceReplacementParams {
|
|
|
206
206
|
userId: string;
|
|
207
207
|
clientId: number;
|
|
208
208
|
}
|
|
209
|
-
export interface GetIccidStatusParams {
|
|
209
|
+
export interface GetIccidStatusParams extends BaseSelectQueryParams {
|
|
210
210
|
filters: {
|
|
211
211
|
iccid: string;
|
|
212
212
|
};
|
|
@@ -221,7 +221,7 @@ export interface UpdateIccidStatusParams {
|
|
|
221
221
|
carrierFound?: number;
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
|
-
export interface GetCanceledDevicesWithActiveSimCardsParams {
|
|
224
|
+
export interface GetCanceledDevicesWithActiveSimCardsParams extends BaseSelectQueryParams {
|
|
225
225
|
filters: {
|
|
226
226
|
lastAnalyzedDeviceId: number;
|
|
227
227
|
};
|
|
@@ -236,7 +236,7 @@ export interface CanceledDeviceWithActiveSimCard {
|
|
|
236
236
|
carrier: string;
|
|
237
237
|
deviceId: number;
|
|
238
238
|
}
|
|
239
|
-
export interface GetCarrierStatusUpdatedBeforeParams {
|
|
239
|
+
export interface GetCarrierStatusUpdatedBeforeParams extends BaseSelectQueryParams {
|
|
240
240
|
filters: {
|
|
241
241
|
beforeDate: Date;
|
|
242
242
|
};
|
|
@@ -262,7 +262,7 @@ export interface UpsertIccidStatusParams {
|
|
|
262
262
|
updateProcessing: boolean;
|
|
263
263
|
};
|
|
264
264
|
}
|
|
265
|
-
export interface GetDeviceWithUsersInfoParams {
|
|
265
|
+
export interface GetDeviceWithUsersInfoParams extends BaseSelectQueryParams {
|
|
266
266
|
filters: {
|
|
267
267
|
imei: string;
|
|
268
268
|
};
|
|
@@ -338,7 +338,7 @@ export interface UpdateDeviceTypeParams {
|
|
|
338
338
|
protocol?: string;
|
|
339
339
|
};
|
|
340
340
|
}
|
|
341
|
-
export interface GetDevicesCountByStatusParams {
|
|
341
|
+
export interface GetDevicesCountByStatusParams extends BaseSelectQueryParams {
|
|
342
342
|
filters: {
|
|
343
343
|
clientId: number;
|
|
344
344
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { BaseSelectQueryParams } from './common';
|
|
2
|
+
export interface GetDeviceFirmwaresParams extends BaseSelectQueryParams {
|
|
2
3
|
filters: {
|
|
3
4
|
deviceTypeId?: number;
|
|
4
5
|
firmwareId?: number;
|
|
@@ -7,7 +8,7 @@ export interface GetDeviceFirmwaresParams {
|
|
|
7
8
|
withDeviceType: boolean;
|
|
8
9
|
};
|
|
9
10
|
}
|
|
10
|
-
export interface GetFirmwareUpgradeTasksParams {
|
|
11
|
+
export interface GetFirmwareUpgradeTasksParams extends BaseSelectQueryParams {
|
|
11
12
|
filters: {
|
|
12
13
|
firmwareId?: number;
|
|
13
14
|
firmwareIds?: number[];
|
|
@@ -28,7 +29,7 @@ export interface GetFirmwareUpgradeTasksParams {
|
|
|
28
29
|
offset?: number;
|
|
29
30
|
};
|
|
30
31
|
}
|
|
31
|
-
export interface GetFirmwareAutoUpgradeBlacklistParams {
|
|
32
|
+
export interface GetFirmwareAutoUpgradeBlacklistParams extends BaseSelectQueryParams {
|
|
32
33
|
filters: {
|
|
33
34
|
clientId: number;
|
|
34
35
|
};
|
|
@@ -37,7 +38,7 @@ export interface GetFirmwareAutoUpgradeBlacklistParams {
|
|
|
37
38
|
offset?: number;
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
|
-
export interface GetFirmwareUpgradeTasksCountParams {
|
|
41
|
+
export interface GetFirmwareUpgradeTasksCountParams extends BaseSelectQueryParams {
|
|
41
42
|
filters: {
|
|
42
43
|
firmwareId?: number;
|
|
43
44
|
taskId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firmwares.js","sourceRoot":"","sources":["../../src/types/firmwares.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"firmwares.js","sourceRoot":"","sources":["../../src/types/firmwares.ts"],"names":[],"mappings":"AAqDA,MAAM,CAAN,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,uBAAQ,CAAA;IACR,wBAAS,CAAA;IACT,wBAAS,CAAA;IACT,0BAAW,CAAA;AACb,CAAC,EALW,WAAW,KAAX,WAAW,QAKtB;AA0BD,MAAM,CAAN,IAAY,yBAQX;AARD,WAAY,yBAAyB;IACnC,8CAAiB,CAAA;IACjB,8EAAiD,CAAA;IACjD,8FAAiE,CAAA;IACjE,sDAAyB,CAAA;IACzB,oDAAuB,CAAA;IACvB,kDAAqB,CAAA;IACrB,8CAAiB,CAAA;AACnB,CAAC,EARW,yBAAyB,KAAzB,yBAAyB,QAQpC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { BaseSelectQueryParams } from './common';
|
|
1
2
|
export interface UpsertLatestUserAppInfoParams {
|
|
2
3
|
id?: number;
|
|
3
4
|
userId: string;
|
|
4
5
|
deviceOs: string;
|
|
5
6
|
appVersion: string;
|
|
6
7
|
}
|
|
7
|
-
export interface GetLatestUserAppInfoParams {
|
|
8
|
+
export interface GetLatestUserAppInfoParams extends BaseSelectQueryParams {
|
|
8
9
|
filters: {
|
|
9
10
|
userId: string;
|
|
10
11
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OptionalReportPagination } from './common';
|
|
1
|
+
import { BaseSelectQueryParams, OptionalReportPagination } from './common';
|
|
2
2
|
export interface CreateLiveLinkParams {
|
|
3
3
|
id: string;
|
|
4
4
|
name: string;
|
|
@@ -23,7 +23,7 @@ export interface UpdateLiveLinkParams {
|
|
|
23
23
|
modifiedBy?: string;
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
|
-
export interface GetLiveLinksParams {
|
|
26
|
+
export interface GetLiveLinksParams extends BaseSelectQueryParams {
|
|
27
27
|
filters: {
|
|
28
28
|
id?: string;
|
|
29
29
|
clientId?: number;
|
|
@@ -38,7 +38,7 @@ export interface GetLiveLinksParams {
|
|
|
38
38
|
sortOrder: 'ASC' | 'DESC';
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
export interface GetLiveLinksCountParams {
|
|
41
|
+
export interface GetLiveLinksCountParams extends BaseSelectQueryParams {
|
|
42
42
|
filters: {
|
|
43
43
|
clientId: number;
|
|
44
44
|
status?: 'active' | 'inactive';
|
|
@@ -51,7 +51,7 @@ export interface GetLiveLinkDataParams extends OptionalReportPagination {
|
|
|
51
51
|
minSendTime?: Date;
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
|
-
export interface GetLiveLinkDataCountParams {
|
|
54
|
+
export interface GetLiveLinkDataCountParams extends BaseSelectQueryParams {
|
|
55
55
|
filters: {
|
|
56
56
|
id: string;
|
|
57
57
|
clientId: number;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { BaseSelectQueryParams } from './common';
|
|
1
2
|
import { NotificationRecipientType } from './enums';
|
|
2
|
-
export interface GetNotificationRecipientsParams {
|
|
3
|
+
export interface GetNotificationRecipientsParams extends BaseSelectQueryParams {
|
|
3
4
|
filters: {
|
|
4
5
|
clientId: number;
|
|
5
6
|
userId?: string;
|
package/dist/types/position.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReportPagination } from './common';
|
|
1
|
+
import { BaseSelectQueryParams, ReportPagination } from './common';
|
|
2
2
|
export interface CreatePositionParams {
|
|
3
3
|
id?: number;
|
|
4
4
|
imei: string;
|
|
@@ -17,7 +17,7 @@ export interface CreatePositionParams {
|
|
|
17
17
|
externalBatteryPercentage?: number;
|
|
18
18
|
externalPowerVoltage?: number;
|
|
19
19
|
}
|
|
20
|
-
export interface GetPositionsByImeiParams {
|
|
20
|
+
export interface GetPositionsByImeiParams extends BaseSelectQueryParams {
|
|
21
21
|
filters: {
|
|
22
22
|
imei: string;
|
|
23
23
|
};
|
|
@@ -54,7 +54,7 @@ export interface PositionReport {
|
|
|
54
54
|
externalBatteryPercentage: number;
|
|
55
55
|
totalCount: number;
|
|
56
56
|
}
|
|
57
|
-
export interface GetLatestPositionByImeiParams {
|
|
57
|
+
export interface GetLatestPositionByImeiParams extends BaseSelectQueryParams {
|
|
58
58
|
filters: {
|
|
59
59
|
imei: string;
|
|
60
60
|
};
|
package/dist/types/security.d.ts
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
|
+
import { BaseSelectQueryParams } from './common';
|
|
1
2
|
import { HapnSecurityRole } from './enums';
|
|
2
|
-
export interface GetUserRolesParams {
|
|
3
|
+
export interface GetUserRolesParams extends BaseSelectQueryParams {
|
|
3
4
|
filters: {
|
|
4
5
|
userId: string;
|
|
5
6
|
};
|
|
6
7
|
}
|
|
7
|
-
export interface GetUserRolesByClientIdParams {
|
|
8
|
+
export interface GetUserRolesByClientIdParams extends BaseSelectQueryParams {
|
|
8
9
|
filters: {
|
|
9
10
|
clientId: number;
|
|
10
11
|
role?: HapnSecurityRole;
|
|
11
12
|
};
|
|
12
13
|
}
|
|
13
|
-
export interface UserIsInRoleParams {
|
|
14
|
+
export interface UserIsInRoleParams extends BaseSelectQueryParams {
|
|
14
15
|
filters: {
|
|
15
16
|
userId: string;
|
|
16
17
|
role: HapnSecurityRole;
|
|
17
18
|
};
|
|
18
19
|
}
|
|
19
|
-
export interface UserIsAdminOrOwnerParams {
|
|
20
|
+
export interface UserIsAdminOrOwnerParams extends BaseSelectQueryParams {
|
|
20
21
|
filters: {
|
|
21
22
|
userId: string;
|
|
22
23
|
};
|
package/dist/types/tasks.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseSelectQueryParams } from './common';
|
|
2
2
|
export interface CreateTaskScheduleParams {
|
|
3
3
|
id?: number;
|
|
4
4
|
clientId: number;
|
|
@@ -17,7 +17,7 @@ export interface CreateTaskScheduleParams {
|
|
|
17
17
|
notes?: string;
|
|
18
18
|
createdBy: string;
|
|
19
19
|
}
|
|
20
|
-
export interface GetTaskScheduleParams extends
|
|
20
|
+
export interface GetTaskScheduleParams extends BaseSelectQueryParams {
|
|
21
21
|
filters: {
|
|
22
22
|
id: number;
|
|
23
23
|
};
|
|
@@ -81,7 +81,7 @@ export interface GetTaskSchedulesFilters {
|
|
|
81
81
|
statusList?: TaskScheduleStatus[];
|
|
82
82
|
authorizedImeis?: string[];
|
|
83
83
|
}
|
|
84
|
-
export interface GetTaskSchedulesParams extends
|
|
84
|
+
export interface GetTaskSchedulesParams extends BaseSelectQueryParams {
|
|
85
85
|
filters: GetTaskSchedulesFilters;
|
|
86
86
|
pagingOptions?: {
|
|
87
87
|
pageSize?: number;
|
|
@@ -95,10 +95,10 @@ export interface GetTaskSchedulesParams extends BaseParams {
|
|
|
95
95
|
sortOrder: 'ASC' | 'DESC';
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
export interface GetTaskSchedulesCountParams extends
|
|
98
|
+
export interface GetTaskSchedulesCountParams extends BaseSelectQueryParams {
|
|
99
99
|
filters: GetTaskSchedulesFilters;
|
|
100
100
|
}
|
|
101
|
-
export interface GetDeviceTasksParams extends
|
|
101
|
+
export interface GetDeviceTasksParams extends BaseSelectQueryParams {
|
|
102
102
|
filters: {
|
|
103
103
|
taskScheduleId?: number;
|
|
104
104
|
imei?: string;
|
|
@@ -161,7 +161,7 @@ export interface GetTasksFilters {
|
|
|
161
161
|
description?: string | null;
|
|
162
162
|
authorizedImeis?: string[];
|
|
163
163
|
}
|
|
164
|
-
export interface GetTasksParams extends
|
|
164
|
+
export interface GetTasksParams extends BaseSelectQueryParams {
|
|
165
165
|
filters: GetTasksFilters;
|
|
166
166
|
projectionOptions?: {
|
|
167
167
|
includeTaskSchedule?: boolean;
|
|
@@ -176,7 +176,7 @@ export interface GetTasksParams extends BaseParams {
|
|
|
176
176
|
sortOrder: 'ASC' | 'DESC';
|
|
177
177
|
};
|
|
178
178
|
}
|
|
179
|
-
export interface GetTasksCountParams extends
|
|
179
|
+
export interface GetTasksCountParams extends BaseSelectQueryParams {
|
|
180
180
|
filters: GetTasksFilters;
|
|
181
181
|
}
|
|
182
182
|
export interface UpdateTaskParams {
|
package/dist/types/user.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { User } from '../entities/user';
|
|
2
|
-
import {
|
|
3
|
-
export interface GetUsersConfigurationByImeiParams extends
|
|
2
|
+
import { BaseSelectQueryParams } from './common';
|
|
3
|
+
export interface GetUsersConfigurationByImeiParams extends BaseSelectQueryParams {
|
|
4
4
|
filters: {
|
|
5
5
|
imei: string;
|
|
6
6
|
};
|
|
7
7
|
}
|
|
8
|
-
export interface GetUserByIdParams extends
|
|
8
|
+
export interface GetUserByIdParams extends BaseSelectQueryParams {
|
|
9
9
|
filters: {
|
|
10
10
|
id: string;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
export interface GetUsersParams extends
|
|
13
|
+
export interface GetUsersParams extends BaseSelectQueryParams {
|
|
14
14
|
filters: {
|
|
15
15
|
emailList?: string[];
|
|
16
16
|
userName?: string;
|
|
@@ -19,13 +19,13 @@ export interface GetUsersParams extends BaseParams {
|
|
|
19
19
|
status?: string;
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
export interface GetUsersIdsByPhoneAndCountryCodeParams extends
|
|
22
|
+
export interface GetUsersIdsByPhoneAndCountryCodeParams extends BaseSelectQueryParams {
|
|
23
23
|
filters: {
|
|
24
24
|
phone: string;
|
|
25
25
|
countryCode: string;
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
|
-
export interface GetUsersWithRolesParams extends
|
|
28
|
+
export interface GetUsersWithRolesParams extends BaseSelectQueryParams {
|
|
29
29
|
filters: {
|
|
30
30
|
clientId: number;
|
|
31
31
|
roleId?: number;
|
|
@@ -92,7 +92,7 @@ export interface UpdateUserParams {
|
|
|
92
92
|
lastLoginAt?: Date;
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
|
-
export interface GetUsersDataParams extends
|
|
95
|
+
export interface GetUsersDataParams extends BaseSelectQueryParams {
|
|
96
96
|
filters: {
|
|
97
97
|
imei: string;
|
|
98
98
|
};
|
|
@@ -137,7 +137,7 @@ export interface UserInfoWithDevicesInfo {
|
|
|
137
137
|
userName: string;
|
|
138
138
|
devices: DeviceInfo[];
|
|
139
139
|
}
|
|
140
|
-
export interface GetUsersInfoWithDevicesInfoParams extends
|
|
140
|
+
export interface GetUsersInfoWithDevicesInfoParams extends BaseSelectQueryParams {
|
|
141
141
|
filters: {
|
|
142
142
|
userName: string;
|
|
143
143
|
};
|
|
@@ -149,7 +149,7 @@ export interface DeleteAccountParams {
|
|
|
149
149
|
email?: string;
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
|
-
export interface GetUserClientRelatedEntitiesCountParams extends
|
|
152
|
+
export interface GetUserClientRelatedEntitiesCountParams extends BaseSelectQueryParams {
|
|
153
153
|
filters: {
|
|
154
154
|
userId: string;
|
|
155
155
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { BaseSelectQueryParams } from './common';
|
|
1
2
|
export interface CreateUserActivationParams {
|
|
2
3
|
id?: number;
|
|
3
4
|
userId: string;
|
|
4
5
|
clientId: number;
|
|
5
6
|
status?: string;
|
|
6
7
|
}
|
|
7
|
-
export interface GetUserActivationsParams {
|
|
8
|
+
export interface GetUserActivationsParams extends BaseSelectQueryParams {
|
|
8
9
|
filters: {
|
|
9
10
|
userId?: string;
|
|
10
11
|
clientId?: number;
|
|
@@ -13,13 +14,13 @@ export interface GetUserActivationsParams {
|
|
|
13
14
|
export interface DeleteUserActivationParams {
|
|
14
15
|
userId: string;
|
|
15
16
|
}
|
|
16
|
-
export interface GetUserActivationDevicesParams {
|
|
17
|
+
export interface GetUserActivationDevicesParams extends BaseSelectQueryParams {
|
|
17
18
|
filters: {
|
|
18
19
|
id?: number;
|
|
19
20
|
imei?: string;
|
|
20
21
|
};
|
|
21
22
|
}
|
|
22
|
-
export interface GetUserActivationDevicesByClientIdParams {
|
|
23
|
+
export interface GetUserActivationDevicesByClientIdParams extends BaseSelectQueryParams {
|
|
23
24
|
filters: {
|
|
24
25
|
clientId: number;
|
|
25
26
|
};
|
|
@@ -45,7 +46,7 @@ export interface CreateUserActivationDeviceParams {
|
|
|
45
46
|
planCode?: string;
|
|
46
47
|
servicePlan?: string;
|
|
47
48
|
}
|
|
48
|
-
export interface GetLastActivationDeviceParams {
|
|
49
|
+
export interface GetLastActivationDeviceParams extends BaseSelectQueryParams {
|
|
49
50
|
filters: {
|
|
50
51
|
imei: string;
|
|
51
52
|
};
|
|
@@ -57,7 +58,7 @@ export interface GetLastActivationDeviceParams {
|
|
|
57
58
|
withUserActivation?: boolean;
|
|
58
59
|
};
|
|
59
60
|
}
|
|
60
|
-
export interface GetUserActivationMetricsParams {
|
|
61
|
+
export interface GetUserActivationMetricsParams extends BaseSelectQueryParams {
|
|
61
62
|
filters: {
|
|
62
63
|
userId: string;
|
|
63
64
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OptionalReportPagination } from './common';
|
|
2
|
-
export interface GetUserConfigurationsParams {
|
|
1
|
+
import { BaseSelectQueryParams, OptionalReportPagination } from './common';
|
|
2
|
+
export interface GetUserConfigurationsParams extends BaseSelectQueryParams {
|
|
3
3
|
filters: {
|
|
4
4
|
clientId?: number;
|
|
5
5
|
userId?: string;
|
|
@@ -40,7 +40,7 @@ export interface DeleteUserConfigurationParams {
|
|
|
40
40
|
userId: string;
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
export interface GetUserAlertConfigurationsParams {
|
|
43
|
+
export interface GetUserAlertConfigurationsParams extends BaseSelectQueryParams {
|
|
44
44
|
filters: {
|
|
45
45
|
userId: string;
|
|
46
46
|
includeBeta: boolean;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { BaseSelectQueryParams } from './common';
|
|
2
|
+
export interface GetUserInvitationByIdParams extends BaseSelectQueryParams {
|
|
2
3
|
filters: {
|
|
3
4
|
id: string;
|
|
4
5
|
};
|
|
5
6
|
}
|
|
6
|
-
export interface GetUserInvitationsParams {
|
|
7
|
+
export interface GetUserInvitationsParams extends BaseSelectQueryParams {
|
|
7
8
|
filters: {
|
|
8
9
|
inviterClientId?: number;
|
|
9
10
|
inviteeEmails?: string[];
|