@spytecgps/nova-orm 1.4.149 → 1.4.151
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/issue.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/novaDataSource.d.ts +2 -2
- package/dist/types/common.d.ts +4 -10
- package/dist/types/enums.d.ts +10 -0
- package/dist/types/index.d.ts +5 -39
- package/package.json +1 -1
- package/dist/repositories/acumatica/getAcumaticaImeiIccidData.d.ts +0 -5
- package/dist/repositories/acumatica/getAcumaticaShipmentAmazon.d.ts +0 -5
- package/dist/repositories/acumatica/getAcumaticaShipmentDetails.d.ts +0 -4
- package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.d.ts +0 -4
- package/dist/repositories/acumatica/getOrderShipmentInternational.d.ts +0 -5
- package/dist/repositories/acumatica/index.d.ts +0 -47
- package/dist/repositories/aempToken/createAempToken.d.ts +0 -5
- package/dist/repositories/aempToken/deleteAempTokens.d.ts +0 -4
- package/dist/repositories/aempToken/getAempTokens.d.ts +0 -5
- package/dist/repositories/aempToken/index.d.ts +0 -33
- package/dist/repositories/appFeatures/createAppFeatureType.d.ts +0 -5
- package/dist/repositories/appFeatures/createClientAppFeature.d.ts +0 -5
- package/dist/repositories/appFeatures/getClientAppFeatures.d.ts +0 -5
- package/dist/repositories/appFeatures/index.d.ts +0 -37
- package/dist/repositories/baseRepository.d.ts +0 -21
- package/dist/repositories/billing/createBilling.d.ts +0 -5
- package/dist/repositories/billing/createBillingDeviceHistory.d.ts +0 -5
- package/dist/repositories/billing/createBillingHubspotPaymentLog.d.ts +0 -5
- package/dist/repositories/billing/createBillingStatusHistoryBraintree.d.ts +0 -5
- package/dist/repositories/billing/getBillingCustomerBraintreeById.d.ts +0 -5
- package/dist/repositories/billing/getBillingSubscriptionsBraintree.d.ts +0 -5
- package/dist/repositories/billing/getBillings.d.ts +0 -5
- package/dist/repositories/billing/getBraintreePastDueSubscriptions.d.ts +0 -4
- package/dist/repositories/billing/getCanceledImeis.d.ts +0 -4
- package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.d.ts +0 -4
- package/dist/repositories/billing/getChurnStatusByClientId.d.ts +0 -4
- package/dist/repositories/billing/getClientIdFromBraintreeCustomer.d.ts +0 -4
- package/dist/repositories/billing/getMagentoPlan.d.ts +0 -5
- package/dist/repositories/billing/getUserByBraintreeCustomerId.d.ts +0 -5
- package/dist/repositories/billing/index.d.ts +0 -188
- package/dist/repositories/billing/updateBilling.d.ts +0 -4
- package/dist/repositories/billing/updateBillingCustomerBraintree.d.ts +0 -4
- package/dist/repositories/billing/upsertBillingCustomerBraintree.d.ts +0 -5
- package/dist/repositories/billing/upsertBillingSubscriptionBraintree.d.ts +0 -4
- package/dist/repositories/blacklist/deleteBlackList.d.ts +0 -4
- package/dist/repositories/blacklist/getBlacklists.d.ts +0 -5
- package/dist/repositories/blacklist/index.d.ts +0 -43
- package/dist/repositories/blacklist/updateBlackList.d.ts +0 -4
- package/dist/repositories/blacklist/upsertBlackList.d.ts +0 -5
- package/dist/repositories/boundaries/createBoundary.d.ts +0 -5
- package/dist/repositories/boundaries/deleteBoundary.d.ts +0 -4
- package/dist/repositories/boundaries/getBoundariesByClientId.d.ts +0 -5
- package/dist/repositories/boundaries/getBoundariesIdsByClientId.d.ts +0 -4
- package/dist/repositories/boundaries/getBoundariesReport.d.ts +0 -4
- package/dist/repositories/boundaries/getBoundaryById.d.ts +0 -5
- package/dist/repositories/boundaries/index.d.ts +0 -106
- package/dist/repositories/boundaries/processBoundaryEvent.d.ts +0 -4
- package/dist/repositories/boundaries/updateBoundary.d.ts +0 -4
- package/dist/repositories/boundaries/upsertBoundaryEvent.d.ts +0 -4
- package/dist/repositories/clientAlertConfiguration/createClientAlertConfiguration.d.ts +0 -5
- package/dist/repositories/clientAlertConfiguration/deleteClientAlertConfiguration.d.ts +0 -4
- package/dist/repositories/clientAlertConfiguration/getClientAlertConfigurations.d.ts +0 -5
- package/dist/repositories/clientAlertConfiguration/getClientAlertRecipients.d.ts +0 -4
- package/dist/repositories/clientAlertConfiguration/getUsersDataForClientAlertConfig.d.ts +0 -4
- package/dist/repositories/clientAlertConfiguration/index.d.ts +0 -13
- package/dist/repositories/clientAlertConfiguration/isUserAllowedForAlertConfig.d.ts +0 -4
- package/dist/repositories/clientAlertConfiguration/setClientAlertRecipients.d.ts +0 -4
- package/dist/repositories/clientAlertConfiguration/updateClientAlertConfiguration.d.ts +0 -4
- package/dist/repositories/clients/createClient.d.ts +0 -5
- package/dist/repositories/clients/createClientConfiguration.d.ts +0 -5
- package/dist/repositories/clients/createClientIngestorConfiguration.d.ts +0 -5
- package/dist/repositories/clients/createCustomerAttribute.d.ts +0 -5
- package/dist/repositories/clients/deleteClientAndConfiguration.d.ts +0 -4
- package/dist/repositories/clients/getClient.d.ts +0 -5
- package/dist/repositories/clients/getClientConfiguration.d.ts +0 -5
- package/dist/repositories/clients/getClientIngestorConfigurations.d.ts +0 -4
- package/dist/repositories/clients/getClients.d.ts +0 -5
- package/dist/repositories/clients/getCustomerAttribute.d.ts +0 -5
- package/dist/repositories/clients/index.d.ts +0 -138
- package/dist/repositories/clients/updateClient.d.ts +0 -4
- package/dist/repositories/clients/updateClientConfiguration.d.ts +0 -4
- package/dist/repositories/clients/updateCustomerAttribute.d.ts +0 -4
- package/dist/repositories/countries/getCountries.d.ts +0 -4
- package/dist/repositories/countries/getCountry.d.ts +0 -5
- package/dist/repositories/countries/index.d.ts +0 -20
- package/dist/repositories/deactivations/createDeactivation.d.ts +0 -5
- package/dist/repositories/deactivations/getDeactivationReasons.d.ts +0 -5
- package/dist/repositories/deactivations/getLatestDeactivationByImei.d.ts +0 -5
- package/dist/repositories/deactivations/index.d.ts +0 -38
- package/dist/repositories/deviceBehaviors/createDeviceBehaviorTask.d.ts +0 -5
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.d.ts +0 -5
- package/dist/repositories/deviceBehaviors/getDeviceBehaviors.d.ts +0 -5
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.d.ts +0 -5
- package/dist/repositories/deviceBehaviors/index.d.ts +0 -70
- package/dist/repositories/deviceBehaviors/updateDeviceBehaviorTask.d.ts +0 -4
- package/dist/repositories/deviceBehaviors/upsertDeviceBehavior.d.ts +0 -5
- package/dist/repositories/devicePairings/createDevicePairing.d.ts +0 -5
- package/dist/repositories/devicePairings/deleteDevicePairing.d.ts +0 -4
- package/dist/repositories/devicePairings/getDevicePairings.d.ts +0 -5
- package/dist/repositories/devicePairings/getDevicePairingsByClientId.d.ts +0 -5
- package/dist/repositories/devicePairings/getDevicePairingsByImei.d.ts +0 -5
- package/dist/repositories/devicePairings/index.d.ts +0 -65
- package/dist/repositories/devicePairings/updateDevicePairing.d.ts +0 -4
- package/dist/repositories/deviceStatus/extendedDeviceStatus.d.ts +0 -12
- package/dist/repositories/deviceStatus/getDeviceStatuses.d.ts +0 -4
- package/dist/repositories/deviceStatus/getDeviceStatusesCount.d.ts +0 -4
- package/dist/repositories/deviceStatus/index.d.ts +0 -35
- package/dist/repositories/deviceStatus/upsertDeviceStatuses.d.ts +0 -4
- package/dist/repositories/deviceTypeFeature/bulkCreateDeviceTypeFeature.d.ts +0 -5
- package/dist/repositories/deviceTypeFeature/deleteDeviceTypeFeature.d.ts +0 -4
- package/dist/repositories/deviceTypeFeature/getDeviceTypeFeatures.d.ts +0 -4
- package/dist/repositories/deviceTypeFeature/index.d.ts +0 -27
- package/dist/repositories/devices/addDeviceChangesHistory.d.ts +0 -5
- package/dist/repositories/devices/allImeisAreActiveForClient.d.ts +0 -4
- package/dist/repositories/devices/createClientDeviceSetting.d.ts +0 -5
- package/dist/repositories/devices/createDevice.d.ts +0 -5
- package/dist/repositories/devices/createDeviceReplacement.d.ts +0 -5
- package/dist/repositories/devices/createDeviceType.d.ts +0 -5
- package/dist/repositories/devices/createImeiIccidCarrier.d.ts +0 -5
- package/dist/repositories/devices/deleteDevice.d.ts +0 -4
- package/dist/repositories/devices/generateDeviceIdentifierKey.d.ts +0 -4
- package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.d.ts +0 -4
- package/dist/repositories/devices/getCarrierStatusUpdatedBefore.d.ts +0 -4
- package/dist/repositories/devices/getClientDeviceSetting.d.ts +0 -5
- package/dist/repositories/devices/getClientDeviceSettings.d.ts +0 -5
- package/dist/repositories/devices/getDevice.d.ts +0 -5
- package/dist/repositories/devices/getDeviceChangesHistory.d.ts +0 -5
- package/dist/repositories/devices/getDeviceChangesHistoryAssignedToValuesByClient.d.ts +0 -4
- package/dist/repositories/devices/getDeviceCustomConfig.d.ts +0 -5
- package/dist/repositories/devices/getDeviceTypeByImei.d.ts +0 -5
- package/dist/repositories/devices/getDeviceTypes.d.ts +0 -4
- package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.d.ts +0 -3
- package/dist/repositories/devices/getDeviceWithUsersInfo.d.ts +0 -4
- package/dist/repositories/devices/getDevices.d.ts +0 -5
- package/dist/repositories/devices/getDevicesCountByStatus.d.ts +0 -4
- package/dist/repositories/devices/getFilteredImeisWithStatus.d.ts +0 -4
- package/dist/repositories/devices/getIccidStatus.d.ts +0 -5
- package/dist/repositories/devices/getImeiIccidCarrier.d.ts +0 -5
- package/dist/repositories/devices/getImeiIccidCarriers.d.ts +0 -5
- package/dist/repositories/devices/getServiceProviderProduct.d.ts +0 -5
- package/dist/repositories/devices/index.d.ts +0 -331
- package/dist/repositories/devices/updateClientDeviceSetting.d.ts +0 -4
- package/dist/repositories/devices/updateDevice.d.ts +0 -4
- package/dist/repositories/devices/updateDeviceType.d.ts +0 -4
- package/dist/repositories/devices/updateIccidStatus.d.ts +0 -4
- package/dist/repositories/devices/updateImeiIccidCarrier.d.ts +0 -4
- package/dist/repositories/devices/upsertDeviceCustomConfig.d.ts +0 -4
- package/dist/repositories/devices/upsertIccidStatus.d.ts +0 -4
- package/dist/repositories/entityTags/bulkCreateEntityTag.d.ts +0 -5
- package/dist/repositories/entityTags/bulkDeleteEntityTag.d.ts +0 -4
- package/dist/repositories/entityTags/createEntityTag.d.ts +0 -5
- package/dist/repositories/entityTags/deleteEntityTag.d.ts +0 -4
- package/dist/repositories/entityTags/deleteEntityTagById.d.ts +0 -3
- package/dist/repositories/entityTags/enforceEntityTagsByEntity.d.ts +0 -4
- package/dist/repositories/entityTags/getEntityTagById.d.ts +0 -5
- package/dist/repositories/entityTags/index.d.ts +0 -48
- package/dist/repositories/entityTags/searchEntityTags.d.ts +0 -4
- package/dist/repositories/features/createFeature.d.ts +0 -5
- package/dist/repositories/features/deleteFeature.d.ts +0 -4
- package/dist/repositories/features/getFeatures.d.ts +0 -4
- package/dist/repositories/features/index.d.ts +0 -33
- package/dist/repositories/features/upsertFeature.d.ts +0 -4
- package/dist/repositories/firmwares/createDeviceFirmware.d.ts +0 -5
- package/dist/repositories/firmwares/createFirmwareAutoUpgradeBlacklist.d.ts +0 -5
- package/dist/repositories/firmwares/createFirmwareUpgradeTask.d.ts +0 -5
- package/dist/repositories/firmwares/getDeviceFirmwares.d.ts +0 -4
- package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.d.ts +0 -5
- package/dist/repositories/firmwares/getFirmwareUpgradeTasks.d.ts +0 -5
- package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.d.ts +0 -4
- package/dist/repositories/firmwares/index.d.ts +0 -132
- package/dist/repositories/firmwares/updateDeviceFirmware.d.ts +0 -4
- package/dist/repositories/firmwares/updateFirmwareUpgradeTasks.d.ts +0 -4
- package/dist/repositories/index.d.ts +0 -34
- package/dist/repositories/notificationRecipients/createNotificationRecipient.d.ts +0 -5
- package/dist/repositories/notificationRecipients/deleteNotificationRecipients.d.ts +0 -4
- package/dist/repositories/notificationRecipients/deleteNotificationRecipientsByEmailOrPhone.d.ts +0 -4
- package/dist/repositories/notificationRecipients/getNotificationRecipients.d.ts +0 -5
- package/dist/repositories/notificationRecipients/index.d.ts +0 -83
- package/dist/repositories/notificationRecipients/updateNotificationRecipient.d.ts +0 -4
- package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsubscribedInfoStatus.d.ts +0 -4
- package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsuscribedStatus.d.ts +0 -4
- package/dist/repositories/positions/createPosition.d.ts +0 -6
- package/dist/repositories/positions/getBatteryReportForDevice.d.ts +0 -4
- package/dist/repositories/positions/getLatestPositionByImei.d.ts +0 -5
- package/dist/repositories/positions/getPositionsByImei.d.ts +0 -5
- package/dist/repositories/positions/getPositionsReportByClient.d.ts +0 -4
- package/dist/repositories/positions/index.d.ts +0 -69
- package/dist/repositories/positions/mapping/mapToPositionReport.d.ts +0 -5
- package/dist/repositories/positions/upsertLatestPosition.d.ts +0 -4
- package/dist/repositories/promotions/bulkInsertDeviceTypePromotion.d.ts +0 -5
- package/dist/repositories/promotions/bulkInsertMarketplacePromotion.d.ts +0 -5
- package/dist/repositories/promotions/createPromotion.d.ts +0 -5
- package/dist/repositories/promotions/createPromotionHistory.d.ts +0 -5
- package/dist/repositories/promotions/deleteDeviceTypePromotion.d.ts +0 -4
- package/dist/repositories/promotions/deleteMarketplacePromotion.d.ts +0 -4
- package/dist/repositories/promotions/getDeviceTypePromotion.d.ts +0 -5
- package/dist/repositories/promotions/getMarketplacePromotion.d.ts +0 -5
- package/dist/repositories/promotions/getPromotions.d.ts +0 -5
- package/dist/repositories/promotions/index.d.ts +0 -72
- package/dist/repositories/promotions/promotionValidator.d.ts +0 -3
- package/dist/repositories/promotions/updatePromotion.d.ts +0 -4
- package/dist/repositories/security/bulkCreateUserAuthorizedBoundaries.d.ts +0 -4
- package/dist/repositories/security/bulkCreateUserAuthorizedDevices.d.ts +0 -4
- package/dist/repositories/security/bulkRemoveUserAuthorizedBoundaries.d.ts +0 -4
- package/dist/repositories/security/bulkRemoveUserAuthorizedDevices.d.ts +0 -4
- package/dist/repositories/security/createUserRole.d.ts +0 -5
- package/dist/repositories/security/getAllRoles.d.ts +0 -3
- package/dist/repositories/security/getAuthorizedBoundariesByUserId.d.ts +0 -5
- package/dist/repositories/security/getAuthorizedDevicesByUserId.d.ts +0 -5
- package/dist/repositories/security/getUserIdsByClientIdAndAuthorizedBoundaries.d.ts +0 -4
- package/dist/repositories/security/getUserIdsByClientIdAndAuthorizedDevices.d.ts +0 -4
- package/dist/repositories/security/getUserRoles.d.ts +0 -5
- package/dist/repositories/security/getUserRolesByClientId.d.ts +0 -5
- package/dist/repositories/security/index.d.ts +0 -64
- package/dist/repositories/security/removeUserRoles.d.ts +0 -4
- package/dist/repositories/security/updateUserRole.d.ts +0 -4
- package/dist/repositories/security/userIsAdminOrOwner.d.ts +0 -4
- package/dist/repositories/security/userIsInRole.d.ts +0 -4
- package/dist/repositories/tags/bulkCreateTags.d.ts +0 -5
- package/dist/repositories/tags/createTag.d.ts +0 -5
- package/dist/repositories/tags/deleteTag.d.ts +0 -4
- package/dist/repositories/tags/index.d.ts +0 -41
- package/dist/repositories/tags/searchTags.d.ts +0 -4
- package/dist/repositories/tags/searchTagsByUser.d.ts +0 -4
- package/dist/repositories/tags/updateTag.d.ts +0 -4
- package/dist/repositories/tasks/addTaskScheduleDevices.d.ts +0 -4
- package/dist/repositories/tasks/completeTask.d.ts +0 -4
- package/dist/repositories/tasks/createTask.d.ts +0 -5
- package/dist/repositories/tasks/createTaskSchedule.d.ts +0 -5
- package/dist/repositories/tasks/deleteTask.d.ts +0 -4
- package/dist/repositories/tasks/deleteTaskSchedule.d.ts +0 -4
- package/dist/repositories/tasks/deleteTaskScheduleDevices.d.ts +0 -4
- package/dist/repositories/tasks/getDeviceTasks.d.ts +0 -5
- package/dist/repositories/tasks/getTaskSchedule.d.ts +0 -5
- package/dist/repositories/tasks/getTaskSchedules.d.ts +0 -5
- package/dist/repositories/tasks/getTaskSchedulesCount.d.ts +0 -4
- package/dist/repositories/tasks/getTasks.d.ts +0 -5
- package/dist/repositories/tasks/getTasksCount.d.ts +0 -4
- package/dist/repositories/tasks/index.d.ts +0 -325
- package/dist/repositories/tasks/setTaskAsPastDue.d.ts +0 -4
- package/dist/repositories/tasks/setTaskScheduleDevices.d.ts +0 -4
- package/dist/repositories/tasks/updateTask.d.ts +0 -4
- package/dist/repositories/tasks/updateTaskSchedule.d.ts +0 -4
- package/dist/repositories/userActivations/createUserActivation.d.ts +0 -5
- package/dist/repositories/userActivations/createUserActivationDevice.d.ts +0 -5
- package/dist/repositories/userActivations/createUserActivationEvent.d.ts +0 -5
- package/dist/repositories/userActivations/createUserActivationMetric.d.ts +0 -5
- package/dist/repositories/userActivations/deleteUserActivation.d.ts +0 -4
- package/dist/repositories/userActivations/getLastActivationDevice.d.ts +0 -5
- package/dist/repositories/userActivations/getUserActivationById.d.ts +0 -5
- package/dist/repositories/userActivations/getUserActivationDevices.d.ts +0 -5
- package/dist/repositories/userActivations/getUserActivationDevicesByClientId.d.ts +0 -5
- package/dist/repositories/userActivations/getUserActivationMetrics.d.ts +0 -5
- package/dist/repositories/userActivations/getUserActivations.d.ts +0 -5
- package/dist/repositories/userActivations/index.d.ts +0 -147
- package/dist/repositories/userActivations/updateUserActivationDevice.d.ts +0 -4
- package/dist/repositories/userActivations/updateUserActivationMetrics.d.ts +0 -4
- package/dist/repositories/userAppFeedback/createUserAppFeedback.d.ts +0 -5
- package/dist/repositories/userAppFeedback/index.d.ts +0 -17
- package/dist/repositories/userAppIncidents/getUserAppIncidents.d.ts +0 -5
- package/dist/repositories/userAppIncidents/index.d.ts +0 -50
- package/dist/repositories/userAppIncidents/upsertUserAppIncident.d.ts +0 -4
- package/dist/repositories/userConfigurations/bulkCreateUserAlertConfigurations.d.ts +0 -5
- package/dist/repositories/userConfigurations/createUserAlertConfiguration.d.ts +0 -5
- package/dist/repositories/userConfigurations/createUserConfiguration.d.ts +0 -5
- package/dist/repositories/userConfigurations/deleteUserAlertConfigurations.d.ts +0 -4
- package/dist/repositories/userConfigurations/deleteUserAlertNotificationsConfig.d.ts +0 -4
- package/dist/repositories/userConfigurations/deleteUserConfiguration.d.ts +0 -4
- package/dist/repositories/userConfigurations/getUserAlertConfigurations.d.ts +0 -5
- package/dist/repositories/userConfigurations/getUserAlertNotificationsConfig.d.ts +0 -5
- package/dist/repositories/userConfigurations/getUserConfigurations.d.ts +0 -5
- package/dist/repositories/userConfigurations/index.d.ts +0 -170
- package/dist/repositories/userConfigurations/updateUserAlertConfigurations.d.ts +0 -4
- package/dist/repositories/userConfigurations/updateUserAlertConfigurationsByIds.d.ts +0 -4
- package/dist/repositories/userConfigurations/updateUserConfiguration.d.ts +0 -4
- package/dist/repositories/userConfigurations/upsertUserAlertNotificationsConfig.d.ts +0 -4
- package/dist/repositories/userDataDeletionRequests/createUserDataDeletionRequest.d.ts +0 -5
- package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.d.ts +0 -5
- package/dist/repositories/userDataDeletionRequests/index.d.ts +0 -39
- package/dist/repositories/userDataDeletionRequests/removeUserDataDeletionRequest.d.ts +0 -4
- package/dist/repositories/userDataDeletionRequests/updateUserDataDeletionRequest.d.ts +0 -4
- package/dist/repositories/userInvitations/createUserInvitation.d.ts +0 -5
- package/dist/repositories/userInvitations/getUserInvitationById.d.ts +0 -5
- package/dist/repositories/userInvitations/getUserInvitations.d.ts +0 -5
- package/dist/repositories/userInvitations/index.d.ts +0 -58
- package/dist/repositories/userInvitations/updateUserInvitation.d.ts +0 -4
- package/dist/repositories/userRatingRequests/createUserRatingRequest.d.ts +0 -5
- package/dist/repositories/userRatingRequests/getUserRatingRequests.d.ts +0 -5
- package/dist/repositories/userRatingRequests/index.d.ts +0 -28
- package/dist/repositories/userRegistrationAttempts/createUserRegistrationAttempt.d.ts +0 -5
- package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.d.ts +0 -5
- package/dist/repositories/userRegistrationAttempts/index.d.ts +0 -50
- package/dist/repositories/userRegistrationAttempts/updateUserRegistrationAttempt.d.ts +0 -4
- package/dist/repositories/users/createUser.d.ts +0 -5
- package/dist/repositories/users/deleteAccount.d.ts +0 -4
- package/dist/repositories/users/deleteUser.d.ts +0 -4
- package/dist/repositories/users/deleteUserData.d.ts +0 -4
- package/dist/repositories/users/getUserById.d.ts +0 -5
- package/dist/repositories/users/getUserClientRelatedEntitiesCount.d.ts +0 -4
- package/dist/repositories/users/getUserData.d.ts +0 -4
- package/dist/repositories/users/getUserInfoWithAmazonDevicesInfo.d.ts +0 -4
- package/dist/repositories/users/getUsers.d.ts +0 -5
- package/dist/repositories/users/getUsersConfigurationByImei.d.ts +0 -5
- package/dist/repositories/users/getUsersIdByPhoneAndCountryCode.d.ts +0 -4
- package/dist/repositories/users/getUsersInfoWithDevicesInfo.d.ts +0 -4
- package/dist/repositories/users/getUsersWithRoles.d.ts +0 -4
- package/dist/repositories/users/index.d.ts +0 -154
- package/dist/repositories/users/updateUser.d.ts +0 -4
- package/dist/types/acumatica.d.ts +0 -42
- package/dist/types/aempToken.d.ts +0 -20
- package/dist/types/alert.d.ts +0 -87
- package/dist/types/alertTypes.d.ts +0 -6
- package/dist/types/appFeatures.d.ts +0 -24
- package/dist/types/billing.d.ts +0 -244
- package/dist/types/blacklist.d.ts +0 -32
- package/dist/types/bleMesh.d.ts +0 -157
- package/dist/types/bleMeshConfiguration.d.ts +0 -30
- package/dist/types/boundaries.d.ts +0 -125
- package/dist/types/clientAlertConfiguration.d.ts +0 -103
- package/dist/types/clients.d.ts +0 -142
- package/dist/types/countries.d.ts +0 -12
- package/dist/types/dataExports.d.ts +0 -43
- package/dist/types/deactivations.d.ts +0 -25
- package/dist/types/deviceBehaviors.d.ts +0 -97
- package/dist/types/devicePairings.d.ts +0 -56
- package/dist/types/deviceStatus.d.ts +0 -87
- package/dist/types/deviceTypeFeature.d.ts +0 -23
- package/dist/types/devices.d.ts +0 -421
- package/dist/types/entitiesTags.d.ts +0 -67
- package/dist/types/feature.d.ts +0 -20
- package/dist/types/firmwares.d.ts +0 -132
- package/dist/types/latestUserAppInfo.d.ts +0 -12
- package/dist/types/liveLinks.d.ts +0 -92
- package/dist/types/notificationRecipients.d.ts +0 -72
- package/dist/types/position.d.ts +0 -72
- package/dist/types/promotion.d.ts +0 -121
- package/dist/types/security.d.ts +0 -100
- package/dist/types/tag.d.ts +0 -65
- package/dist/types/tasks.d.ts +0 -228
- package/dist/types/trip.d.ts +0 -98
- package/dist/types/user.d.ts +0 -260
- package/dist/types/userActivations.d.ts +0 -144
- package/dist/types/userAppFeedback.d.ts +0 -8
- package/dist/types/userAppIncidents.d.ts +0 -35
- package/dist/types/userConfigurations.d.ts +0 -131
- package/dist/types/userDataDeletionRequests.d.ts +0 -29
- package/dist/types/userInvitations.d.ts +0 -48
- package/dist/types/userRatingRequests.d.ts +0 -18
- package/dist/types/userRegistrationAttempts.d.ts +0 -36
- package/dist/utils/anyAttributeHasValue.d.ts +0 -1
- package/dist/utils/billingPlansHelper.d.ts +0 -3
- package/dist/utils/createBatchesWithMapping.d.ts +0 -1
- package/dist/utils/filterTools.d.ts +0 -12
|
@@ -1,331 +0,0 @@
|
|
|
1
|
-
import { ClientDeviceSetting, Device, DeviceChangesHistory, DeviceCustomConfiguration, DeviceReplacement, DeviceType, IccidStatus, ImeiIccidCarrier, ServiceProviderProduct } from '../../entities';
|
|
2
|
-
import { AddDeviceChangesHistoryParams, AllImeisAreActiveForClientParams, CanceledDeviceWithActiveSimCard, CarrierStatus, CreateClientDeviceSettingParams, CreateDeviceParams, CreateDeviceReplacementParams, CreateDeviceTypeParams, CreateImeiIccidCarrierParams, DeleteDeviceParams, DevicesCountByStatus, DeviceTypeModelWithDeviceCount, DeviceWithUsersInfo, GenerateIdentifierKeyParams, GetCanceledDevicesWithActiveSimCardsParams, GetCarrierStatusUpdatedBeforeParams, GetClientDeviceSettingParams, GetClientDeviceSettingsParams, GetDeviceChangesHistoryAssignedToValuesByClientParams, GetDeviceChangesHistoryParams, GetDeviceCustomConfigParams, GetDeviceParams, GetDevicesCountByStatusParams, GetDevicesParams, GetDeviceTypeByImeiParams, GetDeviceTypesModelsOrderedByDeviceCountParams, GetDeviceTypesParams, GetDeviceWithUsersInfoParams, GetFilteredImeisWithStatusParams, GetIccidStatusParams, GetImeiIccidCarrierParams, GetImeiIccidCarriersParams, GetServiceProviderProductParams, UpdateClientDeviceSettingParams, UpdateDeviceParams, UpdateDeviceTypeParams, UpdateIccidStatusParams, UpdateImeiIccidCarrierParams, UpsertDeviceCustomConfigParams, UpsertIccidStatusParams } from '../../types/devices';
|
|
3
|
-
import { BaseRepository2 } from './../baseRepository';
|
|
4
|
-
export declare class DevicesRepository extends BaseRepository2 {
|
|
5
|
-
/**
|
|
6
|
-
* Get device with filters
|
|
7
|
-
* @param {GetDeviceParams} params containing information to get a device with filters
|
|
8
|
-
* - filters.imei: The imei of the device
|
|
9
|
-
* - filters.id: The id of the device
|
|
10
|
-
* - projectionOptions.withDeviceType: Whether to get the device type object
|
|
11
|
-
* - projectionOptions.withIccidCarrier: Whether to get the iccid carrier object
|
|
12
|
-
*/
|
|
13
|
-
getDevice(params: GetDeviceParams): Promise<Device>;
|
|
14
|
-
/**
|
|
15
|
-
* Get devices by type id
|
|
16
|
-
* @param {GetDevicesParams} params containing information to get devices by type id
|
|
17
|
-
* - filters.deviceTypeId: The device type id
|
|
18
|
-
* - filters.status: The device status
|
|
19
|
-
* - filters.clientId: The client id
|
|
20
|
-
* - filters.imeiList: The imei list
|
|
21
|
-
* - projectionOptions.withDeviceType: Whether to get the device type object
|
|
22
|
-
* - projectionOptions.withIccidCarrier: Whether to get the iccid carrier object
|
|
23
|
-
*/
|
|
24
|
-
getDevices(params: GetDevicesParams): Promise<Device[]>;
|
|
25
|
-
/**
|
|
26
|
-
* Check if all imeis are active for a client
|
|
27
|
-
* @param {AllImeisAreActiveForClientParams} params containing information to check if all imeis are active for a client
|
|
28
|
-
* - imeis: The imeis to check
|
|
29
|
-
* - clientId: The client id
|
|
30
|
-
* @returns {Promise<boolean>} Whether all imeis are active for a client
|
|
31
|
-
*/
|
|
32
|
-
allImeisAreActiveForClient(params: AllImeisAreActiveForClientParams): Promise<boolean>;
|
|
33
|
-
/**
|
|
34
|
-
* Get filtered imeis with status
|
|
35
|
-
* @param {GetFilteredImeisWithStatusParams} params containing information to get filtered imeis with status
|
|
36
|
-
* - filters.imeiList: The imei list to filter
|
|
37
|
-
* - filters.status: The device status
|
|
38
|
-
* @returns {Promise<string>} The imei list filtered by status
|
|
39
|
-
*/
|
|
40
|
-
getFilteredImeisWithStatus(params: GetFilteredImeisWithStatusParams): Promise<string[]>;
|
|
41
|
-
/**
|
|
42
|
-
* Create device
|
|
43
|
-
* @param {CreateDeviceParams} params containing information to create a device
|
|
44
|
-
* - identifier: The device identifier
|
|
45
|
-
* - imei: The imei of the device
|
|
46
|
-
* - clientId: The client id
|
|
47
|
-
* - deviceTypeId: The device type id
|
|
48
|
-
* - iccid: The iccid of the device
|
|
49
|
-
* - name: The name of the device
|
|
50
|
-
* - color: The color of the device
|
|
51
|
-
* - icon: The icon of the device
|
|
52
|
-
* - status: The status of the device
|
|
53
|
-
* - forward: Whether to forward the device
|
|
54
|
-
* - description: The description of the device
|
|
55
|
-
* - dataSourceTypeId: The data source type id of the device
|
|
56
|
-
* - assetCategoryId: The asset category id of the device
|
|
57
|
-
* - usageRegion: The usage region of the device
|
|
58
|
-
* - createdBy: The user who created the device
|
|
59
|
-
*
|
|
60
|
-
* @returns {Promise<Device>} The created device
|
|
61
|
-
*/
|
|
62
|
-
createDevice(params: CreateDeviceParams): Promise<Device>;
|
|
63
|
-
/**
|
|
64
|
-
* Update device
|
|
65
|
-
* @param {UpdateDeviceParams} params containing information to update a device
|
|
66
|
-
* - filters.imei: The imei of the device
|
|
67
|
-
* - filters.status: The status of the device
|
|
68
|
-
* - filters.clientId: The client id
|
|
69
|
-
* - values.clientId: The client id
|
|
70
|
-
* - values.deviceTypeId: The device type id
|
|
71
|
-
* - values.iccid: The iccid of the device
|
|
72
|
-
* - values.name: The name of the device
|
|
73
|
-
* - values.color: The color of the device
|
|
74
|
-
* - values.icon: The icon of the device
|
|
75
|
-
* - values.status: The status of the device
|
|
76
|
-
* - values.forward: Whether to forward the device
|
|
77
|
-
* - values.description: The description of the device
|
|
78
|
-
* - values.dataSourceTypeId: The data source type id of the device
|
|
79
|
-
* - values.assetCategoryId: The asset category id of the device
|
|
80
|
-
* - values.usageRegion: The usage region of the device
|
|
81
|
-
* - values.modifiedBy: The user who updated the device
|
|
82
|
-
* @returns {Promise<boolean>} Whether the device was updated
|
|
83
|
-
*/
|
|
84
|
-
updateDevice(params: UpdateDeviceParams): Promise<boolean>;
|
|
85
|
-
/**
|
|
86
|
-
* Delete device
|
|
87
|
-
* @param {DeleteDeviceParams} params containing information to delete a device
|
|
88
|
-
* - filters.imei: The imei of the device
|
|
89
|
-
*
|
|
90
|
-
* @returns {Promise<boolean>} Whether the device was deleted
|
|
91
|
-
*/
|
|
92
|
-
deleteDevice(params: DeleteDeviceParams): Promise<boolean>;
|
|
93
|
-
/**
|
|
94
|
-
* Generate device identifier key from device type and device identifier
|
|
95
|
-
* @param {GenerateIdentifierKeyParams} params containing information to generate a device identifier key
|
|
96
|
-
* - deviceTypeId: The device type id
|
|
97
|
-
* - deviceIdentifier: The device identifier
|
|
98
|
-
* @returns {Promise<string>} The generated device identifier key
|
|
99
|
-
*/
|
|
100
|
-
generateDeviceIdentifierKey(params: GenerateIdentifierKeyParams): Promise<string>;
|
|
101
|
-
/**
|
|
102
|
-
* Get device types
|
|
103
|
-
* @param {GetDeviceTypesParams} params containing information to get device types
|
|
104
|
-
* - filters.onlyWithRelatedIccidCarrier: Whether to get only device types with iccid carrier
|
|
105
|
-
*/
|
|
106
|
-
getDeviceTypes(params: GetDeviceTypesParams): Promise<DeviceType[]>;
|
|
107
|
-
/**
|
|
108
|
-
* Get ImeiIccidCarrier
|
|
109
|
-
* @param {GetImeiIccidCarrierParams} params containing information to get the ImeiIccidCarrier
|
|
110
|
-
* - filters.imei: The imei of the device
|
|
111
|
-
* - filters.iccid: The iccid of the device
|
|
112
|
-
* @returns {Promise<ImeiIccidCarrier>} The imei iccid carrier
|
|
113
|
-
*/
|
|
114
|
-
getImeiIccidCarrier(params: GetImeiIccidCarrierParams): Promise<ImeiIccidCarrier>;
|
|
115
|
-
/**
|
|
116
|
-
* Get DeviceTypeByImei
|
|
117
|
-
* @param {GetDeviceTypeByImeiParams} params containing information to get the device type by imei
|
|
118
|
-
* - filters.imei: The imei of the device
|
|
119
|
-
* @returns {Promise<DeviceType>} The device type record of an imei
|
|
120
|
-
*/
|
|
121
|
-
getDeviceTypeByImei(params: GetDeviceTypeByImeiParams): Promise<DeviceType>;
|
|
122
|
-
/**
|
|
123
|
-
* Get ImeiIccidCarriers from a list of imeis
|
|
124
|
-
* @param {GetImeiIccidCarriersParams} params containing information to get the ImeiIccidCarriers
|
|
125
|
-
* - filters.imeis: The imeis of the devices
|
|
126
|
-
* @returns {Promise<ImeiIccidCarrier[]>} The imei iccid carriers
|
|
127
|
-
*/
|
|
128
|
-
getImeiIccidCarriers(params: GetImeiIccidCarriersParams): Promise<ImeiIccidCarrier[]>;
|
|
129
|
-
/**
|
|
130
|
-
* Update the ImeiIccidCarrier
|
|
131
|
-
* @param {UpdateImeiIccidCarrierParams} params containing information to update the ImeiIccidCarrier
|
|
132
|
-
* - filters.imei: The imei of the device to update
|
|
133
|
-
* - filters.iccid: The iccid of the device to update
|
|
134
|
-
* - values.carrierId: The carrier id
|
|
135
|
-
* - values.phone: The phone or MSISDN of the device
|
|
136
|
-
* - values.deviceTypeId: The device type id
|
|
137
|
-
* - values.serviceProviderProductId: The service provider product id
|
|
138
|
-
* - values.isValid: Whether the imei iccid carrier is valid
|
|
139
|
-
* - values.realModel: The real model of the device
|
|
140
|
-
* - values.po: The purchase order number of the device
|
|
141
|
-
* - values.outOfInventory: Whether the device is out of inventory
|
|
142
|
-
* - values.apn: The apn of the device
|
|
143
|
-
*
|
|
144
|
-
* @returns {Promise<boolean>} Whether the imei iccid carrier was updated
|
|
145
|
-
*/
|
|
146
|
-
updateImeiIccidCarrier(params: UpdateImeiIccidCarrierParams): Promise<boolean>;
|
|
147
|
-
/**
|
|
148
|
-
* Get a ClientDeviceSetting
|
|
149
|
-
* @param {GetClientDeviceSettingParams} params containing information to get a ClientDeviceSetting
|
|
150
|
-
* - filters.imei: The imei of the device
|
|
151
|
-
* - filters.clientId: The client id
|
|
152
|
-
* @returns {Promise<ClientDeviceSetting>} The ClientDeviceSetting
|
|
153
|
-
*/
|
|
154
|
-
getClientDeviceSetting(params: GetClientDeviceSettingParams): Promise<ClientDeviceSetting>;
|
|
155
|
-
/**
|
|
156
|
-
* Get a list of ClientDeviceSettings with filters
|
|
157
|
-
* @param {GetClientDeviceSettingsParams} params containing information to get ClientDeviceSettings
|
|
158
|
-
* - filters.clientId: The client id
|
|
159
|
-
* @returns {Promise<ClientDeviceSetting[]>} An array of ClientDeviceSettings matching the filters
|
|
160
|
-
*/
|
|
161
|
-
getClientDeviceSettings(params: GetClientDeviceSettingsParams): Promise<ClientDeviceSetting[]>;
|
|
162
|
-
/**
|
|
163
|
-
* Create a ClientDeviceSetting
|
|
164
|
-
* @param {CreateClientDeviceSettingParams} params containing information to create a ClientDeviceSetting
|
|
165
|
-
* - values.imei: The imei of the device
|
|
166
|
-
* - values.clientId: The client id
|
|
167
|
-
* - values.generateTrips: Whether to generate trips
|
|
168
|
-
* - values.movingPingFrequency: The moving ping frequency
|
|
169
|
-
* - values.stoppedPingFrequency: The stopped ping frequency
|
|
170
|
-
* - values.fixedStatus: The fixed status
|
|
171
|
-
* - values.stopThresholdMinutes: The threshold in minutes to consider that the device is stopped
|
|
172
|
-
* - values.offlineThresholdMinutes: The threshold in minutes to consider that the device is offline
|
|
173
|
-
* - values.movementThresholdSpeed: The threshold for the speed to consider that the device is moving
|
|
174
|
-
* - values.externalBatteryInformation: The external battery information
|
|
175
|
-
* @returns {Promise<ClientDeviceSetting>} The created ClientDeviceSetting
|
|
176
|
-
*/
|
|
177
|
-
createClientDeviceSetting(params: CreateClientDeviceSettingParams): Promise<ClientDeviceSetting>;
|
|
178
|
-
/**
|
|
179
|
-
* Update a ClientDeviceSetting
|
|
180
|
-
* @param {UpdateClientDeviceSettingParams} params containing information to update a ClientDeviceSetting
|
|
181
|
-
* - filters.imei: The imei of the device
|
|
182
|
-
* - filters.clientId: The client id
|
|
183
|
-
* - values.generateTrips: Whether to generate trips
|
|
184
|
-
* - values.movingPingFrequency: The moving ping frequency
|
|
185
|
-
* - values.stoppedPingFrequency: The stopped ping frequency
|
|
186
|
-
* - values.fixedStatus: The fixed status
|
|
187
|
-
* - values.stopThresholdMinutes: The threshold in minutes to consider that the device is stopped
|
|
188
|
-
* - values.offlineThresholdMinutes: The threshold in minutes to consider that the device is offline
|
|
189
|
-
* - values.movementThresholdSpeed: The threshold for the speed to consider that the device is moving
|
|
190
|
-
* - values.externalBatteryInformation: The external battery information
|
|
191
|
-
* @returns {Promise<boolean>} Whether the ClientDeviceSetting was updated
|
|
192
|
-
*/
|
|
193
|
-
updateClientDeviceSetting(params: UpdateClientDeviceSettingParams): Promise<boolean>;
|
|
194
|
-
/**
|
|
195
|
-
* Get a list of DeviceTypeModel with the count of associated devices, ordered by device count
|
|
196
|
-
* @param {GetDeviceTypesModelsOrderedByDeviceCountParams} params containing information to get DeviceTypeModelWithDeviceCount
|
|
197
|
-
* - filters.deviceStatus: The device status to filter by, optional. If not provided, all devices will be counted
|
|
198
|
-
*/
|
|
199
|
-
getDeviceTypesModelsOrderedByDeviceCount(params: GetDeviceTypesModelsOrderedByDeviceCountParams): Promise<DeviceTypeModelWithDeviceCount[]>;
|
|
200
|
-
/**
|
|
201
|
-
* Get the device custom configuration
|
|
202
|
-
* @param {GetDeviceCustomConfigParams} params containing information to get the device custom configuration
|
|
203
|
-
* - filters.clientId: The client id
|
|
204
|
-
* - filters.imei: The imei of the device
|
|
205
|
-
* - filters.po: The purchase order number of the device
|
|
206
|
-
* @returns The device custom configurations if found, empty array otherwise
|
|
207
|
-
*/
|
|
208
|
-
getDeviceCustomConfigs(params: GetDeviceCustomConfigParams): Promise<DeviceCustomConfiguration[]>;
|
|
209
|
-
/**
|
|
210
|
-
* Upsert device custom configurations for activation
|
|
211
|
-
* @param {UpsertDeviceCustomConfigParams[]} params containing information to upsert device custom configurations
|
|
212
|
-
* - id: The id of the device custom configuration, optional
|
|
213
|
-
* - clientId: The client id. Required
|
|
214
|
-
* - deviceTypeId: The device type id. Required
|
|
215
|
-
* - imei: The imei of the device. Optional
|
|
216
|
-
* - po: The purchase order number of the device. Optional
|
|
217
|
-
* - configFileUrl: The url of the configuration file. Optional
|
|
218
|
-
* - skipActivationDefaults: Whether to skip activation defaults. Optional
|
|
219
|
-
* @returns Whether the device custom configurations were upserted or not
|
|
220
|
-
*/
|
|
221
|
-
upsertDeviceCustomConfigs(params: UpsertDeviceCustomConfigParams[]): Promise<boolean>;
|
|
222
|
-
/**
|
|
223
|
-
* Create a device replacement
|
|
224
|
-
* @param {CreateDeviceReplacementParams} params containing information to create a device replacement
|
|
225
|
-
* - id: The id of the device replacement, optional
|
|
226
|
-
* - imeiOld: The old imei of the device, required
|
|
227
|
-
* - imeiNew: The new imei of the device, required
|
|
228
|
-
* - iccidOld: The old iccid of the device, required
|
|
229
|
-
* - iccidNew: The new iccid of the device, required
|
|
230
|
-
* - userId: The user id, required
|
|
231
|
-
* - clientId: The client id, required
|
|
232
|
-
* @returns {Promise<DeviceReplacement>} The created device replacement
|
|
233
|
-
*/
|
|
234
|
-
createDeviceReplacement(params: CreateDeviceReplacementParams): Promise<DeviceReplacement>;
|
|
235
|
-
/**
|
|
236
|
-
* Get the iccid status for a given iccid
|
|
237
|
-
* @param {GetIccidStatusParams} params containing information to get the iccid status
|
|
238
|
-
* - filters.iccid: The iccid of the device
|
|
239
|
-
* @returns The iccid status
|
|
240
|
-
*/
|
|
241
|
-
getIccidStatus(params: GetIccidStatusParams): Promise<IccidStatus>;
|
|
242
|
-
/**
|
|
243
|
-
* Update the iccid status for a given iccid
|
|
244
|
-
* @param {UpdateIccidStatusParams} params containing information to update the iccid status
|
|
245
|
-
* - filters.iccid: The iccid of the device
|
|
246
|
-
* - values.status: The status of the iccid
|
|
247
|
-
* - values.processing: Whether the iccid is processing
|
|
248
|
-
* - values.carrierFound: Whether the carrier was found
|
|
249
|
-
* @returns Whether the iccid status was updated
|
|
250
|
-
*/
|
|
251
|
-
updateIccidStatus(params: UpdateIccidStatusParams): Promise<boolean>;
|
|
252
|
-
/**
|
|
253
|
-
* Get the canceled devices with active sim cards
|
|
254
|
-
* @param {GetCanceledDevicesWithActiveSimCardsParams} params containing information to get the canceled devices with active sim cards
|
|
255
|
-
* - filters.lastAnalyzedDeviceId: The last analyzed device id
|
|
256
|
-
* - pagingOptions.limit: The amount of devices to get
|
|
257
|
-
* @returns The canceled devices with active sim cards
|
|
258
|
-
*/
|
|
259
|
-
getCanceledDevicesWithActiveSimCards(params: GetCanceledDevicesWithActiveSimCardsParams): Promise<CanceledDeviceWithActiveSimCard[]>;
|
|
260
|
-
/**
|
|
261
|
-
* Get the carrier status for all devices updated before a given date
|
|
262
|
-
* @param {GetCarrierStatusUpdatedBeforeParams} params containing information to get the carrier status
|
|
263
|
-
* - filters.beforeDate: The date to compare
|
|
264
|
-
* - pagingOptions.limit: The amount of devices to get
|
|
265
|
-
* @returns The carrier status for devices updated before a given date
|
|
266
|
-
*/
|
|
267
|
-
getCarrierStatusUpdatedBefore(params: GetCarrierStatusUpdatedBeforeParams): Promise<CarrierStatus[]>;
|
|
268
|
-
/**
|
|
269
|
-
* Upsert the iccid status for a given iccid
|
|
270
|
-
* @param {UpsertIccidStatusParams} params containing information to upsert the iccid status
|
|
271
|
-
* - iccid: The iccid of the device
|
|
272
|
-
* - status: The status of the iccid
|
|
273
|
-
* - carrierFound: The carrier found
|
|
274
|
-
* @returns Whether the iccid status was upserted
|
|
275
|
-
*/
|
|
276
|
-
upsertIccidStatus(params: UpsertIccidStatusParams): Promise<boolean>;
|
|
277
|
-
/**
|
|
278
|
-
* Get device with users info
|
|
279
|
-
* @param {GetDeviceWithUsersInfoParams} params containing information to get device with users info
|
|
280
|
-
* - filters.imei: The imei of the device
|
|
281
|
-
* @returns The device with users info
|
|
282
|
-
*/
|
|
283
|
-
getDeviceWithUsersInfo(params: GetDeviceWithUsersInfoParams): Promise<DeviceWithUsersInfo[]>;
|
|
284
|
-
/**
|
|
285
|
-
* Create a device type
|
|
286
|
-
* @param {CreateDeviceTypeParams} params containing information to create a device type
|
|
287
|
-
* @returns {Promise<DeviceType>} The created device type
|
|
288
|
-
*/
|
|
289
|
-
createDeviceType(params: CreateDeviceTypeParams): Promise<DeviceType>;
|
|
290
|
-
/**
|
|
291
|
-
* Update a device type
|
|
292
|
-
* @param {UpdateDeviceTypeParams} params containing information to update a device type
|
|
293
|
-
* - filters.id: The id of the device type
|
|
294
|
-
* - values: The values to update. At least one field is required
|
|
295
|
-
* @returns {Promise<boolean>} Whether the device type was updated
|
|
296
|
-
*/
|
|
297
|
-
updateDeviceType(params: UpdateDeviceTypeParams): Promise<boolean>;
|
|
298
|
-
/**
|
|
299
|
-
* Get the count of devices by status
|
|
300
|
-
* @param {GetDevicesCountByStatusParams} params containing information to get the count of devices by status
|
|
301
|
-
* - filters.clientId: The client id
|
|
302
|
-
* @returns {Promise<DevicesCountByStatus>} The count of devices by statuses
|
|
303
|
-
*/
|
|
304
|
-
getDevicesCountByStatus(params: GetDevicesCountByStatusParams): Promise<DevicesCountByStatus[]>;
|
|
305
|
-
/**
|
|
306
|
-
* Get a service provider product
|
|
307
|
-
* @param {GetServiceProviderProductParams} params containing information to get a service provider product
|
|
308
|
-
* - filters.id: The id of the service provider product
|
|
309
|
-
* @returns {Promise<ServiceProviderProduct>} The service provider product
|
|
310
|
-
*/
|
|
311
|
-
getServiceProviderProduct(params: GetServiceProviderProductParams): Promise<ServiceProviderProduct>;
|
|
312
|
-
createImeiIccidCarrier(params: CreateImeiIccidCarrierParams): Promise<ImeiIccidCarrier | null>;
|
|
313
|
-
/**
|
|
314
|
-
* Get the unique assigned to values from the device changes history by client
|
|
315
|
-
* @param params containing information to get the unique assigned to values from the device changes history by client
|
|
316
|
-
* @returns The unique assigned to values from the device changes history by client
|
|
317
|
-
*/
|
|
318
|
-
getDeviceChangesHistoryAssignedToValuesByClient(params: GetDeviceChangesHistoryAssignedToValuesByClientParams): Promise<string[]>;
|
|
319
|
-
/**
|
|
320
|
-
* Get the device changes history
|
|
321
|
-
* @param params containing information to get the device changes history
|
|
322
|
-
* @returns The device changes history
|
|
323
|
-
*/
|
|
324
|
-
getDeviceChangesHistory(params: GetDeviceChangesHistoryParams): Promise<DeviceChangesHistory[]>;
|
|
325
|
-
/**
|
|
326
|
-
* Will add a new record to the device changes history table and update the endDate of the previous record if it exists
|
|
327
|
-
* @param params containing information to add a new record to the device changes history table
|
|
328
|
-
* @returns The new device changes history
|
|
329
|
-
*/
|
|
330
|
-
addDeviceChangesHistory(params: AddDeviceChangesHistoryParams): Promise<DeviceChangesHistory>;
|
|
331
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateClientDeviceSettingParams } from '../../types/devices';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateClientDeviceSetting: (novaDataSource: NovaDataSource, params: UpdateClientDeviceSettingParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateDeviceParams } from '../../types/devices';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateDevice: (novaDataSource: NovaDataSource, params: UpdateDeviceParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateDeviceTypeParams } from '../../types/devices';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateDeviceType: (novaDataSource: NovaDataSource, params: UpdateDeviceTypeParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateIccidStatusParams } from '../../types/devices';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateIccidStatus: (novaDataSource: NovaDataSource, params: UpdateIccidStatusParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateImeiIccidCarrierParams } from '../../types/devices';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateImeiIccidCarrier: (novaDataSource: NovaDataSource, params: UpdateImeiIccidCarrierParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpsertDeviceCustomConfigParams } from '../../types/devices';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const upsertDeviceCustomConfigInternal: (novaDataSource: NovaDataSource, params: UpsertDeviceCustomConfigParams[], logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpsertIccidStatusParams } from '../../types/devices';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const upsertIccidStatus: (novaDataSource: NovaDataSource, params: UpsertIccidStatusParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { EntityTag } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { CreateEntityTagParams } from '../../types/entitiesTags';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const bulkCreateEntityTag: (novaDataSource: NovaDataSource, paramsArray: CreateEntityTagParams[], logger: Logger) => Promise<EntityTag[]>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { BulkDeleteParams } from '../../types/entitiesTags';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const bulkDeleteEntityTag: (novaDataSource: NovaDataSource, params: BulkDeleteParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { EntityTag } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { CreateEntityTagParams } from '../../types/entitiesTags';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const createEntityTag: (novaDataSource: NovaDataSource, params: CreateEntityTagParams, logger: Logger) => Promise<EntityTag>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { DeleteEntityTagParams } from '../../types/entitiesTags';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const deleteEntityTag: (novaDataSource: NovaDataSource, params: DeleteEntityTagParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { EnforceEntityTagsByEntityParams, EnforceEntityTagsByEntityResult } from '../../types/entitiesTags';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const enforceEntityTagsByEntity: (novaDataSource: NovaDataSource, params: EnforceEntityTagsByEntityParams, logger: Logger) => Promise<EnforceEntityTagsByEntityResult>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { EntityTag } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { GetEntityTagByIdParams } from '../../types/entitiesTags';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const getEntityTagById: (novaDataSource: NovaDataSource, params: GetEntityTagByIdParams, logger: Logger) => Promise<EntityTag | null>;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { EntityTag } from '../../entities';
|
|
2
|
-
import { BulkDeleteParams, CreateEntityTagParams, DeleteEntityTagParams, EnforceEntityTagsByEntityParams, EnforceEntityTagsByEntityResult, GetEntityTagByIdParams, GetEntityTagsResult, SearchEntityTagsParams } from '../../types/entitiesTags';
|
|
3
|
-
import { BaseRepository } from '../baseRepository';
|
|
4
|
-
export declare class EntityTagsRepository extends BaseRepository {
|
|
5
|
-
/**
|
|
6
|
-
* Create a new entity tag
|
|
7
|
-
* @param {CreateEntityTagParams} params The parameters to create the entity tag
|
|
8
|
-
* @returns {EntityTag} The created entity tag
|
|
9
|
-
*/
|
|
10
|
-
createEntityTag(params: CreateEntityTagParams): Promise<EntityTag>;
|
|
11
|
-
/**
|
|
12
|
-
* Create multiple entity tags
|
|
13
|
-
* @param {CreateEntityTagParams[]} params The parameters to create the entity tags
|
|
14
|
-
* @returns {EntityTag[]} The created entity tags
|
|
15
|
-
*/
|
|
16
|
-
bulkCreateEntityTag(params: CreateEntityTagParams[]): Promise<EntityTag[]>;
|
|
17
|
-
/**
|
|
18
|
-
* Delete an entity tag
|
|
19
|
-
* @param {DeleteEntityTagParams} params The parameters to delete the entity tag
|
|
20
|
-
* @returns {boolean} Whether the entity tag was deleted
|
|
21
|
-
*/
|
|
22
|
-
deleteEntityTag(params: DeleteEntityTagParams): Promise<boolean>;
|
|
23
|
-
/**
|
|
24
|
-
* Search for entity tags
|
|
25
|
-
* @param {SearchEntityTagsParams} params The parameters to search for entity tags
|
|
26
|
-
* @returns {GetEntityTagsResult} The results of the search
|
|
27
|
-
*/
|
|
28
|
-
searchEntityTags(params: SearchEntityTagsParams): Promise<GetEntityTagsResult>;
|
|
29
|
-
/**
|
|
30
|
-
* Delete multiple entity tags
|
|
31
|
-
* @param {BulkDeleteParams} params The parameters to delete the entity tags
|
|
32
|
-
* @returns {boolean} Whether the entity tags were deleted
|
|
33
|
-
*/
|
|
34
|
-
bulkDeleteEntityTag(params: BulkDeleteParams): Promise<boolean>;
|
|
35
|
-
/**
|
|
36
|
-
* Enforce entity tags by entity
|
|
37
|
-
* @param {EnforceEntityTagsByEntityParams} params The parameters to enforce entity tags by entity
|
|
38
|
-
* @returns {GetEntityTagsResult} The results of the enforcement
|
|
39
|
-
*/
|
|
40
|
-
enforceEntityTagsByEntity(params: EnforceEntityTagsByEntityParams): Promise<EnforceEntityTagsByEntityResult>;
|
|
41
|
-
/**
|
|
42
|
-
* Delete an entity tag by id
|
|
43
|
-
* @param {number} id The id of the entity tag to delete
|
|
44
|
-
* @returns {boolean} Whether the entity tag was deleted
|
|
45
|
-
*/
|
|
46
|
-
deleteEntityTagById(id: number): Promise<boolean>;
|
|
47
|
-
getEntityTagById(params: GetEntityTagByIdParams): Promise<EntityTag>;
|
|
48
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { GetEntityTagsResult, SearchEntityTagsParams } from '../../types/entitiesTags';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const searchEntityTags: (novaDataSource: NovaDataSource, params: SearchEntityTagsParams, logger: Logger) => Promise<GetEntityTagsResult>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Feature } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { CreateFeatureParams } from '../../types/feature';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const createFeature: (novaDataSource: NovaDataSource, params: CreateFeatureParams, logger: Logger) => Promise<Feature>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { DeleteFeatureParams } from '../../types/feature';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const deleteFeature: (novaDataSource: NovaDataSource, params: DeleteFeatureParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Feature } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { GetFeatureParams } from '../../types/feature';
|
|
4
|
-
export declare const getFeatures: (novaDataSource: NovaDataSource, params: GetFeatureParams) => Promise<Feature[]>;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Feature } from '../../entities';
|
|
2
|
-
import { CreateFeatureParams, DeleteFeatureParams, GetFeatureParams } from '../../types/feature';
|
|
3
|
-
import { BaseRepository } from '../baseRepository';
|
|
4
|
-
/**
|
|
5
|
-
* FeatureRepository, used to interact with the feature entity
|
|
6
|
-
* @extends BaseRepository
|
|
7
|
-
*/
|
|
8
|
-
export declare class FeatureRepository extends BaseRepository {
|
|
9
|
-
/**
|
|
10
|
-
* Create a feature
|
|
11
|
-
* @param {CreateFeatureParams} params containing information to create a feature
|
|
12
|
-
* @returns {Feature} the created feature
|
|
13
|
-
* */
|
|
14
|
-
createFeature(params: CreateFeatureParams): Promise<Feature>;
|
|
15
|
-
/**
|
|
16
|
-
* Get features
|
|
17
|
-
* @param {GetFeatureParams} params containing information to get features
|
|
18
|
-
* @returns {Feature[]} the features
|
|
19
|
-
*/
|
|
20
|
-
getFeatures(params?: GetFeatureParams): Promise<Feature[]>;
|
|
21
|
-
/**
|
|
22
|
-
* Upsert a feature
|
|
23
|
-
* @param {CreateFeatureParams} params containing information to update a feature
|
|
24
|
-
* @returns {Feature} the updated feature
|
|
25
|
-
* */
|
|
26
|
-
upsertFeature(params: CreateFeatureParams): Promise<boolean>;
|
|
27
|
-
/**
|
|
28
|
-
* Delete a feature
|
|
29
|
-
* @param {DeleteFeatureParams} params containing information to delete a feature
|
|
30
|
-
* @returns {boolean} if the feature was deleted
|
|
31
|
-
* */
|
|
32
|
-
deleteFeature(params: DeleteFeatureParams): Promise<boolean>;
|
|
33
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { CreateFeatureParams } from '../../types/feature';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const upsertFeature: (novaDataSource: NovaDataSource, params: CreateFeatureParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DeviceTypeFirmware } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { CreateDeviceFirmwareParams } from '../../types/firmwares';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const createDeviceFirmware: (novaDataSource: NovaDataSource, params: CreateDeviceFirmwareParams, logger: Logger) => Promise<DeviceTypeFirmware>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { FirmwareAutoUpgradeBlacklist } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { CreateFirmwareAutoUpgradeBlacklistParams } from '../../types/firmwares';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const createFirmwareAutoUpgradeBlacklist: (novaDataSource: NovaDataSource, params: CreateFirmwareAutoUpgradeBlacklistParams, logger: Logger) => Promise<FirmwareAutoUpgradeBlacklist>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { FirmwareUpgradeTask } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { CreateFirmwareUpgradeTaskParams } from '../../types/firmwares';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const createFirmwareUpgradeTask: (novaDataSource: NovaDataSource, params: CreateFirmwareUpgradeTaskParams, logger: Logger) => Promise<FirmwareUpgradeTask>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { DeviceTypeFirmware } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { GetDeviceFirmwaresParams } from '../../types/firmwares';
|
|
4
|
-
export declare const getDeviceFirmwares: (novaDataSource: NovaDataSource, params: GetDeviceFirmwaresParams) => Promise<DeviceTypeFirmware[]>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { FirmwareAutoUpgradeBlacklist } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { GetFirmwareAutoUpgradeBlacklistParams } from '../../types/firmwares';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const getFirmwareAutoUpgradeBlacklist: (novaDataSource: NovaDataSource, params: GetFirmwareAutoUpgradeBlacklistParams, logger: Logger) => Promise<FirmwareAutoUpgradeBlacklist[]>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { FirmwareUpgradeTask } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { GetFirmwareUpgradeTasksParams } from '../../types/firmwares';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const getFirmwareUpgradeTasks: (novaDataSource: NovaDataSource, params: GetFirmwareUpgradeTasksParams, logger: Logger) => Promise<FirmwareUpgradeTask[]>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { GetFirmwareUpgradeTasksCountParams } from '../../types/firmwares';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const getFirmwareUpgradeTasksCount: (novaDataSource: NovaDataSource, params: GetFirmwareUpgradeTasksCountParams, logger: Logger) => Promise<number>;
|